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 |
|---|---|---|---|---|---|---|---|---|
[
15,
3,
14,
66
] | 62 | [
"15+3=18",
"14+66=80",
"80-18=62"
] | Current State: 62:[15, 3, 14, 66], Operations: []
Exploring Operation: 15+3=18, Resulting Numbers: [14, 66, 18]
Generated Node #2: [14, 66, 18] from Operation: 15+3=18
Current State: 62:[14, 66, 18], Operations: ['15+3=18']
Exploring Operation: 14+66=80, Resulting Numbers: [18, 80]
Generated Node #3: [18, 80] from Operation: 14+66=80
Current State: 62:[18, 80], Operations: ['15+3=18', '14+66=80']
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[15, 3, 14, 66], Operations: []
Exploring Operation: 66-14=52, Resulting Numbers: [15, 3, 52]
Generated Node #0,0: 62:[15, 3, 52] Operation: 66-14=52
Exploring Operation: 15/3=5, Resulting Numbers: [14, 66, 5]
Generated Node #0,1: 62:[14, 66, 5] Operation: 15/3=5
Exploring Operation: 15+14=29, Resulting Numbers: [3, 66, 29]
Generated Node #0,2: 62:[3, 66, 29] Operation: 15+14=29
Exploring Operation: 15-14=1, Resulting Numbers: [3, 66, 1]
Generated Node #0,3: 62:[3, 66, 1] Operation: 15-14=1
Exploring Operation: 66-15=51, Resulting Numbers: [3, 14, 51]
Generated Node #0,4: 62:[3, 14, 51] Operation: 66-15=51
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[3, 66, 1], Operations: ['15-14=1']
Exploring Operation: 3/1=3, Resulting Numbers: [66, 3]
Generated Node #0,3,0: 62:[66, 3] Operation: 3/1=3
Exploring Operation: 3-1=2, Resulting Numbers: [66, 2]
Generated Node #0,3,1: 62:[66, 2] Operation: 3-1=2
Exploring Operation: 66-1=65, Resulting Numbers: [3, 65]
Generated Node #0,3,2: 62:[3, 65] Operation: 66-1=65
Exploring Operation: 66-3=63, Resulting Numbers: [1, 63]
Generated Node #0,3,3: 62:[1, 63] Operation: 66-3=63
Exploring Operation: 3*1=3, Resulting Numbers: [66, 3]
Generated Node #0,3,4: 62:[66, 3] Operation: 3*1=3
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 62:[1, 63], Operations: ['15-14=1', '66-3=63']
Exploring Operation: 1+63=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[15, 3, 14, 66], Operations: []
Exploring Operation: 15-14=1, Resulting Numbers: [3, 66, 1]
Generated Node #0,3: 62:[3, 66, 1] Operation: 15-14=1
Moving to Node #0,3
Current State: 62:[3, 66, 1], Operations: ['15-14=1']
Exploring Operation: 66-3=63, Resulting Numbers: [1, 63]
Generated Node #0,3,3: 62:[1, 63] Operation: 66-3=63
Moving to Node #0,3,3
Current State: 62:[1, 63], Operations: ['15-14=1', '66-3=63']
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
32,
86,
75,
21
] | 19 | [
"75-32=43",
"86/43=2",
"21-2=19"
] | Current State: 19:[32, 86, 75, 21], Operations: []
Exploring Operation: 75-32=43, Resulting Numbers: [86, 21, 43]
Generated Node #2: [86, 21, 43] from Operation: 75-32=43
Current State: 19:[86, 21, 43], Operations: ['75-32=43']
Exploring Operation: 86/43=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 86/43=2
Current State: 19:[21, 2], Operations: ['75-32=43', '86/43=2']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[32, 86, 75, 21], Operations: []
Exploring Operation: 75-32=43, Resulting Numbers: [86, 21, 43]
Generated Node #0,0: 19:[86, 21, 43] Operation: 75-32=43
Exploring Operation: 86-32=54, Resulting Numbers: [75, 21, 54]
Generated Node #0,1: 19:[75, 21, 54] Operation: 86-32=54
Exploring Operation: 86-75=11, Resulting Numbers: [32, 21, 11]
Generated Node #0,2: 19:[32, 21, 11] Operation: 86-75=11
Exploring Operation: 86-21=65, Resulting Numbers: [32, 75, 65]
Generated Node #0,3: 19:[32, 75, 65] Operation: 86-21=65
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[32, 21, 11], Operations: ['86-75=11']
Exploring Operation: 32-11=21, Resulting Numbers: [21, 21]
Generated Node #0,2,0: 19:[21, 21] Operation: 32-11=21
Exploring Operation: 32+11=43, Resulting Numbers: [21, 43]
Generated Node #0,2,1: 19:[21, 43] Operation: 32+11=43
Exploring Operation: 32-21=11, Resulting Numbers: [11, 11]
Generated Node #0,2,2: 19:[11, 11] Operation: 32-21=11
Exploring Operation: 21-11=10, Resulting Numbers: [32, 10]
Generated Node #0,2,3: 19:[32, 10] Operation: 21-11=10
Moving to Node #0,2,0
Current State: 19:[21, 21], Operations: ['86-75=11', '32-11=21']
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,19 unequal: No Solution
Exploring Operation: 21*21=441, Resulting Numbers: [441]
441,19 unequal: No Solution
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[11, 11], Operations: ['86-75=11', '32-21=11']
Exploring Operation: 11*11=121, Resulting Numbers: [121]
121,19 unequal: No Solution
Exploring Operation: 11/11=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 11+11=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 11-11=0, Resulting Numbers: [0]
0,19 unequal: No Solution
Moving to Node #0,2,3
Current State: 19:[32, 10], Operations: ['86-75=11', '21-11=10']
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 32*10=320, Resulting Numbers: [320]
320,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[21, 43], Operations: ['86-75=11', '32+11=43']
Exploring Operation: 21+43=64, Resulting Numbers: [64]
64,19 unequal: No Solution
Exploring Operation: 21*43=903, Resulting Numbers: [903]
903,19 unequal: No Solution
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[86, 21, 43], Operations: ['75-32=43']
Exploring Operation: 86-21=65, Resulting Numbers: [43, 65]
Generated Node #0,0,0: 19:[43, 65] Operation: 86-21=65
Exploring Operation: 86-43=43, Resulting Numbers: [21, 43]
Generated Node #0,0,1: 19:[21, 43] Operation: 86-43=43
Exploring Operation: 43-21=22, Resulting Numbers: [86, 22]
Generated Node #0,0,2: 19:[86, 22] Operation: 43-21=22
Exploring Operation: 86/43=2, Resulting Numbers: [21, 2]
Generated Node #0,0,3: 19:[21, 2] Operation: 86/43=2
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 19:[21, 2], Operations: ['75-32=43', '86/43=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[32, 86, 75, 21], Operations: []
Exploring Operation: 75-32=43, Resulting Numbers: [86, 21, 43]
Generated Node #0,0: 19:[86, 21, 43] Operation: 75-32=43
Moving to Node #0,0
Current State: 19:[86, 21, 43], Operations: ['75-32=43']
Exploring Operation: 86/43=2, Resulting Numbers: [21, 2]
Generated Node #0,0,3: 19:[21, 2] Operation: 86/43=2
Moving to Node #0,0,3
Current State: 19:[21, 2], Operations: ['75-32=43', '86/43=2']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
9,
58,
45,
55
] | 18 | [
"9+45=54",
"58-55=3",
"54/3=18"
] | Current State: 18:[9, 58, 45, 55], Operations: []
Exploring Operation: 9+45=54, Resulting Numbers: [58, 55, 54]
Generated Node #2: [58, 55, 54] from Operation: 9+45=54
Current State: 18:[58, 55, 54], Operations: ['9+45=54']
Exploring Operation: 58-55=3, Resulting Numbers: [54, 3]
Generated Node #3: [54, 3] from Operation: 58-55=3
Current State: 18:[54, 3], Operations: ['9+45=54', '58-55=3']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[9, 58, 45, 55], Operations: []
Exploring Operation: 58-55=3, Resulting Numbers: [9, 45, 3]
Generated Node #0,0: 18:[9, 45, 3] Operation: 58-55=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[9, 45, 3], Operations: ['58-55=3']
Exploring Operation: 45/9=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 18:[3, 5] Operation: 45/9=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[3, 5], Operations: ['58-55=3', '45/9=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
20,
69,
74,
84
] | 71 | [
"84-74=10",
"20/10=2",
"69+2=71"
] | Current State: 71:[20, 69, 74, 84], Operations: []
Exploring Operation: 84-74=10, Resulting Numbers: [20, 69, 10]
Generated Node #2: [20, 69, 10] from Operation: 84-74=10
Current State: 71:[20, 69, 10], Operations: ['84-74=10']
Exploring Operation: 20/10=2, Resulting Numbers: [69, 2]
Generated Node #3: [69, 2] from Operation: 20/10=2
Current State: 71:[69, 2], Operations: ['84-74=10', '20/10=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[20, 69, 74, 84], Operations: []
Exploring Operation: 74-20=54, Resulting Numbers: [69, 84, 54]
Generated Node #0,0: 71:[69, 84, 54] Operation: 74-20=54
Exploring Operation: 20+69=89, Resulting Numbers: [74, 84, 89]
Generated Node #0,1: 71:[74, 84, 89] Operation: 20+69=89
Exploring Operation: 69-20=49, Resulting Numbers: [74, 84, 49]
Generated Node #0,2: 71:[74, 84, 49] Operation: 69-20=49
Exploring Operation: 20+74=94, Resulting Numbers: [69, 84, 94]
Generated Node #0,3: 71:[69, 84, 94] Operation: 20+74=94
Exploring Operation: 84-20=64, Resulting Numbers: [69, 74, 64]
Generated Node #0,4: 71:[69, 74, 64] Operation: 84-20=64
Moving to Node #0,4
Current State: 71:[69, 74, 64], Operations: ['84-20=64']
Exploring Operation: 74-64=10, Resulting Numbers: [69, 10]
Generated Node #0,4,0: 71:[69, 10] Operation: 74-64=10
Exploring Operation: 74-69=5, Resulting Numbers: [64, 5]
Generated Node #0,4,1: 71:[64, 5] Operation: 74-69=5
Exploring Operation: 69+64=133, Resulting Numbers: [74, 133]
Generated Node #0,4,2: 71:[74, 133] Operation: 69+64=133
Exploring Operation: 74+64=138, Resulting Numbers: [69, 138]
Generated Node #0,4,3: 71:[69, 138] Operation: 74+64=138
Exploring Operation: 69-64=5, Resulting Numbers: [74, 5]
Generated Node #0,4,4: 71:[74, 5] Operation: 69-64=5
Moving to Node #0,0
Current State: 71:[69, 84, 54], Operations: ['74-20=54']
Exploring Operation: 84+54=138, Resulting Numbers: [69, 138]
Generated Node #0,0,0: 71:[69, 138] Operation: 84+54=138
Exploring Operation: 84-54=30, Resulting Numbers: [69, 30]
Generated Node #0,0,1: 71:[69, 30] Operation: 84-54=30
Exploring Operation: 69+54=123, Resulting Numbers: [84, 123]
Generated Node #0,0,2: 71:[84, 123] Operation: 69+54=123
Exploring Operation: 84-69=15, Resulting Numbers: [54, 15]
Generated Node #0,0,3: 71:[54, 15] Operation: 84-69=15
Exploring Operation: 69-54=15, Resulting Numbers: [84, 15]
Generated Node #0,0,4: 71:[84, 15] Operation: 69-54=15
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[69, 30], Operations: ['74-20=54', '84-54=30']
Exploring Operation: 69+30=99, Resulting Numbers: [99]
99,71 unequal: No Solution
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 69*30=2070, Resulting Numbers: [2070]
2070,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[84, 123], Operations: ['74-20=54', '69+54=123']
Exploring Operation: 84+123=207, Resulting Numbers: [207]
207,71 unequal: No Solution
Exploring Operation: 123-84=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 84*123=10332, Resulting Numbers: [10332]
10332,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[69, 138], Operations: ['74-20=54', '84+54=138']
Exploring Operation: 69*138=9522, Resulting Numbers: [9522]
9522,71 unequal: No Solution
Exploring Operation: 138-69=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Exploring Operation: 138/69=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 69+138=207, Resulting Numbers: [207]
207,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 71:[84, 15], Operations: ['74-20=54', '69-54=15']
Exploring Operation: 84+15=99, Resulting Numbers: [99]
99,71 unequal: No Solution
Exploring Operation: 84*15=1260, Resulting Numbers: [1260]
1260,71 unequal: No Solution
Exploring Operation: 84-15=69, Resulting Numbers: [69]
69,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 71:[54, 15], Operations: ['74-20=54', '84-69=15']
Exploring Operation: 54+15=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Exploring Operation: 54*15=810, Resulting Numbers: [810]
810,71 unequal: No Solution
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 71:[74, 84, 89], Operations: ['20+69=89']
Exploring Operation: 84-74=10, Resulting Numbers: [89, 10]
Generated Node #0,1,0: 71:[89, 10] Operation: 84-74=10
Exploring Operation: 74+89=163, Resulting Numbers: [84, 163]
Generated Node #0,1,1: 71:[84, 163] Operation: 74+89=163
Exploring Operation: 89-84=5, Resulting Numbers: [74, 5]
Generated Node #0,1,2: 71:[74, 5] Operation: 89-84=5
Exploring Operation: 89-74=15, Resulting Numbers: [84, 15]
Generated Node #0,1,3: 71:[84, 15] Operation: 89-74=15
Exploring Operation: 74+84=158, Resulting Numbers: [89, 158]
Generated Node #0,1,4: 71:[89, 158] Operation: 74+84=158
Moving to Node #0,2
Current State: 71:[74, 84, 49], Operations: ['69-20=49']
Exploring Operation: 74+49=123, Resulting Numbers: [84, 123]
Generated Node #0,2,0: 71:[84, 123] Operation: 74+49=123
Exploring Operation: 74-49=25, Resulting Numbers: [84, 25]
Generated Node #0,2,1: 71:[84, 25] Operation: 74-49=25
Exploring Operation: 84-74=10, Resulting Numbers: [49, 10]
Generated Node #0,2,2: 71:[49, 10] Operation: 84-74=10
Exploring Operation: 84+49=133, Resulting Numbers: [74, 133]
Generated Node #0,2,3: 71:[74, 133] Operation: 84+49=133
Exploring Operation: 84-49=35, Resulting Numbers: [74, 35]
Generated Node #0,2,4: 71:[74, 35] Operation: 84-49=35
Moving to Node #0,3
Current State: 71:[69, 84, 94], Operations: ['20+74=94']
Exploring Operation: 94-69=25, Resulting Numbers: [84, 25]
Generated Node #0,3,0: 71:[84, 25] Operation: 94-69=25
Exploring Operation: 84-69=15, Resulting Numbers: [94, 15]
Generated Node #0,3,1: 71:[94, 15] Operation: 84-69=15
Exploring Operation: 94-84=10, Resulting Numbers: [69, 10]
Generated Node #0,3,2: 71:[69, 10] Operation: 94-84=10
Exploring Operation: 69+84=153, Resulting Numbers: [94, 153]
Generated Node #0,3,3: 71:[94, 153] Operation: 69+84=153
Exploring Operation: 69+94=163, Resulting Numbers: [84, 163]
Generated Node #0,3,4: 71:[84, 163] Operation: 69+94=163
Moving to Node #0,2,4
Current State: 71:[74, 35], Operations: ['69-20=49', '84-49=35']
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 74+35=109, Resulting Numbers: [109]
109,71 unequal: No Solution
Exploring Operation: 74*35=2590, Resulting Numbers: [2590]
2590,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[84, 25], Operations: ['69-20=49', '74-49=25']
Exploring Operation: 84+25=109, Resulting Numbers: [109]
109,71 unequal: No Solution
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 84*25=2100, Resulting Numbers: [2100]
2100,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[84, 25], Operations: ['20+74=94', '94-69=25']
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 84*25=2100, Resulting Numbers: [2100]
2100,71 unequal: No Solution
Exploring Operation: 84+25=109, Resulting Numbers: [109]
109,71 unequal: No Solution
Moving to Node #0,4,0
Current State: 71:[69, 10], Operations: ['84-20=64', '74-64=10']
Exploring Operation: 69*10=690, Resulting Numbers: [690]
690,71 unequal: No Solution
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[69, 10], Operations: ['20+74=94', '94-84=10']
Exploring Operation: 69*10=690, Resulting Numbers: [690]
690,71 unequal: No Solution
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[74, 133], Operations: ['69-20=49', '84+49=133']
Exploring Operation: 74+133=207, Resulting Numbers: [207]
207,71 unequal: No Solution
Exploring Operation: 133-74=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 74*133=9842, Resulting Numbers: [9842]
9842,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[84, 123], Operations: ['69-20=49', '74+49=123']
Exploring Operation: 84+123=207, Resulting Numbers: [207]
207,71 unequal: No Solution
Exploring Operation: 84*123=10332, Resulting Numbers: [10332]
10332,71 unequal: No Solution
Exploring Operation: 123-84=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Moving to Node #0,4,2
Current State: 71:[74, 133], Operations: ['84-20=64', '69+64=133']
Exploring Operation: 74*133=9842, Resulting Numbers: [9842]
9842,71 unequal: No Solution
Exploring Operation: 74+133=207, Resulting Numbers: [207]
207,71 unequal: No Solution
Exploring Operation: 133-74=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[84, 15], Operations: ['20+69=89', '89-74=15']
Exploring Operation: 84-15=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Exploring Operation: 84*15=1260, Resulting Numbers: [1260]
1260,71 unequal: No Solution
Exploring Operation: 84+15=99, Resulting Numbers: [99]
99,71 unequal: No Solution
Moving to Node #0,4,3
Current State: 71:[69, 138], Operations: ['84-20=64', '74+64=138']
Exploring Operation: 69*138=9522, Resulting Numbers: [9522]
9522,71 unequal: No Solution
Exploring Operation: 138-69=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Exploring Operation: 69+138=207, Resulting Numbers: [207]
207,71 unequal: No Solution
Exploring Operation: 138/69=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[74, 5], Operations: ['20+69=89', '89-84=5']
Exploring Operation: 74*5=370, Resulting Numbers: [370]
370,71 unequal: No Solution
Exploring Operation: 74+5=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Moving to Node #0,4,4
Current State: 71:[74, 5], Operations: ['84-20=64', '69-64=5']
Exploring Operation: 74+5=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Exploring Operation: 74*5=370, Resulting Numbers: [370]
370,71 unequal: No Solution
Moving to Node #0,4,1
Current State: 71:[64, 5], Operations: ['84-20=64', '74-69=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 64*5=320, Resulting Numbers: [320]
320,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[94, 15], Operations: ['20+74=94', '84-69=15']
Exploring Operation: 94+15=109, Resulting Numbers: [109]
109,71 unequal: No Solution
Exploring Operation: 94-15=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Exploring Operation: 94*15=1410, Resulting Numbers: [1410]
1410,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[89, 10], Operations: ['20+69=89', '84-74=10']
Exploring Operation: 89-10=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Exploring Operation: 89+10=99, Resulting Numbers: [99]
99,71 unequal: No Solution
Exploring Operation: 89*10=890, Resulting Numbers: [890]
890,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[49, 10], Operations: ['69-20=49', '84-74=10']
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 49*10=490, Resulting Numbers: [490]
490,71 unequal: No Solution
Exploring Operation: 49+10=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[84, 163], Operations: ['20+69=89', '74+89=163']
Exploring Operation: 163-84=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Exploring Operation: 84+163=247, Resulting Numbers: [247]
247,71 unequal: No Solution
Exploring Operation: 84*163=13692, Resulting Numbers: [13692]
13692,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[94, 153], Operations: ['20+74=94', '69+84=153']
Exploring Operation: 94*153=14382, Resulting Numbers: [14382]
14382,71 unequal: No Solution
Exploring Operation: 153-94=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 94+153=247, Resulting Numbers: [247]
247,71 unequal: No Solution
Moving to Node #0,1,4
Current State: 71:[89, 158], Operations: ['20+69=89', '74+84=158']
Exploring Operation: 89+158=247, Resulting Numbers: [247]
247,71 unequal: No Solution
Exploring Operation: 158-89=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Exploring Operation: 89*158=14062, Resulting Numbers: [14062]
14062,71 unequal: No Solution
Moving to Node #0,3,4
Current State: 71:[84, 163], Operations: ['20+74=94', '69+94=163']
Exploring Operation: 163-84=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Exploring Operation: 84*163=13692, Resulting Numbers: [13692]
13692,71 unequal: No Solution
Exploring Operation: 84+163=247, Resulting Numbers: [247]
247,71 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
82,
94,
2,
41
] | 65 | [
"94-82=12",
"2*12=24",
"41+24=65"
] | Current State: 65:[82, 94, 2, 41], Operations: []
Exploring Operation: 94-82=12, Resulting Numbers: [2, 41, 12]
Generated Node #2: [2, 41, 12] from Operation: 94-82=12
Current State: 65:[2, 41, 12], Operations: ['94-82=12']
Exploring Operation: 2*12=24, Resulting Numbers: [41, 24]
Generated Node #3: [41, 24] from Operation: 2*12=24
Current State: 65:[41, 24], Operations: ['94-82=12', '2*12=24']
Exploring Operation: 41+24=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[82, 94, 2, 41], Operations: []
Exploring Operation: 94-82=12, Resulting Numbers: [2, 41, 12]
Generated Node #0,0: 65:[2, 41, 12] Operation: 94-82=12
Exploring Operation: 94-41=53, Resulting Numbers: [82, 2, 53]
Generated Node #0,1: 65:[82, 2, 53] Operation: 94-41=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[2, 41, 12], Operations: ['94-82=12']
Exploring Operation: 41+12=53, Resulting Numbers: [2, 53]
Generated Node #0,0,0: 65:[2, 53] Operation: 41+12=53
Exploring Operation: 2*41=82, Resulting Numbers: [12, 82]
Generated Node #0,0,1: 65:[12, 82] Operation: 2*41=82
Moving to Node #0,0,0
Current State: 65:[2, 53], Operations: ['94-82=12', '41+12=53']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,65 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[12, 82], Operations: ['94-82=12', '2*41=82']
Exploring Operation: 12+82=94, Resulting Numbers: [94]
94,65 unequal: No Solution
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[82, 2, 53], Operations: ['94-41=53']
Exploring Operation: 82-53=29, Resulting Numbers: [2, 29]
Generated Node #0,1,0: 65:[2, 29] Operation: 82-53=29
Exploring Operation: 82-2=80, Resulting Numbers: [53, 80]
Generated Node #0,1,1: 65:[53, 80] Operation: 82-2=80
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 65:[2, 29], Operations: ['94-41=53', '82-53=29']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,65 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 65:[53, 80], Operations: ['94-41=53', '82-2=80']
Exploring Operation: 80-53=27, Resulting Numbers: [27]
27,65 unequal: No Solution
Exploring Operation: 53+80=133, Resulting Numbers: [133]
133,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
32,
90,
94,
86
] | 78 | [
"94-90=4",
"32/4=8",
"86-8=78"
] | Current State: 78:[32, 90, 94, 86], Operations: []
Exploring Operation: 94-90=4, Resulting Numbers: [32, 86, 4]
Generated Node #2: [32, 86, 4] from Operation: 94-90=4
Current State: 78:[32, 86, 4], Operations: ['94-90=4']
Exploring Operation: 32/4=8, Resulting Numbers: [86, 8]
Generated Node #3: [86, 8] from Operation: 32/4=8
Current State: 78:[86, 8], Operations: ['94-90=4', '32/4=8']
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[32, 90, 94, 86], Operations: []
Exploring Operation: 94-86=8, Resulting Numbers: [32, 90, 8]
Generated Node #0,0: 78:[32, 90, 8] Operation: 94-86=8
Exploring Operation: 94-90=4, Resulting Numbers: [32, 86, 4]
Generated Node #0,1: 78:[32, 86, 4] Operation: 94-90=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[32, 86, 4], Operations: ['94-90=4']
Exploring Operation: 32-4=28, Resulting Numbers: [86, 28]
Generated Node #0,1,0: 78:[86, 28] Operation: 32-4=28
Exploring Operation: 32/4=8, Resulting Numbers: [86, 8]
Generated Node #0,1,1: 78:[86, 8] Operation: 32/4=8
Moving to Node #0,1,0
Current State: 78:[86, 28], Operations: ['94-90=4', '32-4=28']
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,78 unequal: No Solution
Exploring Operation: 86+28=114, Resulting Numbers: [114]
114,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[86, 8], Operations: ['94-90=4', '32/4=8']
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[32, 90, 94, 86], Operations: []
Exploring Operation: 94-90=4, Resulting Numbers: [32, 86, 4]
Generated Node #0,1: 78:[32, 86, 4] Operation: 94-90=4
Moving to Node #0,1
Current State: 78:[32, 86, 4], Operations: ['94-90=4']
Exploring Operation: 32/4=8, Resulting Numbers: [86, 8]
Generated Node #0,1,1: 78:[86, 8] Operation: 32/4=8
Moving to Node #0,1,1
Current State: 78:[86, 8], Operations: ['94-90=4', '32/4=8']
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
29,
84,
71,
41
] | 57 | [
"84-29=55",
"71+41=112",
"112-55=57"
] | Current State: 57:[29, 84, 71, 41], Operations: []
Exploring Operation: 84-29=55, Resulting Numbers: [71, 41, 55]
Generated Node #2: [71, 41, 55] from Operation: 84-29=55
Current State: 57:[71, 41, 55], Operations: ['84-29=55']
Exploring Operation: 71+41=112, Resulting Numbers: [55, 112]
Generated Node #3: [55, 112] from Operation: 71+41=112
Current State: 57:[55, 112], Operations: ['84-29=55', '71+41=112']
Exploring Operation: 112-55=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[29, 84, 71, 41], Operations: []
Exploring Operation: 84-29=55, Resulting Numbers: [71, 41, 55]
Generated Node #0,0: 57:[71, 41, 55] Operation: 84-29=55
Exploring Operation: 84-71=13, Resulting Numbers: [29, 41, 13]
Generated Node #0,1: 57:[29, 41, 13] Operation: 84-71=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[71, 41, 55], Operations: ['84-29=55']
Exploring Operation: 71-55=16, Resulting Numbers: [41, 16]
Generated Node #0,0,0: 57:[41, 16] Operation: 71-55=16
Exploring Operation: 71-41=30, Resulting Numbers: [55, 30]
Generated Node #0,0,1: 57:[55, 30] Operation: 71-41=30
Moving to Node #0,0,1
Current State: 57:[55, 30], Operations: ['84-29=55', '71-41=30']
Exploring Operation: 55-30=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 55+30=85, Resulting Numbers: [85]
85,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[41, 16], Operations: ['84-29=55', '71-55=16']
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 41+16=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[29, 84, 71, 41], Operations: []
Exploring Operation: 84-29=55, Resulting Numbers: [71, 41, 55]
Generated Node #0,0: 57:[71, 41, 55] Operation: 84-29=55
Moving to Node #0,0
Current State: 57:[71, 41, 55], Operations: ['84-29=55']
Exploring Operation: 71-55=16, Resulting Numbers: [41, 16]
Generated Node #0,0,0: 57:[41, 16] Operation: 71-55=16
Moving to Node #0,0,0
Current State: 57:[41, 16], Operations: ['84-29=55', '71-55=16']
Exploring Operation: 41+16=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
83,
53,
41,
25
] | 96 | [
"83-53=30",
"41+25=66",
"30+66=96"
] | Current State: 96:[83, 53, 41, 25], Operations: []
Exploring Operation: 83-53=30, Resulting Numbers: [41, 25, 30]
Generated Node #2: [41, 25, 30] from Operation: 83-53=30
Current State: 96:[41, 25, 30], Operations: ['83-53=30']
Exploring Operation: 41+25=66, Resulting Numbers: [30, 66]
Generated Node #3: [30, 66] from Operation: 41+25=66
Current State: 96:[30, 66], Operations: ['83-53=30', '41+25=66']
Exploring Operation: 30+66=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[83, 53, 41, 25], Operations: []
Exploring Operation: 53-41=12, Resulting Numbers: [83, 25, 12]
Generated Node #0,0: 96:[83, 25, 12] Operation: 53-41=12
Exploring Operation: 83-53=30, Resulting Numbers: [41, 25, 30]
Generated Node #0,1: 96:[41, 25, 30] Operation: 83-53=30
Exploring Operation: 83-41=42, Resulting Numbers: [53, 25, 42]
Generated Node #0,2: 96:[53, 25, 42] Operation: 83-41=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[41, 25, 30], Operations: ['83-53=30']
Exploring Operation: 30-25=5, Resulting Numbers: [41, 5]
Generated Node #0,1,0: 96:[41, 5] Operation: 30-25=5
Exploring Operation: 41-30=11, Resulting Numbers: [25, 11]
Generated Node #0,1,1: 96:[25, 11] Operation: 41-30=11
Exploring Operation: 41-25=16, Resulting Numbers: [30, 16]
Generated Node #0,1,2: 96:[30, 16] Operation: 41-25=16
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[25, 11], Operations: ['83-53=30', '41-30=11']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,96 unequal: No Solution
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 96:[30, 16], Operations: ['83-53=30', '41-25=16']
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,96 unequal: No Solution
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,96 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[41, 5], Operations: ['83-53=30', '30-25=5']
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,96 unequal: No Solution
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,96 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[53, 25, 42], Operations: ['83-41=42']
Exploring Operation: 53-42=11, Resulting Numbers: [25, 11]
Generated Node #0,2,0: 96:[25, 11] Operation: 53-42=11
Exploring Operation: 42-25=17, Resulting Numbers: [53, 17]
Generated Node #0,2,1: 96:[53, 17] Operation: 42-25=17
Exploring Operation: 53+42=95, Resulting Numbers: [25, 95]
Generated Node #0,2,2: 96:[25, 95] Operation: 53+42=95
Moving to Node #0,2,0
Current State: 96:[25, 11], Operations: ['83-41=42', '53-42=11']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,96 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[25, 95], Operations: ['83-41=42', '53+42=95']
Exploring Operation: 25+95=120, Resulting Numbers: [120]
120,96 unequal: No Solution
Exploring Operation: 25*95=2375, Resulting Numbers: [2375]
2375,96 unequal: No Solution
Exploring Operation: 95-25=70, Resulting Numbers: [70]
70,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[53, 17], Operations: ['83-41=42', '42-25=17']
Exploring Operation: 53+17=70, Resulting Numbers: [70]
70,96 unequal: No Solution
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,96 unequal: No Solution
Exploring Operation: 53*17=901, Resulting Numbers: [901]
901,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[83, 25, 12], Operations: ['53-41=12']
Exploring Operation: 83+25=108, Resulting Numbers: [12, 108]
Generated Node #0,0,0: 96:[12, 108] Operation: 83+25=108
Exploring Operation: 83-25=58, Resulting Numbers: [12, 58]
Generated Node #0,0,1: 96:[12, 58] Operation: 83-25=58
Exploring Operation: 83+12=95, Resulting Numbers: [25, 95]
Generated Node #0,0,2: 96:[25, 95] Operation: 83+12=95
Moving to Node #0,0,2
Current State: 96:[25, 95], Operations: ['53-41=12', '83+12=95']
Exploring Operation: 25+95=120, Resulting Numbers: [120]
120,96 unequal: No Solution
Exploring Operation: 25*95=2375, Resulting Numbers: [2375]
2375,96 unequal: No Solution
Exploring Operation: 95-25=70, Resulting Numbers: [70]
70,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[12, 58], Operations: ['53-41=12', '83-25=58']
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,96 unequal: No Solution
Exploring Operation: 12*58=696, Resulting Numbers: [696]
696,96 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[12, 108], Operations: ['53-41=12', '83+25=108']
Exploring Operation: 108/12=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Exploring Operation: 12+108=120, Resulting Numbers: [120]
120,96 unequal: No Solution
Exploring Operation: 108-12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[83, 53, 41, 25], Operations: []
Exploring Operation: 53-41=12, Resulting Numbers: [83, 25, 12]
Generated Node #0,0: 96:[83, 25, 12] Operation: 53-41=12
Moving to Node #0,0
Current State: 96:[83, 25, 12], Operations: ['53-41=12']
Exploring Operation: 83+25=108, Resulting Numbers: [12, 108]
Generated Node #0,0,0: 96:[12, 108] Operation: 83+25=108
Moving to Node #0,0,0
Current State: 96:[12, 108], Operations: ['53-41=12', '83+25=108']
Exploring Operation: 108-12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_3 | mult_heuristic |
[
99,
15,
88,
47
] | 11 | [
"99*15=1485",
"88+47=135",
"1485/135=11"
] | Current State: 11:[99, 15, 88, 47], Operations: []
Exploring Operation: 99*15=1485, Resulting Numbers: [88, 47, 1485]
Generated Node #2: [88, 47, 1485] from Operation: 99*15=1485
Current State: 11:[88, 47, 1485], Operations: ['99*15=1485']
Exploring Operation: 88+47=135, Resulting Numbers: [1485, 135]
Generated Node #3: [1485, 135] from Operation: 88+47=135
Current State: 11:[1485, 135], Operations: ['99*15=1485', '88+47=135']
Exploring Operation: 1485/135=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[99, 15, 88, 47], Operations: []
Exploring Operation: 99-88=11, Resulting Numbers: [15, 47, 11]
Generated Node #0,0: 11:[15, 47, 11] Operation: 99-88=11
Exploring Operation: 88-47=41, Resulting Numbers: [99, 15, 41]
Generated Node #0,1: 11:[99, 15, 41] Operation: 88-47=41
Exploring Operation: 99-15=84, Resulting Numbers: [88, 47, 84]
Generated Node #0,2: 11:[88, 47, 84] Operation: 99-15=84
Exploring Operation: 99-47=52, Resulting Numbers: [15, 88, 52]
Generated Node #0,3: 11:[15, 88, 52] Operation: 99-47=52
Moving to Node #0,0
Current State: 11:[15, 47, 11], Operations: ['99-88=11']
Exploring Operation: 47-11=36, Resulting Numbers: [15, 36]
Generated Node #0,0,0: 11:[15, 36] Operation: 47-11=36
Exploring Operation: 47-15=32, Resulting Numbers: [11, 32]
Generated Node #0,0,1: 11:[11, 32] Operation: 47-15=32
Exploring Operation: 15+47=62, Resulting Numbers: [11, 62]
Generated Node #0,0,2: 11:[11, 62] Operation: 15+47=62
Exploring Operation: 15-11=4, Resulting Numbers: [47, 4]
Generated Node #0,0,3: 11:[47, 4] Operation: 15-11=4
Moving to Node #0,3
Current State: 11:[15, 88, 52], Operations: ['99-47=52']
Exploring Operation: 15+88=103, Resulting Numbers: [52, 103]
Generated Node #0,3,0: 11:[52, 103] Operation: 15+88=103
Exploring Operation: 88-52=36, Resulting Numbers: [15, 36]
Generated Node #0,3,1: 11:[15, 36] Operation: 88-52=36
Exploring Operation: 52-15=37, Resulting Numbers: [88, 37]
Generated Node #0,3,2: 11:[88, 37] Operation: 52-15=37
Exploring Operation: 88-15=73, Resulting Numbers: [52, 73]
Generated Node #0,3,3: 11:[52, 73] Operation: 88-15=73
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 11:[15, 36], Operations: ['99-47=52', '88-52=36']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 15*36=540, Resulting Numbers: [540]
540,11 unequal: No Solution
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 11:[88, 37], Operations: ['99-47=52', '52-15=37']
Exploring Operation: 88*37=3256, Resulting Numbers: [3256]
3256,11 unequal: No Solution
Exploring Operation: 88+37=125, Resulting Numbers: [125]
125,11 unequal: No Solution
Exploring Operation: 88-37=51, Resulting Numbers: [51]
51,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 11:[52, 73], Operations: ['99-47=52', '88-15=73']
Exploring Operation: 73-52=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 52*73=3796, Resulting Numbers: [3796]
3796,11 unequal: No Solution
Exploring Operation: 52+73=125, Resulting Numbers: [125]
125,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 11:[52, 103], Operations: ['99-47=52', '15+88=103']
Exploring Operation: 52+103=155, Resulting Numbers: [155]
155,11 unequal: No Solution
Exploring Operation: 52*103=5356, Resulting Numbers: [5356]
5356,11 unequal: No Solution
Exploring Operation: 103-52=51, Resulting Numbers: [51]
51,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 11:[99, 15, 41], Operations: ['88-47=41']
Exploring Operation: 99-15=84, Resulting Numbers: [41, 84]
Generated Node #0,1,0: 11:[41, 84] Operation: 99-15=84
Exploring Operation: 41-15=26, Resulting Numbers: [99, 26]
Generated Node #0,1,1: 11:[99, 26] Operation: 41-15=26
Exploring Operation: 99-41=58, Resulting Numbers: [15, 58]
Generated Node #0,1,2: 11:[15, 58] Operation: 99-41=58
Exploring Operation: 99+15=114, Resulting Numbers: [41, 114]
Generated Node #0,1,3: 11:[41, 114] Operation: 99+15=114
Moving to Node #0,2
Current State: 11:[88, 47, 84], Operations: ['99-15=84']
Exploring Operation: 88+47=135, Resulting Numbers: [84, 135]
Generated Node #0,2,0: 11:[84, 135] Operation: 88+47=135
Exploring Operation: 84-47=37, Resulting Numbers: [88, 37]
Generated Node #0,2,1: 11:[88, 37] Operation: 84-47=37
Exploring Operation: 88-47=41, Resulting Numbers: [84, 41]
Generated Node #0,2,2: 11:[84, 41] Operation: 88-47=41
Exploring Operation: 88-84=4, Resulting Numbers: [47, 4]
Generated Node #0,2,3: 11:[47, 4] Operation: 88-84=4
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 11:[47, 4], Operations: ['99-15=84', '88-84=4']
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,11 unequal: No Solution
Exploring Operation: 47*4=188, Resulting Numbers: [188]
188,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,2,1
Current State: 11:[88, 37], Operations: ['99-15=84', '84-47=37']
Exploring Operation: 88-37=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Exploring Operation: 88+37=125, Resulting Numbers: [125]
125,11 unequal: No Solution
Exploring Operation: 88*37=3256, Resulting Numbers: [3256]
3256,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,2,2
Current State: 11:[84, 41], Operations: ['99-15=84', '88-47=41']
Exploring Operation: 84*41=3444, Resulting Numbers: [3444]
3444,11 unequal: No Solution
Exploring Operation: 84+41=125, Resulting Numbers: [125]
125,11 unequal: No Solution
Exploring Operation: 84-41=43, Resulting Numbers: [43]
43,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,2,0
Current State: 11:[84, 135], Operations: ['99-15=84', '88+47=135']
Exploring Operation: 135-84=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Exploring Operation: 84*135=11340, Resulting Numbers: [11340]
11340,11 unequal: No Solution
Exploring Operation: 84+135=219, Resulting Numbers: [219]
219,11 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: 11:[11, 32], Operations: ['99-88=11', '47-15=32']
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,11 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[15, 36], Operations: ['99-88=11', '47-11=36']
Exploring Operation: 15*36=540, Resulting Numbers: [540]
540,11 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Moving to Node #0,0,3
Current State: 11:[47, 4], Operations: ['99-88=11', '15-11=4']
Exploring Operation: 47*4=188, Resulting Numbers: [188]
188,11 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,11 unequal: No Solution
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[15, 58], Operations: ['88-47=41', '99-41=58']
Exploring Operation: 15*58=870, Resulting Numbers: [870]
870,11 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,11 unequal: No Solution
Exploring Operation: 15+58=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[11, 62], Operations: ['99-88=11', '15+47=62']
Exploring Operation: 11*62=682, Resulting Numbers: [682]
682,11 unequal: No Solution
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Exploring Operation: 11+62=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[41, 84], Operations: ['88-47=41', '99-15=84']
Exploring Operation: 41+84=125, Resulting Numbers: [125]
125,11 unequal: No Solution
Exploring Operation: 84-41=43, Resulting Numbers: [43]
43,11 unequal: No Solution
Exploring Operation: 41*84=3444, Resulting Numbers: [3444]
3444,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[99, 26], Operations: ['88-47=41', '41-15=26']
Exploring Operation: 99*26=2574, Resulting Numbers: [2574]
2574,11 unequal: No Solution
Exploring Operation: 99+26=125, Resulting Numbers: [125]
125,11 unequal: No Solution
Exploring Operation: 99-26=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Moving to Node #0,1,3
Current State: 11:[41, 114], Operations: ['88-47=41', '99+15=114']
Exploring Operation: 41+114=155, Resulting Numbers: [155]
155,11 unequal: No Solution
Exploring Operation: 41*114=4674, Resulting Numbers: [4674]
4674,11 unequal: No Solution
Exploring Operation: 114-41=73, Resulting Numbers: [73]
73,11 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
10,
54,
2,
42
] | 40 | [
"54-10=44",
"2*42=84",
"84-44=40"
] | Current State: 40:[10, 54, 2, 42], Operations: []
Exploring Operation: 54-10=44, Resulting Numbers: [2, 42, 44]
Generated Node #2: [2, 42, 44] from Operation: 54-10=44
Current State: 40:[2, 42, 44], Operations: ['54-10=44']
Exploring Operation: 2*42=84, Resulting Numbers: [44, 84]
Generated Node #3: [44, 84] from Operation: 2*42=84
Current State: 40:[44, 84], Operations: ['54-10=44', '2*42=84']
Exploring Operation: 84-44=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[10, 54, 2, 42], Operations: []
Exploring Operation: 54-42=12, Resulting Numbers: [10, 2, 12]
Generated Node #0,0: 40:[10, 2, 12] Operation: 54-42=12
Exploring Operation: 54-10=44, Resulting Numbers: [2, 42, 44]
Generated Node #0,1: 40:[2, 42, 44] Operation: 54-10=44
Moving to Node #0,0
Current State: 40:[10, 2, 12], Operations: ['54-42=12']
Exploring Operation: 12-10=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 40:[2, 2] Operation: 12-10=2
Exploring Operation: 12-2=10, Resulting Numbers: [10, 10]
Generated Node #0,0,1: 40:[10, 10] Operation: 12-2=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[2, 2], Operations: ['54-42=12', '12-10=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[10, 10], Operations: ['54-42=12', '12-2=10']
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,40 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: 40:[2, 42, 44], Operations: ['54-10=44']
Exploring Operation: 44-42=2, Resulting Numbers: [2, 2]
Generated Node #0,1,0: 40:[2, 2] Operation: 44-42=2
Exploring Operation: 42-2=40, Resulting Numbers: [44, 40]
Generated Node #0,1,1: 40:[44, 40] Operation: 42-2=40
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[2, 2], Operations: ['54-10=44', '44-42=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[44, 40], Operations: ['54-10=44', '42-2=40']
Exploring Operation: 44+40=84, Resulting Numbers: [84]
84,40 unequal: No Solution
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
16,
37,
55,
44
] | 32 | [
"37-16=21",
"55-44=11",
"21+11=32"
] | Current State: 32:[16, 37, 55, 44], Operations: []
Exploring Operation: 37-16=21, Resulting Numbers: [55, 44, 21]
Generated Node #2: [55, 44, 21] from Operation: 37-16=21
Current State: 32:[55, 44, 21], Operations: ['37-16=21']
Exploring Operation: 55-44=11, Resulting Numbers: [21, 11]
Generated Node #3: [21, 11] from Operation: 55-44=11
Current State: 32:[21, 11], Operations: ['37-16=21', '55-44=11']
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[16, 37, 55, 44], Operations: []
Exploring Operation: 55-37=18, Resulting Numbers: [16, 44, 18]
Generated Node #0,0: 32:[16, 44, 18] Operation: 55-37=18
Exploring Operation: 55-44=11, Resulting Numbers: [16, 37, 11]
Generated Node #0,1: 32:[16, 37, 11] Operation: 55-44=11
Moving to Node #0,1
Current State: 32:[16, 37, 11], Operations: ['55-44=11']
Exploring Operation: 37-11=26, Resulting Numbers: [16, 26]
Generated Node #0,1,0: 32:[16, 26] Operation: 37-11=26
Exploring Operation: 16-11=5, Resulting Numbers: [37, 5]
Generated Node #0,1,1: 32:[37, 5] Operation: 16-11=5
Moving to Node #0,0
Current State: 32:[16, 44, 18], Operations: ['55-37=18']
Exploring Operation: 44-18=26, Resulting Numbers: [16, 26]
Generated Node #0,0,0: 32:[16, 26] Operation: 44-18=26
Exploring Operation: 44-16=28, Resulting Numbers: [18, 28]
Generated Node #0,0,1: 32:[18, 28] Operation: 44-16=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[16, 26], Operations: ['55-37=18', '44-18=26']
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,32 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[18, 28], Operations: ['55-37=18', '44-16=28']
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,32 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: 32:[16, 26], Operations: ['55-44=11', '37-11=26']
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,32 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[37, 5], Operations: ['55-44=11', '16-11=5']
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,32 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[16, 37, 55, 44], Operations: []
Exploring Operation: 55-44=11, Resulting Numbers: [16, 37, 11]
Generated Node #0,1: 32:[16, 37, 11] Operation: 55-44=11
Moving to Node #0,1
Current State: 32:[16, 37, 11], Operations: ['55-44=11']
Exploring Operation: 16-11=5, Resulting Numbers: [37, 5]
Generated Node #0,1,1: 32:[37, 5] Operation: 16-11=5
Moving to Node #0,1,1
Current State: 32:[37, 5], Operations: ['55-44=11', '16-11=5']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.984375 | hs_2 | sum_heuristic |
[
66,
42,
94,
4
] | 70 | [
"94-66=28",
"4*28=112",
"112-42=70"
] | Current State: 70:[66, 42, 94, 4], Operations: []
Exploring Operation: 94-66=28, Resulting Numbers: [42, 4, 28]
Generated Node #2: [42, 4, 28] from Operation: 94-66=28
Current State: 70:[42, 4, 28], Operations: ['94-66=28']
Exploring Operation: 4*28=112, Resulting Numbers: [42, 112]
Generated Node #3: [42, 112] from Operation: 4*28=112
Current State: 70:[42, 112], Operations: ['94-66=28', '4*28=112']
Exploring Operation: 112-42=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[66, 42, 94, 4], Operations: []
Exploring Operation: 42-4=38, Resulting Numbers: [66, 94, 38]
Generated Node #0,0: 70:[66, 94, 38] Operation: 42-4=38
Exploring Operation: 94-42=52, Resulting Numbers: [66, 4, 52]
Generated Node #0,1: 70:[66, 4, 52] Operation: 94-42=52
Exploring Operation: 94-66=28, Resulting Numbers: [42, 4, 28]
Generated Node #0,2: 70:[42, 4, 28] Operation: 94-66=28
Exploring Operation: 66+4=70, Resulting Numbers: [42, 94, 70]
Generated Node #0,3: 70:[42, 94, 70] Operation: 66+4=70
Moving to Node #0,2
Current State: 70:[42, 4, 28], Operations: ['94-66=28']
Exploring Operation: 42-4=38, Resulting Numbers: [28, 38]
Generated Node #0,2,0: 70:[28, 38] Operation: 42-4=38
Exploring Operation: 42+28=70, Resulting Numbers: [4, 70]
Generated Node #0,2,1: 70:[4, 70] Operation: 42+28=70
Exploring Operation: 28/4=7, Resulting Numbers: [42, 7]
Generated Node #0,2,2: 70:[42, 7] Operation: 28/4=7
Exploring Operation: 42-28=14, Resulting Numbers: [4, 14]
Generated Node #0,2,3: 70:[4, 14] Operation: 42-28=14
Moving to Node #0,1
Current State: 70:[66, 4, 52], Operations: ['94-42=52']
Exploring Operation: 52/4=13, Resulting Numbers: [66, 13]
Generated Node #0,1,0: 70:[66, 13] Operation: 52/4=13
Exploring Operation: 52-4=48, Resulting Numbers: [66, 48]
Generated Node #0,1,1: 70:[66, 48] Operation: 52-4=48
Exploring Operation: 66-52=14, Resulting Numbers: [4, 14]
Generated Node #0,1,2: 70:[4, 14] Operation: 66-52=14
Exploring Operation: 66+4=70, Resulting Numbers: [52, 70]
Generated Node #0,1,3: 70:[52, 70] Operation: 66+4=70
Moving to Node #0,3
Current State: 70:[42, 94, 70], Operations: ['66+4=70']
Exploring Operation: 94-42=52, Resulting Numbers: [70, 52]
Generated Node #0,3,0: 70:[70, 52] Operation: 94-42=52
Exploring Operation: 70-42=28, Resulting Numbers: [94, 28]
Generated Node #0,3,1: 70:[94, 28] Operation: 70-42=28
Exploring Operation: 94-70=24, Resulting Numbers: [42, 24]
Generated Node #0,3,2: 70:[42, 24] Operation: 94-70=24
Exploring Operation: 42+94=136, Resulting Numbers: [70, 136]
Generated Node #0,3,3: 70:[70, 136] Operation: 42+94=136
Moving to Node #0,0
Current State: 70:[66, 94, 38], Operations: ['42-4=38']
Exploring Operation: 66-38=28, Resulting Numbers: [94, 28]
Generated Node #0,0,0: 70:[94, 28] Operation: 66-38=28
Exploring Operation: 94-38=56, Resulting Numbers: [66, 56]
Generated Node #0,0,1: 70:[66, 56] Operation: 94-38=56
Exploring Operation: 66+38=104, Resulting Numbers: [94, 104]
Generated Node #0,0,2: 70:[94, 104] Operation: 66+38=104
Exploring Operation: 94-66=28, Resulting Numbers: [38, 28]
Generated Node #0,0,3: 70:[38, 28] Operation: 94-66=28
Moving to Node #0,2,1
Current State: 70:[4, 70], Operations: ['94-66=28', '42+28=70']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 4*70=280, Resulting Numbers: [280]
280,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[4, 14], Operations: ['94-66=28', '42-28=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[4, 14], Operations: ['94-42=52', '66-52=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
Moving to Node #0,1,0
Current State: 70:[66, 13], Operations: ['94-42=52', '52/4=13']
Exploring Operation: 66+13=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,70 unequal: No Solution
Exploring Operation: 66*13=858, Resulting Numbers: [858]
858,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[42, 7], Operations: ['94-66=28', '28/4=7']
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 42*7=294, Resulting Numbers: [294]
294,70 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 42+7=49, Resulting Numbers: [49]
49,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[38, 28], Operations: ['42-4=38', '94-66=28']
Exploring Operation: 38*28=1064, Resulting Numbers: [1064]
1064,70 unequal: No Solution
Exploring Operation: 38+28=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[28, 38], Operations: ['94-66=28', '42-4=38']
Exploring Operation: 28*38=1064, Resulting Numbers: [1064]
1064,70 unequal: No Solution
Exploring Operation: 28+38=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[66, 48], Operations: ['94-42=52', '52-4=48']
Exploring Operation: 66+48=114, Resulting Numbers: [114]
114,70 unequal: No Solution
Exploring Operation: 66-48=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 66*48=3168, Resulting Numbers: [3168]
3168,70 unequal: No Solution
Moving to Node #0,3,2
Current State: 70:[42, 24], Operations: ['66+4=70', '94-70=24']
Exploring Operation: 42*24=1008, Resulting Numbers: [1008]
1008,70 unequal: No Solution
Exploring Operation: 42+24=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Moving to Node #0,3,0
Current State: 70:[70, 52], Operations: ['66+4=70', '94-42=52']
Exploring Operation: 70-52=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 70+52=122, Resulting Numbers: [122]
122,70 unequal: No Solution
Exploring Operation: 70*52=3640, Resulting Numbers: [3640]
3640,70 unequal: No Solution
Moving to Node #0,1,3
Current State: 70:[52, 70], Operations: ['94-42=52', '66+4=70']
Exploring Operation: 52*70=3640, Resulting Numbers: [3640]
3640,70 unequal: No Solution
Exploring Operation: 70-52=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 52+70=122, Resulting Numbers: [122]
122,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[66, 56], Operations: ['42-4=38', '94-38=56']
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 66+56=122, Resulting Numbers: [122]
122,70 unequal: No Solution
Exploring Operation: 66*56=3696, Resulting Numbers: [3696]
3696,70 unequal: No Solution
Moving to Node #0,3,1
Current State: 70:[94, 28], Operations: ['66+4=70', '70-42=28']
Exploring Operation: 94+28=122, Resulting Numbers: [122]
122,70 unequal: No Solution
Exploring Operation: 94-28=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 94*28=2632, Resulting Numbers: [2632]
2632,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[94, 28], Operations: ['42-4=38', '66-38=28']
Exploring Operation: 94+28=122, Resulting Numbers: [122]
122,70 unequal: No Solution
Exploring Operation: 94*28=2632, Resulting Numbers: [2632]
2632,70 unequal: No Solution
Exploring Operation: 94-28=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[94, 104], Operations: ['42-4=38', '66+38=104']
Exploring Operation: 94+104=198, Resulting Numbers: [198]
198,70 unequal: No Solution
Exploring Operation: 104-94=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 94*104=9776, Resulting Numbers: [9776]
9776,70 unequal: No Solution
Moving to Node #0,3,3
Current State: 70:[70, 136], Operations: ['66+4=70', '42+94=136']
Exploring Operation: 136-70=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 70+136=206, Resulting Numbers: [206]
206,70 unequal: No Solution
Exploring Operation: 70*136=9520, Resulting Numbers: [9520]
9520,70 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
19,
34,
27,
59
] | 85 | [
"19+34=53",
"59-27=32",
"53+32=85"
] | Current State: 85:[19, 34, 27, 59], Operations: []
Exploring Operation: 19+34=53, Resulting Numbers: [27, 59, 53]
Generated Node #2: [27, 59, 53] from Operation: 19+34=53
Current State: 85:[27, 59, 53], Operations: ['19+34=53']
Exploring Operation: 59-27=32, Resulting Numbers: [53, 32]
Generated Node #3: [53, 32] from Operation: 59-27=32
Current State: 85:[53, 32], Operations: ['19+34=53', '59-27=32']
Exploring Operation: 53+32=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[19, 34, 27, 59], Operations: []
Exploring Operation: 34+59=93, Resulting Numbers: [19, 27, 93]
Generated Node #0,0: 85:[19, 27, 93] Operation: 34+59=93
Moving to Node #0,0
Current State: 85:[19, 27, 93], Operations: ['34+59=93']
Exploring Operation: 27-19=8, Resulting Numbers: [93, 8]
Generated Node #0,0,0: 85:[93, 8] Operation: 27-19=8
Moving to Node #0,0,0
Current State: 85:[93, 8], Operations: ['34+59=93', '27-19=8']
Exploring Operation: 93-8=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[19, 34, 27, 59], Operations: []
Exploring Operation: 34+59=93, Resulting Numbers: [19, 27, 93]
Generated Node #0,0: 85:[19, 27, 93] Operation: 34+59=93
Moving to Node #0,0
Current State: 85:[19, 27, 93], Operations: ['34+59=93']
Exploring Operation: 27-19=8, Resulting Numbers: [93, 8]
Generated Node #0,0,0: 85:[93, 8] Operation: 27-19=8
Moving to Node #0,0,0
Current State: 85:[93, 8], Operations: ['34+59=93', '27-19=8']
Exploring Operation: 93-8=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
41,
2,
4,
33
] | 80 | [
"41+2=43",
"4+33=37",
"43+37=80"
] | Current State: 80:[41, 2, 4, 33], Operations: []
Exploring Operation: 41+2=43, Resulting Numbers: [4, 33, 43]
Generated Node #2: [4, 33, 43] from Operation: 41+2=43
Current State: 80:[4, 33, 43], Operations: ['41+2=43']
Exploring Operation: 4+33=37, Resulting Numbers: [43, 37]
Generated Node #3: [43, 37] from Operation: 4+33=37
Current State: 80:[43, 37], Operations: ['41+2=43', '4+33=37']
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[41, 2, 4, 33], Operations: []
Exploring Operation: 41-33=8, Resulting Numbers: [2, 4, 8]
Generated Node #0,0: 80:[2, 4, 8] Operation: 41-33=8
Exploring Operation: 4+33=37, Resulting Numbers: [41, 2, 37]
Generated Node #0,1: 80:[41, 2, 37] Operation: 4+33=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[2, 4, 8], Operations: ['41-33=8']
Exploring Operation: 2*4=8, Resulting Numbers: [8, 8]
Generated Node #0,0,0: 80:[8, 8] Operation: 2*4=8
Exploring Operation: 4-2=2, Resulting Numbers: [8, 2]
Generated Node #0,0,1: 80:[8, 2] Operation: 4-2=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[8, 8], Operations: ['41-33=8', '2*4=8']
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[8, 2], Operations: ['41-33=8', '4-2=2']
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,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:[41, 2, 37], Operations: ['4+33=37']
Exploring Operation: 41-37=4, Resulting Numbers: [2, 4]
Generated Node #0,1,0: 80:[2, 4] Operation: 41-37=4
Exploring Operation: 41+37=78, Resulting Numbers: [2, 78]
Generated Node #0,1,1: 80:[2, 78] Operation: 41+37=78
Moving to Node #0,1,0
Current State: 80:[2, 4], Operations: ['4+33=37', '41-37=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[2, 78], Operations: ['4+33=37', '41+37=78']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,80 unequal: No Solution
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[41, 2, 4, 33], Operations: []
Exploring Operation: 4+33=37, Resulting Numbers: [41, 2, 37]
Generated Node #0,1: 80:[41, 2, 37] Operation: 4+33=37
Moving to Node #0,1
Current State: 80:[41, 2, 37], Operations: ['4+33=37']
Exploring Operation: 41+37=78, Resulting Numbers: [2, 78]
Generated Node #0,1,1: 80:[2, 78] Operation: 41+37=78
Moving to Node #0,1,1
Current State: 80:[2, 78], Operations: ['4+33=37', '41+37=78']
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
88,
38,
51,
84
] | 17 | [
"88-38=50",
"84-51=33",
"50-33=17"
] | Current State: 17:[88, 38, 51, 84], Operations: []
Exploring Operation: 88-38=50, Resulting Numbers: [51, 84, 50]
Generated Node #2: [51, 84, 50] from Operation: 88-38=50
Current State: 17:[51, 84, 50], Operations: ['88-38=50']
Exploring Operation: 84-51=33, Resulting Numbers: [50, 33]
Generated Node #3: [50, 33] from Operation: 84-51=33
Current State: 17:[50, 33], Operations: ['88-38=50', '84-51=33']
Exploring Operation: 50-33=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[88, 38, 51, 84], Operations: []
Exploring Operation: 84-51=33, Resulting Numbers: [88, 38, 33]
Generated Node #0,0: 17:[88, 38, 33] Operation: 84-51=33
Exploring Operation: 88-51=37, Resulting Numbers: [38, 84, 37]
Generated Node #0,1: 17:[38, 84, 37] Operation: 88-51=37
Exploring Operation: 88-84=4, Resulting Numbers: [38, 51, 4]
Generated Node #0,2: 17:[38, 51, 4] Operation: 88-84=4
Exploring Operation: 88-38=50, Resulting Numbers: [51, 84, 50]
Generated Node #0,3: 17:[51, 84, 50] Operation: 88-38=50
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[38, 51, 4], Operations: ['88-84=4']
Exploring Operation: 38+4=42, Resulting Numbers: [51, 42]
Generated Node #0,2,0: 17:[51, 42] Operation: 38+4=42
Exploring Operation: 38-4=34, Resulting Numbers: [51, 34]
Generated Node #0,2,1: 17:[51, 34] Operation: 38-4=34
Exploring Operation: 51-4=47, Resulting Numbers: [38, 47]
Generated Node #0,2,2: 17:[38, 47] Operation: 51-4=47
Exploring Operation: 51-38=13, Resulting Numbers: [4, 13]
Generated Node #0,2,3: 17:[4, 13] Operation: 51-38=13
Moving to Node #0,2,3
Current State: 17:[4, 13], Operations: ['88-84=4', '51-38=13']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[88, 38, 51, 84], Operations: []
Exploring Operation: 88-84=4, Resulting Numbers: [38, 51, 4]
Generated Node #0,2: 17:[38, 51, 4] Operation: 88-84=4
Moving to Node #0,2
Current State: 17:[38, 51, 4], Operations: ['88-84=4']
Exploring Operation: 51-38=13, Resulting Numbers: [4, 13]
Generated Node #0,2,3: 17:[4, 13] Operation: 51-38=13
Moving to Node #0,2,3
Current State: 17:[4, 13], Operations: ['88-84=4', '51-38=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
71,
84,
25,
66
] | 28 | [
"84-71=13",
"66-25=41",
"41-13=28"
] | Current State: 28:[71, 84, 25, 66], Operations: []
Exploring Operation: 84-71=13, Resulting Numbers: [25, 66, 13]
Generated Node #2: [25, 66, 13] from Operation: 84-71=13
Current State: 28:[25, 66, 13], Operations: ['84-71=13']
Exploring Operation: 66-25=41, Resulting Numbers: [13, 41]
Generated Node #3: [13, 41] from Operation: 66-25=41
Current State: 28:[13, 41], Operations: ['84-71=13', '66-25=41']
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[71, 84, 25, 66], Operations: []
Exploring Operation: 71-66=5, Resulting Numbers: [84, 25, 5]
Generated Node #0,0: 28:[84, 25, 5] Operation: 71-66=5
Exploring Operation: 71-25=46, Resulting Numbers: [84, 66, 46]
Generated Node #0,1: 28:[84, 66, 46] Operation: 71-25=46
Exploring Operation: 84-71=13, Resulting Numbers: [25, 66, 13]
Generated Node #0,2: 28:[25, 66, 13] Operation: 84-71=13
Exploring Operation: 84-66=18, Resulting Numbers: [71, 25, 18]
Generated Node #0,3: 28:[71, 25, 18] Operation: 84-66=18
Exploring Operation: 84-25=59, Resulting Numbers: [71, 66, 59]
Generated Node #0,4: 28:[71, 66, 59] Operation: 84-25=59
Moving to Node #0,2
Current State: 28:[25, 66, 13], Operations: ['84-71=13']
Exploring Operation: 66-13=53, Resulting Numbers: [25, 53]
Generated Node #0,2,0: 28:[25, 53] Operation: 66-13=53
Exploring Operation: 25-13=12, Resulting Numbers: [66, 12]
Generated Node #0,2,1: 28:[66, 12] Operation: 25-13=12
Exploring Operation: 25+13=38, Resulting Numbers: [66, 38]
Generated Node #0,2,2: 28:[66, 38] Operation: 25+13=38
Exploring Operation: 66+13=79, Resulting Numbers: [25, 79]
Generated Node #0,2,3: 28:[25, 79] Operation: 66+13=79
Exploring Operation: 66-25=41, Resulting Numbers: [13, 41]
Generated Node #0,2,4: 28:[13, 41] Operation: 66-25=41
Moving to Node #0,3
Current State: 28:[71, 25, 18], Operations: ['84-66=18']
Exploring Operation: 71+18=89, Resulting Numbers: [25, 89]
Generated Node #0,3,0: 28:[25, 89] Operation: 71+18=89
Exploring Operation: 25+18=43, Resulting Numbers: [71, 43]
Generated Node #0,3,1: 28:[71, 43] Operation: 25+18=43
Exploring Operation: 71-25=46, Resulting Numbers: [18, 46]
Generated Node #0,3,2: 28:[18, 46] Operation: 71-25=46
Exploring Operation: 25-18=7, Resulting Numbers: [71, 7]
Generated Node #0,3,3: 28:[71, 7] Operation: 25-18=7
Exploring Operation: 71-18=53, Resulting Numbers: [25, 53]
Generated Node #0,3,4: 28:[25, 53] Operation: 71-18=53
Moving to Node #0,0
Current State: 28:[84, 25, 5], Operations: ['71-66=5']
Exploring Operation: 25-5=20, Resulting Numbers: [84, 20]
Generated Node #0,0,0: 28:[84, 20] Operation: 25-5=20
Exploring Operation: 25+5=30, Resulting Numbers: [84, 30]
Generated Node #0,0,1: 28:[84, 30] Operation: 25+5=30
Exploring Operation: 25/5=5, Resulting Numbers: [84, 5]
Generated Node #0,0,2: 28:[84, 5] Operation: 25/5=5
Exploring Operation: 84-5=79, Resulting Numbers: [25, 79]
Generated Node #0,0,3: 28:[25, 79] Operation: 84-5=79
Exploring Operation: 84-25=59, Resulting Numbers: [5, 59]
Generated Node #0,0,4: 28:[5, 59] Operation: 84-25=59
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 28:[5, 59], Operations: ['71-66=5', '84-25=59']
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,28 unequal: No Solution
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 28:[25, 79], Operations: ['71-66=5', '84-5=79']
Exploring Operation: 25*79=1975, Resulting Numbers: [1975]
1975,28 unequal: No Solution
Exploring Operation: 25+79=104, Resulting Numbers: [104]
104,28 unequal: No Solution
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 28:[84, 5], Operations: ['71-66=5', '25/5=5']
Exploring Operation: 84+5=89, Resulting Numbers: [89]
89,28 unequal: No Solution
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Exploring Operation: 84*5=420, Resulting Numbers: [420]
420,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[84, 30], Operations: ['71-66=5', '25+5=30']
Exploring Operation: 84*30=2520, Resulting Numbers: [2520]
2520,28 unequal: No Solution
Exploring Operation: 84-30=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 84+30=114, Resulting Numbers: [114]
114,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[84, 20], Operations: ['71-66=5', '25-5=20']
Exploring Operation: 84-20=64, Resulting Numbers: [64]
64,28 unequal: No Solution
Exploring Operation: 84*20=1680, Resulting Numbers: [1680]
1680,28 unequal: No Solution
Exploring Operation: 84+20=104, Resulting Numbers: [104]
104,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 28:[84, 66, 46], Operations: ['71-25=46']
Exploring Operation: 84-66=18, Resulting Numbers: [46, 18]
Generated Node #0,1,0: 28:[46, 18] Operation: 84-66=18
Exploring Operation: 84+46=130, Resulting Numbers: [66, 130]
Generated Node #0,1,1: 28:[66, 130] Operation: 84+46=130
Exploring Operation: 66-46=20, Resulting Numbers: [84, 20]
Generated Node #0,1,2: 28:[84, 20] Operation: 66-46=20
Exploring Operation: 84-46=38, Resulting Numbers: [66, 38]
Generated Node #0,1,3: 28:[66, 38] Operation: 84-46=38
Exploring Operation: 84+66=150, Resulting Numbers: [46, 150]
Generated Node #0,1,4: 28:[46, 150] Operation: 84+66=150
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[46, 18], Operations: ['71-25=46', '84-66=18']
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[71, 84, 25, 66], Operations: []
Exploring Operation: 71-25=46, Resulting Numbers: [84, 66, 46]
Generated Node #0,1: 28:[84, 66, 46] Operation: 71-25=46
Moving to Node #0,1
Current State: 28:[84, 66, 46], Operations: ['71-25=46']
Exploring Operation: 84-66=18, Resulting Numbers: [46, 18]
Generated Node #0,1,0: 28:[46, 18] Operation: 84-66=18
Moving to Node #0,1,0
Current State: 28:[46, 18], Operations: ['71-25=46', '84-66=18']
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 | hs_5 | mult_heuristic |
[
82,
36,
76,
62
] | 32 | [
"82-36=46",
"76-62=14",
"46-14=32"
] | Current State: 32:[82, 36, 76, 62], Operations: []
Exploring Operation: 82-36=46, Resulting Numbers: [76, 62, 46]
Generated Node #2: [76, 62, 46] from Operation: 82-36=46
Current State: 32:[76, 62, 46], Operations: ['82-36=46']
Exploring Operation: 76-62=14, Resulting Numbers: [46, 14]
Generated Node #3: [46, 14] from Operation: 76-62=14
Current State: 32:[46, 14], Operations: ['82-36=46', '76-62=14']
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[82, 36, 76, 62], Operations: []
Exploring Operation: 76-62=14, Resulting Numbers: [82, 36, 14]
Generated Node #0,0: 32:[82, 36, 14] Operation: 76-62=14
Exploring Operation: 82-62=20, Resulting Numbers: [36, 76, 20]
Generated Node #0,1: 32:[36, 76, 20] Operation: 82-62=20
Exploring Operation: 82-76=6, Resulting Numbers: [36, 62, 6]
Generated Node #0,2: 32:[36, 62, 6] Operation: 82-76=6
Moving to Node #0,2
Current State: 32:[36, 62, 6], Operations: ['82-76=6']
Exploring Operation: 62-36=26, Resulting Numbers: [6, 26]
Generated Node #0,2,0: 32:[6, 26] Operation: 62-36=26
Exploring Operation: 62-6=56, Resulting Numbers: [36, 56]
Generated Node #0,2,1: 32:[36, 56] Operation: 62-6=56
Exploring Operation: 36-6=30, Resulting Numbers: [62, 30]
Generated Node #0,2,2: 32:[62, 30] Operation: 36-6=30
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 32:[6, 26], Operations: ['82-76=6', '62-36=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[82, 36, 76, 62], Operations: []
Exploring Operation: 82-76=6, Resulting Numbers: [36, 62, 6]
Generated Node #0,2: 32:[36, 62, 6] Operation: 82-76=6
Moving to Node #0,2
Current State: 32:[36, 62, 6], Operations: ['82-76=6']
Exploring Operation: 62-36=26, Resulting Numbers: [6, 26]
Generated Node #0,2,0: 32:[6, 26] Operation: 62-36=26
Moving to Node #0,2,0
Current State: 32:[6, 26], Operations: ['82-76=6', '62-36=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
76,
42,
15,
14
] | 36 | [
"76+14=90",
"90/15=6",
"42-6=36"
] | Current State: 36:[76, 42, 15, 14], Operations: []
Exploring Operation: 76+14=90, Resulting Numbers: [42, 15, 90]
Generated Node #2: [42, 15, 90] from Operation: 76+14=90
Current State: 36:[42, 15, 90], Operations: ['76+14=90']
Exploring Operation: 90/15=6, Resulting Numbers: [42, 6]
Generated Node #3: [42, 6] from Operation: 90/15=6
Current State: 36:[42, 6], Operations: ['76+14=90', '90/15=6']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[76, 42, 15, 14], Operations: []
Exploring Operation: 76-42=34, Resulting Numbers: [15, 14, 34]
Generated Node #0,0: 36:[15, 14, 34] Operation: 76-42=34
Exploring Operation: 42/14=3, Resulting Numbers: [76, 15, 3]
Generated Node #0,1: 36:[76, 15, 3] Operation: 42/14=3
Exploring Operation: 76-14=62, Resulting Numbers: [42, 15, 62]
Generated Node #0,2: 36:[42, 15, 62] Operation: 76-14=62
Exploring Operation: 15-14=1, Resulting Numbers: [76, 42, 1]
Generated Node #0,3: 36:[76, 42, 1] Operation: 15-14=1
Exploring Operation: 76-15=61, Resulting Numbers: [42, 14, 61]
Generated Node #0,4: 36:[42, 14, 61] Operation: 76-15=61
Moving to Node #0,0
Current State: 36:[15, 14, 34], Operations: ['76-42=34']
Exploring Operation: 15-14=1, Resulting Numbers: [34, 1]
Generated Node #0,0,0: 36:[34, 1] Operation: 15-14=1
Exploring Operation: 15+34=49, Resulting Numbers: [14, 49]
Generated Node #0,0,1: 36:[14, 49] Operation: 15+34=49
Exploring Operation: 34-15=19, Resulting Numbers: [14, 19]
Generated Node #0,0,2: 36:[14, 19] Operation: 34-15=19
Exploring Operation: 15+14=29, Resulting Numbers: [34, 29]
Generated Node #0,0,3: 36:[34, 29] Operation: 15+14=29
Exploring Operation: 34-14=20, Resulting Numbers: [15, 20]
Generated Node #0,0,4: 36:[15, 20] Operation: 34-14=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[34, 1], Operations: ['76-42=34', '15-14=1']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 36:[14, 19], Operations: ['76-42=34', '34-15=19']
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 36:[15, 20], Operations: ['76-42=34', '34-14=20']
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 15*20=300, Resulting Numbers: [300]
300,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 36:[34, 29], Operations: ['76-42=34', '15+14=29']
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 34*29=986, Resulting Numbers: [986]
986,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[14, 49], Operations: ['76-42=34', '15+34=49']
Exploring Operation: 14*49=686, Resulting Numbers: [686]
686,36 unequal: No Solution
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,36 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: 36:[42, 14, 61], Operations: ['76-15=61']
Exploring Operation: 61-42=19, Resulting Numbers: [14, 19]
Generated Node #0,4,0: 36:[14, 19] Operation: 61-42=19
Exploring Operation: 42-14=28, Resulting Numbers: [61, 28]
Generated Node #0,4,1: 36:[61, 28] Operation: 42-14=28
Exploring Operation: 61-14=47, Resulting Numbers: [42, 47]
Generated Node #0,4,2: 36:[42, 47] Operation: 61-14=47
Exploring Operation: 42+14=56, Resulting Numbers: [61, 56]
Generated Node #0,4,3: 36:[61, 56] Operation: 42+14=56
Exploring Operation: 42/14=3, Resulting Numbers: [61, 3]
Generated Node #0,4,4: 36:[61, 3] Operation: 42/14=3
Moving to Node #0,2
Current State: 36:[42, 15, 62], Operations: ['76-14=62']
Exploring Operation: 15+62=77, Resulting Numbers: [42, 77]
Generated Node #0,2,0: 36:[42, 77] Operation: 15+62=77
Exploring Operation: 42+15=57, Resulting Numbers: [62, 57]
Generated Node #0,2,1: 36:[62, 57] Operation: 42+15=57
Exploring Operation: 42-15=27, Resulting Numbers: [62, 27]
Generated Node #0,2,2: 36:[62, 27] Operation: 42-15=27
Exploring Operation: 62-15=47, Resulting Numbers: [42, 47]
Generated Node #0,2,3: 36:[42, 47] Operation: 62-15=47
Exploring Operation: 62-42=20, Resulting Numbers: [15, 20]
Generated Node #0,2,4: 36:[15, 20] Operation: 62-42=20
Moving to Node #0,1
Current State: 36:[76, 15, 3], Operations: ['42/14=3']
Exploring Operation: 15+3=18, Resulting Numbers: [76, 18]
Generated Node #0,1,0: 36:[76, 18] Operation: 15+3=18
Exploring Operation: 15/3=5, Resulting Numbers: [76, 5]
Generated Node #0,1,1: 36:[76, 5] Operation: 15/3=5
Exploring Operation: 76-3=73, Resulting Numbers: [15, 73]
Generated Node #0,1,2: 36:[15, 73] Operation: 76-3=73
Exploring Operation: 15-3=12, Resulting Numbers: [76, 12]
Generated Node #0,1,3: 36:[76, 12] Operation: 15-3=12
Exploring Operation: 76-15=61, Resulting Numbers: [3, 61]
Generated Node #0,1,4: 36:[3, 61] Operation: 76-15=61
Moving to Node #0,3
Current State: 36:[76, 42, 1], Operations: ['15-14=1']
Exploring Operation: 76-1=75, Resulting Numbers: [42, 75]
Generated Node #0,3,0: 36:[42, 75] Operation: 76-1=75
Exploring Operation: 42-1=41, Resulting Numbers: [76, 41]
Generated Node #0,3,1: 36:[76, 41] Operation: 42-1=41
Exploring Operation: 76/1=76, Resulting Numbers: [42, 76]
Generated Node #0,3,2: 36:[42, 76] Operation: 76/1=76
Exploring Operation: 76-42=34, Resulting Numbers: [1, 34]
Generated Node #0,3,3: 36:[1, 34] Operation: 76-42=34
Exploring Operation: 76*1=76, Resulting Numbers: [42, 76]
Generated Node #0,3,4: 36:[42, 76] Operation: 76*1=76
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 36:[1, 34], Operations: ['15-14=1', '76-42=34']
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 36:[42, 75], Operations: ['15-14=1', '76-1=75']
Exploring Operation: 42+75=117, Resulting Numbers: [117]
117,36 unequal: No Solution
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Exploring Operation: 42*75=3150, Resulting Numbers: [3150]
3150,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 36:[76, 41], Operations: ['15-14=1', '42-1=41']
Exploring Operation: 76-41=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 76*41=3116, Resulting Numbers: [3116]
3116,36 unequal: No Solution
Exploring Operation: 76+41=117, Resulting Numbers: [117]
117,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 36:[42, 76], Operations: ['15-14=1', '76/1=76']
Exploring Operation: 42*76=3192, Resulting Numbers: [3192]
3192,36 unequal: No Solution
Exploring Operation: 42+76=118, Resulting Numbers: [118]
118,36 unequal: No Solution
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 36:[42, 76], Operations: ['15-14=1', '76*1=76']
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 42*76=3192, Resulting Numbers: [3192]
3192,36 unequal: No Solution
Exploring Operation: 42+76=118, Resulting Numbers: [118]
118,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 36:[14, 19], Operations: ['76-15=61', '61-42=19']
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,36 unequal: No Solution
Moving to Node #0,2,4
Current State: 36:[15, 20], Operations: ['76-14=62', '62-42=20']
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 15*20=300, Resulting Numbers: [300]
300,36 unequal: No Solution
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Moving to Node #0,2,3
Current State: 36:[42, 47], Operations: ['76-14=62', '62-15=47']
Exploring Operation: 42+47=89, Resulting Numbers: [89]
89,36 unequal: No Solution
Exploring Operation: 42*47=1974, Resulting Numbers: [1974]
1974,36 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Moving to Node #0,4,2
Current State: 36:[42, 47], Operations: ['76-15=61', '61-14=47']
Exploring Operation: 42+47=89, Resulting Numbers: [89]
89,36 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 42*47=1974, Resulting Numbers: [1974]
1974,36 unequal: No Solution
Moving to Node #0,4,4
Current State: 36:[61, 3], Operations: ['76-15=61', '42/14=3']
Exploring Operation: 61+3=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Exploring Operation: 61*3=183, Resulting Numbers: [183]
183,36 unequal: No Solution
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Moving to Node #0,1,4
Current State: 36:[3, 61], Operations: ['42/14=3', '76-15=61']
Exploring Operation: 3+61=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Exploring Operation: 3*61=183, Resulting Numbers: [183]
183,36 unequal: No Solution
Moving to Node #0,4,1
Current State: 36:[61, 28], Operations: ['76-15=61', '42-14=28']
Exploring Operation: 61*28=1708, Resulting Numbers: [1708]
1708,36 unequal: No Solution
Exploring Operation: 61+28=89, Resulting Numbers: [89]
89,36 unequal: No Solution
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[62, 27], Operations: ['76-14=62', '42-15=27']
Exploring Operation: 62-27=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 62+27=89, Resulting Numbers: [89]
89,36 unequal: No Solution
Exploring Operation: 62*27=1674, Resulting Numbers: [1674]
1674,36 unequal: No Solution
Moving to Node #0,1,3
Current State: 36:[76, 12], Operations: ['42/14=3', '15-3=12']
Exploring Operation: 76*12=912, Resulting Numbers: [912]
912,36 unequal: No Solution
Exploring Operation: 76+12=88, Resulting Numbers: [88]
88,36 unequal: No Solution
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[76, 18], Operations: ['42/14=3', '15+3=18']
Exploring Operation: 76+18=94, Resulting Numbers: [94]
94,36 unequal: No Solution
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Exploring Operation: 76*18=1368, Resulting Numbers: [1368]
1368,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[15, 73], Operations: ['42/14=3', '76-3=73']
Exploring Operation: 15*73=1095, Resulting Numbers: [1095]
1095,36 unequal: No Solution
Exploring Operation: 73-15=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Exploring Operation: 15+73=88, Resulting Numbers: [88]
88,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[76, 5], Operations: ['42/14=3', '15/3=5']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,36 unequal: No Solution
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,36 unequal: No Solution
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,36 unequal: No Solution
Moving to Node #0,4,3
Current State: 36:[61, 56], Operations: ['76-15=61', '42+14=56']
Exploring Operation: 61+56=117, Resulting Numbers: [117]
117,36 unequal: No Solution
Exploring Operation: 61-56=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 61*56=3416, Resulting Numbers: [3416]
3416,36 unequal: No Solution
Moving to Node #0,2,0
Current State: 36:[42, 77], Operations: ['76-14=62', '15+62=77']
Exploring Operation: 42+77=119, Resulting Numbers: [119]
119,36 unequal: No Solution
Exploring Operation: 42*77=3234, Resulting Numbers: [3234]
3234,36 unequal: No Solution
Exploring Operation: 77-42=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[62, 57], Operations: ['76-14=62', '42+15=57']
Exploring Operation: 62-57=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 62*57=3534, Resulting Numbers: [3534]
3534,36 unequal: No Solution
Exploring Operation: 62+57=119, Resulting Numbers: [119]
119,36 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
32,
70,
83,
39
] | 20 | [
"32+70=102",
"83+39=122",
"122-102=20"
] | Current State: 20:[32, 70, 83, 39], Operations: []
Exploring Operation: 32+70=102, Resulting Numbers: [83, 39, 102]
Generated Node #2: [83, 39, 102] from Operation: 32+70=102
Current State: 20:[83, 39, 102], Operations: ['32+70=102']
Exploring Operation: 83+39=122, Resulting Numbers: [102, 122]
Generated Node #3: [102, 122] from Operation: 83+39=122
Current State: 20:[102, 122], Operations: ['32+70=102', '83+39=122']
Exploring Operation: 122-102=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[32, 70, 83, 39], Operations: []
Exploring Operation: 70-39=31, Resulting Numbers: [32, 83, 31]
Generated Node #0,0: 20:[32, 83, 31] Operation: 70-39=31
Exploring Operation: 83-70=13, Resulting Numbers: [32, 39, 13]
Generated Node #0,1: 20:[32, 39, 13] Operation: 83-70=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[32, 39, 13], Operations: ['83-70=13']
Exploring Operation: 39/13=3, Resulting Numbers: [32, 3]
Generated Node #0,1,0: 20:[32, 3] Operation: 39/13=3
Exploring Operation: 39-32=7, Resulting Numbers: [13, 7]
Generated Node #0,1,1: 20:[13, 7] Operation: 39-32=7
Moving to Node #0,1,1
Current State: 20:[13, 7], Operations: ['83-70=13', '39-32=7']
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[32, 70, 83, 39], Operations: []
Exploring Operation: 83-70=13, Resulting Numbers: [32, 39, 13]
Generated Node #0,1: 20:[32, 39, 13] Operation: 83-70=13
Moving to Node #0,1
Current State: 20:[32, 39, 13], Operations: ['83-70=13']
Exploring Operation: 39-32=7, Resulting Numbers: [13, 7]
Generated Node #0,1,1: 20:[13, 7] Operation: 39-32=7
Moving to Node #0,1,1
Current State: 20:[13, 7], Operations: ['83-70=13', '39-32=7']
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
48,
13,
17,
91
] | 47 | [
"48+13=61",
"17+91=108",
"108-61=47"
] | Current State: 47:[48, 13, 17, 91], Operations: []
Exploring Operation: 48+13=61, Resulting Numbers: [17, 91, 61]
Generated Node #2: [17, 91, 61] from Operation: 48+13=61
Current State: 47:[17, 91, 61], Operations: ['48+13=61']
Exploring Operation: 17+91=108, Resulting Numbers: [61, 108]
Generated Node #3: [61, 108] from Operation: 17+91=108
Current State: 47:[61, 108], Operations: ['48+13=61', '17+91=108']
Exploring Operation: 108-61=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[48, 13, 17, 91], Operations: []
Exploring Operation: 13+17=30, Resulting Numbers: [48, 91, 30]
Generated Node #0,0: 47:[48, 91, 30] Operation: 13+17=30
Moving to Node #0,0
Current State: 47:[48, 91, 30], Operations: ['13+17=30']
Exploring Operation: 91-30=61, Resulting Numbers: [48, 61]
Generated Node #0,0,0: 47:[48, 61] Operation: 91-30=61
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[48, 61], Operations: ['13+17=30', '91-30=61']
Exploring Operation: 61-48=13, Resulting Numbers: [13]
13,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
22,
24,
5,
76
] | 25 | [
"22+24=46",
"76-5=71",
"71-46=25"
] | Current State: 25:[22, 24, 5, 76], Operations: []
Exploring Operation: 22+24=46, Resulting Numbers: [5, 76, 46]
Generated Node #2: [5, 76, 46] from Operation: 22+24=46
Current State: 25:[5, 76, 46], Operations: ['22+24=46']
Exploring Operation: 76-5=71, Resulting Numbers: [46, 71]
Generated Node #3: [46, 71] from Operation: 76-5=71
Current State: 25:[46, 71], Operations: ['22+24=46', '76-5=71']
Exploring Operation: 71-46=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[22, 24, 5, 76], Operations: []
Exploring Operation: 22+5=27, Resulting Numbers: [24, 76, 27]
Generated Node #0,0: 25:[24, 76, 27] Operation: 22+5=27
Exploring Operation: 76-5=71, Resulting Numbers: [22, 24, 71]
Generated Node #0,1: 25:[22, 24, 71] Operation: 76-5=71
Exploring Operation: 76-22=54, Resulting Numbers: [24, 5, 54]
Generated Node #0,2: 25:[24, 5, 54] Operation: 76-22=54
Exploring Operation: 76-24=52, Resulting Numbers: [22, 5, 52]
Generated Node #0,3: 25:[22, 5, 52] Operation: 76-24=52
Exploring Operation: 24-22=2, Resulting Numbers: [5, 76, 2]
Generated Node #0,4: 25:[5, 76, 2] Operation: 24-22=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[24, 5, 54], Operations: ['76-22=54']
Exploring Operation: 54-5=49, Resulting Numbers: [24, 49]
Generated Node #0,2,0: 25:[24, 49] Operation: 54-5=49
Exploring Operation: 24-5=19, Resulting Numbers: [54, 19]
Generated Node #0,2,1: 25:[54, 19] Operation: 24-5=19
Exploring Operation: 5+54=59, Resulting Numbers: [24, 59]
Generated Node #0,2,2: 25:[24, 59] Operation: 5+54=59
Exploring Operation: 54-24=30, Resulting Numbers: [5, 30]
Generated Node #0,2,3: 25:[5, 30] Operation: 54-24=30
Exploring Operation: 24+5=29, Resulting Numbers: [54, 29]
Generated Node #0,2,4: 25:[54, 29] Operation: 24+5=29
Moving to Node #0,2,3
Current State: 25:[5, 30], Operations: ['76-22=54', '54-24=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[22, 24, 5, 76], Operations: []
Exploring Operation: 76-22=54, Resulting Numbers: [24, 5, 54]
Generated Node #0,2: 25:[24, 5, 54] Operation: 76-22=54
Moving to Node #0,2
Current State: 25:[24, 5, 54], Operations: ['76-22=54']
Exploring Operation: 54-24=30, Resulting Numbers: [5, 30]
Generated Node #0,2,3: 25:[5, 30] Operation: 54-24=30
Moving to Node #0,2,3
Current State: 25:[5, 30], Operations: ['76-22=54', '54-24=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
96,
25,
15,
10
] | 100 | [
"25+15=40",
"40/10=4",
"96+4=100"
] | Current State: 100:[96, 25, 15, 10], Operations: []
Exploring Operation: 25+15=40, Resulting Numbers: [96, 10, 40]
Generated Node #2: [96, 10, 40] from Operation: 25+15=40
Current State: 100:[96, 10, 40], Operations: ['25+15=40']
Exploring Operation: 40/10=4, Resulting Numbers: [96, 4]
Generated Node #3: [96, 4] from Operation: 40/10=4
Current State: 100:[96, 4], Operations: ['25+15=40', '40/10=4']
Exploring Operation: 96+4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[96, 25, 15, 10], Operations: []
Exploring Operation: 15+10=25, Resulting Numbers: [96, 25, 25]
Generated Node #0,0: 100:[96, 25, 25] Operation: 15+10=25
Exploring Operation: 25-15=10, Resulting Numbers: [96, 10, 10]
Generated Node #0,1: 100:[96, 10, 10] Operation: 25-15=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[96, 25, 25], Operations: ['15+10=25']
Exploring Operation: 25+25=50, Resulting Numbers: [96, 50]
Generated Node #0,0,0: 100:[96, 50] Operation: 25+25=50
Exploring Operation: 25/25=1, Resulting Numbers: [96, 1]
Generated Node #0,0,1: 100:[96, 1] Operation: 25/25=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[96, 50], Operations: ['15+10=25', '25+25=50']
Exploring Operation: 96-50=46, Resulting Numbers: [46]
46,100 unequal: No Solution
Exploring Operation: 96+50=146, Resulting Numbers: [146]
146,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 100:[96, 1], Operations: ['15+10=25', '25/25=1']
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,100 unequal: No Solution
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,100 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: 100:[96, 10, 10], Operations: ['25-15=10']
Exploring Operation: 10*10=100, Resulting Numbers: [96, 100]
Generated Node #0,1,0: 100:[96, 100] Operation: 10*10=100
Exploring Operation: 10+10=20, Resulting Numbers: [96, 20]
Generated Node #0,1,1: 100:[96, 20] Operation: 10+10=20
Moving to Node #0,1,0
Current State: 100:[96, 100], Operations: ['25-15=10', '10*10=100']
Exploring Operation: 96+100=196, Resulting Numbers: [196]
196,100 unequal: No Solution
Exploring Operation: 100-96=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[96, 20], Operations: ['25-15=10', '10+10=20']
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,100 unequal: No Solution
Exploring Operation: 96+20=116, Resulting Numbers: [116]
116,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
84,
42,
37,
56
] | 43 | [
"56-42=14",
"84/14=6",
"37+6=43"
] | Current State: 43:[84, 42, 37, 56], Operations: []
Exploring Operation: 56-42=14, Resulting Numbers: [84, 37, 14]
Generated Node #2: [84, 37, 14] from Operation: 56-42=14
Current State: 43:[84, 37, 14], Operations: ['56-42=14']
Exploring Operation: 84/14=6, Resulting Numbers: [37, 6]
Generated Node #3: [37, 6] from Operation: 84/14=6
Current State: 43:[37, 6], Operations: ['56-42=14', '84/14=6']
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[84, 42, 37, 56], Operations: []
Exploring Operation: 84/42=2, Resulting Numbers: [37, 56, 2]
Generated Node #0,0: 43:[37, 56, 2] Operation: 84/42=2
Exploring Operation: 84-42=42, Resulting Numbers: [37, 56, 42]
Generated Node #0,1: 43:[37, 56, 42] Operation: 84-42=42
Exploring Operation: 84-37=47, Resulting Numbers: [42, 56, 47]
Generated Node #0,2: 43:[42, 56, 47] Operation: 84-37=47
Exploring Operation: 84-56=28, Resulting Numbers: [42, 37, 28]
Generated Node #0,3: 43:[42, 37, 28] Operation: 84-56=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[42, 56, 47], Operations: ['84-37=47']
Exploring Operation: 56-42=14, Resulting Numbers: [47, 14]
Generated Node #0,2,0: 43:[47, 14] Operation: 56-42=14
Exploring Operation: 42+56=98, Resulting Numbers: [47, 98]
Generated Node #0,2,1: 43:[47, 98] Operation: 42+56=98
Exploring Operation: 56-47=9, Resulting Numbers: [42, 9]
Generated Node #0,2,2: 43:[42, 9] Operation: 56-47=9
Exploring Operation: 47-42=5, Resulting Numbers: [56, 5]
Generated Node #0,2,3: 43:[56, 5] Operation: 47-42=5
Moving to Node #0,2,0
Current State: 43:[47, 14], Operations: ['84-37=47', '56-42=14']
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 47*14=658, Resulting Numbers: [658]
658,43 unequal: No Solution
Exploring Operation: 47+14=61, Resulting Numbers: [61]
61,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[42, 9], Operations: ['84-37=47', '56-47=9']
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Exploring Operation: 42*9=378, Resulting Numbers: [378]
378,43 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[56, 5], Operations: ['84-37=47', '47-42=5']
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,43 unequal: No Solution
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,43 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[47, 98], Operations: ['84-37=47', '42+56=98']
Exploring Operation: 47+98=145, Resulting Numbers: [145]
145,43 unequal: No Solution
Exploring Operation: 98-47=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Exploring Operation: 47*98=4606, Resulting Numbers: [4606]
4606,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:[37, 56, 42], Operations: ['84-42=42']
Exploring Operation: 56-42=14, Resulting Numbers: [37, 14]
Generated Node #0,1,0: 43:[37, 14] Operation: 56-42=14
Exploring Operation: 37+56=93, Resulting Numbers: [42, 93]
Generated Node #0,1,1: 43:[42, 93] Operation: 37+56=93
Exploring Operation: 37+42=79, Resulting Numbers: [56, 79]
Generated Node #0,1,2: 43:[56, 79] Operation: 37+42=79
Exploring Operation: 56-37=19, Resulting Numbers: [42, 19]
Generated Node #0,1,3: 43:[42, 19] Operation: 56-37=19
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 43:[42, 19], Operations: ['84-42=42', '56-37=19']
Exploring Operation: 42+19=61, Resulting Numbers: [61]
61,43 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 42*19=798, Resulting Numbers: [798]
798,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:[37, 14], Operations: ['84-42=42', '56-42=14']
Exploring Operation: 37+14=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Exploring Operation: 37*14=518, Resulting Numbers: [518]
518,43 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,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:[56, 79], Operations: ['84-42=42', '37+42=79']
Exploring Operation: 79-56=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 56*79=4424, Resulting Numbers: [4424]
4424,43 unequal: No Solution
Exploring Operation: 56+79=135, Resulting Numbers: [135]
135,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:[42, 93], Operations: ['84-42=42', '37+56=93']
Exploring Operation: 42+93=135, Resulting Numbers: [135]
135,43 unequal: No Solution
Exploring Operation: 93-42=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Exploring Operation: 42*93=3906, Resulting Numbers: [3906]
3906,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, 37, 28], Operations: ['84-56=28']
Exploring Operation: 37+28=65, Resulting Numbers: [42, 65]
Generated Node #0,3,0: 43:[42, 65] Operation: 37+28=65
Exploring Operation: 37-28=9, Resulting Numbers: [42, 9]
Generated Node #0,3,1: 43:[42, 9] Operation: 37-28=9
Exploring Operation: 42+28=70, Resulting Numbers: [37, 70]
Generated Node #0,3,2: 43:[37, 70] Operation: 42+28=70
Exploring Operation: 42-28=14, Resulting Numbers: [37, 14]
Generated Node #0,3,3: 43:[37, 14] Operation: 42-28=14
Moving to Node #0,3,0
Current State: 43:[42, 65], Operations: ['84-56=28', '37+28=65']
Exploring Operation: 65-42=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 42*65=2730, Resulting Numbers: [2730]
2730,43 unequal: No Solution
Exploring Operation: 42+65=107, Resulting Numbers: [107]
107,43 unequal: No Solution
Moving to Node #0,3,2
Current State: 43:[37, 70], Operations: ['84-56=28', '42+28=70']
Exploring Operation: 37*70=2590, Resulting Numbers: [2590]
2590,43 unequal: No Solution
Exploring Operation: 70-37=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 37+70=107, Resulting Numbers: [107]
107,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[37, 14], Operations: ['84-56=28', '42-28=14']
Exploring Operation: 37+14=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Exploring Operation: 37*14=518, Resulting Numbers: [518]
518,43 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[42, 9], Operations: ['84-56=28', '37-28=9']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 42*9=378, Resulting Numbers: [378]
378,43 unequal: No Solution
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,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,0
Current State: 43:[37, 56, 2], Operations: ['84/42=2']
Exploring Operation: 56-2=54, Resulting Numbers: [37, 54]
Generated Node #0,0,0: 43:[37, 54] Operation: 56-2=54
Exploring Operation: 37-2=35, Resulting Numbers: [56, 35]
Generated Node #0,0,1: 43:[56, 35] Operation: 37-2=35
Exploring Operation: 37+2=39, Resulting Numbers: [56, 39]
Generated Node #0,0,2: 43:[56, 39] Operation: 37+2=39
Exploring Operation: 56+2=58, Resulting Numbers: [37, 58]
Generated Node #0,0,3: 43:[37, 58] Operation: 56+2=58
Moving to Node #0,0,0
Current State: 43:[37, 54], Operations: ['84/42=2', '56-2=54']
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 37*54=1998, Resulting Numbers: [1998]
1998,43 unequal: No Solution
Exploring Operation: 37+54=91, Resulting Numbers: [91]
91,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[56, 39], Operations: ['84/42=2', '37+2=39']
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 56*39=2184, Resulting Numbers: [2184]
2184,43 unequal: No Solution
Exploring Operation: 56+39=95, Resulting Numbers: [95]
95,43 unequal: No Solution
Moving to Node #0,0,3
Current State: 43:[37, 58], Operations: ['84/42=2', '56+2=58']
Exploring Operation: 58-37=21, Resulting Numbers: [21]
21,43 unequal: No Solution
Exploring Operation: 37+58=95, Resulting Numbers: [95]
95,43 unequal: No Solution
Exploring Operation: 37*58=2146, Resulting Numbers: [2146]
2146,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[56, 35], Operations: ['84/42=2', '37-2=35']
Exploring Operation: 56*35=1960, Resulting Numbers: [1960]
1960,43 unequal: No Solution
Exploring Operation: 56+35=91, Resulting Numbers: [91]
91,43 unequal: No Solution
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
70,
4,
77,
35
] | 71 | [
"70/35=2",
"77-4=73",
"73-2=71"
] | Current State: 71:[70, 4, 77, 35], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [4, 77, 2]
Generated Node #2: [4, 77, 2] from Operation: 70/35=2
Current State: 71:[4, 77, 2], Operations: ['70/35=2']
Exploring Operation: 77-4=73, Resulting Numbers: [2, 73]
Generated Node #3: [2, 73] from Operation: 77-4=73
Current State: 71:[2, 73], Operations: ['70/35=2', '77-4=73']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[70, 4, 77, 35], Operations: []
Exploring Operation: 77-4=73, Resulting Numbers: [70, 35, 73]
Generated Node #0,0: 71:[70, 35, 73] Operation: 77-4=73
Exploring Operation: 4+77=81, Resulting Numbers: [70, 35, 81]
Generated Node #0,1: 71:[70, 35, 81] Operation: 4+77=81
Exploring Operation: 4+35=39, Resulting Numbers: [70, 77, 39]
Generated Node #0,2: 71:[70, 77, 39] Operation: 4+35=39
Exploring Operation: 70+4=74, Resulting Numbers: [77, 35, 74]
Generated Node #0,3: 71:[77, 35, 74] Operation: 70+4=74
Exploring Operation: 70-4=66, Resulting Numbers: [77, 35, 66]
Generated Node #0,4: 71:[77, 35, 66] Operation: 70-4=66
Moving to Node #0,0
Current State: 71:[70, 35, 73], Operations: ['77-4=73']
Exploring Operation: 70/35=2, Resulting Numbers: [73, 2]
Generated Node #0,0,0: 71:[73, 2] Operation: 70/35=2
Exploring Operation: 35+73=108, Resulting Numbers: [70, 108]
Generated Node #0,0,1: 71:[70, 108] Operation: 35+73=108
Exploring Operation: 70+35=105, Resulting Numbers: [73, 105]
Generated Node #0,0,2: 71:[73, 105] Operation: 70+35=105
Exploring Operation: 70-35=35, Resulting Numbers: [73, 35]
Generated Node #0,0,3: 71:[73, 35] Operation: 70-35=35
Exploring Operation: 73-35=38, Resulting Numbers: [70, 38]
Generated Node #0,0,4: 71:[70, 38] Operation: 73-35=38
Moving to Node #0,2
Current State: 71:[70, 77, 39], Operations: ['4+35=39']
Exploring Operation: 77-70=7, Resulting Numbers: [39, 7]
Generated Node #0,2,0: 71:[39, 7] Operation: 77-70=7
Exploring Operation: 77+39=116, Resulting Numbers: [70, 116]
Generated Node #0,2,1: 71:[70, 116] Operation: 77+39=116
Exploring Operation: 70-39=31, Resulting Numbers: [77, 31]
Generated Node #0,2,2: 71:[77, 31] Operation: 70-39=31
Exploring Operation: 77-39=38, Resulting Numbers: [70, 38]
Generated Node #0,2,3: 71:[70, 38] Operation: 77-39=38
Exploring Operation: 70+39=109, Resulting Numbers: [77, 109]
Generated Node #0,2,4: 71:[77, 109] Operation: 70+39=109
Moving to Node #0,3
Current State: 71:[77, 35, 74], Operations: ['70+4=74']
Exploring Operation: 77+35=112, Resulting Numbers: [74, 112]
Generated Node #0,3,0: 71:[74, 112] Operation: 77+35=112
Exploring Operation: 74-35=39, Resulting Numbers: [77, 39]
Generated Node #0,3,1: 71:[77, 39] Operation: 74-35=39
Exploring Operation: 35+74=109, Resulting Numbers: [77, 109]
Generated Node #0,3,2: 71:[77, 109] Operation: 35+74=109
Exploring Operation: 77-74=3, Resulting Numbers: [35, 3]
Generated Node #0,3,3: 71:[35, 3] Operation: 77-74=3
Exploring Operation: 77-35=42, Resulting Numbers: [74, 42]
Generated Node #0,3,4: 71:[74, 42] Operation: 77-35=42
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 71:[74, 42], Operations: ['70+4=74', '77-35=42']
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 74+42=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 74*42=3108, Resulting Numbers: [3108]
3108,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[77, 39], Operations: ['70+4=74', '74-35=39']
Exploring Operation: 77+39=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,71 unequal: No Solution
Exploring Operation: 77*39=3003, Resulting Numbers: [3003]
3003,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[74, 112], Operations: ['70+4=74', '77+35=112']
Exploring Operation: 74*112=8288, Resulting Numbers: [8288]
8288,71 unequal: No Solution
Exploring Operation: 112-74=38, Resulting Numbers: [38]
38,71 unequal: No Solution
Exploring Operation: 74+112=186, Resulting Numbers: [186]
186,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[77, 109], Operations: ['70+4=74', '35+74=109']
Exploring Operation: 77+109=186, Resulting Numbers: [186]
186,71 unequal: No Solution
Exploring Operation: 109-77=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 77*109=8393, Resulting Numbers: [8393]
8393,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[35, 3], Operations: ['70+4=74', '77-74=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,71 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 71:[70, 35, 81], Operations: ['4+77=81']
Exploring Operation: 70+35=105, Resulting Numbers: [81, 105]
Generated Node #0,1,0: 71:[81, 105] Operation: 70+35=105
Exploring Operation: 70-35=35, Resulting Numbers: [81, 35]
Generated Node #0,1,1: 71:[81, 35] Operation: 70-35=35
Exploring Operation: 81-35=46, Resulting Numbers: [70, 46]
Generated Node #0,1,2: 71:[70, 46] Operation: 81-35=46
Exploring Operation: 70/35=2, Resulting Numbers: [81, 2]
Generated Node #0,1,3: 71:[81, 2] Operation: 70/35=2
Exploring Operation: 35+81=116, Resulting Numbers: [70, 116]
Generated Node #0,1,4: 71:[70, 116] Operation: 35+81=116
Moving to Node #0,4
Current State: 71:[77, 35, 66], Operations: ['70-4=66']
Exploring Operation: 66-35=31, Resulting Numbers: [77, 31]
Generated Node #0,4,0: 71:[77, 31] Operation: 66-35=31
Exploring Operation: 77-35=42, Resulting Numbers: [66, 42]
Generated Node #0,4,1: 71:[66, 42] Operation: 77-35=42
Exploring Operation: 77+35=112, Resulting Numbers: [66, 112]
Generated Node #0,4,2: 71:[66, 112] Operation: 77+35=112
Exploring Operation: 35+66=101, Resulting Numbers: [77, 101]
Generated Node #0,4,3: 71:[77, 101] Operation: 35+66=101
Exploring Operation: 77-66=11, Resulting Numbers: [35, 11]
Generated Node #0,4,4: 71:[35, 11] Operation: 77-66=11
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 71:[66, 42], Operations: ['70-4=66', '77-35=42']
Exploring Operation: 66*42=2772, Resulting Numbers: [2772]
2772,71 unequal: No Solution
Exploring Operation: 66+42=108, Resulting Numbers: [108]
108,71 unequal: No Solution
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 71:[77, 101], Operations: ['70-4=66', '35+66=101']
Exploring Operation: 101-77=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Exploring Operation: 77*101=7777, Resulting Numbers: [7777]
7777,71 unequal: No Solution
Exploring Operation: 77+101=178, Resulting Numbers: [178]
178,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 71:[77, 31], Operations: ['70-4=66', '66-35=31']
Exploring Operation: 77*31=2387, Resulting Numbers: [2387]
2387,71 unequal: No Solution
Exploring Operation: 77+31=108, Resulting Numbers: [108]
108,71 unequal: No Solution
Exploring Operation: 77-31=46, Resulting Numbers: [46]
46,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 71:[66, 112], Operations: ['70-4=66', '77+35=112']
Exploring Operation: 66*112=7392, Resulting Numbers: [7392]
7392,71 unequal: No Solution
Exploring Operation: 112-66=46, Resulting Numbers: [46]
46,71 unequal: No Solution
Exploring Operation: 66+112=178, Resulting Numbers: [178]
178,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 71:[35, 11], Operations: ['70-4=66', '77-66=11']
Exploring Operation: 35*11=385, Resulting Numbers: [385]
385,71 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Exploring Operation: 35+11=46, Resulting Numbers: [46]
46,71 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: 71:[70, 46], Operations: ['4+77=81', '81-35=46']
Exploring Operation: 70*46=3220, Resulting Numbers: [3220]
3220,71 unequal: No Solution
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Exploring Operation: 70+46=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[70, 38], Operations: ['4+35=39', '77-39=38']
Exploring Operation: 70+38=108, Resulting Numbers: [108]
108,71 unequal: No Solution
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 70*38=2660, Resulting Numbers: [2660]
2660,71 unequal: No Solution
Moving to Node #0,0,4
Current State: 71:[70, 38], Operations: ['77-4=73', '73-35=38']
Exploring Operation: 70+38=108, Resulting Numbers: [108]
108,71 unequal: No Solution
Exploring Operation: 70*38=2660, Resulting Numbers: [2660]
2660,71 unequal: No Solution
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[73, 105], Operations: ['77-4=73', '70+35=105']
Exploring Operation: 73+105=178, Resulting Numbers: [178]
178,71 unequal: No Solution
Exploring Operation: 73*105=7665, Resulting Numbers: [7665]
7665,71 unequal: No Solution
Exploring Operation: 105-73=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[70, 108], Operations: ['77-4=73', '35+73=108']
Exploring Operation: 70*108=7560, Resulting Numbers: [7560]
7560,71 unequal: No Solution
Exploring Operation: 108-70=38, Resulting Numbers: [38]
38,71 unequal: No Solution
Exploring Operation: 70+108=178, Resulting Numbers: [178]
178,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[73, 35], Operations: ['77-4=73', '70-35=35']
Exploring Operation: 73*35=2555, Resulting Numbers: [2555]
2555,71 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,71 unequal: No Solution
Exploring Operation: 73+35=108, Resulting Numbers: [108]
108,71 unequal: No Solution
Moving to Node #0,2,4
Current State: 71:[77, 109], Operations: ['4+35=39', '70+39=109']
Exploring Operation: 77+109=186, Resulting Numbers: [186]
186,71 unequal: No Solution
Exploring Operation: 109-77=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 77*109=8393, Resulting Numbers: [8393]
8393,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[81, 105], Operations: ['4+77=81', '70+35=105']
Exploring Operation: 105-81=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Exploring Operation: 81+105=186, Resulting Numbers: [186]
186,71 unequal: No Solution
Exploring Operation: 81*105=8505, Resulting Numbers: [8505]
8505,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[81, 35], Operations: ['4+77=81', '70-35=35']
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,71 unequal: No Solution
Exploring Operation: 81*35=2835, Resulting Numbers: [2835]
2835,71 unequal: No Solution
Exploring Operation: 81+35=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[70, 116], Operations: ['4+35=39', '77+39=116']
Exploring Operation: 70+116=186, Resulting Numbers: [186]
186,71 unequal: No Solution
Exploring Operation: 70*116=8120, Resulting Numbers: [8120]
8120,71 unequal: No Solution
Exploring Operation: 116-70=46, Resulting Numbers: [46]
46,71 unequal: No Solution
Moving to Node #0,1,4
Current State: 71:[70, 116], Operations: ['4+77=81', '35+81=116']
Exploring Operation: 70*116=8120, Resulting Numbers: [8120]
8120,71 unequal: No Solution
Exploring Operation: 116-70=46, Resulting Numbers: [46]
46,71 unequal: No Solution
Exploring Operation: 70+116=186, Resulting Numbers: [186]
186,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[77, 31], Operations: ['4+35=39', '70-39=31']
Exploring Operation: 77+31=108, Resulting Numbers: [108]
108,71 unequal: No Solution
Exploring Operation: 77*31=2387, Resulting Numbers: [2387]
2387,71 unequal: No Solution
Exploring Operation: 77-31=46, Resulting Numbers: [46]
46,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[73, 2], Operations: ['77-4=73', '70/35=2']
Exploring Operation: 73*2=146, Resulting Numbers: [146]
146,71 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[70, 4, 77, 35], Operations: []
Exploring Operation: 77-4=73, Resulting Numbers: [70, 35, 73]
Generated Node #0,0: 71:[70, 35, 73] Operation: 77-4=73
Moving to Node #0,0
Current State: 71:[70, 35, 73], Operations: ['77-4=73']
Exploring Operation: 70/35=2, Resulting Numbers: [73, 2]
Generated Node #0,0,0: 71:[73, 2] Operation: 70/35=2
Moving to Node #0,0,0
Current State: 71:[73, 2], Operations: ['77-4=73', '70/35=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 0.911458 | hs_5 | mult_heuristic |
[
38,
93,
2,
54
] | 23 | [
"38+93=131",
"2*54=108",
"131-108=23"
] | Current State: 23:[38, 93, 2, 54], Operations: []
Exploring Operation: 38+93=131, Resulting Numbers: [2, 54, 131]
Generated Node #2: [2, 54, 131] from Operation: 38+93=131
Current State: 23:[2, 54, 131], Operations: ['38+93=131']
Exploring Operation: 2*54=108, Resulting Numbers: [131, 108]
Generated Node #3: [131, 108] from Operation: 2*54=108
Current State: 23:[131, 108], Operations: ['38+93=131', '2*54=108']
Exploring Operation: 131-108=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[38, 93, 2, 54], Operations: []
Exploring Operation: 54/2=27, Resulting Numbers: [38, 93, 27]
Generated Node #0,0: 23:[38, 93, 27] Operation: 54/2=27
Exploring Operation: 93-38=55, Resulting Numbers: [2, 54, 55]
Generated Node #0,1: 23:[2, 54, 55] Operation: 93-38=55
Exploring Operation: 93-54=39, Resulting Numbers: [38, 2, 39]
Generated Node #0,2: 23:[38, 2, 39] Operation: 93-54=39
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[38, 2, 39], Operations: ['93-54=39']
Exploring Operation: 38/2=19, Resulting Numbers: [39, 19]
Generated Node #0,2,0: 23:[39, 19] Operation: 38/2=19
Exploring Operation: 38-2=36, Resulting Numbers: [39, 36]
Generated Node #0,2,1: 23:[39, 36] Operation: 38-2=36
Exploring Operation: 39-2=37, Resulting Numbers: [38, 37]
Generated Node #0,2,2: 23:[38, 37] Operation: 39-2=37
Moving to Node #0,2,0
Current State: 23:[39, 19], Operations: ['93-54=39', '38/2=19']
Exploring Operation: 39+19=58, Resulting Numbers: [58]
58,23 unequal: No Solution
Exploring Operation: 39*19=741, Resulting Numbers: [741]
741,23 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[39, 36], Operations: ['93-54=39', '38-2=36']
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 39+36=75, Resulting Numbers: [75]
75,23 unequal: No Solution
Exploring Operation: 39*36=1404, Resulting Numbers: [1404]
1404,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[38, 37], Operations: ['93-54=39', '39-2=37']
Exploring Operation: 38+37=75, Resulting Numbers: [75]
75,23 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 38*37=1406, Resulting Numbers: [1406]
1406,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[2, 54, 55], Operations: ['93-38=55']
Exploring Operation: 54-2=52, Resulting Numbers: [55, 52]
Generated Node #0,1,0: 23:[55, 52] Operation: 54-2=52
Exploring Operation: 54/2=27, Resulting Numbers: [55, 27]
Generated Node #0,1,1: 23:[55, 27] Operation: 54/2=27
Exploring Operation: 55-54=1, Resulting Numbers: [2, 1]
Generated Node #0,1,2: 23:[2, 1] Operation: 55-54=1
Moving to Node #0,1,1
Current State: 23:[55, 27], Operations: ['93-38=55', '54/2=27']
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 55+27=82, Resulting Numbers: [82]
82,23 unequal: No Solution
Exploring Operation: 55*27=1485, Resulting Numbers: [1485]
1485,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[2, 1], Operations: ['93-38=55', '55-54=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[55, 52], Operations: ['93-38=55', '54-2=52']
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 55*52=2860, Resulting Numbers: [2860]
2860,23 unequal: No Solution
Exploring Operation: 55+52=107, Resulting Numbers: [107]
107,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[38, 93, 27], Operations: ['54/2=27']
Exploring Operation: 38-27=11, Resulting Numbers: [93, 11]
Generated Node #0,0,0: 23:[93, 11] Operation: 38-27=11
Exploring Operation: 93-38=55, Resulting Numbers: [27, 55]
Generated Node #0,0,1: 23:[27, 55] Operation: 93-38=55
Exploring Operation: 93-27=66, Resulting Numbers: [38, 66]
Generated Node #0,0,2: 23:[38, 66] Operation: 93-27=66
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[27, 55], Operations: ['54/2=27', '93-38=55']
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 27+55=82, Resulting Numbers: [82]
82,23 unequal: No Solution
Exploring Operation: 27*55=1485, Resulting Numbers: [1485]
1485,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 23:[38, 66], Operations: ['54/2=27', '93-27=66']
Exploring Operation: 38+66=104, Resulting Numbers: [104]
104,23 unequal: No Solution
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 38*66=2508, Resulting Numbers: [2508]
2508,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[93, 11], Operations: ['54/2=27', '38-27=11']
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,23 unequal: No Solution
Exploring Operation: 93*11=1023, Resulting Numbers: [1023]
1023,23 unequal: No Solution
Exploring Operation: 93+11=104, Resulting Numbers: [104]
104,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
8,
90,
84,
87
] | 16 | [
"90+84=174",
"8*174=1392",
"1392/87=16"
] | Current State: 16:[8, 90, 84, 87], Operations: []
Exploring Operation: 90+84=174, Resulting Numbers: [8, 87, 174]
Generated Node #2: [8, 87, 174] from Operation: 90+84=174
Current State: 16:[8, 87, 174], Operations: ['90+84=174']
Exploring Operation: 8*174=1392, Resulting Numbers: [87, 1392]
Generated Node #3: [87, 1392] from Operation: 8*174=1392
Current State: 16:[87, 1392], Operations: ['90+84=174', '8*174=1392']
Exploring Operation: 1392/87=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[8, 90, 84, 87], Operations: []
Exploring Operation: 90-84=6, Resulting Numbers: [8, 87, 6]
Generated Node #0,0: 16:[8, 87, 6] Operation: 90-84=6
Exploring Operation: 90-87=3, Resulting Numbers: [8, 84, 3]
Generated Node #0,1: 16:[8, 84, 3] Operation: 90-87=3
Exploring Operation: 90-8=82, Resulting Numbers: [84, 87, 82]
Generated Node #0,2: 16:[84, 87, 82] Operation: 90-8=82
Exploring Operation: 87-84=3, Resulting Numbers: [8, 90, 3]
Generated Node #0,3: 16:[8, 90, 3] Operation: 87-84=3
Moving to Node #0,1
Current State: 16:[8, 84, 3], Operations: ['90-87=3']
Exploring Operation: 84-3=81, Resulting Numbers: [8, 81]
Generated Node #0,1,0: 16:[8, 81] Operation: 84-3=81
Exploring Operation: 8-3=5, Resulting Numbers: [84, 5]
Generated Node #0,1,1: 16:[84, 5] Operation: 8-3=5
Exploring Operation: 84/3=28, Resulting Numbers: [8, 28]
Generated Node #0,1,2: 16:[8, 28] Operation: 84/3=28
Exploring Operation: 84-8=76, Resulting Numbers: [3, 76]
Generated Node #0,1,3: 16:[3, 76] Operation: 84-8=76
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 16:[8, 28], Operations: ['90-87=3', '84/3=28']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 16:[3, 76], Operations: ['90-87=3', '84-8=76']
Exploring Operation: 3*76=228, Resulting Numbers: [228]
228,16 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,16 unequal: No Solution
Exploring Operation: 3+76=79, Resulting Numbers: [79]
79,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[8, 81], Operations: ['90-87=3', '84-3=81']
Exploring Operation: 8*81=648, Resulting Numbers: [648]
648,16 unequal: No Solution
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,16 unequal: No Solution
Exploring Operation: 8+81=89, Resulting Numbers: [89]
89,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,1
Current State: 16:[84, 5], Operations: ['90-87=3', '8-3=5']
Exploring Operation: 84+5=89, Resulting Numbers: [89]
89,16 unequal: No Solution
Exploring Operation: 84*5=420, Resulting Numbers: [420]
420,16 unequal: No Solution
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 16:[8, 87, 6], Operations: ['90-84=6']
Exploring Operation: 87-6=81, Resulting Numbers: [8, 81]
Generated Node #0,0,0: 16:[8, 81] Operation: 87-6=81
Exploring Operation: 8+6=14, Resulting Numbers: [87, 14]
Generated Node #0,0,1: 16:[87, 14] Operation: 8+6=14
Exploring Operation: 87-8=79, Resulting Numbers: [6, 79]
Generated Node #0,0,2: 16:[6, 79] Operation: 87-8=79
Exploring Operation: 8-6=2, Resulting Numbers: [87, 2]
Generated Node #0,0,3: 16:[87, 2] Operation: 8-6=2
Moving to Node #0,3
Current State: 16:[8, 90, 3], Operations: ['87-84=3']
Exploring Operation: 90-3=87, Resulting Numbers: [8, 87]
Generated Node #0,3,0: 16:[8, 87] Operation: 90-3=87
Exploring Operation: 90-8=82, Resulting Numbers: [3, 82]
Generated Node #0,3,1: 16:[3, 82] Operation: 90-8=82
Exploring Operation: 90/3=30, Resulting Numbers: [8, 30]
Generated Node #0,3,2: 16:[8, 30] Operation: 90/3=30
Exploring Operation: 8-3=5, Resulting Numbers: [90, 5]
Generated Node #0,3,3: 16:[90, 5] Operation: 8-3=5
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 16:[8, 30], Operations: ['87-84=3', '90/3=30']
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,16 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,16 unequal: No Solution
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 16:[3, 82], Operations: ['87-84=3', '90-8=82']
Exploring Operation: 3*82=246, Resulting Numbers: [246]
246,16 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,16 unequal: No Solution
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 16:[8, 87], Operations: ['87-84=3', '90-3=87']
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,16 unequal: No Solution
Exploring Operation: 8+87=95, Resulting Numbers: [95]
95,16 unequal: No Solution
Exploring Operation: 8*87=696, Resulting Numbers: [696]
696,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 16:[90, 5], Operations: ['87-84=3', '8-3=5']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,16 unequal: No Solution
Exploring Operation: 90*5=450, Resulting Numbers: [450]
450,16 unequal: No Solution
Exploring Operation: 90+5=95, Resulting Numbers: [95]
95,16 unequal: No Solution
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 16:[84, 87, 82], Operations: ['90-8=82']
Exploring Operation: 87-84=3, Resulting Numbers: [82, 3]
Generated Node #0,2,0: 16:[82, 3] Operation: 87-84=3
Exploring Operation: 84-82=2, Resulting Numbers: [87, 2]
Generated Node #0,2,1: 16:[87, 2] Operation: 84-82=2
Exploring Operation: 84+87=171, Resulting Numbers: [82, 171]
Generated Node #0,2,2: 16:[82, 171] Operation: 84+87=171
Exploring Operation: 87-82=5, Resulting Numbers: [84, 5]
Generated Node #0,2,3: 16:[84, 5] Operation: 87-82=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[82, 3], Operations: ['90-8=82', '87-84=3']
Exploring Operation: 82*3=246, Resulting Numbers: [246]
246,16 unequal: No Solution
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,16 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 16:[84, 5], Operations: ['90-8=82', '87-82=5']
Exploring Operation: 84+5=89, Resulting Numbers: [89]
89,16 unequal: No Solution
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,16 unequal: No Solution
Exploring Operation: 84*5=420, Resulting Numbers: [420]
420,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 16:[87, 2], Operations: ['90-8=82', '84-82=2']
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,16 unequal: No Solution
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,16 unequal: No Solution
Exploring Operation: 87*2=174, Resulting Numbers: [174]
174,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 16:[82, 171], Operations: ['90-8=82', '84+87=171']
Exploring Operation: 82*171=14022, Resulting Numbers: [14022]
14022,16 unequal: No Solution
Exploring Operation: 82+171=253, Resulting Numbers: [253]
253,16 unequal: No Solution
Exploring Operation: 171-82=89, Resulting Numbers: [89]
89,16 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: 16:[8, 81], Operations: ['90-84=6', '87-6=81']
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,16 unequal: No Solution
Exploring Operation: 8*81=648, Resulting Numbers: [648]
648,16 unequal: No Solution
Exploring Operation: 8+81=89, Resulting Numbers: [89]
89,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[6, 79], Operations: ['90-84=6', '87-8=79']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,16 unequal: No Solution
Exploring Operation: 6*79=474, Resulting Numbers: [474]
474,16 unequal: No Solution
Exploring Operation: 6+79=85, Resulting Numbers: [85]
85,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[87, 2], Operations: ['90-84=6', '8-6=2']
Exploring Operation: 87*2=174, Resulting Numbers: [174]
174,16 unequal: No Solution
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,16 unequal: No Solution
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[87, 14], Operations: ['90-84=6', '8+6=14']
Exploring Operation: 87*14=1218, Resulting Numbers: [1218]
1218,16 unequal: No Solution
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,16 unequal: No Solution
Exploring Operation: 87+14=101, Resulting Numbers: [101]
101,16 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
30,
55,
76,
86
] | 35 | [
"55-30=25",
"86-76=10",
"25+10=35"
] | Current State: 35:[30, 55, 76, 86], Operations: []
Exploring Operation: 55-30=25, Resulting Numbers: [76, 86, 25]
Generated Node #2: [76, 86, 25] from Operation: 55-30=25
Current State: 35:[76, 86, 25], Operations: ['55-30=25']
Exploring Operation: 86-76=10, Resulting Numbers: [25, 10]
Generated Node #3: [25, 10] from Operation: 86-76=10
Current State: 35:[25, 10], Operations: ['55-30=25', '86-76=10']
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[30, 55, 76, 86], Operations: []
Exploring Operation: 86-76=10, Resulting Numbers: [30, 55, 10]
Generated Node #0,0: 35:[30, 55, 10] Operation: 86-76=10
Exploring Operation: 86-55=31, Resulting Numbers: [30, 76, 31]
Generated Node #0,1: 35:[30, 76, 31] Operation: 86-55=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[30, 55, 10], Operations: ['86-76=10']
Exploring Operation: 55-10=45, Resulting Numbers: [30, 45]
Generated Node #0,0,0: 35:[30, 45] Operation: 55-10=45
Exploring Operation: 55-30=25, Resulting Numbers: [10, 25]
Generated Node #0,0,1: 35:[10, 25] Operation: 55-30=25
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 35:[10, 25], Operations: ['86-76=10', '55-30=25']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[30, 55, 76, 86], Operations: []
Exploring Operation: 86-76=10, Resulting Numbers: [30, 55, 10]
Generated Node #0,0: 35:[30, 55, 10] Operation: 86-76=10
Moving to Node #0,0
Current State: 35:[30, 55, 10], Operations: ['86-76=10']
Exploring Operation: 55-30=25, Resulting Numbers: [10, 25]
Generated Node #0,0,1: 35:[10, 25] Operation: 55-30=25
Moving to Node #0,0,1
Current State: 35:[10, 25], Operations: ['86-76=10', '55-30=25']
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
43,
36,
3,
4
] | 78 | [
"43+36=79",
"4-3=1",
"79-1=78"
] | Current State: 78:[43, 36, 3, 4], Operations: []
Exploring Operation: 43+36=79, Resulting Numbers: [3, 4, 79]
Generated Node #2: [3, 4, 79] from Operation: 43+36=79
Current State: 78:[3, 4, 79], Operations: ['43+36=79']
Exploring Operation: 4-3=1, Resulting Numbers: [79, 1]
Generated Node #3: [79, 1] from Operation: 4-3=1
Current State: 78:[79, 1], Operations: ['43+36=79', '4-3=1']
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[43, 36, 3, 4], Operations: []
Exploring Operation: 36+3=39, Resulting Numbers: [43, 4, 39]
Generated Node #0,0: 78:[43, 4, 39] Operation: 36+3=39
Exploring Operation: 43-36=7, Resulting Numbers: [3, 4, 7]
Generated Node #0,1: 78:[3, 4, 7] Operation: 43-36=7
Exploring Operation: 43-4=39, Resulting Numbers: [36, 3, 39]
Generated Node #0,2: 78:[36, 3, 39] Operation: 43-4=39
Exploring Operation: 43-3=40, Resulting Numbers: [36, 4, 40]
Generated Node #0,3: 78:[36, 4, 40] Operation: 43-3=40
Exploring Operation: 43+36=79, Resulting Numbers: [3, 4, 79]
Generated Node #0,4: 78:[3, 4, 79] Operation: 43+36=79
Moving to Node #0,1
Current State: 78:[3, 4, 7], Operations: ['43-36=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4, 4]
Generated Node #0,1,0: 78:[4, 4] Operation: 7-3=4
Exploring Operation: 7-4=3, Resulting Numbers: [3, 3]
Generated Node #0,1,1: 78:[3, 3] Operation: 7-4=3
Exploring Operation: 3+4=7, Resulting Numbers: [7, 7]
Generated Node #0,1,2: 78:[7, 7] Operation: 3+4=7
Exploring Operation: 3*4=12, Resulting Numbers: [7, 12]
Generated Node #0,1,3: 78:[7, 12] Operation: 3*4=12
Exploring Operation: 4-3=1, Resulting Numbers: [7, 1]
Generated Node #0,1,4: 78:[7, 1] Operation: 4-3=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[3, 3], Operations: ['43-36=7', '7-4=3']
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,78 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,78 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[4, 4], Operations: ['43-36=7', '7-3=4']
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 78:[7, 7], Operations: ['43-36=7', '3+4=7']
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,78 unequal: No Solution
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,78 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 78:[7, 12], Operations: ['43-36=7', '3*4=12']
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 78:[7, 1], Operations: ['43-36=7', '4-3=1']
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,78 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: 78:[3, 4, 79], Operations: ['43+36=79']
Exploring Operation: 79-4=75, Resulting Numbers: [3, 75]
Generated Node #0,4,0: 78:[3, 75] Operation: 79-4=75
Exploring Operation: 3+4=7, Resulting Numbers: [79, 7]
Generated Node #0,4,1: 78:[79, 7] Operation: 3+4=7
Exploring Operation: 4-3=1, Resulting Numbers: [79, 1]
Generated Node #0,4,2: 78:[79, 1] Operation: 4-3=1
Exploring Operation: 79-3=76, Resulting Numbers: [4, 76]
Generated Node #0,4,3: 78:[4, 76] Operation: 79-3=76
Exploring Operation: 3*4=12, Resulting Numbers: [79, 12]
Generated Node #0,4,4: 78:[79, 12] Operation: 3*4=12
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 78:[79, 7], Operations: ['43+36=79', '3+4=7']
Exploring Operation: 79*7=553, Resulting Numbers: [553]
553,78 unequal: No Solution
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,78 unequal: No Solution
Exploring Operation: 79+7=86, Resulting Numbers: [86]
86,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 78:[79, 1], Operations: ['43+36=79', '4-3=1']
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[43, 36, 3, 4], Operations: []
Exploring Operation: 43+36=79, Resulting Numbers: [3, 4, 79]
Generated Node #0,4: 78:[3, 4, 79] Operation: 43+36=79
Moving to Node #0,4
Current State: 78:[3, 4, 79], Operations: ['43+36=79']
Exploring Operation: 4-3=1, Resulting Numbers: [79, 1]
Generated Node #0,4,2: 78:[79, 1] Operation: 4-3=1
Moving to Node #0,4,2
Current State: 78:[79, 1], Operations: ['43+36=79', '4-3=1']
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | mult_heuristic |
[
67,
44,
92,
91
] | 87 | [
"67-44=23",
"92/23=4",
"91-4=87"
] | Current State: 87:[67, 44, 92, 91], Operations: []
Exploring Operation: 67-44=23, Resulting Numbers: [92, 91, 23]
Generated Node #2: [92, 91, 23] from Operation: 67-44=23
Current State: 87:[92, 91, 23], Operations: ['67-44=23']
Exploring Operation: 92/23=4, Resulting Numbers: [91, 4]
Generated Node #3: [91, 4] from Operation: 92/23=4
Current State: 87:[91, 4], Operations: ['67-44=23', '92/23=4']
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[67, 44, 92, 91], Operations: []
Exploring Operation: 92-67=25, Resulting Numbers: [44, 91, 25]
Generated Node #0,0: 87:[44, 91, 25] Operation: 92-67=25
Exploring Operation: 67-44=23, Resulting Numbers: [92, 91, 23]
Generated Node #0,1: 87:[92, 91, 23] Operation: 67-44=23
Moving to Node #0,1
Current State: 87:[92, 91, 23], Operations: ['67-44=23']
Exploring Operation: 92-91=1, Resulting Numbers: [23, 1]
Generated Node #0,1,0: 87:[23, 1] Operation: 92-91=1
Exploring Operation: 92/23=4, Resulting Numbers: [91, 4]
Generated Node #0,1,1: 87:[91, 4] Operation: 92/23=4
Moving to Node #0,0
Current State: 87:[44, 91, 25], Operations: ['92-67=25']
Exploring Operation: 91-44=47, Resulting Numbers: [25, 47]
Generated Node #0,0,0: 87:[25, 47] Operation: 91-44=47
Exploring Operation: 44-25=19, Resulting Numbers: [91, 19]
Generated Node #0,0,1: 87:[91, 19] Operation: 44-25=19
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[91, 19], Operations: ['92-67=25', '44-25=19']
Exploring Operation: 91-19=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Exploring Operation: 91+19=110, Resulting Numbers: [110]
110,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:[25, 47], Operations: ['92-67=25', '91-44=47']
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 25+47=72, Resulting Numbers: [72]
72,87 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: 87:[91, 4], Operations: ['67-44=23', '92/23=4']
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[67, 44, 92, 91], Operations: []
Exploring Operation: 67-44=23, Resulting Numbers: [92, 91, 23]
Generated Node #0,1: 87:[92, 91, 23] Operation: 67-44=23
Moving to Node #0,1
Current State: 87:[92, 91, 23], Operations: ['67-44=23']
Exploring Operation: 92/23=4, Resulting Numbers: [91, 4]
Generated Node #0,1,1: 87:[91, 4] Operation: 92/23=4
Moving to Node #0,1,1
Current State: 87:[91, 4], Operations: ['67-44=23', '92/23=4']
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
52,
5,
12,
9
] | 19 | [
"52+5=57",
"12-9=3",
"57/3=19"
] | Current State: 19:[52, 5, 12, 9], Operations: []
Exploring Operation: 52+5=57, Resulting Numbers: [12, 9, 57]
Generated Node #2: [12, 9, 57] from Operation: 52+5=57
Current State: 19:[12, 9, 57], Operations: ['52+5=57']
Exploring Operation: 12-9=3, Resulting Numbers: [57, 3]
Generated Node #3: [57, 3] from Operation: 12-9=3
Current State: 19:[57, 3], Operations: ['52+5=57', '12-9=3']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[52, 5, 12, 9], Operations: []
Exploring Operation: 52-12=40, Resulting Numbers: [5, 9, 40]
Generated Node #0,0: 19:[5, 9, 40] Operation: 52-12=40
Exploring Operation: 52-5=47, Resulting Numbers: [12, 9, 47]
Generated Node #0,1: 19:[12, 9, 47] Operation: 52-5=47
Exploring Operation: 52-9=43, Resulting Numbers: [5, 12, 43]
Generated Node #0,2: 19:[5, 12, 43] Operation: 52-9=43
Moving to Node #0,0
Current State: 19:[5, 9, 40], Operations: ['52-12=40']
Exploring Operation: 5+9=14, Resulting Numbers: [40, 14]
Generated Node #0,0,0: 19:[40, 14] Operation: 5+9=14
Exploring Operation: 40/5=8, Resulting Numbers: [9, 8]
Generated Node #0,0,1: 19:[9, 8] Operation: 40/5=8
Exploring Operation: 40-5=35, Resulting Numbers: [9, 35]
Generated Node #0,0,2: 19:[9, 35] Operation: 40-5=35
Moving to Node #0,1
Current State: 19:[12, 9, 47], Operations: ['52-5=47']
Exploring Operation: 47-9=38, Resulting Numbers: [12, 38]
Generated Node #0,1,0: 19:[12, 38] Operation: 47-9=38
Exploring Operation: 12+9=21, Resulting Numbers: [47, 21]
Generated Node #0,1,1: 19:[47, 21] Operation: 12+9=21
Exploring Operation: 47-12=35, Resulting Numbers: [9, 35]
Generated Node #0,1,2: 19:[9, 35] Operation: 47-12=35
Moving to Node #0,2
Current State: 19:[5, 12, 43], Operations: ['52-9=43']
Exploring Operation: 5+12=17, Resulting Numbers: [43, 17]
Generated Node #0,2,0: 19:[43, 17] Operation: 5+12=17
Exploring Operation: 43-5=38, Resulting Numbers: [12, 38]
Generated Node #0,2,1: 19:[12, 38] Operation: 43-5=38
Exploring Operation: 43-12=31, Resulting Numbers: [5, 31]
Generated Node #0,2,2: 19:[5, 31] Operation: 43-12=31
Moving to Node #0,0,1
Current State: 19:[9, 8], Operations: ['52-12=40', '40/5=8']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[9, 35], Operations: ['52-12=40', '40-5=35']
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,19 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[43, 17], Operations: ['52-9=43', '5+12=17']
Exploring Operation: 43*17=731, Resulting Numbers: [731]
731,19 unequal: No Solution
Exploring Operation: 43+17=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[5, 31], Operations: ['52-9=43', '43-12=31']
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,19 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[12, 38], Operations: ['52-9=43', '43-5=38']
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,19 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[40, 14], Operations: ['52-12=40', '5+9=14']
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,19 unequal: No Solution
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[12, 38], Operations: ['52-5=47', '47-9=38']
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,19 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[9, 35], Operations: ['52-5=47', '47-12=35']
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,19 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[47, 21], Operations: ['52-5=47', '12+9=21']
Exploring Operation: 47+21=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Exploring Operation: 47*21=987, Resulting Numbers: [987]
987,19 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
6,
24,
58,
40
] | 12 | [
"6+24=30",
"58-40=18",
"30-18=12"
] | Current State: 12:[6, 24, 58, 40], Operations: []
Exploring Operation: 6+24=30, Resulting Numbers: [58, 40, 30]
Generated Node #2: [58, 40, 30] from Operation: 6+24=30
Current State: 12:[58, 40, 30], Operations: ['6+24=30']
Exploring Operation: 58-40=18, Resulting Numbers: [30, 18]
Generated Node #3: [30, 18] from Operation: 58-40=18
Current State: 12:[30, 18], Operations: ['6+24=30', '58-40=18']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[6, 24, 58, 40], Operations: []
Exploring Operation: 40-24=16, Resulting Numbers: [6, 58, 16]
Generated Node #0,0: 12:[6, 58, 16] Operation: 40-24=16
Exploring Operation: 58-40=18, Resulting Numbers: [6, 24, 18]
Generated Node #0,1: 12:[6, 24, 18] Operation: 58-40=18
Exploring Operation: 58-24=34, Resulting Numbers: [6, 40, 34]
Generated Node #0,2: 12:[6, 40, 34] Operation: 58-24=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[6, 24, 18], Operations: ['58-40=18']
Exploring Operation: 24-6=18, Resulting Numbers: [18, 18]
Generated Node #0,1,0: 12:[18, 18] Operation: 24-6=18
Exploring Operation: 24-18=6, Resulting Numbers: [6, 6]
Generated Node #0,1,1: 12:[6, 6] Operation: 24-18=6
Exploring Operation: 24/6=4, Resulting Numbers: [18, 4]
Generated Node #0,1,2: 12:[18, 4] Operation: 24/6=4
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 12:[6, 6], Operations: ['58-40=18', '24-18=6']
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,12 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[6, 24, 58, 40], Operations: []
Exploring Operation: 58-40=18, Resulting Numbers: [6, 24, 18]
Generated Node #0,1: 12:[6, 24, 18] Operation: 58-40=18
Moving to Node #0,1
Current State: 12:[6, 24, 18], Operations: ['58-40=18']
Exploring Operation: 24-18=6, Resulting Numbers: [6, 6]
Generated Node #0,1,1: 12:[6, 6] Operation: 24-18=6
Moving to Node #0,1,1
Current State: 12:[6, 6], Operations: ['58-40=18', '24-18=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
61,
85,
3,
21
] | 93 | [
"85-61=24",
"3*24=72",
"21+72=93"
] | Current State: 93:[61, 85, 3, 21], Operations: []
Exploring Operation: 85-61=24, Resulting Numbers: [3, 21, 24]
Generated Node #2: [3, 21, 24] from Operation: 85-61=24
Current State: 93:[3, 21, 24], Operations: ['85-61=24']
Exploring Operation: 3*24=72, Resulting Numbers: [21, 72]
Generated Node #3: [21, 72] from Operation: 3*24=72
Current State: 93:[21, 72], Operations: ['85-61=24', '3*24=72']
Exploring Operation: 21+72=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[61, 85, 3, 21], Operations: []
Exploring Operation: 61+21=82, Resulting Numbers: [85, 3, 82]
Generated Node #0,0: 93:[85, 3, 82] Operation: 61+21=82
Exploring Operation: 85-61=24, Resulting Numbers: [3, 21, 24]
Generated Node #0,1: 93:[3, 21, 24] Operation: 85-61=24
Exploring Operation: 61-21=40, Resulting Numbers: [85, 3, 40]
Generated Node #0,2: 93:[85, 3, 40] Operation: 61-21=40
Moving to Node #0,1
Current State: 93:[3, 21, 24], Operations: ['85-61=24']
Exploring Operation: 3+21=24, Resulting Numbers: [24, 24]
Generated Node #0,1,0: 93:[24, 24] Operation: 3+21=24
Exploring Operation: 21/3=7, Resulting Numbers: [24, 7]
Generated Node #0,1,1: 93:[24, 7] Operation: 21/3=7
Exploring Operation: 24-21=3, Resulting Numbers: [3, 3]
Generated Node #0,1,2: 93:[3, 3] Operation: 24-21=3
Moving to Node #0,2
Current State: 93:[85, 3, 40], Operations: ['61-21=40']
Exploring Operation: 40-3=37, Resulting Numbers: [85, 37]
Generated Node #0,2,0: 93:[85, 37] Operation: 40-3=37
Exploring Operation: 85+3=88, Resulting Numbers: [40, 88]
Generated Node #0,2,1: 93:[40, 88] Operation: 85+3=88
Exploring Operation: 85-40=45, Resulting Numbers: [3, 45]
Generated Node #0,2,2: 93:[3, 45] Operation: 85-40=45
Moving to Node #0,0
Current State: 93:[85, 3, 82], Operations: ['61+21=82']
Exploring Operation: 3+82=85, Resulting Numbers: [85, 85]
Generated Node #0,0,0: 93:[85, 85] Operation: 3+82=85
Exploring Operation: 85-82=3, Resulting Numbers: [3, 3]
Generated Node #0,0,1: 93:[3, 3] Operation: 85-82=3
Exploring Operation: 85+3=88, Resulting Numbers: [82, 88]
Generated Node #0,0,2: 93:[82, 88] Operation: 85+3=88
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[3, 3], Operations: ['61+21=82', '85-82=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,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,0
Current State: 93:[85, 85], Operations: ['61+21=82', '3+82=85']
Exploring Operation: 85/85=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 85-85=0, Resulting Numbers: [0]
0,93 unequal: No Solution
Exploring Operation: 85+85=170, Resulting Numbers: [170]
170,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,2
Current State: 93:[82, 88], Operations: ['61+21=82', '85+3=88']
Exploring Operation: 82*88=7216, Resulting Numbers: [7216]
7216,93 unequal: No Solution
Exploring Operation: 82+88=170, Resulting Numbers: [170]
170,93 unequal: No Solution
Exploring Operation: 88-82=6, Resulting Numbers: [6]
6,93 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: 93:[3, 3], Operations: ['85-61=24', '24-21=3']
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,93 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[24, 7], Operations: ['85-61=24', '21/3=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,93 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[24, 24], Operations: ['85-61=24', '3+21=24']
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[3, 45], Operations: ['61-21=40', '85-40=45']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[40, 88], Operations: ['61-21=40', '85+3=88']
Exploring Operation: 40+88=128, Resulting Numbers: [128]
128,93 unequal: No Solution
Exploring Operation: 88-40=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Exploring Operation: 40*88=3520, Resulting Numbers: [3520]
3520,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[85, 37], Operations: ['61-21=40', '40-3=37']
Exploring Operation: 85*37=3145, Resulting Numbers: [3145]
3145,93 unequal: No Solution
Exploring Operation: 85+37=122, Resulting Numbers: [122]
122,93 unequal: No Solution
Exploring Operation: 85-37=48, Resulting Numbers: [48]
48,93 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
20,
31,
74,
13
] | 42 | [
"20*31=620",
"620-74=546",
"546/13=42"
] | Current State: 42:[20, 31, 74, 13], Operations: []
Exploring Operation: 20*31=620, Resulting Numbers: [74, 13, 620]
Generated Node #2: [74, 13, 620] from Operation: 20*31=620
Current State: 42:[74, 13, 620], Operations: ['20*31=620']
Exploring Operation: 620-74=546, Resulting Numbers: [13, 546]
Generated Node #3: [13, 546] from Operation: 620-74=546
Current State: 42:[13, 546], Operations: ['20*31=620', '620-74=546']
Exploring Operation: 546/13=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[20, 31, 74, 13], Operations: []
Exploring Operation: 74-20=54, Resulting Numbers: [31, 13, 54]
Generated Node #0,0: 42:[31, 13, 54] Operation: 74-20=54
Exploring Operation: 74-31=43, Resulting Numbers: [20, 13, 43]
Generated Node #0,1: 42:[20, 13, 43] Operation: 74-31=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[20, 13, 43], Operations: ['74-31=43']
Exploring Operation: 20-13=7, Resulting Numbers: [43, 7]
Generated Node #0,1,0: 42:[43, 7] Operation: 20-13=7
Exploring Operation: 43-20=23, Resulting Numbers: [13, 23]
Generated Node #0,1,1: 42:[13, 23] Operation: 43-20=23
Moving to Node #0,1,0
Current State: 42:[43, 7], Operations: ['74-31=43', '20-13=7']
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 43+7=50, Resulting Numbers: [50]
50,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[13, 23], Operations: ['74-31=43', '43-20=23']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 13+23=36, Resulting Numbers: [36]
36,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[31, 13, 54], Operations: ['74-20=54']
Exploring Operation: 54-31=23, Resulting Numbers: [13, 23]
Generated Node #0,0,0: 42:[13, 23] Operation: 54-31=23
Exploring Operation: 54-13=41, Resulting Numbers: [31, 41]
Generated Node #0,0,1: 42:[31, 41] Operation: 54-13=41
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[13, 23], Operations: ['74-20=54', '54-31=23']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 13+23=36, Resulting Numbers: [36]
36,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 42:[31, 41], Operations: ['74-20=54', '54-13=41']
Exploring Operation: 31+41=72, Resulting Numbers: [72]
72,42 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
18,
28,
42,
30
] | 66 | [
"30-28=2",
"42*2=84",
"84-18=66"
] | Current State: 66:[18, 28, 42, 30], Operations: []
Exploring Operation: 30-28=2, Resulting Numbers: [18, 42, 2]
Generated Node #2: [18, 42, 2] from Operation: 30-28=2
Current State: 66:[18, 42, 2], Operations: ['30-28=2']
Exploring Operation: 42*2=84, Resulting Numbers: [18, 84]
Generated Node #3: [18, 84] from Operation: 42*2=84
Current State: 66:[18, 84], Operations: ['30-28=2', '42*2=84']
Exploring Operation: 84-18=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[18, 28, 42, 30], Operations: []
Exploring Operation: 42-18=24, Resulting Numbers: [28, 30, 24]
Generated Node #0,0: 66:[28, 30, 24] Operation: 42-18=24
Exploring Operation: 42-28=14, Resulting Numbers: [18, 30, 14]
Generated Node #0,1: 66:[18, 30, 14] Operation: 42-28=14
Exploring Operation: 42-30=12, Resulting Numbers: [18, 28, 12]
Generated Node #0,2: 66:[18, 28, 12] Operation: 42-30=12
Moving to Node #0,0
Current State: 66:[28, 30, 24], Operations: ['42-18=24']
Exploring Operation: 30-24=6, Resulting Numbers: [28, 6]
Generated Node #0,0,0: 66:[28, 6] Operation: 30-24=6
Exploring Operation: 28-24=4, Resulting Numbers: [30, 4]
Generated Node #0,0,1: 66:[30, 4] Operation: 28-24=4
Exploring Operation: 30-28=2, Resulting Numbers: [24, 2]
Generated Node #0,0,2: 66:[24, 2] Operation: 30-28=2
Moving to Node #0,1
Current State: 66:[18, 30, 14], Operations: ['42-28=14']
Exploring Operation: 18+14=32, Resulting Numbers: [30, 32]
Generated Node #0,1,0: 66:[30, 32] Operation: 18+14=32
Exploring Operation: 30-18=12, Resulting Numbers: [14, 12]
Generated Node #0,1,1: 66:[14, 12] Operation: 30-18=12
Exploring Operation: 18-14=4, Resulting Numbers: [30, 4]
Generated Node #0,1,2: 66:[30, 4] Operation: 18-14=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[30, 32], Operations: ['42-28=14', '18+14=32']
Exploring Operation: 30*32=960, Resulting Numbers: [960]
960,66 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[14, 12], Operations: ['42-28=14', '30-18=12']
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[30, 4], Operations: ['42-28=14', '18-14=4']
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,66 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,66 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: 66:[18, 28, 12], Operations: ['42-30=12']
Exploring Operation: 18-12=6, Resulting Numbers: [28, 6]
Generated Node #0,2,0: 66:[28, 6] Operation: 18-12=6
Exploring Operation: 18+12=30, Resulting Numbers: [28, 30]
Generated Node #0,2,1: 66:[28, 30] Operation: 18+12=30
Exploring Operation: 28-18=10, Resulting Numbers: [12, 10]
Generated Node #0,2,2: 66:[12, 10] Operation: 28-18=10
Moving to Node #0,0,2
Current State: 66:[24, 2], Operations: ['42-18=24', '30-28=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[12, 10], Operations: ['42-30=12', '28-18=10']
Exploring Operation: 12*10=120, Resulting Numbers: [120]
120,66 unequal: No Solution
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[30, 4], Operations: ['42-18=24', '28-24=4']
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,66 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[28, 6], Operations: ['42-18=24', '30-24=6']
Exploring Operation: 28*6=168, Resulting Numbers: [168]
168,66 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[28, 6], Operations: ['42-30=12', '18-12=6']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 28*6=168, Resulting Numbers: [168]
168,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[28, 30], Operations: ['42-30=12', '18+12=30']
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 28*30=840, Resulting Numbers: [840]
840,66 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
81,
97,
1,
31
] | 47 | [
"97-81=16",
"1*31=31",
"16+31=47"
] | Current State: 47:[81, 97, 1, 31], Operations: []
Exploring Operation: 97-81=16, Resulting Numbers: [1, 31, 16]
Generated Node #2: [1, 31, 16] from Operation: 97-81=16
Current State: 47:[1, 31, 16], Operations: ['97-81=16']
Exploring Operation: 1*31=31, Resulting Numbers: [16, 31]
Generated Node #3: [16, 31] from Operation: 1*31=31
Current State: 47:[16, 31], Operations: ['97-81=16', '1*31=31']
Exploring Operation: 16+31=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[81, 97, 1, 31], Operations: []
Exploring Operation: 81-1=80, Resulting Numbers: [97, 31, 80]
Generated Node #0,0: 47:[97, 31, 80] Operation: 81-1=80
Exploring Operation: 97-81=16, Resulting Numbers: [1, 31, 16]
Generated Node #0,1: 47:[1, 31, 16] Operation: 97-81=16
Exploring Operation: 81-31=50, Resulting Numbers: [97, 1, 50]
Generated Node #0,2: 47:[97, 1, 50] Operation: 81-31=50
Exploring Operation: 97-1=96, Resulting Numbers: [81, 31, 96]
Generated Node #0,3: 47:[81, 31, 96] Operation: 97-1=96
Exploring Operation: 97-31=66, Resulting Numbers: [81, 1, 66]
Generated Node #0,4: 47:[81, 1, 66] Operation: 97-31=66
Moving to Node #0,1
Current State: 47:[1, 31, 16], Operations: ['97-81=16']
Exploring Operation: 1*31=31, Resulting Numbers: [16, 31]
Generated Node #0,1,0: 47:[16, 31] Operation: 1*31=31
Exploring Operation: 1+16=17, Resulting Numbers: [31, 17]
Generated Node #0,1,1: 47:[31, 17] Operation: 1+16=17
Exploring Operation: 31/1=31, Resulting Numbers: [16, 31]
Generated Node #0,1,2: 47:[16, 31] Operation: 31/1=31
Exploring Operation: 1+31=32, Resulting Numbers: [16, 32]
Generated Node #0,1,3: 47:[16, 32] Operation: 1+31=32
Exploring Operation: 31+16=47, Resulting Numbers: [1, 47]
Generated Node #0,1,4: 47:[1, 47] Operation: 31+16=47
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[31, 17], Operations: ['97-81=16', '1+16=17']
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,47 unequal: No Solution
Exploring Operation: 31*17=527, Resulting Numbers: [527]
527,47 unequal: No Solution
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 47:[16, 32], Operations: ['97-81=16', '1+31=32']
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 16*32=512, Resulting Numbers: [512]
512,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 47:[1, 47], Operations: ['97-81=16', '31+16=47']
Exploring Operation: 1*47=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[81, 97, 1, 31], Operations: []
Exploring Operation: 97-81=16, Resulting Numbers: [1, 31, 16]
Generated Node #0,1: 47:[1, 31, 16] Operation: 97-81=16
Moving to Node #0,1
Current State: 47:[1, 31, 16], Operations: ['97-81=16']
Exploring Operation: 31+16=47, Resulting Numbers: [1, 47]
Generated Node #0,1,4: 47:[1, 47] Operation: 31+16=47
Moving to Node #0,1,4
Current State: 47:[1, 47], Operations: ['97-81=16', '31+16=47']
Exploring Operation: 1*47=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
24,
38,
15,
31
] | 78 | [
"24+38=62",
"31-15=16",
"62+16=78"
] | Current State: 78:[24, 38, 15, 31], Operations: []
Exploring Operation: 24+38=62, Resulting Numbers: [15, 31, 62]
Generated Node #2: [15, 31, 62] from Operation: 24+38=62
Current State: 78:[15, 31, 62], Operations: ['24+38=62']
Exploring Operation: 31-15=16, Resulting Numbers: [62, 16]
Generated Node #3: [62, 16] from Operation: 31-15=16
Current State: 78:[62, 16], Operations: ['24+38=62', '31-15=16']
Exploring Operation: 62+16=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[24, 38, 15, 31], Operations: []
Exploring Operation: 31-24=7, Resulting Numbers: [38, 15, 7]
Generated Node #0,0: 78:[38, 15, 7] Operation: 31-24=7
Moving to Node #0,0
Current State: 78:[38, 15, 7], Operations: ['31-24=7']
Exploring Operation: 15-7=8, Resulting Numbers: [38, 8]
Generated Node #0,0,0: 78:[38, 8] Operation: 15-7=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[38, 8], Operations: ['31-24=7', '15-7=8']
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,78 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 |
[
46,
32,
54,
19
] | 15 | [
"54-46=8",
"32/8=4",
"19-4=15"
] | Current State: 15:[46, 32, 54, 19], Operations: []
Exploring Operation: 54-46=8, Resulting Numbers: [32, 19, 8]
Generated Node #2: [32, 19, 8] from Operation: 54-46=8
Current State: 15:[32, 19, 8], Operations: ['54-46=8']
Exploring Operation: 32/8=4, Resulting Numbers: [19, 4]
Generated Node #3: [19, 4] from Operation: 32/8=4
Current State: 15:[19, 4], Operations: ['54-46=8', '32/8=4']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[46, 32, 54, 19], Operations: []
Exploring Operation: 54-46=8, Resulting Numbers: [32, 19, 8]
Generated Node #0,0: 15:[32, 19, 8] Operation: 54-46=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[32, 19, 8], Operations: ['54-46=8']
Exploring Operation: 32-19=13, Resulting Numbers: [8, 13]
Generated Node #0,0,0: 15:[8, 13] Operation: 32-19=13
Moving to Node #0,0,0
Current State: 15:[8, 13], Operations: ['54-46=8', '32-19=13']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
62,
11,
74,
17
] | 71 | [
"62-11=51",
"51/17=3",
"74-3=71"
] | Current State: 71:[62, 11, 74, 17], Operations: []
Exploring Operation: 62-11=51, Resulting Numbers: [74, 17, 51]
Generated Node #2: [74, 17, 51] from Operation: 62-11=51
Current State: 71:[74, 17, 51], Operations: ['62-11=51']
Exploring Operation: 51/17=3, Resulting Numbers: [74, 3]
Generated Node #3: [74, 3] from Operation: 51/17=3
Current State: 71:[74, 3], Operations: ['62-11=51', '51/17=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[62, 11, 74, 17], Operations: []
Exploring Operation: 74-11=63, Resulting Numbers: [62, 17, 63]
Generated Node #0,0: 71:[62, 17, 63] Operation: 74-11=63
Exploring Operation: 11+17=28, Resulting Numbers: [62, 74, 28]
Generated Node #0,1: 71:[62, 74, 28] Operation: 11+17=28
Exploring Operation: 62+11=73, Resulting Numbers: [74, 17, 73]
Generated Node #0,2: 71:[74, 17, 73] Operation: 62+11=73
Exploring Operation: 62+17=79, Resulting Numbers: [11, 74, 79]
Generated Node #0,3: 71:[11, 74, 79] Operation: 62+17=79
Exploring Operation: 62-11=51, Resulting Numbers: [74, 17, 51]
Generated Node #0,4: 71:[74, 17, 51] Operation: 62-11=51
Moving to Node #0,1
Current State: 71:[62, 74, 28], Operations: ['11+17=28']
Exploring Operation: 62-28=34, Resulting Numbers: [74, 34]
Generated Node #0,1,0: 71:[74, 34] Operation: 62-28=34
Exploring Operation: 74+28=102, Resulting Numbers: [62, 102]
Generated Node #0,1,1: 71:[62, 102] Operation: 74+28=102
Exploring Operation: 74-62=12, Resulting Numbers: [28, 12]
Generated Node #0,1,2: 71:[28, 12] Operation: 74-62=12
Exploring Operation: 74-28=46, Resulting Numbers: [62, 46]
Generated Node #0,1,3: 71:[62, 46] Operation: 74-28=46
Exploring Operation: 62+28=90, Resulting Numbers: [74, 90]
Generated Node #0,1,4: 71:[74, 90] Operation: 62+28=90
Moving to Node #0,2
Current State: 71:[74, 17, 73], Operations: ['62+11=73']
Exploring Operation: 17+73=90, Resulting Numbers: [74, 90]
Generated Node #0,2,0: 71:[74, 90] Operation: 17+73=90
Exploring Operation: 74-73=1, Resulting Numbers: [17, 1]
Generated Node #0,2,1: 71:[17, 1] Operation: 74-73=1
Exploring Operation: 74+17=91, Resulting Numbers: [73, 91]
Generated Node #0,2,2: 71:[73, 91] Operation: 74+17=91
Exploring Operation: 73-17=56, Resulting Numbers: [74, 56]
Generated Node #0,2,3: 71:[74, 56] Operation: 73-17=56
Exploring Operation: 74-17=57, Resulting Numbers: [73, 57]
Generated Node #0,2,4: 71:[73, 57] Operation: 74-17=57
Moving to Node #0,0
Current State: 71:[62, 17, 63], Operations: ['74-11=63']
Exploring Operation: 62-17=45, Resulting Numbers: [63, 45]
Generated Node #0,0,0: 71:[63, 45] Operation: 62-17=45
Exploring Operation: 17+63=80, Resulting Numbers: [62, 80]
Generated Node #0,0,1: 71:[62, 80] Operation: 17+63=80
Exploring Operation: 62+63=125, Resulting Numbers: [17, 125]
Generated Node #0,0,2: 71:[17, 125] Operation: 62+63=125
Exploring Operation: 63-17=46, Resulting Numbers: [62, 46]
Generated Node #0,0,3: 71:[62, 46] Operation: 63-17=46
Exploring Operation: 62+17=79, Resulting Numbers: [63, 79]
Generated Node #0,0,4: 71:[63, 79] Operation: 62+17=79
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 71:[63, 79], Operations: ['74-11=63', '62+17=79']
Exploring Operation: 63*79=4977, Resulting Numbers: [4977]
4977,71 unequal: No Solution
Exploring Operation: 79-63=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 63+79=142, Resulting Numbers: [142]
142,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[62, 80], Operations: ['74-11=63', '17+63=80']
Exploring Operation: 80-62=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Exploring Operation: 62*80=4960, Resulting Numbers: [4960]
4960,71 unequal: No Solution
Exploring Operation: 62+80=142, Resulting Numbers: [142]
142,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[63, 45], Operations: ['74-11=63', '62-17=45']
Exploring Operation: 63*45=2835, Resulting Numbers: [2835]
2835,71 unequal: No Solution
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Exploring Operation: 63+45=108, Resulting Numbers: [108]
108,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 71:[62, 46], Operations: ['74-11=63', '63-17=46']
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 62*46=2852, Resulting Numbers: [2852]
2852,71 unequal: No Solution
Exploring Operation: 62+46=108, Resulting Numbers: [108]
108,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[17, 125], Operations: ['74-11=63', '62+63=125']
Exploring Operation: 17*125=2125, Resulting Numbers: [2125]
2125,71 unequal: No Solution
Exploring Operation: 125-17=108, Resulting Numbers: [108]
108,71 unequal: No Solution
Exploring Operation: 17+125=142, Resulting Numbers: [142]
142,71 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: 71:[11, 74, 79], Operations: ['62+17=79']
Exploring Operation: 11+79=90, Resulting Numbers: [74, 90]
Generated Node #0,3,0: 71:[74, 90] Operation: 11+79=90
Exploring Operation: 79-74=5, Resulting Numbers: [11, 5]
Generated Node #0,3,1: 71:[11, 5] Operation: 79-74=5
Exploring Operation: 11+74=85, Resulting Numbers: [79, 85]
Generated Node #0,3,2: 71:[79, 85] Operation: 11+74=85
Exploring Operation: 74-11=63, Resulting Numbers: [79, 63]
Generated Node #0,3,3: 71:[79, 63] Operation: 74-11=63
Exploring Operation: 79-11=68, Resulting Numbers: [74, 68]
Generated Node #0,3,4: 71:[74, 68] Operation: 79-11=68
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 71:[74, 68], Operations: ['62+17=79', '79-11=68']
Exploring Operation: 74+68=142, Resulting Numbers: [142]
142,71 unequal: No Solution
Exploring Operation: 74-68=6, Resulting Numbers: [6]
6,71 unequal: No Solution
Exploring Operation: 74*68=5032, Resulting Numbers: [5032]
5032,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[79, 63], Operations: ['62+17=79', '74-11=63']
Exploring Operation: 79+63=142, Resulting Numbers: [142]
142,71 unequal: No Solution
Exploring Operation: 79-63=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 79*63=4977, Resulting Numbers: [4977]
4977,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[74, 90], Operations: ['62+17=79', '11+79=90']
Exploring Operation: 74+90=164, Resulting Numbers: [164]
164,71 unequal: No Solution
Exploring Operation: 74*90=6660, Resulting Numbers: [6660]
6660,71 unequal: No Solution
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[79, 85], Operations: ['62+17=79', '11+74=85']
Exploring Operation: 79+85=164, Resulting Numbers: [164]
164,71 unequal: No Solution
Exploring Operation: 79*85=6715, Resulting Numbers: [6715]
6715,71 unequal: No Solution
Exploring Operation: 85-79=6, Resulting Numbers: [6]
6,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[11, 5], Operations: ['62+17=79', '79-74=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,71 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 71:[74, 17, 51], Operations: ['62-11=51']
Exploring Operation: 74-17=57, Resulting Numbers: [51, 57]
Generated Node #0,4,0: 71:[51, 57] Operation: 74-17=57
Exploring Operation: 17+51=68, Resulting Numbers: [74, 68]
Generated Node #0,4,1: 71:[74, 68] Operation: 17+51=68
Exploring Operation: 51-17=34, Resulting Numbers: [74, 34]
Generated Node #0,4,2: 71:[74, 34] Operation: 51-17=34
Exploring Operation: 51/17=3, Resulting Numbers: [74, 3]
Generated Node #0,4,3: 71:[74, 3] Operation: 51/17=3
Exploring Operation: 74+17=91, Resulting Numbers: [51, 91]
Generated Node #0,4,4: 71:[51, 91] Operation: 74+17=91
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 71:[74, 68], Operations: ['62-11=51', '17+51=68']
Exploring Operation: 74*68=5032, Resulting Numbers: [5032]
5032,71 unequal: No Solution
Exploring Operation: 74+68=142, Resulting Numbers: [142]
142,71 unequal: No Solution
Exploring Operation: 74-68=6, Resulting Numbers: [6]
6,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 71:[51, 57], Operations: ['62-11=51', '74-17=57']
Exploring Operation: 51*57=2907, Resulting Numbers: [2907]
2907,71 unequal: No Solution
Exploring Operation: 57-51=6, Resulting Numbers: [6]
6,71 unequal: No Solution
Exploring Operation: 51+57=108, Resulting Numbers: [108]
108,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 71:[74, 34], Operations: ['62-11=51', '51-17=34']
Exploring Operation: 74*34=2516, Resulting Numbers: [2516]
2516,71 unequal: No Solution
Exploring Operation: 74-34=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 74+34=108, Resulting Numbers: [108]
108,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 71:[51, 91], Operations: ['62-11=51', '74+17=91']
Exploring Operation: 51+91=142, Resulting Numbers: [142]
142,71 unequal: No Solution
Exploring Operation: 51*91=4641, Resulting Numbers: [4641]
4641,71 unequal: No Solution
Exploring Operation: 91-51=40, Resulting Numbers: [40]
40,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 71:[74, 3], Operations: ['62-11=51', '51/17=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[62, 11, 74, 17], Operations: []
Exploring Operation: 62-11=51, Resulting Numbers: [74, 17, 51]
Generated Node #0,4: 71:[74, 17, 51] Operation: 62-11=51
Moving to Node #0,4
Current State: 71:[74, 17, 51], Operations: ['62-11=51']
Exploring Operation: 51/17=3, Resulting Numbers: [74, 3]
Generated Node #0,4,3: 71:[74, 3] Operation: 51/17=3
Moving to Node #0,4,3
Current State: 71:[74, 3], Operations: ['62-11=51', '51/17=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.93316 | hs_5 | mult_heuristic |
[
72,
38,
90,
80
] | 16 | [
"80-72=8",
"38+90=128",
"128/8=16"
] | Current State: 16:[72, 38, 90, 80], Operations: []
Exploring Operation: 80-72=8, Resulting Numbers: [38, 90, 8]
Generated Node #2: [38, 90, 8] from Operation: 80-72=8
Current State: 16:[38, 90, 8], Operations: ['80-72=8']
Exploring Operation: 38+90=128, Resulting Numbers: [8, 128]
Generated Node #3: [8, 128] from Operation: 38+90=128
Current State: 16:[8, 128], Operations: ['80-72=8', '38+90=128']
Exploring Operation: 128/8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[72, 38, 90, 80], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [38, 80, 18]
Generated Node #0,0: 16:[38, 80, 18] Operation: 90-72=18
Exploring Operation: 90-80=10, Resulting Numbers: [72, 38, 10]
Generated Node #0,1: 16:[72, 38, 10] Operation: 90-80=10
Exploring Operation: 80-72=8, Resulting Numbers: [38, 90, 8]
Generated Node #0,2: 16:[38, 90, 8] Operation: 80-72=8
Exploring Operation: 72-38=34, Resulting Numbers: [90, 80, 34]
Generated Node #0,3: 16:[90, 80, 34] Operation: 72-38=34
Exploring Operation: 90-38=52, Resulting Numbers: [72, 80, 52]
Generated Node #0,4: 16:[72, 80, 52] Operation: 90-38=52
Moving to Node #0,1
Current State: 16:[72, 38, 10], Operations: ['90-80=10']
Exploring Operation: 72-38=34, Resulting Numbers: [10, 34]
Generated Node #0,1,0: 16:[10, 34] Operation: 72-38=34
Exploring Operation: 72+10=82, Resulting Numbers: [38, 82]
Generated Node #0,1,1: 16:[38, 82] Operation: 72+10=82
Exploring Operation: 38-10=28, Resulting Numbers: [72, 28]
Generated Node #0,1,2: 16:[72, 28] Operation: 38-10=28
Exploring Operation: 38+10=48, Resulting Numbers: [72, 48]
Generated Node #0,1,3: 16:[72, 48] Operation: 38+10=48
Exploring Operation: 72-10=62, Resulting Numbers: [38, 62]
Generated Node #0,1,4: 16:[38, 62] Operation: 72-10=62
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[10, 34], Operations: ['90-80=10', '72-38=34']
Exploring Operation: 10*34=340, Resulting Numbers: [340]
340,16 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 10+34=44, Resulting Numbers: [44]
44,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 16:[72, 28], Operations: ['90-80=10', '38-10=28']
Exploring Operation: 72-28=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 72*28=2016, Resulting Numbers: [2016]
2016,16 unequal: No Solution
Exploring Operation: 72+28=100, Resulting Numbers: [100]
100,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 16:[38, 62], Operations: ['90-80=10', '72-10=62']
Exploring Operation: 38*62=2356, Resulting Numbers: [2356]
2356,16 unequal: No Solution
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 38+62=100, Resulting Numbers: [100]
100,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,1
Current State: 16:[38, 82], Operations: ['90-80=10', '72+10=82']
Exploring Operation: 38+82=120, Resulting Numbers: [120]
120,16 unequal: No Solution
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 38*82=3116, Resulting Numbers: [3116]
3116,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 16:[72, 48], Operations: ['90-80=10', '38+10=48']
Exploring Operation: 72+48=120, Resulting Numbers: [120]
120,16 unequal: No Solution
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 72*48=3456, Resulting Numbers: [3456]
3456,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 16:[38, 80, 18], Operations: ['90-72=18']
Exploring Operation: 80-38=42, Resulting Numbers: [18, 42]
Generated Node #0,0,0: 16:[18, 42] Operation: 80-38=42
Exploring Operation: 80-18=62, Resulting Numbers: [38, 62]
Generated Node #0,0,1: 16:[38, 62] Operation: 80-18=62
Exploring Operation: 38+80=118, Resulting Numbers: [18, 118]
Generated Node #0,0,2: 16:[18, 118] Operation: 38+80=118
Exploring Operation: 38+18=56, Resulting Numbers: [80, 56]
Generated Node #0,0,3: 16:[80, 56] Operation: 38+18=56
Exploring Operation: 38-18=20, Resulting Numbers: [80, 20]
Generated Node #0,0,4: 16:[80, 20] Operation: 38-18=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[18, 42], Operations: ['90-72=18', '80-38=42']
Exploring Operation: 18*42=756, Resulting Numbers: [756]
756,16 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 18+42=60, Resulting Numbers: [60]
60,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,0,1
Current State: 16:[38, 62], Operations: ['90-72=18', '80-18=62']
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 38*62=2356, Resulting Numbers: [2356]
2356,16 unequal: No Solution
Exploring Operation: 38+62=100, Resulting Numbers: [100]
100,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,0,4
Current State: 16:[80, 20], Operations: ['90-72=18', '38-18=20']
Exploring Operation: 80/20=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 80*20=1600, Resulting Numbers: [1600]
1600,16 unequal: No Solution
Exploring Operation: 80-20=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 80+20=100, Resulting Numbers: [100]
100,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,0,2
Current State: 16:[18, 118], Operations: ['90-72=18', '38+80=118']
Exploring Operation: 18+118=136, Resulting Numbers: [136]
136,16 unequal: No Solution
Exploring Operation: 118-18=100, Resulting Numbers: [100]
100,16 unequal: No Solution
Exploring Operation: 18*118=2124, Resulting Numbers: [2124]
2124,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,0,3
Current State: 16:[80, 56], Operations: ['90-72=18', '38+18=56']
Exploring Operation: 80-56=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 80+56=136, Resulting Numbers: [136]
136,16 unequal: No Solution
Exploring Operation: 80*56=4480, Resulting Numbers: [4480]
4480,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 16:[38, 90, 8], Operations: ['80-72=8']
Exploring Operation: 90-38=52, Resulting Numbers: [8, 52]
Generated Node #0,2,0: 16:[8, 52] Operation: 90-38=52
Exploring Operation: 38-8=30, Resulting Numbers: [90, 30]
Generated Node #0,2,1: 16:[90, 30] Operation: 38-8=30
Exploring Operation: 38+8=46, Resulting Numbers: [90, 46]
Generated Node #0,2,2: 16:[90, 46] Operation: 38+8=46
Exploring Operation: 90+8=98, Resulting Numbers: [38, 98]
Generated Node #0,2,3: 16:[38, 98] Operation: 90+8=98
Exploring Operation: 90-8=82, Resulting Numbers: [38, 82]
Generated Node #0,2,4: 16:[38, 82] Operation: 90-8=82
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[8, 52], Operations: ['80-72=8', '90-38=52']
Exploring Operation: 8*52=416, Resulting Numbers: [416]
416,16 unequal: No Solution
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 16:[90, 30], Operations: ['80-72=8', '38-8=30']
Exploring Operation: 90-30=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 90+30=120, Resulting Numbers: [120]
120,16 unequal: No Solution
Exploring Operation: 90/30=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 90*30=2700, Resulting Numbers: [2700]
2700,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 16:[38, 82], Operations: ['80-72=8', '90-8=82']
Exploring Operation: 38+82=120, Resulting Numbers: [120]
120,16 unequal: No Solution
Exploring Operation: 38*82=3116, Resulting Numbers: [3116]
3116,16 unequal: No Solution
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 16:[90, 46], Operations: ['80-72=8', '38+8=46']
Exploring Operation: 90*46=4140, Resulting Numbers: [4140]
4140,16 unequal: No Solution
Exploring Operation: 90+46=136, Resulting Numbers: [136]
136,16 unequal: No Solution
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 16:[38, 98], Operations: ['80-72=8', '90+8=98']
Exploring Operation: 98-38=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 38*98=3724, Resulting Numbers: [3724]
3724,16 unequal: No Solution
Exploring Operation: 38+98=136, Resulting Numbers: [136]
136,16 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: 16:[90, 80, 34], Operations: ['72-38=34']
Exploring Operation: 90+80=170, Resulting Numbers: [34, 170]
Generated Node #0,3,0: 16:[34, 170] Operation: 90+80=170
Exploring Operation: 90+34=124, Resulting Numbers: [80, 124]
Generated Node #0,3,1: 16:[80, 124] Operation: 90+34=124
Exploring Operation: 80-34=46, Resulting Numbers: [90, 46]
Generated Node #0,3,2: 16:[90, 46] Operation: 80-34=46
Exploring Operation: 90-34=56, Resulting Numbers: [80, 56]
Generated Node #0,3,3: 16:[80, 56] Operation: 90-34=56
Exploring Operation: 90-80=10, Resulting Numbers: [34, 10]
Generated Node #0,3,4: 16:[34, 10] Operation: 90-80=10
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 16:[34, 10], Operations: ['72-38=34', '90-80=10']
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 34*10=340, Resulting Numbers: [340]
340,16 unequal: No Solution
Exploring Operation: 34+10=44, Resulting Numbers: [44]
44,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 16:[90, 46], Operations: ['72-38=34', '80-34=46']
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 90+46=136, Resulting Numbers: [136]
136,16 unequal: No Solution
Exploring Operation: 90*46=4140, Resulting Numbers: [4140]
4140,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 16:[80, 56], Operations: ['72-38=34', '90-34=56']
Exploring Operation: 80*56=4480, Resulting Numbers: [4480]
4480,16 unequal: No Solution
Exploring Operation: 80+56=136, Resulting Numbers: [136]
136,16 unequal: No Solution
Exploring Operation: 80-56=24, Resulting Numbers: [24]
24,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 16:[34, 170], Operations: ['72-38=34', '90+80=170']
Exploring Operation: 34*170=5780, Resulting Numbers: [5780]
5780,16 unequal: No Solution
Exploring Operation: 170/34=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 170-34=136, Resulting Numbers: [136]
136,16 unequal: No Solution
Exploring Operation: 34+170=204, Resulting Numbers: [204]
204,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 16:[80, 124], Operations: ['72-38=34', '90+34=124']
Exploring Operation: 80*124=9920, Resulting Numbers: [9920]
9920,16 unequal: No Solution
Exploring Operation: 80+124=204, Resulting Numbers: [204]
204,16 unequal: No Solution
Exploring Operation: 124-80=44, Resulting Numbers: [44]
44,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 16:[72, 80, 52], Operations: ['90-38=52']
Exploring Operation: 80-72=8, Resulting Numbers: [52, 8]
Generated Node #0,4,0: 16:[52, 8] Operation: 80-72=8
Exploring Operation: 72+52=124, Resulting Numbers: [80, 124]
Generated Node #0,4,1: 16:[80, 124] Operation: 72+52=124
Exploring Operation: 72+80=152, Resulting Numbers: [52, 152]
Generated Node #0,4,2: 16:[52, 152] Operation: 72+80=152
Exploring Operation: 80-52=28, Resulting Numbers: [72, 28]
Generated Node #0,4,3: 16:[72, 28] Operation: 80-52=28
Exploring Operation: 72-52=20, Resulting Numbers: [80, 20]
Generated Node #0,4,4: 16:[80, 20] Operation: 72-52=20
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 16:[52, 8], Operations: ['90-38=52', '80-72=8']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 52*8=416, Resulting Numbers: [416]
416,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 16:[72, 28], Operations: ['90-38=52', '80-52=28']
Exploring Operation: 72*28=2016, Resulting Numbers: [2016]
2016,16 unequal: No Solution
Exploring Operation: 72+28=100, Resulting Numbers: [100]
100,16 unequal: No Solution
Exploring Operation: 72-28=44, Resulting Numbers: [44]
44,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 16:[80, 20], Operations: ['90-38=52', '72-52=20']
Exploring Operation: 80-20=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 80+20=100, Resulting Numbers: [100]
100,16 unequal: No Solution
Exploring Operation: 80/20=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 80*20=1600, Resulting Numbers: [1600]
1600,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 16:[80, 124], Operations: ['90-38=52', '72+52=124']
Exploring Operation: 80*124=9920, Resulting Numbers: [9920]
9920,16 unequal: No Solution
Exploring Operation: 124-80=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 80+124=204, Resulting Numbers: [204]
204,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 16:[52, 152], Operations: ['90-38=52', '72+80=152']
Exploring Operation: 152-52=100, Resulting Numbers: [100]
100,16 unequal: No Solution
Exploring Operation: 52+152=204, Resulting Numbers: [204]
204,16 unequal: No Solution
Exploring Operation: 52*152=7904, Resulting Numbers: [7904]
7904,16 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 |
[
45,
24,
46,
72
] | 43 | [
"45+24=69",
"72-46=26",
"69-26=43"
] | Current State: 43:[45, 24, 46, 72], Operations: []
Exploring Operation: 45+24=69, Resulting Numbers: [46, 72, 69]
Generated Node #2: [46, 72, 69] from Operation: 45+24=69
Current State: 43:[46, 72, 69], Operations: ['45+24=69']
Exploring Operation: 72-46=26, Resulting Numbers: [69, 26]
Generated Node #3: [69, 26] from Operation: 72-46=26
Current State: 43:[69, 26], Operations: ['45+24=69', '72-46=26']
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[45, 24, 46, 72], Operations: []
Exploring Operation: 72-46=26, Resulting Numbers: [45, 24, 26]
Generated Node #0,0: 43:[45, 24, 26] Operation: 72-46=26
Exploring Operation: 72-24=48, Resulting Numbers: [45, 46, 48]
Generated Node #0,1: 43:[45, 46, 48] Operation: 72-24=48
Exploring Operation: 72-45=27, Resulting Numbers: [24, 46, 27]
Generated Node #0,2: 43:[24, 46, 27] Operation: 72-45=27
Moving to Node #0,1
Current State: 43:[45, 46, 48], Operations: ['72-24=48']
Exploring Operation: 46-45=1, Resulting Numbers: [48, 1]
Generated Node #0,1,0: 43:[48, 1] Operation: 46-45=1
Exploring Operation: 48-46=2, Resulting Numbers: [45, 2]
Generated Node #0,1,1: 43:[45, 2] Operation: 48-46=2
Exploring Operation: 48-45=3, Resulting Numbers: [46, 3]
Generated Node #0,1,2: 43:[46, 3] Operation: 48-45=3
Moving to Node #0,0
Current State: 43:[45, 24, 26], Operations: ['72-46=26']
Exploring Operation: 45+24=69, Resulting Numbers: [26, 69]
Generated Node #0,0,0: 43:[26, 69] Operation: 45+24=69
Exploring Operation: 45-24=21, Resulting Numbers: [26, 21]
Generated Node #0,0,1: 43:[26, 21] Operation: 45-24=21
Exploring Operation: 24+26=50, Resulting Numbers: [45, 50]
Generated Node #0,0,2: 43:[45, 50] Operation: 24+26=50
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 43:[45, 50], Operations: ['72-46=26', '24+26=50']
Exploring Operation: 45+50=95, Resulting Numbers: [95]
95,43 unequal: No Solution
Exploring Operation: 45*50=2250, Resulting Numbers: [2250]
2250,43 unequal: No Solution
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,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,0,1
Current State: 43:[26, 21], Operations: ['72-46=26', '45-24=21']
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 26*21=546, Resulting Numbers: [546]
546,43 unequal: No Solution
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,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,0,0
Current State: 43:[26, 69], Operations: ['72-46=26', '45+24=69']
Exploring Operation: 26*69=1794, Resulting Numbers: [1794]
1794,43 unequal: No Solution
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[45, 24, 46, 72], Operations: []
Exploring Operation: 72-46=26, Resulting Numbers: [45, 24, 26]
Generated Node #0,0: 43:[45, 24, 26] Operation: 72-46=26
Moving to Node #0,0
Current State: 43:[45, 24, 26], Operations: ['72-46=26']
Exploring Operation: 45+24=69, Resulting Numbers: [26, 69]
Generated Node #0,0,0: 43:[26, 69] Operation: 45+24=69
Moving to Node #0,0,0
Current State: 43:[26, 69], Operations: ['72-46=26', '45+24=69']
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_3 | sum_heuristic |
[
99,
96,
42,
86
] | 67 | [
"99+96=195",
"42+86=128",
"195-128=67"
] | Current State: 67:[99, 96, 42, 86], Operations: []
Exploring Operation: 99+96=195, Resulting Numbers: [42, 86, 195]
Generated Node #2: [42, 86, 195] from Operation: 99+96=195
Current State: 67:[42, 86, 195], Operations: ['99+96=195']
Exploring Operation: 42+86=128, Resulting Numbers: [195, 128]
Generated Node #3: [195, 128] from Operation: 42+86=128
Current State: 67:[195, 128], Operations: ['99+96=195', '42+86=128']
Exploring Operation: 195-128=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[99, 96, 42, 86], Operations: []
Exploring Operation: 86-42=44, Resulting Numbers: [99, 96, 44]
Generated Node #0,0: 67:[99, 96, 44] Operation: 86-42=44
Exploring Operation: 99-42=57, Resulting Numbers: [96, 86, 57]
Generated Node #0,1: 67:[96, 86, 57] Operation: 99-42=57
Exploring Operation: 96-42=54, Resulting Numbers: [99, 86, 54]
Generated Node #0,2: 67:[99, 86, 54] Operation: 96-42=54
Moving to Node #0,1
Current State: 67:[96, 86, 57], Operations: ['99-42=57']
Exploring Operation: 96-57=39, Resulting Numbers: [86, 39]
Generated Node #0,1,0: 67:[86, 39] Operation: 96-57=39
Exploring Operation: 96-86=10, Resulting Numbers: [57, 10]
Generated Node #0,1,1: 67:[57, 10] Operation: 96-86=10
Exploring Operation: 86-57=29, Resulting Numbers: [96, 29]
Generated Node #0,1,2: 67:[96, 29] Operation: 86-57=29
Moving to Node #0,2
Current State: 67:[99, 86, 54], Operations: ['96-42=54']
Exploring Operation: 99-86=13, Resulting Numbers: [54, 13]
Generated Node #0,2,0: 67:[54, 13] Operation: 99-86=13
Exploring Operation: 86-54=32, Resulting Numbers: [99, 32]
Generated Node #0,2,1: 67:[99, 32] Operation: 86-54=32
Exploring Operation: 99-54=45, Resulting Numbers: [86, 45]
Generated Node #0,2,2: 67:[86, 45] Operation: 99-54=45
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[86, 45], Operations: ['96-42=54', '99-54=45']
Exploring Operation: 86+45=131, Resulting Numbers: [131]
131,67 unequal: No Solution
Exploring Operation: 86-45=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 86*45=3870, Resulting Numbers: [3870]
3870,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[54, 13], Operations: ['96-42=54', '99-86=13']
Exploring Operation: 54*13=702, Resulting Numbers: [702]
702,67 unequal: No Solution
Exploring Operation: 54+13=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[99, 96, 42, 86], Operations: []
Exploring Operation: 96-42=54, Resulting Numbers: [99, 86, 54]
Generated Node #0,2: 67:[99, 86, 54] Operation: 96-42=54
Moving to Node #0,2
Current State: 67:[99, 86, 54], Operations: ['96-42=54']
Exploring Operation: 99-86=13, Resulting Numbers: [54, 13]
Generated Node #0,2,0: 67:[54, 13] Operation: 99-86=13
Moving to Node #0,2,0
Current State: 67:[54, 13], Operations: ['96-42=54', '99-86=13']
Exploring Operation: 54+13=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
56,
91,
99,
48
] | 16 | [
"91-56=35",
"99-48=51",
"51-35=16"
] | Current State: 16:[56, 91, 99, 48], Operations: []
Exploring Operation: 91-56=35, Resulting Numbers: [99, 48, 35]
Generated Node #2: [99, 48, 35] from Operation: 91-56=35
Current State: 16:[99, 48, 35], Operations: ['91-56=35']
Exploring Operation: 99-48=51, Resulting Numbers: [35, 51]
Generated Node #3: [35, 51] from Operation: 99-48=51
Current State: 16:[35, 51], Operations: ['91-56=35', '99-48=51']
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[56, 91, 99, 48], Operations: []
Exploring Operation: 91-56=35, Resulting Numbers: [99, 48, 35]
Generated Node #0,0: 16:[99, 48, 35] Operation: 91-56=35
Exploring Operation: 91-48=43, Resulting Numbers: [56, 99, 43]
Generated Node #0,1: 16:[56, 99, 43] Operation: 91-48=43
Exploring Operation: 99-91=8, Resulting Numbers: [56, 48, 8]
Generated Node #0,2: 16:[56, 48, 8] Operation: 99-91=8
Exploring Operation: 99-56=43, Resulting Numbers: [91, 48, 43]
Generated Node #0,3: 16:[91, 48, 43] Operation: 99-56=43
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[56, 48, 8], Operations: ['99-91=8']
Exploring Operation: 48/8=6, Resulting Numbers: [56, 6]
Generated Node #0,2,0: 16:[56, 6] Operation: 48/8=6
Exploring Operation: 56-8=48, Resulting Numbers: [48, 48]
Generated Node #0,2,1: 16:[48, 48] Operation: 56-8=48
Exploring Operation: 56-48=8, Resulting Numbers: [8, 8]
Generated Node #0,2,2: 16:[8, 8] Operation: 56-48=8
Exploring Operation: 56/8=7, Resulting Numbers: [48, 7]
Generated Node #0,2,3: 16:[48, 7] Operation: 56/8=7
Moving to Node #0,2,2
Current State: 16:[8, 8], Operations: ['99-91=8', '56-48=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[56, 91, 99, 48], Operations: []
Exploring Operation: 99-91=8, Resulting Numbers: [56, 48, 8]
Generated Node #0,2: 16:[56, 48, 8] Operation: 99-91=8
Moving to Node #0,2
Current State: 16:[56, 48, 8], Operations: ['99-91=8']
Exploring Operation: 56-48=8, Resulting Numbers: [8, 8]
Generated Node #0,2,2: 16:[8, 8] Operation: 56-48=8
Moving to Node #0,2,2
Current State: 16:[8, 8], Operations: ['99-91=8', '56-48=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
49,
46,
47,
11
] | 37 | [
"49+46=95",
"47+11=58",
"95-58=37"
] | Current State: 37:[49, 46, 47, 11], Operations: []
Exploring Operation: 49+46=95, Resulting Numbers: [47, 11, 95]
Generated Node #2: [47, 11, 95] from Operation: 49+46=95
Current State: 37:[47, 11, 95], Operations: ['49+46=95']
Exploring Operation: 47+11=58, Resulting Numbers: [95, 58]
Generated Node #3: [95, 58] from Operation: 47+11=58
Current State: 37:[95, 58], Operations: ['49+46=95', '47+11=58']
Exploring Operation: 95-58=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[49, 46, 47, 11], Operations: []
Exploring Operation: 49-11=38, Resulting Numbers: [46, 47, 38]
Generated Node #0,0: 37:[46, 47, 38] Operation: 49-11=38
Exploring Operation: 47-11=36, Resulting Numbers: [49, 46, 36]
Generated Node #0,1: 37:[49, 46, 36] Operation: 47-11=36
Moving to Node #0,0
Current State: 37:[46, 47, 38], Operations: ['49-11=38']
Exploring Operation: 47-46=1, Resulting Numbers: [38, 1]
Generated Node #0,0,0: 37:[38, 1] Operation: 47-46=1
Exploring Operation: 47-38=9, Resulting Numbers: [46, 9]
Generated Node #0,0,1: 37:[46, 9] Operation: 47-38=9
Moving to Node #0,1
Current State: 37:[49, 46, 36], Operations: ['47-11=36']
Exploring Operation: 49-36=13, Resulting Numbers: [46, 13]
Generated Node #0,1,0: 37:[46, 13] Operation: 49-36=13
Exploring Operation: 49-46=3, Resulting Numbers: [36, 3]
Generated Node #0,1,1: 37:[36, 3] Operation: 49-46=3
Moving to Node #0,1,0
Current State: 37:[46, 13], Operations: ['47-11=36', '49-36=13']
Exploring Operation: 46+13=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[36, 3], Operations: ['47-11=36', '49-46=3']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[46, 9], Operations: ['49-11=38', '47-38=9']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[49, 46, 47, 11], Operations: []
Exploring Operation: 49-11=38, Resulting Numbers: [46, 47, 38]
Generated Node #0,0: 37:[46, 47, 38] Operation: 49-11=38
Moving to Node #0,0
Current State: 37:[46, 47, 38], Operations: ['49-11=38']
Exploring Operation: 47-38=9, Resulting Numbers: [46, 9]
Generated Node #0,0,1: 37:[46, 9] Operation: 47-38=9
Moving to Node #0,0,1
Current State: 37:[46, 9], Operations: ['49-11=38', '47-38=9']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
77,
36,
7,
14
] | 39 | [
"77-36=41",
"14/7=2",
"41-2=39"
] | Current State: 39:[77, 36, 7, 14], Operations: []
Exploring Operation: 77-36=41, Resulting Numbers: [7, 14, 41]
Generated Node #2: [7, 14, 41] from Operation: 77-36=41
Current State: 39:[7, 14, 41], Operations: ['77-36=41']
Exploring Operation: 14/7=2, Resulting Numbers: [41, 2]
Generated Node #3: [41, 2] from Operation: 14/7=2
Current State: 39:[41, 2], Operations: ['77-36=41', '14/7=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[77, 36, 7, 14], Operations: []
Exploring Operation: 77-36=41, Resulting Numbers: [7, 14, 41]
Generated Node #0,0: 39:[7, 14, 41] Operation: 77-36=41
Exploring Operation: 77-14=63, Resulting Numbers: [36, 7, 63]
Generated Node #0,1: 39:[36, 7, 63] Operation: 77-14=63
Exploring Operation: 77/7=11, Resulting Numbers: [36, 14, 11]
Generated Node #0,2: 39:[36, 14, 11] Operation: 77/7=11
Moving to Node #0,2
Current State: 39:[36, 14, 11], Operations: ['77/7=11']
Exploring Operation: 14-11=3, Resulting Numbers: [36, 3]
Generated Node #0,2,0: 39:[36, 3] Operation: 14-11=3
Exploring Operation: 36+11=47, Resulting Numbers: [14, 47]
Generated Node #0,2,1: 39:[14, 47] Operation: 36+11=47
Exploring Operation: 36-14=22, Resulting Numbers: [11, 22]
Generated Node #0,2,2: 39:[11, 22] Operation: 36-14=22
Moving to Node #0,0
Current State: 39:[7, 14, 41], Operations: ['77-36=41']
Exploring Operation: 41-7=34, Resulting Numbers: [14, 34]
Generated Node #0,0,0: 39:[14, 34] Operation: 41-7=34
Exploring Operation: 14-7=7, Resulting Numbers: [41, 7]
Generated Node #0,0,1: 39:[41, 7] Operation: 14-7=7
Exploring Operation: 14/7=2, Resulting Numbers: [41, 2]
Generated Node #0,0,2: 39:[41, 2] Operation: 14/7=2
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 39:[41, 2], Operations: ['77-36=41', '14/7=2']
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[77, 36, 7, 14], Operations: []
Exploring Operation: 77-36=41, Resulting Numbers: [7, 14, 41]
Generated Node #0,0: 39:[7, 14, 41] Operation: 77-36=41
Moving to Node #0,0
Current State: 39:[7, 14, 41], Operations: ['77-36=41']
Exploring Operation: 14/7=2, Resulting Numbers: [41, 2]
Generated Node #0,0,2: 39:[41, 2] Operation: 14/7=2
Moving to Node #0,0,2
Current State: 39:[41, 2], Operations: ['77-36=41', '14/7=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
78,
50,
95,
4
] | 71 | [
"78-50=28",
"95+4=99",
"99-28=71"
] | Current State: 71:[78, 50, 95, 4], Operations: []
Exploring Operation: 78-50=28, Resulting Numbers: [95, 4, 28]
Generated Node #2: [95, 4, 28] from Operation: 78-50=28
Current State: 71:[95, 4, 28], Operations: ['78-50=28']
Exploring Operation: 95+4=99, Resulting Numbers: [28, 99]
Generated Node #3: [28, 99] from Operation: 95+4=99
Current State: 71:[28, 99], Operations: ['78-50=28', '95+4=99']
Exploring Operation: 99-28=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[78, 50, 95, 4], Operations: []
Exploring Operation: 78-4=74, Resulting Numbers: [50, 95, 74]
Generated Node #0,0: 71:[50, 95, 74] Operation: 78-4=74
Exploring Operation: 50+4=54, Resulting Numbers: [78, 95, 54]
Generated Node #0,1: 71:[78, 95, 54] Operation: 50+4=54
Moving to Node #0,0
Current State: 71:[50, 95, 74], Operations: ['78-4=74']
Exploring Operation: 74-50=24, Resulting Numbers: [95, 24]
Generated Node #0,0,0: 71:[95, 24] Operation: 74-50=24
Exploring Operation: 95-50=45, Resulting Numbers: [74, 45]
Generated Node #0,0,1: 71:[74, 45] Operation: 95-50=45
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[74, 45], Operations: ['78-4=74', '95-50=45']
Exploring Operation: 74-45=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 74+45=119, Resulting Numbers: [119]
119,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[95, 24], Operations: ['78-4=74', '74-50=24']
Exploring Operation: 95-24=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[78, 50, 95, 4], Operations: []
Exploring Operation: 78-4=74, Resulting Numbers: [50, 95, 74]
Generated Node #0,0: 71:[50, 95, 74] Operation: 78-4=74
Moving to Node #0,0
Current State: 71:[50, 95, 74], Operations: ['78-4=74']
Exploring Operation: 74-50=24, Resulting Numbers: [95, 24]
Generated Node #0,0,0: 71:[95, 24] Operation: 74-50=24
Moving to Node #0,0,0
Current State: 71:[95, 24], Operations: ['78-4=74', '74-50=24']
Exploring Operation: 95-24=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
65,
13,
68,
39
] | 49 | [
"65+13=78",
"68-39=29",
"78-29=49"
] | Current State: 49:[65, 13, 68, 39], Operations: []
Exploring Operation: 65+13=78, Resulting Numbers: [68, 39, 78]
Generated Node #2: [68, 39, 78] from Operation: 65+13=78
Current State: 49:[68, 39, 78], Operations: ['65+13=78']
Exploring Operation: 68-39=29, Resulting Numbers: [78, 29]
Generated Node #3: [78, 29] from Operation: 68-39=29
Current State: 49:[78, 29], Operations: ['65+13=78', '68-39=29']
Exploring Operation: 78-29=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[65, 13, 68, 39], Operations: []
Exploring Operation: 65/13=5, Resulting Numbers: [68, 39, 5]
Generated Node #0,0: 49:[68, 39, 5] Operation: 65/13=5
Exploring Operation: 65-13=52, Resulting Numbers: [68, 39, 52]
Generated Node #0,1: 49:[68, 39, 52] Operation: 65-13=52
Exploring Operation: 68-65=3, Resulting Numbers: [13, 39, 3]
Generated Node #0,2: 49:[13, 39, 3] Operation: 68-65=3
Moving to Node #0,2
Current State: 49:[13, 39, 3], Operations: ['68-65=3']
Exploring Operation: 13+39=52, Resulting Numbers: [3, 52]
Generated Node #0,2,0: 49:[3, 52] Operation: 13+39=52
Exploring Operation: 39/3=13, Resulting Numbers: [13, 13]
Generated Node #0,2,1: 49:[13, 13] Operation: 39/3=13
Exploring Operation: 39/13=3, Resulting Numbers: [3, 3]
Generated Node #0,2,2: 49:[3, 3] Operation: 39/13=3
Moving to Node #0,0
Current State: 49:[68, 39, 5], Operations: ['65/13=5']
Exploring Operation: 39+5=44, Resulting Numbers: [68, 44]
Generated Node #0,0,0: 49:[68, 44] Operation: 39+5=44
Exploring Operation: 68-39=29, Resulting Numbers: [5, 29]
Generated Node #0,0,1: 49:[5, 29] Operation: 68-39=29
Exploring Operation: 68-5=63, Resulting Numbers: [39, 63]
Generated Node #0,0,2: 49:[39, 63] Operation: 68-5=63
Moving to Node #0,1
Current State: 49:[68, 39, 52], Operations: ['65-13=52']
Exploring Operation: 68-52=16, Resulting Numbers: [39, 16]
Generated Node #0,1,0: 49:[39, 16] Operation: 68-52=16
Exploring Operation: 52-39=13, Resulting Numbers: [68, 13]
Generated Node #0,1,1: 49:[68, 13] Operation: 52-39=13
Exploring Operation: 68-39=29, Resulting Numbers: [52, 29]
Generated Node #0,1,2: 49:[52, 29] Operation: 68-39=29
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[39, 16], Operations: ['65-13=52', '68-52=16']
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,49 unequal: No Solution
Exploring Operation: 39+16=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Exploring Operation: 39*16=624, Resulting Numbers: [624]
624,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[52, 29], Operations: ['65-13=52', '68-39=29']
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,49 unequal: No Solution
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,49 unequal: No Solution
Exploring Operation: 52*29=1508, Resulting Numbers: [1508]
1508,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[68, 13], Operations: ['65-13=52', '52-39=13']
Exploring Operation: 68+13=81, Resulting Numbers: [81]
81,49 unequal: No Solution
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Exploring Operation: 68*13=884, Resulting Numbers: [884]
884,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 49:[3, 52], Operations: ['68-65=3', '13+39=52']
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,49 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[65, 13, 68, 39], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [13, 39, 3]
Generated Node #0,2: 49:[13, 39, 3] Operation: 68-65=3
Moving to Node #0,2
Current State: 49:[13, 39, 3], Operations: ['68-65=3']
Exploring Operation: 13+39=52, Resulting Numbers: [3, 52]
Generated Node #0,2,0: 49:[3, 52] Operation: 13+39=52
Moving to Node #0,2,0
Current State: 49:[3, 52], Operations: ['68-65=3', '13+39=52']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.976563 | hs_3 | sum_heuristic |
[
31,
82,
36,
55
] | 71 | [
"36-31=5",
"55/5=11",
"82-11=71"
] | Current State: 71:[31, 82, 36, 55], Operations: []
Exploring Operation: 36-31=5, Resulting Numbers: [82, 55, 5]
Generated Node #2: [82, 55, 5] from Operation: 36-31=5
Current State: 71:[82, 55, 5], Operations: ['36-31=5']
Exploring Operation: 55/5=11, Resulting Numbers: [82, 11]
Generated Node #3: [82, 11] from Operation: 55/5=11
Current State: 71:[82, 11], Operations: ['36-31=5', '55/5=11']
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[31, 82, 36, 55], Operations: []
Exploring Operation: 82-36=46, Resulting Numbers: [31, 55, 46]
Generated Node #0,0: 71:[31, 55, 46] Operation: 82-36=46
Exploring Operation: 31+55=86, Resulting Numbers: [82, 36, 86]
Generated Node #0,1: 71:[82, 36, 86] Operation: 31+55=86
Exploring Operation: 36+55=91, Resulting Numbers: [31, 82, 91]
Generated Node #0,2: 71:[31, 82, 91] Operation: 36+55=91
Exploring Operation: 31+36=67, Resulting Numbers: [82, 55, 67]
Generated Node #0,3: 71:[82, 55, 67] Operation: 31+36=67
Exploring Operation: 82-31=51, Resulting Numbers: [36, 55, 51]
Generated Node #0,4: 71:[36, 55, 51] Operation: 82-31=51
Moving to Node #0,3
Current State: 71:[82, 55, 67], Operations: ['31+36=67']
Exploring Operation: 55+67=122, Resulting Numbers: [82, 122]
Generated Node #0,3,0: 71:[82, 122] Operation: 55+67=122
Exploring Operation: 82-67=15, Resulting Numbers: [55, 15]
Generated Node #0,3,1: 71:[55, 15] Operation: 82-67=15
Exploring Operation: 67-55=12, Resulting Numbers: [82, 12]
Generated Node #0,3,2: 71:[82, 12] Operation: 67-55=12
Exploring Operation: 82-55=27, Resulting Numbers: [67, 27]
Generated Node #0,3,3: 71:[67, 27] Operation: 82-55=27
Exploring Operation: 82+55=137, Resulting Numbers: [67, 137]
Generated Node #0,3,4: 71:[67, 137] Operation: 82+55=137
Moving to Node #0,1
Current State: 71:[82, 36, 86], Operations: ['31+55=86']
Exploring Operation: 82-36=46, Resulting Numbers: [86, 46]
Generated Node #0,1,0: 71:[86, 46] Operation: 82-36=46
Exploring Operation: 36+86=122, Resulting Numbers: [82, 122]
Generated Node #0,1,1: 71:[82, 122] Operation: 36+86=122
Exploring Operation: 82+36=118, Resulting Numbers: [86, 118]
Generated Node #0,1,2: 71:[86, 118] Operation: 82+36=118
Exploring Operation: 86-82=4, Resulting Numbers: [36, 4]
Generated Node #0,1,3: 71:[36, 4] Operation: 86-82=4
Exploring Operation: 86-36=50, Resulting Numbers: [82, 50]
Generated Node #0,1,4: 71:[82, 50] Operation: 86-36=50
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 71:[82, 50], Operations: ['31+55=86', '86-36=50']
Exploring Operation: 82*50=4100, Resulting Numbers: [4100]
4100,71 unequal: No Solution
Exploring Operation: 82+50=132, Resulting Numbers: [132]
132,71 unequal: No Solution
Exploring Operation: 82-50=32, Resulting Numbers: [32]
32,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[86, 46], Operations: ['31+55=86', '82-36=46']
Exploring Operation: 86-46=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 86+46=132, Resulting Numbers: [132]
132,71 unequal: No Solution
Exploring Operation: 86*46=3956, Resulting Numbers: [3956]
3956,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[82, 122], Operations: ['31+55=86', '36+86=122']
Exploring Operation: 82*122=10004, Resulting Numbers: [10004]
10004,71 unequal: No Solution
Exploring Operation: 82+122=204, Resulting Numbers: [204]
204,71 unequal: No Solution
Exploring Operation: 122-82=40, Resulting Numbers: [40]
40,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[86, 118], Operations: ['31+55=86', '82+36=118']
Exploring Operation: 86+118=204, Resulting Numbers: [204]
204,71 unequal: No Solution
Exploring Operation: 86*118=10148, Resulting Numbers: [10148]
10148,71 unequal: No Solution
Exploring Operation: 118-86=32, Resulting Numbers: [32]
32,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 71:[36, 4], Operations: ['31+55=86', '86-82=4']
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,71 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 71:[31, 82, 91], Operations: ['36+55=91']
Exploring Operation: 91-31=60, Resulting Numbers: [82, 60]
Generated Node #0,2,0: 71:[82, 60] Operation: 91-31=60
Exploring Operation: 82-31=51, Resulting Numbers: [91, 51]
Generated Node #0,2,1: 71:[91, 51] Operation: 82-31=51
Exploring Operation: 31+82=113, Resulting Numbers: [91, 113]
Generated Node #0,2,2: 71:[91, 113] Operation: 31+82=113
Exploring Operation: 31+91=122, Resulting Numbers: [82, 122]
Generated Node #0,2,3: 71:[82, 122] Operation: 31+91=122
Exploring Operation: 91-82=9, Resulting Numbers: [31, 9]
Generated Node #0,2,4: 71:[31, 9] Operation: 91-82=9
Moving to Node #0,4
Current State: 71:[36, 55, 51], Operations: ['82-31=51']
Exploring Operation: 51-36=15, Resulting Numbers: [55, 15]
Generated Node #0,4,0: 71:[55, 15] Operation: 51-36=15
Exploring Operation: 55+51=106, Resulting Numbers: [36, 106]
Generated Node #0,4,1: 71:[36, 106] Operation: 55+51=106
Exploring Operation: 36+51=87, Resulting Numbers: [55, 87]
Generated Node #0,4,2: 71:[55, 87] Operation: 36+51=87
Exploring Operation: 36+55=91, Resulting Numbers: [51, 91]
Generated Node #0,4,3: 71:[51, 91] Operation: 36+55=91
Exploring Operation: 55-36=19, Resulting Numbers: [51, 19]
Generated Node #0,4,4: 71:[51, 19] Operation: 55-36=19
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 71:[55, 87], Operations: ['82-31=51', '36+51=87']
Exploring Operation: 55*87=4785, Resulting Numbers: [4785]
4785,71 unequal: No Solution
Exploring Operation: 87-55=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 55+87=142, Resulting Numbers: [142]
142,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 71:[51, 91], Operations: ['82-31=51', '36+55=91']
Exploring Operation: 51*91=4641, Resulting Numbers: [4641]
4641,71 unequal: No Solution
Exploring Operation: 51+91=142, Resulting Numbers: [142]
142,71 unequal: No Solution
Exploring Operation: 91-51=40, Resulting Numbers: [40]
40,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 71:[36, 106], Operations: ['82-31=51', '55+51=106']
Exploring Operation: 36+106=142, Resulting Numbers: [142]
142,71 unequal: No Solution
Exploring Operation: 36*106=3816, Resulting Numbers: [3816]
3816,71 unequal: No Solution
Exploring Operation: 106-36=70, Resulting Numbers: [70]
70,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 71:[55, 15], Operations: ['82-31=51', '51-36=15']
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 55*15=825, Resulting Numbers: [825]
825,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 71:[51, 19], Operations: ['82-31=51', '55-36=19']
Exploring Operation: 51+19=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 51*19=969, Resulting Numbers: [969]
969,71 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,71 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: 71:[31, 55, 46], Operations: ['82-36=46']
Exploring Operation: 55-31=24, Resulting Numbers: [46, 24]
Generated Node #0,0,0: 71:[46, 24] Operation: 55-31=24
Exploring Operation: 31+46=77, Resulting Numbers: [55, 77]
Generated Node #0,0,1: 71:[55, 77] Operation: 31+46=77
Exploring Operation: 46-31=15, Resulting Numbers: [55, 15]
Generated Node #0,0,2: 71:[55, 15] Operation: 46-31=15
Exploring Operation: 55+46=101, Resulting Numbers: [31, 101]
Generated Node #0,0,3: 71:[31, 101] Operation: 55+46=101
Exploring Operation: 31+55=86, Resulting Numbers: [46, 86]
Generated Node #0,0,4: 71:[46, 86] Operation: 31+55=86
Moving to Node #0,2,0
Current State: 71:[82, 60], Operations: ['36+55=91', '91-31=60']
Exploring Operation: 82+60=142, Resulting Numbers: [142]
142,71 unequal: No Solution
Exploring Operation: 82*60=4920, Resulting Numbers: [4920]
4920,71 unequal: No Solution
Exploring Operation: 82-60=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[55, 77], Operations: ['82-36=46', '31+46=77']
Exploring Operation: 55+77=132, Resulting Numbers: [132]
132,71 unequal: No Solution
Exploring Operation: 77-55=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Exploring Operation: 55*77=4235, Resulting Numbers: [4235]
4235,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[91, 51], Operations: ['36+55=91', '82-31=51']
Exploring Operation: 91*51=4641, Resulting Numbers: [4641]
4641,71 unequal: No Solution
Exploring Operation: 91-51=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 91+51=142, Resulting Numbers: [142]
142,71 unequal: No Solution
Moving to Node #0,0,4
Current State: 71:[46, 86], Operations: ['82-36=46', '31+55=86']
Exploring Operation: 46+86=132, Resulting Numbers: [132]
132,71 unequal: No Solution
Exploring Operation: 46*86=3956, Resulting Numbers: [3956]
3956,71 unequal: No Solution
Exploring Operation: 86-46=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[67, 27], Operations: ['31+36=67', '82-55=27']
Exploring Operation: 67*27=1809, Resulting Numbers: [1809]
1809,71 unequal: No Solution
Exploring Operation: 67+27=94, Resulting Numbers: [94]
94,71 unequal: No Solution
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[82, 122], Operations: ['31+36=67', '55+67=122']
Exploring Operation: 82+122=204, Resulting Numbers: [204]
204,71 unequal: No Solution
Exploring Operation: 122-82=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 82*122=10004, Resulting Numbers: [10004]
10004,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[91, 113], Operations: ['36+55=91', '31+82=113']
Exploring Operation: 113-91=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Exploring Operation: 91+113=204, Resulting Numbers: [204]
204,71 unequal: No Solution
Exploring Operation: 91*113=10283, Resulting Numbers: [10283]
10283,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[82, 122], Operations: ['36+55=91', '31+91=122']
Exploring Operation: 82+122=204, Resulting Numbers: [204]
204,71 unequal: No Solution
Exploring Operation: 82*122=10004, Resulting Numbers: [10004]
10004,71 unequal: No Solution
Exploring Operation: 122-82=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[31, 101], Operations: ['82-36=46', '55+46=101']
Exploring Operation: 31+101=132, Resulting Numbers: [132]
132,71 unequal: No Solution
Exploring Operation: 31*101=3131, Resulting Numbers: [3131]
3131,71 unequal: No Solution
Exploring Operation: 101-31=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[82, 12], Operations: ['31+36=67', '67-55=12']
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,71 unequal: No Solution
Exploring Operation: 82*12=984, Resulting Numbers: [984]
984,71 unequal: No Solution
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Moving to Node #0,3,4
Current State: 71:[67, 137], Operations: ['31+36=67', '82+55=137']
Exploring Operation: 137-67=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 67+137=204, Resulting Numbers: [204]
204,71 unequal: No Solution
Exploring Operation: 67*137=9179, Resulting Numbers: [9179]
9179,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[46, 24], Operations: ['82-36=46', '55-31=24']
Exploring Operation: 46*24=1104, Resulting Numbers: [1104]
1104,71 unequal: No Solution
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Exploring Operation: 46+24=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[55, 15], Operations: ['31+36=67', '82-67=15']
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 55*15=825, Resulting Numbers: [825]
825,71 unequal: No Solution
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[55, 15], Operations: ['82-36=46', '46-31=15']
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 55*15=825, Resulting Numbers: [825]
825,71 unequal: No Solution
Moving to Node #0,2,4
Current State: 71:[31, 9], Operations: ['36+55=91', '91-82=9']
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,71 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,71 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
78,
3,
25,
32
] | 35 | [
"78-3=75",
"75/25=3",
"32+3=35"
] | Current State: 35:[78, 3, 25, 32], Operations: []
Exploring Operation: 78-3=75, Resulting Numbers: [25, 32, 75]
Generated Node #2: [25, 32, 75] from Operation: 78-3=75
Current State: 35:[25, 32, 75], Operations: ['78-3=75']
Exploring Operation: 75/25=3, Resulting Numbers: [32, 3]
Generated Node #3: [32, 3] from Operation: 75/25=3
Current State: 35:[32, 3], Operations: ['78-3=75', '75/25=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[78, 3, 25, 32], Operations: []
Exploring Operation: 78-25=53, Resulting Numbers: [3, 32, 53]
Generated Node #0,0: 35:[3, 32, 53] Operation: 78-25=53
Exploring Operation: 78/3=26, Resulting Numbers: [25, 32, 26]
Generated Node #0,1: 35:[25, 32, 26] Operation: 78/3=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[25, 32, 26], Operations: ['78/3=26']
Exploring Operation: 32-25=7, Resulting Numbers: [26, 7]
Generated Node #0,1,0: 35:[26, 7] Operation: 32-25=7
Exploring Operation: 26-25=1, Resulting Numbers: [32, 1]
Generated Node #0,1,1: 35:[32, 1] Operation: 26-25=1
Moving to Node #0,1,1
Current State: 35:[32, 1], Operations: ['78/3=26', '26-25=1']
Exploring Operation: 32+1=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[26, 7], Operations: ['78/3=26', '32-25=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[3, 32, 53], Operations: ['78-25=53']
Exploring Operation: 53-32=21, Resulting Numbers: [3, 21]
Generated Node #0,0,0: 35:[3, 21] Operation: 53-32=21
Exploring Operation: 3+32=35, Resulting Numbers: [53, 35]
Generated Node #0,0,1: 35:[53, 35] Operation: 3+32=35
Moving to Node #0,0,0
Current State: 35:[3, 21], Operations: ['78-25=53', '53-32=21']
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[53, 35], Operations: ['78-25=53', '3+32=35']
Exploring Operation: 53+35=88, Resulting Numbers: [88]
88,35 unequal: No Solution
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
85,
63,
45,
81
] | 83 | [
"45+81=126",
"126/63=2",
"85-2=83"
] | Current State: 83:[85, 63, 45, 81], Operations: []
Exploring Operation: 45+81=126, Resulting Numbers: [85, 63, 126]
Generated Node #2: [85, 63, 126] from Operation: 45+81=126
Current State: 83:[85, 63, 126], Operations: ['45+81=126']
Exploring Operation: 126/63=2, Resulting Numbers: [85, 2]
Generated Node #3: [85, 2] from Operation: 126/63=2
Current State: 83:[85, 2], Operations: ['45+81=126', '126/63=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[85, 63, 45, 81], Operations: []
Exploring Operation: 85+45=130, Resulting Numbers: [63, 81, 130]
Generated Node #0,0: 83:[63, 81, 130] Operation: 85+45=130
Exploring Operation: 63+45=108, Resulting Numbers: [85, 81, 108]
Generated Node #0,1: 83:[85, 81, 108] Operation: 63+45=108
Exploring Operation: 45+81=126, Resulting Numbers: [85, 63, 126]
Generated Node #0,2: 83:[85, 63, 126] Operation: 45+81=126
Exploring Operation: 63-45=18, Resulting Numbers: [85, 81, 18]
Generated Node #0,3: 83:[85, 81, 18] Operation: 63-45=18
Exploring Operation: 85-45=40, Resulting Numbers: [63, 81, 40]
Generated Node #0,4: 83:[63, 81, 40] Operation: 85-45=40
Moving to Node #0,1
Current State: 83:[85, 81, 108], Operations: ['63+45=108']
Exploring Operation: 108-81=27, Resulting Numbers: [85, 27]
Generated Node #0,1,0: 83:[85, 27] Operation: 108-81=27
Exploring Operation: 81+108=189, Resulting Numbers: [85, 189]
Generated Node #0,1,1: 83:[85, 189] Operation: 81+108=189
Exploring Operation: 85-81=4, Resulting Numbers: [108, 4]
Generated Node #0,1,2: 83:[108, 4] Operation: 85-81=4
Exploring Operation: 85+81=166, Resulting Numbers: [108, 166]
Generated Node #0,1,3: 83:[108, 166] Operation: 85+81=166
Exploring Operation: 108-85=23, Resulting Numbers: [81, 23]
Generated Node #0,1,4: 83:[81, 23] Operation: 108-85=23
Moving to Node #0,4
Current State: 83:[63, 81, 40], Operations: ['85-45=40']
Exploring Operation: 81-40=41, Resulting Numbers: [63, 41]
Generated Node #0,4,0: 83:[63, 41] Operation: 81-40=41
Exploring Operation: 63+40=103, Resulting Numbers: [81, 103]
Generated Node #0,4,1: 83:[81, 103] Operation: 63+40=103
Exploring Operation: 63-40=23, Resulting Numbers: [81, 23]
Generated Node #0,4,2: 83:[81, 23] Operation: 63-40=23
Exploring Operation: 63+81=144, Resulting Numbers: [40, 144]
Generated Node #0,4,3: 83:[40, 144] Operation: 63+81=144
Exploring Operation: 81+40=121, Resulting Numbers: [63, 121]
Generated Node #0,4,4: 83:[63, 121] Operation: 81+40=121
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 83:[81, 103], Operations: ['85-45=40', '63+40=103']
Exploring Operation: 81*103=8343, Resulting Numbers: [8343]
8343,83 unequal: No Solution
Exploring Operation: 81+103=184, Resulting Numbers: [184]
184,83 unequal: No Solution
Exploring Operation: 103-81=22, Resulting Numbers: [22]
22,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 83:[63, 121], Operations: ['85-45=40', '81+40=121']
Exploring Operation: 121-63=58, Resulting Numbers: [58]
58,83 unequal: No Solution
Exploring Operation: 63+121=184, Resulting Numbers: [184]
184,83 unequal: No Solution
Exploring Operation: 63*121=7623, Resulting Numbers: [7623]
7623,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 83:[63, 41], Operations: ['85-45=40', '81-40=41']
Exploring Operation: 63*41=2583, Resulting Numbers: [2583]
2583,83 unequal: No Solution
Exploring Operation: 63-41=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 63+41=104, Resulting Numbers: [104]
104,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 83:[81, 23], Operations: ['85-45=40', '63-40=23']
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,83 unequal: No Solution
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,83 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 83:[40, 144], Operations: ['85-45=40', '63+81=144']
Exploring Operation: 40*144=5760, Resulting Numbers: [5760]
5760,83 unequal: No Solution
Exploring Operation: 40+144=184, Resulting Numbers: [184]
184,83 unequal: No Solution
Exploring Operation: 144-40=104, Resulting Numbers: [104]
104,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 83:[85, 63, 126], Operations: ['45+81=126']
Exploring Operation: 126-85=41, Resulting Numbers: [63, 41]
Generated Node #0,2,0: 83:[63, 41] Operation: 126-85=41
Exploring Operation: 85-63=22, Resulting Numbers: [126, 22]
Generated Node #0,2,1: 83:[126, 22] Operation: 85-63=22
Exploring Operation: 126-63=63, Resulting Numbers: [85, 63]
Generated Node #0,2,2: 83:[85, 63] Operation: 126-63=63
Exploring Operation: 85+63=148, Resulting Numbers: [126, 148]
Generated Node #0,2,3: 83:[126, 148] Operation: 85+63=148
Exploring Operation: 126/63=2, Resulting Numbers: [85, 2]
Generated Node #0,2,4: 83:[85, 2] Operation: 126/63=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[85, 63], Operations: ['45+81=126', '126-63=63']
Exploring Operation: 85+63=148, Resulting Numbers: [148]
148,83 unequal: No Solution
Exploring Operation: 85-63=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 85*63=5355, Resulting Numbers: [5355]
5355,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:[63, 41], Operations: ['45+81=126', '126-85=41']
Exploring Operation: 63-41=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 63+41=104, Resulting Numbers: [104]
104,83 unequal: No Solution
Exploring Operation: 63*41=2583, Resulting Numbers: [2583]
2583,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,4
Current State: 83:[85, 2], Operations: ['45+81=126', '126/63=2']
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[85, 63, 45, 81], Operations: []
Exploring Operation: 45+81=126, Resulting Numbers: [85, 63, 126]
Generated Node #0,2: 83:[85, 63, 126] Operation: 45+81=126
Moving to Node #0,2
Current State: 83:[85, 63, 126], Operations: ['45+81=126']
Exploring Operation: 126/63=2, Resulting Numbers: [85, 2]
Generated Node #0,2,4: 83:[85, 2] Operation: 126/63=2
Moving to Node #0,2,4
Current State: 83:[85, 2], Operations: ['45+81=126', '126/63=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_5 | sum_heuristic |
[
45,
15,
60,
45
] | 65 | [
"45/15=3",
"60/3=20",
"45+20=65"
] | Current State: 65:[45, 15, 60, 45], Operations: []
Exploring Operation: 45/15=3, Resulting Numbers: [60, 3]
Generated Node #2: [60, 3] from Operation: 45/15=3
Current State: 65:[60, 3], Operations: ['45/15=3']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,65 equal: Goal Reached
Exploring Operation: 45+20=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[45, 15, 60, 45], Operations: []
Exploring Operation: 45/45=1, Resulting Numbers: [15, 60, 1]
Generated Node #0,0: 65:[15, 60, 1] Operation: 45/45=1
Moving to Node #0,0
Current State: 65:[15, 60, 1], Operations: ['45/45=1']
Exploring Operation: 60/15=4, Resulting Numbers: [1, 4]
Generated Node #0,0,0: 65:[1, 4] Operation: 60/15=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[1, 4], Operations: ['45/45=1', '60/15=4']
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,65 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 |
[
84,
65,
22,
28
] | 90 | [
"84/28=3",
"65+22=87",
"3+87=90"
] | Current State: 90:[84, 65, 22, 28], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [65, 22, 3]
Generated Node #2: [65, 22, 3] from Operation: 84/28=3
Current State: 90:[65, 22, 3], Operations: ['84/28=3']
Exploring Operation: 65+22=87, Resulting Numbers: [3, 87]
Generated Node #3: [3, 87] from Operation: 65+22=87
Current State: 90:[3, 87], Operations: ['84/28=3', '65+22=87']
Exploring Operation: 3+87=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[84, 65, 22, 28], Operations: []
Exploring Operation: 65-22=43, Resulting Numbers: [84, 28, 43]
Generated Node #0,0: 90:[84, 28, 43] Operation: 65-22=43
Exploring Operation: 65+22=87, Resulting Numbers: [84, 28, 87]
Generated Node #0,1: 90:[84, 28, 87] Operation: 65+22=87
Exploring Operation: 84-65=19, Resulting Numbers: [22, 28, 19]
Generated Node #0,2: 90:[22, 28, 19] Operation: 84-65=19
Exploring Operation: 65-28=37, Resulting Numbers: [84, 22, 37]
Generated Node #0,3: 90:[84, 22, 37] Operation: 65-28=37
Exploring Operation: 65+28=93, Resulting Numbers: [84, 22, 93]
Generated Node #0,4: 90:[84, 22, 93] Operation: 65+28=93
Moving to Node #0,2
Current State: 90:[22, 28, 19], Operations: ['84-65=19']
Exploring Operation: 28-22=6, Resulting Numbers: [19, 6]
Generated Node #0,2,0: 90:[19, 6] Operation: 28-22=6
Exploring Operation: 22+19=41, Resulting Numbers: [28, 41]
Generated Node #0,2,1: 90:[28, 41] Operation: 22+19=41
Exploring Operation: 22-19=3, Resulting Numbers: [28, 3]
Generated Node #0,2,2: 90:[28, 3] Operation: 22-19=3
Exploring Operation: 22+28=50, Resulting Numbers: [19, 50]
Generated Node #0,2,3: 90:[19, 50] Operation: 22+28=50
Exploring Operation: 28-19=9, Resulting Numbers: [22, 9]
Generated Node #0,2,4: 90:[22, 9] Operation: 28-19=9
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[19, 6], Operations: ['84-65=19', '28-22=6']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,90 unequal: No Solution
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,90 unequal: No Solution
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[28, 3], Operations: ['84-65=19', '22-19=3']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,90 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 90:[22, 9], Operations: ['84-65=19', '28-19=9']
Exploring Operation: 22+9=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Exploring Operation: 22*9=198, Resulting Numbers: [198]
198,90 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[28, 41], Operations: ['84-65=19', '22+19=41']
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,90 unequal: No Solution
Exploring Operation: 28+41=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Exploring Operation: 28*41=1148, Resulting Numbers: [1148]
1148,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 90:[19, 50], Operations: ['84-65=19', '22+28=50']
Exploring Operation: 19*50=950, Resulting Numbers: [950]
950,90 unequal: No Solution
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Exploring Operation: 19+50=69, Resulting Numbers: [69]
69,90 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: 90:[84, 28, 43], Operations: ['65-22=43']
Exploring Operation: 84-28=56, Resulting Numbers: [43, 56]
Generated Node #0,0,0: 90:[43, 56] Operation: 84-28=56
Exploring Operation: 84+28=112, Resulting Numbers: [43, 112]
Generated Node #0,0,1: 90:[43, 112] Operation: 84+28=112
Exploring Operation: 43-28=15, Resulting Numbers: [84, 15]
Generated Node #0,0,2: 90:[84, 15] Operation: 43-28=15
Exploring Operation: 84/28=3, Resulting Numbers: [43, 3]
Generated Node #0,0,3: 90:[43, 3] Operation: 84/28=3
Exploring Operation: 84-43=41, Resulting Numbers: [28, 41]
Generated Node #0,0,4: 90:[28, 41] Operation: 84-43=41
Moving to Node #0,1
Current State: 90:[84, 28, 87], Operations: ['65+22=87']
Exploring Operation: 84-28=56, Resulting Numbers: [87, 56]
Generated Node #0,1,0: 90:[87, 56] Operation: 84-28=56
Exploring Operation: 87-84=3, Resulting Numbers: [28, 3]
Generated Node #0,1,1: 90:[28, 3] Operation: 87-84=3
Exploring Operation: 84+28=112, Resulting Numbers: [87, 112]
Generated Node #0,1,2: 90:[87, 112] Operation: 84+28=112
Exploring Operation: 84/28=3, Resulting Numbers: [87, 3]
Generated Node #0,1,3: 90:[87, 3] Operation: 84/28=3
Exploring Operation: 87-28=59, Resulting Numbers: [84, 59]
Generated Node #0,1,4: 90:[84, 59] Operation: 87-28=59
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[28, 3], Operations: ['65+22=87', '87-84=3']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,90 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,90 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,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,1,3
Current State: 90:[87, 3], Operations: ['65+22=87', '84/28=3']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,90 unequal: No Solution
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[84, 65, 22, 28], Operations: []
Exploring Operation: 65+22=87, Resulting Numbers: [84, 28, 87]
Generated Node #0,1: 90:[84, 28, 87] Operation: 65+22=87
Moving to Node #0,1
Current State: 90:[84, 28, 87], Operations: ['65+22=87']
Exploring Operation: 84/28=3, Resulting Numbers: [87, 3]
Generated Node #0,1,3: 90:[87, 3] Operation: 84/28=3
Moving to Node #0,1,3
Current State: 90:[87, 3], Operations: ['65+22=87', '84/28=3']
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_5 | mult_heuristic |
[
18,
55,
2,
27
] | 74 | [
"55-27=28",
"2*28=56",
"18+56=74"
] | Current State: 74:[18, 55, 2, 27], Operations: []
Exploring Operation: 55-27=28, Resulting Numbers: [18, 2, 28]
Generated Node #2: [18, 2, 28] from Operation: 55-27=28
Current State: 74:[18, 2, 28], Operations: ['55-27=28']
Exploring Operation: 2*28=56, Resulting Numbers: [18, 56]
Generated Node #3: [18, 56] from Operation: 2*28=56
Current State: 74:[18, 56], Operations: ['55-27=28', '2*28=56']
Exploring Operation: 18+56=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[18, 55, 2, 27], Operations: []
Exploring Operation: 55-27=28, Resulting Numbers: [18, 2, 28]
Generated Node #0,0: 74:[18, 2, 28] Operation: 55-27=28
Exploring Operation: 55+27=82, Resulting Numbers: [18, 2, 82]
Generated Node #0,1: 74:[18, 2, 82] Operation: 55+27=82
Exploring Operation: 55-18=37, Resulting Numbers: [2, 27, 37]
Generated Node #0,2: 74:[2, 27, 37] Operation: 55-18=37
Exploring Operation: 18+55=73, Resulting Numbers: [2, 27, 73]
Generated Node #0,3: 74:[2, 27, 73] Operation: 18+55=73
Exploring Operation: 27-18=9, Resulting Numbers: [55, 2, 9]
Generated Node #0,4: 74:[55, 2, 9] Operation: 27-18=9
Moving to Node #0,2
Current State: 74:[2, 27, 37], Operations: ['55-18=37']
Exploring Operation: 27+37=64, Resulting Numbers: [2, 64]
Generated Node #0,2,0: 74:[2, 64] Operation: 27+37=64
Exploring Operation: 27-2=25, Resulting Numbers: [37, 25]
Generated Node #0,2,1: 74:[37, 25] Operation: 27-2=25
Exploring Operation: 2+27=29, Resulting Numbers: [37, 29]
Generated Node #0,2,2: 74:[37, 29] Operation: 2+27=29
Exploring Operation: 37-27=10, Resulting Numbers: [2, 10]
Generated Node #0,2,3: 74:[2, 10] Operation: 37-27=10
Exploring Operation: 2*37=74, Resulting Numbers: [27, 74]
Generated Node #0,2,4: 74:[27, 74] Operation: 2*37=74
Moving to Node #0,3
Current State: 74:[2, 27, 73], Operations: ['18+55=73']
Exploring Operation: 2+27=29, Resulting Numbers: [73, 29]
Generated Node #0,3,0: 74:[73, 29] Operation: 2+27=29
Exploring Operation: 2+73=75, Resulting Numbers: [27, 75]
Generated Node #0,3,1: 74:[27, 75] Operation: 2+73=75
Exploring Operation: 27-2=25, Resulting Numbers: [73, 25]
Generated Node #0,3,2: 74:[73, 25] Operation: 27-2=25
Exploring Operation: 73-2=71, Resulting Numbers: [27, 71]
Generated Node #0,3,3: 74:[27, 71] Operation: 73-2=71
Exploring Operation: 73-27=46, Resulting Numbers: [2, 46]
Generated Node #0,3,4: 74:[2, 46] Operation: 73-27=46
Moving to Node #0,1
Current State: 74:[18, 2, 82], Operations: ['55+27=82']
Exploring Operation: 18*2=36, Resulting Numbers: [82, 36]
Generated Node #0,1,0: 74:[82, 36] Operation: 18*2=36
Exploring Operation: 82/2=41, Resulting Numbers: [18, 41]
Generated Node #0,1,1: 74:[18, 41] Operation: 82/2=41
Exploring Operation: 18/2=9, Resulting Numbers: [82, 9]
Generated Node #0,1,2: 74:[82, 9] Operation: 18/2=9
Exploring Operation: 82-18=64, Resulting Numbers: [2, 64]
Generated Node #0,1,3: 74:[2, 64] Operation: 82-18=64
Exploring Operation: 18-2=16, Resulting Numbers: [82, 16]
Generated Node #0,1,4: 74:[82, 16] Operation: 18-2=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[82, 36], Operations: ['55+27=82', '18*2=36']
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,74 unequal: No Solution
Exploring Operation: 82*36=2952, Resulting Numbers: [2952]
2952,74 unequal: No Solution
Exploring Operation: 82+36=118, Resulting Numbers: [118]
118,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 74:[2, 64], Operations: ['55+27=82', '82-18=64']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,74 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 2*64=128, Resulting Numbers: [128]
128,74 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 74:[82, 9], Operations: ['55+27=82', '18/2=9']
Exploring Operation: 82*9=738, Resulting Numbers: [738]
738,74 unequal: No Solution
Exploring Operation: 82+9=91, Resulting Numbers: [91]
91,74 unequal: No Solution
Exploring Operation: 82-9=73, Resulting Numbers: [73]
73,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[18, 41], Operations: ['55+27=82', '82/2=41']
Exploring Operation: 18*41=738, Resulting Numbers: [738]
738,74 unequal: No Solution
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 18+41=59, Resulting Numbers: [59]
59,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 74:[82, 16], Operations: ['55+27=82', '18-2=16']
Exploring Operation: 82*16=1312, Resulting Numbers: [1312]
1312,74 unequal: No Solution
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 82+16=98, Resulting Numbers: [98]
98,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 74:[18, 2, 28], Operations: ['55-27=28']
Exploring Operation: 18-2=16, Resulting Numbers: [28, 16]
Generated Node #0,0,0: 74:[28, 16] Operation: 18-2=16
Exploring Operation: 18/2=9, Resulting Numbers: [28, 9]
Generated Node #0,0,1: 74:[28, 9] Operation: 18/2=9
Exploring Operation: 28-18=10, Resulting Numbers: [2, 10]
Generated Node #0,0,2: 74:[2, 10] Operation: 28-18=10
Exploring Operation: 18*2=36, Resulting Numbers: [28, 36]
Generated Node #0,0,3: 74:[28, 36] Operation: 18*2=36
Exploring Operation: 18+28=46, Resulting Numbers: [2, 46]
Generated Node #0,0,4: 74:[2, 46] Operation: 18+28=46
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 74:[2, 10], Operations: ['55-27=28', '28-18=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,74 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,74 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 74:[2, 46], Operations: ['55-27=28', '18+28=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 74:[28, 36], Operations: ['55-27=28', '18*2=36']
Exploring Operation: 28*36=1008, Resulting Numbers: [1008]
1008,74 unequal: No Solution
Exploring Operation: 28+36=64, Resulting Numbers: [64]
64,74 unequal: No Solution
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[28, 9], Operations: ['55-27=28', '18/2=9']
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,74 unequal: No Solution
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[28, 16], Operations: ['55-27=28', '18-2=16']
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,74 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 74:[55, 2, 9], Operations: ['27-18=9']
Exploring Operation: 55+9=64, Resulting Numbers: [2, 64]
Generated Node #0,4,0: 74:[2, 64] Operation: 55+9=64
Exploring Operation: 55-2=53, Resulting Numbers: [9, 53]
Generated Node #0,4,1: 74:[9, 53] Operation: 55-2=53
Exploring Operation: 55-9=46, Resulting Numbers: [2, 46]
Generated Node #0,4,2: 74:[2, 46] Operation: 55-9=46
Exploring Operation: 55+2=57, Resulting Numbers: [9, 57]
Generated Node #0,4,3: 74:[9, 57] Operation: 55+2=57
Exploring Operation: 9-2=7, Resulting Numbers: [55, 7]
Generated Node #0,4,4: 74:[55, 7] Operation: 9-2=7
Moving to Node #0,2,2
Current State: 74:[37, 29], Operations: ['55-18=37', '2+27=29']
Exploring Operation: 37*29=1073, Resulting Numbers: [1073]
1073,74 unequal: No Solution
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Moving to Node #0,2,3
Current State: 74:[2, 10], Operations: ['55-18=37', '37-27=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,74 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,74 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[73, 29], Operations: ['18+55=73', '2+27=29']
Exploring Operation: 73+29=102, Resulting Numbers: [102]
102,74 unequal: No Solution
Exploring Operation: 73-29=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 73*29=2117, Resulting Numbers: [2117]
2117,74 unequal: No Solution
Moving to Node #0,3,4
Current State: 74:[2, 46], Operations: ['18+55=73', '73-27=46']
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,74 unequal: No Solution
Moving to Node #0,4,2
Current State: 74:[2, 46], Operations: ['27-18=9', '55-9=46']
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,74 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[2, 64], Operations: ['55-18=37', '27+37=64']
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,74 unequal: No Solution
Exploring Operation: 2*64=128, Resulting Numbers: [128]
128,74 unequal: No Solution
Moving to Node #0,4,0
Current State: 74:[2, 64], Operations: ['27-18=9', '55+9=64']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 2*64=128, Resulting Numbers: [128]
128,74 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,74 unequal: No Solution
Moving to Node #0,2,4
Current State: 74:[27, 74], Operations: ['55-18=37', '2*37=74']
Exploring Operation: 27*74=1998, Resulting Numbers: [1998]
1998,74 unequal: No Solution
Exploring Operation: 74-27=47, Resulting Numbers: [47]
47,74 unequal: No Solution
Exploring Operation: 27+74=101, Resulting Numbers: [101]
101,74 unequal: No Solution
Moving to Node #0,3,1
Current State: 74:[27, 75], Operations: ['18+55=73', '2+73=75']
Exploring Operation: 75-27=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 27*75=2025, Resulting Numbers: [2025]
2025,74 unequal: No Solution
Exploring Operation: 27+75=102, Resulting Numbers: [102]
102,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[37, 25], Operations: ['55-18=37', '27-2=25']
Exploring Operation: 37*25=925, Resulting Numbers: [925]
925,74 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,74 unequal: No Solution
Exploring Operation: 37+25=62, Resulting Numbers: [62]
62,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[27, 71], Operations: ['18+55=73', '73-2=71']
Exploring Operation: 71-27=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 27*71=1917, Resulting Numbers: [1917]
1917,74 unequal: No Solution
Exploring Operation: 27+71=98, Resulting Numbers: [98]
98,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[73, 25], Operations: ['18+55=73', '27-2=25']
Exploring Operation: 73*25=1825, Resulting Numbers: [1825]
1825,74 unequal: No Solution
Exploring Operation: 73+25=98, Resulting Numbers: [98]
98,74 unequal: No Solution
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Moving to Node #0,4,4
Current State: 74:[55, 7], Operations: ['27-18=9', '9-2=7']
Exploring Operation: 55*7=385, Resulting Numbers: [385]
385,74 unequal: No Solution
Exploring Operation: 55+7=62, Resulting Numbers: [62]
62,74 unequal: No Solution
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Moving to Node #0,4,1
Current State: 74:[9, 53], Operations: ['27-18=9', '55-2=53']
Exploring Operation: 9+53=62, Resulting Numbers: [62]
62,74 unequal: No Solution
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 9*53=477, Resulting Numbers: [477]
477,74 unequal: No Solution
Moving to Node #0,4,3
Current State: 74:[9, 57], Operations: ['27-18=9', '55+2=57']
Exploring Operation: 9*57=513, Resulting Numbers: [513]
513,74 unequal: No Solution
Exploring Operation: 9+57=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,74 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
54,
49,
59,
50
] | 14 | [
"54-49=5",
"59-50=9",
"5+9=14"
] | Current State: 14:[54, 49, 59, 50], Operations: []
Exploring Operation: 54-49=5, Resulting Numbers: [59, 50, 5]
Generated Node #2: [59, 50, 5] from Operation: 54-49=5
Current State: 14:[59, 50, 5], Operations: ['54-49=5']
Exploring Operation: 59-50=9, Resulting Numbers: [5, 9]
Generated Node #3: [5, 9] from Operation: 59-50=9
Current State: 14:[5, 9], Operations: ['54-49=5', '59-50=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[54, 49, 59, 50], Operations: []
Exploring Operation: 59-54=5, Resulting Numbers: [49, 50, 5]
Generated Node #0,0: 14:[49, 50, 5] Operation: 59-54=5
Exploring Operation: 59-50=9, Resulting Numbers: [54, 49, 9]
Generated Node #0,1: 14:[54, 49, 9] Operation: 59-50=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[49, 50, 5], Operations: ['59-54=5']
Exploring Operation: 50-49=1, Resulting Numbers: [5, 1]
Generated Node #0,0,0: 14:[5, 1] Operation: 50-49=1
Exploring Operation: 50/5=10, Resulting Numbers: [49, 10]
Generated Node #0,0,1: 14:[49, 10] Operation: 50/5=10
Moving to Node #0,0,0
Current State: 14:[5, 1], Operations: ['59-54=5', '50-49=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[49, 10], Operations: ['59-54=5', '50/5=10']
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 49+10=59, Resulting Numbers: [59]
59,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[54, 49, 9], Operations: ['59-50=9']
Exploring Operation: 54-49=5, Resulting Numbers: [9, 5]
Generated Node #0,1,0: 14:[9, 5] Operation: 54-49=5
Exploring Operation: 54/9=6, Resulting Numbers: [49, 6]
Generated Node #0,1,1: 14:[49, 6] Operation: 54/9=6
Moving to Node #0,1,0
Current State: 14:[9, 5], Operations: ['59-50=9', '54-49=5']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[54, 49, 59, 50], Operations: []
Exploring Operation: 59-50=9, Resulting Numbers: [54, 49, 9]
Generated Node #0,1: 14:[54, 49, 9] Operation: 59-50=9
Moving to Node #0,1
Current State: 14:[54, 49, 9], Operations: ['59-50=9']
Exploring Operation: 54-49=5, Resulting Numbers: [9, 5]
Generated Node #0,1,0: 14:[9, 5] Operation: 54-49=5
Moving to Node #0,1,0
Current State: 14:[9, 5], Operations: ['59-50=9', '54-49=5']
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
38,
92,
6,
19
] | 84 | [
"38/19=2",
"92-6=86",
"86-2=84"
] | Current State: 84:[38, 92, 6, 19], Operations: []
Exploring Operation: 38/19=2, Resulting Numbers: [92, 6, 2]
Generated Node #2: [92, 6, 2] from Operation: 38/19=2
Current State: 84:[92, 6, 2], Operations: ['38/19=2']
Exploring Operation: 92-6=86, Resulting Numbers: [2, 86]
Generated Node #3: [2, 86] from Operation: 92-6=86
Current State: 84:[2, 86], Operations: ['38/19=2', '92-6=86']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[38, 92, 6, 19], Operations: []
Exploring Operation: 92-6=86, Resulting Numbers: [38, 19, 86]
Generated Node #0,0: 84:[38, 19, 86] Operation: 92-6=86
Exploring Operation: 38/19=2, Resulting Numbers: [92, 6, 2]
Generated Node #0,1: 84:[92, 6, 2] Operation: 38/19=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[38, 19, 86], Operations: ['92-6=86']
Exploring Operation: 38/19=2, Resulting Numbers: [86, 2]
Generated Node #0,0,0: 84:[86, 2] Operation: 38/19=2
Exploring Operation: 38-19=19, Resulting Numbers: [86, 19]
Generated Node #0,0,1: 84:[86, 19] Operation: 38-19=19
Moving to Node #0,0,0
Current State: 84:[86, 2], Operations: ['92-6=86', '38/19=2']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[38, 92, 6, 19], Operations: []
Exploring Operation: 92-6=86, Resulting Numbers: [38, 19, 86]
Generated Node #0,0: 84:[38, 19, 86] Operation: 92-6=86
Moving to Node #0,0
Current State: 84:[38, 19, 86], Operations: ['92-6=86']
Exploring Operation: 38/19=2, Resulting Numbers: [86, 2]
Generated Node #0,0,0: 84:[86, 2] Operation: 38/19=2
Moving to Node #0,0,0
Current State: 84:[86, 2], Operations: ['92-6=86', '38/19=2']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
3,
64,
25,
47
] | 88 | [
"25+47=72",
"72/3=24",
"64+24=88"
] | Current State: 88:[3, 64, 25, 47], Operations: []
Exploring Operation: 25+47=72, Resulting Numbers: [3, 64, 72]
Generated Node #2: [3, 64, 72] from Operation: 25+47=72
Current State: 88:[3, 64, 72], Operations: ['25+47=72']
Exploring Operation: 72/3=24, Resulting Numbers: [64, 24]
Generated Node #3: [64, 24] from Operation: 72/3=24
Current State: 88:[64, 24], Operations: ['25+47=72', '72/3=24']
Exploring Operation: 64+24=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[3, 64, 25, 47], Operations: []
Exploring Operation: 64+25=89, Resulting Numbers: [3, 47, 89]
Generated Node #0,0: 88:[3, 47, 89] Operation: 64+25=89
Exploring Operation: 64-25=39, Resulting Numbers: [3, 47, 39]
Generated Node #0,1: 88:[3, 47, 39] Operation: 64-25=39
Moving to Node #0,0
Current State: 88:[3, 47, 89], Operations: ['64+25=89']
Exploring Operation: 47-3=44, Resulting Numbers: [89, 44]
Generated Node #0,0,0: 88:[89, 44] Operation: 47-3=44
Exploring Operation: 89-47=42, Resulting Numbers: [3, 42]
Generated Node #0,0,1: 88:[3, 42] Operation: 89-47=42
Moving to Node #0,1
Current State: 88:[3, 47, 39], Operations: ['64-25=39']
Exploring Operation: 47-39=8, Resulting Numbers: [3, 8]
Generated Node #0,1,0: 88:[3, 8] Operation: 47-39=8
Exploring Operation: 47+39=86, Resulting Numbers: [3, 86]
Generated Node #0,1,1: 88:[3, 86] Operation: 47+39=86
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[3, 8], Operations: ['64-25=39', '47-39=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,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,1
Current State: 88:[3, 86], Operations: ['64-25=39', '47+39=86']
Exploring Operation: 3+86=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,88 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: 88:[89, 44], Operations: ['64+25=89', '47-3=44']
Exploring Operation: 89+44=133, Resulting Numbers: [133]
133,88 unequal: No Solution
Exploring Operation: 89-44=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[3, 42], Operations: ['64+25=89', '89-47=42']
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,88 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
40,
15,
26,
52
] | 81 | [
"40+15=55",
"52-26=26",
"55+26=81"
] | Current State: 81:[40, 15, 26, 52], Operations: []
Exploring Operation: 40+15=55, Resulting Numbers: [26, 52, 55]
Generated Node #2: [26, 52, 55] from Operation: 40+15=55
Current State: 81:[26, 52, 55], Operations: ['40+15=55']
Exploring Operation: 52-26=26, Resulting Numbers: [55, 26]
Generated Node #3: [55, 26] from Operation: 52-26=26
Current State: 81:[55, 26], Operations: ['40+15=55', '52-26=26']
Exploring Operation: 55+26=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[40, 15, 26, 52], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [15, 26, 12]
Generated Node #0,0: 81:[15, 26, 12] Operation: 52-40=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[15, 26, 12], Operations: ['52-40=12']
Exploring Operation: 15+12=27, Resulting Numbers: [26, 27]
Generated Node #0,0,0: 81:[26, 27] Operation: 15+12=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[26, 27], Operations: ['52-40=12', '15+12=27']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
96,
68,
3,
4
] | 56 | [
"96+68=164",
"4+164=168",
"168/3=56"
] | Current State: 56:[96, 68, 3, 4], Operations: []
Exploring Operation: 96+68=164, Resulting Numbers: [3, 4, 164]
Generated Node #2: [3, 4, 164] from Operation: 96+68=164
Current State: 56:[3, 4, 164], Operations: ['96+68=164']
Exploring Operation: 4+164=168, Resulting Numbers: [3, 168]
Generated Node #3: [3, 168] from Operation: 4+164=168
Current State: 56:[3, 168], Operations: ['96+68=164', '4+164=168']
Exploring Operation: 168/3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[96, 68, 3, 4], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [68, 3, 24]
Generated Node #0,0: 56:[68, 3, 24] Operation: 96/4=24
Exploring Operation: 96-68=28, Resulting Numbers: [3, 4, 28]
Generated Node #0,1: 56:[3, 4, 28] Operation: 96-68=28
Exploring Operation: 96/3=32, Resulting Numbers: [68, 4, 32]
Generated Node #0,2: 56:[68, 4, 32] Operation: 96/3=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[3, 4, 28], Operations: ['96-68=28']
Exploring Operation: 4-3=1, Resulting Numbers: [28, 1]
Generated Node #0,1,0: 56:[28, 1] Operation: 4-3=1
Exploring Operation: 3+4=7, Resulting Numbers: [28, 7]
Generated Node #0,1,1: 56:[28, 7] Operation: 3+4=7
Exploring Operation: 28/4=7, Resulting Numbers: [3, 7]
Generated Node #0,1,2: 56:[3, 7] Operation: 28/4=7
Moving to Node #0,1,1
Current State: 56:[28, 7], Operations: ['96-68=28', '3+4=7']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,56 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[28, 1], Operations: ['96-68=28', '4-3=1']
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[3, 7], Operations: ['96-68=28', '28/4=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,56 unequal: No Solution
No 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: 56:[68, 4, 32], Operations: ['96/3=32']
Exploring Operation: 68-4=64, Resulting Numbers: [32, 64]
Generated Node #0,2,0: 56:[32, 64] Operation: 68-4=64
Exploring Operation: 68/4=17, Resulting Numbers: [32, 17]
Generated Node #0,2,1: 56:[32, 17] Operation: 68/4=17
Exploring Operation: 68-32=36, Resulting Numbers: [4, 36]
Generated Node #0,2,2: 56:[4, 36] Operation: 68-32=36
Moving to Node #0,2,1
Current State: 56:[32, 17], Operations: ['96/3=32', '68/4=17']
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,56 unequal: No Solution
Exploring Operation: 32*17=544, Resulting Numbers: [544]
544,56 unequal: No Solution
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[4, 36], Operations: ['96/3=32', '68-32=36']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,56 unequal: No Solution
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,56 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[32, 64], Operations: ['96/3=32', '68-4=64']
Exploring Operation: 32+64=96, Resulting Numbers: [96]
96,56 unequal: No Solution
Exploring Operation: 64/32=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,56 unequal: No Solution
No solution 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: 56:[68, 3, 24], Operations: ['96/4=24']
Exploring Operation: 68-24=44, Resulting Numbers: [3, 44]
Generated Node #0,0,0: 56:[3, 44] Operation: 68-24=44
Exploring Operation: 24/3=8, Resulting Numbers: [68, 8]
Generated Node #0,0,1: 56:[68, 8] Operation: 24/3=8
Exploring Operation: 68-3=65, Resulting Numbers: [24, 65]
Generated Node #0,0,2: 56:[24, 65] Operation: 68-3=65
Moving to Node #0,0,1
Current State: 56:[68, 8], Operations: ['96/4=24', '24/3=8']
Exploring Operation: 68+8=76, Resulting Numbers: [76]
76,56 unequal: No Solution
Exploring Operation: 68*8=544, Resulting Numbers: [544]
544,56 unequal: No Solution
Exploring Operation: 68-8=60, Resulting Numbers: [60]
60,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[3, 44], Operations: ['96/4=24', '68-24=44']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,56 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,56 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[24, 65], Operations: ['96/4=24', '68-3=65']
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,56 unequal: No Solution
Exploring Operation: 24*65=1560, Resulting Numbers: [1560]
1560,56 unequal: No Solution
Exploring Operation: 24+65=89, Resulting Numbers: [89]
89,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
8,
3,
15,
72
] | 47 | [
"8+15=23",
"72/3=24",
"23+24=47"
] | Current State: 47:[8, 3, 15, 72], Operations: []
Exploring Operation: 8+15=23, Resulting Numbers: [3, 72, 23]
Generated Node #2: [3, 72, 23] from Operation: 8+15=23
Current State: 47:[3, 72, 23], Operations: ['8+15=23']
Exploring Operation: 72/3=24, Resulting Numbers: [23, 24]
Generated Node #3: [23, 24] from Operation: 72/3=24
Current State: 47:[23, 24], Operations: ['8+15=23', '72/3=24']
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[8, 3, 15, 72], Operations: []
Exploring Operation: 8*3=24, Resulting Numbers: [15, 72, 24]
Generated Node #0,0: 47:[15, 72, 24] Operation: 8*3=24
Exploring Operation: 8+3=11, Resulting Numbers: [15, 72, 11]
Generated Node #0,1: 47:[15, 72, 11] Operation: 8+3=11
Exploring Operation: 3*15=45, Resulting Numbers: [8, 72, 45]
Generated Node #0,2: 47:[8, 72, 45] Operation: 3*15=45
Moving to Node #0,2
Current State: 47:[8, 72, 45], Operations: ['3*15=45']
Exploring Operation: 8+72=80, Resulting Numbers: [45, 80]
Generated Node #0,2,0: 47:[45, 80] Operation: 8+72=80
Exploring Operation: 8+45=53, Resulting Numbers: [72, 53]
Generated Node #0,2,1: 47:[72, 53] Operation: 8+45=53
Exploring Operation: 72-8=64, Resulting Numbers: [45, 64]
Generated Node #0,2,2: 47:[45, 64] Operation: 72-8=64
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[45, 64], Operations: ['3*15=45', '72-8=64']
Exploring Operation: 64-45=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 45*64=2880, Resulting Numbers: [2880]
2880,47 unequal: No Solution
Exploring Operation: 45+64=109, Resulting Numbers: [109]
109,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[72, 53], Operations: ['3*15=45', '8+45=53']
Exploring Operation: 72+53=125, Resulting Numbers: [125]
125,47 unequal: No Solution
Exploring Operation: 72-53=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 72*53=3816, Resulting Numbers: [3816]
3816,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[45, 80], Operations: ['3*15=45', '8+72=80']
Exploring Operation: 45*80=3600, Resulting Numbers: [3600]
3600,47 unequal: No Solution
Exploring Operation: 80-45=35, Resulting Numbers: [35]
35,47 unequal: No Solution
Exploring Operation: 45+80=125, Resulting Numbers: [125]
125,47 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: 47:[15, 72, 24], Operations: ['8*3=24']
Exploring Operation: 72-24=48, Resulting Numbers: [15, 48]
Generated Node #0,0,0: 47:[15, 48] Operation: 72-24=48
Exploring Operation: 72-15=57, Resulting Numbers: [24, 57]
Generated Node #0,0,1: 47:[24, 57] Operation: 72-15=57
Exploring Operation: 15+24=39, Resulting Numbers: [72, 39]
Generated Node #0,0,2: 47:[72, 39] Operation: 15+24=39
Moving to Node #0,1
Current State: 47:[15, 72, 11], Operations: ['8+3=11']
Exploring Operation: 15+11=26, Resulting Numbers: [72, 26]
Generated Node #0,1,0: 47:[72, 26] Operation: 15+11=26
Exploring Operation: 72-15=57, Resulting Numbers: [11, 57]
Generated Node #0,1,1: 47:[11, 57] Operation: 72-15=57
Exploring Operation: 72-11=61, Resulting Numbers: [15, 61]
Generated Node #0,1,2: 47:[15, 61] Operation: 72-11=61
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[72, 26], Operations: ['8+3=11', '15+11=26']
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,47 unequal: No Solution
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,47 unequal: No Solution
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[11, 57], Operations: ['8+3=11', '72-15=57']
Exploring Operation: 57-11=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 11*57=627, Resulting Numbers: [627]
627,47 unequal: No Solution
Exploring Operation: 11+57=68, Resulting Numbers: [68]
68,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 47:[15, 61], Operations: ['8+3=11', '72-11=61']
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 15*61=915, Resulting Numbers: [915]
915,47 unequal: No Solution
Exploring Operation: 15+61=76, Resulting Numbers: [76]
76,47 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: 47:[15, 48], Operations: ['8*3=24', '72-24=48']
Exploring Operation: 15+48=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,47 unequal: No Solution
Exploring Operation: 15*48=720, Resulting Numbers: [720]
720,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[24, 57], Operations: ['8*3=24', '72-15=57']
Exploring Operation: 24*57=1368, Resulting Numbers: [1368]
1368,47 unequal: No Solution
Exploring Operation: 24+57=81, Resulting Numbers: [81]
81,47 unequal: No Solution
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[72, 39], Operations: ['8*3=24', '15+24=39']
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,47 unequal: No Solution
Exploring Operation: 72*39=2808, Resulting Numbers: [2808]
2808,47 unequal: No Solution
Exploring Operation: 72+39=111, Resulting Numbers: [111]
111,47 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
85,
95,
57,
11
] | 58 | [
"95-85=10",
"57+11=68",
"68-10=58"
] | Current State: 58:[85, 95, 57, 11], Operations: []
Exploring Operation: 95-85=10, Resulting Numbers: [57, 11, 10]
Generated Node #2: [57, 11, 10] from Operation: 95-85=10
Current State: 58:[57, 11, 10], Operations: ['95-85=10']
Exploring Operation: 57+11=68, Resulting Numbers: [10, 68]
Generated Node #3: [10, 68] from Operation: 57+11=68
Current State: 58:[10, 68], Operations: ['95-85=10', '57+11=68']
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[85, 95, 57, 11], Operations: []
Exploring Operation: 95-85=10, Resulting Numbers: [57, 11, 10]
Generated Node #0,0: 58:[57, 11, 10] Operation: 95-85=10
Moving to Node #0,0
Current State: 58:[57, 11, 10], Operations: ['95-85=10']
Exploring Operation: 11-10=1, Resulting Numbers: [57, 1]
Generated Node #0,0,0: 58:[57, 1] Operation: 11-10=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[57, 1], Operations: ['95-85=10', '11-10=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[85, 95, 57, 11], Operations: []
Exploring Operation: 95-85=10, Resulting Numbers: [57, 11, 10]
Generated Node #0,0: 58:[57, 11, 10] Operation: 95-85=10
Moving to Node #0,0
Current State: 58:[57, 11, 10], Operations: ['95-85=10']
Exploring Operation: 11-10=1, Resulting Numbers: [57, 1]
Generated Node #0,0,0: 58:[57, 1] Operation: 11-10=1
Moving to Node #0,0,0
Current State: 58:[57, 1], Operations: ['95-85=10', '11-10=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
25,
75,
19,
37
] | 94 | [
"75/25=3",
"19*3=57",
"37+57=94"
] | Current State: 94:[25, 75, 19, 37], Operations: []
Exploring Operation: 75/25=3, Resulting Numbers: [19, 37, 3]
Generated Node #2: [19, 37, 3] from Operation: 75/25=3
Current State: 94:[19, 37, 3], Operations: ['75/25=3']
Exploring Operation: 19*3=57, Resulting Numbers: [37, 57]
Generated Node #3: [37, 57] from Operation: 19*3=57
Current State: 94:[37, 57], Operations: ['75/25=3', '19*3=57']
Exploring Operation: 37+57=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[25, 75, 19, 37], Operations: []
Exploring Operation: 75/25=3, Resulting Numbers: [19, 37, 3]
Generated Node #0,0: 94:[19, 37, 3] Operation: 75/25=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[19, 37, 3], Operations: ['75/25=3']
Exploring Operation: 19+37=56, Resulting Numbers: [3, 56]
Generated Node #0,0,0: 94:[3, 56] Operation: 19+37=56
Moving to Node #0,0,0
Current State: 94:[3, 56], Operations: ['75/25=3', '19+37=56']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
10,
79,
46,
55
] | 18 | [
"79+46=125",
"55+125=180",
"180/10=18"
] | Current State: 18:[10, 79, 46, 55], Operations: []
Exploring Operation: 79+46=125, Resulting Numbers: [10, 55, 125]
Generated Node #2: [10, 55, 125] from Operation: 79+46=125
Current State: 18:[10, 55, 125], Operations: ['79+46=125']
Exploring Operation: 55+125=180, Resulting Numbers: [10, 180]
Generated Node #3: [10, 180] from Operation: 55+125=180
Current State: 18:[10, 180], Operations: ['79+46=125', '55+125=180']
Exploring Operation: 180/10=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[10, 79, 46, 55], Operations: []
Exploring Operation: 79-55=24, Resulting Numbers: [10, 46, 24]
Generated Node #0,0: 18:[10, 46, 24] Operation: 79-55=24
Exploring Operation: 79-46=33, Resulting Numbers: [10, 55, 33]
Generated Node #0,1: 18:[10, 55, 33] Operation: 79-46=33
Moving to Node #0,0
Current State: 18:[10, 46, 24], Operations: ['79-55=24']
Exploring Operation: 46-24=22, Resulting Numbers: [10, 22]
Generated Node #0,0,0: 18:[10, 22] Operation: 46-24=22
Exploring Operation: 46-10=36, Resulting Numbers: [24, 36]
Generated Node #0,0,1: 18:[24, 36] Operation: 46-10=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[10, 22], Operations: ['79-55=24', '46-24=22']
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,18 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,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,1
Current State: 18:[24, 36], Operations: ['79-55=24', '46-10=36']
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 24+36=60, Resulting Numbers: [60]
60,18 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: 18:[10, 55, 33], Operations: ['79-46=33']
Exploring Operation: 55-10=45, Resulting Numbers: [33, 45]
Generated Node #0,1,0: 18:[33, 45] Operation: 55-10=45
Exploring Operation: 55-33=22, Resulting Numbers: [10, 22]
Generated Node #0,1,1: 18:[10, 22] Operation: 55-33=22
Moving to Node #0,1,1
Current State: 18:[10, 22], Operations: ['79-46=33', '55-33=22']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[33, 45], Operations: ['79-46=33', '55-10=45']
Exploring Operation: 33+45=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,18 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
67,
25,
94,
56
] | 80 | [
"67-25=42",
"94-56=38",
"42+38=80"
] | Current State: 80:[67, 25, 94, 56], Operations: []
Exploring Operation: 67-25=42, Resulting Numbers: [94, 56, 42]
Generated Node #2: [94, 56, 42] from Operation: 67-25=42
Current State: 80:[94, 56, 42], Operations: ['67-25=42']
Exploring Operation: 94-56=38, Resulting Numbers: [42, 38]
Generated Node #3: [42, 38] from Operation: 94-56=38
Current State: 80:[42, 38], Operations: ['67-25=42', '94-56=38']
Exploring Operation: 42+38=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[67, 25, 94, 56], Operations: []
Exploring Operation: 94-56=38, Resulting Numbers: [67, 25, 38]
Generated Node #0,0: 80:[67, 25, 38] Operation: 94-56=38
Exploring Operation: 67-56=11, Resulting Numbers: [25, 94, 11]
Generated Node #0,1: 80:[25, 94, 11] Operation: 67-56=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[67, 25, 38], Operations: ['94-56=38']
Exploring Operation: 67+25=92, Resulting Numbers: [38, 92]
Generated Node #0,0,0: 80:[38, 92] Operation: 67+25=92
Exploring Operation: 67-25=42, Resulting Numbers: [38, 42]
Generated Node #0,0,1: 80:[38, 42] Operation: 67-25=42
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[38, 42], Operations: ['94-56=38', '67-25=42']
Exploring Operation: 38+42=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[67, 25, 94, 56], Operations: []
Exploring Operation: 94-56=38, Resulting Numbers: [67, 25, 38]
Generated Node #0,0: 80:[67, 25, 38] Operation: 94-56=38
Moving to Node #0,0
Current State: 80:[67, 25, 38], Operations: ['94-56=38']
Exploring Operation: 67-25=42, Resulting Numbers: [38, 42]
Generated Node #0,0,1: 80:[38, 42] Operation: 67-25=42
Moving to Node #0,0,1
Current State: 80:[38, 42], Operations: ['94-56=38', '67-25=42']
Exploring Operation: 38+42=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
20,
98,
35,
59
] | 16 | [
"98-20=78",
"35+59=94",
"94-78=16"
] | Current State: 16:[20, 98, 35, 59], Operations: []
Exploring Operation: 98-20=78, Resulting Numbers: [35, 59, 78]
Generated Node #2: [35, 59, 78] from Operation: 98-20=78
Current State: 16:[35, 59, 78], Operations: ['98-20=78']
Exploring Operation: 35+59=94, Resulting Numbers: [78, 94]
Generated Node #3: [78, 94] from Operation: 35+59=94
Current State: 16:[78, 94], Operations: ['98-20=78', '35+59=94']
Exploring Operation: 94-78=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[20, 98, 35, 59], Operations: []
Exploring Operation: 98-20=78, Resulting Numbers: [35, 59, 78]
Generated Node #0,0: 16:[35, 59, 78] Operation: 98-20=78
Exploring Operation: 98-35=63, Resulting Numbers: [20, 59, 63]
Generated Node #0,1: 16:[20, 59, 63] Operation: 98-35=63
Exploring Operation: 59-20=39, Resulting Numbers: [98, 35, 39]
Generated Node #0,2: 16:[98, 35, 39] Operation: 59-20=39
Exploring Operation: 59-35=24, Resulting Numbers: [20, 98, 24]
Generated Node #0,3: 16:[20, 98, 24] Operation: 59-35=24
Exploring Operation: 98-59=39, Resulting Numbers: [20, 35, 39]
Generated Node #0,4: 16:[20, 35, 39] Operation: 98-59=39
Moving to Node #0,4
Current State: 16:[20, 35, 39], Operations: ['98-59=39']
Exploring Operation: 20+39=59, Resulting Numbers: [35, 59]
Generated Node #0,4,0: 16:[35, 59] Operation: 20+39=59
Exploring Operation: 35-20=15, Resulting Numbers: [39, 15]
Generated Node #0,4,1: 16:[39, 15] Operation: 35-20=15
Exploring Operation: 20+35=55, Resulting Numbers: [39, 55]
Generated Node #0,4,2: 16:[39, 55] Operation: 20+35=55
Exploring Operation: 39-20=19, Resulting Numbers: [35, 19]
Generated Node #0,4,3: 16:[35, 19] Operation: 39-20=19
Exploring Operation: 39-35=4, Resulting Numbers: [20, 4]
Generated Node #0,4,4: 16:[20, 4] Operation: 39-35=4
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 16:[20, 4], Operations: ['98-59=39', '39-35=4']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[20, 98, 35, 59], Operations: []
Exploring Operation: 98-59=39, Resulting Numbers: [20, 35, 39]
Generated Node #0,4: 16:[20, 35, 39] Operation: 98-59=39
Moving to Node #0,4
Current State: 16:[20, 35, 39], Operations: ['98-59=39']
Exploring Operation: 39-35=4, Resulting Numbers: [20, 4]
Generated Node #0,4,4: 16:[20, 4] Operation: 39-35=4
Moving to Node #0,4,4
Current State: 16:[20, 4], Operations: ['98-59=39', '39-35=4']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
15,
16,
3,
28
] | 53 | [
"15+16=31",
"3*28=84",
"84-31=53"
] | Current State: 53:[15, 16, 3, 28], Operations: []
Exploring Operation: 15+16=31, Resulting Numbers: [3, 28, 31]
Generated Node #2: [3, 28, 31] from Operation: 15+16=31
Current State: 53:[3, 28, 31], Operations: ['15+16=31']
Exploring Operation: 3*28=84, Resulting Numbers: [31, 84]
Generated Node #3: [31, 84] from Operation: 3*28=84
Current State: 53:[31, 84], Operations: ['15+16=31', '3*28=84']
Exploring Operation: 84-31=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[15, 16, 3, 28], Operations: []
Exploring Operation: 15+16=31, Resulting Numbers: [3, 28, 31]
Generated Node #0,0: 53:[3, 28, 31] Operation: 15+16=31
Exploring Operation: 16*3=48, Resulting Numbers: [15, 28, 48]
Generated Node #0,1: 53:[15, 28, 48] Operation: 16*3=48
Exploring Operation: 15*3=45, Resulting Numbers: [16, 28, 45]
Generated Node #0,2: 53:[16, 28, 45] Operation: 15*3=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[15, 28, 48], Operations: ['16*3=48']
Exploring Operation: 15+48=63, Resulting Numbers: [28, 63]
Generated Node #0,1,0: 53:[28, 63] Operation: 15+48=63
Exploring Operation: 28-15=13, Resulting Numbers: [48, 13]
Generated Node #0,1,1: 53:[48, 13] Operation: 28-15=13
Exploring Operation: 15+28=43, Resulting Numbers: [48, 43]
Generated Node #0,1,2: 53:[48, 43] Operation: 15+28=43
Moving to Node #0,1,2
Current State: 53:[48, 43], Operations: ['16*3=48', '15+28=43']
Exploring Operation: 48+43=91, Resulting Numbers: [91]
91,53 unequal: No Solution
Exploring Operation: 48*43=2064, Resulting Numbers: [2064]
2064,53 unequal: No Solution
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[28, 63], Operations: ['16*3=48', '15+48=63']
Exploring Operation: 28*63=1764, Resulting Numbers: [1764]
1764,53 unequal: No Solution
Exploring Operation: 28+63=91, Resulting Numbers: [91]
91,53 unequal: No Solution
Exploring Operation: 63-28=35, Resulting Numbers: [35]
35,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[48, 13], Operations: ['16*3=48', '28-15=13']
Exploring Operation: 48*13=624, Resulting Numbers: [624]
624,53 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,53 unequal: No Solution
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[16, 28, 45], Operations: ['15*3=45']
Exploring Operation: 28-16=12, Resulting Numbers: [45, 12]
Generated Node #0,2,0: 53:[45, 12] Operation: 28-16=12
Exploring Operation: 16+45=61, Resulting Numbers: [28, 61]
Generated Node #0,2,1: 53:[28, 61] Operation: 16+45=61
Exploring Operation: 16+28=44, Resulting Numbers: [45, 44]
Generated Node #0,2,2: 53:[45, 44] Operation: 16+28=44
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 53:[45, 44], Operations: ['15*3=45', '16+28=44']
Exploring Operation: 45+44=89, Resulting Numbers: [89]
89,53 unequal: No Solution
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 45*44=1980, Resulting Numbers: [1980]
1980,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 53:[28, 61], Operations: ['15*3=45', '16+45=61']
Exploring Operation: 28*61=1708, Resulting Numbers: [1708]
1708,53 unequal: No Solution
Exploring Operation: 28+61=89, Resulting Numbers: [89]
89,53 unequal: No Solution
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 53:[45, 12], Operations: ['15*3=45', '28-16=12']
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,53 unequal: No Solution
Exploring Operation: 45*12=540, Resulting Numbers: [540]
540,53 unequal: No Solution
Exploring Operation: 45+12=57, Resulting Numbers: [57]
57,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[3, 28, 31], Operations: ['15+16=31']
Exploring Operation: 28-3=25, Resulting Numbers: [31, 25]
Generated Node #0,0,0: 53:[31, 25] Operation: 28-3=25
Exploring Operation: 3+28=31, Resulting Numbers: [31, 31]
Generated Node #0,0,1: 53:[31, 31] Operation: 3+28=31
Exploring Operation: 3+31=34, Resulting Numbers: [28, 34]
Generated Node #0,0,2: 53:[28, 34] Operation: 3+31=34
Moving to Node #0,0,1
Current State: 53:[31, 31], Operations: ['15+16=31', '3+28=31']
Exploring Operation: 31-31=0, Resulting Numbers: [0]
0,53 unequal: No Solution
Exploring Operation: 31/31=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 31+31=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[28, 34], Operations: ['15+16=31', '3+31=34']
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,53 unequal: No Solution
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[31, 25], Operations: ['15+16=31', '28-3=25']
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 31*25=775, Resulting Numbers: [775]
775,53 unequal: No Solution
Exploring Operation: 31+25=56, Resulting Numbers: [56]
56,53 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 |
[
68,
56,
34,
97
] | 43 | [
"68/34=2",
"97-56=41",
"2+41=43"
] | Current State: 43:[68, 56, 34, 97], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [56, 97, 2]
Generated Node #2: [56, 97, 2] from Operation: 68/34=2
Current State: 43:[56, 97, 2], Operations: ['68/34=2']
Exploring Operation: 97-56=41, Resulting Numbers: [2, 41]
Generated Node #3: [2, 41] from Operation: 97-56=41
Current State: 43:[2, 41], Operations: ['68/34=2', '97-56=41']
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[68, 56, 34, 97], Operations: []
Exploring Operation: 97-68=29, Resulting Numbers: [56, 34, 29]
Generated Node #0,0: 43:[56, 34, 29] Operation: 97-68=29
Exploring Operation: 97-56=41, Resulting Numbers: [68, 34, 41]
Generated Node #0,1: 43:[68, 34, 41] Operation: 97-56=41
Exploring Operation: 68-56=12, Resulting Numbers: [34, 97, 12]
Generated Node #0,2: 43:[34, 97, 12] Operation: 68-56=12
Exploring Operation: 97-34=63, Resulting Numbers: [68, 56, 63]
Generated Node #0,3: 43:[68, 56, 63] Operation: 97-34=63
Exploring Operation: 68-34=34, Resulting Numbers: [56, 97, 34]
Generated Node #0,4: 43:[56, 97, 34] Operation: 68-34=34
Moving to Node #0,0
Current State: 43:[56, 34, 29], Operations: ['97-68=29']
Exploring Operation: 34-29=5, Resulting Numbers: [56, 5]
Generated Node #0,0,0: 43:[56, 5] Operation: 34-29=5
Exploring Operation: 34+29=63, Resulting Numbers: [56, 63]
Generated Node #0,0,1: 43:[56, 63] Operation: 34+29=63
Exploring Operation: 56+29=85, Resulting Numbers: [34, 85]
Generated Node #0,0,2: 43:[34, 85] Operation: 56+29=85
Exploring Operation: 56-29=27, Resulting Numbers: [34, 27]
Generated Node #0,0,3: 43:[34, 27] Operation: 56-29=27
Exploring Operation: 56-34=22, Resulting Numbers: [29, 22]
Generated Node #0,0,4: 43:[29, 22] Operation: 56-34=22
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 43:[34, 27], Operations: ['97-68=29', '56-29=27']
Exploring Operation: 34*27=918, Resulting Numbers: [918]
918,43 unequal: No Solution
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,43 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,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,0,1
Current State: 43:[56, 63], Operations: ['97-68=29', '34+29=63']
Exploring Operation: 56+63=119, Resulting Numbers: [119]
119,43 unequal: No Solution
Exploring Operation: 56*63=3528, Resulting Numbers: [3528]
3528,43 unequal: No Solution
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,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,0,4
Current State: 43:[29, 22], Operations: ['97-68=29', '56-34=22']
Exploring Operation: 29+22=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 29*22=638, Resulting Numbers: [638]
638,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,0,0
Current State: 43:[56, 5], Operations: ['97-68=29', '34-29=5']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,43 unequal: No Solution
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,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,0,2
Current State: 43:[34, 85], Operations: ['97-68=29', '56+29=85']
Exploring Operation: 85-34=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Exploring Operation: 34+85=119, Resulting Numbers: [119]
119,43 unequal: No Solution
Exploring Operation: 34*85=2890, Resulting Numbers: [2890]
2890,43 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: 43:[68, 34, 41], Operations: ['97-56=41']
Exploring Operation: 68+34=102, Resulting Numbers: [41, 102]
Generated Node #0,1,0: 43:[41, 102] Operation: 68+34=102
Exploring Operation: 68-41=27, Resulting Numbers: [34, 27]
Generated Node #0,1,1: 43:[34, 27] Operation: 68-41=27
Exploring Operation: 34+41=75, Resulting Numbers: [68, 75]
Generated Node #0,1,2: 43:[68, 75] Operation: 34+41=75
Exploring Operation: 68-34=34, Resulting Numbers: [41, 34]
Generated Node #0,1,3: 43:[41, 34] Operation: 68-34=34
Exploring Operation: 68/34=2, Resulting Numbers: [41, 2]
Generated Node #0,1,4: 43:[41, 2] Operation: 68/34=2
Moving to Node #0,3
Current State: 43:[68, 56, 63], Operations: ['97-34=63']
Exploring Operation: 63-56=7, Resulting Numbers: [68, 7]
Generated Node #0,3,0: 43:[68, 7] Operation: 63-56=7
Exploring Operation: 68-56=12, Resulting Numbers: [63, 12]
Generated Node #0,3,1: 43:[63, 12] Operation: 68-56=12
Exploring Operation: 68-63=5, Resulting Numbers: [56, 5]
Generated Node #0,3,2: 43:[56, 5] Operation: 68-63=5
Exploring Operation: 68+63=131, Resulting Numbers: [56, 131]
Generated Node #0,3,3: 43:[56, 131] Operation: 68+63=131
Exploring Operation: 68+56=124, Resulting Numbers: [63, 124]
Generated Node #0,3,4: 43:[63, 124] Operation: 68+56=124
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 43:[63, 12], Operations: ['97-34=63', '68-56=12']
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Exploring Operation: 63+12=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 63*12=756, Resulting Numbers: [756]
756,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,3,2
Current State: 43:[56, 5], Operations: ['97-34=63', '68-63=5']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,43 unequal: No Solution
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,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,3,0
Current State: 43:[68, 7], Operations: ['97-34=63', '63-56=7']
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,43 unequal: No Solution
Exploring Operation: 68*7=476, Resulting Numbers: [476]
476,43 unequal: No Solution
Exploring Operation: 68+7=75, Resulting Numbers: [75]
75,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,3,3
Current State: 43:[56, 131], Operations: ['97-34=63', '68+63=131']
Exploring Operation: 56*131=7336, Resulting Numbers: [7336]
7336,43 unequal: No Solution
Exploring Operation: 131-56=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 56+131=187, Resulting Numbers: [187]
187,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,3,4
Current State: 43:[63, 124], Operations: ['97-34=63', '68+56=124']
Exploring Operation: 63+124=187, Resulting Numbers: [187]
187,43 unequal: No Solution
Exploring Operation: 124-63=61, Resulting Numbers: [61]
61,43 unequal: No Solution
Exploring Operation: 63*124=7812, Resulting Numbers: [7812]
7812,43 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: 43:[56, 97, 34], Operations: ['68-34=34']
Exploring Operation: 56+34=90, Resulting Numbers: [97, 90]
Generated Node #0,4,0: 43:[97, 90] Operation: 56+34=90
Exploring Operation: 97-56=41, Resulting Numbers: [34, 41]
Generated Node #0,4,1: 43:[34, 41] Operation: 97-56=41
Exploring Operation: 97-34=63, Resulting Numbers: [56, 63]
Generated Node #0,4,2: 43:[56, 63] Operation: 97-34=63
Exploring Operation: 56-34=22, Resulting Numbers: [97, 22]
Generated Node #0,4,3: 43:[97, 22] Operation: 56-34=22
Exploring Operation: 97+34=131, Resulting Numbers: [56, 131]
Generated Node #0,4,4: 43:[56, 131] Operation: 97+34=131
Moving to Node #0,2
Current State: 43:[34, 97, 12], Operations: ['68-56=12']
Exploring Operation: 34-12=22, Resulting Numbers: [97, 22]
Generated Node #0,2,0: 43:[97, 22] Operation: 34-12=22
Exploring Operation: 97-34=63, Resulting Numbers: [12, 63]
Generated Node #0,2,1: 43:[12, 63] Operation: 97-34=63
Exploring Operation: 97-12=85, Resulting Numbers: [34, 85]
Generated Node #0,2,2: 43:[34, 85] Operation: 97-12=85
Exploring Operation: 34+12=46, Resulting Numbers: [97, 46]
Generated Node #0,2,3: 43:[97, 46] Operation: 34+12=46
Exploring Operation: 97+12=109, Resulting Numbers: [34, 109]
Generated Node #0,2,4: 43:[34, 109] Operation: 97+12=109
Moving to Node #0,1,3
Current State: 43:[41, 34], Operations: ['97-56=41', '68-34=34']
Exploring Operation: 41+34=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 41*34=1394, Resulting Numbers: [1394]
1394,43 unequal: No Solution
Moving to Node #0,4,1
Current State: 43:[34, 41], Operations: ['68-34=34', '97-56=41']
Exploring Operation: 34*41=1394, Resulting Numbers: [1394]
1394,43 unequal: No Solution
Exploring Operation: 34+41=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[34, 27], Operations: ['97-56=41', '68-41=27']
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 34*27=918, Resulting Numbers: [918]
918,43 unequal: No Solution
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,43 unequal: No Solution
Moving to Node #0,4,2
Current State: 43:[56, 63], Operations: ['68-34=34', '97-34=63']
Exploring Operation: 56+63=119, Resulting Numbers: [119]
119,43 unequal: No Solution
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 56*63=3528, Resulting Numbers: [3528]
3528,43 unequal: No Solution
Moving to Node #0,1,4
Current State: 43:[41, 2], Operations: ['97-56=41', '68/34=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,43 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[68, 56, 34, 97], Operations: []
Exploring Operation: 97-56=41, Resulting Numbers: [68, 34, 41]
Generated Node #0,1: 43:[68, 34, 41] Operation: 97-56=41
Moving to Node #0,1
Current State: 43:[68, 34, 41], Operations: ['97-56=41']
Exploring Operation: 68/34=2, Resulting Numbers: [41, 2]
Generated Node #0,1,4: 43:[41, 2] Operation: 68/34=2
Moving to Node #0,1,4
Current State: 43:[41, 2], Operations: ['97-56=41', '68/34=2']
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 0.931424 | hs_5 | sum_heuristic |
[
71,
23,
84,
95
] | 37 | [
"71-23=48",
"95-84=11",
"48-11=37"
] | Current State: 37:[71, 23, 84, 95], Operations: []
Exploring Operation: 71-23=48, Resulting Numbers: [84, 95, 48]
Generated Node #2: [84, 95, 48] from Operation: 71-23=48
Current State: 37:[84, 95, 48], Operations: ['71-23=48']
Exploring Operation: 95-84=11, Resulting Numbers: [48, 11]
Generated Node #3: [48, 11] from Operation: 95-84=11
Current State: 37:[48, 11], Operations: ['71-23=48', '95-84=11']
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[71, 23, 84, 95], Operations: []
Exploring Operation: 95-84=11, Resulting Numbers: [71, 23, 11]
Generated Node #0,0: 37:[71, 23, 11] Operation: 95-84=11
Exploring Operation: 95-71=24, Resulting Numbers: [23, 84, 24]
Generated Node #0,1: 37:[23, 84, 24] Operation: 95-71=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[71, 23, 11], Operations: ['95-84=11']
Exploring Operation: 71-11=60, Resulting Numbers: [23, 60]
Generated Node #0,0,0: 37:[23, 60] Operation: 71-11=60
Exploring Operation: 71-23=48, Resulting Numbers: [11, 48]
Generated Node #0,0,1: 37:[11, 48] Operation: 71-23=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[23, 60], Operations: ['95-84=11', '71-11=60']
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[71, 23, 84, 95], Operations: []
Exploring Operation: 95-84=11, Resulting Numbers: [71, 23, 11]
Generated Node #0,0: 37:[71, 23, 11] Operation: 95-84=11
Moving to Node #0,0
Current State: 37:[71, 23, 11], Operations: ['95-84=11']
Exploring Operation: 71-11=60, Resulting Numbers: [23, 60]
Generated Node #0,0,0: 37:[23, 60] Operation: 71-11=60
Moving to Node #0,0,0
Current State: 37:[23, 60], Operations: ['95-84=11', '71-11=60']
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
40,
49,
10,
39
] | 50 | [
"40*49=1960",
"1960-10=1950",
"1950/39=50"
] | Current State: 50:[40, 49, 10, 39], Operations: []
Exploring Operation: 40*49=1960, Resulting Numbers: [10, 39, 1960]
Generated Node #2: [10, 39, 1960] from Operation: 40*49=1960
Current State: 50:[10, 39, 1960], Operations: ['40*49=1960']
Exploring Operation: 1960-10=1950, Resulting Numbers: [39, 1950]
Generated Node #3: [39, 1950] from Operation: 1960-10=1950
Current State: 50:[39, 1950], Operations: ['40*49=1960', '1960-10=1950']
Exploring Operation: 1950/39=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[40, 49, 10, 39], Operations: []
Exploring Operation: 40-39=1, Resulting Numbers: [49, 10, 1]
Generated Node #0,0: 50:[49, 10, 1] Operation: 40-39=1
Moving to Node #0,0
Current State: 50:[49, 10, 1], Operations: ['40-39=1']
Exploring Operation: 49+1=50, Resulting Numbers: [10, 50]
Generated Node #0,0,0: 50:[10, 50] Operation: 49+1=50
Moving to Node #0,0,0
Current State: 50:[10, 50], Operations: ['40-39=1', '49+1=50']
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,50 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
85,
84,
37,
2
] | 35 | [
"85-84=1",
"37-2=35",
"1*35=35"
] | Current State: 35:[85, 84, 37, 2], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [37, 2, 1]
Generated Node #2: [37, 2, 1] from Operation: 85-84=1
Current State: 35:[37, 2, 1], Operations: ['85-84=1']
Exploring Operation: 37-2=35, Resulting Numbers: [1, 35]
Generated Node #3: [1, 35] from Operation: 37-2=35
Current State: 35:[1, 35], Operations: ['85-84=1', '37-2=35']
Exploring Operation: 1*35=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[85, 84, 37, 2], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [37, 2, 1]
Generated Node #0,0: 35:[37, 2, 1] Operation: 85-84=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[37, 2, 1], Operations: ['85-84=1']
Exploring Operation: 37-2=35, Resulting Numbers: [1, 35]
Generated Node #0,0,0: 35:[1, 35] Operation: 37-2=35
Moving to Node #0,0,0
Current State: 35:[1, 35], Operations: ['85-84=1', '37-2=35']
Exploring Operation: 1*35=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[85, 84, 37, 2], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [37, 2, 1]
Generated Node #0,0: 35:[37, 2, 1] Operation: 85-84=1
Moving to Node #0,0
Current State: 35:[37, 2, 1], Operations: ['85-84=1']
Exploring Operation: 37-2=35, Resulting Numbers: [1, 35]
Generated Node #0,0,0: 35:[1, 35] Operation: 37-2=35
Moving to Node #0,0,0
Current State: 35:[1, 35], Operations: ['85-84=1', '37-2=35']
Exploring Operation: 1*35=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
52,
48,
66,
91
] | 57 | [
"52+48=100",
"66+91=157",
"157-100=57"
] | Current State: 57:[52, 48, 66, 91], Operations: []
Exploring Operation: 52+48=100, Resulting Numbers: [66, 91, 100]
Generated Node #2: [66, 91, 100] from Operation: 52+48=100
Current State: 57:[66, 91, 100], Operations: ['52+48=100']
Exploring Operation: 66+91=157, Resulting Numbers: [100, 157]
Generated Node #3: [100, 157] from Operation: 66+91=157
Current State: 57:[100, 157], Operations: ['52+48=100', '66+91=157']
Exploring Operation: 157-100=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[52, 48, 66, 91], Operations: []
Exploring Operation: 91-66=25, Resulting Numbers: [52, 48, 25]
Generated Node #0,0: 57:[52, 48, 25] Operation: 91-66=25
Moving to Node #0,0
Current State: 57:[52, 48, 25], Operations: ['91-66=25']
Exploring Operation: 52-48=4, Resulting Numbers: [25, 4]
Generated Node #0,0,0: 57:[25, 4] Operation: 52-48=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[25, 4], Operations: ['91-66=25', '52-48=4']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,57 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 |
[
80,
75,
14,
62
] | 80 | [
"75-14=61",
"62-61=1",
"80*1=80"
] | Current State: 80:[80, 75, 14, 62], Operations: []
Exploring Operation: 75-14=61, Resulting Numbers: [80, 62, 61]
Generated Node #2: [80, 62, 61] from Operation: 75-14=61
Current State: 80:[80, 62, 61], Operations: ['75-14=61']
Exploring Operation: 62-61=1, Resulting Numbers: [80, 1]
Generated Node #3: [80, 1] from Operation: 62-61=1
Current State: 80:[80, 1], Operations: ['75-14=61', '62-61=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[80, 75, 14, 62], Operations: []
Exploring Operation: 75-62=13, Resulting Numbers: [80, 14, 13]
Generated Node #0,0: 80:[80, 14, 13] Operation: 75-62=13
Exploring Operation: 62-14=48, Resulting Numbers: [80, 75, 48]
Generated Node #0,1: 80:[80, 75, 48] Operation: 62-14=48
Exploring Operation: 14+62=76, Resulting Numbers: [80, 75, 76]
Generated Node #0,2: 80:[80, 75, 76] Operation: 14+62=76
Exploring Operation: 80-62=18, Resulting Numbers: [75, 14, 18]
Generated Node #0,3: 80:[75, 14, 18] Operation: 80-62=18
Exploring Operation: 80-75=5, Resulting Numbers: [14, 62, 5]
Generated Node #0,4: 80:[14, 62, 5] Operation: 80-75=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[80, 14, 13], Operations: ['75-62=13']
Exploring Operation: 80+14=94, Resulting Numbers: [13, 94]
Generated Node #0,0,0: 80:[13, 94] Operation: 80+14=94
Exploring Operation: 14+13=27, Resulting Numbers: [80, 27]
Generated Node #0,0,1: 80:[80, 27] Operation: 14+13=27
Exploring Operation: 80-13=67, Resulting Numbers: [14, 67]
Generated Node #0,0,2: 80:[14, 67] Operation: 80-13=67
Exploring Operation: 80+13=93, Resulting Numbers: [14, 93]
Generated Node #0,0,3: 80:[14, 93] Operation: 80+13=93
Exploring Operation: 14-13=1, Resulting Numbers: [80, 1]
Generated Node #0,0,4: 80:[80, 1] Operation: 14-13=1
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 80:[80, 1], Operations: ['75-62=13', '14-13=1']
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[80, 75, 14, 62], Operations: []
Exploring Operation: 75-62=13, Resulting Numbers: [80, 14, 13]
Generated Node #0,0: 80:[80, 14, 13] Operation: 75-62=13
Moving to Node #0,0
Current State: 80:[80, 14, 13], Operations: ['75-62=13']
Exploring Operation: 14-13=1, Resulting Numbers: [80, 1]
Generated Node #0,0,4: 80:[80, 1] Operation: 14-13=1
Moving to Node #0,0,4
Current State: 80:[80, 1], Operations: ['75-62=13', '14-13=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
30,
16,
3,
18
] | 25 | [
"30+16=46",
"3+18=21",
"46-21=25"
] | Current State: 25:[30, 16, 3, 18], Operations: []
Exploring Operation: 30+16=46, Resulting Numbers: [3, 18, 46]
Generated Node #2: [3, 18, 46] from Operation: 30+16=46
Current State: 25:[3, 18, 46], Operations: ['30+16=46']
Exploring Operation: 3+18=21, Resulting Numbers: [46, 21]
Generated Node #3: [46, 21] from Operation: 3+18=21
Current State: 25:[46, 21], Operations: ['30+16=46', '3+18=21']
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[30, 16, 3, 18], Operations: []
Exploring Operation: 16+18=34, Resulting Numbers: [30, 3, 34]
Generated Node #0,0: 25:[30, 3, 34] Operation: 16+18=34
Exploring Operation: 18-16=2, Resulting Numbers: [30, 3, 2]
Generated Node #0,1: 25:[30, 3, 2] Operation: 18-16=2
Exploring Operation: 18/3=6, Resulting Numbers: [30, 16, 6]
Generated Node #0,2: 25:[30, 16, 6] Operation: 18/3=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[30, 3, 2], Operations: ['18-16=2']
Exploring Operation: 30-2=28, Resulting Numbers: [3, 28]
Generated Node #0,1,0: 25:[3, 28] Operation: 30-2=28
Exploring Operation: 3+2=5, Resulting Numbers: [30, 5]
Generated Node #0,1,1: 25:[30, 5] Operation: 3+2=5
Exploring Operation: 30-3=27, Resulting Numbers: [2, 27]
Generated Node #0,1,2: 25:[2, 27] Operation: 30-3=27
Moving to Node #0,1,0
Current State: 25:[3, 28], Operations: ['18-16=2', '30-2=28']
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,25 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[30, 16, 3, 18], Operations: []
Exploring Operation: 18-16=2, Resulting Numbers: [30, 3, 2]
Generated Node #0,1: 25:[30, 3, 2] Operation: 18-16=2
Moving to Node #0,1
Current State: 25:[30, 3, 2], Operations: ['18-16=2']
Exploring Operation: 30-2=28, Resulting Numbers: [3, 28]
Generated Node #0,1,0: 25:[3, 28] Operation: 30-2=28
Moving to Node #0,1,0
Current State: 25:[3, 28], Operations: ['18-16=2', '30-2=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
94,
38,
40,
46
] | 70 | [
"94+46=140",
"40-38=2",
"140/2=70"
] | Current State: 70:[94, 38, 40, 46], Operations: []
Exploring Operation: 94+46=140, Resulting Numbers: [38, 40, 140]
Generated Node #2: [38, 40, 140] from Operation: 94+46=140
Current State: 70:[38, 40, 140], Operations: ['94+46=140']
Exploring Operation: 40-38=2, Resulting Numbers: [140, 2]
Generated Node #3: [140, 2] from Operation: 40-38=2
Current State: 70:[140, 2], Operations: ['94+46=140', '40-38=2']
Exploring Operation: 140/2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[94, 38, 40, 46], Operations: []
Exploring Operation: 94-46=48, Resulting Numbers: [38, 40, 48]
Generated Node #0,0: 70:[38, 40, 48] Operation: 94-46=48
Moving to Node #0,0
Current State: 70:[38, 40, 48], Operations: ['94-46=48']
Exploring Operation: 48-40=8, Resulting Numbers: [38, 8]
Generated Node #0,0,0: 70:[38, 8] Operation: 48-40=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[38, 8], Operations: ['94-46=48', '48-40=8']
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,70 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 |
[
63,
79,
10,
84
] | 61 | [
"84-79=5",
"10/5=2",
"63-2=61"
] | Current State: 61:[63, 79, 10, 84], Operations: []
Exploring Operation: 84-79=5, Resulting Numbers: [63, 10, 5]
Generated Node #2: [63, 10, 5] from Operation: 84-79=5
Current State: 61:[63, 10, 5], Operations: ['84-79=5']
Exploring Operation: 10/5=2, Resulting Numbers: [63, 2]
Generated Node #3: [63, 2] from Operation: 10/5=2
Current State: 61:[63, 2], Operations: ['84-79=5', '10/5=2']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[63, 79, 10, 84], Operations: []
Exploring Operation: 79-10=69, Resulting Numbers: [63, 84, 69]
Generated Node #0,0: 61:[63, 84, 69] Operation: 79-10=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[63, 84, 69], Operations: ['79-10=69']
Exploring Operation: 84-63=21, Resulting Numbers: [69, 21]
Generated Node #0,0,0: 61:[69, 21] Operation: 84-63=21
Moving to Node #0,0,0
Current State: 61:[69, 21], Operations: ['79-10=69', '84-63=21']
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,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 |
[
75,
85,
74,
68
] | 16 | [
"85-75=10",
"74-68=6",
"10+6=16"
] | Current State: 16:[75, 85, 74, 68], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [74, 68, 10]
Generated Node #2: [74, 68, 10] from Operation: 85-75=10
Current State: 16:[74, 68, 10], Operations: ['85-75=10']
Exploring Operation: 74-68=6, Resulting Numbers: [10, 6]
Generated Node #3: [10, 6] from Operation: 74-68=6
Current State: 16:[10, 6], Operations: ['85-75=10', '74-68=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[75, 85, 74, 68], Operations: []
Exploring Operation: 85-68=17, Resulting Numbers: [75, 74, 17]
Generated Node #0,0: 16:[75, 74, 17] Operation: 85-68=17
Exploring Operation: 85-74=11, Resulting Numbers: [75, 68, 11]
Generated Node #0,1: 16:[75, 68, 11] Operation: 85-74=11
Exploring Operation: 75-74=1, Resulting Numbers: [85, 68, 1]
Generated Node #0,2: 16:[85, 68, 1] Operation: 75-74=1
Exploring Operation: 85-75=10, Resulting Numbers: [74, 68, 10]
Generated Node #0,3: 16:[74, 68, 10] Operation: 85-75=10
Start Sub Search at level 1: Moving to Node #0,3
Current State: 16:[74, 68, 10], Operations: ['85-75=10']
Exploring Operation: 68-10=58, Resulting Numbers: [74, 58]
Generated Node #0,3,0: 16:[74, 58] Operation: 68-10=58
Exploring Operation: 74-10=64, Resulting Numbers: [68, 64]
Generated Node #0,3,1: 16:[68, 64] Operation: 74-10=64
Exploring Operation: 74-68=6, Resulting Numbers: [10, 6]
Generated Node #0,3,2: 16:[10, 6] Operation: 74-68=6
Exploring Operation: 74+10=84, Resulting Numbers: [68, 84]
Generated Node #0,3,3: 16:[68, 84] Operation: 74+10=84
Moving to Node #0,3,2
Current State: 16:[10, 6], Operations: ['85-75=10', '74-68=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[75, 85, 74, 68], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [74, 68, 10]
Generated Node #0,3: 16:[74, 68, 10] Operation: 85-75=10
Moving to Node #0,3
Current State: 16:[74, 68, 10], Operations: ['85-75=10']
Exploring Operation: 74-68=6, Resulting Numbers: [10, 6]
Generated Node #0,3,2: 16:[10, 6] Operation: 74-68=6
Moving to Node #0,3,2
Current State: 16:[10, 6], Operations: ['85-75=10', '74-68=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
12,
45,
45,
10
] | 22 | [
"12+45=57",
"45-10=35",
"57-35=22"
] | Current State: 22:[12, 45, 45, 10], Operations: []
Exploring Operation: 12+45=57, Resulting Numbers: [10, 57]
Generated Node #2: [10, 57] from Operation: 12+45=57
Current State: 22:[10, 57], Operations: ['12+45=57']
Exploring Operation: 45-10=35, Resulting Numbers: [57, 35]
Generated Node #3: [57, 35] from Operation: 45-10=35
Current State: 22:[57, 35], Operations: ['12+45=57', '45-10=35']
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[12, 45, 45, 10], Operations: []
Exploring Operation: 45/45=1, Resulting Numbers: [12, 10, 1]
Generated Node #0,0: 22:[12, 10, 1] Operation: 45/45=1
Moving to Node #0,0
Current State: 22:[12, 10, 1], Operations: ['45/45=1']
Exploring Operation: 12+10=22, Resulting Numbers: [1, 22]
Generated Node #0,0,0: 22:[1, 22] Operation: 12+10=22
Moving to Node #0,0,0
Current State: 22:[1, 22], Operations: ['45/45=1', '12+10=22']
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[12, 45, 45, 10], Operations: []
Exploring Operation: 45/45=1, Resulting Numbers: [12, 10, 1]
Generated Node #0,0: 22:[12, 10, 1] Operation: 45/45=1
Moving to Node #0,0
Current State: 22:[12, 10, 1], Operations: ['45/45=1']
Exploring Operation: 12+10=22, Resulting Numbers: [1, 22]
Generated Node #0,0,0: 22:[1, 22] Operation: 12+10=22
Moving to Node #0,0,0
Current State: 22:[1, 22], Operations: ['45/45=1', '12+10=22']
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
11,
28,
52,
95
] | 55 | [
"95-11=84",
"84/28=3",
"52+3=55"
] | Current State: 55:[11, 28, 52, 95], Operations: []
Exploring Operation: 95-11=84, Resulting Numbers: [28, 52, 84]
Generated Node #2: [28, 52, 84] from Operation: 95-11=84
Current State: 55:[28, 52, 84], Operations: ['95-11=84']
Exploring Operation: 84/28=3, Resulting Numbers: [52, 3]
Generated Node #3: [52, 3] from Operation: 84/28=3
Current State: 55:[52, 3], Operations: ['95-11=84', '84/28=3']
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[11, 28, 52, 95], Operations: []
Exploring Operation: 95-28=67, Resulting Numbers: [11, 52, 67]
Generated Node #0,0: 55:[11, 52, 67] Operation: 95-28=67
Exploring Operation: 28-11=17, Resulting Numbers: [52, 95, 17]
Generated Node #0,1: 55:[52, 95, 17] Operation: 28-11=17
Exploring Operation: 95-52=43, Resulting Numbers: [11, 28, 43]
Generated Node #0,2: 55:[11, 28, 43] Operation: 95-52=43
Exploring Operation: 95-11=84, Resulting Numbers: [28, 52, 84]
Generated Node #0,3: 55:[28, 52, 84] Operation: 95-11=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[11, 52, 67], Operations: ['95-28=67']
Exploring Operation: 67-11=56, Resulting Numbers: [52, 56]
Generated Node #0,0,0: 55:[52, 56] Operation: 67-11=56
Exploring Operation: 67-52=15, Resulting Numbers: [11, 15]
Generated Node #0,0,1: 55:[11, 15] Operation: 67-52=15
Exploring Operation: 11+52=63, Resulting Numbers: [67, 63]
Generated Node #0,0,2: 55:[67, 63] Operation: 11+52=63
Exploring Operation: 52-11=41, Resulting Numbers: [67, 41]
Generated Node #0,0,3: 55:[67, 41] Operation: 52-11=41
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[52, 56], Operations: ['95-28=67', '67-11=56']
Exploring Operation: 52+56=108, Resulting Numbers: [108]
108,55 unequal: No Solution
Exploring Operation: 52*56=2912, Resulting Numbers: [2912]
2912,55 unequal: No Solution
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 55:[11, 15], Operations: ['95-28=67', '67-52=15']
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 11*15=165, Resulting Numbers: [165]
165,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 55:[67, 63], Operations: ['95-28=67', '11+52=63']
Exploring Operation: 67+63=130, Resulting Numbers: [130]
130,55 unequal: No Solution
Exploring Operation: 67*63=4221, Resulting Numbers: [4221]
4221,55 unequal: No Solution
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 55:[67, 41], Operations: ['95-28=67', '52-11=41']
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 67*41=2747, Resulting Numbers: [2747]
2747,55 unequal: No Solution
Exploring Operation: 67+41=108, Resulting Numbers: [108]
108,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[11, 28, 43], Operations: ['95-52=43']
Exploring Operation: 11+43=54, Resulting Numbers: [28, 54]
Generated Node #0,2,0: 55:[28, 54] Operation: 11+43=54
Exploring Operation: 28+43=71, Resulting Numbers: [11, 71]
Generated Node #0,2,1: 55:[11, 71] Operation: 28+43=71
Exploring Operation: 28-11=17, Resulting Numbers: [43, 17]
Generated Node #0,2,2: 55:[43, 17] Operation: 28-11=17
Exploring Operation: 43-28=15, Resulting Numbers: [11, 15]
Generated Node #0,2,3: 55:[11, 15] Operation: 43-28=15
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 55:[11, 15], Operations: ['95-52=43', '43-28=15']
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 11*15=165, Resulting Numbers: [165]
165,55 unequal: No Solution
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 55:[11, 71], Operations: ['95-52=43', '28+43=71']
Exploring Operation: 11+71=82, Resulting Numbers: [82]
82,55 unequal: No Solution
Exploring Operation: 11*71=781, Resulting Numbers: [781]
781,55 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 55:[28, 54], Operations: ['95-52=43', '11+43=54']
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 28*54=1512, Resulting Numbers: [1512]
1512,55 unequal: No Solution
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 55:[43, 17], Operations: ['95-52=43', '28-11=17']
Exploring Operation: 43*17=731, Resulting Numbers: [731]
731,55 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 43+17=60, Resulting Numbers: [60]
60,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[52, 95, 17], Operations: ['28-11=17']
Exploring Operation: 52-17=35, Resulting Numbers: [95, 35]
Generated Node #0,1,0: 55:[95, 35] Operation: 52-17=35
Exploring Operation: 95-52=43, Resulting Numbers: [17, 43]
Generated Node #0,1,1: 55:[17, 43] Operation: 95-52=43
Exploring Operation: 95-17=78, Resulting Numbers: [52, 78]
Generated Node #0,1,2: 55:[52, 78] Operation: 95-17=78
Exploring Operation: 52+17=69, Resulting Numbers: [95, 69]
Generated Node #0,1,3: 55:[95, 69] Operation: 52+17=69
Moving to Node #0,1,1
Current State: 55:[17, 43], Operations: ['28-11=17', '95-52=43']
Exploring Operation: 17*43=731, Resulting Numbers: [731]
731,55 unequal: No Solution
Exploring Operation: 17+43=60, Resulting Numbers: [60]
60,55 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[52, 78], Operations: ['28-11=17', '95-17=78']
Exploring Operation: 52+78=130, Resulting Numbers: [130]
130,55 unequal: No Solution
Exploring Operation: 78-52=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 52*78=4056, Resulting Numbers: [4056]
4056,55 unequal: No Solution
Moving to Node #0,1,3
Current State: 55:[95, 69], Operations: ['28-11=17', '52+17=69']
Exploring Operation: 95-69=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 95+69=164, Resulting Numbers: [164]
164,55 unequal: No Solution
Exploring Operation: 95*69=6555, Resulting Numbers: [6555]
6555,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[95, 35], Operations: ['28-11=17', '52-17=35']
Exploring Operation: 95-35=60, Resulting Numbers: [60]
60,55 unequal: No Solution
Exploring Operation: 95+35=130, Resulting Numbers: [130]
130,55 unequal: No Solution
Exploring Operation: 95*35=3325, Resulting Numbers: [3325]
3325,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 55:[28, 52, 84], Operations: ['95-11=84']
Exploring Operation: 52-28=24, Resulting Numbers: [84, 24]
Generated Node #0,3,0: 55:[84, 24] Operation: 52-28=24
Exploring Operation: 84-52=32, Resulting Numbers: [28, 32]
Generated Node #0,3,1: 55:[28, 32] Operation: 84-52=32
Exploring Operation: 84-28=56, Resulting Numbers: [52, 56]
Generated Node #0,3,2: 55:[52, 56] Operation: 84-28=56
Exploring Operation: 84/28=3, Resulting Numbers: [52, 3]
Generated Node #0,3,3: 55:[52, 3] Operation: 84/28=3
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 55:[52, 56], Operations: ['95-11=84', '84-28=56']
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 52+56=108, Resulting Numbers: [108]
108,55 unequal: No Solution
Exploring Operation: 52*56=2912, Resulting Numbers: [2912]
2912,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 55:[52, 3], Operations: ['95-11=84', '84/28=3']
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[11, 28, 52, 95], Operations: []
Exploring Operation: 95-11=84, Resulting Numbers: [28, 52, 84]
Generated Node #0,3: 55:[28, 52, 84] Operation: 95-11=84
Moving to Node #0,3
Current State: 55:[28, 52, 84], Operations: ['95-11=84']
Exploring Operation: 84/28=3, Resulting Numbers: [52, 3]
Generated Node #0,3,3: 55:[52, 3] Operation: 84/28=3
Moving to Node #0,3,3
Current State: 55:[52, 3], Operations: ['95-11=84', '84/28=3']
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.944444 | hs_4 | mult_heuristic |
[
42,
22,
98,
88
] | 52 | [
"98-42=56",
"88/22=4",
"56-4=52"
] | Current State: 52:[42, 22, 98, 88], Operations: []
Exploring Operation: 98-42=56, Resulting Numbers: [22, 88, 56]
Generated Node #2: [22, 88, 56] from Operation: 98-42=56
Current State: 52:[22, 88, 56], Operations: ['98-42=56']
Exploring Operation: 88/22=4, Resulting Numbers: [56, 4]
Generated Node #3: [56, 4] from Operation: 88/22=4
Current State: 52:[56, 4], Operations: ['98-42=56', '88/22=4']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[42, 22, 98, 88], Operations: []
Exploring Operation: 98-42=56, Resulting Numbers: [22, 88, 56]
Generated Node #0,0: 52:[22, 88, 56] Operation: 98-42=56
Exploring Operation: 98-22=76, Resulting Numbers: [42, 88, 76]
Generated Node #0,1: 52:[42, 88, 76] Operation: 98-22=76
Exploring Operation: 98-88=10, Resulting Numbers: [42, 22, 10]
Generated Node #0,2: 52:[42, 22, 10] Operation: 98-88=10
Exploring Operation: 88/22=4, Resulting Numbers: [42, 98, 4]
Generated Node #0,3: 52:[42, 98, 4] Operation: 88/22=4
Exploring Operation: 88-42=46, Resulting Numbers: [22, 98, 46]
Generated Node #0,4: 52:[22, 98, 46] Operation: 88-42=46
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[42, 22, 10], Operations: ['98-88=10']
Exploring Operation: 42+22=64, Resulting Numbers: [10, 64]
Generated Node #0,2,0: 52:[10, 64] Operation: 42+22=64
Exploring Operation: 42-10=32, Resulting Numbers: [22, 32]
Generated Node #0,2,1: 52:[22, 32] Operation: 42-10=32
Exploring Operation: 22-10=12, Resulting Numbers: [42, 12]
Generated Node #0,2,2: 52:[42, 12] Operation: 22-10=12
Exploring Operation: 42+10=52, Resulting Numbers: [22, 52]
Generated Node #0,2,3: 52:[22, 52] Operation: 42+10=52
Exploring Operation: 42-22=20, Resulting Numbers: [10, 20]
Generated Node #0,2,4: 52:[10, 20] Operation: 42-22=20
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 52:[22, 52], Operations: ['98-88=10', '42+10=52']
Exploring Operation: 22*52=1144, Resulting Numbers: [1144]
1144,52 unequal: No Solution
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 22+52=74, Resulting Numbers: [74]
74,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,2,4
Current State: 52:[10, 20], Operations: ['98-88=10', '42-22=20']
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 10*20=200, Resulting Numbers: [200]
200,52 unequal: No Solution
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,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,2,1
Current State: 52:[22, 32], Operations: ['98-88=10', '42-10=32']
Exploring Operation: 22+32=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 22*32=704, Resulting Numbers: [704]
704,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,2,2
Current State: 52:[42, 12], Operations: ['98-88=10', '22-10=12']
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,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,2,0
Current State: 52:[10, 64], Operations: ['98-88=10', '42+22=64']
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 10*64=640, Resulting Numbers: [640]
640,52 unequal: No Solution
Exploring Operation: 10+64=74, Resulting Numbers: [74]
74,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[22, 88, 56], Operations: ['98-42=56']
Exploring Operation: 22+88=110, Resulting Numbers: [56, 110]
Generated Node #0,0,0: 52:[56, 110] Operation: 22+88=110
Exploring Operation: 88/22=4, Resulting Numbers: [56, 4]
Generated Node #0,0,1: 52:[56, 4] Operation: 88/22=4
Exploring Operation: 56-22=34, Resulting Numbers: [88, 34]
Generated Node #0,0,2: 52:[88, 34] Operation: 56-22=34
Exploring Operation: 88-22=66, Resulting Numbers: [56, 66]
Generated Node #0,0,3: 52:[56, 66] Operation: 88-22=66
Exploring Operation: 88-56=32, Resulting Numbers: [22, 32]
Generated Node #0,0,4: 52:[22, 32] Operation: 88-56=32
Moving to Node #0,0,1
Current State: 52:[56, 4], Operations: ['98-42=56', '88/22=4']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[42, 22, 98, 88], Operations: []
Exploring Operation: 98-42=56, Resulting Numbers: [22, 88, 56]
Generated Node #0,0: 52:[22, 88, 56] Operation: 98-42=56
Moving to Node #0,0
Current State: 52:[22, 88, 56], Operations: ['98-42=56']
Exploring Operation: 88/22=4, Resulting Numbers: [56, 4]
Generated Node #0,0,1: 52:[56, 4] Operation: 88/22=4
Moving to Node #0,0,1
Current State: 52:[56, 4], Operations: ['98-42=56', '88/22=4']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
10,
53,
43,
41
] | 96 | [
"43-41=2",
"53*2=106",
"106-10=96"
] | Current State: 96:[10, 53, 43, 41], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [10, 53, 2]
Generated Node #2: [10, 53, 2] from Operation: 43-41=2
Current State: 96:[10, 53, 2], Operations: ['43-41=2']
Exploring Operation: 53*2=106, Resulting Numbers: [10, 106]
Generated Node #3: [10, 106] from Operation: 53*2=106
Current State: 96:[10, 106], Operations: ['43-41=2', '53*2=106']
Exploring Operation: 106-10=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[10, 53, 43, 41], Operations: []
Exploring Operation: 53-41=12, Resulting Numbers: [10, 43, 12]
Generated Node #0,0: 96:[10, 43, 12] Operation: 53-41=12
Moving to Node #0,0
Current State: 96:[10, 43, 12], Operations: ['53-41=12']
Exploring Operation: 43-10=33, Resulting Numbers: [12, 33]
Generated Node #0,0,0: 96:[12, 33] Operation: 43-10=33
Moving to Node #0,0,0
Current State: 96:[12, 33], Operations: ['53-41=12', '43-10=33']
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,96 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
10,
31,
27,
31
] | 25 | [
"31-10=21",
"31-27=4",
"21+4=25"
] | Current State: 25:[10, 31, 27, 31], Operations: []
Exploring Operation: 31-10=21, Resulting Numbers: [27, 21]
Generated Node #2: [27, 21] from Operation: 31-10=21
Current State: 25:[27, 21], Operations: ['31-10=21']
Exploring Operation: 31-27=4, Resulting Numbers: [21, 4]
Generated Node #3: [21, 4] from Operation: 31-27=4
Current State: 25:[21, 4], Operations: ['31-10=21', '31-27=4']
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[10, 31, 27, 31], Operations: []
Exploring Operation: 31/31=1, Resulting Numbers: [10, 27, 1]
Generated Node #0,0: 25:[10, 27, 1] Operation: 31/31=1
Exploring Operation: 31-10=21, Resulting Numbers: [27, 31, 21]
Generated Node #0,1: 25:[27, 31, 21] Operation: 31-10=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[10, 27, 1], Operations: ['31/31=1']
Exploring Operation: 27-1=26, Resulting Numbers: [10, 26]
Generated Node #0,0,0: 25:[10, 26] Operation: 27-1=26
Exploring Operation: 10-1=9, Resulting Numbers: [27, 9]
Generated Node #0,0,1: 25:[27, 9] Operation: 10-1=9
Moving to Node #0,0,0
Current State: 25:[10, 26], Operations: ['31/31=1', '27-1=26']
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,25 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[27, 9], Operations: ['31/31=1', '10-1=9']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,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:[27, 31, 21], Operations: ['31-10=21']
Exploring Operation: 27-21=6, Resulting Numbers: [31, 6]
Generated Node #0,1,0: 25:[31, 6] Operation: 27-21=6
Exploring Operation: 31-27=4, Resulting Numbers: [21, 4]
Generated Node #0,1,1: 25:[21, 4] Operation: 31-27=4
Moving to Node #0,1,1
Current State: 25:[21, 4], Operations: ['31-10=21', '31-27=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[10, 31, 27, 31], Operations: []
Exploring Operation: 31-10=21, Resulting Numbers: [27, 31, 21]
Generated Node #0,1: 25:[27, 31, 21] Operation: 31-10=21
Moving to Node #0,1
Current State: 25:[27, 31, 21], Operations: ['31-10=21']
Exploring Operation: 31-27=4, Resulting Numbers: [21, 4]
Generated Node #0,1,1: 25:[21, 4] Operation: 31-27=4
Moving to Node #0,1,1
Current State: 25:[21, 4], Operations: ['31-10=21', '31-27=4']
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
71,
3,
5,
54
] | 25 | [
"71+3=74",
"54-5=49",
"74-49=25"
] | Current State: 25:[71, 3, 5, 54], Operations: []
Exploring Operation: 71+3=74, Resulting Numbers: [5, 54, 74]
Generated Node #2: [5, 54, 74] from Operation: 71+3=74
Current State: 25:[5, 54, 74], Operations: ['71+3=74']
Exploring Operation: 54-5=49, Resulting Numbers: [74, 49]
Generated Node #3: [74, 49] from Operation: 54-5=49
Current State: 25:[74, 49], Operations: ['71+3=74', '54-5=49']
Exploring Operation: 74-49=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[71, 3, 5, 54], Operations: []
Exploring Operation: 71-5=66, Resulting Numbers: [3, 54, 66]
Generated Node #0,0: 25:[3, 54, 66] Operation: 71-5=66
Exploring Operation: 71-3=68, Resulting Numbers: [5, 54, 68]
Generated Node #0,1: 25:[5, 54, 68] Operation: 71-3=68
Exploring Operation: 54/3=18, Resulting Numbers: [71, 5, 18]
Generated Node #0,2: 25:[71, 5, 18] Operation: 54/3=18
Exploring Operation: 71-54=17, Resulting Numbers: [3, 5, 17]
Generated Node #0,3: 25:[3, 5, 17] Operation: 71-54=17
Moving to Node #0,3
Current State: 25:[3, 5, 17], Operations: ['71-54=17']
Exploring Operation: 5+17=22, Resulting Numbers: [3, 22]
Generated Node #0,3,0: 25:[3, 22] Operation: 5+17=22
Exploring Operation: 17-5=12, Resulting Numbers: [3, 12]
Generated Node #0,3,1: 25:[3, 12] Operation: 17-5=12
Exploring Operation: 17-3=14, Resulting Numbers: [5, 14]
Generated Node #0,3,2: 25:[5, 14] Operation: 17-3=14
Exploring Operation: 3+17=20, Resulting Numbers: [5, 20]
Generated Node #0,3,3: 25:[5, 20] Operation: 3+17=20
Moving to Node #0,2
Current State: 25:[71, 5, 18], Operations: ['54/3=18']
Exploring Operation: 5+18=23, Resulting Numbers: [71, 23]
Generated Node #0,2,0: 25:[71, 23] Operation: 5+18=23
Exploring Operation: 71-5=66, Resulting Numbers: [18, 66]
Generated Node #0,2,1: 25:[18, 66] Operation: 71-5=66
Exploring Operation: 71-18=53, Resulting Numbers: [5, 53]
Generated Node #0,2,2: 25:[5, 53] Operation: 71-18=53
Exploring Operation: 18-5=13, Resulting Numbers: [71, 13]
Generated Node #0,2,3: 25:[71, 13] Operation: 18-5=13
Moving to Node #0,1
Current State: 25:[5, 54, 68], Operations: ['71-3=68']
Exploring Operation: 54-5=49, Resulting Numbers: [68, 49]
Generated Node #0,1,0: 25:[68, 49] Operation: 54-5=49
Exploring Operation: 5+54=59, Resulting Numbers: [68, 59]
Generated Node #0,1,1: 25:[68, 59] Operation: 5+54=59
Exploring Operation: 68-54=14, Resulting Numbers: [5, 14]
Generated Node #0,1,2: 25:[5, 14] Operation: 68-54=14
Exploring Operation: 68-5=63, Resulting Numbers: [54, 63]
Generated Node #0,1,3: 25:[54, 63] Operation: 68-5=63
Moving to Node #0,0
Current State: 25:[3, 54, 66], Operations: ['71-5=66']
Exploring Operation: 66/3=22, Resulting Numbers: [54, 22]
Generated Node #0,0,0: 25:[54, 22] Operation: 66/3=22
Exploring Operation: 54/3=18, Resulting Numbers: [66, 18]
Generated Node #0,0,1: 25:[66, 18] Operation: 54/3=18
Exploring Operation: 66-54=12, Resulting Numbers: [3, 12]
Generated Node #0,0,2: 25:[3, 12] Operation: 66-54=12
Exploring Operation: 54-3=51, Resulting Numbers: [66, 51]
Generated Node #0,0,3: 25:[66, 51] Operation: 54-3=51
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[3, 12], Operations: ['71-5=66', '66-54=12']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,25 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[54, 22], Operations: ['71-5=66', '66/3=22']
Exploring Operation: 54+22=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 54*22=1188, Resulting Numbers: [1188]
1188,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[66, 18], Operations: ['71-5=66', '54/3=18']
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,25 unequal: No Solution
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 25:[66, 51], Operations: ['71-5=66', '54-3=51']
Exploring Operation: 66+51=117, Resulting Numbers: [117]
117,25 unequal: No Solution
Exploring Operation: 66*51=3366, Resulting Numbers: [3366]
3366,25 unequal: No Solution
Exploring Operation: 66-51=15, Resulting Numbers: [15]
15,25 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: 25:[3, 22], Operations: ['71-54=17', '5+17=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[71, 3, 5, 54], Operations: []
Exploring Operation: 71-54=17, Resulting Numbers: [3, 5, 17]
Generated Node #0,3: 25:[3, 5, 17] Operation: 71-54=17
Moving to Node #0,3
Current State: 25:[3, 5, 17], Operations: ['71-54=17']
Exploring Operation: 5+17=22, Resulting Numbers: [3, 22]
Generated Node #0,3,0: 25:[3, 22] Operation: 5+17=22
Moving to Node #0,3,0
Current State: 25:[3, 22], Operations: ['71-54=17', '5+17=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.967014 | hs_4 | mult_heuristic |
[
20,
59,
34,
74
] | 69 | [
"59-20=39",
"34+74=108",
"108-39=69"
] | Current State: 69:[20, 59, 34, 74], Operations: []
Exploring Operation: 59-20=39, Resulting Numbers: [34, 74, 39]
Generated Node #2: [34, 74, 39] from Operation: 59-20=39
Current State: 69:[34, 74, 39], Operations: ['59-20=39']
Exploring Operation: 34+74=108, Resulting Numbers: [39, 108]
Generated Node #3: [39, 108] from Operation: 34+74=108
Current State: 69:[39, 108], Operations: ['59-20=39', '34+74=108']
Exploring Operation: 108-39=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[20, 59, 34, 74], Operations: []
Exploring Operation: 59-34=25, Resulting Numbers: [20, 74, 25]
Generated Node #0,0: 69:[20, 74, 25] Operation: 59-34=25
Exploring Operation: 34-20=14, Resulting Numbers: [59, 74, 14]
Generated Node #0,1: 69:[59, 74, 14] Operation: 34-20=14
Exploring Operation: 74-59=15, Resulting Numbers: [20, 34, 15]
Generated Node #0,2: 69:[20, 34, 15] Operation: 74-59=15
Moving to Node #0,0
Current State: 69:[20, 74, 25], Operations: ['59-34=25']
Exploring Operation: 74-20=54, Resulting Numbers: [25, 54]
Generated Node #0,0,0: 69:[25, 54] Operation: 74-20=54
Exploring Operation: 74-25=49, Resulting Numbers: [20, 49]
Generated Node #0,0,1: 69:[20, 49] Operation: 74-25=49
Exploring Operation: 25-20=5, Resulting Numbers: [74, 5]
Generated Node #0,0,2: 69:[74, 5] Operation: 25-20=5
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[74, 5], Operations: ['59-34=25', '25-20=5']
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[20, 59, 34, 74], Operations: []
Exploring Operation: 59-34=25, Resulting Numbers: [20, 74, 25]
Generated Node #0,0: 69:[20, 74, 25] Operation: 59-34=25
Moving to Node #0,0
Current State: 69:[20, 74, 25], Operations: ['59-34=25']
Exploring Operation: 25-20=5, Resulting Numbers: [74, 5]
Generated Node #0,0,2: 69:[74, 5] Operation: 25-20=5
Moving to Node #0,0,2
Current State: 69:[74, 5], Operations: ['59-34=25', '25-20=5']
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
6,
20,
89,
10
] | 29 | [
"20-10=10",
"6*10=60",
"89-60=29"
] | Current State: 29:[6, 20, 89, 10], Operations: []
Exploring Operation: 20-10=10, Resulting Numbers: [6, 89, 10]
Generated Node #2: [6, 89, 10] from Operation: 20-10=10
Current State: 29:[6, 89, 10], Operations: ['20-10=10']
Exploring Operation: 6*10=60, Resulting Numbers: [89, 60]
Generated Node #3: [89, 60] from Operation: 6*10=60
Current State: 29:[89, 60], Operations: ['20-10=10', '6*10=60']
Exploring Operation: 89-60=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[6, 20, 89, 10], Operations: []
Exploring Operation: 6+20=26, Resulting Numbers: [89, 10, 26]
Generated Node #0,0: 29:[89, 10, 26] Operation: 6+20=26
Exploring Operation: 89-6=83, Resulting Numbers: [20, 10, 83]
Generated Node #0,1: 29:[20, 10, 83] Operation: 89-6=83
Exploring Operation: 6+10=16, Resulting Numbers: [20, 89, 16]
Generated Node #0,2: 29:[20, 89, 16] Operation: 6+10=16
Moving to Node #0,0
Current State: 29:[89, 10, 26], Operations: ['6+20=26']
Exploring Operation: 89-10=79, Resulting Numbers: [26, 79]
Generated Node #0,0,0: 29:[26, 79] Operation: 89-10=79
Exploring Operation: 89-26=63, Resulting Numbers: [10, 63]
Generated Node #0,0,1: 29:[10, 63] Operation: 89-26=63
Exploring Operation: 10+26=36, Resulting Numbers: [89, 36]
Generated Node #0,0,2: 29:[89, 36] Operation: 10+26=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[26, 79], Operations: ['6+20=26', '89-10=79']
Exploring Operation: 26+79=105, Resulting Numbers: [105]
105,29 unequal: No Solution
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Exploring Operation: 26*79=2054, Resulting Numbers: [2054]
2054,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[10, 63], Operations: ['6+20=26', '89-26=63']
Exploring Operation: 10*63=630, Resulting Numbers: [630]
630,29 unequal: No Solution
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Exploring Operation: 10+63=73, Resulting Numbers: [73]
73,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[89, 36], Operations: ['6+20=26', '10+26=36']
Exploring Operation: 89-36=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Exploring Operation: 89+36=125, Resulting Numbers: [125]
125,29 unequal: No Solution
Exploring Operation: 89*36=3204, Resulting Numbers: [3204]
3204,29 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: 29:[20, 10, 83], Operations: ['89-6=83']
Exploring Operation: 83-10=73, Resulting Numbers: [20, 73]
Generated Node #0,1,0: 29:[20, 73] Operation: 83-10=73
Exploring Operation: 83-20=63, Resulting Numbers: [10, 63]
Generated Node #0,1,1: 29:[10, 63] Operation: 83-20=63
Exploring Operation: 20+10=30, Resulting Numbers: [83, 30]
Generated Node #0,1,2: 29:[83, 30] Operation: 20+10=30
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[20, 73], Operations: ['89-6=83', '83-10=73']
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Exploring Operation: 20*73=1460, Resulting Numbers: [1460]
1460,29 unequal: No Solution
Exploring Operation: 20+73=93, Resulting Numbers: [93]
93,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[10, 63], Operations: ['89-6=83', '83-20=63']
Exploring Operation: 10*63=630, Resulting Numbers: [630]
630,29 unequal: No Solution
Exploring Operation: 10+63=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[83, 30], Operations: ['89-6=83', '20+10=30']
Exploring Operation: 83+30=113, Resulting Numbers: [113]
113,29 unequal: No Solution
Exploring Operation: 83-30=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Exploring Operation: 83*30=2490, Resulting Numbers: [2490]
2490,29 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: 29:[20, 89, 16], Operations: ['6+10=16']
Exploring Operation: 89-20=69, Resulting Numbers: [16, 69]
Generated Node #0,2,0: 29:[16, 69] Operation: 89-20=69
Exploring Operation: 20+16=36, Resulting Numbers: [89, 36]
Generated Node #0,2,1: 29:[89, 36] Operation: 20+16=36
Exploring Operation: 89-16=73, Resulting Numbers: [20, 73]
Generated Node #0,2,2: 29:[20, 73] Operation: 89-16=73
Moving to Node #0,2,0
Current State: 29:[16, 69], Operations: ['6+10=16', '89-20=69']
Exploring Operation: 16*69=1104, Resulting Numbers: [1104]
1104,29 unequal: No Solution
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Exploring Operation: 16+69=85, Resulting Numbers: [85]
85,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[20, 73], Operations: ['6+10=16', '89-16=73']
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Exploring Operation: 20*73=1460, Resulting Numbers: [1460]
1460,29 unequal: No Solution
Exploring Operation: 20+73=93, Resulting Numbers: [93]
93,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[89, 36], Operations: ['6+10=16', '20+16=36']
Exploring Operation: 89+36=125, Resulting Numbers: [125]
125,29 unequal: No Solution
Exploring Operation: 89-36=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Exploring Operation: 89*36=3204, Resulting Numbers: [3204]
3204,29 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
17,
75,
36,
34
] | 22 | [
"17+75=92",
"36+34=70",
"92-70=22"
] | Current State: 22:[17, 75, 36, 34], Operations: []
Exploring Operation: 17+75=92, Resulting Numbers: [36, 34, 92]
Generated Node #2: [36, 34, 92] from Operation: 17+75=92
Current State: 22:[36, 34, 92], Operations: ['17+75=92']
Exploring Operation: 36+34=70, Resulting Numbers: [92, 70]
Generated Node #3: [92, 70] from Operation: 36+34=70
Current State: 22:[92, 70], Operations: ['17+75=92', '36+34=70']
Exploring Operation: 92-70=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[17, 75, 36, 34], Operations: []
Exploring Operation: 75-34=41, Resulting Numbers: [17, 36, 41]
Generated Node #0,0: 22:[17, 36, 41] Operation: 75-34=41
Exploring Operation: 75-17=58, Resulting Numbers: [36, 34, 58]
Generated Node #0,1: 22:[36, 34, 58] Operation: 75-17=58
Exploring Operation: 36-34=2, Resulting Numbers: [17, 75, 2]
Generated Node #0,2: 22:[17, 75, 2] Operation: 36-34=2
Exploring Operation: 75-36=39, Resulting Numbers: [17, 34, 39]
Generated Node #0,3: 22:[17, 34, 39] Operation: 75-36=39
Start Sub Search at level 1: Moving to Node #0,3
Current State: 22:[17, 34, 39], Operations: ['75-36=39']
Exploring Operation: 39-17=22, Resulting Numbers: [34, 22]
Generated Node #0,3,0: 22:[34, 22] Operation: 39-17=22
Exploring Operation: 34/17=2, Resulting Numbers: [39, 2]
Generated Node #0,3,1: 22:[39, 2] Operation: 34/17=2
Exploring Operation: 39-34=5, Resulting Numbers: [17, 5]
Generated Node #0,3,2: 22:[17, 5] Operation: 39-34=5
Exploring Operation: 34-17=17, Resulting Numbers: [39, 17]
Generated Node #0,3,3: 22:[39, 17] Operation: 34-17=17
Moving to Node #0,3,2
Current State: 22:[17, 5], Operations: ['75-36=39', '39-34=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,22 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[17, 75, 36, 34], Operations: []
Exploring Operation: 75-36=39, Resulting Numbers: [17, 34, 39]
Generated Node #0,3: 22:[17, 34, 39] Operation: 75-36=39
Moving to Node #0,3
Current State: 22:[17, 34, 39], Operations: ['75-36=39']
Exploring Operation: 39-34=5, Resulting Numbers: [17, 5]
Generated Node #0,3,2: 22:[17, 5] Operation: 39-34=5
Moving to Node #0,3,2
Current State: 22:[17, 5], Operations: ['75-36=39', '39-34=5']
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
7,
6,
71,
32
] | 12 | [
"71-7=64",
"6*64=384",
"384/32=12"
] | Current State: 12:[7, 6, 71, 32], Operations: []
Exploring Operation: 71-7=64, Resulting Numbers: [6, 32, 64]
Generated Node #2: [6, 32, 64] from Operation: 71-7=64
Current State: 12:[6, 32, 64], Operations: ['71-7=64']
Exploring Operation: 6*64=384, Resulting Numbers: [32, 384]
Generated Node #3: [32, 384] from Operation: 6*64=384
Current State: 12:[32, 384], Operations: ['71-7=64', '6*64=384']
Exploring Operation: 384/32=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[7, 6, 71, 32], Operations: []
Exploring Operation: 71-7=64, Resulting Numbers: [6, 32, 64]
Generated Node #0,0: 12:[6, 32, 64] Operation: 71-7=64
Exploring Operation: 71-32=39, Resulting Numbers: [7, 6, 39]
Generated Node #0,1: 12:[7, 6, 39] Operation: 71-32=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[7, 6, 39], Operations: ['71-32=39']
Exploring Operation: 39-6=33, Resulting Numbers: [7, 33]
Generated Node #0,1,0: 12:[7, 33] Operation: 39-6=33
Exploring Operation: 39-7=32, Resulting Numbers: [6, 32]
Generated Node #0,1,1: 12:[6, 32] Operation: 39-7=32
Moving to Node #0,1,1
Current State: 12:[6, 32], Operations: ['71-32=39', '39-7=32']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[7, 33], Operations: ['71-32=39', '39-6=33']
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,12 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[6, 32, 64], Operations: ['71-7=64']
Exploring Operation: 64/32=2, Resulting Numbers: [6, 2]
Generated Node #0,0,0: 12:[6, 2] Operation: 64/32=2
Exploring Operation: 64-32=32, Resulting Numbers: [6, 32]
Generated Node #0,0,1: 12:[6, 32] Operation: 64-32=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[6, 2], Operations: ['71-7=64', '64/32=2']
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[7, 6, 71, 32], Operations: []
Exploring Operation: 71-7=64, Resulting Numbers: [6, 32, 64]
Generated Node #0,0: 12:[6, 32, 64] Operation: 71-7=64
Moving to Node #0,0
Current State: 12:[6, 32, 64], Operations: ['71-7=64']
Exploring Operation: 64/32=2, Resulting Numbers: [6, 2]
Generated Node #0,0,0: 12:[6, 2] Operation: 64/32=2
Moving to Node #0,0,0
Current State: 12:[6, 2], Operations: ['71-7=64', '64/32=2']
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
6,
31,
84,
30
] | 50 | [
"84+30=114",
"114/6=19",
"31+19=50"
] | Current State: 50:[6, 31, 84, 30], Operations: []
Exploring Operation: 84+30=114, Resulting Numbers: [6, 31, 114]
Generated Node #2: [6, 31, 114] from Operation: 84+30=114
Current State: 50:[6, 31, 114], Operations: ['84+30=114']
Exploring Operation: 114/6=19, Resulting Numbers: [31, 19]
Generated Node #3: [31, 19] from Operation: 114/6=19
Current State: 50:[31, 19], Operations: ['84+30=114', '114/6=19']
Exploring Operation: 31+19=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[6, 31, 84, 30], Operations: []
Exploring Operation: 31-30=1, Resulting Numbers: [6, 84, 1]
Generated Node #0,0: 50:[6, 84, 1] Operation: 31-30=1
Exploring Operation: 84/6=14, Resulting Numbers: [31, 30, 14]
Generated Node #0,1: 50:[31, 30, 14] Operation: 84/6=14
Exploring Operation: 84-30=54, Resulting Numbers: [6, 31, 54]
Generated Node #0,2: 50:[6, 31, 54] Operation: 84-30=54
Exploring Operation: 84-31=53, Resulting Numbers: [6, 30, 53]
Generated Node #0,3: 50:[6, 30, 53] Operation: 84-31=53
Exploring Operation: 31-6=25, Resulting Numbers: [84, 30, 25]
Generated Node #0,4: 50:[84, 30, 25] Operation: 31-6=25
Moving to Node #0,3
Current State: 50:[6, 30, 53], Operations: ['84-31=53']
Exploring Operation: 53-6=47, Resulting Numbers: [30, 47]
Generated Node #0,3,0: 50:[30, 47] Operation: 53-6=47
Exploring Operation: 30/6=5, Resulting Numbers: [53, 5]
Generated Node #0,3,1: 50:[53, 5] Operation: 30/6=5
Exploring Operation: 53-30=23, Resulting Numbers: [6, 23]
Generated Node #0,3,2: 50:[6, 23] Operation: 53-30=23
Exploring Operation: 6+30=36, Resulting Numbers: [53, 36]
Generated Node #0,3,3: 50:[53, 36] Operation: 6+30=36
Exploring Operation: 30-6=24, Resulting Numbers: [53, 24]
Generated Node #0,3,4: 50:[53, 24] Operation: 30-6=24
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 50:[53, 5], Operations: ['84-31=53', '30/6=5']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Exploring Operation: 53*5=265, Resulting Numbers: [265]
265,50 unequal: No Solution
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 50:[6, 23], Operations: ['84-31=53', '53-30=23']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,50 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 50:[53, 24], Operations: ['84-31=53', '30-6=24']
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 50:[30, 47], Operations: ['84-31=53', '53-6=47']
Exploring Operation: 30*47=1410, Resulting Numbers: [1410]
1410,50 unequal: No Solution
Exploring Operation: 30+47=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 50:[53, 36], Operations: ['84-31=53', '6+30=36']
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 53+36=89, Resulting Numbers: [89]
89,50 unequal: No Solution
Exploring Operation: 53*36=1908, Resulting Numbers: [1908]
1908,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 50:[6, 31, 54], Operations: ['84-30=54']
Exploring Operation: 31-6=25, Resulting Numbers: [54, 25]
Generated Node #0,2,0: 50:[54, 25] Operation: 31-6=25
Exploring Operation: 54/6=9, Resulting Numbers: [31, 9]
Generated Node #0,2,1: 50:[31, 9] Operation: 54/6=9
Exploring Operation: 6+31=37, Resulting Numbers: [54, 37]
Generated Node #0,2,2: 50:[54, 37] Operation: 6+31=37
Exploring Operation: 54-31=23, Resulting Numbers: [6, 23]
Generated Node #0,2,3: 50:[6, 23] Operation: 54-31=23
Exploring Operation: 54-6=48, Resulting Numbers: [31, 48]
Generated Node #0,2,4: 50:[31, 48] Operation: 54-6=48
Moving to Node #0,1
Current State: 50:[31, 30, 14], Operations: ['84/6=14']
Exploring Operation: 31+14=45, Resulting Numbers: [30, 45]
Generated Node #0,1,0: 50:[30, 45] Operation: 31+14=45
Exploring Operation: 30+14=44, Resulting Numbers: [31, 44]
Generated Node #0,1,1: 50:[31, 44] Operation: 30+14=44
Exploring Operation: 31-14=17, Resulting Numbers: [30, 17]
Generated Node #0,1,2: 50:[30, 17] Operation: 31-14=17
Exploring Operation: 31-30=1, Resulting Numbers: [14, 1]
Generated Node #0,1,3: 50:[14, 1] Operation: 31-30=1
Exploring Operation: 30-14=16, Resulting Numbers: [31, 16]
Generated Node #0,1,4: 50:[31, 16] Operation: 30-14=16
Moving to Node #0,0
Current State: 50:[6, 84, 1], Operations: ['31-30=1']
Exploring Operation: 6-1=5, Resulting Numbers: [84, 5]
Generated Node #0,0,0: 50:[84, 5] Operation: 6-1=5
Exploring Operation: 84/6=14, Resulting Numbers: [1, 14]
Generated Node #0,0,1: 50:[1, 14] Operation: 84/6=14
Exploring Operation: 6*1=6, Resulting Numbers: [84, 6]
Generated Node #0,0,2: 50:[84, 6] Operation: 6*1=6
Exploring Operation: 84-6=78, Resulting Numbers: [1, 78]
Generated Node #0,0,3: 50:[1, 78] Operation: 84-6=78
Exploring Operation: 84-1=83, Resulting Numbers: [6, 83]
Generated Node #0,0,4: 50:[6, 83] Operation: 84-1=83
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[1, 14], Operations: ['31-30=1', '84/6=14']
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,50 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 50:[1, 78], Operations: ['31-30=1', '84-6=78']
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Exploring Operation: 1+78=79, Resulting Numbers: [79]
79,50 unequal: No Solution
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Exploring Operation: 1*78=78, Resulting Numbers: [78]
78,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[84, 5], Operations: ['31-30=1', '6-1=5']
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,50 unequal: No Solution
Exploring Operation: 84*5=420, Resulting Numbers: [420]
420,50 unequal: No Solution
Exploring Operation: 84+5=89, Resulting Numbers: [89]
89,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 50:[6, 83], Operations: ['31-30=1', '84-1=83']
Exploring Operation: 6*83=498, Resulting Numbers: [498]
498,50 unequal: No Solution
Exploring Operation: 6+83=89, Resulting Numbers: [89]
89,50 unequal: No Solution
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 50:[84, 6], Operations: ['31-30=1', '6*1=6']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,50 unequal: No Solution
Exploring Operation: 84*6=504, Resulting Numbers: [504]
504,50 unequal: No Solution
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,50 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: 50:[84, 30, 25], Operations: ['31-6=25']
Exploring Operation: 30-25=5, Resulting Numbers: [84, 5]
Generated Node #0,4,0: 50:[84, 5] Operation: 30-25=5
Exploring Operation: 84-25=59, Resulting Numbers: [30, 59]
Generated Node #0,4,1: 50:[30, 59] Operation: 84-25=59
Exploring Operation: 30+25=55, Resulting Numbers: [84, 55]
Generated Node #0,4,2: 50:[84, 55] Operation: 30+25=55
Exploring Operation: 84-30=54, Resulting Numbers: [25, 54]
Generated Node #0,4,3: 50:[25, 54] Operation: 84-30=54
Exploring Operation: 84+30=114, Resulting Numbers: [25, 114]
Generated Node #0,4,4: 50:[25, 114] Operation: 84+30=114
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 50:[25, 54], Operations: ['31-6=25', '84-30=54']
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 25+54=79, Resulting Numbers: [79]
79,50 unequal: No Solution
Exploring Operation: 25*54=1350, Resulting Numbers: [1350]
1350,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,4,1
Current State: 50:[30, 59], Operations: ['31-6=25', '84-25=59']
Exploring Operation: 30+59=89, Resulting Numbers: [89]
89,50 unequal: No Solution
Exploring Operation: 30*59=1770, Resulting Numbers: [1770]
1770,50 unequal: No Solution
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,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,4,0
Current State: 50:[84, 5], Operations: ['31-6=25', '30-25=5']
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,50 unequal: No Solution
Exploring Operation: 84+5=89, Resulting Numbers: [89]
89,50 unequal: No Solution
Exploring Operation: 84*5=420, Resulting Numbers: [420]
420,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,4,2
Current State: 50:[84, 55], Operations: ['31-6=25', '30+25=55']
Exploring Operation: 84+55=139, Resulting Numbers: [139]
139,50 unequal: No Solution
Exploring Operation: 84-55=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 84*55=4620, Resulting Numbers: [4620]
4620,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,4,4
Current State: 50:[25, 114], Operations: ['31-6=25', '84+30=114']
Exploring Operation: 25*114=2850, Resulting Numbers: [2850]
2850,50 unequal: No Solution
Exploring Operation: 25+114=139, Resulting Numbers: [139]
139,50 unequal: No Solution
Exploring Operation: 114-25=89, Resulting Numbers: [89]
89,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 50:[6, 23], Operations: ['84-30=54', '54-31=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,50 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[54, 25], Operations: ['84-30=54', '31-6=25']
Exploring Operation: 54+25=79, Resulting Numbers: [79]
79,50 unequal: No Solution
Exploring Operation: 54*25=1350, Resulting Numbers: [1350]
1350,50 unequal: No Solution
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Moving to Node #0,1,3
Current State: 50:[14, 1], Operations: ['84/6=14', '31-30=1']
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,50 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[31, 9], Operations: ['84-30=54', '54/6=9']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,50 unequal: No Solution
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,50 unequal: No Solution
Moving to Node #0,2,4
Current State: 50:[31, 48], Operations: ['84-30=54', '54-6=48']
Exploring Operation: 31*48=1488, Resulting Numbers: [1488]
1488,50 unequal: No Solution
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 31+48=79, Resulting Numbers: [79]
79,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[30, 45], Operations: ['84/6=14', '31+14=45']
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 30+45=75, Resulting Numbers: [75]
75,50 unequal: No Solution
Exploring Operation: 30*45=1350, Resulting Numbers: [1350]
1350,50 unequal: No Solution
Moving to Node #0,1,4
Current State: 50:[31, 16], Operations: ['84/6=14', '30-14=16']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 31*16=496, Resulting Numbers: [496]
496,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[30, 17], Operations: ['84/6=14', '31-14=17']
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 30+17=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 30*17=510, Resulting Numbers: [510]
510,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[31, 44], Operations: ['84/6=14', '30+14=44']
Exploring Operation: 31+44=75, Resulting Numbers: [75]
75,50 unequal: No Solution
Exploring Operation: 31*44=1364, Resulting Numbers: [1364]
1364,50 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[54, 37], Operations: ['84-30=54', '6+31=37']
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,50 unequal: No Solution
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 54*37=1998, Resulting Numbers: [1998]
1998,50 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
74,
4,
27,
13
] | 49 | [
"74+27=101",
"4*13=52",
"101-52=49"
] | Current State: 49:[74, 4, 27, 13], Operations: []
Exploring Operation: 74+27=101, Resulting Numbers: [4, 13, 101]
Generated Node #2: [4, 13, 101] from Operation: 74+27=101
Current State: 49:[4, 13, 101], Operations: ['74+27=101']
Exploring Operation: 4*13=52, Resulting Numbers: [101, 52]
Generated Node #3: [101, 52] from Operation: 4*13=52
Current State: 49:[101, 52], Operations: ['74+27=101', '4*13=52']
Exploring Operation: 101-52=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[74, 4, 27, 13], Operations: []
Exploring Operation: 74-13=61, Resulting Numbers: [4, 27, 61]
Generated Node #0,0: 49:[4, 27, 61] Operation: 74-13=61
Exploring Operation: 74-27=47, Resulting Numbers: [4, 13, 47]
Generated Node #0,1: 49:[4, 13, 47] Operation: 74-27=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[4, 13, 47], Operations: ['74-27=47']
Exploring Operation: 13-4=9, Resulting Numbers: [47, 9]
Generated Node #0,1,0: 49:[47, 9] Operation: 13-4=9
Exploring Operation: 4*13=52, Resulting Numbers: [47, 52]
Generated Node #0,1,1: 49:[47, 52] Operation: 4*13=52
Moving to Node #0,1,0
Current State: 49:[47, 9], Operations: ['74-27=47', '13-4=9']
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[47, 52], Operations: ['74-27=47', '4*13=52']
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 47+52=99, Resulting Numbers: [99]
99,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[4, 27, 61], Operations: ['74-13=61']
Exploring Operation: 27-4=23, Resulting Numbers: [61, 23]
Generated Node #0,0,0: 49:[61, 23] Operation: 27-4=23
Exploring Operation: 61-27=34, Resulting Numbers: [4, 34]
Generated Node #0,0,1: 49:[4, 34] Operation: 61-27=34
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 49:[4, 34], Operations: ['74-13=61', '61-27=34']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,49 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[61, 23], Operations: ['74-13=61', '27-4=23']
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Exploring Operation: 61+23=84, Resulting Numbers: [84]
84,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
44,
61,
16,
69
] | 20 | [
"44+61=105",
"16+69=85",
"105-85=20"
] | Current State: 20:[44, 61, 16, 69], Operations: []
Exploring Operation: 44+61=105, Resulting Numbers: [16, 69, 105]
Generated Node #2: [16, 69, 105] from Operation: 44+61=105
Current State: 20:[16, 69, 105], Operations: ['44+61=105']
Exploring Operation: 16+69=85, Resulting Numbers: [105, 85]
Generated Node #3: [105, 85] from Operation: 16+69=85
Current State: 20:[105, 85], Operations: ['44+61=105', '16+69=85']
Exploring Operation: 105-85=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[44, 61, 16, 69], Operations: []
Exploring Operation: 61-16=45, Resulting Numbers: [44, 69, 45]
Generated Node #0,0: 20:[44, 69, 45] Operation: 61-16=45
Exploring Operation: 44-16=28, Resulting Numbers: [61, 69, 28]
Generated Node #0,1: 20:[61, 69, 28] Operation: 44-16=28
Exploring Operation: 69-44=25, Resulting Numbers: [61, 16, 25]
Generated Node #0,2: 20:[61, 16, 25] Operation: 69-44=25
Exploring Operation: 61-44=17, Resulting Numbers: [16, 69, 17]
Generated Node #0,3: 20:[16, 69, 17] Operation: 61-44=17
Exploring Operation: 69-61=8, Resulting Numbers: [44, 16, 8]
Generated Node #0,4: 20:[44, 16, 8] Operation: 69-61=8
Moving to Node #0,4
Current State: 20:[44, 16, 8], Operations: ['69-61=8']
Exploring Operation: 44-16=28, Resulting Numbers: [8, 28]
Generated Node #0,4,0: 20:[8, 28] Operation: 44-16=28
Exploring Operation: 44-8=36, Resulting Numbers: [16, 36]
Generated Node #0,4,1: 20:[16, 36] Operation: 44-8=36
Exploring Operation: 16-8=8, Resulting Numbers: [44, 8]
Generated Node #0,4,2: 20:[44, 8] Operation: 16-8=8
Exploring Operation: 16/8=2, Resulting Numbers: [44, 2]
Generated Node #0,4,3: 20:[44, 2] Operation: 16/8=2
Exploring Operation: 16+8=24, Resulting Numbers: [44, 24]
Generated Node #0,4,4: 20:[44, 24] Operation: 16+8=24
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 20:[8, 28], Operations: ['69-61=8', '44-16=28']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[44, 61, 16, 69], Operations: []
Exploring Operation: 69-61=8, Resulting Numbers: [44, 16, 8]
Generated Node #0,4: 20:[44, 16, 8] Operation: 69-61=8
Moving to Node #0,4
Current State: 20:[44, 16, 8], Operations: ['69-61=8']
Exploring Operation: 44-16=28, Resulting Numbers: [8, 28]
Generated Node #0,4,0: 20:[8, 28] Operation: 44-16=28
Moving to Node #0,4,0
Current State: 20:[8, 28], Operations: ['69-61=8', '44-16=28']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
23,
22,
89,
29
] | 32 | [
"89-23=66",
"66/22=3",
"29+3=32"
] | Current State: 32:[23, 22, 89, 29], Operations: []
Exploring Operation: 89-23=66, Resulting Numbers: [22, 29, 66]
Generated Node #2: [22, 29, 66] from Operation: 89-23=66
Current State: 32:[22, 29, 66], Operations: ['89-23=66']
Exploring Operation: 66/22=3, Resulting Numbers: [29, 3]
Generated Node #3: [29, 3] from Operation: 66/22=3
Current State: 32:[29, 3], Operations: ['89-23=66', '66/22=3']
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[23, 22, 89, 29], Operations: []
Exploring Operation: 89-29=60, Resulting Numbers: [23, 22, 60]
Generated Node #0,0: 32:[23, 22, 60] Operation: 89-29=60
Moving to Node #0,0
Current State: 32:[23, 22, 60], Operations: ['89-29=60']
Exploring Operation: 60-23=37, Resulting Numbers: [22, 37]
Generated Node #0,0,0: 32:[22, 37] Operation: 60-23=37
Moving to Node #0,0,0
Current State: 32:[22, 37], Operations: ['89-29=60', '60-23=37']
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,32 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
29,
31,
36,
25
] | 14 | [
"31-29=2",
"25*2=50",
"50-36=14"
] | Current State: 14:[29, 31, 36, 25], Operations: []
Exploring Operation: 31-29=2, Resulting Numbers: [36, 25, 2]
Generated Node #2: [36, 25, 2] from Operation: 31-29=2
Current State: 14:[36, 25, 2], Operations: ['31-29=2']
Exploring Operation: 25*2=50, Resulting Numbers: [36, 50]
Generated Node #3: [36, 50] from Operation: 25*2=50
Current State: 14:[36, 50], Operations: ['31-29=2', '25*2=50']
Exploring Operation: 50-36=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[29, 31, 36, 25], Operations: []
Exploring Operation: 36-31=5, Resulting Numbers: [29, 25, 5]
Generated Node #0,0: 14:[29, 25, 5] Operation: 36-31=5
Exploring Operation: 36-29=7, Resulting Numbers: [31, 25, 7]
Generated Node #0,1: 14:[31, 25, 7] Operation: 36-29=7
Exploring Operation: 31-29=2, Resulting Numbers: [36, 25, 2]
Generated Node #0,2: 14:[36, 25, 2] Operation: 31-29=2
Moving to Node #0,0
Current State: 14:[29, 25, 5], Operations: ['36-31=5']
Exploring Operation: 29-5=24, Resulting Numbers: [25, 24]
Generated Node #0,0,0: 14:[25, 24] Operation: 29-5=24
Exploring Operation: 25/5=5, Resulting Numbers: [29, 5]
Generated Node #0,0,1: 14:[29, 5] Operation: 25/5=5
Exploring Operation: 29-25=4, Resulting Numbers: [5, 4]
Generated Node #0,0,2: 14:[5, 4] Operation: 29-25=4
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 14:[5, 4], Operations: ['36-31=5', '29-25=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,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,1
Current State: 14:[29, 5], Operations: ['36-31=5', '25/5=5']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,14 unequal: No Solution
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,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:[25, 24], Operations: ['36-31=5', '29-5=24']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,14 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 14:[31, 25, 7], Operations: ['36-29=7']
Exploring Operation: 31-25=6, Resulting Numbers: [7, 6]
Generated Node #0,1,0: 14:[7, 6] Operation: 31-25=6
Exploring Operation: 31-7=24, Resulting Numbers: [25, 24]
Generated Node #0,1,1: 14:[25, 24] Operation: 31-7=24
Exploring Operation: 25-7=18, Resulting Numbers: [31, 18]
Generated Node #0,1,2: 14:[31, 18] Operation: 25-7=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 14:[7, 6], Operations: ['36-29=7', '31-25=6']
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,14 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[25, 24], Operations: ['36-29=7', '31-7=24']
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,14 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,14 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 14:[31, 18], Operations: ['36-29=7', '25-7=18']
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,14 unequal: No Solution
Exploring Operation: 31*18=558, Resulting Numbers: [558]
558,14 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: 14:[36, 25, 2], Operations: ['31-29=2']
Exploring Operation: 36-2=34, Resulting Numbers: [25, 34]
Generated Node #0,2,0: 14:[25, 34] Operation: 36-2=34
Exploring Operation: 36-25=11, Resulting Numbers: [2, 11]
Generated Node #0,2,1: 14:[2, 11] Operation: 36-25=11
Exploring Operation: 36/2=18, Resulting Numbers: [25, 18]
Generated Node #0,2,2: 14:[25, 18] Operation: 36/2=18
Moving to Node #0,2,1
Current State: 14:[2, 11], Operations: ['31-29=2', '36-25=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,14 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[25, 18], Operations: ['31-29=2', '36/2=18']
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 25*18=450, Resulting Numbers: [450]
450,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[25, 34], Operations: ['31-29=2', '36-2=34']
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 25+34=59, Resulting Numbers: [59]
59,14 unequal: No Solution
Exploring Operation: 25*34=850, Resulting Numbers: [850]
850,14 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
63,
79,
77,
67
] | 71 | [
"79-77=2",
"67*2=134",
"134-63=71"
] | Current State: 71:[63, 79, 77, 67], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [63, 67, 2]
Generated Node #2: [63, 67, 2] from Operation: 79-77=2
Current State: 71:[63, 67, 2], Operations: ['79-77=2']
Exploring Operation: 67*2=134, Resulting Numbers: [63, 134]
Generated Node #3: [63, 134] from Operation: 67*2=134
Current State: 71:[63, 134], Operations: ['79-77=2', '67*2=134']
Exploring Operation: 134-63=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[63, 79, 77, 67], Operations: []
Exploring Operation: 79-67=12, Resulting Numbers: [63, 77, 12]
Generated Node #0,0: 71:[63, 77, 12] Operation: 79-67=12
Exploring Operation: 77-63=14, Resulting Numbers: [79, 67, 14]
Generated Node #0,1: 71:[79, 67, 14] Operation: 77-63=14
Exploring Operation: 79-63=16, Resulting Numbers: [77, 67, 16]
Generated Node #0,2: 71:[77, 67, 16] Operation: 79-63=16
Exploring Operation: 63+67=130, Resulting Numbers: [79, 77, 130]
Generated Node #0,3: 71:[79, 77, 130] Operation: 63+67=130
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[77, 67, 16], Operations: ['79-63=16']
Exploring Operation: 77-16=61, Resulting Numbers: [67, 61]
Generated Node #0,2,0: 71:[67, 61] Operation: 77-16=61
Exploring Operation: 67-16=51, Resulting Numbers: [77, 51]
Generated Node #0,2,1: 71:[77, 51] Operation: 67-16=51
Exploring Operation: 67+16=83, Resulting Numbers: [77, 83]
Generated Node #0,2,2: 71:[77, 83] Operation: 67+16=83
Exploring Operation: 77+16=93, Resulting Numbers: [67, 93]
Generated Node #0,2,3: 71:[67, 93] Operation: 77+16=93
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[67, 61], Operations: ['79-63=16', '77-16=61']
Exploring Operation: 67+61=128, Resulting Numbers: [128]
128,71 unequal: No Solution
Exploring Operation: 67*61=4087, Resulting Numbers: [4087]
4087,71 unequal: No Solution
Exploring Operation: 67-61=6, Resulting Numbers: [6]
6,71 unequal: No Solution
No 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: 71:[77, 83], Operations: ['79-63=16', '67+16=83']
Exploring Operation: 83-77=6, Resulting Numbers: [6]
6,71 unequal: No Solution
Exploring Operation: 77+83=160, Resulting Numbers: [160]
160,71 unequal: No Solution
Exploring Operation: 77*83=6391, Resulting Numbers: [6391]
6391,71 unequal: No Solution
No 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: 71:[77, 51], Operations: ['79-63=16', '67-16=51']
Exploring Operation: 77-51=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 77*51=3927, Resulting Numbers: [3927]
3927,71 unequal: No Solution
Exploring Operation: 77+51=128, Resulting Numbers: [128]
128,71 unequal: No Solution
No 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: 71:[67, 93], Operations: ['79-63=16', '77+16=93']
Exploring Operation: 93-67=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 67*93=6231, Resulting Numbers: [6231]
6231,71 unequal: No Solution
Exploring Operation: 67+93=160, Resulting Numbers: [160]
160,71 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: 71:[79, 67, 14], Operations: ['77-63=14']
Exploring Operation: 79+14=93, Resulting Numbers: [67, 93]
Generated Node #0,1,0: 71:[67, 93] Operation: 79+14=93
Exploring Operation: 67+14=81, Resulting Numbers: [79, 81]
Generated Node #0,1,1: 71:[79, 81] Operation: 67+14=81
Exploring Operation: 67-14=53, Resulting Numbers: [79, 53]
Generated Node #0,1,2: 71:[79, 53] Operation: 67-14=53
Exploring Operation: 79-14=65, Resulting Numbers: [67, 65]
Generated Node #0,1,3: 71:[67, 65] Operation: 79-14=65
Moving to Node #0,1,3
Current State: 71:[67, 65], Operations: ['77-63=14', '79-14=65']
Exploring Operation: 67+65=132, Resulting Numbers: [132]
132,71 unequal: No Solution
Exploring Operation: 67-65=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 67*65=4355, Resulting Numbers: [4355]
4355,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[79, 81], Operations: ['77-63=14', '67+14=81']
Exploring Operation: 81-79=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 79*81=6399, Resulting Numbers: [6399]
6399,71 unequal: No Solution
Exploring Operation: 79+81=160, Resulting Numbers: [160]
160,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[79, 53], Operations: ['77-63=14', '67-14=53']
Exploring Operation: 79*53=4187, Resulting Numbers: [4187]
4187,71 unequal: No Solution
Exploring Operation: 79+53=132, Resulting Numbers: [132]
132,71 unequal: No Solution
Exploring Operation: 79-53=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[67, 93], Operations: ['77-63=14', '79+14=93']
Exploring Operation: 67+93=160, Resulting Numbers: [160]
160,71 unequal: No Solution
Exploring Operation: 93-67=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 67*93=6231, Resulting Numbers: [6231]
6231,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[63, 77, 12], Operations: ['79-67=12']
Exploring Operation: 77-12=65, Resulting Numbers: [63, 65]
Generated Node #0,0,0: 71:[63, 65] Operation: 77-12=65
Exploring Operation: 63-12=51, Resulting Numbers: [77, 51]
Generated Node #0,0,1: 71:[77, 51] Operation: 63-12=51
Exploring Operation: 63+12=75, Resulting Numbers: [77, 75]
Generated Node #0,0,2: 71:[77, 75] Operation: 63+12=75
Exploring Operation: 77+12=89, Resulting Numbers: [63, 89]
Generated Node #0,0,3: 71:[63, 89] Operation: 77+12=89
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[77, 75], Operations: ['79-67=12', '63+12=75']
Exploring Operation: 77-75=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 77*75=5775, Resulting Numbers: [5775]
5775,71 unequal: No Solution
Exploring Operation: 77+75=152, Resulting Numbers: [152]
152,71 unequal: No Solution
No 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: 71:[63, 65], Operations: ['79-67=12', '77-12=65']
Exploring Operation: 63+65=128, Resulting Numbers: [128]
128,71 unequal: No Solution
Exploring Operation: 63*65=4095, Resulting Numbers: [4095]
4095,71 unequal: No Solution
Exploring Operation: 65-63=2, Resulting Numbers: [2]
2,71 unequal: No Solution
No 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: 71:[77, 51], Operations: ['79-67=12', '63-12=51']
Exploring Operation: 77-51=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 77*51=3927, Resulting Numbers: [3927]
3927,71 unequal: No Solution
Exploring Operation: 77+51=128, Resulting Numbers: [128]
128,71 unequal: No Solution
No 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: 71:[63, 89], Operations: ['79-67=12', '77+12=89']
Exploring Operation: 89-63=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 63*89=5607, Resulting Numbers: [5607]
5607,71 unequal: No Solution
Exploring Operation: 63+89=152, Resulting Numbers: [152]
152,71 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: 71:[79, 77, 130], Operations: ['63+67=130']
Exploring Operation: 79-77=2, Resulting Numbers: [130, 2]
Generated Node #0,3,0: 71:[130, 2] Operation: 79-77=2
Exploring Operation: 79+77=156, Resulting Numbers: [130, 156]
Generated Node #0,3,1: 71:[130, 156] Operation: 79+77=156
Exploring Operation: 130-77=53, Resulting Numbers: [79, 53]
Generated Node #0,3,2: 71:[79, 53] Operation: 130-77=53
Exploring Operation: 130-79=51, Resulting Numbers: [77, 51]
Generated Node #0,3,3: 71:[77, 51] Operation: 130-79=51
Moving to Node #0,3,2
Current State: 71:[79, 53], Operations: ['63+67=130', '130-77=53']
Exploring Operation: 79-53=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 79*53=4187, Resulting Numbers: [4187]
4187,71 unequal: No Solution
Exploring Operation: 79+53=132, Resulting Numbers: [132]
132,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[77, 51], Operations: ['63+67=130', '130-79=51']
Exploring Operation: 77*51=3927, Resulting Numbers: [3927]
3927,71 unequal: No Solution
Exploring Operation: 77+51=128, Resulting Numbers: [128]
128,71 unequal: No Solution
Exploring Operation: 77-51=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[130, 2], Operations: ['63+67=130', '79-77=2']
Exploring Operation: 130-2=128, Resulting Numbers: [128]
128,71 unequal: No Solution
Exploring Operation: 130*2=260, Resulting Numbers: [260]
260,71 unequal: No Solution
Exploring Operation: 130+2=132, Resulting Numbers: [132]
132,71 unequal: No Solution
Exploring Operation: 130/2=65, Resulting Numbers: [65]
65,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[130, 156], Operations: ['63+67=130', '79+77=156']
Exploring Operation: 156-130=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 130*156=20280, Resulting Numbers: [20280]
20280,71 unequal: No Solution
Exploring Operation: 130+156=286, Resulting Numbers: [286]
286,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
31,
48,
30,
12
] | 62 | [
"48+12=60",
"31*60=1860",
"1860/30=62"
] | Current State: 62:[31, 48, 30, 12], Operations: []
Exploring Operation: 48+12=60, Resulting Numbers: [31, 30, 60]
Generated Node #2: [31, 30, 60] from Operation: 48+12=60
Current State: 62:[31, 30, 60], Operations: ['48+12=60']
Exploring Operation: 31*60=1860, Resulting Numbers: [30, 1860]
Generated Node #3: [30, 1860] from Operation: 31*60=1860
Current State: 62:[30, 1860], Operations: ['48+12=60', '31*60=1860']
Exploring Operation: 1860/30=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[31, 48, 30, 12], Operations: []
Exploring Operation: 48/12=4, Resulting Numbers: [31, 30, 4]
Generated Node #0,0: 62:[31, 30, 4] Operation: 48/12=4
Exploring Operation: 48+12=60, Resulting Numbers: [31, 30, 60]
Generated Node #0,1: 62:[31, 30, 60] Operation: 48+12=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[31, 30, 4], Operations: ['48/12=4']
Exploring Operation: 31-30=1, Resulting Numbers: [4, 1]
Generated Node #0,0,0: 62:[4, 1] Operation: 31-30=1
Exploring Operation: 31+30=61, Resulting Numbers: [4, 61]
Generated Node #0,0,1: 62:[4, 61] Operation: 31+30=61
Moving to Node #0,0,0
Current State: 62:[4, 1], Operations: ['48/12=4', '31-30=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[4, 61], Operations: ['48/12=4', '31+30=61']
Exploring Operation: 4+61=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,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:[31, 30, 60], Operations: ['48+12=60']
Exploring Operation: 60-30=30, Resulting Numbers: [31, 30]
Generated Node #0,1,0: 62:[31, 30] Operation: 60-30=30
Exploring Operation: 60/30=2, Resulting Numbers: [31, 2]
Generated Node #0,1,1: 62:[31, 2] Operation: 60/30=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 62:[31, 2], Operations: ['48+12=60', '60/30=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[31, 48, 30, 12], Operations: []
Exploring Operation: 48+12=60, Resulting Numbers: [31, 30, 60]
Generated Node #0,1: 62:[31, 30, 60] Operation: 48+12=60
Moving to Node #0,1
Current State: 62:[31, 30, 60], Operations: ['48+12=60']
Exploring Operation: 60/30=2, Resulting Numbers: [31, 2]
Generated Node #0,1,1: 62:[31, 2] Operation: 60/30=2
Moving to Node #0,1,1
Current State: 62:[31, 2], Operations: ['48+12=60', '60/30=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
38,
7,
22,
13
] | 31 | [
"38+22=60",
"7*13=91",
"91-60=31"
] | Current State: 31:[38, 7, 22, 13], Operations: []
Exploring Operation: 38+22=60, Resulting Numbers: [7, 13, 60]
Generated Node #2: [7, 13, 60] from Operation: 38+22=60
Current State: 31:[7, 13, 60], Operations: ['38+22=60']
Exploring Operation: 7*13=91, Resulting Numbers: [60, 91]
Generated Node #3: [60, 91] from Operation: 7*13=91
Current State: 31:[60, 91], Operations: ['38+22=60', '7*13=91']
Exploring Operation: 91-60=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[38, 7, 22, 13], Operations: []
Exploring Operation: 38-7=31, Resulting Numbers: [22, 13, 31]
Generated Node #0,0: 31:[22, 13, 31] Operation: 38-7=31
Moving to Node #0,0
Current State: 31:[22, 13, 31], Operations: ['38-7=31']
Exploring Operation: 22+13=35, Resulting Numbers: [31, 35]
Generated Node #0,0,0: 31:[31, 35] Operation: 22+13=35
Moving to Node #0,0,0
Current State: 31:[31, 35], Operations: ['38-7=31', '22+13=35']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,31 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
26,
16,
36
] | 72 | [
"6+26=32",
"32/16=2",
"36*2=72"
] | Current State: 72:[6, 26, 16, 36], Operations: []
Exploring Operation: 6+26=32, Resulting Numbers: [16, 36, 32]
Generated Node #2: [16, 36, 32] from Operation: 6+26=32
Current State: 72:[16, 36, 32], Operations: ['6+26=32']
Exploring Operation: 32/16=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 32/16=2
Current State: 72:[36, 2], Operations: ['6+26=32', '32/16=2']
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[6, 26, 16, 36], Operations: []
Exploring Operation: 26-16=10, Resulting Numbers: [6, 36, 10]
Generated Node #0,0: 72:[6, 36, 10] Operation: 26-16=10
Exploring Operation: 16-6=10, Resulting Numbers: [26, 36, 10]
Generated Node #0,1: 72:[26, 36, 10] Operation: 16-6=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[6, 36, 10], Operations: ['26-16=10']
Exploring Operation: 36/6=6, Resulting Numbers: [10, 6]
Generated Node #0,0,0: 72:[10, 6] Operation: 36/6=6
Exploring Operation: 10-6=4, Resulting Numbers: [36, 4]
Generated Node #0,0,1: 72:[36, 4] Operation: 10-6=4
Moving to Node #0,0,1
Current State: 72:[36, 4], Operations: ['26-16=10', '10-6=4']
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,72 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[10, 6], Operations: ['26-16=10', '36/6=6']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,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
Current State: 72:[26, 36, 10], Operations: ['16-6=10']
Exploring Operation: 26+10=36, Resulting Numbers: [36, 36]
Generated Node #0,1,0: 72:[36, 36] Operation: 26+10=36
Exploring Operation: 36-26=10, Resulting Numbers: [10, 10]
Generated Node #0,1,1: 72:[10, 10] Operation: 36-26=10
Moving to Node #0,1,0
Current State: 72:[36, 36], Operations: ['16-6=10', '26+10=36']
Exploring Operation: 36+36=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[6, 26, 16, 36], Operations: []
Exploring Operation: 16-6=10, Resulting Numbers: [26, 36, 10]
Generated Node #0,1: 72:[26, 36, 10] Operation: 16-6=10
Moving to Node #0,1
Current State: 72:[26, 36, 10], Operations: ['16-6=10']
Exploring Operation: 26+10=36, Resulting Numbers: [36, 36]
Generated Node #0,1,0: 72:[36, 36] Operation: 26+10=36
Moving to Node #0,1,0
Current State: 72:[36, 36], Operations: ['16-6=10', '26+10=36']
Exploring Operation: 36+36=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
32,
62,
38,
86
] | 34 | [
"38+86=124",
"124/62=2",
"32+2=34"
] | Current State: 34:[32, 62, 38, 86], Operations: []
Exploring Operation: 38+86=124, Resulting Numbers: [32, 62, 124]
Generated Node #2: [32, 62, 124] from Operation: 38+86=124
Current State: 34:[32, 62, 124], Operations: ['38+86=124']
Exploring Operation: 124/62=2, Resulting Numbers: [32, 2]
Generated Node #3: [32, 2] from Operation: 124/62=2
Current State: 34:[32, 2], Operations: ['38+86=124', '124/62=2']
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[32, 62, 38, 86], Operations: []
Exploring Operation: 86-62=24, Resulting Numbers: [32, 38, 24]
Generated Node #0,0: 34:[32, 38, 24] Operation: 86-62=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[32, 38, 24], Operations: ['86-62=24']
Exploring Operation: 38-24=14, Resulting Numbers: [32, 14]
Generated Node #0,0,0: 34:[32, 14] Operation: 38-24=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[32, 14], Operations: ['86-62=24', '38-24=14']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
50,
57,
82,
91
] | 63 | [
"57-50=7",
"91-82=9",
"7*9=63"
] | Current State: 63:[50, 57, 82, 91], Operations: []
Exploring Operation: 57-50=7, Resulting Numbers: [82, 91, 7]
Generated Node #2: [82, 91, 7] from Operation: 57-50=7
Current State: 63:[82, 91, 7], Operations: ['57-50=7']
Exploring Operation: 91-82=9, Resulting Numbers: [7, 9]
Generated Node #3: [7, 9] from Operation: 91-82=9
Current State: 63:[7, 9], Operations: ['57-50=7', '91-82=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[50, 57, 82, 91], Operations: []
Exploring Operation: 91-50=41, Resulting Numbers: [57, 82, 41]
Generated Node #0,0: 63:[57, 82, 41] Operation: 91-50=41
Exploring Operation: 91-82=9, Resulting Numbers: [50, 57, 9]
Generated Node #0,1: 63:[50, 57, 9] Operation: 91-82=9
Exploring Operation: 82-50=32, Resulting Numbers: [57, 91, 32]
Generated Node #0,2: 63:[57, 91, 32] Operation: 82-50=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[50, 57, 9], Operations: ['91-82=9']
Exploring Operation: 57+9=66, Resulting Numbers: [50, 66]
Generated Node #0,1,0: 63:[50, 66] Operation: 57+9=66
Exploring Operation: 50+9=59, Resulting Numbers: [57, 59]
Generated Node #0,1,1: 63:[57, 59] Operation: 50+9=59
Exploring Operation: 57-50=7, Resulting Numbers: [9, 7]
Generated Node #0,1,2: 63:[9, 7] Operation: 57-50=7
Moving to Node #0,1,2
Current State: 63:[9, 7], Operations: ['91-82=9', '57-50=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[50, 57, 82, 91], Operations: []
Exploring Operation: 91-82=9, Resulting Numbers: [50, 57, 9]
Generated Node #0,1: 63:[50, 57, 9] Operation: 91-82=9
Moving to Node #0,1
Current State: 63:[50, 57, 9], Operations: ['91-82=9']
Exploring Operation: 57-50=7, Resulting Numbers: [9, 7]
Generated Node #0,1,2: 63:[9, 7] Operation: 57-50=7
Moving to Node #0,1,2
Current State: 63:[9, 7], Operations: ['91-82=9', '57-50=7']
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
80,
51,
58,
53
] | 35 | [
"58-53=5",
"80/5=16",
"51-16=35"
] | Current State: 35:[80, 51, 58, 53], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [80, 51, 5]
Generated Node #2: [80, 51, 5] from Operation: 58-53=5
Current State: 35:[80, 51, 5], Operations: ['58-53=5']
Exploring Operation: 80/5=16, Resulting Numbers: [51, 16]
Generated Node #3: [51, 16] from Operation: 80/5=16
Current State: 35:[51, 16], Operations: ['58-53=5', '80/5=16']
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[80, 51, 58, 53], Operations: []
Exploring Operation: 80-51=29, Resulting Numbers: [58, 53, 29]
Generated Node #0,0: 35:[58, 53, 29] Operation: 80-51=29
Moving to Node #0,0
Current State: 35:[58, 53, 29], Operations: ['80-51=29']
Exploring Operation: 58-53=5, Resulting Numbers: [29, 5]
Generated Node #0,0,0: 35:[29, 5] Operation: 58-53=5
Moving to Node #0,0,0
Current State: 35:[29, 5], Operations: ['80-51=29', '58-53=5']
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,35 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
62,
91,
65
] | 73 | [
"65-62=3",
"6*3=18",
"91-18=73"
] | Current State: 73:[6, 62, 91, 65], Operations: []
Exploring Operation: 65-62=3, Resulting Numbers: [6, 91, 3]
Generated Node #2: [6, 91, 3] from Operation: 65-62=3
Current State: 73:[6, 91, 3], Operations: ['65-62=3']
Exploring Operation: 6*3=18, Resulting Numbers: [91, 18]
Generated Node #3: [91, 18] from Operation: 6*3=18
Current State: 73:[91, 18], Operations: ['65-62=3', '6*3=18']
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[6, 62, 91, 65], Operations: []
Exploring Operation: 6+65=71, Resulting Numbers: [62, 91, 71]
Generated Node #0,0: 73:[62, 91, 71] Operation: 6+65=71
Exploring Operation: 62-6=56, Resulting Numbers: [91, 65, 56]
Generated Node #0,1: 73:[91, 65, 56] Operation: 62-6=56
Exploring Operation: 91-6=85, Resulting Numbers: [62, 65, 85]
Generated Node #0,2: 73:[62, 65, 85] Operation: 91-6=85
Exploring Operation: 6+62=68, Resulting Numbers: [91, 65, 68]
Generated Node #0,3: 73:[91, 65, 68] Operation: 6+62=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[62, 91, 71], Operations: ['6+65=71']
Exploring Operation: 91-62=29, Resulting Numbers: [71, 29]
Generated Node #0,0,0: 73:[71, 29] Operation: 91-62=29
Exploring Operation: 91-71=20, Resulting Numbers: [62, 20]
Generated Node #0,0,1: 73:[62, 20] Operation: 91-71=20
Exploring Operation: 62+71=133, Resulting Numbers: [91, 133]
Generated Node #0,0,2: 73:[91, 133] Operation: 62+71=133
Exploring Operation: 62+91=153, Resulting Numbers: [71, 153]
Generated Node #0,0,3: 73:[71, 153] Operation: 62+91=153
Moving to Node #0,0,0
Current State: 73:[71, 29], Operations: ['6+65=71', '91-62=29']
Exploring Operation: 71*29=2059, Resulting Numbers: [2059]
2059,73 unequal: No Solution
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,73 unequal: No Solution
Exploring Operation: 71+29=100, Resulting Numbers: [100]
100,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[62, 20], Operations: ['6+65=71', '91-71=20']
Exploring Operation: 62*20=1240, Resulting Numbers: [1240]
1240,73 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,73 unequal: No Solution
Exploring Operation: 62+20=82, Resulting Numbers: [82]
82,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[91, 133], Operations: ['6+65=71', '62+71=133']
Exploring Operation: 91+133=224, Resulting Numbers: [224]
224,73 unequal: No Solution
Exploring Operation: 133-91=42, Resulting Numbers: [42]
42,73 unequal: No Solution
Exploring Operation: 91*133=12103, Resulting Numbers: [12103]
12103,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[71, 153], Operations: ['6+65=71', '62+91=153']
Exploring Operation: 71*153=10863, Resulting Numbers: [10863]
10863,73 unequal: No Solution
Exploring Operation: 71+153=224, Resulting Numbers: [224]
224,73 unequal: No Solution
Exploring Operation: 153-71=82, Resulting Numbers: [82]
82,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[62, 65, 85], Operations: ['91-6=85']
Exploring Operation: 65-62=3, Resulting Numbers: [85, 3]
Generated Node #0,2,0: 73:[85, 3] Operation: 65-62=3
Exploring Operation: 85-65=20, Resulting Numbers: [62, 20]
Generated Node #0,2,1: 73:[62, 20] Operation: 85-65=20
Exploring Operation: 62+65=127, Resulting Numbers: [85, 127]
Generated Node #0,2,2: 73:[85, 127] Operation: 62+65=127
Exploring Operation: 85-62=23, Resulting Numbers: [65, 23]
Generated Node #0,2,3: 73:[65, 23] Operation: 85-62=23
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 73:[65, 23], Operations: ['91-6=85', '85-62=23']
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,73 unequal: No Solution
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 65*23=1495, Resulting Numbers: [1495]
1495,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 73:[62, 20], Operations: ['91-6=85', '85-65=20']
Exploring Operation: 62+20=82, Resulting Numbers: [82]
82,73 unequal: No Solution
Exploring Operation: 62*20=1240, Resulting Numbers: [1240]
1240,73 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 73:[85, 127], Operations: ['91-6=85', '62+65=127']
Exploring Operation: 85*127=10795, Resulting Numbers: [10795]
10795,73 unequal: No Solution
Exploring Operation: 127-85=42, Resulting Numbers: [42]
42,73 unequal: No Solution
Exploring Operation: 85+127=212, Resulting Numbers: [212]
212,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 73:[85, 3], Operations: ['91-6=85', '65-62=3']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,73 unequal: No Solution
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 85*3=255, Resulting Numbers: [255]
255,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 73:[91, 65, 68], Operations: ['6+62=68']
Exploring Operation: 91-65=26, Resulting Numbers: [68, 26]
Generated Node #0,3,0: 73:[68, 26] Operation: 91-65=26
Exploring Operation: 91+65=156, Resulting Numbers: [68, 156]
Generated Node #0,3,1: 73:[68, 156] Operation: 91+65=156
Exploring Operation: 91-68=23, Resulting Numbers: [65, 23]
Generated Node #0,3,2: 73:[65, 23] Operation: 91-68=23
Exploring Operation: 65+68=133, Resulting Numbers: [91, 133]
Generated Node #0,3,3: 73:[91, 133] Operation: 65+68=133
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 73:[68, 26], Operations: ['6+62=68', '91-65=26']
Exploring Operation: 68*26=1768, Resulting Numbers: [1768]
1768,73 unequal: No Solution
Exploring Operation: 68+26=94, Resulting Numbers: [94]
94,73 unequal: No Solution
Exploring Operation: 68-26=42, Resulting Numbers: [42]
42,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 73:[65, 23], Operations: ['6+62=68', '91-68=23']
Exploring Operation: 65*23=1495, Resulting Numbers: [1495]
1495,73 unequal: No Solution
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,73 unequal: No Solution
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 73:[91, 133], Operations: ['6+62=68', '65+68=133']
Exploring Operation: 91*133=12103, Resulting Numbers: [12103]
12103,73 unequal: No Solution
Exploring Operation: 133-91=42, Resulting Numbers: [42]
42,73 unequal: No Solution
Exploring Operation: 91+133=224, Resulting Numbers: [224]
224,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 73:[68, 156], Operations: ['6+62=68', '91+65=156']
Exploring Operation: 156-68=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 68*156=10608, Resulting Numbers: [10608]
10608,73 unequal: No Solution
Exploring Operation: 68+156=224, Resulting Numbers: [224]
224,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[91, 65, 56], Operations: ['62-6=56']
Exploring Operation: 65+56=121, Resulting Numbers: [91, 121]
Generated Node #0,1,0: 73:[91, 121] Operation: 65+56=121
Exploring Operation: 91-65=26, Resulting Numbers: [56, 26]
Generated Node #0,1,1: 73:[56, 26] Operation: 91-65=26
Exploring Operation: 91+56=147, Resulting Numbers: [65, 147]
Generated Node #0,1,2: 73:[65, 147] Operation: 91+56=147
Exploring Operation: 91-56=35, Resulting Numbers: [65, 35]
Generated Node #0,1,3: 73:[65, 35] Operation: 91-56=35
Moving to Node #0,1,3
Current State: 73:[65, 35], Operations: ['62-6=56', '91-56=35']
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 65*35=2275, Resulting Numbers: [2275]
2275,73 unequal: No Solution
Exploring Operation: 65+35=100, Resulting Numbers: [100]
100,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[56, 26], Operations: ['62-6=56', '91-65=26']
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 56+26=82, Resulting Numbers: [82]
82,73 unequal: No Solution
Exploring Operation: 56*26=1456, Resulting Numbers: [1456]
1456,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[91, 121], Operations: ['62-6=56', '65+56=121']
Exploring Operation: 121-91=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 91+121=212, Resulting Numbers: [212]
212,73 unequal: No Solution
Exploring Operation: 91*121=11011, Resulting Numbers: [11011]
11011,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[65, 147], Operations: ['62-6=56', '91+56=147']
Exploring Operation: 65*147=9555, Resulting Numbers: [9555]
9555,73 unequal: No Solution
Exploring Operation: 147-65=82, Resulting Numbers: [82]
82,73 unequal: No Solution
Exploring Operation: 65+147=212, Resulting Numbers: [212]
212,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
78,
76,
67,
75
] | 27 | [
"78-75=3",
"76-67=9",
"3*9=27"
] | Current State: 27:[78, 76, 67, 75], Operations: []
Exploring Operation: 78-75=3, Resulting Numbers: [76, 67, 3]
Generated Node #2: [76, 67, 3] from Operation: 78-75=3
Current State: 27:[76, 67, 3], Operations: ['78-75=3']
Exploring Operation: 76-67=9, Resulting Numbers: [3, 9]
Generated Node #3: [3, 9] from Operation: 76-67=9
Current State: 27:[3, 9], Operations: ['78-75=3', '76-67=9']
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[78, 76, 67, 75], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [67, 75, 2]
Generated Node #0,0: 27:[67, 75, 2] Operation: 78-76=2
Exploring Operation: 78-75=3, Resulting Numbers: [76, 67, 3]
Generated Node #0,1: 27:[76, 67, 3] Operation: 78-75=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[67, 75, 2], Operations: ['78-76=2']
Exploring Operation: 75-67=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 27:[2, 8] Operation: 75-67=8
Exploring Operation: 67-2=65, Resulting Numbers: [75, 65]
Generated Node #0,0,1: 27:[75, 65] Operation: 67-2=65
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[2, 8], Operations: ['78-76=2', '75-67=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[75, 65], Operations: ['78-76=2', '67-2=65']
Exploring Operation: 75+65=140, Resulting Numbers: [140]
140,27 unequal: No Solution
Exploring Operation: 75-65=10, Resulting Numbers: [10]
10,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[76, 67, 3], Operations: ['78-75=3']
Exploring Operation: 76-3=73, Resulting Numbers: [67, 73]
Generated Node #0,1,0: 27:[67, 73] Operation: 76-3=73
Exploring Operation: 76-67=9, Resulting Numbers: [3, 9]
Generated Node #0,1,1: 27:[3, 9] Operation: 76-67=9
Moving to Node #0,1,1
Current State: 27:[3, 9], Operations: ['78-75=3', '76-67=9']
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[78, 76, 67, 75], Operations: []
Exploring Operation: 78-75=3, Resulting Numbers: [76, 67, 3]
Generated Node #0,1: 27:[76, 67, 3] Operation: 78-75=3
Moving to Node #0,1
Current State: 27:[76, 67, 3], Operations: ['78-75=3']
Exploring Operation: 76-67=9, Resulting Numbers: [3, 9]
Generated Node #0,1,1: 27:[3, 9] Operation: 76-67=9
Moving to Node #0,1,1
Current State: 27:[3, 9], Operations: ['78-75=3', '76-67=9']
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
28,
26,
73,
52
] | 99 | [
"28-26=2",
"52/2=26",
"73+26=99"
] | Current State: 99:[28, 26, 73, 52], Operations: []
Exploring Operation: 28-26=2, Resulting Numbers: [73, 52, 2]
Generated Node #2: [73, 52, 2] from Operation: 28-26=2
Current State: 99:[73, 52, 2], Operations: ['28-26=2']
Exploring Operation: 52/2=26, Resulting Numbers: [73, 26]
Generated Node #3: [73, 26] from Operation: 52/2=26
Current State: 99:[73, 26], Operations: ['28-26=2', '52/2=26']
Exploring Operation: 73+26=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[28, 26, 73, 52], Operations: []
Exploring Operation: 73-52=21, Resulting Numbers: [28, 26, 21]
Generated Node #0,0: 99:[28, 26, 21] Operation: 73-52=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[28, 26, 21], Operations: ['73-52=21']
Exploring Operation: 26-21=5, Resulting Numbers: [28, 5]
Generated Node #0,0,0: 99:[28, 5] Operation: 26-21=5
Moving to Node #0,0,0
Current State: 99:[28, 5], Operations: ['73-52=21', '26-21=5']
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,99 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 |
[
90,
60,
27,
99
] | 67 | [
"90+99=189",
"189/27=7",
"60+7=67"
] | Current State: 67:[90, 60, 27, 99], Operations: []
Exploring Operation: 90+99=189, Resulting Numbers: [60, 27, 189]
Generated Node #2: [60, 27, 189] from Operation: 90+99=189
Current State: 67:[60, 27, 189], Operations: ['90+99=189']
Exploring Operation: 189/27=7, Resulting Numbers: [60, 7]
Generated Node #3: [60, 7] from Operation: 189/27=7
Current State: 67:[60, 7], Operations: ['90+99=189', '189/27=7']
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[90, 60, 27, 99], Operations: []
Exploring Operation: 60+27=87, Resulting Numbers: [90, 99, 87]
Generated Node #0,0: 67:[90, 99, 87] Operation: 60+27=87
Exploring Operation: 99-27=72, Resulting Numbers: [90, 60, 72]
Generated Node #0,1: 67:[90, 60, 72] Operation: 99-27=72
Exploring Operation: 90-27=63, Resulting Numbers: [60, 99, 63]
Generated Node #0,2: 67:[60, 99, 63] Operation: 90-27=63
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[90, 60, 72], Operations: ['99-27=72']
Exploring Operation: 72-60=12, Resulting Numbers: [90, 12]
Generated Node #0,1,0: 67:[90, 12] Operation: 72-60=12
Exploring Operation: 90-60=30, Resulting Numbers: [72, 30]
Generated Node #0,1,1: 67:[72, 30] Operation: 90-60=30
Exploring Operation: 90-72=18, Resulting Numbers: [60, 18]
Generated Node #0,1,2: 67:[60, 18] Operation: 90-72=18
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[72, 30], Operations: ['99-27=72', '90-60=30']
Exploring Operation: 72+30=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 72-30=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 72*30=2160, Resulting Numbers: [2160]
2160,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[60, 18], Operations: ['99-27=72', '90-72=18']
Exploring Operation: 60+18=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 60*18=1080, Resulting Numbers: [1080]
1080,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[90, 12], Operations: ['99-27=72', '72-60=12']
Exploring Operation: 90*12=1080, Resulting Numbers: [1080]
1080,67 unequal: No Solution
Exploring Operation: 90-12=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 90+12=102, Resulting Numbers: [102]
102,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[60, 99, 63], Operations: ['90-27=63']
Exploring Operation: 99-60=39, Resulting Numbers: [63, 39]
Generated Node #0,2,0: 67:[63, 39] Operation: 99-60=39
Exploring Operation: 60+63=123, Resulting Numbers: [99, 123]
Generated Node #0,2,1: 67:[99, 123] Operation: 60+63=123
Exploring Operation: 99-63=36, Resulting Numbers: [60, 36]
Generated Node #0,2,2: 67:[60, 36] Operation: 99-63=36
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[63, 39], Operations: ['90-27=63', '99-60=39']
Exploring Operation: 63-39=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 63*39=2457, Resulting Numbers: [2457]
2457,67 unequal: No Solution
Exploring Operation: 63+39=102, Resulting Numbers: [102]
102,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[60, 36], Operations: ['90-27=63', '99-63=36']
Exploring Operation: 60+36=96, Resulting Numbers: [96]
96,67 unequal: No Solution
Exploring Operation: 60*36=2160, Resulting Numbers: [2160]
2160,67 unequal: No Solution
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[99, 123], Operations: ['90-27=63', '60+63=123']
Exploring Operation: 99+123=222, Resulting Numbers: [222]
222,67 unequal: No Solution
Exploring Operation: 123-99=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 99*123=12177, Resulting Numbers: [12177]
12177,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[90, 99, 87], Operations: ['60+27=87']
Exploring Operation: 99-90=9, Resulting Numbers: [87, 9]
Generated Node #0,0,0: 67:[87, 9] Operation: 99-90=9
Exploring Operation: 90-87=3, Resulting Numbers: [99, 3]
Generated Node #0,0,1: 67:[99, 3] Operation: 90-87=3
Exploring Operation: 99-87=12, Resulting Numbers: [90, 12]
Generated Node #0,0,2: 67:[90, 12] Operation: 99-87=12
Moving to Node #0,0,0
Current State: 67:[87, 9], Operations: ['60+27=87', '99-90=9']
Exploring Operation: 87*9=783, Resulting Numbers: [783]
783,67 unequal: No Solution
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 87+9=96, Resulting Numbers: [96]
96,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[90, 12], Operations: ['60+27=87', '99-87=12']
Exploring Operation: 90-12=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 90+12=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 90*12=1080, Resulting Numbers: [1080]
1080,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[99, 3], Operations: ['60+27=87', '90-87=3']
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,67 unequal: No Solution
Exploring Operation: 99+3=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 99/3=33, Resulting Numbers: [33]
33,67 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.