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 |
|---|---|---|---|---|---|---|---|---|
[
1,
29,
56,
44
] | 71 | [
"1*29=29",
"56+44=100",
"100-29=71"
] | Current State: 71:[1, 29, 56, 44], Operations: []
Exploring Operation: 1*29=29, Resulting Numbers: [56, 44, 29]
Generated Node #2: [56, 44, 29] from Operation: 1*29=29
Current State: 71:[56, 44, 29], Operations: ['1*29=29']
Exploring Operation: 56+44=100, Resulting Numbers: [29, 100]
Generated Node #3: [29, 100] from Operation: 56+44=100
Current State: 71:[29, 100], Operations: ['1*29=29', '56+44=100']
Exploring Operation: 100-29=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[1, 29, 56, 44], Operations: []
Exploring Operation: 1+56=57, Resulting Numbers: [29, 44, 57]
Generated Node #0,0: 71:[29, 44, 57] Operation: 1+56=57
Exploring Operation: 1+29=30, Resulting Numbers: [56, 44, 30]
Generated Node #0,1: 71:[56, 44, 30] Operation: 1+29=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[29, 44, 57], Operations: ['1+56=57']
Exploring Operation: 29+57=86, Resulting Numbers: [44, 86]
Generated Node #0,0,0: 71:[44, 86] Operation: 29+57=86
Exploring Operation: 29+44=73, Resulting Numbers: [57, 73]
Generated Node #0,0,1: 71:[57, 73] Operation: 29+44=73
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[57, 73], Operations: ['1+56=57', '29+44=73']
Exploring Operation: 57+73=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,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:[44, 86], Operations: ['1+56=57', '29+57=86']
Exploring Operation: 44+86=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Exploring Operation: 86-44=42, Resulting Numbers: [42]
42,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:[56, 44, 30], Operations: ['1+29=30']
Exploring Operation: 56+30=86, Resulting Numbers: [44, 86]
Generated Node #0,1,0: 71:[44, 86] Operation: 56+30=86
Exploring Operation: 44+30=74, Resulting Numbers: [56, 74]
Generated Node #0,1,1: 71:[56, 74] Operation: 44+30=74
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 71:[56, 74], Operations: ['1+29=30', '44+30=74']
Exploring Operation: 74-56=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Exploring Operation: 56+74=130, Resulting Numbers: [130]
130,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,1,0
Current State: 71:[44, 86], Operations: ['1+29=30', '56+30=86']
Exploring Operation: 86-44=42, Resulting Numbers: [42]
42,71 unequal: No Solution
Exploring Operation: 44+86=130, Resulting Numbers: [130]
130,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
No solution found.
| 0 | hs_2 | sum_heuristic |
[
2,
92,
81,
38
] | 97 | [
"2*38=76",
"92+81=173",
"173-76=97"
] | Current State: 97:[2, 92, 81, 38], Operations: []
Exploring Operation: 2*38=76, Resulting Numbers: [92, 81, 76]
Generated Node #2: [92, 81, 76] from Operation: 2*38=76
Current State: 97:[92, 81, 76], Operations: ['2*38=76']
Exploring Operation: 92+81=173, Resulting Numbers: [76, 173]
Generated Node #3: [76, 173] from Operation: 92+81=173
Current State: 97:[76, 173], Operations: ['2*38=76', '92+81=173']
Exploring Operation: 173-76=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[2, 92, 81, 38], Operations: []
Exploring Operation: 2+38=40, Resulting Numbers: [92, 81, 40]
Generated Node #0,0: 97:[92, 81, 40] Operation: 2+38=40
Exploring Operation: 2*38=76, Resulting Numbers: [92, 81, 76]
Generated Node #0,1: 97:[92, 81, 76] Operation: 2*38=76
Exploring Operation: 2+81=83, Resulting Numbers: [92, 38, 83]
Generated Node #0,2: 97:[92, 38, 83] Operation: 2+81=83
Exploring Operation: 2+92=94, Resulting Numbers: [81, 38, 94]
Generated Node #0,3: 97:[81, 38, 94] Operation: 2+92=94
Moving to Node #0,1
Current State: 97:[92, 81, 76], Operations: ['2*38=76']
Exploring Operation: 92-76=16, Resulting Numbers: [81, 16]
Generated Node #0,1,0: 97:[81, 16] Operation: 92-76=16
Exploring Operation: 92+81=173, Resulting Numbers: [76, 173]
Generated Node #0,1,1: 97:[76, 173] Operation: 92+81=173
Exploring Operation: 92+76=168, Resulting Numbers: [81, 168]
Generated Node #0,1,2: 97:[81, 168] Operation: 92+76=168
Exploring Operation: 81+76=157, Resulting Numbers: [92, 157]
Generated Node #0,1,3: 97:[92, 157] Operation: 81+76=157
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 97:[92, 157], Operations: ['2*38=76', '81+76=157']
Exploring Operation: 92*157=14444, Resulting Numbers: [14444]
14444,97 unequal: No Solution
Exploring Operation: 157-92=65, Resulting Numbers: [65]
65,97 unequal: No Solution
Exploring Operation: 92+157=249, Resulting Numbers: [249]
249,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[81, 168], Operations: ['2*38=76', '92+76=168']
Exploring Operation: 168-81=87, Resulting Numbers: [87]
87,97 unequal: No Solution
Exploring Operation: 81*168=13608, Resulting Numbers: [13608]
13608,97 unequal: No Solution
Exploring Operation: 81+168=249, Resulting Numbers: [249]
249,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[81, 16], Operations: ['2*38=76', '92-76=16']
Exploring Operation: 81*16=1296, Resulting Numbers: [1296]
1296,97 unequal: No Solution
Exploring Operation: 81+16=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[2, 92, 81, 38], Operations: []
Exploring Operation: 2*38=76, Resulting Numbers: [92, 81, 76]
Generated Node #0,1: 97:[92, 81, 76] Operation: 2*38=76
Moving to Node #0,1
Current State: 97:[92, 81, 76], Operations: ['2*38=76']
Exploring Operation: 92-76=16, Resulting Numbers: [81, 16]
Generated Node #0,1,0: 97:[81, 16] Operation: 92-76=16
Moving to Node #0,1,0
Current State: 97:[81, 16], Operations: ['2*38=76', '92-76=16']
Exploring Operation: 81+16=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
25,
40,
16,
20
] | 43 | [
"25+16=41",
"40/20=2",
"41+2=43"
] | Current State: 43:[25, 40, 16, 20], Operations: []
Exploring Operation: 25+16=41, Resulting Numbers: [40, 20, 41]
Generated Node #2: [40, 20, 41] from Operation: 25+16=41
Current State: 43:[40, 20, 41], Operations: ['25+16=41']
Exploring Operation: 40/20=2, Resulting Numbers: [41, 2]
Generated Node #3: [41, 2] from Operation: 40/20=2
Current State: 43:[41, 2], Operations: ['25+16=41', '40/20=2']
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[25, 40, 16, 20], Operations: []
Exploring Operation: 25+16=41, Resulting Numbers: [40, 20, 41]
Generated Node #0,0: 43:[40, 20, 41] Operation: 25+16=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[40, 20, 41], Operations: ['25+16=41']
Exploring Operation: 40+20=60, Resulting Numbers: [41, 60]
Generated Node #0,0,0: 43:[41, 60] Operation: 40+20=60
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[41, 60], Operations: ['25+16=41', '40+20=60']
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
4,
24,
90,
66
] | 44 | [
"24-4=20",
"90-66=24",
"20+24=44"
] | Current State: 44:[4, 24, 90, 66], Operations: []
Exploring Operation: 24-4=20, Resulting Numbers: [90, 66, 20]
Generated Node #2: [90, 66, 20] from Operation: 24-4=20
Current State: 44:[90, 66, 20], Operations: ['24-4=20']
Exploring Operation: 90-66=24, Resulting Numbers: [20, 24]
Generated Node #3: [20, 24] from Operation: 90-66=24
Current State: 44:[20, 24], Operations: ['24-4=20', '90-66=24']
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[4, 24, 90, 66], Operations: []
Exploring Operation: 90-66=24, Resulting Numbers: [4, 24, 24]
Generated Node #0,0: 44:[4, 24, 24] Operation: 90-66=24
Exploring Operation: 66-24=42, Resulting Numbers: [4, 90, 42]
Generated Node #0,1: 44:[4, 90, 42] Operation: 66-24=42
Exploring Operation: 90-24=66, Resulting Numbers: [4, 66, 66]
Generated Node #0,2: 44:[4, 66, 66] Operation: 90-24=66
Moving to Node #0,0
Current State: 44:[4, 24, 24], Operations: ['90-66=24']
Exploring Operation: 24/24=1, Resulting Numbers: [4, 1]
Generated Node #0,0,0: 44:[4, 1] Operation: 24/24=1
Exploring Operation: 24-4=20, Resulting Numbers: [24, 20]
Generated Node #0,0,1: 44:[24, 20] Operation: 24-4=20
Exploring Operation: 24-24=0, Resulting Numbers: [4, 0]
Generated Node #0,0,2: 44:[4, 0] Operation: 24-24=0
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[4, 1], Operations: ['90-66=24', '24/24=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 44:[4, 0], Operations: ['90-66=24', '24-24=0']
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 44:[24, 20], Operations: ['90-66=24', '24-4=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[4, 24, 90, 66], Operations: []
Exploring Operation: 90-66=24, Resulting Numbers: [4, 24, 24]
Generated Node #0,0: 44:[4, 24, 24] Operation: 90-66=24
Moving to Node #0,0
Current State: 44:[4, 24, 24], Operations: ['90-66=24']
Exploring Operation: 24-4=20, Resulting Numbers: [24, 20]
Generated Node #0,0,1: 44:[24, 20] Operation: 24-4=20
Moving to Node #0,0,1
Current State: 44:[24, 20], Operations: ['90-66=24', '24-4=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
15,
69,
66,
2
] | 43 | [
"69-66=3",
"15*3=45",
"45-2=43"
] | Current State: 43:[15, 69, 66, 2], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [15, 2, 3]
Generated Node #2: [15, 2, 3] from Operation: 69-66=3
Current State: 43:[15, 2, 3], Operations: ['69-66=3']
Exploring Operation: 15*3=45, Resulting Numbers: [2, 45]
Generated Node #3: [2, 45] from Operation: 15*3=45
Current State: 43:[2, 45], Operations: ['69-66=3', '15*3=45']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[15, 69, 66, 2], Operations: []
Exploring Operation: 15*2=30, Resulting Numbers: [69, 66, 30]
Generated Node #0,0: 43:[69, 66, 30] Operation: 15*2=30
Exploring Operation: 66/2=33, Resulting Numbers: [15, 69, 33]
Generated Node #0,1: 43:[15, 69, 33] Operation: 66/2=33
Moving to Node #0,0
Current State: 43:[69, 66, 30], Operations: ['15*2=30']
Exploring Operation: 66-30=36, Resulting Numbers: [69, 36]
Generated Node #0,0,0: 43:[69, 36] Operation: 66-30=36
Exploring Operation: 69-30=39, Resulting Numbers: [66, 39]
Generated Node #0,0,1: 43:[66, 39] Operation: 69-30=39
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[66, 39], Operations: ['15*2=30', '69-30=39']
Exploring Operation: 66+39=105, Resulting Numbers: [105]
105,43 unequal: No Solution
Exploring Operation: 66-39=27, Resulting Numbers: [27]
27,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:[69, 36], Operations: ['15*2=30', '66-30=36']
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 69+36=105, Resulting Numbers: [105]
105,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:[15, 69, 33], Operations: ['66/2=33']
Exploring Operation: 69-15=54, Resulting Numbers: [33, 54]
Generated Node #0,1,0: 43:[33, 54] Operation: 69-15=54
Exploring Operation: 15+33=48, Resulting Numbers: [69, 48]
Generated Node #0,1,1: 43:[69, 48] Operation: 15+33=48
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[33, 54], Operations: ['66/2=33', '69-15=54']
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,43 unequal: No Solution
Exploring Operation: 33+54=87, Resulting Numbers: [87]
87,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,1
Current State: 43:[69, 48], Operations: ['66/2=33', '15+33=48']
Exploring Operation: 69+48=117, Resulting Numbers: [117]
117,43 unequal: No Solution
Exploring Operation: 69-48=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_2 | sum_heuristic |
[
2,
31,
90,
12
] | 52 | [
"31-12=19",
"2*19=38",
"90-38=52"
] | Current State: 52:[2, 31, 90, 12], Operations: []
Exploring Operation: 31-12=19, Resulting Numbers: [2, 90, 19]
Generated Node #2: [2, 90, 19] from Operation: 31-12=19
Current State: 52:[2, 90, 19], Operations: ['31-12=19']
Exploring Operation: 2*19=38, Resulting Numbers: [90, 38]
Generated Node #3: [90, 38] from Operation: 2*19=38
Current State: 52:[90, 38], Operations: ['31-12=19', '2*19=38']
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[2, 31, 90, 12], Operations: []
Exploring Operation: 90/2=45, Resulting Numbers: [31, 12, 45]
Generated Node #0,0: 52:[31, 12, 45] Operation: 90/2=45
Exploring Operation: 90-31=59, Resulting Numbers: [2, 12, 59]
Generated Node #0,1: 52:[2, 12, 59] Operation: 90-31=59
Moving to Node #0,1
Current State: 52:[2, 12, 59], Operations: ['90-31=59']
Exploring Operation: 59-12=47, Resulting Numbers: [2, 47]
Generated Node #0,1,0: 52:[2, 47] Operation: 59-12=47
Exploring Operation: 59-2=57, Resulting Numbers: [12, 57]
Generated Node #0,1,1: 52:[12, 57] Operation: 59-2=57
Moving to Node #0,0
Current State: 52:[31, 12, 45], Operations: ['90/2=45']
Exploring Operation: 12+45=57, Resulting Numbers: [31, 57]
Generated Node #0,0,0: 52:[31, 57] Operation: 12+45=57
Exploring Operation: 45-31=14, Resulting Numbers: [12, 14]
Generated Node #0,0,1: 52:[12, 14] Operation: 45-31=14
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[12, 14], Operations: ['90/2=45', '45-31=14']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[31, 57], Operations: ['90/2=45', '12+45=57']
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 31+57=88, Resulting Numbers: [88]
88,52 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: 52:[2, 47], Operations: ['90-31=59', '59-12=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[12, 57], Operations: ['90-31=59', '59-2=57']
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 12+57=69, Resulting Numbers: [69]
69,52 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
62,
81,
57,
68
] | 30 | [
"81-62=19",
"68-57=11",
"19+11=30"
] | Current State: 30:[62, 81, 57, 68], Operations: []
Exploring Operation: 81-62=19, Resulting Numbers: [57, 68, 19]
Generated Node #2: [57, 68, 19] from Operation: 81-62=19
Current State: 30:[57, 68, 19], Operations: ['81-62=19']
Exploring Operation: 68-57=11, Resulting Numbers: [19, 11]
Generated Node #3: [19, 11] from Operation: 68-57=11
Current State: 30:[19, 11], Operations: ['81-62=19', '68-57=11']
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[62, 81, 57, 68], Operations: []
Exploring Operation: 81-62=19, Resulting Numbers: [57, 68, 19]
Generated Node #0,0: 30:[57, 68, 19] Operation: 81-62=19
Exploring Operation: 81-68=13, Resulting Numbers: [62, 57, 13]
Generated Node #0,1: 30:[62, 57, 13] Operation: 81-68=13
Exploring Operation: 68-62=6, Resulting Numbers: [81, 57, 6]
Generated Node #0,2: 30:[81, 57, 6] Operation: 68-62=6
Exploring Operation: 68-57=11, Resulting Numbers: [62, 81, 11]
Generated Node #0,3: 30:[62, 81, 11] Operation: 68-57=11
Exploring Operation: 81-57=24, Resulting Numbers: [62, 68, 24]
Generated Node #0,4: 30:[62, 68, 24] Operation: 81-57=24
Moving to Node #0,1
Current State: 30:[62, 57, 13], Operations: ['81-68=13']
Exploring Operation: 62-57=5, Resulting Numbers: [13, 5]
Generated Node #0,1,0: 30:[13, 5] Operation: 62-57=5
Exploring Operation: 57-13=44, Resulting Numbers: [62, 44]
Generated Node #0,1,1: 30:[62, 44] Operation: 57-13=44
Exploring Operation: 62-13=49, Resulting Numbers: [57, 49]
Generated Node #0,1,2: 30:[57, 49] Operation: 62-13=49
Exploring Operation: 57+13=70, Resulting Numbers: [62, 70]
Generated Node #0,1,3: 30:[62, 70] Operation: 57+13=70
Exploring Operation: 62+13=75, Resulting Numbers: [57, 75]
Generated Node #0,1,4: 30:[57, 75] Operation: 62+13=75
Moving to Node #0,0
Current State: 30:[57, 68, 19], Operations: ['81-62=19']
Exploring Operation: 57/19=3, Resulting Numbers: [68, 3]
Generated Node #0,0,0: 30:[68, 3] Operation: 57/19=3
Exploring Operation: 68-19=49, Resulting Numbers: [57, 49]
Generated Node #0,0,1: 30:[57, 49] Operation: 68-19=49
Exploring Operation: 68-57=11, Resulting Numbers: [19, 11]
Generated Node #0,0,2: 30:[19, 11] Operation: 68-57=11
Exploring Operation: 57-19=38, Resulting Numbers: [68, 38]
Generated Node #0,0,3: 30:[68, 38] Operation: 57-19=38
Exploring Operation: 57+19=76, Resulting Numbers: [68, 76]
Generated Node #0,0,4: 30:[68, 76] Operation: 57+19=76
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[19, 11], Operations: ['81-62=19', '68-57=11']
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[62, 81, 57, 68], Operations: []
Exploring Operation: 81-62=19, Resulting Numbers: [57, 68, 19]
Generated Node #0,0: 30:[57, 68, 19] Operation: 81-62=19
Moving to Node #0,0
Current State: 30:[57, 68, 19], Operations: ['81-62=19']
Exploring Operation: 68-57=11, Resulting Numbers: [19, 11]
Generated Node #0,0,2: 30:[19, 11] Operation: 68-57=11
Moving to Node #0,0,2
Current State: 30:[19, 11], Operations: ['81-62=19', '68-57=11']
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
43,
41,
31,
47
] | 39 | [
"43-41=2",
"31+47=78",
"78/2=39"
] | Current State: 39:[43, 41, 31, 47], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [31, 47, 2]
Generated Node #2: [31, 47, 2] from Operation: 43-41=2
Current State: 39:[31, 47, 2], Operations: ['43-41=2']
Exploring Operation: 31+47=78, Resulting Numbers: [2, 78]
Generated Node #3: [2, 78] from Operation: 31+47=78
Current State: 39:[2, 78], Operations: ['43-41=2', '31+47=78']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[43, 41, 31, 47], Operations: []
Exploring Operation: 43-31=12, Resulting Numbers: [41, 47, 12]
Generated Node #0,0: 39:[41, 47, 12] Operation: 43-31=12
Exploring Operation: 41-31=10, Resulting Numbers: [43, 47, 10]
Generated Node #0,1: 39:[43, 47, 10] Operation: 41-31=10
Exploring Operation: 47-31=16, Resulting Numbers: [43, 41, 16]
Generated Node #0,2: 39:[43, 41, 16] Operation: 47-31=16
Exploring Operation: 47-41=6, Resulting Numbers: [43, 31, 6]
Generated Node #0,3: 39:[43, 31, 6] Operation: 47-41=6
Exploring Operation: 47-43=4, Resulting Numbers: [41, 31, 4]
Generated Node #0,4: 39:[41, 31, 4] Operation: 47-43=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[43, 41, 16], Operations: ['47-31=16']
Exploring Operation: 43-16=27, Resulting Numbers: [41, 27]
Generated Node #0,2,0: 39:[41, 27] Operation: 43-16=27
Exploring Operation: 43-41=2, Resulting Numbers: [16, 2]
Generated Node #0,2,1: 39:[16, 2] Operation: 43-41=2
Exploring Operation: 43+16=59, Resulting Numbers: [41, 59]
Generated Node #0,2,2: 39:[41, 59] Operation: 43+16=59
Exploring Operation: 41-16=25, Resulting Numbers: [43, 25]
Generated Node #0,2,3: 39:[43, 25] Operation: 41-16=25
Exploring Operation: 41+16=57, Resulting Numbers: [43, 57]
Generated Node #0,2,4: 39:[43, 57] Operation: 41+16=57
Moving to Node #0,2,1
Current State: 39:[16, 2], Operations: ['47-31=16', '43-41=2']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[41, 27], Operations: ['47-31=16', '43-16=27']
Exploring Operation: 41*27=1107, Resulting Numbers: [1107]
1107,39 unequal: No Solution
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 41+27=68, Resulting Numbers: [68]
68,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[43, 25], Operations: ['47-31=16', '41-16=25']
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 43+25=68, Resulting Numbers: [68]
68,39 unequal: No Solution
Exploring Operation: 43*25=1075, Resulting Numbers: [1075]
1075,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[41, 59], Operations: ['47-31=16', '43+16=59']
Exploring Operation: 41+59=100, Resulting Numbers: [100]
100,39 unequal: No Solution
Exploring Operation: 59-41=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 41*59=2419, Resulting Numbers: [2419]
2419,39 unequal: No Solution
Moving to Node #0,2,4
Current State: 39:[43, 57], Operations: ['47-31=16', '41+16=57']
Exploring Operation: 57-43=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 43*57=2451, Resulting Numbers: [2451]
2451,39 unequal: No Solution
Exploring Operation: 43+57=100, Resulting Numbers: [100]
100,39 unequal: No Solution
No solution 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: 39:[41, 47, 12], Operations: ['43-31=12']
Exploring Operation: 47+12=59, Resulting Numbers: [41, 59]
Generated Node #0,0,0: 39:[41, 59] Operation: 47+12=59
Exploring Operation: 47-41=6, Resulting Numbers: [12, 6]
Generated Node #0,0,1: 39:[12, 6] Operation: 47-41=6
Exploring Operation: 47-12=35, Resulting Numbers: [41, 35]
Generated Node #0,0,2: 39:[41, 35] Operation: 47-12=35
Exploring Operation: 41-12=29, Resulting Numbers: [47, 29]
Generated Node #0,0,3: 39:[47, 29] Operation: 41-12=29
Exploring Operation: 41+12=53, Resulting Numbers: [47, 53]
Generated Node #0,0,4: 39:[47, 53] Operation: 41+12=53
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 39:[12, 6], Operations: ['43-31=12', '47-41=6']
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,39 unequal: No Solution
No 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: 39:[41, 35], Operations: ['43-31=12', '47-12=35']
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,39 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,39 unequal: No Solution
No 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: 39:[47, 29], Operations: ['43-31=12', '41-12=29']
Exploring Operation: 47*29=1363, Resulting Numbers: [1363]
1363,39 unequal: No Solution
Exploring Operation: 47+29=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,39 unequal: No Solution
No 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: 39:[41, 59], Operations: ['43-31=12', '47+12=59']
Exploring Operation: 59-41=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 41+59=100, Resulting Numbers: [100]
100,39 unequal: No Solution
Exploring Operation: 41*59=2419, Resulting Numbers: [2419]
2419,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 39:[47, 53], Operations: ['43-31=12', '41+12=53']
Exploring Operation: 47+53=100, Resulting Numbers: [100]
100,39 unequal: No Solution
Exploring Operation: 47*53=2491, Resulting Numbers: [2491]
2491,39 unequal: No Solution
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 39:[41, 31, 4], Operations: ['47-43=4']
Exploring Operation: 41-31=10, Resulting Numbers: [4, 10]
Generated Node #0,4,0: 39:[4, 10] Operation: 41-31=10
Exploring Operation: 41+4=45, Resulting Numbers: [31, 45]
Generated Node #0,4,1: 39:[31, 45] Operation: 41+4=45
Exploring Operation: 41-4=37, Resulting Numbers: [31, 37]
Generated Node #0,4,2: 39:[31, 37] Operation: 41-4=37
Exploring Operation: 31-4=27, Resulting Numbers: [41, 27]
Generated Node #0,4,3: 39:[41, 27] Operation: 31-4=27
Exploring Operation: 31+4=35, Resulting Numbers: [41, 35]
Generated Node #0,4,4: 39:[41, 35] Operation: 31+4=35
Moving to Node #0,4,0
Current State: 39:[4, 10], Operations: ['47-43=4', '41-31=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Moving to Node #0,4,4
Current State: 39:[41, 35], Operations: ['47-43=4', '31+4=35']
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,39 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Moving to Node #0,4,2
Current State: 39:[31, 37], Operations: ['47-43=4', '41-4=37']
Exploring Operation: 31+37=68, Resulting Numbers: [68]
68,39 unequal: No Solution
Exploring Operation: 31*37=1147, Resulting Numbers: [1147]
1147,39 unequal: No Solution
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Moving to Node #0,4,1
Current State: 39:[31, 45], Operations: ['47-43=4', '41+4=45']
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 31+45=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 31*45=1395, Resulting Numbers: [1395]
1395,39 unequal: No Solution
Moving to Node #0,4,3
Current State: 39:[41, 27], Operations: ['47-43=4', '31-4=27']
Exploring Operation: 41+27=68, Resulting Numbers: [68]
68,39 unequal: No Solution
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 41*27=1107, Resulting Numbers: [1107]
1107,39 unequal: No Solution
No 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: 39:[43, 47, 10], Operations: ['41-31=10']
Exploring Operation: 47-43=4, Resulting Numbers: [10, 4]
Generated Node #0,1,0: 39:[10, 4] Operation: 47-43=4
Exploring Operation: 47+10=57, Resulting Numbers: [43, 57]
Generated Node #0,1,1: 39:[43, 57] Operation: 47+10=57
Exploring Operation: 47-10=37, Resulting Numbers: [43, 37]
Generated Node #0,1,2: 39:[43, 37] Operation: 47-10=37
Exploring Operation: 43-10=33, Resulting Numbers: [47, 33]
Generated Node #0,1,3: 39:[47, 33] Operation: 43-10=33
Exploring Operation: 43+10=53, Resulting Numbers: [47, 53]
Generated Node #0,1,4: 39:[47, 53] Operation: 43+10=53
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[10, 4], Operations: ['41-31=10', '47-43=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,39 unequal: No Solution
No 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: 39:[43, 37], Operations: ['41-31=10', '47-10=37']
Exploring Operation: 43*37=1591, Resulting Numbers: [1591]
1591,39 unequal: No Solution
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 39:[47, 33], Operations: ['41-31=10', '43-10=33']
Exploring Operation: 47+33=80, Resulting Numbers: [80]
80,39 unequal: No Solution
Exploring Operation: 47*33=1551, Resulting Numbers: [1551]
1551,39 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,39 unequal: No Solution
No 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: 39:[43, 57], Operations: ['41-31=10', '47+10=57']
Exploring Operation: 43*57=2451, Resulting Numbers: [2451]
2451,39 unequal: No Solution
Exploring Operation: 57-43=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 43+57=100, Resulting Numbers: [100]
100,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 39:[47, 53], Operations: ['41-31=10', '43+10=53']
Exploring Operation: 47*53=2491, Resulting Numbers: [2491]
2491,39 unequal: No Solution
Exploring Operation: 47+53=100, Resulting Numbers: [100]
100,39 unequal: No Solution
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,39 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: 39:[43, 31, 6], Operations: ['47-41=6']
Exploring Operation: 43+6=49, Resulting Numbers: [31, 49]
Generated Node #0,3,0: 39:[31, 49] Operation: 43+6=49
Exploring Operation: 43-6=37, Resulting Numbers: [31, 37]
Generated Node #0,3,1: 39:[31, 37] Operation: 43-6=37
Exploring Operation: 43-31=12, Resulting Numbers: [6, 12]
Generated Node #0,3,2: 39:[6, 12] Operation: 43-31=12
Exploring Operation: 31+6=37, Resulting Numbers: [43, 37]
Generated Node #0,3,3: 39:[43, 37] Operation: 31+6=37
Exploring Operation: 31-6=25, Resulting Numbers: [43, 25]
Generated Node #0,3,4: 39:[43, 25] Operation: 31-6=25
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 39:[6, 12], Operations: ['47-41=6', '43-31=12']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,39 unequal: No Solution
No 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: 39:[43, 37], Operations: ['47-41=6', '31+6=37']
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,39 unequal: No Solution
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 43*37=1591, Resulting Numbers: [1591]
1591,39 unequal: No Solution
No 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: 39:[31, 37], Operations: ['47-41=6', '43-6=37']
Exploring Operation: 31+37=68, Resulting Numbers: [68]
68,39 unequal: No Solution
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 31*37=1147, Resulting Numbers: [1147]
1147,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 39:[43, 25], Operations: ['47-41=6', '31-6=25']
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 43+25=68, Resulting Numbers: [68]
68,39 unequal: No Solution
Exploring Operation: 43*25=1075, Resulting Numbers: [1075]
1075,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 39:[31, 49], Operations: ['47-41=6', '43+6=49']
Exploring Operation: 31*49=1519, Resulting Numbers: [1519]
1519,39 unequal: No Solution
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,39 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
14,
46,
21,
31
] | 100 | [
"46*21=966",
"966/14=69",
"31+69=100"
] | Current State: 100:[14, 46, 21, 31], Operations: []
Exploring Operation: 46*21=966, Resulting Numbers: [14, 31, 966]
Generated Node #2: [14, 31, 966] from Operation: 46*21=966
Current State: 100:[14, 31, 966], Operations: ['46*21=966']
Exploring Operation: 966/14=69, Resulting Numbers: [31, 69]
Generated Node #3: [31, 69] from Operation: 966/14=69
Current State: 100:[31, 69], Operations: ['46*21=966', '966/14=69']
Exploring Operation: 31+69=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[14, 46, 21, 31], Operations: []
Exploring Operation: 46-31=15, Resulting Numbers: [14, 21, 15]
Generated Node #0,0: 100:[14, 21, 15] Operation: 46-31=15
Exploring Operation: 46-21=25, Resulting Numbers: [14, 31, 25]
Generated Node #0,1: 100:[14, 31, 25] Operation: 46-21=25
Exploring Operation: 31-21=10, Resulting Numbers: [14, 46, 10]
Generated Node #0,2: 100:[14, 46, 10] Operation: 31-21=10
Exploring Operation: 31-14=17, Resulting Numbers: [46, 21, 17]
Generated Node #0,3: 100:[46, 21, 17] Operation: 31-14=17
Exploring Operation: 14+31=45, Resulting Numbers: [46, 21, 45]
Generated Node #0,4: 100:[46, 21, 45] Operation: 14+31=45
Moving to Node #0,2
Current State: 100:[14, 46, 10], Operations: ['31-21=10']
Exploring Operation: 14+46=60, Resulting Numbers: [10, 60]
Generated Node #0,2,0: 100:[10, 60] Operation: 14+46=60
Exploring Operation: 46-14=32, Resulting Numbers: [10, 32]
Generated Node #0,2,1: 100:[10, 32] Operation: 46-14=32
Exploring Operation: 14-10=4, Resulting Numbers: [46, 4]
Generated Node #0,2,2: 100:[46, 4] Operation: 14-10=4
Exploring Operation: 14+10=24, Resulting Numbers: [46, 24]
Generated Node #0,2,3: 100:[46, 24] Operation: 14+10=24
Exploring Operation: 46+10=56, Resulting Numbers: [14, 56]
Generated Node #0,2,4: 100:[14, 56] Operation: 46+10=56
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 100:[46, 4], Operations: ['31-21=10', '14-10=4']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,100 unequal: No Solution
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 100:[46, 24], Operations: ['31-21=10', '14+10=24']
Exploring Operation: 46+24=70, Resulting Numbers: [70]
70,100 unequal: No Solution
Exploring Operation: 46*24=1104, Resulting Numbers: [1104]
1104,100 unequal: No Solution
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 100:[10, 32], Operations: ['31-21=10', '46-14=32']
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,100 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 100:[10, 60], Operations: ['31-21=10', '14+46=60']
Exploring Operation: 10+60=70, Resulting Numbers: [70]
70,100 unequal: No Solution
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 10*60=600, Resulting Numbers: [600]
600,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 100:[14, 56], Operations: ['31-21=10', '46+10=56']
Exploring Operation: 14+56=70, Resulting Numbers: [70]
70,100 unequal: No Solution
Exploring Operation: 56/14=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 14*56=784, Resulting Numbers: [784]
784,100 unequal: No Solution
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 100:[46, 21, 17], Operations: ['31-14=17']
Exploring Operation: 21+17=38, Resulting Numbers: [46, 38]
Generated Node #0,3,0: 100:[46, 38] Operation: 21+17=38
Exploring Operation: 46-17=29, Resulting Numbers: [21, 29]
Generated Node #0,3,1: 100:[21, 29] Operation: 46-17=29
Exploring Operation: 46+17=63, Resulting Numbers: [21, 63]
Generated Node #0,3,2: 100:[21, 63] Operation: 46+17=63
Exploring Operation: 21-17=4, Resulting Numbers: [46, 4]
Generated Node #0,3,3: 100:[46, 4] Operation: 21-17=4
Exploring Operation: 46-21=25, Resulting Numbers: [17, 25]
Generated Node #0,3,4: 100:[17, 25] Operation: 46-21=25
Moving to Node #0,0
Current State: 100:[14, 21, 15], Operations: ['46-31=15']
Exploring Operation: 14+21=35, Resulting Numbers: [15, 35]
Generated Node #0,0,0: 100:[15, 35] Operation: 14+21=35
Exploring Operation: 21-14=7, Resulting Numbers: [15, 7]
Generated Node #0,0,1: 100:[15, 7] Operation: 21-14=7
Exploring Operation: 21-15=6, Resulting Numbers: [14, 6]
Generated Node #0,0,2: 100:[14, 6] Operation: 21-15=6
Exploring Operation: 14+15=29, Resulting Numbers: [21, 29]
Generated Node #0,0,3: 100:[21, 29] Operation: 14+15=29
Exploring Operation: 15-14=1, Resulting Numbers: [21, 1]
Generated Node #0,0,4: 100:[21, 1] Operation: 15-14=1
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 100:[21, 1], Operations: ['46-31=15', '15-14=1']
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,100 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 100:[14, 6], Operations: ['46-31=15', '21-15=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,100 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 100:[21, 29], Operations: ['46-31=15', '14+15=29']
Exploring Operation: 21*29=609, Resulting Numbers: [609]
609,100 unequal: No Solution
Exploring Operation: 21+29=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 100:[15, 7], Operations: ['46-31=15', '21-14=7']
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,100 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[15, 35], Operations: ['46-31=15', '14+21=35']
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,100 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: 100:[14, 31, 25], Operations: ['46-21=25']
Exploring Operation: 31-25=6, Resulting Numbers: [14, 6]
Generated Node #0,1,0: 100:[14, 6] Operation: 31-25=6
Exploring Operation: 31+25=56, Resulting Numbers: [14, 56]
Generated Node #0,1,1: 100:[14, 56] Operation: 31+25=56
Exploring Operation: 25-14=11, Resulting Numbers: [31, 11]
Generated Node #0,1,2: 100:[31, 11] Operation: 25-14=11
Exploring Operation: 14+31=45, Resulting Numbers: [25, 45]
Generated Node #0,1,3: 100:[25, 45] Operation: 14+31=45
Exploring Operation: 31-14=17, Resulting Numbers: [25, 17]
Generated Node #0,1,4: 100:[25, 17] Operation: 31-14=17
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 100:[25, 17], Operations: ['46-21=25', '31-14=17']
Exploring Operation: 25+17=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 25*17=425, Resulting Numbers: [425]
425,100 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[14, 6], Operations: ['46-21=25', '31-25=6']
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,100 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 100:[25, 45], Operations: ['46-21=25', '14+31=45']
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 25*45=1125, Resulting Numbers: [1125]
1125,100 unequal: No Solution
Exploring Operation: 25+45=70, Resulting Numbers: [70]
70,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 100:[31, 11], Operations: ['46-21=25', '25-14=11']
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,100 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[14, 56], Operations: ['46-21=25', '31+25=56']
Exploring Operation: 14+56=70, Resulting Numbers: [70]
70,100 unequal: No Solution
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 56/14=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 14*56=784, Resulting Numbers: [784]
784,100 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: 100:[46, 21, 45], Operations: ['14+31=45']
Exploring Operation: 46-21=25, Resulting Numbers: [45, 25]
Generated Node #0,4,0: 100:[45, 25] Operation: 46-21=25
Exploring Operation: 45-21=24, Resulting Numbers: [46, 24]
Generated Node #0,4,1: 100:[46, 24] Operation: 45-21=24
Exploring Operation: 46-45=1, Resulting Numbers: [21, 1]
Generated Node #0,4,2: 100:[21, 1] Operation: 46-45=1
Exploring Operation: 46+45=91, Resulting Numbers: [21, 91]
Generated Node #0,4,3: 100:[21, 91] Operation: 46+45=91
Exploring Operation: 21+45=66, Resulting Numbers: [46, 66]
Generated Node #0,4,4: 100:[46, 66] Operation: 21+45=66
Moving to Node #0,4,2
Current State: 100:[21, 1], Operations: ['14+31=45', '46-45=1']
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,100 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,100 unequal: No Solution
Moving to Node #0,3,4
Current State: 100:[17, 25], Operations: ['31-14=17', '46-21=25']
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,100 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Moving to Node #0,3,3
Current State: 100:[46, 4], Operations: ['31-14=17', '21-17=4']
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,100 unequal: No Solution
Moving to Node #0,4,0
Current State: 100:[45, 25], Operations: ['14+31=45', '46-21=25']
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,100 unequal: No Solution
Exploring Operation: 45*25=1125, Resulting Numbers: [1125]
1125,100 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Moving to Node #0,3,1
Current State: 100:[21, 29], Operations: ['31-14=17', '46-17=29']
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 21*29=609, Resulting Numbers: [609]
609,100 unequal: No Solution
Exploring Operation: 21+29=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Moving to Node #0,4,1
Current State: 100:[46, 24], Operations: ['14+31=45', '45-21=24']
Exploring Operation: 46+24=70, Resulting Numbers: [70]
70,100 unequal: No Solution
Exploring Operation: 46*24=1104, Resulting Numbers: [1104]
1104,100 unequal: No Solution
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Moving to Node #0,4,3
Current State: 100:[21, 91], Operations: ['14+31=45', '46+45=91']
Exploring Operation: 21*91=1911, Resulting Numbers: [1911]
1911,100 unequal: No Solution
Exploring Operation: 21+91=112, Resulting Numbers: [112]
112,100 unequal: No Solution
Exploring Operation: 91-21=70, Resulting Numbers: [70]
70,100 unequal: No Solution
Moving to Node #0,3,2
Current State: 100:[21, 63], Operations: ['31-14=17', '46+17=63']
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 21*63=1323, Resulting Numbers: [1323]
1323,100 unequal: No Solution
Exploring Operation: 21+63=84, Resulting Numbers: [84]
84,100 unequal: No Solution
Moving to Node #0,3,0
Current State: 100:[46, 38], Operations: ['31-14=17', '21+17=38']
Exploring Operation: 46+38=84, Resulting Numbers: [84]
84,100 unequal: No Solution
Exploring Operation: 46*38=1748, Resulting Numbers: [1748]
1748,100 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Moving to Node #0,4,4
Current State: 100:[46, 66], Operations: ['14+31=45', '21+45=66']
Exploring Operation: 46*66=3036, Resulting Numbers: [3036]
3036,100 unequal: No Solution
Exploring Operation: 66-46=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 46+66=112, Resulting Numbers: [112]
112,100 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
97,
12,
92,
37
] | 97 | [
"97-92=5",
"12*5=60",
"37+60=97"
] | Current State: 97:[97, 12, 92, 37], Operations: []
Exploring Operation: 97-92=5, Resulting Numbers: [12, 37, 5]
Generated Node #2: [12, 37, 5] from Operation: 97-92=5
Current State: 97:[12, 37, 5], Operations: ['97-92=5']
Exploring Operation: 12*5=60, Resulting Numbers: [37, 60]
Generated Node #3: [37, 60] from Operation: 12*5=60
Current State: 97:[37, 60], Operations: ['97-92=5', '12*5=60']
Exploring Operation: 37+60=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[97, 12, 92, 37], Operations: []
Exploring Operation: 12+92=104, Resulting Numbers: [97, 37, 104]
Generated Node #0,0: 97:[97, 37, 104] Operation: 12+92=104
Exploring Operation: 12+37=49, Resulting Numbers: [97, 92, 49]
Generated Node #0,1: 97:[97, 92, 49] Operation: 12+37=49
Moving to Node #0,1
Current State: 97:[97, 92, 49], Operations: ['12+37=49']
Exploring Operation: 92+49=141, Resulting Numbers: [97, 141]
Generated Node #0,1,0: 97:[97, 141] Operation: 92+49=141
Exploring Operation: 97+49=146, Resulting Numbers: [92, 146]
Generated Node #0,1,1: 97:[92, 146] Operation: 97+49=146
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[97, 141], Operations: ['12+37=49', '92+49=141']
Exploring Operation: 141-97=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 97+141=238, Resulting Numbers: [238]
238,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[92, 146], Operations: ['12+37=49', '97+49=146']
Exploring Operation: 92+146=238, Resulting Numbers: [238]
238,97 unequal: No Solution
Exploring Operation: 146-92=54, Resulting Numbers: [54]
54,97 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: 97:[97, 37, 104], Operations: ['12+92=104']
Exploring Operation: 97+37=134, Resulting Numbers: [104, 134]
Generated Node #0,0,0: 97:[104, 134] Operation: 97+37=134
Exploring Operation: 104-37=67, Resulting Numbers: [97, 67]
Generated Node #0,0,1: 97:[97, 67] Operation: 104-37=67
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[97, 67], Operations: ['12+92=104', '104-37=67']
Exploring Operation: 97-67=30, Resulting Numbers: [30]
30,97 unequal: No Solution
Exploring Operation: 97+67=164, Resulting Numbers: [164]
164,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[104, 134], Operations: ['12+92=104', '97+37=134']
Exploring Operation: 104+134=238, Resulting Numbers: [238]
238,97 unequal: No Solution
Exploring Operation: 134-104=30, Resulting Numbers: [30]
30,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
76,
27,
22,
55
] | 28 | [
"76-27=49",
"22+55=77",
"77-49=28"
] | Current State: 28:[76, 27, 22, 55], Operations: []
Exploring Operation: 76-27=49, Resulting Numbers: [22, 55, 49]
Generated Node #2: [22, 55, 49] from Operation: 76-27=49
Current State: 28:[22, 55, 49], Operations: ['76-27=49']
Exploring Operation: 22+55=77, Resulting Numbers: [49, 77]
Generated Node #3: [49, 77] from Operation: 22+55=77
Current State: 28:[49, 77], Operations: ['76-27=49', '22+55=77']
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[76, 27, 22, 55], Operations: []
Exploring Operation: 55-27=28, Resulting Numbers: [76, 22, 28]
Generated Node #0,0: 28:[76, 22, 28] Operation: 55-27=28
Exploring Operation: 76-22=54, Resulting Numbers: [27, 55, 54]
Generated Node #0,1: 28:[27, 55, 54] Operation: 76-22=54
Exploring Operation: 76-27=49, Resulting Numbers: [22, 55, 49]
Generated Node #0,2: 28:[22, 55, 49] Operation: 76-27=49
Exploring Operation: 55-22=33, Resulting Numbers: [76, 27, 33]
Generated Node #0,3: 28:[76, 27, 33] Operation: 55-22=33
Exploring Operation: 76-55=21, Resulting Numbers: [27, 22, 21]
Generated Node #0,4: 28:[27, 22, 21] Operation: 76-55=21
Start Sub Search at level 1: Moving to Node #0,4
Current State: 28:[27, 22, 21], Operations: ['76-55=21']
Exploring Operation: 27-21=6, Resulting Numbers: [22, 6]
Generated Node #0,4,0: 28:[22, 6] Operation: 27-21=6
Exploring Operation: 22+21=43, Resulting Numbers: [27, 43]
Generated Node #0,4,1: 28:[27, 43] Operation: 22+21=43
Exploring Operation: 22-21=1, Resulting Numbers: [27, 1]
Generated Node #0,4,2: 28:[27, 1] Operation: 22-21=1
Exploring Operation: 27+21=48, Resulting Numbers: [22, 48]
Generated Node #0,4,3: 28:[22, 48] Operation: 27+21=48
Exploring Operation: 27-22=5, Resulting Numbers: [21, 5]
Generated Node #0,4,4: 28:[21, 5] Operation: 27-22=5
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 28:[27, 1], Operations: ['76-55=21', '22-21=1']
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[76, 27, 22, 55], Operations: []
Exploring Operation: 76-55=21, Resulting Numbers: [27, 22, 21]
Generated Node #0,4: 28:[27, 22, 21] Operation: 76-55=21
Moving to Node #0,4
Current State: 28:[27, 22, 21], Operations: ['76-55=21']
Exploring Operation: 22-21=1, Resulting Numbers: [27, 1]
Generated Node #0,4,2: 28:[27, 1] Operation: 22-21=1
Moving to Node #0,4,2
Current State: 28:[27, 1], Operations: ['76-55=21', '22-21=1']
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
51,
98,
2,
90
] | 94 | [
"51*2=102",
"98-90=8",
"102-8=94"
] | Current State: 94:[51, 98, 2, 90], Operations: []
Exploring Operation: 51*2=102, Resulting Numbers: [98, 90, 102]
Generated Node #2: [98, 90, 102] from Operation: 51*2=102
Current State: 94:[98, 90, 102], Operations: ['51*2=102']
Exploring Operation: 98-90=8, Resulting Numbers: [102, 8]
Generated Node #3: [102, 8] from Operation: 98-90=8
Current State: 94:[102, 8], Operations: ['51*2=102', '98-90=8']
Exploring Operation: 102-8=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[51, 98, 2, 90], Operations: []
Exploring Operation: 51-2=49, Resulting Numbers: [98, 90, 49]
Generated Node #0,0: 94:[98, 90, 49] Operation: 51-2=49
Exploring Operation: 98-51=47, Resulting Numbers: [2, 90, 47]
Generated Node #0,1: 94:[2, 90, 47] Operation: 98-51=47
Exploring Operation: 98-90=8, Resulting Numbers: [51, 2, 8]
Generated Node #0,2: 94:[51, 2, 8] Operation: 98-90=8
Exploring Operation: 98-2=96, Resulting Numbers: [51, 90, 96]
Generated Node #0,3: 94:[51, 90, 96] Operation: 98-2=96
Exploring Operation: 98/2=49, Resulting Numbers: [51, 90, 49]
Generated Node #0,4: 94:[51, 90, 49] Operation: 98/2=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[2, 90, 47], Operations: ['98-51=47']
Exploring Operation: 2*47=94, Resulting Numbers: [90, 94]
Generated Node #0,1,0: 94:[90, 94] Operation: 2*47=94
Exploring Operation: 90-47=43, Resulting Numbers: [2, 43]
Generated Node #0,1,1: 94:[2, 43] Operation: 90-47=43
Exploring Operation: 90-2=88, Resulting Numbers: [47, 88]
Generated Node #0,1,2: 94:[47, 88] Operation: 90-2=88
Exploring Operation: 90/2=45, Resulting Numbers: [47, 45]
Generated Node #0,1,3: 94:[47, 45] Operation: 90/2=45
Exploring Operation: 2+90=92, Resulting Numbers: [47, 92]
Generated Node #0,1,4: 94:[47, 92] Operation: 2+90=92
Moving to Node #0,1,3
Current State: 94:[47, 45], Operations: ['98-51=47', '90/2=45']
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 47*45=2115, Resulting Numbers: [2115]
2115,94 unequal: No Solution
Exploring Operation: 47+45=92, Resulting Numbers: [92]
92,94 unequal: No Solution
Moving to Node #0,1,4
Current State: 94:[47, 92], Operations: ['98-51=47', '2+90=92']
Exploring Operation: 92-47=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Exploring Operation: 47*92=4324, Resulting Numbers: [4324]
4324,94 unequal: No Solution
Exploring Operation: 47+92=139, Resulting Numbers: [139]
139,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[90, 94], Operations: ['98-51=47', '2*47=94']
Exploring Operation: 94-90=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 90*94=8460, Resulting Numbers: [8460]
8460,94 unequal: No Solution
Exploring Operation: 90+94=184, Resulting Numbers: [184]
184,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[2, 43], Operations: ['98-51=47', '90-47=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[47, 88], Operations: ['98-51=47', '90-2=88']
Exploring Operation: 47*88=4136, Resulting Numbers: [4136]
4136,94 unequal: No Solution
Exploring Operation: 47+88=135, Resulting Numbers: [135]
135,94 unequal: No Solution
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[98, 90, 49], Operations: ['51-2=49']
Exploring Operation: 98-49=49, Resulting Numbers: [90, 49]
Generated Node #0,0,0: 94:[90, 49] Operation: 98-49=49
Exploring Operation: 90+49=139, Resulting Numbers: [98, 139]
Generated Node #0,0,1: 94:[98, 139] Operation: 90+49=139
Exploring Operation: 98-90=8, Resulting Numbers: [49, 8]
Generated Node #0,0,2: 94:[49, 8] Operation: 98-90=8
Exploring Operation: 98/49=2, Resulting Numbers: [90, 2]
Generated Node #0,0,3: 94:[90, 2] Operation: 98/49=2
Exploring Operation: 90-49=41, Resulting Numbers: [98, 41]
Generated Node #0,0,4: 94:[98, 41] Operation: 90-49=41
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 94:[90, 2], Operations: ['51-2=49', '98/49=2']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,94 unequal: No Solution
Exploring Operation: 90*2=180, Resulting Numbers: [180]
180,94 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[90, 49], Operations: ['51-2=49', '98-49=49']
Exploring Operation: 90-49=41, Resulting Numbers: [41]
41,94 unequal: No Solution
Exploring Operation: 90*49=4410, Resulting Numbers: [4410]
4410,94 unequal: No Solution
Exploring Operation: 90+49=139, Resulting Numbers: [139]
139,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 94:[49, 8], Operations: ['51-2=49', '98-90=8']
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,94 unequal: No Solution
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 94:[98, 41], Operations: ['51-2=49', '90-49=41']
Exploring Operation: 98*41=4018, Resulting Numbers: [4018]
4018,94 unequal: No Solution
Exploring Operation: 98-41=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 98+41=139, Resulting Numbers: [139]
139,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 94:[98, 139], Operations: ['51-2=49', '90+49=139']
Exploring Operation: 98*139=13622, Resulting Numbers: [13622]
13622,94 unequal: No Solution
Exploring Operation: 98+139=237, Resulting Numbers: [237]
237,94 unequal: No Solution
Exploring Operation: 139-98=41, Resulting Numbers: [41]
41,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[51, 2, 8], Operations: ['98-90=8']
Exploring Operation: 8-2=6, Resulting Numbers: [51, 6]
Generated Node #0,2,0: 94:[51, 6] Operation: 8-2=6
Exploring Operation: 51-8=43, Resulting Numbers: [2, 43]
Generated Node #0,2,1: 94:[2, 43] Operation: 51-8=43
Exploring Operation: 51+2=53, Resulting Numbers: [8, 53]
Generated Node #0,2,2: 94:[8, 53] Operation: 51+2=53
Exploring Operation: 51-2=49, Resulting Numbers: [8, 49]
Generated Node #0,2,3: 94:[8, 49] Operation: 51-2=49
Exploring Operation: 8/2=4, Resulting Numbers: [51, 4]
Generated Node #0,2,4: 94:[51, 4] Operation: 8/2=4
Moving to Node #0,2,1
Current State: 94:[2, 43], Operations: ['98-90=8', '51-8=43']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,94 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Moving to Node #0,2,4
Current State: 94:[51, 4], Operations: ['98-90=8', '8/2=4']
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,94 unequal: No Solution
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[51, 6], Operations: ['98-90=8', '8-2=6']
Exploring Operation: 51*6=306, Resulting Numbers: [306]
306,94 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Moving to Node #0,2,3
Current State: 94:[8, 49], Operations: ['98-90=8', '51-2=49']
Exploring Operation: 8*49=392, Resulting Numbers: [392]
392,94 unequal: No Solution
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[8, 53], Operations: ['98-90=8', '51+2=53']
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Exploring Operation: 8+53=61, Resulting Numbers: [61]
61,94 unequal: No Solution
Exploring Operation: 8*53=424, Resulting Numbers: [424]
424,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[51, 90, 96], Operations: ['98-2=96']
Exploring Operation: 51+96=147, Resulting Numbers: [90, 147]
Generated Node #0,3,0: 94:[90, 147] Operation: 51+96=147
Exploring Operation: 96-51=45, Resulting Numbers: [90, 45]
Generated Node #0,3,1: 94:[90, 45] Operation: 96-51=45
Exploring Operation: 96-90=6, Resulting Numbers: [51, 6]
Generated Node #0,3,2: 94:[51, 6] Operation: 96-90=6
Exploring Operation: 90-51=39, Resulting Numbers: [96, 39]
Generated Node #0,3,3: 94:[96, 39] Operation: 90-51=39
Exploring Operation: 51+90=141, Resulting Numbers: [96, 141]
Generated Node #0,3,4: 94:[96, 141] Operation: 51+90=141
Moving to Node #0,3,1
Current State: 94:[90, 45], Operations: ['98-2=96', '96-51=45']
Exploring Operation: 90-45=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Exploring Operation: 90*45=4050, Resulting Numbers: [4050]
4050,94 unequal: No Solution
Exploring Operation: 90/45=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 90+45=135, Resulting Numbers: [135]
135,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[51, 6], Operations: ['98-2=96', '96-90=6']
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 51*6=306, Resulting Numbers: [306]
306,94 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Moving to Node #0,3,3
Current State: 94:[96, 39], Operations: ['98-2=96', '90-51=39']
Exploring Operation: 96*39=3744, Resulting Numbers: [3744]
3744,94 unequal: No Solution
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 96+39=135, Resulting Numbers: [135]
135,94 unequal: No Solution
Moving to Node #0,3,4
Current State: 94:[96, 141], Operations: ['98-2=96', '51+90=141']
Exploring Operation: 96+141=237, Resulting Numbers: [237]
237,94 unequal: No Solution
Exploring Operation: 96*141=13536, Resulting Numbers: [13536]
13536,94 unequal: No Solution
Exploring Operation: 141-96=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Moving to Node #0,3,0
Current State: 94:[90, 147], Operations: ['98-2=96', '51+96=147']
Exploring Operation: 90*147=13230, Resulting Numbers: [13230]
13230,94 unequal: No Solution
Exploring Operation: 90+147=237, Resulting Numbers: [237]
237,94 unequal: No Solution
Exploring Operation: 147-90=57, Resulting Numbers: [57]
57,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 94:[51, 90, 49], Operations: ['98/2=49']
Exploring Operation: 90-49=41, Resulting Numbers: [51, 41]
Generated Node #0,4,0: 94:[51, 41] Operation: 90-49=41
Exploring Operation: 51-49=2, Resulting Numbers: [90, 2]
Generated Node #0,4,1: 94:[90, 2] Operation: 51-49=2
Exploring Operation: 51+90=141, Resulting Numbers: [49, 141]
Generated Node #0,4,2: 94:[49, 141] Operation: 51+90=141
Exploring Operation: 51+49=100, Resulting Numbers: [90, 100]
Generated Node #0,4,3: 94:[90, 100] Operation: 51+49=100
Exploring Operation: 90-51=39, Resulting Numbers: [49, 39]
Generated Node #0,4,4: 94:[49, 39] Operation: 90-51=39
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 94:[90, 2], Operations: ['98/2=49', '51-49=2']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,94 unequal: No Solution
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,94 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Exploring Operation: 90*2=180, Resulting Numbers: [180]
180,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 94:[51, 41], Operations: ['98/2=49', '90-49=41']
Exploring Operation: 51*41=2091, Resulting Numbers: [2091]
2091,94 unequal: No Solution
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 51+41=92, Resulting Numbers: [92]
92,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 94:[90, 100], Operations: ['98/2=49', '51+49=100']
Exploring Operation: 90+100=190, Resulting Numbers: [190]
190,94 unequal: No Solution
Exploring Operation: 90*100=9000, Resulting Numbers: [9000]
9000,94 unequal: No Solution
Exploring Operation: 100-90=10, Resulting Numbers: [10]
10,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 94:[49, 39], Operations: ['98/2=49', '90-51=39']
Exploring Operation: 49*39=1911, Resulting Numbers: [1911]
1911,94 unequal: No Solution
Exploring Operation: 49+39=88, Resulting Numbers: [88]
88,94 unequal: No Solution
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 94:[49, 141], Operations: ['98/2=49', '51+90=141']
Exploring Operation: 49*141=6909, Resulting Numbers: [6909]
6909,94 unequal: No Solution
Exploring Operation: 141-49=92, Resulting Numbers: [92]
92,94 unequal: No Solution
Exploring Operation: 49+141=190, Resulting Numbers: [190]
190,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
43,
40,
97,
2
] | 29 | [
"43*2=86",
"97-40=57",
"86-57=29"
] | Current State: 29:[43, 40, 97, 2], Operations: []
Exploring Operation: 43*2=86, Resulting Numbers: [40, 97, 86]
Generated Node #2: [40, 97, 86] from Operation: 43*2=86
Current State: 29:[40, 97, 86], Operations: ['43*2=86']
Exploring Operation: 97-40=57, Resulting Numbers: [86, 57]
Generated Node #3: [86, 57] from Operation: 97-40=57
Current State: 29:[86, 57], Operations: ['43*2=86', '97-40=57']
Exploring Operation: 86-57=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[43, 40, 97, 2], Operations: []
Exploring Operation: 43-2=41, Resulting Numbers: [40, 97, 41]
Generated Node #0,0: 29:[40, 97, 41] Operation: 43-2=41
Exploring Operation: 97-43=54, Resulting Numbers: [40, 2, 54]
Generated Node #0,1: 29:[40, 2, 54] Operation: 97-43=54
Exploring Operation: 97-40=57, Resulting Numbers: [43, 2, 57]
Generated Node #0,2: 29:[43, 2, 57] Operation: 97-40=57
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[40, 2, 54], Operations: ['97-43=54']
Exploring Operation: 40-2=38, Resulting Numbers: [54, 38]
Generated Node #0,1,0: 29:[54, 38] Operation: 40-2=38
Exploring Operation: 40/2=20, Resulting Numbers: [54, 20]
Generated Node #0,1,1: 29:[54, 20] Operation: 40/2=20
Exploring Operation: 54/2=27, Resulting Numbers: [40, 27]
Generated Node #0,1,2: 29:[40, 27] Operation: 54/2=27
Moving to Node #0,1,2
Current State: 29:[40, 27], Operations: ['97-43=54', '54/2=27']
Exploring Operation: 40+27=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Exploring Operation: 40*27=1080, Resulting Numbers: [1080]
1080,29 unequal: No Solution
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[54, 38], Operations: ['97-43=54', '40-2=38']
Exploring Operation: 54*38=2052, Resulting Numbers: [2052]
2052,29 unequal: No Solution
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,29 unequal: No Solution
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[54, 20], Operations: ['97-43=54', '40/2=20']
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 54*20=1080, Resulting Numbers: [1080]
1080,29 unequal: No Solution
Exploring Operation: 54+20=74, Resulting Numbers: [74]
74,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[43, 2, 57], Operations: ['97-40=57']
Exploring Operation: 57-2=55, Resulting Numbers: [43, 55]
Generated Node #0,2,0: 29:[43, 55] Operation: 57-2=55
Exploring Operation: 43-2=41, Resulting Numbers: [57, 41]
Generated Node #0,2,1: 29:[57, 41] Operation: 43-2=41
Exploring Operation: 57-43=14, Resulting Numbers: [2, 14]
Generated Node #0,2,2: 29:[2, 14] Operation: 57-43=14
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[43, 55], Operations: ['97-40=57', '57-2=55']
Exploring Operation: 43+55=98, Resulting Numbers: [98]
98,29 unequal: No Solution
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 43*55=2365, Resulting Numbers: [2365]
2365,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 29:[57, 41], Operations: ['97-40=57', '43-2=41']
Exploring Operation: 57*41=2337, Resulting Numbers: [2337]
2337,29 unequal: No Solution
Exploring Operation: 57+41=98, Resulting Numbers: [98]
98,29 unequal: No Solution
Exploring Operation: 57-41=16, Resulting Numbers: [16]
16,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 29:[2, 14], Operations: ['97-40=57', '57-43=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[40, 97, 41], Operations: ['43-2=41']
Exploring Operation: 97-41=56, Resulting Numbers: [40, 56]
Generated Node #0,0,0: 29:[40, 56] Operation: 97-41=56
Exploring Operation: 41-40=1, Resulting Numbers: [97, 1]
Generated Node #0,0,1: 29:[97, 1] Operation: 41-40=1
Exploring Operation: 97-40=57, Resulting Numbers: [41, 57]
Generated Node #0,0,2: 29:[41, 57] Operation: 97-40=57
Moving to Node #0,0,0
Current State: 29:[40, 56], Operations: ['43-2=41', '97-41=56']
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 40*56=2240, Resulting Numbers: [2240]
2240,29 unequal: No Solution
Exploring Operation: 40+56=96, Resulting Numbers: [96]
96,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[41, 57], Operations: ['43-2=41', '97-40=57']
Exploring Operation: 57-41=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 41+57=98, Resulting Numbers: [98]
98,29 unequal: No Solution
Exploring Operation: 41*57=2337, Resulting Numbers: [2337]
2337,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[97, 1], Operations: ['43-2=41', '41-40=1']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,29 unequal: No Solution
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,29 unequal: No Solution
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
65,
91,
72,
9
] | 22 | [
"72-65=7",
"91/7=13",
"9+13=22"
] | Current State: 22:[65, 91, 72, 9], Operations: []
Exploring Operation: 72-65=7, Resulting Numbers: [91, 9, 7]
Generated Node #2: [91, 9, 7] from Operation: 72-65=7
Current State: 22:[91, 9, 7], Operations: ['72-65=7']
Exploring Operation: 91/7=13, Resulting Numbers: [9, 13]
Generated Node #3: [9, 13] from Operation: 91/7=13
Current State: 22:[9, 13], Operations: ['72-65=7', '91/7=13']
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[65, 91, 72, 9], Operations: []
Exploring Operation: 91-65=26, Resulting Numbers: [72, 9, 26]
Generated Node #0,0: 22:[72, 9, 26] Operation: 91-65=26
Exploring Operation: 91-72=19, Resulting Numbers: [65, 9, 19]
Generated Node #0,1: 22:[65, 9, 19] Operation: 91-72=19
Exploring Operation: 72-65=7, Resulting Numbers: [91, 9, 7]
Generated Node #0,2: 22:[91, 9, 7] Operation: 72-65=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[65, 9, 19], Operations: ['91-72=19']
Exploring Operation: 65-9=56, Resulting Numbers: [19, 56]
Generated Node #0,1,0: 22:[19, 56] Operation: 65-9=56
Exploring Operation: 19-9=10, Resulting Numbers: [65, 10]
Generated Node #0,1,1: 22:[65, 10] Operation: 19-9=10
Exploring Operation: 65-19=46, Resulting Numbers: [9, 46]
Generated Node #0,1,2: 22:[9, 46] Operation: 65-19=46
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 22:[9, 46], Operations: ['91-72=19', '65-19=46']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 9+46=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 9*46=414, Resulting Numbers: [414]
414,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 22:[19, 56], Operations: ['91-72=19', '65-9=56']
Exploring Operation: 19*56=1064, Resulting Numbers: [1064]
1064,22 unequal: No Solution
Exploring Operation: 19+56=75, Resulting Numbers: [75]
75,22 unequal: No Solution
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 22:[65, 10], Operations: ['91-72=19', '19-9=10']
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,22 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[72, 9, 26], Operations: ['91-65=26']
Exploring Operation: 72-9=63, Resulting Numbers: [26, 63]
Generated Node #0,0,0: 22:[26, 63] Operation: 72-9=63
Exploring Operation: 72-26=46, Resulting Numbers: [9, 46]
Generated Node #0,0,1: 22:[9, 46] Operation: 72-26=46
Exploring Operation: 72/9=8, Resulting Numbers: [26, 8]
Generated Node #0,0,2: 22:[26, 8] Operation: 72/9=8
Moving to Node #0,0,2
Current State: 22:[26, 8], Operations: ['91-65=26', '72/9=8']
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 26*8=208, Resulting Numbers: [208]
208,22 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[9, 46], Operations: ['91-65=26', '72-26=46']
Exploring Operation: 9+46=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 9*46=414, Resulting Numbers: [414]
414,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[26, 63], Operations: ['91-65=26', '72-9=63']
Exploring Operation: 26+63=89, Resulting Numbers: [89]
89,22 unequal: No Solution
Exploring Operation: 26*63=1638, Resulting Numbers: [1638]
1638,22 unequal: No Solution
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[91, 9, 7], Operations: ['72-65=7']
Exploring Operation: 91/7=13, Resulting Numbers: [9, 13]
Generated Node #0,2,0: 22:[9, 13] Operation: 91/7=13
Exploring Operation: 91-7=84, Resulting Numbers: [9, 84]
Generated Node #0,2,1: 22:[9, 84] Operation: 91-7=84
Exploring Operation: 91-9=82, Resulting Numbers: [7, 82]
Generated Node #0,2,2: 22:[7, 82] Operation: 91-9=82
Moving to Node #0,2,0
Current State: 22:[9, 13], Operations: ['72-65=7', '91/7=13']
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[65, 91, 72, 9], Operations: []
Exploring Operation: 72-65=7, Resulting Numbers: [91, 9, 7]
Generated Node #0,2: 22:[91, 9, 7] Operation: 72-65=7
Moving to Node #0,2
Current State: 22:[91, 9, 7], Operations: ['72-65=7']
Exploring Operation: 91/7=13, Resulting Numbers: [9, 13]
Generated Node #0,2,0: 22:[9, 13] Operation: 91/7=13
Moving to Node #0,2,0
Current State: 22:[9, 13], Operations: ['72-65=7', '91/7=13']
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_3 | sum_heuristic |
[
75,
5,
85,
81
] | 31 | [
"85-75=10",
"5*10=50",
"81-50=31"
] | Current State: 31:[75, 5, 85, 81], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [5, 81, 10]
Generated Node #2: [5, 81, 10] from Operation: 85-75=10
Current State: 31:[5, 81, 10], Operations: ['85-75=10']
Exploring Operation: 5*10=50, Resulting Numbers: [81, 50]
Generated Node #3: [81, 50] from Operation: 5*10=50
Current State: 31:[81, 50], Operations: ['85-75=10', '5*10=50']
Exploring Operation: 81-50=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[75, 5, 85, 81], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [5, 81, 10]
Generated Node #0,0: 31:[5, 81, 10] Operation: 85-75=10
Exploring Operation: 85-81=4, Resulting Numbers: [75, 5, 4]
Generated Node #0,1: 31:[75, 5, 4] Operation: 85-81=4
Exploring Operation: 81-75=6, Resulting Numbers: [5, 85, 6]
Generated Node #0,2: 31:[5, 85, 6] Operation: 81-75=6
Moving to Node #0,0
Current State: 31:[5, 81, 10], Operations: ['85-75=10']
Exploring Operation: 81-5=76, Resulting Numbers: [10, 76]
Generated Node #0,0,0: 31:[10, 76] Operation: 81-5=76
Exploring Operation: 5+10=15, Resulting Numbers: [81, 15]
Generated Node #0,0,1: 31:[81, 15] Operation: 5+10=15
Exploring Operation: 81-10=71, Resulting Numbers: [5, 71]
Generated Node #0,0,2: 31:[5, 71] Operation: 81-10=71
Moving to Node #0,1
Current State: 31:[75, 5, 4], Operations: ['85-81=4']
Exploring Operation: 75/5=15, Resulting Numbers: [4, 15]
Generated Node #0,1,0: 31:[4, 15] Operation: 75/5=15
Exploring Operation: 5*4=20, Resulting Numbers: [75, 20]
Generated Node #0,1,1: 31:[75, 20] Operation: 5*4=20
Exploring Operation: 75-5=70, Resulting Numbers: [4, 70]
Generated Node #0,1,2: 31:[4, 70] Operation: 75-5=70
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[4, 15], Operations: ['85-81=4', '75/5=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[75, 20], Operations: ['85-81=4', '5*4=20']
Exploring Operation: 75-20=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 75*20=1500, Resulting Numbers: [1500]
1500,31 unequal: No Solution
Exploring Operation: 75+20=95, Resulting Numbers: [95]
95,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 31:[4, 70], Operations: ['85-81=4', '75-5=70']
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,31 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 4*70=280, Resulting Numbers: [280]
280,31 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: 31:[5, 85, 6], Operations: ['81-75=6']
Exploring Operation: 85-5=80, Resulting Numbers: [6, 80]
Generated Node #0,2,0: 31:[6, 80] Operation: 85-5=80
Exploring Operation: 85/5=17, Resulting Numbers: [6, 17]
Generated Node #0,2,1: 31:[6, 17] Operation: 85/5=17
Exploring Operation: 5*6=30, Resulting Numbers: [85, 30]
Generated Node #0,2,2: 31:[85, 30] Operation: 5*6=30
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 31:[6, 17], Operations: ['81-75=6', '85/5=17']
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 31:[85, 30], Operations: ['81-75=6', '5*6=30']
Exploring Operation: 85*30=2550, Resulting Numbers: [2550]
2550,31 unequal: No Solution
Exploring Operation: 85+30=115, Resulting Numbers: [115]
115,31 unequal: No Solution
Exploring Operation: 85-30=55, Resulting Numbers: [55]
55,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[6, 80], Operations: ['81-75=6', '85-5=80']
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,31 unequal: No Solution
Exploring Operation: 6+80=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 6*80=480, Resulting Numbers: [480]
480,31 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: 31:[10, 76], Operations: ['85-75=10', '81-5=76']
Exploring Operation: 10*76=760, Resulting Numbers: [760]
760,31 unequal: No Solution
Exploring Operation: 10+76=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[81, 15], Operations: ['85-75=10', '5+10=15']
Exploring Operation: 81*15=1215, Resulting Numbers: [1215]
1215,31 unequal: No Solution
Exploring Operation: 81+15=96, Resulting Numbers: [96]
96,31 unequal: No Solution
Exploring Operation: 81-15=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[5, 71], Operations: ['85-75=10', '81-10=71']
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 5*71=355, Resulting Numbers: [355]
355,31 unequal: No Solution
Exploring Operation: 5+71=76, Resulting Numbers: [76]
76,31 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
35,
2,
46,
65
] | 61 | [
"65-35=30",
"30/2=15",
"46+15=61"
] | Current State: 61:[35, 2, 46, 65], Operations: []
Exploring Operation: 65-35=30, Resulting Numbers: [2, 46, 30]
Generated Node #2: [2, 46, 30] from Operation: 65-35=30
Current State: 61:[2, 46, 30], Operations: ['65-35=30']
Exploring Operation: 30/2=15, Resulting Numbers: [46, 15]
Generated Node #3: [46, 15] from Operation: 30/2=15
Current State: 61:[46, 15], Operations: ['65-35=30', '30/2=15']
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[35, 2, 46, 65], Operations: []
Exploring Operation: 35+2=37, Resulting Numbers: [46, 65, 37]
Generated Node #0,0: 61:[46, 65, 37] Operation: 35+2=37
Exploring Operation: 35*2=70, Resulting Numbers: [46, 65, 70]
Generated Node #0,1: 61:[46, 65, 70] Operation: 35*2=70
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[46, 65, 70], Operations: ['35*2=70']
Exploring Operation: 65-46=19, Resulting Numbers: [70, 19]
Generated Node #0,1,0: 61:[70, 19] Operation: 65-46=19
Exploring Operation: 70-46=24, Resulting Numbers: [65, 24]
Generated Node #0,1,1: 61:[65, 24] Operation: 70-46=24
Moving to Node #0,1,1
Current State: 61:[65, 24], Operations: ['35*2=70', '70-46=24']
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,61 unequal: No Solution
Exploring Operation: 65+24=89, Resulting Numbers: [89]
89,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[70, 19], Operations: ['35*2=70', '65-46=19']
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,61 unequal: No Solution
Exploring Operation: 70+19=89, Resulting Numbers: [89]
89,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[46, 65, 37], Operations: ['35+2=37']
Exploring Operation: 46+37=83, Resulting Numbers: [65, 83]
Generated Node #0,0,0: 61:[65, 83] Operation: 46+37=83
Exploring Operation: 65-37=28, Resulting Numbers: [46, 28]
Generated Node #0,0,1: 61:[46, 28] Operation: 65-37=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[65, 83], Operations: ['35+2=37', '46+37=83']
Exploring Operation: 65+83=148, Resulting Numbers: [148]
148,61 unequal: No Solution
Exploring Operation: 83-65=18, Resulting Numbers: [18]
18,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 61:[46, 28], Operations: ['35+2=37', '65-37=28']
Exploring Operation: 46+28=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
62,
23,
10,
32
] | 43 | [
"62+23=85",
"10+32=42",
"85-42=43"
] | Current State: 43:[62, 23, 10, 32], Operations: []
Exploring Operation: 62+23=85, Resulting Numbers: [10, 32, 85]
Generated Node #2: [10, 32, 85] from Operation: 62+23=85
Current State: 43:[10, 32, 85], Operations: ['62+23=85']
Exploring Operation: 10+32=42, Resulting Numbers: [85, 42]
Generated Node #3: [85, 42] from Operation: 10+32=42
Current State: 43:[85, 42], Operations: ['62+23=85', '10+32=42']
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[62, 23, 10, 32], Operations: []
Exploring Operation: 62-23=39, Resulting Numbers: [10, 32, 39]
Generated Node #0,0: 43:[10, 32, 39] Operation: 62-23=39
Exploring Operation: 10+32=42, Resulting Numbers: [62, 23, 42]
Generated Node #0,1: 43:[62, 23, 42] Operation: 10+32=42
Exploring Operation: 62-10=52, Resulting Numbers: [23, 32, 52]
Generated Node #0,2: 43:[23, 32, 52] Operation: 62-10=52
Exploring Operation: 23+10=33, Resulting Numbers: [62, 32, 33]
Generated Node #0,3: 43:[62, 32, 33] Operation: 23+10=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[62, 23, 42], Operations: ['10+32=42']
Exploring Operation: 62-23=39, Resulting Numbers: [42, 39]
Generated Node #0,1,0: 43:[42, 39] Operation: 62-23=39
Exploring Operation: 62-42=20, Resulting Numbers: [23, 20]
Generated Node #0,1,1: 43:[23, 20] Operation: 62-42=20
Exploring Operation: 23+42=65, Resulting Numbers: [62, 65]
Generated Node #0,1,2: 43:[62, 65] Operation: 23+42=65
Exploring Operation: 62+23=85, Resulting Numbers: [42, 85]
Generated Node #0,1,3: 43:[42, 85] Operation: 62+23=85
Moving to Node #0,1,0
Current State: 43:[42, 39], Operations: ['10+32=42', '62-23=39']
Exploring Operation: 42*39=1638, Resulting Numbers: [1638]
1638,43 unequal: No Solution
Exploring Operation: 42+39=81, Resulting Numbers: [81]
81,43 unequal: No Solution
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[62, 65], Operations: ['10+32=42', '23+42=65']
Exploring Operation: 65-62=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 62+65=127, Resulting Numbers: [127]
127,43 unequal: No Solution
Exploring Operation: 62*65=4030, Resulting Numbers: [4030]
4030,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[42, 85], Operations: ['10+32=42', '62+23=85']
Exploring Operation: 42+85=127, Resulting Numbers: [127]
127,43 unequal: No Solution
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[62, 23, 10, 32], Operations: []
Exploring Operation: 10+32=42, Resulting Numbers: [62, 23, 42]
Generated Node #0,1: 43:[62, 23, 42] Operation: 10+32=42
Moving to Node #0,1
Current State: 43:[62, 23, 42], Operations: ['10+32=42']
Exploring Operation: 62+23=85, Resulting Numbers: [42, 85]
Generated Node #0,1,3: 43:[42, 85] Operation: 62+23=85
Moving to Node #0,1,3
Current State: 43:[42, 85], Operations: ['10+32=42', '62+23=85']
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
12,
6,
30,
47
] | 75 | [
"12/6=2",
"30+47=77",
"77-2=75"
] | Current State: 75:[12, 6, 30, 47], Operations: []
Exploring Operation: 12/6=2, Resulting Numbers: [30, 47, 2]
Generated Node #2: [30, 47, 2] from Operation: 12/6=2
Current State: 75:[30, 47, 2], Operations: ['12/6=2']
Exploring Operation: 30+47=77, Resulting Numbers: [2, 77]
Generated Node #3: [2, 77] from Operation: 30+47=77
Current State: 75:[2, 77], Operations: ['12/6=2', '30+47=77']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[12, 6, 30, 47], Operations: []
Exploring Operation: 47-30=17, Resulting Numbers: [12, 6, 17]
Generated Node #0,0: 75:[12, 6, 17] Operation: 47-30=17
Exploring Operation: 30+47=77, Resulting Numbers: [12, 6, 77]
Generated Node #0,1: 75:[12, 6, 77] Operation: 30+47=77
Moving to Node #0,0
Current State: 75:[12, 6, 17], Operations: ['47-30=17']
Exploring Operation: 12-6=6, Resulting Numbers: [17, 6]
Generated Node #0,0,0: 75:[17, 6] Operation: 12-6=6
Exploring Operation: 17-12=5, Resulting Numbers: [6, 5]
Generated Node #0,0,1: 75:[6, 5] Operation: 17-12=5
Moving to Node #0,1
Current State: 75:[12, 6, 77], Operations: ['30+47=77']
Exploring Operation: 12-6=6, Resulting Numbers: [77, 6]
Generated Node #0,1,0: 75:[77, 6] Operation: 12-6=6
Exploring Operation: 12/6=2, Resulting Numbers: [77, 2]
Generated Node #0,1,1: 75:[77, 2] Operation: 12/6=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[77, 6], Operations: ['30+47=77', '12-6=6']
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 77+6=83, Resulting Numbers: [83]
83,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[77, 2], Operations: ['30+47=77', '12/6=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[12, 6, 30, 47], Operations: []
Exploring Operation: 30+47=77, Resulting Numbers: [12, 6, 77]
Generated Node #0,1: 75:[12, 6, 77] Operation: 30+47=77
Moving to Node #0,1
Current State: 75:[12, 6, 77], Operations: ['30+47=77']
Exploring Operation: 12/6=2, Resulting Numbers: [77, 2]
Generated Node #0,1,1: 75:[77, 2] Operation: 12/6=2
Moving to Node #0,1,1
Current State: 75:[77, 2], Operations: ['30+47=77', '12/6=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_2 | sum_heuristic |
[
4,
93,
34,
16
] | 59 | [
"4*34=136",
"93-16=77",
"136-77=59"
] | Current State: 59:[4, 93, 34, 16], Operations: []
Exploring Operation: 4*34=136, Resulting Numbers: [93, 16, 136]
Generated Node #2: [93, 16, 136] from Operation: 4*34=136
Current State: 59:[93, 16, 136], Operations: ['4*34=136']
Exploring Operation: 93-16=77, Resulting Numbers: [136, 77]
Generated Node #3: [136, 77] from Operation: 93-16=77
Current State: 59:[136, 77], Operations: ['4*34=136', '93-16=77']
Exploring Operation: 136-77=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[4, 93, 34, 16], Operations: []
Exploring Operation: 93-4=89, Resulting Numbers: [34, 16, 89]
Generated Node #0,0: 59:[34, 16, 89] Operation: 93-4=89
Exploring Operation: 4+34=38, Resulting Numbers: [93, 16, 38]
Generated Node #0,1: 59:[93, 16, 38] Operation: 4+34=38
Exploring Operation: 4*16=64, Resulting Numbers: [93, 34, 64]
Generated Node #0,2: 59:[93, 34, 64] Operation: 4*16=64
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[93, 34, 64], Operations: ['4*16=64']
Exploring Operation: 64-34=30, Resulting Numbers: [93, 30]
Generated Node #0,2,0: 59:[93, 30] Operation: 64-34=30
Exploring Operation: 93-64=29, Resulting Numbers: [34, 29]
Generated Node #0,2,1: 59:[34, 29] Operation: 93-64=29
Exploring Operation: 93-34=59, Resulting Numbers: [64, 59]
Generated Node #0,2,2: 59:[64, 59] Operation: 93-34=59
Moving to Node #0,2,2
Current State: 59:[64, 59], Operations: ['4*16=64', '93-34=59']
Exploring Operation: 64*59=3776, Resulting Numbers: [3776]
3776,59 unequal: No Solution
Exploring Operation: 64-59=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 64+59=123, Resulting Numbers: [123]
123,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[34, 29], Operations: ['4*16=64', '93-64=29']
Exploring Operation: 34*29=986, Resulting Numbers: [986]
986,59 unequal: No Solution
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[93, 30], Operations: ['4*16=64', '64-34=30']
Exploring Operation: 93+30=123, Resulting Numbers: [123]
123,59 unequal: No Solution
Exploring Operation: 93-30=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 93*30=2790, Resulting Numbers: [2790]
2790,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[34, 16, 89], Operations: ['93-4=89']
Exploring Operation: 89-16=73, Resulting Numbers: [34, 73]
Generated Node #0,0,0: 59:[34, 73] Operation: 89-16=73
Exploring Operation: 89-34=55, Resulting Numbers: [16, 55]
Generated Node #0,0,1: 59:[16, 55] Operation: 89-34=55
Exploring Operation: 34+16=50, Resulting Numbers: [89, 50]
Generated Node #0,0,2: 59:[89, 50] Operation: 34+16=50
Moving to Node #0,0,0
Current State: 59:[34, 73], Operations: ['93-4=89', '89-16=73']
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Exploring Operation: 34+73=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 34*73=2482, Resulting Numbers: [2482]
2482,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[89, 50], Operations: ['93-4=89', '34+16=50']
Exploring Operation: 89+50=139, Resulting Numbers: [139]
139,59 unequal: No Solution
Exploring Operation: 89-50=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Exploring Operation: 89*50=4450, Resulting Numbers: [4450]
4450,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[16, 55], Operations: ['93-4=89', '89-34=55']
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,59 unequal: No Solution
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,59 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[93, 16, 38], Operations: ['4+34=38']
Exploring Operation: 16+38=54, Resulting Numbers: [93, 54]
Generated Node #0,1,0: 59:[93, 54] Operation: 16+38=54
Exploring Operation: 93-16=77, Resulting Numbers: [38, 77]
Generated Node #0,1,1: 59:[38, 77] Operation: 93-16=77
Exploring Operation: 93-38=55, Resulting Numbers: [16, 55]
Generated Node #0,1,2: 59:[16, 55] Operation: 93-38=55
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[93, 54], Operations: ['4+34=38', '16+38=54']
Exploring Operation: 93+54=147, Resulting Numbers: [147]
147,59 unequal: No Solution
Exploring Operation: 93-54=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Exploring Operation: 93*54=5022, Resulting Numbers: [5022]
5022,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[38, 77], Operations: ['4+34=38', '93-16=77']
Exploring Operation: 38+77=115, Resulting Numbers: [115]
115,59 unequal: No Solution
Exploring Operation: 38*77=2926, Resulting Numbers: [2926]
2926,59 unequal: No Solution
Exploring Operation: 77-38=39, Resulting Numbers: [39]
39,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 59:[16, 55], Operations: ['4+34=38', '93-38=55']
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,59 unequal: No Solution
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,59 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
63,
43,
17,
27
] | 81 | [
"63-43=20",
"20-17=3",
"27*3=81"
] | Current State: 81:[63, 43, 17, 27], Operations: []
Exploring Operation: 63-43=20, Resulting Numbers: [17, 27, 20]
Generated Node #2: [17, 27, 20] from Operation: 63-43=20
Current State: 81:[17, 27, 20], Operations: ['63-43=20']
Exploring Operation: 20-17=3, Resulting Numbers: [27, 3]
Generated Node #3: [27, 3] from Operation: 20-17=3
Current State: 81:[27, 3], Operations: ['63-43=20', '20-17=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[63, 43, 17, 27], Operations: []
Exploring Operation: 63+27=90, Resulting Numbers: [43, 17, 90]
Generated Node #0,0: 81:[43, 17, 90] Operation: 63+27=90
Exploring Operation: 63+17=80, Resulting Numbers: [43, 27, 80]
Generated Node #0,1: 81:[43, 27, 80] Operation: 63+17=80
Exploring Operation: 63+43=106, Resulting Numbers: [17, 27, 106]
Generated Node #0,2: 81:[17, 27, 106] Operation: 63+43=106
Exploring Operation: 63-43=20, Resulting Numbers: [17, 27, 20]
Generated Node #0,3: 81:[17, 27, 20] Operation: 63-43=20
Exploring Operation: 43-17=26, Resulting Numbers: [63, 27, 26]
Generated Node #0,4: 81:[63, 27, 26] Operation: 43-17=26
Start Sub Search at level 1: Moving to Node #0,3
Current State: 81:[17, 27, 20], Operations: ['63-43=20']
Exploring Operation: 17+20=37, Resulting Numbers: [27, 37]
Generated Node #0,3,0: 81:[27, 37] Operation: 17+20=37
Exploring Operation: 27-17=10, Resulting Numbers: [20, 10]
Generated Node #0,3,1: 81:[20, 10] Operation: 27-17=10
Exploring Operation: 27-20=7, Resulting Numbers: [17, 7]
Generated Node #0,3,2: 81:[17, 7] Operation: 27-20=7
Exploring Operation: 20-17=3, Resulting Numbers: [27, 3]
Generated Node #0,3,3: 81:[27, 3] Operation: 20-17=3
Exploring Operation: 17+27=44, Resulting Numbers: [20, 44]
Generated Node #0,3,4: 81:[20, 44] Operation: 17+27=44
Moving to Node #0,3,3
Current State: 81:[27, 3], Operations: ['63-43=20', '20-17=3']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[63, 43, 17, 27], Operations: []
Exploring Operation: 63-43=20, Resulting Numbers: [17, 27, 20]
Generated Node #0,3: 81:[17, 27, 20] Operation: 63-43=20
Moving to Node #0,3
Current State: 81:[17, 27, 20], Operations: ['63-43=20']
Exploring Operation: 20-17=3, Resulting Numbers: [27, 3]
Generated Node #0,3,3: 81:[27, 3] Operation: 20-17=3
Moving to Node #0,3,3
Current State: 81:[27, 3], Operations: ['63-43=20', '20-17=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
23,
50,
34,
39
] | 46 | [
"50-23=27",
"34+39=73",
"73-27=46"
] | Current State: 46:[23, 50, 34, 39], Operations: []
Exploring Operation: 50-23=27, Resulting Numbers: [34, 39, 27]
Generated Node #2: [34, 39, 27] from Operation: 50-23=27
Current State: 46:[34, 39, 27], Operations: ['50-23=27']
Exploring Operation: 34+39=73, Resulting Numbers: [27, 73]
Generated Node #3: [27, 73] from Operation: 34+39=73
Current State: 46:[27, 73], Operations: ['50-23=27', '34+39=73']
Exploring Operation: 73-27=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[23, 50, 34, 39], Operations: []
Exploring Operation: 39-34=5, Resulting Numbers: [23, 50, 5]
Generated Node #0,0: 46:[23, 50, 5] Operation: 39-34=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[23, 50, 5], Operations: ['39-34=5']
Exploring Operation: 50-5=45, Resulting Numbers: [23, 45]
Generated Node #0,0,0: 46:[23, 45] Operation: 50-5=45
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[23, 45], Operations: ['39-34=5', '50-5=45']
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,46 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 |
[
37,
82,
62,
86
] | 95 | [
"37+82=119",
"86-62=24",
"119-24=95"
] | Current State: 95:[37, 82, 62, 86], Operations: []
Exploring Operation: 37+82=119, Resulting Numbers: [62, 86, 119]
Generated Node #2: [62, 86, 119] from Operation: 37+82=119
Current State: 95:[62, 86, 119], Operations: ['37+82=119']
Exploring Operation: 86-62=24, Resulting Numbers: [119, 24]
Generated Node #3: [119, 24] from Operation: 86-62=24
Current State: 95:[119, 24], Operations: ['37+82=119', '86-62=24']
Exploring Operation: 119-24=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[37, 82, 62, 86], Operations: []
Exploring Operation: 37+62=99, Resulting Numbers: [82, 86, 99]
Generated Node #0,0: 95:[82, 86, 99] Operation: 37+62=99
Exploring Operation: 62-37=25, Resulting Numbers: [82, 86, 25]
Generated Node #0,1: 95:[82, 86, 25] Operation: 62-37=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[82, 86, 99], Operations: ['37+62=99']
Exploring Operation: 99-82=17, Resulting Numbers: [86, 17]
Generated Node #0,0,0: 95:[86, 17] Operation: 99-82=17
Exploring Operation: 86-82=4, Resulting Numbers: [99, 4]
Generated Node #0,0,1: 95:[99, 4] Operation: 86-82=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[99, 4], Operations: ['37+62=99', '86-82=4']
Exploring Operation: 99+4=103, Resulting Numbers: [103]
103,95 unequal: No Solution
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[37, 82, 62, 86], Operations: []
Exploring Operation: 37+62=99, Resulting Numbers: [82, 86, 99]
Generated Node #0,0: 95:[82, 86, 99] Operation: 37+62=99
Moving to Node #0,0
Current State: 95:[82, 86, 99], Operations: ['37+62=99']
Exploring Operation: 86-82=4, Resulting Numbers: [99, 4]
Generated Node #0,0,1: 95:[99, 4] Operation: 86-82=4
Moving to Node #0,0,1
Current State: 95:[99, 4], Operations: ['37+62=99', '86-82=4']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
41,
24,
75,
93
] | 48 | [
"75+93=168",
"168/24=7",
"41+7=48"
] | Current State: 48:[41, 24, 75, 93], Operations: []
Exploring Operation: 75+93=168, Resulting Numbers: [41, 24, 168]
Generated Node #2: [41, 24, 168] from Operation: 75+93=168
Current State: 48:[41, 24, 168], Operations: ['75+93=168']
Exploring Operation: 168/24=7, Resulting Numbers: [41, 7]
Generated Node #3: [41, 7] from Operation: 168/24=7
Current State: 48:[41, 7], Operations: ['75+93=168', '168/24=7']
Exploring Operation: 41+7=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[41, 24, 75, 93], Operations: []
Exploring Operation: 93-75=18, Resulting Numbers: [41, 24, 18]
Generated Node #0,0: 48:[41, 24, 18] Operation: 93-75=18
Exploring Operation: 93-41=52, Resulting Numbers: [24, 75, 52]
Generated Node #0,1: 48:[24, 75, 52] Operation: 93-41=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[41, 24, 18], Operations: ['93-75=18']
Exploring Operation: 41-24=17, Resulting Numbers: [18, 17]
Generated Node #0,0,0: 48:[18, 17] Operation: 41-24=17
Exploring Operation: 41-18=23, Resulting Numbers: [24, 23]
Generated Node #0,0,1: 48:[24, 23] Operation: 41-18=23
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 48:[24, 23], Operations: ['93-75=18', '41-18=23']
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[18, 17], Operations: ['93-75=18', '41-24=17']
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[24, 75, 52], Operations: ['93-41=52']
Exploring Operation: 75-24=51, Resulting Numbers: [52, 51]
Generated Node #0,1,0: 48:[52, 51] Operation: 75-24=51
Exploring Operation: 75-52=23, Resulting Numbers: [24, 23]
Generated Node #0,1,1: 48:[24, 23] Operation: 75-52=23
Moving to Node #0,1,1
Current State: 48:[24, 23], Operations: ['93-41=52', '75-52=23']
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[52, 51], Operations: ['93-41=52', '75-24=51']
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 52+51=103, Resulting Numbers: [103]
103,48 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 |
[
45,
50,
36,
38
] | 97 | [
"45+50=95",
"38-36=2",
"95+2=97"
] | Current State: 97:[45, 50, 36, 38], Operations: []
Exploring Operation: 45+50=95, Resulting Numbers: [36, 38, 95]
Generated Node #2: [36, 38, 95] from Operation: 45+50=95
Current State: 97:[36, 38, 95], Operations: ['45+50=95']
Exploring Operation: 38-36=2, Resulting Numbers: [95, 2]
Generated Node #3: [95, 2] from Operation: 38-36=2
Current State: 97:[95, 2], Operations: ['45+50=95', '38-36=2']
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[45, 50, 36, 38], Operations: []
Exploring Operation: 45+36=81, Resulting Numbers: [50, 38, 81]
Generated Node #0,0: 97:[50, 38, 81] Operation: 45+36=81
Exploring Operation: 45+38=83, Resulting Numbers: [50, 36, 83]
Generated Node #0,1: 97:[50, 36, 83] Operation: 45+38=83
Exploring Operation: 45+50=95, Resulting Numbers: [36, 38, 95]
Generated Node #0,2: 97:[36, 38, 95] Operation: 45+50=95
Exploring Operation: 50+36=86, Resulting Numbers: [45, 38, 86]
Generated Node #0,3: 97:[45, 38, 86] Operation: 50+36=86
Exploring Operation: 50+38=88, Resulting Numbers: [45, 36, 88]
Generated Node #0,4: 97:[45, 36, 88] Operation: 50+38=88
Moving to Node #0,0
Current State: 97:[50, 38, 81], Operations: ['45+36=81']
Exploring Operation: 50+38=88, Resulting Numbers: [81, 88]
Generated Node #0,0,0: 97:[81, 88] Operation: 50+38=88
Exploring Operation: 50-38=12, Resulting Numbers: [81, 12]
Generated Node #0,0,1: 97:[81, 12] Operation: 50-38=12
Exploring Operation: 50+81=131, Resulting Numbers: [38, 131]
Generated Node #0,0,2: 97:[38, 131] Operation: 50+81=131
Exploring Operation: 38+81=119, Resulting Numbers: [50, 119]
Generated Node #0,0,3: 97:[50, 119] Operation: 38+81=119
Exploring Operation: 81-38=43, Resulting Numbers: [50, 43]
Generated Node #0,0,4: 97:[50, 43] Operation: 81-38=43
Moving to Node #0,2
Current State: 97:[36, 38, 95], Operations: ['45+50=95']
Exploring Operation: 38-36=2, Resulting Numbers: [95, 2]
Generated Node #0,2,0: 97:[95, 2] Operation: 38-36=2
Exploring Operation: 36+38=74, Resulting Numbers: [95, 74]
Generated Node #0,2,1: 97:[95, 74] Operation: 36+38=74
Exploring Operation: 95-36=59, Resulting Numbers: [38, 59]
Generated Node #0,2,2: 97:[38, 59] Operation: 95-36=59
Exploring Operation: 38+95=133, Resulting Numbers: [36, 133]
Generated Node #0,2,3: 97:[36, 133] Operation: 38+95=133
Exploring Operation: 36+95=131, Resulting Numbers: [38, 131]
Generated Node #0,2,4: 97:[38, 131] Operation: 36+95=131
Moving to Node #0,4
Current State: 97:[45, 36, 88], Operations: ['50+38=88']
Exploring Operation: 88-36=52, Resulting Numbers: [45, 52]
Generated Node #0,4,0: 97:[45, 52] Operation: 88-36=52
Exploring Operation: 36+88=124, Resulting Numbers: [45, 124]
Generated Node #0,4,1: 97:[45, 124] Operation: 36+88=124
Exploring Operation: 45+88=133, Resulting Numbers: [36, 133]
Generated Node #0,4,2: 97:[36, 133] Operation: 45+88=133
Exploring Operation: 45+36=81, Resulting Numbers: [88, 81]
Generated Node #0,4,3: 97:[88, 81] Operation: 45+36=81
Exploring Operation: 45-36=9, Resulting Numbers: [88, 9]
Generated Node #0,4,4: 97:[88, 9] Operation: 45-36=9
Moving to Node #0,1
Current State: 97:[50, 36, 83], Operations: ['45+38=83']
Exploring Operation: 50+36=86, Resulting Numbers: [83, 86]
Generated Node #0,1,0: 97:[83, 86] Operation: 50+36=86
Exploring Operation: 83-36=47, Resulting Numbers: [50, 47]
Generated Node #0,1,1: 97:[50, 47] Operation: 83-36=47
Exploring Operation: 50-36=14, Resulting Numbers: [83, 14]
Generated Node #0,1,2: 97:[83, 14] Operation: 50-36=14
Exploring Operation: 50+83=133, Resulting Numbers: [36, 133]
Generated Node #0,1,3: 97:[36, 133] Operation: 50+83=133
Exploring Operation: 36+83=119, Resulting Numbers: [50, 119]
Generated Node #0,1,4: 97:[50, 119] Operation: 36+83=119
Moving to Node #0,3
Current State: 97:[45, 38, 86], Operations: ['50+36=86']
Exploring Operation: 45+38=83, Resulting Numbers: [86, 83]
Generated Node #0,3,0: 97:[86, 83] Operation: 45+38=83
Exploring Operation: 86-38=48, Resulting Numbers: [45, 48]
Generated Node #0,3,1: 97:[45, 48] Operation: 86-38=48
Exploring Operation: 38+86=124, Resulting Numbers: [45, 124]
Generated Node #0,3,2: 97:[45, 124] Operation: 38+86=124
Exploring Operation: 45-38=7, Resulting Numbers: [86, 7]
Generated Node #0,3,3: 97:[86, 7] Operation: 45-38=7
Exploring Operation: 45+86=131, Resulting Numbers: [38, 131]
Generated Node #0,3,4: 97:[38, 131] Operation: 45+86=131
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 97:[86, 83], Operations: ['50+36=86', '45+38=83']
Exploring Operation: 86*83=7138, Resulting Numbers: [7138]
7138,97 unequal: No Solution
Exploring Operation: 86+83=169, Resulting Numbers: [169]
169,97 unequal: No Solution
Exploring Operation: 86-83=3, Resulting Numbers: [3]
3,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 97:[45, 124], Operations: ['50+36=86', '38+86=124']
Exploring Operation: 124-45=79, Resulting Numbers: [79]
79,97 unequal: No Solution
Exploring Operation: 45+124=169, Resulting Numbers: [169]
169,97 unequal: No Solution
Exploring Operation: 45*124=5580, Resulting Numbers: [5580]
5580,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 97:[38, 131], Operations: ['50+36=86', '45+86=131']
Exploring Operation: 131-38=93, Resulting Numbers: [93]
93,97 unequal: No Solution
Exploring Operation: 38*131=4978, Resulting Numbers: [4978]
4978,97 unequal: No Solution
Exploring Operation: 38+131=169, Resulting Numbers: [169]
169,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 97:[45, 48], Operations: ['50+36=86', '86-38=48']
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 45+48=93, Resulting Numbers: [93]
93,97 unequal: No Solution
Exploring Operation: 45*48=2160, Resulting Numbers: [2160]
2160,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 97:[86, 7], Operations: ['50+36=86', '45-38=7']
Exploring Operation: 86*7=602, Resulting Numbers: [602]
602,97 unequal: No Solution
Exploring Operation: 86+7=93, Resulting Numbers: [93]
93,97 unequal: No Solution
Exploring Operation: 86-7=79, Resulting Numbers: [79]
79,97 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: 97:[81, 88], Operations: ['45+36=81', '50+38=88']
Exploring Operation: 81+88=169, Resulting Numbers: [169]
169,97 unequal: No Solution
Exploring Operation: 81*88=7128, Resulting Numbers: [7128]
7128,97 unequal: No Solution
Exploring Operation: 88-81=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[95, 74], Operations: ['45+50=95', '36+38=74']
Exploring Operation: 95-74=21, Resulting Numbers: [21]
21,97 unequal: No Solution
Exploring Operation: 95+74=169, Resulting Numbers: [169]
169,97 unequal: No Solution
Exploring Operation: 95*74=7030, Resulting Numbers: [7030]
7030,97 unequal: No Solution
Moving to Node #0,4,3
Current State: 97:[88, 81], Operations: ['50+38=88', '45+36=81']
Exploring Operation: 88*81=7128, Resulting Numbers: [7128]
7128,97 unequal: No Solution
Exploring Operation: 88+81=169, Resulting Numbers: [169]
169,97 unequal: No Solution
Exploring Operation: 88-81=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[83, 86], Operations: ['45+38=83', '50+36=86']
Exploring Operation: 83*86=7138, Resulting Numbers: [7138]
7138,97 unequal: No Solution
Exploring Operation: 86-83=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 83+86=169, Resulting Numbers: [169]
169,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[50, 119], Operations: ['45+36=81', '38+81=119']
Exploring Operation: 50*119=5950, Resulting Numbers: [5950]
5950,97 unequal: No Solution
Exploring Operation: 119-50=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Exploring Operation: 50+119=169, Resulting Numbers: [169]
169,97 unequal: No Solution
Moving to Node #0,1,4
Current State: 97:[50, 119], Operations: ['45+38=83', '36+83=119']
Exploring Operation: 50+119=169, Resulting Numbers: [169]
169,97 unequal: No Solution
Exploring Operation: 50*119=5950, Resulting Numbers: [5950]
5950,97 unequal: No Solution
Exploring Operation: 119-50=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Moving to Node #0,4,1
Current State: 97:[45, 124], Operations: ['50+38=88', '36+88=124']
Exploring Operation: 124-45=79, Resulting Numbers: [79]
79,97 unequal: No Solution
Exploring Operation: 45+124=169, Resulting Numbers: [169]
169,97 unequal: No Solution
Exploring Operation: 45*124=5580, Resulting Numbers: [5580]
5580,97 unequal: No Solution
Moving to Node #0,2,4
Current State: 97:[38, 131], Operations: ['45+50=95', '36+95=131']
Exploring Operation: 38+131=169, Resulting Numbers: [169]
169,97 unequal: No Solution
Exploring Operation: 131-38=93, Resulting Numbers: [93]
93,97 unequal: No Solution
Exploring Operation: 38*131=4978, Resulting Numbers: [4978]
4978,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[38, 131], Operations: ['45+36=81', '50+81=131']
Exploring Operation: 38+131=169, Resulting Numbers: [169]
169,97 unequal: No Solution
Exploring Operation: 131-38=93, Resulting Numbers: [93]
93,97 unequal: No Solution
Exploring Operation: 38*131=4978, Resulting Numbers: [4978]
4978,97 unequal: No Solution
Moving to Node #0,4,2
Current State: 97:[36, 133], Operations: ['50+38=88', '45+88=133']
Exploring Operation: 36*133=4788, Resulting Numbers: [4788]
4788,97 unequal: No Solution
Exploring Operation: 133-36=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[45, 50, 36, 38], Operations: []
Exploring Operation: 50+38=88, Resulting Numbers: [45, 36, 88]
Generated Node #0,4: 97:[45, 36, 88] Operation: 50+38=88
Moving to Node #0,4
Current State: 97:[45, 36, 88], Operations: ['50+38=88']
Exploring Operation: 45+88=133, Resulting Numbers: [36, 133]
Generated Node #0,4,2: 97:[36, 133] Operation: 45+88=133
Moving to Node #0,4,2
Current State: 97:[36, 133], Operations: ['50+38=88', '45+88=133']
Exploring Operation: 133-36=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 0.932292 | hs_5 | sum_heuristic |
[
10,
28,
54,
6
] | 78 | [
"28-10=18",
"54+6=60",
"18+60=78"
] | Current State: 78:[10, 28, 54, 6], Operations: []
Exploring Operation: 28-10=18, Resulting Numbers: [54, 6, 18]
Generated Node #2: [54, 6, 18] from Operation: 28-10=18
Current State: 78:[54, 6, 18], Operations: ['28-10=18']
Exploring Operation: 54+6=60, Resulting Numbers: [18, 60]
Generated Node #3: [18, 60] from Operation: 54+6=60
Current State: 78:[18, 60], Operations: ['28-10=18', '54+6=60']
Exploring Operation: 18+60=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[10, 28, 54, 6], Operations: []
Exploring Operation: 54-28=26, Resulting Numbers: [10, 6, 26]
Generated Node #0,0: 78:[10, 6, 26] Operation: 54-28=26
Exploring Operation: 54-10=44, Resulting Numbers: [28, 6, 44]
Generated Node #0,1: 78:[28, 6, 44] Operation: 54-10=44
Exploring Operation: 28+54=82, Resulting Numbers: [10, 6, 82]
Generated Node #0,2: 78:[10, 6, 82] Operation: 28+54=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[10, 6, 26], Operations: ['54-28=26']
Exploring Operation: 10-6=4, Resulting Numbers: [26, 4]
Generated Node #0,0,0: 78:[26, 4] Operation: 10-6=4
Exploring Operation: 10+6=16, Resulting Numbers: [26, 16]
Generated Node #0,0,1: 78:[26, 16] Operation: 10+6=16
Exploring Operation: 10+26=36, Resulting Numbers: [6, 36]
Generated Node #0,0,2: 78:[6, 36] Operation: 10+26=36
Moving to Node #0,0,0
Current State: 78:[26, 4], Operations: ['54-28=26', '10-6=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,78 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,78 unequal: No Solution
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[26, 16], Operations: ['54-28=26', '10+6=16']
Exploring Operation: 26*16=416, Resulting Numbers: [416]
416,78 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 26+16=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Moving to Node #0,0,2
Current State: 78:[6, 36], Operations: ['54-28=26', '10+26=36']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[28, 6, 44], Operations: ['54-10=44']
Exploring Operation: 44-6=38, Resulting Numbers: [28, 38]
Generated Node #0,1,0: 78:[28, 38] Operation: 44-6=38
Exploring Operation: 44-28=16, Resulting Numbers: [6, 16]
Generated Node #0,1,1: 78:[6, 16] Operation: 44-28=16
Exploring Operation: 28+44=72, Resulting Numbers: [6, 72]
Generated Node #0,1,2: 78:[6, 72] Operation: 28+44=72
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 78:[28, 38], Operations: ['54-10=44', '44-6=38']
Exploring Operation: 28*38=1064, Resulting Numbers: [1064]
1064,78 unequal: No Solution
Exploring Operation: 28+38=66, Resulting Numbers: [66]
66,78 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[6, 16], Operations: ['54-10=44', '44-28=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,78 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 78:[6, 72], Operations: ['54-10=44', '28+44=72']
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,78 unequal: No Solution
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[10, 28, 54, 6], Operations: []
Exploring Operation: 54-10=44, Resulting Numbers: [28, 6, 44]
Generated Node #0,1: 78:[28, 6, 44] Operation: 54-10=44
Moving to Node #0,1
Current State: 78:[28, 6, 44], Operations: ['54-10=44']
Exploring Operation: 28+44=72, Resulting Numbers: [6, 72]
Generated Node #0,1,2: 78:[6, 72] Operation: 28+44=72
Moving to Node #0,1,2
Current State: 78:[6, 72], Operations: ['54-10=44', '28+44=72']
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_3 | sum_heuristic |
[
86,
11,
2,
66
] | 65 | [
"86+66=152",
"152/2=76",
"76-11=65"
] | Current State: 65:[86, 11, 2, 66], Operations: []
Exploring Operation: 86+66=152, Resulting Numbers: [11, 2, 152]
Generated Node #2: [11, 2, 152] from Operation: 86+66=152
Current State: 65:[11, 2, 152], Operations: ['86+66=152']
Exploring Operation: 152/2=76, Resulting Numbers: [11, 76]
Generated Node #3: [11, 76] from Operation: 152/2=76
Current State: 65:[11, 76], Operations: ['86+66=152', '152/2=76']
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[86, 11, 2, 66], Operations: []
Exploring Operation: 86-66=20, Resulting Numbers: [11, 2, 20]
Generated Node #0,0: 65:[11, 2, 20] Operation: 86-66=20
Exploring Operation: 86-11=75, Resulting Numbers: [2, 66, 75]
Generated Node #0,1: 65:[2, 66, 75] Operation: 86-11=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[11, 2, 20], Operations: ['86-66=20']
Exploring Operation: 11+2=13, Resulting Numbers: [20, 13]
Generated Node #0,0,0: 65:[20, 13] Operation: 11+2=13
Exploring Operation: 20/2=10, Resulting Numbers: [11, 10]
Generated Node #0,0,1: 65:[11, 10] Operation: 20/2=10
Moving to Node #0,0,1
Current State: 65:[11, 10], Operations: ['86-66=20', '20/2=10']
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[20, 13], Operations: ['86-66=20', '11+2=13']
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,65 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,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:[2, 66, 75], Operations: ['86-11=75']
Exploring Operation: 75-66=9, Resulting Numbers: [2, 9]
Generated Node #0,1,0: 65:[2, 9] Operation: 75-66=9
Exploring Operation: 75-2=73, Resulting Numbers: [66, 73]
Generated Node #0,1,1: 65:[66, 73] Operation: 75-2=73
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 65:[2, 9], Operations: ['86-11=75', '75-66=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,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:[66, 73], Operations: ['86-11=75', '75-2=73']
Exploring Operation: 73-66=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 66+73=139, Resulting Numbers: [139]
139,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 | sum_heuristic |
[
43,
59,
80,
34
] | 77 | [
"43+59=102",
"102/34=3",
"80-3=77"
] | Current State: 77:[43, 59, 80, 34], Operations: []
Exploring Operation: 43+59=102, Resulting Numbers: [80, 34, 102]
Generated Node #2: [80, 34, 102] from Operation: 43+59=102
Current State: 77:[80, 34, 102], Operations: ['43+59=102']
Exploring Operation: 102/34=3, Resulting Numbers: [80, 3]
Generated Node #3: [80, 3] from Operation: 102/34=3
Current State: 77:[80, 3], Operations: ['43+59=102', '102/34=3']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[43, 59, 80, 34], Operations: []
Exploring Operation: 43+34=77, Resulting Numbers: [59, 80, 77]
Generated Node #0,0: 77:[59, 80, 77] Operation: 43+34=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[59, 80, 77], Operations: ['43+34=77']
Exploring Operation: 80-59=21, Resulting Numbers: [77, 21]
Generated Node #0,0,0: 77:[77, 21] Operation: 80-59=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[77, 21], Operations: ['43+34=77', '80-59=21']
Exploring Operation: 77+21=98, Resulting Numbers: [98]
98,77 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 |
[
92,
80,
38,
60
] | 33 | [
"92-80=12",
"60/12=5",
"38-5=33"
] | Current State: 33:[92, 80, 38, 60], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [38, 60, 12]
Generated Node #2: [38, 60, 12] from Operation: 92-80=12
Current State: 33:[38, 60, 12], Operations: ['92-80=12']
Exploring Operation: 60/12=5, Resulting Numbers: [38, 5]
Generated Node #3: [38, 5] from Operation: 60/12=5
Current State: 33:[38, 5], Operations: ['92-80=12', '60/12=5']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[92, 80, 38, 60], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [38, 60, 12]
Generated Node #0,0: 33:[38, 60, 12] Operation: 92-80=12
Exploring Operation: 92-60=32, Resulting Numbers: [80, 38, 32]
Generated Node #0,1: 33:[80, 38, 32] Operation: 92-60=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[38, 60, 12], Operations: ['92-80=12']
Exploring Operation: 60-38=22, Resulting Numbers: [12, 22]
Generated Node #0,0,0: 33:[12, 22] Operation: 60-38=22
Exploring Operation: 60/12=5, Resulting Numbers: [38, 5]
Generated Node #0,0,1: 33:[38, 5] Operation: 60/12=5
Moving to Node #0,0,1
Current State: 33:[38, 5], Operations: ['92-80=12', '60/12=5']
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[92, 80, 38, 60], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [38, 60, 12]
Generated Node #0,0: 33:[38, 60, 12] Operation: 92-80=12
Moving to Node #0,0
Current State: 33:[38, 60, 12], Operations: ['92-80=12']
Exploring Operation: 60/12=5, Resulting Numbers: [38, 5]
Generated Node #0,0,1: 33:[38, 5] Operation: 60/12=5
Moving to Node #0,0,1
Current State: 33:[38, 5], Operations: ['92-80=12', '60/12=5']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
5,
15,
35,
6
] | 26 | [
"15/5=3",
"35-6=29",
"29-3=26"
] | Current State: 26:[5, 15, 35, 6], Operations: []
Exploring Operation: 15/5=3, Resulting Numbers: [35, 6, 3]
Generated Node #2: [35, 6, 3] from Operation: 15/5=3
Current State: 26:[35, 6, 3], Operations: ['15/5=3']
Exploring Operation: 35-6=29, Resulting Numbers: [3, 29]
Generated Node #3: [3, 29] from Operation: 35-6=29
Current State: 26:[3, 29], Operations: ['15/5=3', '35-6=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[5, 15, 35, 6], Operations: []
Exploring Operation: 35/5=7, Resulting Numbers: [15, 6, 7]
Generated Node #0,0: 26:[15, 6, 7] Operation: 35/5=7
Exploring Operation: 35-5=30, Resulting Numbers: [15, 6, 30]
Generated Node #0,1: 26:[15, 6, 30] Operation: 35-5=30
Exploring Operation: 35-6=29, Resulting Numbers: [5, 15, 29]
Generated Node #0,2: 26:[5, 15, 29] Operation: 35-6=29
Exploring Operation: 5+6=11, Resulting Numbers: [15, 35, 11]
Generated Node #0,3: 26:[15, 35, 11] Operation: 5+6=11
Exploring Operation: 6-5=1, Resulting Numbers: [15, 35, 1]
Generated Node #0,4: 26:[15, 35, 1] Operation: 6-5=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[5, 15, 29], Operations: ['35-6=29']
Exploring Operation: 15-5=10, Resulting Numbers: [29, 10]
Generated Node #0,2,0: 26:[29, 10] Operation: 15-5=10
Exploring Operation: 5+15=20, Resulting Numbers: [29, 20]
Generated Node #0,2,1: 26:[29, 20] Operation: 5+15=20
Exploring Operation: 29-5=24, Resulting Numbers: [15, 24]
Generated Node #0,2,2: 26:[15, 24] Operation: 29-5=24
Exploring Operation: 15/5=3, Resulting Numbers: [29, 3]
Generated Node #0,2,3: 26:[29, 3] Operation: 15/5=3
Exploring Operation: 29-15=14, Resulting Numbers: [5, 14]
Generated Node #0,2,4: 26:[5, 14] Operation: 29-15=14
Moving to Node #0,2,2
Current State: 26:[15, 24], Operations: ['35-6=29', '29-5=24']
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,26 unequal: No Solution
Exploring Operation: 15*24=360, Resulting Numbers: [360]
360,26 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Moving to Node #0,2,4
Current State: 26:[5, 14], Operations: ['35-6=29', '29-15=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,26 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Moving to Node #0,2,3
Current State: 26:[29, 3], Operations: ['35-6=29', '15/5=3']
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[5, 15, 35, 6], Operations: []
Exploring Operation: 35-6=29, Resulting Numbers: [5, 15, 29]
Generated Node #0,2: 26:[5, 15, 29] Operation: 35-6=29
Moving to Node #0,2
Current State: 26:[5, 15, 29], Operations: ['35-6=29']
Exploring Operation: 15/5=3, Resulting Numbers: [29, 3]
Generated Node #0,2,3: 26:[29, 3] Operation: 15/5=3
Moving to Node #0,2,3
Current State: 26:[29, 3], Operations: ['35-6=29', '15/5=3']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
7,
31,
46,
1
] | 83 | [
"7+31=38",
"46-1=45",
"38+45=83"
] | Current State: 83:[7, 31, 46, 1], Operations: []
Exploring Operation: 7+31=38, Resulting Numbers: [46, 1, 38]
Generated Node #2: [46, 1, 38] from Operation: 7+31=38
Current State: 83:[46, 1, 38], Operations: ['7+31=38']
Exploring Operation: 46-1=45, Resulting Numbers: [38, 45]
Generated Node #3: [38, 45] from Operation: 46-1=45
Current State: 83:[38, 45], Operations: ['7+31=38', '46-1=45']
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[7, 31, 46, 1], Operations: []
Exploring Operation: 7+46=53, Resulting Numbers: [31, 1, 53]
Generated Node #0,0: 83:[31, 1, 53] Operation: 7+46=53
Exploring Operation: 31+46=77, Resulting Numbers: [7, 1, 77]
Generated Node #0,1: 83:[7, 1, 77] Operation: 31+46=77
Exploring Operation: 7+1=8, Resulting Numbers: [31, 46, 8]
Generated Node #0,2: 83:[31, 46, 8] Operation: 7+1=8
Exploring Operation: 7+31=38, Resulting Numbers: [46, 1, 38]
Generated Node #0,3: 83:[46, 1, 38] Operation: 7+31=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[31, 1, 53], Operations: ['7+46=53']
Exploring Operation: 31+1=32, Resulting Numbers: [53, 32]
Generated Node #0,0,0: 83:[53, 32] Operation: 31+1=32
Exploring Operation: 31*1=31, Resulting Numbers: [53, 31]
Generated Node #0,0,1: 83:[53, 31] Operation: 31*1=31
Exploring Operation: 31/1=31, Resulting Numbers: [53, 31]
Generated Node #0,0,2: 83:[53, 31] Operation: 31/1=31
Exploring Operation: 1+53=54, Resulting Numbers: [31, 54]
Generated Node #0,0,3: 83:[31, 54] Operation: 1+53=54
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[53, 32], Operations: ['7+46=53', '31+1=32']
Exploring Operation: 53+32=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 53*32=1696, Resulting Numbers: [1696]
1696,83 unequal: No Solution
Exploring Operation: 53-32=21, Resulting Numbers: [21]
21,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 83:[31, 54], Operations: ['7+46=53', '1+53=54']
Exploring Operation: 54-31=23, Resulting Numbers: [23]
23,83 unequal: No Solution
Exploring Operation: 31+54=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 31*54=1674, Resulting Numbers: [1674]
1674,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[53, 31], Operations: ['7+46=53', '31*1=31']
Exploring Operation: 53*31=1643, Resulting Numbers: [1643]
1643,83 unequal: No Solution
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 53+31=84, Resulting Numbers: [84]
84,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 83:[53, 31], Operations: ['7+46=53', '31/1=31']
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 53*31=1643, Resulting Numbers: [1643]
1643,83 unequal: No Solution
Exploring Operation: 53+31=84, Resulting Numbers: [84]
84,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[7, 1, 77], Operations: ['31+46=77']
Exploring Operation: 1+77=78, Resulting Numbers: [7, 78]
Generated Node #0,1,0: 83:[7, 78] Operation: 1+77=78
Exploring Operation: 7+1=8, Resulting Numbers: [77, 8]
Generated Node #0,1,1: 83:[77, 8] Operation: 7+1=8
Exploring Operation: 7/1=7, Resulting Numbers: [77, 7]
Generated Node #0,1,2: 83:[77, 7] Operation: 7/1=7
Exploring Operation: 7*1=7, Resulting Numbers: [77, 7]
Generated Node #0,1,3: 83:[77, 7] Operation: 7*1=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[7, 78], Operations: ['31+46=77', '1+77=78']
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,83 unequal: No Solution
Exploring Operation: 7*78=546, Resulting Numbers: [546]
546,83 unequal: No Solution
Exploring Operation: 7+78=85, Resulting Numbers: [85]
85,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[77, 8], Operations: ['31+46=77', '7+1=8']
Exploring Operation: 77*8=616, Resulting Numbers: [616]
616,83 unequal: No Solution
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 83:[77, 7], Operations: ['31+46=77', '7/1=7']
Exploring Operation: 77*7=539, Resulting Numbers: [539]
539,83 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,83 unequal: No Solution
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 83:[77, 7], Operations: ['31+46=77', '7*1=7']
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,83 unequal: No Solution
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 77*7=539, Resulting Numbers: [539]
539,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[31, 46, 8], Operations: ['7+1=8']
Exploring Operation: 31+46=77, Resulting Numbers: [8, 77]
Generated Node #0,2,0: 83:[8, 77] Operation: 31+46=77
Exploring Operation: 46+8=54, Resulting Numbers: [31, 54]
Generated Node #0,2,1: 83:[31, 54] Operation: 46+8=54
Exploring Operation: 31+8=39, Resulting Numbers: [46, 39]
Generated Node #0,2,2: 83:[46, 39] Operation: 31+8=39
Exploring Operation: 31-8=23, Resulting Numbers: [46, 23]
Generated Node #0,2,3: 83:[46, 23] Operation: 31-8=23
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 83:[8, 77], Operations: ['7+1=8', '31+46=77']
Exploring Operation: 8*77=616, Resulting Numbers: [616]
616,83 unequal: No Solution
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,83 unequal: No Solution
Exploring Operation: 8+77=85, Resulting Numbers: [85]
85,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 83:[31, 54], Operations: ['7+1=8', '46+8=54']
Exploring Operation: 31+54=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 31*54=1674, Resulting Numbers: [1674]
1674,83 unequal: No Solution
Exploring Operation: 54-31=23, Resulting Numbers: [23]
23,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 83:[46, 39], Operations: ['7+1=8', '31+8=39']
Exploring Operation: 46+39=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 46*39=1794, Resulting Numbers: [1794]
1794,83 unequal: No Solution
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 83:[46, 23], Operations: ['7+1=8', '31-8=23']
Exploring Operation: 46+23=69, Resulting Numbers: [69]
69,83 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,83 unequal: No Solution
Exploring Operation: 46*23=1058, Resulting Numbers: [1058]
1058,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[46, 1, 38], Operations: ['7+31=38']
Exploring Operation: 46/1=46, Resulting Numbers: [38, 46]
Generated Node #0,3,0: 83:[38, 46] Operation: 46/1=46
Exploring Operation: 46+1=47, Resulting Numbers: [38, 47]
Generated Node #0,3,1: 83:[38, 47] Operation: 46+1=47
Exploring Operation: 46*1=46, Resulting Numbers: [38, 46]
Generated Node #0,3,2: 83:[38, 46] Operation: 46*1=46
Exploring Operation: 1+38=39, Resulting Numbers: [46, 39]
Generated Node #0,3,3: 83:[46, 39] Operation: 1+38=39
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 83:[38, 47], Operations: ['7+31=38', '46+1=47']
Exploring Operation: 47-38=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 38+47=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 38*47=1786, Resulting Numbers: [1786]
1786,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 83:[46, 39], Operations: ['7+31=38', '1+38=39']
Exploring Operation: 46+39=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 46*39=1794, Resulting Numbers: [1794]
1794,83 unequal: No Solution
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 83:[38, 46], Operations: ['7+31=38', '46/1=46']
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,83 unequal: No Solution
Exploring Operation: 38*46=1748, Resulting Numbers: [1748]
1748,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 83:[38, 46], Operations: ['7+31=38', '46*1=46']
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,83 unequal: No Solution
Exploring Operation: 38*46=1748, Resulting Numbers: [1748]
1748,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
34,
83,
61,
7
] | 54 | [
"83-34=49",
"49/7=7",
"61-7=54"
] | Current State: 54:[34, 83, 61, 7], Operations: []
Exploring Operation: 83-34=49, Resulting Numbers: [61, 7, 49]
Generated Node #2: [61, 7, 49] from Operation: 83-34=49
Current State: 54:[61, 7, 49], Operations: ['83-34=49']
Exploring Operation: 49/7=7, Resulting Numbers: [61, 7]
Generated Node #3: [61, 7] from Operation: 49/7=7
Current State: 54:[61, 7], Operations: ['83-34=49', '49/7=7']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[34, 83, 61, 7], Operations: []
Exploring Operation: 83-61=22, Resulting Numbers: [34, 7, 22]
Generated Node #0,0: 54:[34, 7, 22] Operation: 83-61=22
Moving to Node #0,0
Current State: 54:[34, 7, 22], Operations: ['83-61=22']
Exploring Operation: 34+22=56, Resulting Numbers: [7, 56]
Generated Node #0,0,0: 54:[7, 56] Operation: 34+22=56
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[7, 56], Operations: ['83-61=22', '34+22=56']
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,54 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 |
[
8,
42,
44,
48
] | 33 | [
"8+48=56",
"42*44=1848",
"1848/56=33"
] | Current State: 33:[8, 42, 44, 48], Operations: []
Exploring Operation: 8+48=56, Resulting Numbers: [42, 44, 56]
Generated Node #2: [42, 44, 56] from Operation: 8+48=56
Current State: 33:[42, 44, 56], Operations: ['8+48=56']
Exploring Operation: 42*44=1848, Resulting Numbers: [56, 1848]
Generated Node #3: [56, 1848] from Operation: 42*44=1848
Current State: 33:[56, 1848], Operations: ['8+48=56', '42*44=1848']
Exploring Operation: 1848/56=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[8, 42, 44, 48], Operations: []
Exploring Operation: 48-42=6, Resulting Numbers: [8, 44, 6]
Generated Node #0,0: 33:[8, 44, 6] Operation: 48-42=6
Exploring Operation: 44-42=2, Resulting Numbers: [8, 48, 2]
Generated Node #0,1: 33:[8, 48, 2] Operation: 44-42=2
Exploring Operation: 48/8=6, Resulting Numbers: [42, 44, 6]
Generated Node #0,2: 33:[42, 44, 6] Operation: 48/8=6
Exploring Operation: 48-44=4, Resulting Numbers: [8, 42, 4]
Generated Node #0,3: 33:[8, 42, 4] Operation: 48-44=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[8, 42, 4], Operations: ['48-44=4']
Exploring Operation: 8*4=32, Resulting Numbers: [42, 32]
Generated Node #0,3,0: 33:[42, 32] Operation: 8*4=32
Exploring Operation: 42-8=34, Resulting Numbers: [4, 34]
Generated Node #0,3,1: 33:[4, 34] Operation: 42-8=34
Exploring Operation: 8+4=12, Resulting Numbers: [42, 12]
Generated Node #0,3,2: 33:[42, 12] Operation: 8+4=12
Exploring Operation: 42-4=38, Resulting Numbers: [8, 38]
Generated Node #0,3,3: 33:[8, 38] Operation: 42-4=38
Moving to Node #0,3,1
Current State: 33:[4, 34], Operations: ['48-44=4', '42-8=34']
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,33 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Moving to Node #0,3,3
Current State: 33:[8, 38], Operations: ['48-44=4', '42-4=38']
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,33 unequal: No Solution
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Moving to Node #0,3,2
Current State: 33:[42, 12], Operations: ['48-44=4', '8+4=12']
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,33 unequal: No Solution
Moving to Node #0,3,0
Current State: 33:[42, 32], Operations: ['48-44=4', '8*4=32']
Exploring Operation: 42+32=74, Resulting Numbers: [74]
74,33 unequal: No Solution
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 42*32=1344, Resulting Numbers: [1344]
1344,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[8, 44, 6], Operations: ['48-42=6']
Exploring Operation: 44-8=36, Resulting Numbers: [6, 36]
Generated Node #0,0,0: 33:[6, 36] Operation: 44-8=36
Exploring Operation: 44-6=38, Resulting Numbers: [8, 38]
Generated Node #0,0,1: 33:[8, 38] Operation: 44-6=38
Exploring Operation: 8-6=2, Resulting Numbers: [44, 2]
Generated Node #0,0,2: 33:[44, 2] Operation: 8-6=2
Exploring Operation: 8+6=14, Resulting Numbers: [44, 14]
Generated Node #0,0,3: 33:[44, 14] Operation: 8+6=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[6, 36], Operations: ['48-42=6', '44-8=36']
Exploring Operation: 6*36=216, Resulting Numbers: [216]
216,33 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[8, 38], Operations: ['48-42=6', '44-6=38']
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,33 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 33:[44, 2], Operations: ['48-42=6', '8-6=2']
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,33 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 33:[44, 14], Operations: ['48-42=6', '8+6=14']
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 44+14=58, Resulting Numbers: [58]
58,33 unequal: No Solution
Exploring Operation: 44*14=616, Resulting Numbers: [616]
616,33 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: 33:[8, 48, 2], Operations: ['44-42=2']
Exploring Operation: 48-8=40, Resulting Numbers: [2, 40]
Generated Node #0,1,0: 33:[2, 40] Operation: 48-8=40
Exploring Operation: 8+2=10, Resulting Numbers: [48, 10]
Generated Node #0,1,1: 33:[48, 10] Operation: 8+2=10
Exploring Operation: 48/8=6, Resulting Numbers: [2, 6]
Generated Node #0,1,2: 33:[2, 6] Operation: 48/8=6
Exploring Operation: 48/2=24, Resulting Numbers: [8, 24]
Generated Node #0,1,3: 33:[8, 24] Operation: 48/2=24
Moving to Node #0,1,2
Current State: 33:[2, 6], Operations: ['44-42=2', '48/8=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[2, 40], Operations: ['44-42=2', '48-8=40']
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,33 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Moving to Node #0,1,3
Current State: 33:[8, 24], Operations: ['44-42=2', '48/2=24']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,33 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[48, 10], Operations: ['44-42=2', '8+2=10']
Exploring Operation: 48*10=480, Resulting Numbers: [480]
480,33 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[42, 44, 6], Operations: ['48/8=6']
Exploring Operation: 44-6=38, Resulting Numbers: [42, 38]
Generated Node #0,2,0: 33:[42, 38] Operation: 44-6=38
Exploring Operation: 42/6=7, Resulting Numbers: [44, 7]
Generated Node #0,2,1: 33:[44, 7] Operation: 42/6=7
Exploring Operation: 44-42=2, Resulting Numbers: [6, 2]
Generated Node #0,2,2: 33:[6, 2] Operation: 44-42=2
Exploring Operation: 42-6=36, Resulting Numbers: [44, 36]
Generated Node #0,2,3: 33:[44, 36] Operation: 42-6=36
Moving to Node #0,2,2
Current State: 33:[6, 2], Operations: ['48/8=6', '44-42=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Moving to Node #0,2,3
Current State: 33:[44, 36], Operations: ['48/8=6', '42-6=36']
Exploring Operation: 44*36=1584, Resulting Numbers: [1584]
1584,33 unequal: No Solution
Exploring Operation: 44-36=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 44+36=80, Resulting Numbers: [80]
80,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[42, 38], Operations: ['48/8=6', '44-6=38']
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 42+38=80, Resulting Numbers: [80]
80,33 unequal: No Solution
Exploring Operation: 42*38=1596, Resulting Numbers: [1596]
1596,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[44, 7], Operations: ['48/8=6', '42/6=7']
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,33 unequal: No Solution
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,33 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 |
[
20,
30,
40,
65
] | 52 | [
"20+30=50",
"40*65=2600",
"2600/50=52"
] | Current State: 52:[20, 30, 40, 65], Operations: []
Exploring Operation: 20+30=50, Resulting Numbers: [40, 65, 50]
Generated Node #2: [40, 65, 50] from Operation: 20+30=50
Current State: 52:[40, 65, 50], Operations: ['20+30=50']
Exploring Operation: 40*65=2600, Resulting Numbers: [50, 2600]
Generated Node #3: [50, 2600] from Operation: 40*65=2600
Current State: 52:[50, 2600], Operations: ['20+30=50', '40*65=2600']
Exploring Operation: 2600/50=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[20, 30, 40, 65], Operations: []
Exploring Operation: 65-40=25, Resulting Numbers: [20, 30, 25]
Generated Node #0,0: 52:[20, 30, 25] Operation: 65-40=25
Exploring Operation: 40/20=2, Resulting Numbers: [30, 65, 2]
Generated Node #0,1: 52:[30, 65, 2] Operation: 40/20=2
Exploring Operation: 40-30=10, Resulting Numbers: [20, 65, 10]
Generated Node #0,2: 52:[20, 65, 10] Operation: 40-30=10
Exploring Operation: 40-20=20, Resulting Numbers: [30, 65, 20]
Generated Node #0,3: 52:[30, 65, 20] Operation: 40-20=20
Moving to Node #0,0
Current State: 52:[20, 30, 25], Operations: ['65-40=25']
Exploring Operation: 25-20=5, Resulting Numbers: [30, 5]
Generated Node #0,0,0: 52:[30, 5] Operation: 25-20=5
Exploring Operation: 20+30=50, Resulting Numbers: [25, 50]
Generated Node #0,0,1: 52:[25, 50] Operation: 20+30=50
Exploring Operation: 30-20=10, Resulting Numbers: [25, 10]
Generated Node #0,0,2: 52:[25, 10] Operation: 30-20=10
Exploring Operation: 30-25=5, Resulting Numbers: [20, 5]
Generated Node #0,0,3: 52:[20, 5] Operation: 30-25=5
Moving to Node #0,1
Current State: 52:[30, 65, 2], Operations: ['40/20=2']
Exploring Operation: 30-2=28, Resulting Numbers: [65, 28]
Generated Node #0,1,0: 52:[65, 28] Operation: 30-2=28
Exploring Operation: 65-30=35, Resulting Numbers: [2, 35]
Generated Node #0,1,1: 52:[2, 35] Operation: 65-30=35
Exploring Operation: 30/2=15, Resulting Numbers: [65, 15]
Generated Node #0,1,2: 52:[65, 15] Operation: 30/2=15
Exploring Operation: 65-2=63, Resulting Numbers: [30, 63]
Generated Node #0,1,3: 52:[30, 63] Operation: 65-2=63
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[2, 35], Operations: ['40/20=2', '65-30=35']
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[65, 28], Operations: ['40/20=2', '30-2=28']
Exploring Operation: 65+28=93, Resulting Numbers: [93]
93,52 unequal: No Solution
Exploring Operation: 65*28=1820, Resulting Numbers: [1820]
1820,52 unequal: No Solution
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 52:[65, 15], Operations: ['40/20=2', '30/2=15']
Exploring Operation: 65*15=975, Resulting Numbers: [975]
975,52 unequal: No Solution
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,52 unequal: No Solution
Exploring Operation: 65+15=80, Resulting Numbers: [80]
80,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 52:[30, 63], Operations: ['40/20=2', '65-2=63']
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 30*63=1890, Resulting Numbers: [1890]
1890,52 unequal: No Solution
Exploring Operation: 30+63=93, Resulting Numbers: [93]
93,52 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: 52:[20, 65, 10], Operations: ['40-30=10']
Exploring Operation: 65-10=55, Resulting Numbers: [20, 55]
Generated Node #0,2,0: 52:[20, 55] Operation: 65-10=55
Exploring Operation: 20-10=10, Resulting Numbers: [65, 10]
Generated Node #0,2,1: 52:[65, 10] Operation: 20-10=10
Exploring Operation: 65-20=45, Resulting Numbers: [10, 45]
Generated Node #0,2,2: 52:[10, 45] Operation: 65-20=45
Exploring Operation: 20/10=2, Resulting Numbers: [65, 2]
Generated Node #0,2,3: 52:[65, 2] Operation: 20/10=2
Moving to Node #0,3
Current State: 52:[30, 65, 20], Operations: ['40-20=20']
Exploring Operation: 30+20=50, Resulting Numbers: [65, 50]
Generated Node #0,3,0: 52:[65, 50] Operation: 30+20=50
Exploring Operation: 30-20=10, Resulting Numbers: [65, 10]
Generated Node #0,3,1: 52:[65, 10] Operation: 30-20=10
Exploring Operation: 65-30=35, Resulting Numbers: [20, 35]
Generated Node #0,3,2: 52:[20, 35] Operation: 65-30=35
Exploring Operation: 65-20=45, Resulting Numbers: [30, 45]
Generated Node #0,3,3: 52:[30, 45] Operation: 65-20=45
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 52:[30, 45], Operations: ['40-20=20', '65-20=45']
Exploring Operation: 30+45=75, Resulting Numbers: [75]
75,52 unequal: No Solution
Exploring Operation: 30*45=1350, Resulting Numbers: [1350]
1350,52 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 52:[65, 50], Operations: ['40-20=20', '30+20=50']
Exploring Operation: 65*50=3250, Resulting Numbers: [3250]
3250,52 unequal: No Solution
Exploring Operation: 65+50=115, Resulting Numbers: [115]
115,52 unequal: No Solution
Exploring Operation: 65-50=15, Resulting Numbers: [15]
15,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 52:[20, 35], Operations: ['40-20=20', '65-30=35']
Exploring Operation: 20+35=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 20*35=700, Resulting Numbers: [700]
700,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 52:[65, 10], Operations: ['40-20=20', '30-20=10']
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,52 unequal: No Solution
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,52 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: 52:[25, 50], Operations: ['65-40=25', '20+30=50']
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 25+50=75, Resulting Numbers: [75]
75,52 unequal: No Solution
Exploring Operation: 25*50=1250, Resulting Numbers: [1250]
1250,52 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[25, 10], Operations: ['65-40=25', '30-20=10']
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 25*10=250, Resulting Numbers: [250]
250,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[30, 5], Operations: ['65-40=25', '25-20=5']
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 30*5=150, Resulting Numbers: [150]
150,52 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Moving to Node #0,0,3
Current State: 52:[20, 5], Operations: ['65-40=25', '30-25=5']
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,52 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[20, 55], Operations: ['40-30=10', '65-10=55']
Exploring Operation: 20+55=75, Resulting Numbers: [75]
75,52 unequal: No Solution
Exploring Operation: 55-20=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Exploring Operation: 20*55=1100, Resulting Numbers: [1100]
1100,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[10, 45], Operations: ['40-30=10', '65-20=45']
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,52 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Moving to Node #0,2,3
Current State: 52:[65, 2], Operations: ['40-30=10', '20/10=2']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,52 unequal: No Solution
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 65*2=130, Resulting Numbers: [130]
130,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[65, 10], Operations: ['40-30=10', '20-10=10']
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,52 unequal: No Solution
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,52 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
85,
30,
70,
62
] | 12 | [
"85+70=155",
"30*62=1860",
"1860/155=12"
] | Current State: 12:[85, 30, 70, 62], Operations: []
Exploring Operation: 85+70=155, Resulting Numbers: [30, 62, 155]
Generated Node #2: [30, 62, 155] from Operation: 85+70=155
Current State: 12:[30, 62, 155], Operations: ['85+70=155']
Exploring Operation: 30*62=1860, Resulting Numbers: [155, 1860]
Generated Node #3: [155, 1860] from Operation: 30*62=1860
Current State: 12:[155, 1860], Operations: ['85+70=155', '30*62=1860']
Exploring Operation: 1860/155=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[85, 30, 70, 62], Operations: []
Exploring Operation: 85-70=15, Resulting Numbers: [30, 62, 15]
Generated Node #0,0: 12:[30, 62, 15] Operation: 85-70=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[30, 62, 15], Operations: ['85-70=15']
Exploring Operation: 62-30=32, Resulting Numbers: [15, 32]
Generated Node #0,0,0: 12:[15, 32] Operation: 62-30=32
Moving to Node #0,0,0
Current State: 12:[15, 32], Operations: ['85-70=15', '62-30=32']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,12 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 |
[
36,
98,
60,
64
] | 58 | [
"98-36=62",
"64-60=4",
"62-4=58"
] | Current State: 58:[36, 98, 60, 64], Operations: []
Exploring Operation: 98-36=62, Resulting Numbers: [60, 64, 62]
Generated Node #2: [60, 64, 62] from Operation: 98-36=62
Current State: 58:[60, 64, 62], Operations: ['98-36=62']
Exploring Operation: 64-60=4, Resulting Numbers: [62, 4]
Generated Node #3: [62, 4] from Operation: 64-60=4
Current State: 58:[62, 4], Operations: ['98-36=62', '64-60=4']
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[36, 98, 60, 64], Operations: []
Exploring Operation: 98-60=38, Resulting Numbers: [36, 64, 38]
Generated Node #0,0: 58:[36, 64, 38] Operation: 98-60=38
Exploring Operation: 98-36=62, Resulting Numbers: [60, 64, 62]
Generated Node #0,1: 58:[60, 64, 62] Operation: 98-36=62
Exploring Operation: 98-64=34, Resulting Numbers: [36, 60, 34]
Generated Node #0,2: 58:[36, 60, 34] Operation: 98-64=34
Moving to Node #0,1
Current State: 58:[60, 64, 62], Operations: ['98-36=62']
Exploring Operation: 64-62=2, Resulting Numbers: [60, 2]
Generated Node #0,1,0: 58:[60, 2] Operation: 64-62=2
Exploring Operation: 62-60=2, Resulting Numbers: [64, 2]
Generated Node #0,1,1: 58:[64, 2] Operation: 62-60=2
Exploring Operation: 64-60=4, Resulting Numbers: [62, 4]
Generated Node #0,1,2: 58:[62, 4] Operation: 64-60=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[60, 2], Operations: ['98-36=62', '64-62=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[36, 98, 60, 64], Operations: []
Exploring Operation: 98-36=62, Resulting Numbers: [60, 64, 62]
Generated Node #0,1: 58:[60, 64, 62] Operation: 98-36=62
Moving to Node #0,1
Current State: 58:[60, 64, 62], Operations: ['98-36=62']
Exploring Operation: 64-62=2, Resulting Numbers: [60, 2]
Generated Node #0,1,0: 58:[60, 2] Operation: 64-62=2
Moving to Node #0,1,0
Current State: 58:[60, 2], Operations: ['98-36=62', '64-62=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
2,
16,
46,
35
] | 73 | [
"16/2=8",
"46+35=81",
"81-8=73"
] | Current State: 73:[2, 16, 46, 35], Operations: []
Exploring Operation: 16/2=8, Resulting Numbers: [46, 35, 8]
Generated Node #2: [46, 35, 8] from Operation: 16/2=8
Current State: 73:[46, 35, 8], Operations: ['16/2=8']
Exploring Operation: 46+35=81, Resulting Numbers: [8, 81]
Generated Node #3: [8, 81] from Operation: 46+35=81
Current State: 73:[8, 81], Operations: ['16/2=8', '46+35=81']
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[2, 16, 46, 35], Operations: []
Exploring Operation: 2*35=70, Resulting Numbers: [16, 46, 70]
Generated Node #0,0: 73:[16, 46, 70] Operation: 2*35=70
Exploring Operation: 2*16=32, Resulting Numbers: [46, 35, 32]
Generated Node #0,1: 73:[46, 35, 32] Operation: 2*16=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[16, 46, 70], Operations: ['2*35=70']
Exploring Operation: 16+46=62, Resulting Numbers: [70, 62]
Generated Node #0,0,0: 73:[70, 62] Operation: 16+46=62
Exploring Operation: 16+70=86, Resulting Numbers: [46, 86]
Generated Node #0,0,1: 73:[46, 86] Operation: 16+70=86
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[70, 62], Operations: ['2*35=70', '16+46=62']
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,73 unequal: No Solution
Exploring Operation: 70+62=132, Resulting Numbers: [132]
132,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,0,1
Current State: 73:[46, 86], Operations: ['2*35=70', '16+70=86']
Exploring Operation: 86-46=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 46+86=132, Resulting Numbers: [132]
132,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:[46, 35, 32], Operations: ['2*16=32']
Exploring Operation: 46+32=78, Resulting Numbers: [35, 78]
Generated Node #0,1,0: 73:[35, 78] Operation: 46+32=78
Exploring Operation: 35+32=67, Resulting Numbers: [46, 67]
Generated Node #0,1,1: 73:[46, 67] Operation: 35+32=67
Moving to Node #0,1,1
Current State: 73:[46, 67], Operations: ['2*16=32', '35+32=67']
Exploring Operation: 46+67=113, Resulting Numbers: [113]
113,73 unequal: No Solution
Exploring Operation: 67-46=21, Resulting Numbers: [21]
21,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[35, 78], Operations: ['2*16=32', '46+32=78']
Exploring Operation: 78-35=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 35+78=113, Resulting Numbers: [113]
113,73 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 |
[
20,
54,
39,
15
] | 58 | [
"54-20=34",
"39-15=24",
"34+24=58"
] | Current State: 58:[20, 54, 39, 15], Operations: []
Exploring Operation: 54-20=34, Resulting Numbers: [39, 15, 34]
Generated Node #2: [39, 15, 34] from Operation: 54-20=34
Current State: 58:[39, 15, 34], Operations: ['54-20=34']
Exploring Operation: 39-15=24, Resulting Numbers: [34, 24]
Generated Node #3: [34, 24] from Operation: 39-15=24
Current State: 58:[34, 24], Operations: ['54-20=34', '39-15=24']
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[20, 54, 39, 15], Operations: []
Exploring Operation: 39+15=54, Resulting Numbers: [20, 54, 54]
Generated Node #0,0: 58:[20, 54, 54] Operation: 39+15=54
Exploring Operation: 20-15=5, Resulting Numbers: [54, 39, 5]
Generated Node #0,1: 58:[54, 39, 5] Operation: 20-15=5
Exploring Operation: 39-15=24, Resulting Numbers: [20, 54, 24]
Generated Node #0,2: 58:[20, 54, 24] Operation: 39-15=24
Exploring Operation: 20+39=59, Resulting Numbers: [54, 15, 59]
Generated Node #0,3: 58:[54, 15, 59] Operation: 20+39=59
Moving to Node #0,0
Current State: 58:[20, 54, 54], Operations: ['39+15=54']
Exploring Operation: 54-20=34, Resulting Numbers: [54, 34]
Generated Node #0,0,0: 58:[54, 34] Operation: 54-20=34
Exploring Operation: 54/54=1, Resulting Numbers: [20, 1]
Generated Node #0,0,1: 58:[20, 1] Operation: 54/54=1
Exploring Operation: 54-54=0, Resulting Numbers: [20, 0]
Generated Node #0,0,2: 58:[20, 0] Operation: 54-54=0
Exploring Operation: 54-20=34, Resulting Numbers: [54, 34]
Generated Node #0,0,3: 58:[54, 34] Operation: 54-20=34
Moving to Node #0,1
Current State: 58:[54, 39, 5], Operations: ['20-15=5']
Exploring Operation: 54+5=59, Resulting Numbers: [39, 59]
Generated Node #0,1,0: 58:[39, 59] Operation: 54+5=59
Exploring Operation: 39-5=34, Resulting Numbers: [54, 34]
Generated Node #0,1,1: 58:[54, 34] Operation: 39-5=34
Exploring Operation: 54-39=15, Resulting Numbers: [5, 15]
Generated Node #0,1,2: 58:[5, 15] Operation: 54-39=15
Exploring Operation: 39+5=44, Resulting Numbers: [54, 44]
Generated Node #0,1,3: 58:[54, 44] Operation: 39+5=44
Moving to Node #0,3
Current State: 58:[54, 15, 59], Operations: ['20+39=59']
Exploring Operation: 54-15=39, Resulting Numbers: [59, 39]
Generated Node #0,3,0: 58:[59, 39] Operation: 54-15=39
Exploring Operation: 54+15=69, Resulting Numbers: [59, 69]
Generated Node #0,3,1: 58:[59, 69] Operation: 54+15=69
Exploring Operation: 59-54=5, Resulting Numbers: [15, 5]
Generated Node #0,3,2: 58:[15, 5] Operation: 59-54=5
Exploring Operation: 59-15=44, Resulting Numbers: [54, 44]
Generated Node #0,3,3: 58:[54, 44] Operation: 59-15=44
Moving to Node #0,2
Current State: 58:[20, 54, 24], Operations: ['39-15=24']
Exploring Operation: 24-20=4, Resulting Numbers: [54, 4]
Generated Node #0,2,0: 58:[54, 4] Operation: 24-20=4
Exploring Operation: 54-24=30, Resulting Numbers: [20, 30]
Generated Node #0,2,1: 58:[20, 30] Operation: 54-24=30
Exploring Operation: 20+24=44, Resulting Numbers: [54, 44]
Generated Node #0,2,2: 58:[54, 44] Operation: 20+24=44
Exploring Operation: 54-20=34, Resulting Numbers: [24, 34]
Generated Node #0,2,3: 58:[24, 34] Operation: 54-20=34
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 58:[54, 4], Operations: ['39-15=24', '24-20=4']
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,58 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,58 unequal: No Solution
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[20, 54, 39, 15], Operations: []
Exploring Operation: 39-15=24, Resulting Numbers: [20, 54, 24]
Generated Node #0,2: 58:[20, 54, 24] Operation: 39-15=24
Moving to Node #0,2
Current State: 58:[20, 54, 24], Operations: ['39-15=24']
Exploring Operation: 24-20=4, Resulting Numbers: [54, 4]
Generated Node #0,2,0: 58:[54, 4] Operation: 24-20=4
Moving to Node #0,2,0
Current State: 58:[54, 4], Operations: ['39-15=24', '24-20=4']
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_4 | sum_heuristic |
[
4,
47,
28,
23
] | 17 | [
"28/4=7",
"47-23=24",
"24-7=17"
] | Current State: 17:[4, 47, 28, 23], Operations: []
Exploring Operation: 28/4=7, Resulting Numbers: [47, 23, 7]
Generated Node #2: [47, 23, 7] from Operation: 28/4=7
Current State: 17:[47, 23, 7], Operations: ['28/4=7']
Exploring Operation: 47-23=24, Resulting Numbers: [7, 24]
Generated Node #3: [7, 24] from Operation: 47-23=24
Current State: 17:[7, 24], Operations: ['28/4=7', '47-23=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[4, 47, 28, 23], Operations: []
Exploring Operation: 47-4=43, Resulting Numbers: [28, 23, 43]
Generated Node #0,0: 17:[28, 23, 43] Operation: 47-4=43
Exploring Operation: 47-28=19, Resulting Numbers: [4, 23, 19]
Generated Node #0,1: 17:[4, 23, 19] Operation: 47-28=19
Exploring Operation: 47-23=24, Resulting Numbers: [4, 28, 24]
Generated Node #0,2: 17:[4, 28, 24] Operation: 47-23=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[4, 23, 19], Operations: ['47-28=19']
Exploring Operation: 19-4=15, Resulting Numbers: [23, 15]
Generated Node #0,1,0: 17:[23, 15] Operation: 19-4=15
Exploring Operation: 4+23=27, Resulting Numbers: [19, 27]
Generated Node #0,1,1: 17:[19, 27] Operation: 4+23=27
Exploring Operation: 23-4=19, Resulting Numbers: [19, 19]
Generated Node #0,1,2: 17:[19, 19] Operation: 23-4=19
Moving to Node #0,1,2
Current State: 17:[19, 19], Operations: ['47-28=19', '23-4=19']
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,17 unequal: No Solution
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[23, 15], Operations: ['47-28=19', '19-4=15']
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,17 unequal: No Solution
Exploring Operation: 23*15=345, Resulting Numbers: [345]
345,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[19, 27], Operations: ['47-28=19', '4+23=27']
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,17 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 19*27=513, Resulting Numbers: [513]
513,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[4, 28, 24], Operations: ['47-23=24']
Exploring Operation: 24-4=20, Resulting Numbers: [28, 20]
Generated Node #0,2,0: 17:[28, 20] Operation: 24-4=20
Exploring Operation: 28/4=7, Resulting Numbers: [24, 7]
Generated Node #0,2,1: 17:[24, 7] Operation: 28/4=7
Exploring Operation: 28-4=24, Resulting Numbers: [24, 24]
Generated Node #0,2,2: 17:[24, 24] Operation: 28-4=24
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 17:[28, 20], Operations: ['47-23=24', '24-4=20']
Exploring Operation: 28*20=560, Resulting Numbers: [560]
560,17 unequal: No Solution
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 17:[24, 24], Operations: ['47-23=24', '28-4=24']
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 17:[24, 7], Operations: ['47-23=24', '28/4=7']
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,17 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[4, 47, 28, 23], Operations: []
Exploring Operation: 47-23=24, Resulting Numbers: [4, 28, 24]
Generated Node #0,2: 17:[4, 28, 24] Operation: 47-23=24
Moving to Node #0,2
Current State: 17:[4, 28, 24], Operations: ['47-23=24']
Exploring Operation: 28/4=7, Resulting Numbers: [24, 7]
Generated Node #0,2,1: 17:[24, 7] Operation: 28/4=7
Moving to Node #0,2,1
Current State: 17:[24, 7], Operations: ['47-23=24', '28/4=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_3 | mult_heuristic |
[
6,
18,
84,
67
] | 84 | [
"18+84=102",
"102/6=17",
"67+17=84"
] | Current State: 84:[6, 18, 84, 67], Operations: []
Exploring Operation: 18+84=102, Resulting Numbers: [6, 67, 102]
Generated Node #2: [6, 67, 102] from Operation: 18+84=102
Current State: 84:[6, 67, 102], Operations: ['18+84=102']
Exploring Operation: 102/6=17, Resulting Numbers: [67, 17]
Generated Node #3: [67, 17] from Operation: 102/6=17
Current State: 84:[67, 17], Operations: ['18+84=102', '102/6=17']
Exploring Operation: 67+17=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[6, 18, 84, 67], Operations: []
Exploring Operation: 6+67=73, Resulting Numbers: [18, 84, 73]
Generated Node #0,0: 84:[18, 84, 73] Operation: 6+67=73
Exploring Operation: 18+67=85, Resulting Numbers: [6, 84, 85]
Generated Node #0,1: 84:[6, 84, 85] Operation: 18+67=85
Exploring Operation: 84-67=17, Resulting Numbers: [6, 18, 17]
Generated Node #0,2: 84:[6, 18, 17] Operation: 84-67=17
Exploring Operation: 18-6=12, Resulting Numbers: [84, 67, 12]
Generated Node #0,3: 84:[84, 67, 12] Operation: 18-6=12
Exploring Operation: 67-18=49, Resulting Numbers: [6, 84, 49]
Generated Node #0,4: 84:[6, 84, 49] Operation: 67-18=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[6, 84, 85], Operations: ['18+67=85']
Exploring Operation: 84-6=78, Resulting Numbers: [85, 78]
Generated Node #0,1,0: 84:[85, 78] Operation: 84-6=78
Exploring Operation: 6+84=90, Resulting Numbers: [85, 90]
Generated Node #0,1,1: 84:[85, 90] Operation: 6+84=90
Exploring Operation: 85-84=1, Resulting Numbers: [6, 1]
Generated Node #0,1,2: 84:[6, 1] Operation: 85-84=1
Exploring Operation: 84/6=14, Resulting Numbers: [85, 14]
Generated Node #0,1,3: 84:[85, 14] Operation: 84/6=14
Exploring Operation: 85-6=79, Resulting Numbers: [84, 79]
Generated Node #0,1,4: 84:[84, 79] Operation: 85-6=79
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 84:[6, 1], Operations: ['18+67=85', '85-84=1']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 84:[85, 14], Operations: ['18+67=85', '84/6=14']
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,84 unequal: No Solution
Exploring Operation: 85*14=1190, Resulting Numbers: [1190]
1190,84 unequal: No Solution
Exploring Operation: 85+14=99, Resulting Numbers: [99]
99,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 84:[84, 79], Operations: ['18+67=85', '85-6=79']
Exploring Operation: 84-79=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 84+79=163, Resulting Numbers: [163]
163,84 unequal: No Solution
Exploring Operation: 84*79=6636, Resulting Numbers: [6636]
6636,84 unequal: No Solution
No 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: 84:[85, 78], Operations: ['18+67=85', '84-6=78']
Exploring Operation: 85+78=163, Resulting Numbers: [163]
163,84 unequal: No Solution
Exploring Operation: 85*78=6630, Resulting Numbers: [6630]
6630,84 unequal: No Solution
Exploring Operation: 85-78=7, Resulting Numbers: [7]
7,84 unequal: No Solution
No 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: 84:[85, 90], Operations: ['18+67=85', '6+84=90']
Exploring Operation: 85*90=7650, Resulting Numbers: [7650]
7650,84 unequal: No Solution
Exploring Operation: 90-85=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 85+90=175, Resulting Numbers: [175]
175,84 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: 84:[6, 18, 17], Operations: ['84-67=17']
Exploring Operation: 17-6=11, Resulting Numbers: [18, 11]
Generated Node #0,2,0: 84:[18, 11] Operation: 17-6=11
Exploring Operation: 18-17=1, Resulting Numbers: [6, 1]
Generated Node #0,2,1: 84:[6, 1] Operation: 18-17=1
Exploring Operation: 18-6=12, Resulting Numbers: [17, 12]
Generated Node #0,2,2: 84:[17, 12] Operation: 18-6=12
Exploring Operation: 18/6=3, Resulting Numbers: [17, 3]
Generated Node #0,2,3: 84:[17, 3] Operation: 18/6=3
Exploring Operation: 6+17=23, Resulting Numbers: [18, 23]
Generated Node #0,2,4: 84:[18, 23] Operation: 6+17=23
Moving to Node #0,2,1
Current State: 84:[6, 1], Operations: ['84-67=17', '18-17=1']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Moving to Node #0,2,3
Current State: 84:[17, 3], Operations: ['84-67=17', '18/6=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,84 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[17, 12], Operations: ['84-67=17', '18-6=12']
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,84 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[18, 11], Operations: ['84-67=17', '17-6=11']
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,84 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Moving to Node #0,2,4
Current State: 84:[18, 23], Operations: ['84-67=17', '6+17=23']
Exploring Operation: 18*23=414, Resulting Numbers: [414]
414,84 unequal: No Solution
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,84 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 84:[6, 84, 49], Operations: ['67-18=49']
Exploring Operation: 84-49=35, Resulting Numbers: [6, 35]
Generated Node #0,4,0: 84:[6, 35] Operation: 84-49=35
Exploring Operation: 49-6=43, Resulting Numbers: [84, 43]
Generated Node #0,4,1: 84:[84, 43] Operation: 49-6=43
Exploring Operation: 6+84=90, Resulting Numbers: [49, 90]
Generated Node #0,4,2: 84:[49, 90] Operation: 6+84=90
Exploring Operation: 84/6=14, Resulting Numbers: [49, 14]
Generated Node #0,4,3: 84:[49, 14] Operation: 84/6=14
Exploring Operation: 84-6=78, Resulting Numbers: [49, 78]
Generated Node #0,4,4: 84:[49, 78] Operation: 84-6=78
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 84:[84, 43], Operations: ['67-18=49', '49-6=43']
Exploring Operation: 84+43=127, Resulting Numbers: [127]
127,84 unequal: No Solution
Exploring Operation: 84*43=3612, Resulting Numbers: [3612]
3612,84 unequal: No Solution
Exploring Operation: 84-43=41, Resulting Numbers: [41]
41,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 84:[6, 35], Operations: ['67-18=49', '84-49=35']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,84 unequal: No Solution
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 84:[49, 14], Operations: ['67-18=49', '84/6=14']
Exploring Operation: 49+14=63, Resulting Numbers: [63]
63,84 unequal: No Solution
Exploring Operation: 49*14=686, Resulting Numbers: [686]
686,84 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 84:[49, 90], Operations: ['67-18=49', '6+84=90']
Exploring Operation: 49+90=139, Resulting Numbers: [139]
139,84 unequal: No Solution
Exploring Operation: 49*90=4410, Resulting Numbers: [4410]
4410,84 unequal: No Solution
Exploring Operation: 90-49=41, Resulting Numbers: [41]
41,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 84:[49, 78], Operations: ['67-18=49', '84-6=78']
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 49*78=3822, Resulting Numbers: [3822]
3822,84 unequal: No Solution
Exploring Operation: 49+78=127, Resulting Numbers: [127]
127,84 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: 84:[18, 84, 73], Operations: ['6+67=73']
Exploring Operation: 73-18=55, Resulting Numbers: [84, 55]
Generated Node #0,0,0: 84:[84, 55] Operation: 73-18=55
Exploring Operation: 18+84=102, Resulting Numbers: [73, 102]
Generated Node #0,0,1: 84:[73, 102] Operation: 18+84=102
Exploring Operation: 84-73=11, Resulting Numbers: [18, 11]
Generated Node #0,0,2: 84:[18, 11] Operation: 84-73=11
Exploring Operation: 84-18=66, Resulting Numbers: [73, 66]
Generated Node #0,0,3: 84:[73, 66] Operation: 84-18=66
Exploring Operation: 18+73=91, Resulting Numbers: [84, 91]
Generated Node #0,0,4: 84:[84, 91] Operation: 18+73=91
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 84:[18, 11], Operations: ['6+67=73', '84-73=11']
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,84 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 84:[84, 91], Operations: ['6+67=73', '18+73=91']
Exploring Operation: 84+91=175, Resulting Numbers: [175]
175,84 unequal: No Solution
Exploring Operation: 91-84=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 84*91=7644, Resulting Numbers: [7644]
7644,84 unequal: No Solution
No 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: 84:[84, 55], Operations: ['6+67=73', '73-18=55']
Exploring Operation: 84*55=4620, Resulting Numbers: [4620]
4620,84 unequal: No Solution
Exploring Operation: 84+55=139, Resulting Numbers: [139]
139,84 unequal: No Solution
Exploring Operation: 84-55=29, Resulting Numbers: [29]
29,84 unequal: No Solution
No 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: 84:[73, 102], Operations: ['6+67=73', '18+84=102']
Exploring Operation: 73+102=175, Resulting Numbers: [175]
175,84 unequal: No Solution
Exploring Operation: 102-73=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 73*102=7446, Resulting Numbers: [7446]
7446,84 unequal: No Solution
No 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: 84:[73, 66], Operations: ['6+67=73', '84-18=66']
Exploring Operation: 73+66=139, Resulting Numbers: [139]
139,84 unequal: No Solution
Exploring Operation: 73*66=4818, Resulting Numbers: [4818]
4818,84 unequal: No Solution
Exploring Operation: 73-66=7, Resulting Numbers: [7]
7,84 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: 84:[84, 67, 12], Operations: ['18-6=12']
Exploring Operation: 84/12=7, Resulting Numbers: [67, 7]
Generated Node #0,3,0: 84:[67, 7] Operation: 84/12=7
Exploring Operation: 67-12=55, Resulting Numbers: [84, 55]
Generated Node #0,3,1: 84:[84, 55] Operation: 67-12=55
Exploring Operation: 84-67=17, Resulting Numbers: [12, 17]
Generated Node #0,3,2: 84:[12, 17] Operation: 84-67=17
Exploring Operation: 84+12=96, Resulting Numbers: [67, 96]
Generated Node #0,3,3: 84:[67, 96] Operation: 84+12=96
Exploring Operation: 67+12=79, Resulting Numbers: [84, 79]
Generated Node #0,3,4: 84:[84, 79] Operation: 67+12=79
Moving to Node #0,3,2
Current State: 84:[12, 17], Operations: ['18-6=12', '84-67=17']
Exploring Operation: 12*17=204, Resulting Numbers: [204]
204,84 unequal: No Solution
Exploring Operation: 12+17=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Moving to Node #0,3,4
Current State: 84:[84, 79], Operations: ['18-6=12', '67+12=79']
Exploring Operation: 84-79=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 84*79=6636, Resulting Numbers: [6636]
6636,84 unequal: No Solution
Exploring Operation: 84+79=163, Resulting Numbers: [163]
163,84 unequal: No Solution
Moving to Node #0,3,1
Current State: 84:[84, 55], Operations: ['18-6=12', '67-12=55']
Exploring Operation: 84*55=4620, Resulting Numbers: [4620]
4620,84 unequal: No Solution
Exploring Operation: 84-55=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 84+55=139, Resulting Numbers: [139]
139,84 unequal: No Solution
Moving to Node #0,3,0
Current State: 84:[67, 7], Operations: ['18-6=12', '84/12=7']
Exploring Operation: 67*7=469, Resulting Numbers: [469]
469,84 unequal: No Solution
Exploring Operation: 67+7=74, Resulting Numbers: [74]
74,84 unequal: No Solution
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,84 unequal: No Solution
Moving to Node #0,3,3
Current State: 84:[67, 96], Operations: ['18-6=12', '84+12=96']
Exploring Operation: 67+96=163, Resulting Numbers: [163]
163,84 unequal: No Solution
Exploring Operation: 96-67=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 67*96=6432, Resulting Numbers: [6432]
6432,84 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 |
[
5,
8,
28,
10
] | 86 | [
"5*10=50",
"8+28=36",
"50+36=86"
] | Current State: 86:[5, 8, 28, 10], Operations: []
Exploring Operation: 5*10=50, Resulting Numbers: [8, 28, 50]
Generated Node #2: [8, 28, 50] from Operation: 5*10=50
Current State: 86:[8, 28, 50], Operations: ['5*10=50']
Exploring Operation: 8+28=36, Resulting Numbers: [50, 36]
Generated Node #3: [50, 36] from Operation: 8+28=36
Current State: 86:[50, 36], Operations: ['5*10=50', '8+28=36']
Exploring Operation: 50+36=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[5, 8, 28, 10], Operations: []
Exploring Operation: 28+10=38, Resulting Numbers: [5, 8, 38]
Generated Node #0,0: 86:[5, 8, 38] Operation: 28+10=38
Exploring Operation: 10/5=2, Resulting Numbers: [8, 28, 2]
Generated Node #0,1: 86:[8, 28, 2] Operation: 10/5=2
Exploring Operation: 8-5=3, Resulting Numbers: [28, 10, 3]
Generated Node #0,2: 86:[28, 10, 3] Operation: 8-5=3
Exploring Operation: 8+28=36, Resulting Numbers: [5, 10, 36]
Generated Node #0,3: 86:[5, 10, 36] Operation: 8+28=36
Exploring Operation: 10-8=2, Resulting Numbers: [5, 28, 2]
Generated Node #0,4: 86:[5, 28, 2] Operation: 10-8=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[5, 8, 38], Operations: ['28+10=38']
Exploring Operation: 8+38=46, Resulting Numbers: [5, 46]
Generated Node #0,0,0: 86:[5, 46] Operation: 8+38=46
Exploring Operation: 8-5=3, Resulting Numbers: [38, 3]
Generated Node #0,0,1: 86:[38, 3] Operation: 8-5=3
Exploring Operation: 5+38=43, Resulting Numbers: [8, 43]
Generated Node #0,0,2: 86:[8, 43] Operation: 5+38=43
Exploring Operation: 5+8=13, Resulting Numbers: [38, 13]
Generated Node #0,0,3: 86:[38, 13] Operation: 5+8=13
Exploring Operation: 5*8=40, Resulting Numbers: [38, 40]
Generated Node #0,0,4: 86:[38, 40] Operation: 5*8=40
Moving to Node #0,0,0
Current State: 86:[5, 46], Operations: ['28+10=38', '8+38=46']
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,86 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,86 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[8, 43], Operations: ['28+10=38', '5+38=43']
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Exploring Operation: 8*43=344, Resulting Numbers: [344]
344,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[38, 3], Operations: ['28+10=38', '8-5=3']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Exploring Operation: 38*3=114, Resulting Numbers: [114]
114,86 unequal: No Solution
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,86 unequal: No Solution
Moving to Node #0,0,4
Current State: 86:[38, 40], Operations: ['28+10=38', '5*8=40']
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,86 unequal: No Solution
Exploring Operation: 40-38=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 38*40=1520, Resulting Numbers: [1520]
1520,86 unequal: No Solution
Moving to Node #0,0,3
Current State: 86:[38, 13], Operations: ['28+10=38', '5+8=13']
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 38*13=494, Resulting Numbers: [494]
494,86 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[5, 10, 36], Operations: ['8+28=36']
Exploring Operation: 5*10=50, Resulting Numbers: [36, 50]
Generated Node #0,3,0: 86:[36, 50] Operation: 5*10=50
Exploring Operation: 5+36=41, Resulting Numbers: [10, 41]
Generated Node #0,3,1: 86:[10, 41] Operation: 5+36=41
Exploring Operation: 10+36=46, Resulting Numbers: [5, 46]
Generated Node #0,3,2: 86:[5, 46] Operation: 10+36=46
Exploring Operation: 10/5=2, Resulting Numbers: [36, 2]
Generated Node #0,3,3: 86:[36, 2] Operation: 10/5=2
Exploring Operation: 10-5=5, Resulting Numbers: [36, 5]
Generated Node #0,3,4: 86:[36, 5] Operation: 10-5=5
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 86:[5, 46], Operations: ['8+28=36', '10+36=46']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,86 unequal: No Solution
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,86 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,86 unequal: No Solution
No 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: 86:[36, 2], Operations: ['8+28=36', '10/5=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,86 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,86 unequal: No Solution
No 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: 86:[10, 41], Operations: ['8+28=36', '5+36=41']
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Exploring Operation: 10*41=410, Resulting Numbers: [410]
410,86 unequal: No Solution
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 86:[36, 5], Operations: ['8+28=36', '10-5=5']
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,86 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 86:[36, 50], Operations: ['8+28=36', '5*10=50']
Exploring Operation: 36+50=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[5, 8, 28, 10], Operations: []
Exploring Operation: 8+28=36, Resulting Numbers: [5, 10, 36]
Generated Node #0,3: 86:[5, 10, 36] Operation: 8+28=36
Moving to Node #0,3
Current State: 86:[5, 10, 36], Operations: ['8+28=36']
Exploring Operation: 5*10=50, Resulting Numbers: [36, 50]
Generated Node #0,3,0: 86:[36, 50] Operation: 5*10=50
Moving to Node #0,3,0
Current State: 86:[36, 50], Operations: ['8+28=36', '5*10=50']
Exploring Operation: 36+50=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.958333 | hs_5 | mult_heuristic |
[
5,
59,
62,
77
] | 39 | [
"59-5=54",
"77-62=15",
"54-15=39"
] | Current State: 39:[5, 59, 62, 77], Operations: []
Exploring Operation: 59-5=54, Resulting Numbers: [62, 77, 54]
Generated Node #2: [62, 77, 54] from Operation: 59-5=54
Current State: 39:[62, 77, 54], Operations: ['59-5=54']
Exploring Operation: 77-62=15, Resulting Numbers: [54, 15]
Generated Node #3: [54, 15] from Operation: 77-62=15
Current State: 39:[54, 15], Operations: ['59-5=54', '77-62=15']
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[5, 59, 62, 77], Operations: []
Exploring Operation: 62-59=3, Resulting Numbers: [5, 77, 3]
Generated Node #0,0: 39:[5, 77, 3] Operation: 62-59=3
Exploring Operation: 77-59=18, Resulting Numbers: [5, 62, 18]
Generated Node #0,1: 39:[5, 62, 18] Operation: 77-59=18
Exploring Operation: 77-62=15, Resulting Numbers: [5, 59, 15]
Generated Node #0,2: 39:[5, 59, 15] Operation: 77-62=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[5, 59, 15], Operations: ['77-62=15']
Exploring Operation: 15/5=3, Resulting Numbers: [59, 3]
Generated Node #0,2,0: 39:[59, 3] Operation: 15/5=3
Exploring Operation: 59-5=54, Resulting Numbers: [15, 54]
Generated Node #0,2,1: 39:[15, 54] Operation: 59-5=54
Exploring Operation: 59-15=44, Resulting Numbers: [5, 44]
Generated Node #0,2,2: 39:[5, 44] Operation: 59-15=44
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 39:[5, 44], Operations: ['77-62=15', '59-15=44']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[5, 59, 62, 77], Operations: []
Exploring Operation: 77-62=15, Resulting Numbers: [5, 59, 15]
Generated Node #0,2: 39:[5, 59, 15] Operation: 77-62=15
Moving to Node #0,2
Current State: 39:[5, 59, 15], Operations: ['77-62=15']
Exploring Operation: 59-15=44, Resulting Numbers: [5, 44]
Generated Node #0,2,2: 39:[5, 44] Operation: 59-15=44
Moving to Node #0,2,2
Current State: 39:[5, 44], Operations: ['77-62=15', '59-15=44']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
56,
79,
49,
77
] | 81 | [
"77-49=28",
"56/28=2",
"79+2=81"
] | Current State: 81:[56, 79, 49, 77], Operations: []
Exploring Operation: 77-49=28, Resulting Numbers: [56, 79, 28]
Generated Node #2: [56, 79, 28] from Operation: 77-49=28
Current State: 81:[56, 79, 28], Operations: ['77-49=28']
Exploring Operation: 56/28=2, Resulting Numbers: [79, 2]
Generated Node #3: [79, 2] from Operation: 56/28=2
Current State: 81:[79, 2], Operations: ['77-49=28', '56/28=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[56, 79, 49, 77], Operations: []
Exploring Operation: 77-49=28, Resulting Numbers: [56, 79, 28]
Generated Node #0,0: 81:[56, 79, 28] Operation: 77-49=28
Exploring Operation: 56-49=7, Resulting Numbers: [79, 77, 7]
Generated Node #0,1: 81:[79, 77, 7] Operation: 56-49=7
Moving to Node #0,1
Current State: 81:[79, 77, 7], Operations: ['56-49=7']
Exploring Operation: 79-77=2, Resulting Numbers: [7, 2]
Generated Node #0,1,0: 81:[7, 2] Operation: 79-77=2
Exploring Operation: 77/7=11, Resulting Numbers: [79, 11]
Generated Node #0,1,1: 81:[79, 11] Operation: 77/7=11
Moving to Node #0,0
Current State: 81:[56, 79, 28], Operations: ['77-49=28']
Exploring Operation: 56/28=2, Resulting Numbers: [79, 2]
Generated Node #0,0,0: 81:[79, 2] Operation: 56/28=2
Exploring Operation: 56-28=28, Resulting Numbers: [79, 28]
Generated Node #0,0,1: 81:[79, 28] Operation: 56-28=28
Moving to Node #0,1,0
Current State: 81:[7, 2], Operations: ['56-49=7', '79-77=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[79, 2], Operations: ['77-49=28', '56/28=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,81 unequal: No Solution
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[56, 79, 49, 77], Operations: []
Exploring Operation: 77-49=28, Resulting Numbers: [56, 79, 28]
Generated Node #0,0: 81:[56, 79, 28] Operation: 77-49=28
Moving to Node #0,0
Current State: 81:[56, 79, 28], Operations: ['77-49=28']
Exploring Operation: 56/28=2, Resulting Numbers: [79, 2]
Generated Node #0,0,0: 81:[79, 2] Operation: 56/28=2
Moving to Node #0,0,0
Current State: 81:[79, 2], Operations: ['77-49=28', '56/28=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.987847 | hs_2 | mult_heuristic |
[
30,
58,
71,
88
] | 71 | [
"30+58=88",
"71+88=159",
"159-88=71"
] | Current State: 71:[30, 58, 71, 88], Operations: []
Exploring Operation: 30+58=88, Resulting Numbers: [71, 88, 88]
Generated Node #2: [71, 88, 88] from Operation: 30+58=88
Current State: 71:[71, 88, 88], Operations: ['30+58=88']
Exploring Operation: 71+88=159, Resulting Numbers: [159]
159,71 equal: Goal Reached
Exploring Operation: 159-88=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[30, 58, 71, 88], Operations: []
Exploring Operation: 88-30=58, Resulting Numbers: [58, 71, 58]
Generated Node #0,0: 71:[58, 71, 58] Operation: 88-30=58
Moving to Node #0,0
Current State: 71:[58, 71, 58], Operations: ['88-30=58']
Exploring Operation: 58+58=116, Resulting Numbers: [71, 116]
Generated Node #0,0,0: 71:[71, 116] Operation: 58+58=116
Moving to Node #0,0,0
Current State: 71:[71, 116], Operations: ['88-30=58', '58+58=116']
Exploring Operation: 116-71=45, Resulting Numbers: [45]
45,71 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
33,
21,
55,
25
] | 77 | [
"25-21=4",
"33*4=132",
"132-55=77"
] | Current State: 77:[33, 21, 55, 25], Operations: []
Exploring Operation: 25-21=4, Resulting Numbers: [33, 55, 4]
Generated Node #2: [33, 55, 4] from Operation: 25-21=4
Current State: 77:[33, 55, 4], Operations: ['25-21=4']
Exploring Operation: 33*4=132, Resulting Numbers: [55, 132]
Generated Node #3: [55, 132] from Operation: 33*4=132
Current State: 77:[55, 132], Operations: ['25-21=4', '33*4=132']
Exploring Operation: 132-55=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[33, 21, 55, 25], Operations: []
Exploring Operation: 33-25=8, Resulting Numbers: [21, 55, 8]
Generated Node #0,0: 77:[21, 55, 8] Operation: 33-25=8
Moving to Node #0,0
Current State: 77:[21, 55, 8], Operations: ['33-25=8']
Exploring Operation: 21+55=76, Resulting Numbers: [8, 76]
Generated Node #0,0,0: 77:[8, 76] Operation: 21+55=76
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[8, 76], Operations: ['33-25=8', '21+55=76']
Exploring Operation: 8+76=84, Resulting Numbers: [84]
84,77 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 |
[
10,
51,
58,
30
] | 90 | [
"10+51=61",
"61-58=3",
"30*3=90"
] | Current State: 90:[10, 51, 58, 30], Operations: []
Exploring Operation: 10+51=61, Resulting Numbers: [58, 30, 61]
Generated Node #2: [58, 30, 61] from Operation: 10+51=61
Current State: 90:[58, 30, 61], Operations: ['10+51=61']
Exploring Operation: 61-58=3, Resulting Numbers: [30, 3]
Generated Node #3: [30, 3] from Operation: 61-58=3
Current State: 90:[30, 3], Operations: ['10+51=61', '61-58=3']
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[10, 51, 58, 30], Operations: []
Exploring Operation: 58+30=88, Resulting Numbers: [10, 51, 88]
Generated Node #0,0: 90:[10, 51, 88] Operation: 58+30=88
Exploring Operation: 58-30=28, Resulting Numbers: [10, 51, 28]
Generated Node #0,1: 90:[10, 51, 28] Operation: 58-30=28
Exploring Operation: 58-51=7, Resulting Numbers: [10, 30, 7]
Generated Node #0,2: 90:[10, 30, 7] Operation: 58-51=7
Moving to Node #0,2
Current State: 90:[10, 30, 7], Operations: ['58-51=7']
Exploring Operation: 10-7=3, Resulting Numbers: [30, 3]
Generated Node #0,2,0: 90:[30, 3] Operation: 10-7=3
Exploring Operation: 30/10=3, Resulting Numbers: [7, 3]
Generated Node #0,2,1: 90:[7, 3] Operation: 30/10=3
Exploring Operation: 10+7=17, Resulting Numbers: [30, 17]
Generated Node #0,2,2: 90:[30, 17] Operation: 10+7=17
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[30, 3], Operations: ['58-51=7', '10-7=3']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[10, 51, 58, 30], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [10, 30, 7]
Generated Node #0,2: 90:[10, 30, 7] Operation: 58-51=7
Moving to Node #0,2
Current State: 90:[10, 30, 7], Operations: ['58-51=7']
Exploring Operation: 10-7=3, Resulting Numbers: [30, 3]
Generated Node #0,2,0: 90:[30, 3] Operation: 10-7=3
Moving to Node #0,2,0
Current State: 90:[30, 3], Operations: ['58-51=7', '10-7=3']
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
5,
84,
50,
12
] | 38 | [
"50-5=45",
"84/12=7",
"45-7=38"
] | Current State: 38:[5, 84, 50, 12], Operations: []
Exploring Operation: 50-5=45, Resulting Numbers: [84, 12, 45]
Generated Node #2: [84, 12, 45] from Operation: 50-5=45
Current State: 38:[84, 12, 45], Operations: ['50-5=45']
Exploring Operation: 84/12=7, Resulting Numbers: [45, 7]
Generated Node #3: [45, 7] from Operation: 84/12=7
Current State: 38:[45, 7], Operations: ['50-5=45', '84/12=7']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[5, 84, 50, 12], Operations: []
Exploring Operation: 50-12=38, Resulting Numbers: [5, 84, 38]
Generated Node #0,0: 38:[5, 84, 38] Operation: 50-12=38
Exploring Operation: 84/12=7, Resulting Numbers: [5, 50, 7]
Generated Node #0,1: 38:[5, 50, 7] Operation: 84/12=7
Exploring Operation: 84-12=72, Resulting Numbers: [5, 50, 72]
Generated Node #0,2: 38:[5, 50, 72] Operation: 84-12=72
Exploring Operation: 84-50=34, Resulting Numbers: [5, 12, 34]
Generated Node #0,3: 38:[5, 12, 34] Operation: 84-50=34
Moving to Node #0,3
Current State: 38:[5, 12, 34], Operations: ['84-50=34']
Exploring Operation: 5+12=17, Resulting Numbers: [34, 17]
Generated Node #0,3,0: 38:[34, 17] Operation: 5+12=17
Exploring Operation: 34-12=22, Resulting Numbers: [5, 22]
Generated Node #0,3,1: 38:[5, 22] Operation: 34-12=22
Exploring Operation: 12-5=7, Resulting Numbers: [34, 7]
Generated Node #0,3,2: 38:[34, 7] Operation: 12-5=7
Exploring Operation: 5+34=39, Resulting Numbers: [12, 39]
Generated Node #0,3,3: 38:[12, 39] Operation: 5+34=39
Moving to Node #0,1
Current State: 38:[5, 50, 7], Operations: ['84/12=7']
Exploring Operation: 50-5=45, Resulting Numbers: [7, 45]
Generated Node #0,1,0: 38:[7, 45] Operation: 50-5=45
Exploring Operation: 50/5=10, Resulting Numbers: [7, 10]
Generated Node #0,1,1: 38:[7, 10] Operation: 50/5=10
Exploring Operation: 7-5=2, Resulting Numbers: [50, 2]
Generated Node #0,1,2: 38:[50, 2] Operation: 7-5=2
Exploring Operation: 50-7=43, Resulting Numbers: [5, 43]
Generated Node #0,1,3: 38:[5, 43] Operation: 50-7=43
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 38:[5, 43], Operations: ['84/12=7', '50-7=43']
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,38 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[5, 84, 50, 12], Operations: []
Exploring Operation: 84/12=7, Resulting Numbers: [5, 50, 7]
Generated Node #0,1: 38:[5, 50, 7] Operation: 84/12=7
Moving to Node #0,1
Current State: 38:[5, 50, 7], Operations: ['84/12=7']
Exploring Operation: 50-7=43, Resulting Numbers: [5, 43]
Generated Node #0,1,3: 38:[5, 43] Operation: 50-7=43
Moving to Node #0,1,3
Current State: 38:[5, 43], Operations: ['84/12=7', '50-7=43']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
77,
49,
96,
95
] | 29 | [
"77-49=28",
"96-95=1",
"28+1=29"
] | Current State: 29:[77, 49, 96, 95], Operations: []
Exploring Operation: 77-49=28, Resulting Numbers: [96, 95, 28]
Generated Node #2: [96, 95, 28] from Operation: 77-49=28
Current State: 29:[96, 95, 28], Operations: ['77-49=28']
Exploring Operation: 96-95=1, Resulting Numbers: [28, 1]
Generated Node #3: [28, 1] from Operation: 96-95=1
Current State: 29:[28, 1], Operations: ['77-49=28', '96-95=1']
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[77, 49, 96, 95], Operations: []
Exploring Operation: 96-95=1, Resulting Numbers: [77, 49, 1]
Generated Node #0,0: 29:[77, 49, 1] Operation: 96-95=1
Exploring Operation: 95-77=18, Resulting Numbers: [49, 96, 18]
Generated Node #0,1: 29:[49, 96, 18] Operation: 95-77=18
Exploring Operation: 95-49=46, Resulting Numbers: [77, 96, 46]
Generated Node #0,2: 29:[77, 96, 46] Operation: 95-49=46
Exploring Operation: 96-77=19, Resulting Numbers: [49, 95, 19]
Generated Node #0,3: 29:[49, 95, 19] Operation: 96-77=19
Exploring Operation: 96-49=47, Resulting Numbers: [77, 95, 47]
Generated Node #0,4: 29:[77, 95, 47] Operation: 96-49=47
Moving to Node #0,0
Current State: 29:[77, 49, 1], Operations: ['96-95=1']
Exploring Operation: 77/1=77, Resulting Numbers: [49, 77]
Generated Node #0,0,0: 29:[49, 77] Operation: 77/1=77
Exploring Operation: 77-1=76, Resulting Numbers: [49, 76]
Generated Node #0,0,1: 29:[49, 76] Operation: 77-1=76
Exploring Operation: 77*1=77, Resulting Numbers: [49, 77]
Generated Node #0,0,2: 29:[49, 77] Operation: 77*1=77
Exploring Operation: 49-1=48, Resulting Numbers: [77, 48]
Generated Node #0,0,3: 29:[77, 48] Operation: 49-1=48
Exploring Operation: 77-49=28, Resulting Numbers: [1, 28]
Generated Node #0,0,4: 29:[1, 28] Operation: 77-49=28
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 29:[1, 28], Operations: ['96-95=1', '77-49=28']
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[77, 49, 96, 95], Operations: []
Exploring Operation: 96-95=1, Resulting Numbers: [77, 49, 1]
Generated Node #0,0: 29:[77, 49, 1] Operation: 96-95=1
Moving to Node #0,0
Current State: 29:[77, 49, 1], Operations: ['96-95=1']
Exploring Operation: 77-49=28, Resulting Numbers: [1, 28]
Generated Node #0,0,4: 29:[1, 28] Operation: 77-49=28
Moving to Node #0,0,4
Current State: 29:[1, 28], Operations: ['96-95=1', '77-49=28']
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
37,
69,
82,
4
] | 20 | [
"37+69=106",
"82+4=86",
"106-86=20"
] | Current State: 20:[37, 69, 82, 4], Operations: []
Exploring Operation: 37+69=106, Resulting Numbers: [82, 4, 106]
Generated Node #2: [82, 4, 106] from Operation: 37+69=106
Current State: 20:[82, 4, 106], Operations: ['37+69=106']
Exploring Operation: 82+4=86, Resulting Numbers: [106, 86]
Generated Node #3: [106, 86] from Operation: 82+4=86
Current State: 20:[106, 86], Operations: ['37+69=106', '82+4=86']
Exploring Operation: 106-86=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[37, 69, 82, 4], Operations: []
Exploring Operation: 69-37=32, Resulting Numbers: [82, 4, 32]
Generated Node #0,0: 20:[82, 4, 32] Operation: 69-37=32
Exploring Operation: 82-69=13, Resulting Numbers: [37, 4, 13]
Generated Node #0,1: 20:[37, 4, 13] Operation: 82-69=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[37, 4, 13], Operations: ['82-69=13']
Exploring Operation: 37-13=24, Resulting Numbers: [4, 24]
Generated Node #0,1,0: 20:[4, 24] Operation: 37-13=24
Exploring Operation: 37-4=33, Resulting Numbers: [13, 33]
Generated Node #0,1,1: 20:[13, 33] Operation: 37-4=33
Moving to Node #0,1,0
Current State: 20:[4, 24], Operations: ['82-69=13', '37-13=24']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[37, 69, 82, 4], Operations: []
Exploring Operation: 82-69=13, Resulting Numbers: [37, 4, 13]
Generated Node #0,1: 20:[37, 4, 13] Operation: 82-69=13
Moving to Node #0,1
Current State: 20:[37, 4, 13], Operations: ['82-69=13']
Exploring Operation: 37-13=24, Resulting Numbers: [4, 24]
Generated Node #0,1,0: 20:[4, 24] Operation: 37-13=24
Moving to Node #0,1,0
Current State: 20:[4, 24], Operations: ['82-69=13', '37-13=24']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
72,
7,
66,
8
] | 55 | [
"72-66=6",
"8*6=48",
"7+48=55"
] | Current State: 55:[72, 7, 66, 8], Operations: []
Exploring Operation: 72-66=6, Resulting Numbers: [7, 8, 6]
Generated Node #2: [7, 8, 6] from Operation: 72-66=6
Current State: 55:[7, 8, 6], Operations: ['72-66=6']
Exploring Operation: 8*6=48, Resulting Numbers: [7, 48]
Generated Node #3: [7, 48] from Operation: 8*6=48
Current State: 55:[7, 48], Operations: ['72-66=6', '8*6=48']
Exploring Operation: 7+48=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[72, 7, 66, 8], Operations: []
Exploring Operation: 72-66=6, Resulting Numbers: [7, 8, 6]
Generated Node #0,0: 55:[7, 8, 6] Operation: 72-66=6
Moving to Node #0,0
Current State: 55:[7, 8, 6], Operations: ['72-66=6']
Exploring Operation: 7*8=56, Resulting Numbers: [6, 56]
Generated Node #0,0,0: 55:[6, 56] Operation: 7*8=56
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[6, 56], Operations: ['72-66=6', '7*8=56']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
58,
24,
38,
11
] | 61 | [
"58-24=34",
"38-11=27",
"34+27=61"
] | Current State: 61:[58, 24, 38, 11], Operations: []
Exploring Operation: 58-24=34, Resulting Numbers: [38, 11, 34]
Generated Node #2: [38, 11, 34] from Operation: 58-24=34
Current State: 61:[38, 11, 34], Operations: ['58-24=34']
Exploring Operation: 38-11=27, Resulting Numbers: [34, 27]
Generated Node #3: [34, 27] from Operation: 38-11=27
Current State: 61:[34, 27], Operations: ['58-24=34', '38-11=27']
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[58, 24, 38, 11], Operations: []
Exploring Operation: 24+11=35, Resulting Numbers: [58, 38, 35]
Generated Node #0,0: 61:[58, 38, 35] Operation: 24+11=35
Exploring Operation: 38+11=49, Resulting Numbers: [58, 24, 49]
Generated Node #0,1: 61:[58, 24, 49] Operation: 38+11=49
Exploring Operation: 24+38=62, Resulting Numbers: [58, 11, 62]
Generated Node #0,2: 61:[58, 11, 62] Operation: 24+38=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[58, 38, 35], Operations: ['24+11=35']
Exploring Operation: 38+35=73, Resulting Numbers: [58, 73]
Generated Node #0,0,0: 61:[58, 73] Operation: 38+35=73
Exploring Operation: 58+38=96, Resulting Numbers: [35, 96]
Generated Node #0,0,1: 61:[35, 96] Operation: 58+38=96
Exploring Operation: 58+35=93, Resulting Numbers: [38, 93]
Generated Node #0,0,2: 61:[38, 93] Operation: 58+35=93
Moving to Node #0,0,0
Current State: 61:[58, 73], Operations: ['24+11=35', '38+35=73']
Exploring Operation: 58+73=131, Resulting Numbers: [131]
131,61 unequal: No Solution
Exploring Operation: 73-58=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Exploring Operation: 58*73=4234, Resulting Numbers: [4234]
4234,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[38, 93], Operations: ['24+11=35', '58+35=93']
Exploring Operation: 93-38=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 38*93=3534, Resulting Numbers: [3534]
3534,61 unequal: No Solution
Exploring Operation: 38+93=131, Resulting Numbers: [131]
131,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[35, 96], Operations: ['24+11=35', '58+38=96']
Exploring Operation: 96-35=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[58, 24, 38, 11], Operations: []
Exploring Operation: 24+11=35, Resulting Numbers: [58, 38, 35]
Generated Node #0,0: 61:[58, 38, 35] Operation: 24+11=35
Moving to Node #0,0
Current State: 61:[58, 38, 35], Operations: ['24+11=35']
Exploring Operation: 58+38=96, Resulting Numbers: [35, 96]
Generated Node #0,0,1: 61:[35, 96] Operation: 58+38=96
Moving to Node #0,0,1
Current State: 61:[35, 96], Operations: ['24+11=35', '58+38=96']
Exploring Operation: 96-35=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
6,
91,
63,
56
] | 14 | [
"91-63=28",
"56+28=84",
"84/6=14"
] | Current State: 14:[6, 91, 63, 56], Operations: []
Exploring Operation: 91-63=28, Resulting Numbers: [6, 56, 28]
Generated Node #2: [6, 56, 28] from Operation: 91-63=28
Current State: 14:[6, 56, 28], Operations: ['91-63=28']
Exploring Operation: 56+28=84, Resulting Numbers: [6, 84]
Generated Node #3: [6, 84] from Operation: 56+28=84
Current State: 14:[6, 84], Operations: ['91-63=28', '56+28=84']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[6, 91, 63, 56], Operations: []
Exploring Operation: 91-63=28, Resulting Numbers: [6, 56, 28]
Generated Node #0,0: 14:[6, 56, 28] Operation: 91-63=28
Exploring Operation: 91-6=85, Resulting Numbers: [63, 56, 85]
Generated Node #0,1: 14:[63, 56, 85] Operation: 91-6=85
Exploring Operation: 63-56=7, Resulting Numbers: [6, 91, 7]
Generated Node #0,2: 14:[6, 91, 7] Operation: 63-56=7
Exploring Operation: 91-56=35, Resulting Numbers: [6, 63, 35]
Generated Node #0,3: 14:[6, 63, 35] Operation: 91-56=35
Moving to Node #0,0
Current State: 14:[6, 56, 28], Operations: ['91-63=28']
Exploring Operation: 56-28=28, Resulting Numbers: [6, 28]
Generated Node #0,0,0: 14:[6, 28] Operation: 56-28=28
Exploring Operation: 56/28=2, Resulting Numbers: [6, 2]
Generated Node #0,0,1: 14:[6, 2] Operation: 56/28=2
Exploring Operation: 28-6=22, Resulting Numbers: [56, 22]
Generated Node #0,0,2: 14:[56, 22] Operation: 28-6=22
Exploring Operation: 56-6=50, Resulting Numbers: [28, 50]
Generated Node #0,0,3: 14:[28, 50] Operation: 56-6=50
Moving to Node #0,3
Current State: 14:[6, 63, 35], Operations: ['91-56=35']
Exploring Operation: 6+63=69, Resulting Numbers: [35, 69]
Generated Node #0,3,0: 14:[35, 69] Operation: 6+63=69
Exploring Operation: 63-6=57, Resulting Numbers: [35, 57]
Generated Node #0,3,1: 14:[35, 57] Operation: 63-6=57
Exploring Operation: 63-35=28, Resulting Numbers: [6, 28]
Generated Node #0,3,2: 14:[6, 28] Operation: 63-35=28
Exploring Operation: 35-6=29, Resulting Numbers: [63, 29]
Generated Node #0,3,3: 14:[63, 29] Operation: 35-6=29
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 14:[6, 28], Operations: ['91-56=35', '63-35=28']
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,14 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,14 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,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,3,1
Current State: 14:[35, 57], Operations: ['91-56=35', '63-6=57']
Exploring Operation: 35*57=1995, Resulting Numbers: [1995]
1995,14 unequal: No Solution
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,14 unequal: No Solution
Exploring Operation: 35+57=92, Resulting Numbers: [92]
92,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,3,3
Current State: 14:[63, 29], Operations: ['91-56=35', '35-6=29']
Exploring Operation: 63*29=1827, Resulting Numbers: [1827]
1827,14 unequal: No Solution
Exploring Operation: 63+29=92, Resulting Numbers: [92]
92,14 unequal: No Solution
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,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,3,0
Current State: 14:[35, 69], Operations: ['91-56=35', '6+63=69']
Exploring Operation: 35+69=104, Resulting Numbers: [104]
104,14 unequal: No Solution
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,14 unequal: No Solution
Exploring Operation: 35*69=2415, Resulting Numbers: [2415]
2415,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:[6, 91, 7], Operations: ['63-56=7']
Exploring Operation: 6+7=13, Resulting Numbers: [91, 13]
Generated Node #0,2,0: 14:[91, 13] Operation: 6+7=13
Exploring Operation: 91-7=84, Resulting Numbers: [6, 84]
Generated Node #0,2,1: 14:[6, 84] Operation: 91-7=84
Exploring Operation: 91-6=85, Resulting Numbers: [7, 85]
Generated Node #0,2,2: 14:[7, 85] Operation: 91-6=85
Exploring Operation: 91/7=13, Resulting Numbers: [6, 13]
Generated Node #0,2,3: 14:[6, 13] Operation: 91/7=13
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 14:[6, 13], Operations: ['63-56=7', '91/7=13']
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,14 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 14:[6, 84], Operations: ['63-56=7', '91-7=84']
Exploring Operation: 6+84=90, Resulting Numbers: [90]
90,14 unequal: No Solution
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,14 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[6, 91, 63, 56], Operations: []
Exploring Operation: 63-56=7, Resulting Numbers: [6, 91, 7]
Generated Node #0,2: 14:[6, 91, 7] Operation: 63-56=7
Moving to Node #0,2
Current State: 14:[6, 91, 7], Operations: ['63-56=7']
Exploring Operation: 91-7=84, Resulting Numbers: [6, 84]
Generated Node #0,2,1: 14:[6, 84] Operation: 91-7=84
Moving to Node #0,2,1
Current State: 14:[6, 84], Operations: ['63-56=7', '91-7=84']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | mult_heuristic |
[
2,
37,
78,
40
] | 28 | [
"40-37=3",
"78/3=26",
"2+26=28"
] | Current State: 28:[2, 37, 78, 40], Operations: []
Exploring Operation: 40-37=3, Resulting Numbers: [2, 78, 3]
Generated Node #2: [2, 78, 3] from Operation: 40-37=3
Current State: 28:[2, 78, 3], Operations: ['40-37=3']
Exploring Operation: 78/3=26, Resulting Numbers: [2, 26]
Generated Node #3: [2, 26] from Operation: 78/3=26
Current State: 28:[2, 26], Operations: ['40-37=3', '78/3=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[2, 37, 78, 40], Operations: []
Exploring Operation: 78-40=38, Resulting Numbers: [2, 37, 38]
Generated Node #0,0: 28:[2, 37, 38] Operation: 78-40=38
Moving to Node #0,0
Current State: 28:[2, 37, 38], Operations: ['78-40=38']
Exploring Operation: 38-37=1, Resulting Numbers: [2, 1]
Generated Node #0,0,0: 28:[2, 1] Operation: 38-37=1
Moving to Node #0,0,0
Current State: 28:[2, 1], Operations: ['78-40=38', '38-37=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,28 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
69,
85,
23,
27
] | 65 | [
"85+23=108",
"108/27=4",
"69-4=65"
] | Current State: 65:[69, 85, 23, 27], Operations: []
Exploring Operation: 85+23=108, Resulting Numbers: [69, 27, 108]
Generated Node #2: [69, 27, 108] from Operation: 85+23=108
Current State: 65:[69, 27, 108], Operations: ['85+23=108']
Exploring Operation: 108/27=4, Resulting Numbers: [69, 4]
Generated Node #3: [69, 4] from Operation: 108/27=4
Current State: 65:[69, 4], Operations: ['85+23=108', '108/27=4']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[69, 85, 23, 27], Operations: []
Exploring Operation: 85-69=16, Resulting Numbers: [23, 27, 16]
Generated Node #0,0: 65:[23, 27, 16] Operation: 85-69=16
Exploring Operation: 85-27=58, Resulting Numbers: [69, 23, 58]
Generated Node #0,1: 65:[69, 23, 58] Operation: 85-27=58
Exploring Operation: 85-23=62, Resulting Numbers: [69, 27, 62]
Generated Node #0,2: 65:[69, 27, 62] Operation: 85-23=62
Exploring Operation: 27-23=4, Resulting Numbers: [69, 85, 4]
Generated Node #0,3: 65:[69, 85, 4] Operation: 27-23=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[69, 23, 58], Operations: ['85-27=58']
Exploring Operation: 23+58=81, Resulting Numbers: [69, 81]
Generated Node #0,1,0: 65:[69, 81] Operation: 23+58=81
Exploring Operation: 69-58=11, Resulting Numbers: [23, 11]
Generated Node #0,1,1: 65:[23, 11] Operation: 69-58=11
Exploring Operation: 69/23=3, Resulting Numbers: [58, 3]
Generated Node #0,1,2: 65:[58, 3] Operation: 69/23=3
Exploring Operation: 69-23=46, Resulting Numbers: [58, 46]
Generated Node #0,1,3: 65:[58, 46] Operation: 69-23=46
Moving to Node #0,1,2
Current State: 65:[58, 3], Operations: ['85-27=58', '69/23=3']
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,65 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,65 unequal: No Solution
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[23, 11], Operations: ['85-27=58', '69-58=11']
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,65 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[69, 81], Operations: ['85-27=58', '23+58=81']
Exploring Operation: 69+81=150, Resulting Numbers: [150]
150,65 unequal: No Solution
Exploring Operation: 81-69=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 69*81=5589, Resulting Numbers: [5589]
5589,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[58, 46], Operations: ['85-27=58', '69-23=46']
Exploring Operation: 58-46=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 58*46=2668, Resulting Numbers: [2668]
2668,65 unequal: No Solution
Exploring Operation: 58+46=104, Resulting Numbers: [104]
104,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,2
Current State: 65:[69, 27, 62], Operations: ['85-23=62']
Exploring Operation: 69-62=7, Resulting Numbers: [27, 7]
Generated Node #0,2,0: 65:[27, 7] Operation: 69-62=7
Exploring Operation: 27+62=89, Resulting Numbers: [69, 89]
Generated Node #0,2,1: 65:[69, 89] Operation: 27+62=89
Exploring Operation: 69-27=42, Resulting Numbers: [62, 42]
Generated Node #0,2,2: 65:[62, 42] Operation: 69-27=42
Exploring Operation: 62-27=35, Resulting Numbers: [69, 35]
Generated Node #0,2,3: 65:[69, 35] Operation: 62-27=35
Moving to Node #0,2,0
Current State: 65:[27, 7], Operations: ['85-23=62', '69-62=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[69, 35], Operations: ['85-23=62', '62-27=35']
Exploring Operation: 69*35=2415, Resulting Numbers: [2415]
2415,65 unequal: No Solution
Exploring Operation: 69+35=104, Resulting Numbers: [104]
104,65 unequal: No Solution
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[62, 42], Operations: ['85-23=62', '69-27=42']
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 62+42=104, Resulting Numbers: [104]
104,65 unequal: No Solution
Exploring Operation: 62*42=2604, Resulting Numbers: [2604]
2604,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[69, 89], Operations: ['85-23=62', '27+62=89']
Exploring Operation: 69+89=158, Resulting Numbers: [158]
158,65 unequal: No Solution
Exploring Operation: 89-69=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 69*89=6141, Resulting Numbers: [6141]
6141,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[69, 85, 4], Operations: ['27-23=4']
Exploring Operation: 69-4=65, Resulting Numbers: [85, 65]
Generated Node #0,3,0: 65:[85, 65] Operation: 69-4=65
Exploring Operation: 85-4=81, Resulting Numbers: [69, 81]
Generated Node #0,3,1: 65:[69, 81] Operation: 85-4=81
Exploring Operation: 69+4=73, Resulting Numbers: [85, 73]
Generated Node #0,3,2: 65:[85, 73] Operation: 69+4=73
Exploring Operation: 85-69=16, Resulting Numbers: [4, 16]
Generated Node #0,3,3: 65:[4, 16] Operation: 85-69=16
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 65:[4, 16], Operations: ['27-23=4', '85-69=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,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,3,0
Current State: 65:[85, 65], Operations: ['27-23=4', '69-4=65']
Exploring Operation: 85+65=150, Resulting Numbers: [150]
150,65 unequal: No Solution
Exploring Operation: 85*65=5525, Resulting Numbers: [5525]
5525,65 unequal: No Solution
Exploring Operation: 85-65=20, Resulting Numbers: [20]
20,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,3,1
Current State: 65:[69, 81], Operations: ['27-23=4', '85-4=81']
Exploring Operation: 81-69=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 69+81=150, Resulting Numbers: [150]
150,65 unequal: No Solution
Exploring Operation: 69*81=5589, Resulting Numbers: [5589]
5589,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,3,2
Current State: 65:[85, 73], Operations: ['27-23=4', '69+4=73']
Exploring Operation: 85-73=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 85+73=158, Resulting Numbers: [158]
158,65 unequal: No Solution
Exploring Operation: 85*73=6205, Resulting Numbers: [6205]
6205,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[23, 27, 16], Operations: ['85-69=16']
Exploring Operation: 27-16=11, Resulting Numbers: [23, 11]
Generated Node #0,0,0: 65:[23, 11] Operation: 27-16=11
Exploring Operation: 23-16=7, Resulting Numbers: [27, 7]
Generated Node #0,0,1: 65:[27, 7] Operation: 23-16=7
Exploring Operation: 23+27=50, Resulting Numbers: [16, 50]
Generated Node #0,0,2: 65:[16, 50] Operation: 23+27=50
Exploring Operation: 27-23=4, Resulting Numbers: [16, 4]
Generated Node #0,0,3: 65:[16, 4] Operation: 27-23=4
Moving to Node #0,0,3
Current State: 65:[16, 4], Operations: ['85-69=16', '27-23=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[23, 11], Operations: ['85-69=16', '27-16=11']
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[27, 7], Operations: ['85-69=16', '23-16=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[16, 50], Operations: ['85-69=16', '23+27=50']
Exploring Operation: 16+50=66, Resulting Numbers: [66]
66,65 unequal: No Solution
Exploring Operation: 16*50=800, Resulting Numbers: [800]
800,65 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,65 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 |
[
10,
54,
2,
10
] | 59 | [
"10+54=64",
"10/2=5",
"64-5=59"
] | Current State: 59:[10, 54, 2, 10], Operations: []
Exploring Operation: 10+54=64, Resulting Numbers: [2, 64]
Generated Node #2: [2, 64] from Operation: 10+54=64
Current State: 59:[2, 64], Operations: ['10+54=64']
Exploring Operation: 10/2=5, Resulting Numbers: [64, 5]
Generated Node #3: [64, 5] from Operation: 10/2=5
Current State: 59:[64, 5], Operations: ['10+54=64', '10/2=5']
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[10, 54, 2, 10], Operations: []
Exploring Operation: 10*2=20, Resulting Numbers: [54, 10, 20]
Generated Node #0,0: 59:[54, 10, 20] Operation: 10*2=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[54, 10, 20], Operations: ['10*2=20']
Exploring Operation: 10+20=30, Resulting Numbers: [54, 30]
Generated Node #0,0,0: 59:[54, 30] Operation: 10+20=30
Moving to Node #0,0,0
Current State: 59:[54, 30], Operations: ['10*2=20', '10+20=30']
Exploring Operation: 54+30=84, Resulting Numbers: [84]
84,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
1,
12,
4,
6
] | 36 | [
"1*12=12",
"4*6=24",
"12+24=36"
] | Current State: 36:[1, 12, 4, 6], Operations: []
Exploring Operation: 1*12=12, Resulting Numbers: [4, 6, 12]
Generated Node #2: [4, 6, 12] from Operation: 1*12=12
Current State: 36:[4, 6, 12], Operations: ['1*12=12']
Exploring Operation: 4*6=24, Resulting Numbers: [12, 24]
Generated Node #3: [12, 24] from Operation: 4*6=24
Current State: 36:[12, 24], Operations: ['1*12=12', '4*6=24']
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[1, 12, 4, 6], Operations: []
Exploring Operation: 12/1=12, Resulting Numbers: [4, 6, 12]
Generated Node #0,0: 36:[4, 6, 12] Operation: 12/1=12
Exploring Operation: 1*12=12, Resulting Numbers: [4, 6, 12]
Generated Node #0,1: 36:[4, 6, 12] Operation: 1*12=12
Exploring Operation: 1*4=4, Resulting Numbers: [12, 6, 4]
Generated Node #0,2: 36:[12, 6, 4] Operation: 1*4=4
Moving to Node #0,0
Current State: 36:[4, 6, 12], Operations: ['12/1=12']
Exploring Operation: 12/4=3, Resulting Numbers: [6, 3]
Generated Node #0,0,0: 36:[6, 3] Operation: 12/4=3
Exploring Operation: 6-4=2, Resulting Numbers: [12, 2]
Generated Node #0,0,1: 36:[12, 2] Operation: 6-4=2
Exploring Operation: 6+12=18, Resulting Numbers: [4, 18]
Generated Node #0,0,2: 36:[4, 18] Operation: 6+12=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[6, 3], Operations: ['12/1=12', '12/4=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,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:[12, 2], Operations: ['12/1=12', '6-4=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,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:[4, 18], Operations: ['12/1=12', '6+12=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,36 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,36 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: 36:[4, 6, 12], Operations: ['1*12=12']
Exploring Operation: 6-4=2, Resulting Numbers: [12, 2]
Generated Node #0,1,0: 36:[12, 2] Operation: 6-4=2
Exploring Operation: 6+12=18, Resulting Numbers: [4, 18]
Generated Node #0,1,1: 36:[4, 18] Operation: 6+12=18
Exploring Operation: 12/4=3, Resulting Numbers: [6, 3]
Generated Node #0,1,2: 36:[6, 3] Operation: 12/4=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[12, 2], Operations: ['1*12=12', '6-4=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,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,1,1
Current State: 36:[4, 18], Operations: ['1*12=12', '6+12=18']
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,36 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,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,1,2
Current State: 36:[6, 3], Operations: ['1*12=12', '12/4=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,36 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: 36:[12, 6, 4], Operations: ['1*4=4']
Exploring Operation: 12-6=6, Resulting Numbers: [4, 6]
Generated Node #0,2,0: 36:[4, 6] Operation: 12-6=6
Exploring Operation: 12+6=18, Resulting Numbers: [4, 18]
Generated Node #0,2,1: 36:[4, 18] Operation: 12+6=18
Exploring Operation: 12/6=2, Resulting Numbers: [4, 2]
Generated Node #0,2,2: 36:[4, 2] Operation: 12/6=2
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 36:[4, 6], Operations: ['1*4=4', '12-6=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,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,2,1
Current State: 36:[4, 18], Operations: ['1*4=4', '12+6=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,36 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,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,2,2
Current State: 36:[4, 2], Operations: ['1*4=4', '12/6=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,36 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 |
[
59,
22,
54,
73
] | 37 | [
"59-54=5",
"22*5=110",
"110-73=37"
] | Current State: 37:[59, 22, 54, 73], Operations: []
Exploring Operation: 59-54=5, Resulting Numbers: [22, 73, 5]
Generated Node #2: [22, 73, 5] from Operation: 59-54=5
Current State: 37:[22, 73, 5], Operations: ['59-54=5']
Exploring Operation: 22*5=110, Resulting Numbers: [73, 110]
Generated Node #3: [73, 110] from Operation: 22*5=110
Current State: 37:[73, 110], Operations: ['59-54=5', '22*5=110']
Exploring Operation: 110-73=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[59, 22, 54, 73], Operations: []
Exploring Operation: 59-22=37, Resulting Numbers: [54, 73, 37]
Generated Node #0,0: 37:[54, 73, 37] Operation: 59-22=37
Exploring Operation: 73-22=51, Resulting Numbers: [59, 54, 51]
Generated Node #0,1: 37:[59, 54, 51] Operation: 73-22=51
Moving to Node #0,0
Current State: 37:[54, 73, 37], Operations: ['59-22=37']
Exploring Operation: 73-54=19, Resulting Numbers: [37, 19]
Generated Node #0,0,0: 37:[37, 19] Operation: 73-54=19
Exploring Operation: 73-37=36, Resulting Numbers: [54, 36]
Generated Node #0,0,1: 37:[54, 36] Operation: 73-37=36
Moving to Node #0,1
Current State: 37:[59, 54, 51], Operations: ['73-22=51']
Exploring Operation: 59-54=5, Resulting Numbers: [51, 5]
Generated Node #0,1,0: 37:[51, 5] Operation: 59-54=5
Exploring Operation: 59-51=8, Resulting Numbers: [54, 8]
Generated Node #0,1,1: 37:[54, 8] Operation: 59-51=8
Moving to Node #0,0,0
Current State: 37:[37, 19], Operations: ['59-22=37', '73-54=19']
Exploring Operation: 37+19=56, Resulting Numbers: [56]
56,37 unequal: No Solution
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[54, 36], Operations: ['59-22=37', '73-37=36']
Exploring Operation: 54+36=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[54, 8], Operations: ['73-22=51', '59-51=8']
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,37 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[51, 5], Operations: ['73-22=51', '59-54=5']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,37 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
75,
71,
90,
4
] | 11 | [
"90-75=15",
"4*15=60",
"71-60=11"
] | Current State: 11:[75, 71, 90, 4], Operations: []
Exploring Operation: 90-75=15, Resulting Numbers: [71, 4, 15]
Generated Node #2: [71, 4, 15] from Operation: 90-75=15
Current State: 11:[71, 4, 15], Operations: ['90-75=15']
Exploring Operation: 4*15=60, Resulting Numbers: [71, 60]
Generated Node #3: [71, 60] from Operation: 4*15=60
Current State: 11:[71, 60], Operations: ['90-75=15', '4*15=60']
Exploring Operation: 71-60=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[75, 71, 90, 4], Operations: []
Exploring Operation: 90-75=15, Resulting Numbers: [71, 4, 15]
Generated Node #0,0: 11:[71, 4, 15] Operation: 90-75=15
Moving to Node #0,0
Current State: 11:[71, 4, 15], Operations: ['90-75=15']
Exploring Operation: 71-15=56, Resulting Numbers: [4, 56]
Generated Node #0,0,0: 11:[4, 56] Operation: 71-15=56
Moving to Node #0,0,0
Current State: 11:[4, 56], Operations: ['90-75=15', '71-15=56']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,11 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
85,
17,
54,
44
] | 30 | [
"85-17=68",
"54+44=98",
"98-68=30"
] | Current State: 30:[85, 17, 54, 44], Operations: []
Exploring Operation: 85-17=68, Resulting Numbers: [54, 44, 68]
Generated Node #2: [54, 44, 68] from Operation: 85-17=68
Current State: 30:[54, 44, 68], Operations: ['85-17=68']
Exploring Operation: 54+44=98, Resulting Numbers: [68, 98]
Generated Node #3: [68, 98] from Operation: 54+44=98
Current State: 30:[68, 98], Operations: ['85-17=68', '54+44=98']
Exploring Operation: 98-68=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[85, 17, 54, 44], Operations: []
Exploring Operation: 85-44=41, Resulting Numbers: [17, 54, 41]
Generated Node #0,0: 30:[17, 54, 41] Operation: 85-44=41
Exploring Operation: 85-54=31, Resulting Numbers: [17, 44, 31]
Generated Node #0,1: 30:[17, 44, 31] Operation: 85-54=31
Exploring Operation: 85/17=5, Resulting Numbers: [54, 44, 5]
Generated Node #0,2: 30:[54, 44, 5] Operation: 85/17=5
Moving to Node #0,1
Current State: 30:[17, 44, 31], Operations: ['85-54=31']
Exploring Operation: 31-17=14, Resulting Numbers: [44, 14]
Generated Node #0,1,0: 30:[44, 14] Operation: 31-17=14
Exploring Operation: 44-17=27, Resulting Numbers: [31, 27]
Generated Node #0,1,1: 30:[31, 27] Operation: 44-17=27
Exploring Operation: 44-31=13, Resulting Numbers: [17, 13]
Generated Node #0,1,2: 30:[17, 13] Operation: 44-31=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[31, 27], Operations: ['85-54=31', '44-17=27']
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 31*27=837, Resulting Numbers: [837]
837,30 unequal: No Solution
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 30:[17, 13], Operations: ['85-54=31', '44-31=13']
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[85, 17, 54, 44], Operations: []
Exploring Operation: 85-54=31, Resulting Numbers: [17, 44, 31]
Generated Node #0,1: 30:[17, 44, 31] Operation: 85-54=31
Moving to Node #0,1
Current State: 30:[17, 44, 31], Operations: ['85-54=31']
Exploring Operation: 44-31=13, Resulting Numbers: [17, 13]
Generated Node #0,1,2: 30:[17, 13] Operation: 44-31=13
Moving to Node #0,1,2
Current State: 30:[17, 13], Operations: ['85-54=31', '44-31=13']
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
47,
70,
43,
64
] | 78 | [
"47*70=3290",
"64+3290=3354",
"3354/43=78"
] | Current State: 78:[47, 70, 43, 64], Operations: []
Exploring Operation: 47*70=3290, Resulting Numbers: [43, 64, 3290]
Generated Node #2: [43, 64, 3290] from Operation: 47*70=3290
Current State: 78:[43, 64, 3290], Operations: ['47*70=3290']
Exploring Operation: 64+3290=3354, Resulting Numbers: [43, 3354]
Generated Node #3: [43, 3354] from Operation: 64+3290=3354
Current State: 78:[43, 3354], Operations: ['47*70=3290', '64+3290=3354']
Exploring Operation: 3354/43=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[47, 70, 43, 64], Operations: []
Exploring Operation: 64-47=17, Resulting Numbers: [70, 43, 17]
Generated Node #0,0: 78:[70, 43, 17] Operation: 64-47=17
Exploring Operation: 70-47=23, Resulting Numbers: [43, 64, 23]
Generated Node #0,1: 78:[43, 64, 23] Operation: 70-47=23
Exploring Operation: 70-64=6, Resulting Numbers: [47, 43, 6]
Generated Node #0,2: 78:[47, 43, 6] Operation: 70-64=6
Moving to Node #0,2
Current State: 78:[47, 43, 6], Operations: ['70-64=6']
Exploring Operation: 47-6=41, Resulting Numbers: [43, 41]
Generated Node #0,2,0: 78:[43, 41] Operation: 47-6=41
Exploring Operation: 43-6=37, Resulting Numbers: [47, 37]
Generated Node #0,2,1: 78:[47, 37] Operation: 43-6=37
Exploring Operation: 47-43=4, Resulting Numbers: [6, 4]
Generated Node #0,2,2: 78:[6, 4] Operation: 47-43=4
Moving to Node #0,0
Current State: 78:[70, 43, 17], Operations: ['64-47=17']
Exploring Operation: 70+17=87, Resulting Numbers: [43, 87]
Generated Node #0,0,0: 78:[43, 87] Operation: 70+17=87
Exploring Operation: 43-17=26, Resulting Numbers: [70, 26]
Generated Node #0,0,1: 78:[70, 26] Operation: 43-17=26
Exploring Operation: 70-43=27, Resulting Numbers: [17, 27]
Generated Node #0,0,2: 78:[17, 27] Operation: 70-43=27
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 78:[17, 27], Operations: ['64-47=17', '70-43=27']
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,78 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,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,0,1
Current State: 78:[70, 26], Operations: ['64-47=17', '43-17=26']
Exploring Operation: 70+26=96, Resulting Numbers: [96]
96,78 unequal: No Solution
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,78 unequal: No Solution
Exploring Operation: 70*26=1820, Resulting Numbers: [1820]
1820,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,0,0
Current State: 78:[43, 87], Operations: ['64-47=17', '70+17=87']
Exploring Operation: 87-43=44, Resulting Numbers: [44]
44,78 unequal: No Solution
Exploring Operation: 43+87=130, Resulting Numbers: [130]
130,78 unequal: No Solution
Exploring Operation: 43*87=3741, Resulting Numbers: [3741]
3741,78 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: 78:[43, 64, 23], Operations: ['70-47=23']
Exploring Operation: 64+23=87, Resulting Numbers: [43, 87]
Generated Node #0,1,0: 78:[43, 87] Operation: 64+23=87
Exploring Operation: 64-23=41, Resulting Numbers: [43, 41]
Generated Node #0,1,1: 78:[43, 41] Operation: 64-23=41
Exploring Operation: 64-43=21, Resulting Numbers: [23, 21]
Generated Node #0,1,2: 78:[23, 21] Operation: 64-43=21
Moving to Node #0,2,2
Current State: 78:[6, 4], Operations: ['70-64=6', '47-43=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,78 unequal: No Solution
Moving to Node #0,2,0
Current State: 78:[43, 41], Operations: ['70-64=6', '47-6=41']
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 43*41=1763, Resulting Numbers: [1763]
1763,78 unequal: No Solution
Exploring Operation: 43+41=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[43, 41], Operations: ['70-47=23', '64-23=41']
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 43+41=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 43*41=1763, Resulting Numbers: [1763]
1763,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[23, 21], Operations: ['70-47=23', '64-43=21']
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,78 unequal: No Solution
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,78 unequal: No Solution
Moving to Node #0,2,1
Current State: 78:[47, 37], Operations: ['70-64=6', '43-6=37']
Exploring Operation: 47*37=1739, Resulting Numbers: [1739]
1739,78 unequal: No Solution
Exploring Operation: 47-37=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 47+37=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Moving to Node #0,1,0
Current State: 78:[43, 87], Operations: ['70-47=23', '64+23=87']
Exploring Operation: 87-43=44, Resulting Numbers: [44]
44,78 unequal: No Solution
Exploring Operation: 43+87=130, Resulting Numbers: [130]
130,78 unequal: No Solution
Exploring Operation: 43*87=3741, Resulting Numbers: [3741]
3741,78 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
14,
53,
66,
65
] | 38 | [
"53-14=39",
"66-65=1",
"39-1=38"
] | Current State: 38:[14, 53, 66, 65], Operations: []
Exploring Operation: 53-14=39, Resulting Numbers: [66, 65, 39]
Generated Node #2: [66, 65, 39] from Operation: 53-14=39
Current State: 38:[66, 65, 39], Operations: ['53-14=39']
Exploring Operation: 66-65=1, Resulting Numbers: [39, 1]
Generated Node #3: [39, 1] from Operation: 66-65=1
Current State: 38:[39, 1], Operations: ['53-14=39', '66-65=1']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[14, 53, 66, 65], Operations: []
Exploring Operation: 66-65=1, Resulting Numbers: [14, 53, 1]
Generated Node #0,0: 38:[14, 53, 1] Operation: 66-65=1
Moving to Node #0,0
Current State: 38:[14, 53, 1], Operations: ['66-65=1']
Exploring Operation: 53-14=39, Resulting Numbers: [1, 39]
Generated Node #0,0,0: 38:[1, 39] Operation: 53-14=39
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[1, 39], Operations: ['66-65=1', '53-14=39']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[14, 53, 66, 65], Operations: []
Exploring Operation: 66-65=1, Resulting Numbers: [14, 53, 1]
Generated Node #0,0: 38:[14, 53, 1] Operation: 66-65=1
Moving to Node #0,0
Current State: 38:[14, 53, 1], Operations: ['66-65=1']
Exploring Operation: 53-14=39, Resulting Numbers: [1, 39]
Generated Node #0,0,0: 38:[1, 39] Operation: 53-14=39
Moving to Node #0,0,0
Current State: 38:[1, 39], Operations: ['66-65=1', '53-14=39']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
93,
5,
35,
20
] | 33 | [
"93-5=88",
"35+20=55",
"88-55=33"
] | Current State: 33:[93, 5, 35, 20], Operations: []
Exploring Operation: 93-5=88, Resulting Numbers: [35, 20, 88]
Generated Node #2: [35, 20, 88] from Operation: 93-5=88
Current State: 33:[35, 20, 88], Operations: ['93-5=88']
Exploring Operation: 35+20=55, Resulting Numbers: [88, 55]
Generated Node #3: [88, 55] from Operation: 35+20=55
Current State: 33:[88, 55], Operations: ['93-5=88', '35+20=55']
Exploring Operation: 88-55=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[93, 5, 35, 20], Operations: []
Exploring Operation: 93-5=88, Resulting Numbers: [35, 20, 88]
Generated Node #0,0: 33:[35, 20, 88] Operation: 93-5=88
Exploring Operation: 93-20=73, Resulting Numbers: [5, 35, 73]
Generated Node #0,1: 33:[5, 35, 73] Operation: 93-20=73
Exploring Operation: 20/5=4, Resulting Numbers: [93, 35, 4]
Generated Node #0,2: 33:[93, 35, 4] Operation: 20/5=4
Exploring Operation: 93-35=58, Resulting Numbers: [5, 20, 58]
Generated Node #0,3: 33:[5, 20, 58] Operation: 93-35=58
Moving to Node #0,3
Current State: 33:[5, 20, 58], Operations: ['93-35=58']
Exploring Operation: 58-5=53, Resulting Numbers: [20, 53]
Generated Node #0,3,0: 33:[20, 53] Operation: 58-5=53
Exploring Operation: 20/5=4, Resulting Numbers: [58, 4]
Generated Node #0,3,1: 33:[58, 4] Operation: 20/5=4
Exploring Operation: 20-5=15, Resulting Numbers: [58, 15]
Generated Node #0,3,2: 33:[58, 15] Operation: 20-5=15
Exploring Operation: 58-20=38, Resulting Numbers: [5, 38]
Generated Node #0,3,3: 33:[5, 38] Operation: 58-20=38
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 33:[5, 38], Operations: ['93-35=58', '58-20=38']
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,33 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[93, 5, 35, 20], Operations: []
Exploring Operation: 93-35=58, Resulting Numbers: [5, 20, 58]
Generated Node #0,3: 33:[5, 20, 58] Operation: 93-35=58
Moving to Node #0,3
Current State: 33:[5, 20, 58], Operations: ['93-35=58']
Exploring Operation: 58-20=38, Resulting Numbers: [5, 38]
Generated Node #0,3,3: 33:[5, 38] Operation: 58-20=38
Moving to Node #0,3,3
Current State: 33:[5, 38], Operations: ['93-35=58', '58-20=38']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
65,
43,
35,
65
] | 35 | [
"65-65=0",
"43*0=0",
"35+0=35"
] | Current State: 35:[65, 43, 35, 65], Operations: []
Exploring Operation: 65-65=0, Resulting Numbers: [43, 35, 0]
Generated Node #2: [43, 35, 0] from Operation: 65-65=0
Current State: 35:[43, 35, 0], Operations: ['65-65=0']
Exploring Operation: 43*0=0, Resulting Numbers: [35, 0]
Generated Node #3: [35, 0] from Operation: 43*0=0
Current State: 35:[35, 0], Operations: ['65-65=0', '43*0=0']
Exploring Operation: 35+0=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[65, 43, 35, 65], Operations: []
Exploring Operation: 65-65=0, Resulting Numbers: [43, 35, 0]
Generated Node #0,0: 35:[43, 35, 0] Operation: 65-65=0
Exploring Operation: 65-43=22, Resulting Numbers: [35, 65, 22]
Generated Node #0,1: 35:[35, 65, 22] Operation: 65-43=22
Exploring Operation: 65/65=1, Resulting Numbers: [43, 35, 1]
Generated Node #0,2: 35:[43, 35, 1] Operation: 65/65=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[43, 35, 1], Operations: ['65/65=1']
Exploring Operation: 43*1=43, Resulting Numbers: [35, 43]
Generated Node #0,2,0: 35:[35, 43] Operation: 43*1=43
Exploring Operation: 43-1=42, Resulting Numbers: [35, 42]
Generated Node #0,2,1: 35:[35, 42] Operation: 43-1=42
Exploring Operation: 43-35=8, Resulting Numbers: [1, 8]
Generated Node #0,2,2: 35:[1, 8] Operation: 43-35=8
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 35:[1, 8], Operations: ['65/65=1', '43-35=8']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,35 unequal: No Solution
No 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: 35:[35, 42], Operations: ['65/65=1', '43-1=42']
Exploring Operation: 35+42=77, Resulting Numbers: [77]
77,35 unequal: No Solution
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 35*42=1470, Resulting Numbers: [1470]
1470,35 unequal: No Solution
No 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: 35:[35, 43], Operations: ['65/65=1', '43*1=43']
Exploring Operation: 35+43=78, Resulting Numbers: [78]
78,35 unequal: No Solution
Exploring Operation: 35*43=1505, Resulting Numbers: [1505]
1505,35 unequal: No Solution
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,35 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: 35:[43, 35, 0], Operations: ['65-65=0']
Exploring Operation: 43-35=8, Resulting Numbers: [0, 8]
Generated Node #0,0,0: 35:[0, 8] Operation: 43-35=8
Exploring Operation: 43+0=43, Resulting Numbers: [35, 43]
Generated Node #0,0,1: 35:[35, 43] Operation: 43+0=43
Exploring Operation: 43*0=0, Resulting Numbers: [35, 0]
Generated Node #0,0,2: 35:[35, 0] Operation: 43*0=0
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 35:[35, 0], Operations: ['65-65=0', '43*0=0']
Exploring Operation: 35+0=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[65, 43, 35, 65], Operations: []
Exploring Operation: 65-65=0, Resulting Numbers: [43, 35, 0]
Generated Node #0,0: 35:[43, 35, 0] Operation: 65-65=0
Moving to Node #0,0
Current State: 35:[43, 35, 0], Operations: ['65-65=0']
Exploring Operation: 43*0=0, Resulting Numbers: [35, 0]
Generated Node #0,0,2: 35:[35, 0] Operation: 43*0=0
Moving to Node #0,0,2
Current State: 35:[35, 0], Operations: ['65-65=0', '43*0=0']
Exploring Operation: 35+0=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
60,
89,
69,
18
] | 22 | [
"89-60=29",
"69-18=51",
"51-29=22"
] | Current State: 22:[60, 89, 69, 18], Operations: []
Exploring Operation: 89-60=29, Resulting Numbers: [69, 18, 29]
Generated Node #2: [69, 18, 29] from Operation: 89-60=29
Current State: 22:[69, 18, 29], Operations: ['89-60=29']
Exploring Operation: 69-18=51, Resulting Numbers: [29, 51]
Generated Node #3: [29, 51] from Operation: 69-18=51
Current State: 22:[29, 51], Operations: ['89-60=29', '69-18=51']
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[60, 89, 69, 18], Operations: []
Exploring Operation: 89-69=20, Resulting Numbers: [60, 18, 20]
Generated Node #0,0: 22:[60, 18, 20] Operation: 89-69=20
Exploring Operation: 89-60=29, Resulting Numbers: [69, 18, 29]
Generated Node #0,1: 22:[69, 18, 29] Operation: 89-60=29
Moving to Node #0,0
Current State: 22:[60, 18, 20], Operations: ['89-69=20']
Exploring Operation: 60/20=3, Resulting Numbers: [18, 3]
Generated Node #0,0,0: 22:[18, 3] Operation: 60/20=3
Exploring Operation: 60-18=42, Resulting Numbers: [20, 42]
Generated Node #0,0,1: 22:[20, 42] Operation: 60-18=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[18, 3], Operations: ['89-69=20', '60/20=3']
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[20, 42], Operations: ['89-69=20', '60-18=42']
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[60, 89, 69, 18], Operations: []
Exploring Operation: 89-69=20, Resulting Numbers: [60, 18, 20]
Generated Node #0,0: 22:[60, 18, 20] Operation: 89-69=20
Moving to Node #0,0
Current State: 22:[60, 18, 20], Operations: ['89-69=20']
Exploring Operation: 60-18=42, Resulting Numbers: [20, 42]
Generated Node #0,0,1: 22:[20, 42] Operation: 60-18=42
Moving to Node #0,0,1
Current State: 22:[20, 42], Operations: ['89-69=20', '60-18=42']
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
74,
6,
39,
90
] | 32 | [
"74*39=2886",
"2886-6=2880",
"2880/90=32"
] | Current State: 32:[74, 6, 39, 90], Operations: []
Exploring Operation: 74*39=2886, Resulting Numbers: [6, 90, 2886]
Generated Node #2: [6, 90, 2886] from Operation: 74*39=2886
Current State: 32:[6, 90, 2886], Operations: ['74*39=2886']
Exploring Operation: 2886-6=2880, Resulting Numbers: [90, 2880]
Generated Node #3: [90, 2880] from Operation: 2886-6=2880
Current State: 32:[90, 2880], Operations: ['74*39=2886', '2886-6=2880']
Exploring Operation: 2880/90=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[74, 6, 39, 90], Operations: []
Exploring Operation: 74-6=68, Resulting Numbers: [39, 90, 68]
Generated Node #0,0: 32:[39, 90, 68] Operation: 74-6=68
Exploring Operation: 90-74=16, Resulting Numbers: [6, 39, 16]
Generated Node #0,1: 32:[6, 39, 16] Operation: 90-74=16
Exploring Operation: 74-39=35, Resulting Numbers: [6, 90, 35]
Generated Node #0,2: 32:[6, 90, 35] Operation: 74-39=35
Exploring Operation: 90/6=15, Resulting Numbers: [74, 39, 15]
Generated Node #0,3: 32:[74, 39, 15] Operation: 90/6=15
Exploring Operation: 90-39=51, Resulting Numbers: [74, 6, 51]
Generated Node #0,4: 32:[74, 6, 51] Operation: 90-39=51
Moving to Node #0,1
Current State: 32:[6, 39, 16], Operations: ['90-74=16']
Exploring Operation: 6+39=45, Resulting Numbers: [16, 45]
Generated Node #0,1,0: 32:[16, 45] Operation: 6+39=45
Exploring Operation: 39-6=33, Resulting Numbers: [16, 33]
Generated Node #0,1,1: 32:[16, 33] Operation: 39-6=33
Exploring Operation: 16-6=10, Resulting Numbers: [39, 10]
Generated Node #0,1,2: 32:[39, 10] Operation: 16-6=10
Exploring Operation: 6+16=22, Resulting Numbers: [39, 22]
Generated Node #0,1,3: 32:[39, 22] Operation: 6+16=22
Exploring Operation: 39-16=23, Resulting Numbers: [6, 23]
Generated Node #0,1,4: 32:[6, 23] Operation: 39-16=23
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[16, 33], Operations: ['90-74=16', '39-6=33']
Exploring Operation: 16*33=528, Resulting Numbers: [528]
528,32 unequal: No Solution
Exploring Operation: 16+33=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,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,1,2
Current State: 32:[39, 10], Operations: ['90-74=16', '16-6=10']
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 39*10=390, Resulting Numbers: [390]
390,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,1,4
Current State: 32:[6, 23], Operations: ['90-74=16', '39-16=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,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,1,0
Current State: 32:[16, 45], Operations: ['90-74=16', '6+39=45']
Exploring Operation: 16*45=720, Resulting Numbers: [720]
720,32 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 16+45=61, Resulting Numbers: [61]
61,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,1,3
Current State: 32:[39, 22], Operations: ['90-74=16', '6+16=22']
Exploring Operation: 39+22=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 39*22=858, Resulting Numbers: [858]
858,32 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: 32:[74, 39, 15], Operations: ['90/6=15']
Exploring Operation: 39+15=54, Resulting Numbers: [74, 54]
Generated Node #0,3,0: 32:[74, 54] Operation: 39+15=54
Exploring Operation: 74+15=89, Resulting Numbers: [39, 89]
Generated Node #0,3,1: 32:[39, 89] Operation: 74+15=89
Exploring Operation: 39-15=24, Resulting Numbers: [74, 24]
Generated Node #0,3,2: 32:[74, 24] Operation: 39-15=24
Exploring Operation: 74-39=35, Resulting Numbers: [15, 35]
Generated Node #0,3,3: 32:[15, 35] Operation: 74-39=35
Exploring Operation: 74-15=59, Resulting Numbers: [39, 59]
Generated Node #0,3,4: 32:[39, 59] Operation: 74-15=59
Moving to Node #0,2
Current State: 32:[6, 90, 35], Operations: ['74-39=35']
Exploring Operation: 90-35=55, Resulting Numbers: [6, 55]
Generated Node #0,2,0: 32:[6, 55] Operation: 90-35=55
Exploring Operation: 35-6=29, Resulting Numbers: [90, 29]
Generated Node #0,2,1: 32:[90, 29] Operation: 35-6=29
Exploring Operation: 6+90=96, Resulting Numbers: [35, 96]
Generated Node #0,2,2: 32:[35, 96] Operation: 6+90=96
Exploring Operation: 90/6=15, Resulting Numbers: [35, 15]
Generated Node #0,2,3: 32:[35, 15] Operation: 90/6=15
Exploring Operation: 90-6=84, Resulting Numbers: [35, 84]
Generated Node #0,2,4: 32:[35, 84] Operation: 90-6=84
Moving to Node #0,4
Current State: 32:[74, 6, 51], Operations: ['90-39=51']
Exploring Operation: 74+6=80, Resulting Numbers: [51, 80]
Generated Node #0,4,0: 32:[51, 80] Operation: 74+6=80
Exploring Operation: 74-51=23, Resulting Numbers: [6, 23]
Generated Node #0,4,1: 32:[6, 23] Operation: 74-51=23
Exploring Operation: 74-6=68, Resulting Numbers: [51, 68]
Generated Node #0,4,2: 32:[51, 68] Operation: 74-6=68
Exploring Operation: 51-6=45, Resulting Numbers: [74, 45]
Generated Node #0,4,3: 32:[74, 45] Operation: 51-6=45
Exploring Operation: 6+51=57, Resulting Numbers: [74, 57]
Generated Node #0,4,4: 32:[74, 57] Operation: 6+51=57
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 32:[6, 23], Operations: ['90-39=51', '74-51=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,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,4,2
Current State: 32:[51, 68], Operations: ['90-39=51', '74-6=68']
Exploring Operation: 51+68=119, Resulting Numbers: [119]
119,32 unequal: No Solution
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 51*68=3468, Resulting Numbers: [3468]
3468,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,4,3
Current State: 32:[74, 45], Operations: ['90-39=51', '51-6=45']
Exploring Operation: 74*45=3330, Resulting Numbers: [3330]
3330,32 unequal: No Solution
Exploring Operation: 74-45=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 74+45=119, Resulting Numbers: [119]
119,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,4,0
Current State: 32:[51, 80], Operations: ['90-39=51', '74+6=80']
Exploring Operation: 51+80=131, Resulting Numbers: [131]
131,32 unequal: No Solution
Exploring Operation: 51*80=4080, Resulting Numbers: [4080]
4080,32 unequal: No Solution
Exploring Operation: 80-51=29, Resulting Numbers: [29]
29,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,4,4
Current State: 32:[74, 57], Operations: ['90-39=51', '6+51=57']
Exploring Operation: 74*57=4218, Resulting Numbers: [4218]
4218,32 unequal: No Solution
Exploring Operation: 74+57=131, Resulting Numbers: [131]
131,32 unequal: No Solution
Exploring Operation: 74-57=17, Resulting Numbers: [17]
17,32 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: 32:[39, 90, 68], Operations: ['74-6=68']
Exploring Operation: 39+68=107, Resulting Numbers: [90, 107]
Generated Node #0,0,0: 32:[90, 107] Operation: 39+68=107
Exploring Operation: 90-39=51, Resulting Numbers: [68, 51]
Generated Node #0,0,1: 32:[68, 51] Operation: 90-39=51
Exploring Operation: 68-39=29, Resulting Numbers: [90, 29]
Generated Node #0,0,2: 32:[90, 29] Operation: 68-39=29
Exploring Operation: 39+90=129, Resulting Numbers: [68, 129]
Generated Node #0,0,3: 32:[68, 129] Operation: 39+90=129
Exploring Operation: 90-68=22, Resulting Numbers: [39, 22]
Generated Node #0,0,4: 32:[39, 22] Operation: 90-68=22
Moving to Node #0,3,3
Current State: 32:[15, 35], Operations: ['90/6=15', '74-39=35']
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,32 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,32 unequal: No Solution
Moving to Node #0,2,3
Current State: 32:[35, 15], Operations: ['74-39=35', '90/6=15']
Exploring Operation: 35+15=50, Resulting Numbers: [50]
50,32 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 35*15=525, Resulting Numbers: [525]
525,32 unequal: No Solution
Moving to Node #0,0,4
Current State: 32:[39, 22], Operations: ['74-6=68', '90-68=22']
Exploring Operation: 39*22=858, Resulting Numbers: [858]
858,32 unequal: No Solution
Exploring Operation: 39+22=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[6, 55], Operations: ['74-39=35', '90-35=55']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 6*55=330, Resulting Numbers: [330]
330,32 unequal: No Solution
Exploring Operation: 6+55=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Moving to Node #0,3,4
Current State: 32:[39, 59], Operations: ['90/6=15', '74-15=59']
Exploring Operation: 39+59=98, Resulting Numbers: [98]
98,32 unequal: No Solution
Exploring Operation: 39*59=2301, Resulting Numbers: [2301]
2301,32 unequal: No Solution
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Moving to Node #0,3,2
Current State: 32:[74, 24], Operations: ['90/6=15', '39-15=24']
Exploring Operation: 74+24=98, Resulting Numbers: [98]
98,32 unequal: No Solution
Exploring Operation: 74*24=1776, Resulting Numbers: [1776]
1776,32 unequal: No Solution
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[68, 51], Operations: ['74-6=68', '90-39=51']
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 68+51=119, Resulting Numbers: [119]
119,32 unequal: No Solution
Exploring Operation: 68*51=3468, Resulting Numbers: [3468]
3468,32 unequal: No Solution
Moving to Node #0,2,4
Current State: 32:[35, 84], Operations: ['74-39=35', '90-6=84']
Exploring Operation: 35*84=2940, Resulting Numbers: [2940]
2940,32 unequal: No Solution
Exploring Operation: 35+84=119, Resulting Numbers: [119]
119,32 unequal: No Solution
Exploring Operation: 84-35=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[90, 29], Operations: ['74-39=35', '35-6=29']
Exploring Operation: 90+29=119, Resulting Numbers: [119]
119,32 unequal: No Solution
Exploring Operation: 90*29=2610, Resulting Numbers: [2610]
2610,32 unequal: No Solution
Exploring Operation: 90-29=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[90, 29], Operations: ['74-6=68', '68-39=29']
Exploring Operation: 90+29=119, Resulting Numbers: [119]
119,32 unequal: No Solution
Exploring Operation: 90*29=2610, Resulting Numbers: [2610]
2610,32 unequal: No Solution
Exploring Operation: 90-29=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Moving to Node #0,3,1
Current State: 32:[39, 89], Operations: ['90/6=15', '74+15=89']
Exploring Operation: 39+89=128, Resulting Numbers: [128]
128,32 unequal: No Solution
Exploring Operation: 39*89=3471, Resulting Numbers: [3471]
3471,32 unequal: No Solution
Exploring Operation: 89-39=50, Resulting Numbers: [50]
50,32 unequal: No Solution
Moving to Node #0,3,0
Current State: 32:[74, 54], Operations: ['90/6=15', '39+15=54']
Exploring Operation: 74*54=3996, Resulting Numbers: [3996]
3996,32 unequal: No Solution
Exploring Operation: 74-54=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 74+54=128, Resulting Numbers: [128]
128,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[35, 96], Operations: ['74-39=35', '6+90=96']
Exploring Operation: 96-35=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Exploring Operation: 35+96=131, Resulting Numbers: [131]
131,32 unequal: No Solution
Exploring Operation: 35*96=3360, Resulting Numbers: [3360]
3360,32 unequal: No Solution
Moving to Node #0,0,3
Current State: 32:[68, 129], Operations: ['74-6=68', '39+90=129']
Exploring Operation: 68*129=8772, Resulting Numbers: [8772]
8772,32 unequal: No Solution
Exploring Operation: 68+129=197, Resulting Numbers: [197]
197,32 unequal: No Solution
Exploring Operation: 129-68=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[90, 107], Operations: ['74-6=68', '39+68=107']
Exploring Operation: 107-90=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 90*107=9630, Resulting Numbers: [9630]
9630,32 unequal: No Solution
Exploring Operation: 90+107=197, Resulting Numbers: [197]
197,32 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
51,
42,
36,
2
] | 27 | [
"51-42=9",
"36/2=18",
"9+18=27"
] | Current State: 27:[51, 42, 36, 2], Operations: []
Exploring Operation: 51-42=9, Resulting Numbers: [36, 2, 9]
Generated Node #2: [36, 2, 9] from Operation: 51-42=9
Current State: 27:[36, 2, 9], Operations: ['51-42=9']
Exploring Operation: 36/2=18, Resulting Numbers: [9, 18]
Generated Node #3: [9, 18] from Operation: 36/2=18
Current State: 27:[9, 18], Operations: ['51-42=9', '36/2=18']
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[51, 42, 36, 2], Operations: []
Exploring Operation: 51-42=9, Resulting Numbers: [36, 2, 9]
Generated Node #0,0: 27:[36, 2, 9] Operation: 51-42=9
Exploring Operation: 42-36=6, Resulting Numbers: [51, 2, 6]
Generated Node #0,1: 27:[51, 2, 6] Operation: 42-36=6
Exploring Operation: 51-36=15, Resulting Numbers: [42, 2, 15]
Generated Node #0,2: 27:[42, 2, 15] Operation: 51-36=15
Moving to Node #0,0
Current State: 27:[36, 2, 9], Operations: ['51-42=9']
Exploring Operation: 36-2=34, Resulting Numbers: [9, 34]
Generated Node #0,0,0: 27:[9, 34] Operation: 36-2=34
Exploring Operation: 36-9=27, Resulting Numbers: [2, 27]
Generated Node #0,0,1: 27:[2, 27] Operation: 36-9=27
Exploring Operation: 36/9=4, Resulting Numbers: [2, 4]
Generated Node #0,0,2: 27:[2, 4] Operation: 36/9=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[2, 27], Operations: ['51-42=9', '36-9=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,27 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 27:[2, 4], Operations: ['51-42=9', '36/9=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[9, 34], Operations: ['51-42=9', '36-2=34']
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,27 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,27 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: 27:[42, 2, 15], Operations: ['51-36=15']
Exploring Operation: 42/2=21, Resulting Numbers: [15, 21]
Generated Node #0,2,0: 27:[15, 21] Operation: 42/2=21
Exploring Operation: 42-15=27, Resulting Numbers: [2, 27]
Generated Node #0,2,1: 27:[2, 27] Operation: 42-15=27
Exploring Operation: 2*15=30, Resulting Numbers: [42, 30]
Generated Node #0,2,2: 27:[42, 30] Operation: 2*15=30
Moving to Node #0,1
Current State: 27:[51, 2, 6], Operations: ['42-36=6']
Exploring Operation: 51-2=49, Resulting Numbers: [6, 49]
Generated Node #0,1,0: 27:[6, 49] Operation: 51-2=49
Exploring Operation: 51-6=45, Resulting Numbers: [2, 45]
Generated Node #0,1,1: 27:[2, 45] Operation: 51-6=45
Exploring Operation: 6/2=3, Resulting Numbers: [51, 3]
Generated Node #0,1,2: 27:[51, 3] Operation: 6/2=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[2, 45], Operations: ['42-36=6', '51-6=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,27 unequal: No Solution
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,27 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 27:[51, 3], Operations: ['42-36=6', '6/2=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,27 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 27:[6, 49], Operations: ['42-36=6', '51-2=49']
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,27 unequal: No Solution
Exploring Operation: 6*49=294, Resulting Numbers: [294]
294,27 unequal: No Solution
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 27:[2, 27], Operations: ['51-36=15', '42-15=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,27 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[15, 21], Operations: ['51-36=15', '42/2=21']
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,27 unequal: No Solution
Exploring Operation: 15*21=315, Resulting Numbers: [315]
315,27 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[42, 30], Operations: ['51-36=15', '2*15=30']
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,27 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,27 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
53,
63,
53,
92
] | 92 | [
"53-53=0",
"63*0=0",
"92+0=92"
] | Current State: 92:[53, 63, 53, 92], Operations: []
Exploring Operation: 53-53=0, Resulting Numbers: [63, 92, 0]
Generated Node #2: [63, 92, 0] from Operation: 53-53=0
Current State: 92:[63, 92, 0], Operations: ['53-53=0']
Exploring Operation: 63*0=0, Resulting Numbers: [92, 0]
Generated Node #3: [92, 0] from Operation: 63*0=0
Current State: 92:[92, 0], Operations: ['53-53=0', '63*0=0']
Exploring Operation: 92+0=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[53, 63, 53, 92], Operations: []
Exploring Operation: 53-53=0, Resulting Numbers: [63, 92, 0]
Generated Node #0,0: 92:[63, 92, 0] Operation: 53-53=0
Exploring Operation: 63-53=10, Resulting Numbers: [53, 92, 10]
Generated Node #0,1: 92:[53, 92, 10] Operation: 63-53=10
Exploring Operation: 63-53=10, Resulting Numbers: [53, 92, 10]
Generated Node #0,2: 92:[53, 92, 10] Operation: 63-53=10
Exploring Operation: 53/53=1, Resulting Numbers: [63, 92, 1]
Generated Node #0,3: 92:[63, 92, 1] Operation: 53/53=1
Exploring Operation: 92-63=29, Resulting Numbers: [53, 53, 29]
Generated Node #0,4: 92:[53, 53, 29] Operation: 92-63=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[53, 92, 10], Operations: ['63-53=10']
Exploring Operation: 53+10=63, Resulting Numbers: [92, 63]
Generated Node #0,1,0: 92:[92, 63] Operation: 53+10=63
Exploring Operation: 53-10=43, Resulting Numbers: [92, 43]
Generated Node #0,1,1: 92:[92, 43] Operation: 53-10=43
Exploring Operation: 92+10=102, Resulting Numbers: [53, 102]
Generated Node #0,1,2: 92:[53, 102] Operation: 92+10=102
Exploring Operation: 92-10=82, Resulting Numbers: [53, 82]
Generated Node #0,1,3: 92:[53, 82] Operation: 92-10=82
Exploring Operation: 92-53=39, Resulting Numbers: [10, 39]
Generated Node #0,1,4: 92:[10, 39] Operation: 92-53=39
Moving to Node #0,1,1
Current State: 92:[92, 43], Operations: ['63-53=10', '53-10=43']
Exploring Operation: 92+43=135, Resulting Numbers: [135]
135,92 unequal: No Solution
Exploring Operation: 92-43=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 92*43=3956, Resulting Numbers: [3956]
3956,92 unequal: No Solution
Moving to Node #0,1,4
Current State: 92:[10, 39], Operations: ['63-53=10', '92-53=39']
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 10*39=390, Resulting Numbers: [390]
390,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[92, 63], Operations: ['63-53=10', '53+10=63']
Exploring Operation: 92-63=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 92+63=155, Resulting Numbers: [155]
155,92 unequal: No Solution
Exploring Operation: 92*63=5796, Resulting Numbers: [5796]
5796,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[53, 102], Operations: ['63-53=10', '92+10=102']
Exploring Operation: 53+102=155, Resulting Numbers: [155]
155,92 unequal: No Solution
Exploring Operation: 53*102=5406, Resulting Numbers: [5406]
5406,92 unequal: No Solution
Exploring Operation: 102-53=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[53, 82], Operations: ['63-53=10', '92-10=82']
Exploring Operation: 53+82=135, Resulting Numbers: [135]
135,92 unequal: No Solution
Exploring Operation: 53*82=4346, Resulting Numbers: [4346]
4346,92 unequal: No Solution
Exploring Operation: 82-53=29, Resulting Numbers: [29]
29,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[53, 92, 10], Operations: ['63-53=10']
Exploring Operation: 92-10=82, Resulting Numbers: [53, 82]
Generated Node #0,2,0: 92:[53, 82] Operation: 92-10=82
Exploring Operation: 53-10=43, Resulting Numbers: [92, 43]
Generated Node #0,2,1: 92:[92, 43] Operation: 53-10=43
Exploring Operation: 92+10=102, Resulting Numbers: [53, 102]
Generated Node #0,2,2: 92:[53, 102] Operation: 92+10=102
Exploring Operation: 92-53=39, Resulting Numbers: [10, 39]
Generated Node #0,2,3: 92:[10, 39] Operation: 92-53=39
Exploring Operation: 53+10=63, Resulting Numbers: [92, 63]
Generated Node #0,2,4: 92:[92, 63] Operation: 53+10=63
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 92:[92, 43], Operations: ['63-53=10', '53-10=43']
Exploring Operation: 92+43=135, Resulting Numbers: [135]
135,92 unequal: No Solution
Exploring Operation: 92-43=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 92*43=3956, Resulting Numbers: [3956]
3956,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 92:[10, 39], Operations: ['63-53=10', '92-53=39']
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 10*39=390, Resulting Numbers: [390]
390,92 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 92:[53, 82], Operations: ['63-53=10', '92-10=82']
Exploring Operation: 53+82=135, Resulting Numbers: [135]
135,92 unequal: No Solution
Exploring Operation: 53*82=4346, Resulting Numbers: [4346]
4346,92 unequal: No Solution
Exploring Operation: 82-53=29, Resulting Numbers: [29]
29,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 92:[53, 102], Operations: ['63-53=10', '92+10=102']
Exploring Operation: 102-53=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 53+102=155, Resulting Numbers: [155]
155,92 unequal: No Solution
Exploring Operation: 53*102=5406, Resulting Numbers: [5406]
5406,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 92:[92, 63], Operations: ['63-53=10', '53+10=63']
Exploring Operation: 92*63=5796, Resulting Numbers: [5796]
5796,92 unequal: No Solution
Exploring Operation: 92+63=155, Resulting Numbers: [155]
155,92 unequal: No Solution
Exploring Operation: 92-63=29, Resulting Numbers: [29]
29,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[63, 92, 1], Operations: ['53/53=1']
Exploring Operation: 63/1=63, Resulting Numbers: [92, 63]
Generated Node #0,3,0: 92:[92, 63] Operation: 63/1=63
Exploring Operation: 92-63=29, Resulting Numbers: [1, 29]
Generated Node #0,3,1: 92:[1, 29] Operation: 92-63=29
Exploring Operation: 63-1=62, Resulting Numbers: [92, 62]
Generated Node #0,3,2: 92:[92, 62] Operation: 63-1=62
Exploring Operation: 92*1=92, Resulting Numbers: [63, 92]
Generated Node #0,3,3: 92:[63, 92] Operation: 92*1=92
Exploring Operation: 63*1=63, Resulting Numbers: [92, 63]
Generated Node #0,3,4: 92:[92, 63] Operation: 63*1=63
Moving to Node #0,3,1
Current State: 92:[1, 29], Operations: ['53/53=1', '92-63=29']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Moving to Node #0,3,2
Current State: 92:[92, 62], Operations: ['53/53=1', '63-1=62']
Exploring Operation: 92*62=5704, Resulting Numbers: [5704]
5704,92 unequal: No Solution
Exploring Operation: 92-62=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 92+62=154, Resulting Numbers: [154]
154,92 unequal: No Solution
Moving to Node #0,3,0
Current State: 92:[92, 63], Operations: ['53/53=1', '63/1=63']
Exploring Operation: 92*63=5796, Resulting Numbers: [5796]
5796,92 unequal: No Solution
Exploring Operation: 92+63=155, Resulting Numbers: [155]
155,92 unequal: No Solution
Exploring Operation: 92-63=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Moving to Node #0,3,3
Current State: 92:[63, 92], Operations: ['53/53=1', '92*1=92']
Exploring Operation: 63+92=155, Resulting Numbers: [155]
155,92 unequal: No Solution
Exploring Operation: 63*92=5796, Resulting Numbers: [5796]
5796,92 unequal: No Solution
Exploring Operation: 92-63=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Moving to Node #0,3,4
Current State: 92:[92, 63], Operations: ['53/53=1', '63*1=63']
Exploring Operation: 92+63=155, Resulting Numbers: [155]
155,92 unequal: No Solution
Exploring Operation: 92*63=5796, Resulting Numbers: [5796]
5796,92 unequal: No Solution
Exploring Operation: 92-63=29, Resulting Numbers: [29]
29,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[63, 92, 0], Operations: ['53-53=0']
Exploring Operation: 63*0=0, Resulting Numbers: [92, 0]
Generated Node #0,0,0: 92:[92, 0] Operation: 63*0=0
Exploring Operation: 92+0=92, Resulting Numbers: [63, 92]
Generated Node #0,0,1: 92:[63, 92] Operation: 92+0=92
Exploring Operation: 63-0=63, Resulting Numbers: [92, 63]
Generated Node #0,0,2: 92:[92, 63] Operation: 63-0=63
Exploring Operation: 92-63=29, Resulting Numbers: [0, 29]
Generated Node #0,0,3: 92:[0, 29] Operation: 92-63=29
Exploring Operation: 63+0=63, Resulting Numbers: [92, 63]
Generated Node #0,0,4: 92:[92, 63] Operation: 63+0=63
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[92, 0], Operations: ['53-53=0', '63*0=0']
Exploring Operation: 92*0=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 92+0=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[53, 63, 53, 92], Operations: []
Exploring Operation: 53-53=0, Resulting Numbers: [63, 92, 0]
Generated Node #0,0: 92:[63, 92, 0] Operation: 53-53=0
Moving to Node #0,0
Current State: 92:[63, 92, 0], Operations: ['53-53=0']
Exploring Operation: 63*0=0, Resulting Numbers: [92, 0]
Generated Node #0,0,0: 92:[92, 0] Operation: 63*0=0
Moving to Node #0,0,0
Current State: 92:[92, 0], Operations: ['53-53=0', '63*0=0']
Exploring Operation: 92+0=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.93316 | hs_5 | mult_heuristic |
[
33,
68,
12,
87
] | 64 | [
"68-33=35",
"12+87=99",
"99-35=64"
] | Current State: 64:[33, 68, 12, 87], Operations: []
Exploring Operation: 68-33=35, Resulting Numbers: [12, 87, 35]
Generated Node #2: [12, 87, 35] from Operation: 68-33=35
Current State: 64:[12, 87, 35], Operations: ['68-33=35']
Exploring Operation: 12+87=99, Resulting Numbers: [35, 99]
Generated Node #3: [35, 99] from Operation: 12+87=99
Current State: 64:[35, 99], Operations: ['68-33=35', '12+87=99']
Exploring Operation: 99-35=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[33, 68, 12, 87], Operations: []
Exploring Operation: 87-33=54, Resulting Numbers: [68, 12, 54]
Generated Node #0,0: 64:[68, 12, 54] Operation: 87-33=54
Exploring Operation: 87-68=19, Resulting Numbers: [33, 12, 19]
Generated Node #0,1: 64:[33, 12, 19] Operation: 87-68=19
Exploring Operation: 87-12=75, Resulting Numbers: [33, 68, 75]
Generated Node #0,2: 64:[33, 68, 75] Operation: 87-12=75
Exploring Operation: 68-33=35, Resulting Numbers: [12, 87, 35]
Generated Node #0,3: 64:[12, 87, 35] Operation: 68-33=35
Exploring Operation: 33-12=21, Resulting Numbers: [68, 87, 21]
Generated Node #0,4: 64:[68, 87, 21] Operation: 33-12=21
Moving to Node #0,1
Current State: 64:[33, 12, 19], Operations: ['87-68=19']
Exploring Operation: 33-12=21, Resulting Numbers: [19, 21]
Generated Node #0,1,0: 64:[19, 21] Operation: 33-12=21
Exploring Operation: 12+19=31, Resulting Numbers: [33, 31]
Generated Node #0,1,1: 64:[33, 31] Operation: 12+19=31
Exploring Operation: 33+12=45, Resulting Numbers: [19, 45]
Generated Node #0,1,2: 64:[19, 45] Operation: 33+12=45
Exploring Operation: 19-12=7, Resulting Numbers: [33, 7]
Generated Node #0,1,3: 64:[33, 7] Operation: 19-12=7
Exploring Operation: 33-19=14, Resulting Numbers: [12, 14]
Generated Node #0,1,4: 64:[12, 14] Operation: 33-19=14
Moving to Node #0,2
Current State: 64:[33, 68, 75], Operations: ['87-12=75']
Exploring Operation: 75-68=7, Resulting Numbers: [33, 7]
Generated Node #0,2,0: 64:[33, 7] Operation: 75-68=7
Exploring Operation: 68-33=35, Resulting Numbers: [75, 35]
Generated Node #0,2,1: 64:[75, 35] Operation: 68-33=35
Exploring Operation: 33+68=101, Resulting Numbers: [75, 101]
Generated Node #0,2,2: 64:[75, 101] Operation: 33+68=101
Exploring Operation: 75-33=42, Resulting Numbers: [68, 42]
Generated Node #0,2,3: 64:[68, 42] Operation: 75-33=42
Exploring Operation: 33+75=108, Resulting Numbers: [68, 108]
Generated Node #0,2,4: 64:[68, 108] Operation: 33+75=108
Moving to Node #0,0
Current State: 64:[68, 12, 54], Operations: ['87-33=54']
Exploring Operation: 68+12=80, Resulting Numbers: [54, 80]
Generated Node #0,0,0: 64:[54, 80] Operation: 68+12=80
Exploring Operation: 68-12=56, Resulting Numbers: [54, 56]
Generated Node #0,0,1: 64:[54, 56] Operation: 68-12=56
Exploring Operation: 54-12=42, Resulting Numbers: [68, 42]
Generated Node #0,0,2: 64:[68, 42] Operation: 54-12=42
Exploring Operation: 68-54=14, Resulting Numbers: [12, 14]
Generated Node #0,0,3: 64:[12, 14] Operation: 68-54=14
Exploring Operation: 12+54=66, Resulting Numbers: [68, 66]
Generated Node #0,0,4: 64:[68, 66] Operation: 12+54=66
Moving to Node #0,3
Current State: 64:[12, 87, 35], Operations: ['68-33=35']
Exploring Operation: 87-12=75, Resulting Numbers: [35, 75]
Generated Node #0,3,0: 64:[35, 75] Operation: 87-12=75
Exploring Operation: 12+35=47, Resulting Numbers: [87, 47]
Generated Node #0,3,1: 64:[87, 47] Operation: 12+35=47
Exploring Operation: 12+87=99, Resulting Numbers: [35, 99]
Generated Node #0,3,2: 64:[35, 99] Operation: 12+87=99
Exploring Operation: 35-12=23, Resulting Numbers: [87, 23]
Generated Node #0,3,3: 64:[87, 23] Operation: 35-12=23
Exploring Operation: 87-35=52, Resulting Numbers: [12, 52]
Generated Node #0,3,4: 64:[12, 52] Operation: 87-35=52
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 64:[35, 75], Operations: ['68-33=35', '87-12=75']
Exploring Operation: 35+75=110, Resulting Numbers: [110]
110,64 unequal: No Solution
Exploring Operation: 35*75=2625, Resulting Numbers: [2625]
2625,64 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 64:[12, 52], Operations: ['68-33=35', '87-35=52']
Exploring Operation: 12*52=624, Resulting Numbers: [624]
624,64 unequal: No Solution
Exploring Operation: 12+52=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[33, 68, 12, 87], Operations: []
Exploring Operation: 68-33=35, Resulting Numbers: [12, 87, 35]
Generated Node #0,3: 64:[12, 87, 35] Operation: 68-33=35
Moving to Node #0,3
Current State: 64:[12, 87, 35], Operations: ['68-33=35']
Exploring Operation: 87-35=52, Resulting Numbers: [12, 52]
Generated Node #0,3,4: 64:[12, 52] Operation: 87-35=52
Moving to Node #0,3,4
Current State: 64:[12, 52], Operations: ['68-33=35', '87-35=52']
Exploring Operation: 12+52=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_5 | sum_heuristic |
[
98,
12,
10,
91
] | 58 | [
"98-91=7",
"10*7=70",
"70-12=58"
] | Current State: 58:[98, 12, 10, 91], Operations: []
Exploring Operation: 98-91=7, Resulting Numbers: [12, 10, 7]
Generated Node #2: [12, 10, 7] from Operation: 98-91=7
Current State: 58:[12, 10, 7], Operations: ['98-91=7']
Exploring Operation: 10*7=70, Resulting Numbers: [12, 70]
Generated Node #3: [12, 70] from Operation: 10*7=70
Current State: 58:[12, 70], Operations: ['98-91=7', '10*7=70']
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[98, 12, 10, 91], Operations: []
Exploring Operation: 98-91=7, Resulting Numbers: [12, 10, 7]
Generated Node #0,0: 58:[12, 10, 7] Operation: 98-91=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[12, 10, 7], Operations: ['98-91=7']
Exploring Operation: 12-10=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 58:[7, 2] Operation: 12-10=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[7, 2], Operations: ['98-91=7', '12-10=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
99,
98,
46,
79
] | 33 | [
"99-98=1",
"79-46=33",
"1*33=33"
] | Current State: 33:[99, 98, 46, 79], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [46, 79, 1]
Generated Node #2: [46, 79, 1] from Operation: 99-98=1
Current State: 33:[46, 79, 1], Operations: ['99-98=1']
Exploring Operation: 79-46=33, Resulting Numbers: [1, 33]
Generated Node #3: [1, 33] from Operation: 79-46=33
Current State: 33:[1, 33], Operations: ['99-98=1', '79-46=33']
Exploring Operation: 1*33=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[99, 98, 46, 79], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [46, 79, 1]
Generated Node #0,0: 33:[46, 79, 1] Operation: 99-98=1
Moving to Node #0,0
Current State: 33:[46, 79, 1], Operations: ['99-98=1']
Exploring Operation: 79-46=33, Resulting Numbers: [1, 33]
Generated Node #0,0,0: 33:[1, 33] Operation: 79-46=33
Moving to Node #0,0,0
Current State: 33:[1, 33], Operations: ['99-98=1', '79-46=33']
Exploring Operation: 1*33=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[99, 98, 46, 79], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [46, 79, 1]
Generated Node #0,0: 33:[46, 79, 1] Operation: 99-98=1
Moving to Node #0,0
Current State: 33:[46, 79, 1], Operations: ['99-98=1']
Exploring Operation: 79-46=33, Resulting Numbers: [1, 33]
Generated Node #0,0,0: 33:[1, 33] Operation: 79-46=33
Moving to Node #0,0,0
Current State: 33:[1, 33], Operations: ['99-98=1', '79-46=33']
Exploring Operation: 1*33=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
76,
26,
67,
78
] | 95 | [
"76-26=50",
"67+78=145",
"145-50=95"
] | Current State: 95:[76, 26, 67, 78], Operations: []
Exploring Operation: 76-26=50, Resulting Numbers: [67, 78, 50]
Generated Node #2: [67, 78, 50] from Operation: 76-26=50
Current State: 95:[67, 78, 50], Operations: ['76-26=50']
Exploring Operation: 67+78=145, Resulting Numbers: [50, 145]
Generated Node #3: [50, 145] from Operation: 67+78=145
Current State: 95:[50, 145], Operations: ['76-26=50', '67+78=145']
Exploring Operation: 145-50=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[76, 26, 67, 78], Operations: []
Exploring Operation: 26+67=93, Resulting Numbers: [76, 78, 93]
Generated Node #0,0: 95:[76, 78, 93] Operation: 26+67=93
Exploring Operation: 78/26=3, Resulting Numbers: [76, 67, 3]
Generated Node #0,1: 95:[76, 67, 3] Operation: 78/26=3
Exploring Operation: 76-67=9, Resulting Numbers: [26, 78, 9]
Generated Node #0,2: 95:[26, 78, 9] Operation: 76-67=9
Exploring Operation: 78-67=11, Resulting Numbers: [76, 26, 11]
Generated Node #0,3: 95:[76, 26, 11] Operation: 78-67=11
Exploring Operation: 78-76=2, Resulting Numbers: [26, 67, 2]
Generated Node #0,4: 95:[26, 67, 2] Operation: 78-76=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[26, 78, 9], Operations: ['76-67=9']
Exploring Operation: 26+78=104, Resulting Numbers: [9, 104]
Generated Node #0,2,0: 95:[9, 104] Operation: 26+78=104
Exploring Operation: 78/26=3, Resulting Numbers: [9, 3]
Generated Node #0,2,1: 95:[9, 3] Operation: 78/26=3
Exploring Operation: 78+9=87, Resulting Numbers: [26, 87]
Generated Node #0,2,2: 95:[26, 87] Operation: 78+9=87
Exploring Operation: 26+9=35, Resulting Numbers: [78, 35]
Generated Node #0,2,3: 95:[78, 35] Operation: 26+9=35
Exploring Operation: 26-9=17, Resulting Numbers: [78, 17]
Generated Node #0,2,4: 95:[78, 17] Operation: 26-9=17
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 95:[9, 3], Operations: ['76-67=9', '78/26=3']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,95 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,95 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 95:[9, 104], Operations: ['76-67=9', '26+78=104']
Exploring Operation: 104-9=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[76, 26, 67, 78], Operations: []
Exploring Operation: 76-67=9, Resulting Numbers: [26, 78, 9]
Generated Node #0,2: 95:[26, 78, 9] Operation: 76-67=9
Moving to Node #0,2
Current State: 95:[26, 78, 9], Operations: ['76-67=9']
Exploring Operation: 26+78=104, Resulting Numbers: [9, 104]
Generated Node #0,2,0: 95:[9, 104] Operation: 26+78=104
Moving to Node #0,2,0
Current State: 95:[9, 104], Operations: ['76-67=9', '26+78=104']
Exploring Operation: 104-9=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
92,
5,
55,
30
] | 73 | [
"92-30=62",
"55/5=11",
"62+11=73"
] | Current State: 73:[92, 5, 55, 30], Operations: []
Exploring Operation: 92-30=62, Resulting Numbers: [5, 55, 62]
Generated Node #2: [5, 55, 62] from Operation: 92-30=62
Current State: 73:[5, 55, 62], Operations: ['92-30=62']
Exploring Operation: 55/5=11, Resulting Numbers: [62, 11]
Generated Node #3: [62, 11] from Operation: 55/5=11
Current State: 73:[62, 11], Operations: ['92-30=62', '55/5=11']
Exploring Operation: 62+11=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[92, 5, 55, 30], Operations: []
Exploring Operation: 5+55=60, Resulting Numbers: [92, 30, 60]
Generated Node #0,0: 73:[92, 30, 60] Operation: 5+55=60
Exploring Operation: 5+30=35, Resulting Numbers: [92, 55, 35]
Generated Node #0,1: 73:[92, 55, 35] Operation: 5+30=35
Exploring Operation: 92-5=87, Resulting Numbers: [55, 30, 87]
Generated Node #0,2: 73:[55, 30, 87] Operation: 92-5=87
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[92, 30, 60], Operations: ['5+55=60']
Exploring Operation: 92+30=122, Resulting Numbers: [60, 122]
Generated Node #0,0,0: 73:[60, 122] Operation: 92+30=122
Exploring Operation: 92-30=62, Resulting Numbers: [60, 62]
Generated Node #0,0,1: 73:[60, 62] Operation: 92-30=62
Exploring Operation: 30+60=90, Resulting Numbers: [92, 90]
Generated Node #0,0,2: 73:[92, 90] Operation: 30+60=90
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[60, 62], Operations: ['5+55=60', '92-30=62']
Exploring Operation: 60*62=3720, Resulting Numbers: [3720]
3720,73 unequal: No Solution
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 60+62=122, Resulting Numbers: [122]
122,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,0,2
Current State: 73:[92, 90], Operations: ['5+55=60', '30+60=90']
Exploring Operation: 92-90=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 92+90=182, Resulting Numbers: [182]
182,73 unequal: No Solution
Exploring Operation: 92*90=8280, Resulting Numbers: [8280]
8280,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,0,0
Current State: 73:[60, 122], Operations: ['5+55=60', '92+30=122']
Exploring Operation: 60+122=182, Resulting Numbers: [182]
182,73 unequal: No Solution
Exploring Operation: 60*122=7320, Resulting Numbers: [7320]
7320,73 unequal: No Solution
Exploring Operation: 122-60=62, Resulting Numbers: [62]
62,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:[92, 55, 35], Operations: ['5+30=35']
Exploring Operation: 92+35=127, Resulting Numbers: [55, 127]
Generated Node #0,1,0: 73:[55, 127] Operation: 92+35=127
Exploring Operation: 92-35=57, Resulting Numbers: [55, 57]
Generated Node #0,1,1: 73:[55, 57] Operation: 92-35=57
Exploring Operation: 55+35=90, Resulting Numbers: [92, 90]
Generated Node #0,1,2: 73:[92, 90] Operation: 55+35=90
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[55, 57], Operations: ['5+30=35', '92-35=57']
Exploring Operation: 55*57=3135, Resulting Numbers: [3135]
3135,73 unequal: No Solution
Exploring Operation: 55+57=112, Resulting Numbers: [112]
112,73 unequal: No Solution
Exploring Operation: 57-55=2, Resulting Numbers: [2]
2,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,1,2
Current State: 73:[92, 90], Operations: ['5+30=35', '55+35=90']
Exploring Operation: 92+90=182, Resulting Numbers: [182]
182,73 unequal: No Solution
Exploring Operation: 92*90=8280, Resulting Numbers: [8280]
8280,73 unequal: No Solution
Exploring Operation: 92-90=2, Resulting Numbers: [2]
2,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,1,0
Current State: 73:[55, 127], Operations: ['5+30=35', '92+35=127']
Exploring Operation: 55+127=182, Resulting Numbers: [182]
182,73 unequal: No Solution
Exploring Operation: 55*127=6985, Resulting Numbers: [6985]
6985,73 unequal: No Solution
Exploring Operation: 127-55=72, Resulting Numbers: [72]
72,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,2
Current State: 73:[55, 30, 87], Operations: ['92-5=87']
Exploring Operation: 87-30=57, Resulting Numbers: [55, 57]
Generated Node #0,2,0: 73:[55, 57] Operation: 87-30=57
Exploring Operation: 55-30=25, Resulting Numbers: [87, 25]
Generated Node #0,2,1: 73:[87, 25] Operation: 55-30=25
Exploring Operation: 55+30=85, Resulting Numbers: [87, 85]
Generated Node #0,2,2: 73:[87, 85] Operation: 55+30=85
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 73:[87, 85], Operations: ['92-5=87', '55+30=85']
Exploring Operation: 87*85=7395, Resulting Numbers: [7395]
7395,73 unequal: No Solution
Exploring Operation: 87-85=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 87+85=172, Resulting Numbers: [172]
172,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:[55, 57], Operations: ['92-5=87', '87-30=57']
Exploring Operation: 55+57=112, Resulting Numbers: [112]
112,73 unequal: No Solution
Exploring Operation: 55*57=3135, Resulting Numbers: [3135]
3135,73 unequal: No Solution
Exploring Operation: 57-55=2, Resulting Numbers: [2]
2,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:[87, 25], Operations: ['92-5=87', '55-30=25']
Exploring Operation: 87+25=112, Resulting Numbers: [112]
112,73 unequal: No Solution
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,73 unequal: No Solution
Exploring Operation: 87*25=2175, Resulting Numbers: [2175]
2175,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
73,
77,
58,
97
] | 35 | [
"77-73=4",
"97-58=39",
"39-4=35"
] | Current State: 35:[73, 77, 58, 97], Operations: []
Exploring Operation: 77-73=4, Resulting Numbers: [58, 97, 4]
Generated Node #2: [58, 97, 4] from Operation: 77-73=4
Current State: 35:[58, 97, 4], Operations: ['77-73=4']
Exploring Operation: 97-58=39, Resulting Numbers: [4, 39]
Generated Node #3: [4, 39] from Operation: 97-58=39
Current State: 35:[4, 39], Operations: ['77-73=4', '97-58=39']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[73, 77, 58, 97], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [77, 58, 24]
Generated Node #0,0: 35:[77, 58, 24] Operation: 97-73=24
Exploring Operation: 97-58=39, Resulting Numbers: [73, 77, 39]
Generated Node #0,1: 35:[73, 77, 39] Operation: 97-58=39
Exploring Operation: 97-77=20, Resulting Numbers: [73, 58, 20]
Generated Node #0,2: 35:[73, 58, 20] Operation: 97-77=20
Moving to Node #0,2
Current State: 35:[73, 58, 20], Operations: ['97-77=20']
Exploring Operation: 58-20=38, Resulting Numbers: [73, 38]
Generated Node #0,2,0: 35:[73, 38] Operation: 58-20=38
Exploring Operation: 73-20=53, Resulting Numbers: [58, 53]
Generated Node #0,2,1: 35:[58, 53] Operation: 73-20=53
Exploring Operation: 73-58=15, Resulting Numbers: [20, 15]
Generated Node #0,2,2: 35:[20, 15] Operation: 73-58=15
Moving to Node #0,0
Current State: 35:[77, 58, 24], Operations: ['97-73=24']
Exploring Operation: 77-24=53, Resulting Numbers: [58, 53]
Generated Node #0,0,0: 35:[58, 53] Operation: 77-24=53
Exploring Operation: 58-24=34, Resulting Numbers: [77, 34]
Generated Node #0,0,1: 35:[77, 34] Operation: 58-24=34
Exploring Operation: 77-58=19, Resulting Numbers: [24, 19]
Generated Node #0,0,2: 35:[24, 19] Operation: 77-58=19
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[24, 19], Operations: ['97-73=24', '77-58=19']
Exploring Operation: 24*19=456, Resulting Numbers: [456]
456,35 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[58, 53], Operations: ['97-73=24', '77-24=53']
Exploring Operation: 58*53=3074, Resulting Numbers: [3074]
3074,35 unequal: No Solution
Exploring Operation: 58+53=111, Resulting Numbers: [111]
111,35 unequal: No Solution
Exploring Operation: 58-53=5, Resulting Numbers: [5]
5,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[77, 34], Operations: ['97-73=24', '58-24=34']
Exploring Operation: 77*34=2618, Resulting Numbers: [2618]
2618,35 unequal: No Solution
Exploring Operation: 77+34=111, Resulting Numbers: [111]
111,35 unequal: No Solution
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,35 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: 35:[73, 77, 39], Operations: ['97-58=39']
Exploring Operation: 77-73=4, Resulting Numbers: [39, 4]
Generated Node #0,1,0: 35:[39, 4] Operation: 77-73=4
Exploring Operation: 77-39=38, Resulting Numbers: [73, 38]
Generated Node #0,1,1: 35:[73, 38] Operation: 77-39=38
Exploring Operation: 73-39=34, Resulting Numbers: [77, 34]
Generated Node #0,1,2: 35:[77, 34] Operation: 73-39=34
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[39, 4], Operations: ['97-58=39', '77-73=4']
Exploring Operation: 39*4=156, Resulting Numbers: [156]
156,35 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[73, 77, 58, 97], Operations: []
Exploring Operation: 97-58=39, Resulting Numbers: [73, 77, 39]
Generated Node #0,1: 35:[73, 77, 39] Operation: 97-58=39
Moving to Node #0,1
Current State: 35:[73, 77, 39], Operations: ['97-58=39']
Exploring Operation: 77-73=4, Resulting Numbers: [39, 4]
Generated Node #0,1,0: 35:[39, 4] Operation: 77-73=4
Moving to Node #0,1,0
Current State: 35:[39, 4], Operations: ['97-58=39', '77-73=4']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | sum_heuristic |
[
24,
75,
96,
9
] | 91 | [
"24-9=15",
"75/15=5",
"96-5=91"
] | Current State: 91:[24, 75, 96, 9], Operations: []
Exploring Operation: 24-9=15, Resulting Numbers: [75, 96, 15]
Generated Node #2: [75, 96, 15] from Operation: 24-9=15
Current State: 91:[75, 96, 15], Operations: ['24-9=15']
Exploring Operation: 75/15=5, Resulting Numbers: [96, 5]
Generated Node #3: [96, 5] from Operation: 75/15=5
Current State: 91:[96, 5], Operations: ['24-9=15', '75/15=5']
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[24, 75, 96, 9], Operations: []
Exploring Operation: 24+75=99, Resulting Numbers: [96, 9, 99]
Generated Node #0,0: 91:[96, 9, 99] Operation: 24+75=99
Moving to Node #0,0
Current State: 91:[96, 9, 99], Operations: ['24+75=99']
Exploring Operation: 99-96=3, Resulting Numbers: [9, 3]
Generated Node #0,0,0: 91:[9, 3] Operation: 99-96=3
Moving to Node #0,0,0
Current State: 91:[9, 3], Operations: ['24+75=99', '99-96=3']
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,91 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
70,
66,
26,
20
] | 81 | [
"26-20=6",
"66/6=11",
"70+11=81"
] | Current State: 81:[70, 66, 26, 20], Operations: []
Exploring Operation: 26-20=6, Resulting Numbers: [70, 66, 6]
Generated Node #2: [70, 66, 6] from Operation: 26-20=6
Current State: 81:[70, 66, 6], Operations: ['26-20=6']
Exploring Operation: 66/6=11, Resulting Numbers: [70, 11]
Generated Node #3: [70, 11] from Operation: 66/6=11
Current State: 81:[70, 11], Operations: ['26-20=6', '66/6=11']
Exploring Operation: 70+11=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[70, 66, 26, 20], Operations: []
Exploring Operation: 66+20=86, Resulting Numbers: [70, 26, 86]
Generated Node #0,0: 81:[70, 26, 86] Operation: 66+20=86
Exploring Operation: 70+20=90, Resulting Numbers: [66, 26, 90]
Generated Node #0,1: 81:[66, 26, 90] Operation: 70+20=90
Exploring Operation: 70-66=4, Resulting Numbers: [26, 20, 4]
Generated Node #0,2: 81:[26, 20, 4] Operation: 70-66=4
Moving to Node #0,2
Current State: 81:[26, 20, 4], Operations: ['70-66=4']
Exploring Operation: 20/4=5, Resulting Numbers: [26, 5]
Generated Node #0,2,0: 81:[26, 5] Operation: 20/4=5
Exploring Operation: 20*4=80, Resulting Numbers: [26, 80]
Generated Node #0,2,1: 81:[26, 80] Operation: 20*4=80
Exploring Operation: 26-20=6, Resulting Numbers: [4, 6]
Generated Node #0,2,2: 81:[4, 6] Operation: 26-20=6
Moving to Node #0,0
Current State: 81:[70, 26, 86], Operations: ['66+20=86']
Exploring Operation: 70-26=44, Resulting Numbers: [86, 44]
Generated Node #0,0,0: 81:[86, 44] Operation: 70-26=44
Exploring Operation: 86-70=16, Resulting Numbers: [26, 16]
Generated Node #0,0,1: 81:[26, 16] Operation: 86-70=16
Exploring Operation: 70+26=96, Resulting Numbers: [86, 96]
Generated Node #0,0,2: 81:[86, 96] Operation: 70+26=96
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[26, 16], Operations: ['66+20=86', '86-70=16']
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 26*16=416, Resulting Numbers: [416]
416,81 unequal: No Solution
Exploring Operation: 26+16=42, Resulting Numbers: [42]
42,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[86, 96], Operations: ['66+20=86', '70+26=96']
Exploring Operation: 86*96=8256, Resulting Numbers: [8256]
8256,81 unequal: No Solution
Exploring Operation: 96-86=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 86+96=182, Resulting Numbers: [182]
182,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[86, 44], Operations: ['66+20=86', '70-26=44']
Exploring Operation: 86-44=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Exploring Operation: 86*44=3784, Resulting Numbers: [3784]
3784,81 unequal: No Solution
Exploring Operation: 86+44=130, Resulting Numbers: [130]
130,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 81:[66, 26, 90], Operations: ['70+20=90']
Exploring Operation: 66+26=92, Resulting Numbers: [90, 92]
Generated Node #0,1,0: 81:[90, 92] Operation: 66+26=92
Exploring Operation: 90-66=24, Resulting Numbers: [26, 24]
Generated Node #0,1,1: 81:[26, 24] Operation: 90-66=24
Exploring Operation: 66-26=40, Resulting Numbers: [90, 40]
Generated Node #0,1,2: 81:[90, 40] Operation: 66-26=40
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[26, 24], Operations: ['70+20=90', '90-66=24']
Exploring Operation: 26*24=624, Resulting Numbers: [624]
624,81 unequal: No Solution
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[90, 92], Operations: ['70+20=90', '66+26=92']
Exploring Operation: 90*92=8280, Resulting Numbers: [8280]
8280,81 unequal: No Solution
Exploring Operation: 92-90=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 90+92=182, Resulting Numbers: [182]
182,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[90, 40], Operations: ['70+20=90', '66-26=40']
Exploring Operation: 90-40=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Exploring Operation: 90*40=3600, Resulting Numbers: [3600]
3600,81 unequal: No Solution
Exploring Operation: 90+40=130, Resulting Numbers: [130]
130,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 81:[26, 80], Operations: ['70-66=4', '20*4=80']
Exploring Operation: 80-26=54, Resulting Numbers: [54]
54,81 unequal: No Solution
Exploring Operation: 26+80=106, Resulting Numbers: [106]
106,81 unequal: No Solution
Exploring Operation: 26*80=2080, Resulting Numbers: [2080]
2080,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[26, 5], Operations: ['70-66=4', '20/4=5']
Exploring Operation: 26*5=130, Resulting Numbers: [130]
130,81 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[4, 6], Operations: ['70-66=4', '26-20=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,81 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
3,
2,
39,
83
] | 68 | [
"3*39=117",
"117-83=34",
"2*34=68"
] | Current State: 68:[3, 2, 39, 83], Operations: []
Exploring Operation: 3*39=117, Resulting Numbers: [2, 83, 117]
Generated Node #2: [2, 83, 117] from Operation: 3*39=117
Current State: 68:[2, 83, 117], Operations: ['3*39=117']
Exploring Operation: 117-83=34, Resulting Numbers: [2, 34]
Generated Node #3: [2, 34] from Operation: 117-83=34
Current State: 68:[2, 34], Operations: ['3*39=117', '117-83=34']
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[3, 2, 39, 83], Operations: []
Exploring Operation: 83-39=44, Resulting Numbers: [3, 2, 44]
Generated Node #0,0: 68:[3, 2, 44] Operation: 83-39=44
Exploring Operation: 39-3=36, Resulting Numbers: [2, 83, 36]
Generated Node #0,1: 68:[2, 83, 36] Operation: 39-3=36
Exploring Operation: 83-3=80, Resulting Numbers: [2, 39, 80]
Generated Node #0,2: 68:[2, 39, 80] Operation: 83-3=80
Moving to Node #0,0
Current State: 68:[3, 2, 44], Operations: ['83-39=44']
Exploring Operation: 44-2=42, Resulting Numbers: [3, 42]
Generated Node #0,0,0: 68:[3, 42] Operation: 44-2=42
Exploring Operation: 44/2=22, Resulting Numbers: [3, 22]
Generated Node #0,0,1: 68:[3, 22] Operation: 44/2=22
Exploring Operation: 44-3=41, Resulting Numbers: [2, 41]
Generated Node #0,0,2: 68:[2, 41] Operation: 44-3=41
Moving to Node #0,1
Current State: 68:[2, 83, 36], Operations: ['39-3=36']
Exploring Operation: 36-2=34, Resulting Numbers: [83, 34]
Generated Node #0,1,0: 68:[83, 34] Operation: 36-2=34
Exploring Operation: 83-2=81, Resulting Numbers: [36, 81]
Generated Node #0,1,1: 68:[36, 81] Operation: 83-2=81
Exploring Operation: 83-36=47, Resulting Numbers: [2, 47]
Generated Node #0,1,2: 68:[2, 47] Operation: 83-36=47
Moving to Node #0,2
Current State: 68:[2, 39, 80], Operations: ['83-3=80']
Exploring Operation: 39-2=37, Resulting Numbers: [80, 37]
Generated Node #0,2,0: 68:[80, 37] Operation: 39-2=37
Exploring Operation: 80-39=41, Resulting Numbers: [2, 41]
Generated Node #0,2,1: 68:[2, 41] Operation: 80-39=41
Exploring Operation: 80/2=40, Resulting Numbers: [39, 40]
Generated Node #0,2,2: 68:[39, 40] Operation: 80/2=40
Moving to Node #0,0,1
Current State: 68:[3, 22], Operations: ['83-39=44', '44/2=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[2, 41], Operations: ['83-3=80', '80-39=41']
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[2, 41], Operations: ['83-39=44', '44-3=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[3, 42], Operations: ['83-39=44', '44-2=42']
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,68 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[39, 40], Operations: ['83-3=80', '80/2=40']
Exploring Operation: 39*40=1560, Resulting Numbers: [1560]
1560,68 unequal: No Solution
Exploring Operation: 39+40=79, Resulting Numbers: [79]
79,68 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[2, 47], Operations: ['39-3=36', '83-36=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,68 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,68 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[36, 81], Operations: ['39-3=36', '83-2=81']
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,68 unequal: No Solution
Exploring Operation: 36*81=2916, Resulting Numbers: [2916]
2916,68 unequal: No Solution
Exploring Operation: 36+81=117, Resulting Numbers: [117]
117,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[80, 37], Operations: ['83-3=80', '39-2=37']
Exploring Operation: 80*37=2960, Resulting Numbers: [2960]
2960,68 unequal: No Solution
Exploring Operation: 80+37=117, Resulting Numbers: [117]
117,68 unequal: No Solution
Exploring Operation: 80-37=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[83, 34], Operations: ['39-3=36', '36-2=34']
Exploring Operation: 83*34=2822, Resulting Numbers: [2822]
2822,68 unequal: No Solution
Exploring Operation: 83+34=117, Resulting Numbers: [117]
117,68 unequal: No Solution
Exploring Operation: 83-34=49, Resulting Numbers: [49]
49,68 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
52,
31,
84,
68
] | 64 | [
"52-31=21",
"84/21=4",
"68-4=64"
] | Current State: 64:[52, 31, 84, 68], Operations: []
Exploring Operation: 52-31=21, Resulting Numbers: [84, 68, 21]
Generated Node #2: [84, 68, 21] from Operation: 52-31=21
Current State: 64:[84, 68, 21], Operations: ['52-31=21']
Exploring Operation: 84/21=4, Resulting Numbers: [68, 4]
Generated Node #3: [68, 4] from Operation: 84/21=4
Current State: 64:[68, 4], Operations: ['52-31=21', '84/21=4']
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[52, 31, 84, 68], Operations: []
Exploring Operation: 84-68=16, Resulting Numbers: [52, 31, 16]
Generated Node #0,0: 64:[52, 31, 16] Operation: 84-68=16
Exploring Operation: 84-52=32, Resulting Numbers: [31, 68, 32]
Generated Node #0,1: 64:[31, 68, 32] Operation: 84-52=32
Moving to Node #0,1
Current State: 64:[31, 68, 32], Operations: ['84-52=32']
Exploring Operation: 31+32=63, Resulting Numbers: [68, 63]
Generated Node #0,1,0: 64:[68, 63] Operation: 31+32=63
Exploring Operation: 68-31=37, Resulting Numbers: [32, 37]
Generated Node #0,1,1: 64:[32, 37] Operation: 68-31=37
Moving to Node #0,0
Current State: 64:[52, 31, 16], Operations: ['84-68=16']
Exploring Operation: 52-31=21, Resulting Numbers: [16, 21]
Generated Node #0,0,0: 64:[16, 21] Operation: 52-31=21
Exploring Operation: 52+16=68, Resulting Numbers: [31, 68]
Generated Node #0,0,1: 64:[31, 68] Operation: 52+16=68
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[16, 21], Operations: ['84-68=16', '52-31=21']
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[31, 68], Operations: ['84-68=16', '52+16=68']
Exploring Operation: 68-31=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Exploring Operation: 31+68=99, Resulting Numbers: [99]
99,64 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: 64:[68, 63], Operations: ['84-52=32', '31+32=63']
Exploring Operation: 68-63=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 68+63=131, Resulting Numbers: [131]
131,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[32, 37], Operations: ['84-52=32', '68-31=37']
Exploring Operation: 32+37=69, Resulting Numbers: [69]
69,64 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,64 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
42,
47,
28,
35
] | 43 | [
"42-35=7",
"28/7=4",
"47-4=43"
] | Current State: 43:[42, 47, 28, 35], Operations: []
Exploring Operation: 42-35=7, Resulting Numbers: [47, 28, 7]
Generated Node #2: [47, 28, 7] from Operation: 42-35=7
Current State: 43:[47, 28, 7], Operations: ['42-35=7']
Exploring Operation: 28/7=4, Resulting Numbers: [47, 4]
Generated Node #3: [47, 4] from Operation: 28/7=4
Current State: 43:[47, 4], Operations: ['42-35=7', '28/7=4']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[42, 47, 28, 35], Operations: []
Exploring Operation: 47-28=19, Resulting Numbers: [42, 35, 19]
Generated Node #0,0: 43:[42, 35, 19] Operation: 47-28=19
Exploring Operation: 42-28=14, Resulting Numbers: [47, 35, 14]
Generated Node #0,1: 43:[47, 35, 14] Operation: 42-28=14
Exploring Operation: 28+35=63, Resulting Numbers: [42, 47, 63]
Generated Node #0,2: 43:[42, 47, 63] Operation: 28+35=63
Exploring Operation: 42+28=70, Resulting Numbers: [47, 35, 70]
Generated Node #0,3: 43:[47, 35, 70] Operation: 42+28=70
Moving to Node #0,2
Current State: 43:[42, 47, 63], Operations: ['28+35=63']
Exploring Operation: 42+47=89, Resulting Numbers: [63, 89]
Generated Node #0,2,0: 43:[63, 89] Operation: 42+47=89
Exploring Operation: 47-42=5, Resulting Numbers: [63, 5]
Generated Node #0,2,1: 43:[63, 5] Operation: 47-42=5
Exploring Operation: 63-47=16, Resulting Numbers: [42, 16]
Generated Node #0,2,2: 43:[42, 16] Operation: 63-47=16
Exploring Operation: 63-42=21, Resulting Numbers: [47, 21]
Generated Node #0,2,3: 43:[47, 21] Operation: 63-42=21
Moving to Node #0,0
Current State: 43:[42, 35, 19], Operations: ['47-28=19']
Exploring Operation: 42-19=23, Resulting Numbers: [35, 23]
Generated Node #0,0,0: 43:[35, 23] Operation: 42-19=23
Exploring Operation: 35+19=54, Resulting Numbers: [42, 54]
Generated Node #0,0,1: 43:[42, 54] Operation: 35+19=54
Exploring Operation: 42+19=61, Resulting Numbers: [35, 61]
Generated Node #0,0,2: 43:[35, 61] Operation: 42+19=61
Exploring Operation: 35-19=16, Resulting Numbers: [42, 16]
Generated Node #0,0,3: 43:[42, 16] Operation: 35-19=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[42, 54], Operations: ['47-28=19', '35+19=54']
Exploring Operation: 42+54=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 42*54=2268, Resulting Numbers: [2268]
2268,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:[35, 61], Operations: ['47-28=19', '42+19=61']
Exploring Operation: 35*61=2135, Resulting Numbers: [2135]
2135,43 unequal: No Solution
Exploring Operation: 35+61=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,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:[35, 23], Operations: ['47-28=19', '42-19=23']
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 35+23=58, Resulting Numbers: [58]
58,43 unequal: No Solution
Exploring Operation: 35*23=805, Resulting Numbers: [805]
805,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,3
Current State: 43:[42, 16], Operations: ['47-28=19', '35-19=16']
Exploring Operation: 42*16=672, Resulting Numbers: [672]
672,43 unequal: No Solution
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,43 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: 43:[47, 35, 70], Operations: ['42+28=70']
Exploring Operation: 70-47=23, Resulting Numbers: [35, 23]
Generated Node #0,3,0: 43:[35, 23] Operation: 70-47=23
Exploring Operation: 70/35=2, Resulting Numbers: [47, 2]
Generated Node #0,3,1: 43:[47, 2] Operation: 70/35=2
Exploring Operation: 70-35=35, Resulting Numbers: [47, 35]
Generated Node #0,3,2: 43:[47, 35] Operation: 70-35=35
Exploring Operation: 47-35=12, Resulting Numbers: [70, 12]
Generated Node #0,3,3: 43:[70, 12] Operation: 47-35=12
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 43:[47, 35], Operations: ['42+28=70', '70-35=35']
Exploring Operation: 47+35=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 47*35=1645, Resulting Numbers: [1645]
1645,43 unequal: No Solution
Exploring Operation: 47-35=12, Resulting Numbers: [12]
12,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:[35, 23], Operations: ['42+28=70', '70-47=23']
Exploring Operation: 35*23=805, Resulting Numbers: [805]
805,43 unequal: No Solution
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 35+23=58, Resulting Numbers: [58]
58,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,1
Current State: 43:[47, 2], Operations: ['42+28=70', '70/35=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,43 unequal: No Solution
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,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:[70, 12], Operations: ['42+28=70', '47-35=12']
Exploring Operation: 70+12=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 70*12=840, Resulting Numbers: [840]
840,43 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,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:[47, 35, 14], Operations: ['42-28=14']
Exploring Operation: 47-14=33, Resulting Numbers: [35, 33]
Generated Node #0,1,0: 43:[35, 33] Operation: 47-14=33
Exploring Operation: 35+14=49, Resulting Numbers: [47, 49]
Generated Node #0,1,1: 43:[47, 49] Operation: 35+14=49
Exploring Operation: 47+14=61, Resulting Numbers: [35, 61]
Generated Node #0,1,2: 43:[35, 61] Operation: 47+14=61
Exploring Operation: 35-14=21, Resulting Numbers: [47, 21]
Generated Node #0,1,3: 43:[47, 21] Operation: 35-14=21
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[47, 49], Operations: ['42-28=14', '35+14=49']
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 47*49=2303, Resulting Numbers: [2303]
2303,43 unequal: No Solution
Exploring Operation: 47+49=96, Resulting Numbers: [96]
96,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,0
Current State: 43:[35, 33], Operations: ['42-28=14', '47-14=33']
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 35+33=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Exploring Operation: 35*33=1155, Resulting Numbers: [1155]
1155,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,2
Current State: 43:[35, 61], Operations: ['42-28=14', '47+14=61']
Exploring Operation: 35*61=2135, Resulting Numbers: [2135]
2135,43 unequal: No Solution
Exploring Operation: 35+61=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,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,3
Current State: 43:[47, 21], Operations: ['42-28=14', '35-14=21']
Exploring Operation: 47*21=987, Resulting Numbers: [987]
987,43 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 47+21=68, Resulting Numbers: [68]
68,43 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: 43:[47, 21], Operations: ['28+35=63', '63-42=21']
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 47+21=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Exploring Operation: 47*21=987, Resulting Numbers: [987]
987,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[42, 16], Operations: ['28+35=63', '63-47=16']
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,43 unequal: No Solution
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 42*16=672, Resulting Numbers: [672]
672,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[63, 5], Operations: ['28+35=63', '47-42=5']
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,43 unequal: No Solution
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Exploring Operation: 63*5=315, Resulting Numbers: [315]
315,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[63, 89], Operations: ['28+35=63', '42+47=89']
Exploring Operation: 63*89=5607, Resulting Numbers: [5607]
5607,43 unequal: No Solution
Exploring Operation: 89-63=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 63+89=152, Resulting Numbers: [152]
152,43 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
25,
11,
7,
31
] | 99 | [
"11-7=4",
"31*4=124",
"124-25=99"
] | Current State: 99:[25, 11, 7, 31], Operations: []
Exploring Operation: 11-7=4, Resulting Numbers: [25, 31, 4]
Generated Node #2: [25, 31, 4] from Operation: 11-7=4
Current State: 99:[25, 31, 4], Operations: ['11-7=4']
Exploring Operation: 31*4=124, Resulting Numbers: [25, 124]
Generated Node #3: [25, 124] from Operation: 31*4=124
Current State: 99:[25, 124], Operations: ['11-7=4', '31*4=124']
Exploring Operation: 124-25=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[25, 11, 7, 31], Operations: []
Exploring Operation: 25+7=32, Resulting Numbers: [11, 31, 32]
Generated Node #0,0: 99:[11, 31, 32] Operation: 25+7=32
Exploring Operation: 25+11=36, Resulting Numbers: [7, 31, 36]
Generated Node #0,1: 99:[7, 31, 36] Operation: 25+11=36
Exploring Operation: 31-25=6, Resulting Numbers: [11, 7, 6]
Generated Node #0,2: 99:[11, 7, 6] Operation: 31-25=6
Exploring Operation: 25-11=14, Resulting Numbers: [7, 31, 14]
Generated Node #0,3: 99:[7, 31, 14] Operation: 25-11=14
Exploring Operation: 25-7=18, Resulting Numbers: [11, 31, 18]
Generated Node #0,4: 99:[11, 31, 18] Operation: 25-7=18
Moving to Node #0,0
Current State: 99:[11, 31, 32], Operations: ['25+7=32']
Exploring Operation: 32-31=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 99:[11, 1] Operation: 32-31=1
Exploring Operation: 32-11=21, Resulting Numbers: [31, 21]
Generated Node #0,0,1: 99:[31, 21] Operation: 32-11=21
Exploring Operation: 11+32=43, Resulting Numbers: [31, 43]
Generated Node #0,0,2: 99:[31, 43] Operation: 11+32=43
Exploring Operation: 11+31=42, Resulting Numbers: [32, 42]
Generated Node #0,0,3: 99:[32, 42] Operation: 11+31=42
Exploring Operation: 31-11=20, Resulting Numbers: [32, 20]
Generated Node #0,0,4: 99:[32, 20] Operation: 31-11=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[11, 1], Operations: ['25+7=32', '32-31=1']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 99:[32, 42], Operations: ['25+7=32', '11+31=42']
Exploring Operation: 32+42=74, Resulting Numbers: [74]
74,99 unequal: No Solution
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,99 unequal: No Solution
Exploring Operation: 32*42=1344, Resulting Numbers: [1344]
1344,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 99:[32, 20], Operations: ['25+7=32', '31-11=20']
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,99 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[31, 21], Operations: ['25+7=32', '32-11=21']
Exploring Operation: 31+21=52, Resulting Numbers: [52]
52,99 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,99 unequal: No Solution
Exploring Operation: 31*21=651, Resulting Numbers: [651]
651,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 99:[31, 43], Operations: ['25+7=32', '11+32=43']
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 31+43=74, Resulting Numbers: [74]
74,99 unequal: No Solution
Exploring Operation: 31*43=1333, Resulting Numbers: [1333]
1333,99 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: 99:[11, 7, 6], Operations: ['31-25=6']
Exploring Operation: 11+6=17, Resulting Numbers: [7, 17]
Generated Node #0,2,0: 99:[7, 17] Operation: 11+6=17
Exploring Operation: 11-7=4, Resulting Numbers: [6, 4]
Generated Node #0,2,1: 99:[6, 4] Operation: 11-7=4
Exploring Operation: 7+6=13, Resulting Numbers: [11, 13]
Generated Node #0,2,2: 99:[11, 13] Operation: 7+6=13
Exploring Operation: 7-6=1, Resulting Numbers: [11, 1]
Generated Node #0,2,3: 99:[11, 1] Operation: 7-6=1
Exploring Operation: 11-6=5, Resulting Numbers: [7, 5]
Generated Node #0,2,4: 99:[7, 5] Operation: 11-6=5
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 99:[11, 13], Operations: ['31-25=6', '7+6=13']
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,99 unequal: No Solution
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 99:[11, 1], Operations: ['31-25=6', '7-6=1']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,99 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 99:[6, 4], Operations: ['31-25=6', '11-7=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,99 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 99:[7, 5], Operations: ['31-25=6', '11-6=5']
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,99 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 99:[7, 17], Operations: ['31-25=6', '11+6=17']
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,99 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,99 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: 99:[7, 31, 36], Operations: ['25+11=36']
Exploring Operation: 36-31=5, Resulting Numbers: [7, 5]
Generated Node #0,1,0: 99:[7, 5] Operation: 36-31=5
Exploring Operation: 31-7=24, Resulting Numbers: [36, 24]
Generated Node #0,1,1: 99:[36, 24] Operation: 31-7=24
Exploring Operation: 7+31=38, Resulting Numbers: [36, 38]
Generated Node #0,1,2: 99:[36, 38] Operation: 7+31=38
Exploring Operation: 36-7=29, Resulting Numbers: [31, 29]
Generated Node #0,1,3: 99:[31, 29] Operation: 36-7=29
Exploring Operation: 7+36=43, Resulting Numbers: [31, 43]
Generated Node #0,1,4: 99:[31, 43] Operation: 7+36=43
Moving to Node #0,3
Current State: 99:[7, 31, 14], Operations: ['25-11=14']
Exploring Operation: 7+31=38, Resulting Numbers: [14, 38]
Generated Node #0,3,0: 99:[14, 38] Operation: 7+31=38
Exploring Operation: 14/7=2, Resulting Numbers: [31, 2]
Generated Node #0,3,1: 99:[31, 2] Operation: 14/7=2
Exploring Operation: 14-7=7, Resulting Numbers: [31, 7]
Generated Node #0,3,2: 99:[31, 7] Operation: 14-7=7
Exploring Operation: 31-14=17, Resulting Numbers: [7, 17]
Generated Node #0,3,3: 99:[7, 17] Operation: 31-14=17
Exploring Operation: 7*14=98, Resulting Numbers: [31, 98]
Generated Node #0,3,4: 99:[31, 98] Operation: 7*14=98
Moving to Node #0,4
Current State: 99:[11, 31, 18], Operations: ['25-7=18']
Exploring Operation: 11+31=42, Resulting Numbers: [18, 42]
Generated Node #0,4,0: 99:[18, 42] Operation: 11+31=42
Exploring Operation: 18-11=7, Resulting Numbers: [31, 7]
Generated Node #0,4,1: 99:[31, 7] Operation: 18-11=7
Exploring Operation: 31-18=13, Resulting Numbers: [11, 13]
Generated Node #0,4,2: 99:[11, 13] Operation: 31-18=13
Exploring Operation: 11+18=29, Resulting Numbers: [31, 29]
Generated Node #0,4,3: 99:[31, 29] Operation: 11+18=29
Exploring Operation: 31-11=20, Resulting Numbers: [18, 20]
Generated Node #0,4,4: 99:[18, 20] Operation: 31-11=20
Moving to Node #0,4,2
Current State: 99:[11, 13], Operations: ['25-7=18', '31-18=13']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,99 unequal: No Solution
Moving to Node #0,3,4
Current State: 99:[31, 98], Operations: ['25-11=14', '7*14=98']
Exploring Operation: 31+98=129, Resulting Numbers: [129]
129,99 unequal: No Solution
Exploring Operation: 31*98=3038, Resulting Numbers: [3038]
3038,99 unequal: No Solution
Exploring Operation: 98-31=67, Resulting Numbers: [67]
67,99 unequal: No Solution
Moving to Node #0,3,1
Current State: 99:[31, 2], Operations: ['25-11=14', '14/7=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,99 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,99 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[7, 5], Operations: ['25+11=36', '36-31=5']
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,99 unequal: No Solution
Moving to Node #0,4,1
Current State: 99:[31, 7], Operations: ['25-7=18', '18-11=7']
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,99 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Moving to Node #0,3,2
Current State: 99:[31, 7], Operations: ['25-11=14', '14-7=7']
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,99 unequal: No Solution
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Moving to Node #0,4,3
Current State: 99:[31, 29], Operations: ['25-7=18', '11+18=29']
Exploring Operation: 31+29=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 31*29=899, Resulting Numbers: [899]
899,99 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Moving to Node #0,1,3
Current State: 99:[31, 29], Operations: ['25+11=36', '36-7=29']
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 31+29=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 31*29=899, Resulting Numbers: [899]
899,99 unequal: No Solution
Moving to Node #0,1,2
Current State: 99:[36, 38], Operations: ['25+11=36', '7+31=38']
Exploring Operation: 36+38=74, Resulting Numbers: [74]
74,99 unequal: No Solution
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 36*38=1368, Resulting Numbers: [1368]
1368,99 unequal: No Solution
Moving to Node #0,3,3
Current State: 99:[7, 17], Operations: ['25-11=14', '31-14=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,99 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,99 unequal: No Solution
Moving to Node #0,3,0
Current State: 99:[14, 38], Operations: ['25-11=14', '7+31=38']
Exploring Operation: 14*38=532, Resulting Numbers: [532]
532,99 unequal: No Solution
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 14+38=52, Resulting Numbers: [52]
52,99 unequal: No Solution
Moving to Node #0,1,4
Current State: 99:[31, 43], Operations: ['25+11=36', '7+36=43']
Exploring Operation: 31*43=1333, Resulting Numbers: [1333]
1333,99 unequal: No Solution
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 31+43=74, Resulting Numbers: [74]
74,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[36, 24], Operations: ['25+11=36', '31-7=24']
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 36*24=864, Resulting Numbers: [864]
864,99 unequal: No Solution
Moving to Node #0,4,0
Current State: 99:[18, 42], Operations: ['25-7=18', '11+31=42']
Exploring Operation: 18+42=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 18*42=756, Resulting Numbers: [756]
756,99 unequal: No Solution
Moving to Node #0,4,4
Current State: 99:[18, 20], Operations: ['25-7=18', '31-11=20']
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,99 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,99 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
2,
29,
55,
42
] | 34 | [
"55-29=26",
"42+26=68",
"68/2=34"
] | Current State: 34:[2, 29, 55, 42], Operations: []
Exploring Operation: 55-29=26, Resulting Numbers: [2, 42, 26]
Generated Node #2: [2, 42, 26] from Operation: 55-29=26
Current State: 34:[2, 42, 26], Operations: ['55-29=26']
Exploring Operation: 42+26=68, Resulting Numbers: [2, 68]
Generated Node #3: [2, 68] from Operation: 42+26=68
Current State: 34:[2, 68], Operations: ['55-29=26', '42+26=68']
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[2, 29, 55, 42], Operations: []
Exploring Operation: 55-42=13, Resulting Numbers: [2, 29, 13]
Generated Node #0,0: 34:[2, 29, 13] Operation: 55-42=13
Exploring Operation: 55-29=26, Resulting Numbers: [2, 42, 26]
Generated Node #0,1: 34:[2, 42, 26] Operation: 55-29=26
Exploring Operation: 2+29=31, Resulting Numbers: [55, 42, 31]
Generated Node #0,2: 34:[55, 42, 31] Operation: 2+29=31
Exploring Operation: 42-29=13, Resulting Numbers: [2, 55, 13]
Generated Node #0,3: 34:[2, 55, 13] Operation: 42-29=13
Exploring Operation: 42/2=21, Resulting Numbers: [29, 55, 21]
Generated Node #0,4: 34:[29, 55, 21] Operation: 42/2=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[2, 29, 13], Operations: ['55-42=13']
Exploring Operation: 29-2=27, Resulting Numbers: [13, 27]
Generated Node #0,0,0: 34:[13, 27] Operation: 29-2=27
Exploring Operation: 2+29=31, Resulting Numbers: [13, 31]
Generated Node #0,0,1: 34:[13, 31] Operation: 2+29=31
Exploring Operation: 29-13=16, Resulting Numbers: [2, 16]
Generated Node #0,0,2: 34:[2, 16] Operation: 29-13=16
Exploring Operation: 2+13=15, Resulting Numbers: [29, 15]
Generated Node #0,0,3: 34:[29, 15] Operation: 2+13=15
Exploring Operation: 29+13=42, Resulting Numbers: [2, 42]
Generated Node #0,0,4: 34:[2, 42] Operation: 29+13=42
Moving to Node #0,0,2
Current State: 34:[2, 16], Operations: ['55-42=13', '29-13=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,34 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[29, 15], Operations: ['55-42=13', '2+13=15']
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,34 unequal: No Solution
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[13, 31], Operations: ['55-42=13', '2+29=31']
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 13+31=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Exploring Operation: 13*31=403, Resulting Numbers: [403]
403,34 unequal: No Solution
Moving to Node #0,0,4
Current State: 34:[2, 42], Operations: ['55-42=13', '29+13=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,34 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[13, 27], Operations: ['55-42=13', '29-2=27']
Exploring Operation: 13*27=351, Resulting Numbers: [351]
351,34 unequal: No Solution
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[2, 42, 26], Operations: ['55-29=26']
Exploring Operation: 26/2=13, Resulting Numbers: [42, 13]
Generated Node #0,1,0: 34:[42, 13] Operation: 26/2=13
Exploring Operation: 42-26=16, Resulting Numbers: [2, 16]
Generated Node #0,1,1: 34:[2, 16] Operation: 42-26=16
Exploring Operation: 42-2=40, Resulting Numbers: [26, 40]
Generated Node #0,1,2: 34:[26, 40] Operation: 42-2=40
Exploring Operation: 42/2=21, Resulting Numbers: [26, 21]
Generated Node #0,1,3: 34:[26, 21] Operation: 42/2=21
Exploring Operation: 2+26=28, Resulting Numbers: [42, 28]
Generated Node #0,1,4: 34:[42, 28] Operation: 2+26=28
Moving to Node #0,1,1
Current State: 34:[2, 16], Operations: ['55-29=26', '42-26=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,34 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Moving to Node #0,1,3
Current State: 34:[26, 21], Operations: ['55-29=26', '42/2=21']
Exploring Operation: 26*21=546, Resulting Numbers: [546]
546,34 unequal: No Solution
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,34 unequal: No Solution
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[42, 13], Operations: ['55-29=26', '26/2=13']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 42*13=546, Resulting Numbers: [546]
546,34 unequal: No Solution
Exploring Operation: 42+13=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[26, 40], Operations: ['55-29=26', '42-2=40']
Exploring Operation: 26+40=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 26*40=1040, Resulting Numbers: [1040]
1040,34 unequal: No Solution
Moving to Node #0,1,4
Current State: 34:[42, 28], Operations: ['55-29=26', '2+26=28']
Exploring Operation: 42*28=1176, Resulting Numbers: [1176]
1176,34 unequal: No Solution
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[2, 55, 13], Operations: ['42-29=13']
Exploring Operation: 13-2=11, Resulting Numbers: [55, 11]
Generated Node #0,3,0: 34:[55, 11] Operation: 13-2=11
Exploring Operation: 55-13=42, Resulting Numbers: [2, 42]
Generated Node #0,3,1: 34:[2, 42] Operation: 55-13=42
Exploring Operation: 2+13=15, Resulting Numbers: [55, 15]
Generated Node #0,3,2: 34:[55, 15] Operation: 2+13=15
Exploring Operation: 2+55=57, Resulting Numbers: [13, 57]
Generated Node #0,3,3: 34:[13, 57] Operation: 2+55=57
Exploring Operation: 55-2=53, Resulting Numbers: [13, 53]
Generated Node #0,3,4: 34:[13, 53] Operation: 55-2=53
Moving to Node #0,3,1
Current State: 34:[2, 42], Operations: ['42-29=13', '55-13=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,34 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Moving to Node #0,3,4
Current State: 34:[13, 53], Operations: ['42-29=13', '55-2=53']
Exploring Operation: 13*53=689, Resulting Numbers: [689]
689,34 unequal: No Solution
Exploring Operation: 53-13=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 13+53=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Moving to Node #0,3,2
Current State: 34:[55, 15], Operations: ['42-29=13', '2+13=15']
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,34 unequal: No Solution
Exploring Operation: 55*15=825, Resulting Numbers: [825]
825,34 unequal: No Solution
Moving to Node #0,3,0
Current State: 34:[55, 11], Operations: ['42-29=13', '13-2=11']
Exploring Operation: 55*11=605, Resulting Numbers: [605]
605,34 unequal: No Solution
Exploring Operation: 55+11=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[13, 57], Operations: ['42-29=13', '2+55=57']
Exploring Operation: 13+57=70, Resulting Numbers: [70]
70,34 unequal: No Solution
Exploring Operation: 13*57=741, Resulting Numbers: [741]
741,34 unequal: No Solution
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 34:[29, 55, 21], Operations: ['42/2=21']
Exploring Operation: 29+21=50, Resulting Numbers: [55, 50]
Generated Node #0,4,0: 34:[55, 50] Operation: 29+21=50
Exploring Operation: 55-21=34, Resulting Numbers: [29, 34]
Generated Node #0,4,1: 34:[29, 34] Operation: 55-21=34
Exploring Operation: 55-29=26, Resulting Numbers: [21, 26]
Generated Node #0,4,2: 34:[21, 26] Operation: 55-29=26
Exploring Operation: 29-21=8, Resulting Numbers: [55, 8]
Generated Node #0,4,3: 34:[55, 8] Operation: 29-21=8
Exploring Operation: 55+21=76, Resulting Numbers: [29, 76]
Generated Node #0,4,4: 34:[29, 76] Operation: 55+21=76
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 34:[29, 34], Operations: ['42/2=21', '55-21=34']
Exploring Operation: 29+34=63, Resulting Numbers: [63]
63,34 unequal: No Solution
Exploring Operation: 29*34=986, Resulting Numbers: [986]
986,34 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 34:[21, 26], Operations: ['42/2=21', '55-29=26']
Exploring Operation: 21*26=546, Resulting Numbers: [546]
546,34 unequal: No Solution
Exploring Operation: 21+26=47, Resulting Numbers: [47]
47,34 unequal: No Solution
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 34:[55, 8], Operations: ['42/2=21', '29-21=8']
Exploring Operation: 55*8=440, Resulting Numbers: [440]
440,34 unequal: No Solution
Exploring Operation: 55+8=63, Resulting Numbers: [63]
63,34 unequal: No Solution
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 34:[55, 50], Operations: ['42/2=21', '29+21=50']
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 55*50=2750, Resulting Numbers: [2750]
2750,34 unequal: No Solution
Exploring Operation: 55+50=105, Resulting Numbers: [105]
105,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 34:[29, 76], Operations: ['42/2=21', '55+21=76']
Exploring Operation: 29+76=105, Resulting Numbers: [105]
105,34 unequal: No Solution
Exploring Operation: 29*76=2204, Resulting Numbers: [2204]
2204,34 unequal: No Solution
Exploring Operation: 76-29=47, Resulting Numbers: [47]
47,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[55, 42, 31], Operations: ['2+29=31']
Exploring Operation: 55-31=24, Resulting Numbers: [42, 24]
Generated Node #0,2,0: 34:[42, 24] Operation: 55-31=24
Exploring Operation: 55+31=86, Resulting Numbers: [42, 86]
Generated Node #0,2,1: 34:[42, 86] Operation: 55+31=86
Exploring Operation: 55-42=13, Resulting Numbers: [31, 13]
Generated Node #0,2,2: 34:[31, 13] Operation: 55-42=13
Exploring Operation: 42-31=11, Resulting Numbers: [55, 11]
Generated Node #0,2,3: 34:[55, 11] Operation: 42-31=11
Exploring Operation: 42+31=73, Resulting Numbers: [55, 73]
Generated Node #0,2,4: 34:[55, 73] Operation: 42+31=73
Moving to Node #0,2,2
Current State: 34:[31, 13], Operations: ['2+29=31', '55-42=13']
Exploring Operation: 31*13=403, Resulting Numbers: [403]
403,34 unequal: No Solution
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 31+13=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[42, 24], Operations: ['2+29=31', '55-31=24']
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 42+24=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 42*24=1008, Resulting Numbers: [1008]
1008,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[55, 11], Operations: ['2+29=31', '42-31=11']
Exploring Operation: 55*11=605, Resulting Numbers: [605]
605,34 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Exploring Operation: 55+11=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[42, 86], Operations: ['2+29=31', '55+31=86']
Exploring Operation: 42*86=3612, Resulting Numbers: [3612]
3612,34 unequal: No Solution
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Exploring Operation: 42+86=128, Resulting Numbers: [128]
128,34 unequal: No Solution
Moving to Node #0,2,4
Current State: 34:[55, 73], Operations: ['2+29=31', '42+31=73']
Exploring Operation: 55+73=128, Resulting Numbers: [128]
128,34 unequal: No Solution
Exploring Operation: 55*73=4015, Resulting Numbers: [4015]
4015,34 unequal: No Solution
Exploring Operation: 73-55=18, Resulting Numbers: [18]
18,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
7,
23,
7,
6
] | 78 | [
"7*7=49",
"23+6=29",
"49+29=78"
] | Current State: 78:[7, 23, 7, 6], Operations: []
Exploring Operation: 7*7=49, Resulting Numbers: [23, 6, 49]
Generated Node #2: [23, 6, 49] from Operation: 7*7=49
Current State: 78:[23, 6, 49], Operations: ['7*7=49']
Exploring Operation: 23+6=29, Resulting Numbers: [49, 29]
Generated Node #3: [49, 29] from Operation: 23+6=29
Current State: 78:[49, 29], Operations: ['7*7=49', '23+6=29']
Exploring Operation: 49+29=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[7, 23, 7, 6], Operations: []
Exploring Operation: 23-7=16, Resulting Numbers: [7, 6, 16]
Generated Node #0,0: 78:[7, 6, 16] Operation: 23-7=16
Exploring Operation: 7/7=1, Resulting Numbers: [23, 6, 1]
Generated Node #0,1: 78:[23, 6, 1] Operation: 7/7=1
Exploring Operation: 7+7=14, Resulting Numbers: [23, 6, 14]
Generated Node #0,2: 78:[23, 6, 14] Operation: 7+7=14
Exploring Operation: 7+6=13, Resulting Numbers: [23, 7, 13]
Generated Node #0,3: 78:[23, 7, 13] Operation: 7+6=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[7, 6, 16], Operations: ['23-7=16']
Exploring Operation: 16-7=9, Resulting Numbers: [6, 9]
Generated Node #0,0,0: 78:[6, 9] Operation: 16-7=9
Exploring Operation: 7+16=23, Resulting Numbers: [6, 23]
Generated Node #0,0,1: 78:[6, 23] Operation: 7+16=23
Exploring Operation: 7+6=13, Resulting Numbers: [16, 13]
Generated Node #0,0,2: 78:[16, 13] Operation: 7+6=13
Exploring Operation: 7-6=1, Resulting Numbers: [16, 1]
Generated Node #0,0,3: 78:[16, 1] Operation: 7-6=1
Moving to Node #0,0,0
Current State: 78:[6, 9], Operations: ['23-7=16', '16-7=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,78 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,78 unequal: No Solution
Moving to Node #0,0,2
Current State: 78:[16, 13], Operations: ['23-7=16', '7+6=13']
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,78 unequal: No Solution
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,78 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[6, 23], Operations: ['23-7=16', '7+16=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,78 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,78 unequal: No Solution
Moving to Node #0,0,3
Current State: 78:[16, 1], Operations: ['23-7=16', '7-6=1']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,78 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[23, 6, 1], Operations: ['7/7=1']
Exploring Operation: 23+1=24, Resulting Numbers: [6, 24]
Generated Node #0,1,0: 78:[6, 24] Operation: 23+1=24
Exploring Operation: 6*1=6, Resulting Numbers: [23, 6]
Generated Node #0,1,1: 78:[23, 6] Operation: 6*1=6
Exploring Operation: 23/1=23, Resulting Numbers: [6, 23]
Generated Node #0,1,2: 78:[6, 23] Operation: 23/1=23
Exploring Operation: 23*1=23, Resulting Numbers: [6, 23]
Generated Node #0,1,3: 78:[6, 23] Operation: 23*1=23
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 78:[6, 24], Operations: ['7/7=1', '23+1=24']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,78 unequal: No Solution
Exploring Operation: 6*24=144, Resulting Numbers: [144]
144,78 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[23, 6], Operations: ['7/7=1', '6*1=6']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,78 unequal: No Solution
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 78:[6, 23], Operations: ['7/7=1', '23/1=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,78 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 78:[6, 23], Operations: ['7/7=1', '23*1=23']
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,78 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[23, 6, 14], Operations: ['7+7=14']
Exploring Operation: 23+14=37, Resulting Numbers: [6, 37]
Generated Node #0,2,0: 78:[6, 37] Operation: 23+14=37
Exploring Operation: 23-6=17, Resulting Numbers: [14, 17]
Generated Node #0,2,1: 78:[14, 17] Operation: 23-6=17
Exploring Operation: 23-14=9, Resulting Numbers: [6, 9]
Generated Node #0,2,2: 78:[6, 9] Operation: 23-14=9
Exploring Operation: 23+6=29, Resulting Numbers: [14, 29]
Generated Node #0,2,3: 78:[14, 29] Operation: 23+6=29
Moving to Node #0,2,0
Current State: 78:[6, 37], Operations: ['7+7=14', '23+14=37']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,78 unequal: No Solution
Exploring Operation: 6*37=222, Resulting Numbers: [222]
222,78 unequal: No Solution
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,78 unequal: No Solution
Moving to Node #0,2,2
Current State: 78:[6, 9], Operations: ['7+7=14', '23-14=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,78 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,78 unequal: No Solution
Moving to Node #0,2,3
Current State: 78:[14, 29], Operations: ['7+7=14', '23+6=29']
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,78 unequal: No Solution
Exploring Operation: 14*29=406, Resulting Numbers: [406]
406,78 unequal: No Solution
Exploring Operation: 14+29=43, Resulting Numbers: [43]
43,78 unequal: No Solution
Moving to Node #0,2,1
Current State: 78:[14, 17], Operations: ['7+7=14', '23-6=17']
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,78 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,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,3
Current State: 78:[23, 7, 13], Operations: ['7+6=13']
Exploring Operation: 23+7=30, Resulting Numbers: [13, 30]
Generated Node #0,3,0: 78:[13, 30] Operation: 23+7=30
Exploring Operation: 13-7=6, Resulting Numbers: [23, 6]
Generated Node #0,3,1: 78:[23, 6] Operation: 13-7=6
Exploring Operation: 23-7=16, Resulting Numbers: [13, 16]
Generated Node #0,3,2: 78:[13, 16] Operation: 23-7=16
Exploring Operation: 23+13=36, Resulting Numbers: [7, 36]
Generated Node #0,3,3: 78:[7, 36] Operation: 23+13=36
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 78:[23, 6], Operations: ['7+6=13', '13-7=6']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,78 unequal: No Solution
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 78:[13, 16], Operations: ['7+6=13', '23-7=16']
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,78 unequal: No Solution
Exploring Operation: 13*16=208, Resulting Numbers: [208]
208,78 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 78:[13, 30], Operations: ['7+6=13', '23+7=30']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,78 unequal: No Solution
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 78:[7, 36], Operations: ['7+6=13', '23+13=36']
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,78 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,78 unequal: No Solution
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
82,
84,
76,
63
] | 15 | [
"84-82=2",
"76-63=13",
"2+13=15"
] | Current State: 15:[82, 84, 76, 63], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [76, 63, 2]
Generated Node #2: [76, 63, 2] from Operation: 84-82=2
Current State: 15:[76, 63, 2], Operations: ['84-82=2']
Exploring Operation: 76-63=13, Resulting Numbers: [2, 13]
Generated Node #3: [2, 13] from Operation: 76-63=13
Current State: 15:[2, 13], Operations: ['84-82=2', '76-63=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[82, 84, 76, 63], Operations: []
Exploring Operation: 82-76=6, Resulting Numbers: [84, 63, 6]
Generated Node #0,0: 15:[84, 63, 6] Operation: 82-76=6
Exploring Operation: 84-76=8, Resulting Numbers: [82, 63, 8]
Generated Node #0,1: 15:[82, 63, 8] Operation: 84-76=8
Exploring Operation: 84-63=21, Resulting Numbers: [82, 76, 21]
Generated Node #0,2: 15:[82, 76, 21] Operation: 84-63=21
Exploring Operation: 84-82=2, Resulting Numbers: [76, 63, 2]
Generated Node #0,3: 15:[76, 63, 2] Operation: 84-82=2
Exploring Operation: 82-63=19, Resulting Numbers: [84, 76, 19]
Generated Node #0,4: 15:[84, 76, 19] Operation: 82-63=19
Start Sub Search at level 1: Moving to Node #0,3
Current State: 15:[76, 63, 2], Operations: ['84-82=2']
Exploring Operation: 76-63=13, Resulting Numbers: [2, 13]
Generated Node #0,3,0: 15:[2, 13] Operation: 76-63=13
Exploring Operation: 76-2=74, Resulting Numbers: [63, 74]
Generated Node #0,3,1: 15:[63, 74] Operation: 76-2=74
Exploring Operation: 76/2=38, Resulting Numbers: [63, 38]
Generated Node #0,3,2: 15:[63, 38] Operation: 76/2=38
Exploring Operation: 63-2=61, Resulting Numbers: [76, 61]
Generated Node #0,3,3: 15:[76, 61] Operation: 63-2=61
Exploring Operation: 76+2=78, Resulting Numbers: [63, 78]
Generated Node #0,3,4: 15:[63, 78] Operation: 76+2=78
Moving to Node #0,3,0
Current State: 15:[2, 13], Operations: ['84-82=2', '76-63=13']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[82, 84, 76, 63], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [76, 63, 2]
Generated Node #0,3: 15:[76, 63, 2] Operation: 84-82=2
Moving to Node #0,3
Current State: 15:[76, 63, 2], Operations: ['84-82=2']
Exploring Operation: 76-63=13, Resulting Numbers: [2, 13]
Generated Node #0,3,0: 15:[2, 13] Operation: 76-63=13
Moving to Node #0,3,0
Current State: 15:[2, 13], Operations: ['84-82=2', '76-63=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
63,
32,
5,
99
] | 56 | [
"63-32=31",
"5*31=155",
"155-99=56"
] | Current State: 56:[63, 32, 5, 99], Operations: []
Exploring Operation: 63-32=31, Resulting Numbers: [5, 99, 31]
Generated Node #2: [5, 99, 31] from Operation: 63-32=31
Current State: 56:[5, 99, 31], Operations: ['63-32=31']
Exploring Operation: 5*31=155, Resulting Numbers: [99, 155]
Generated Node #3: [99, 155] from Operation: 5*31=155
Current State: 56:[99, 155], Operations: ['63-32=31', '5*31=155']
Exploring Operation: 155-99=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[63, 32, 5, 99], Operations: []
Exploring Operation: 63-5=58, Resulting Numbers: [32, 99, 58]
Generated Node #0,0: 56:[32, 99, 58] Operation: 63-5=58
Exploring Operation: 99-63=36, Resulting Numbers: [32, 5, 36]
Generated Node #0,1: 56:[32, 5, 36] Operation: 99-63=36
Exploring Operation: 63-32=31, Resulting Numbers: [5, 99, 31]
Generated Node #0,2: 56:[5, 99, 31] Operation: 63-32=31
Exploring Operation: 99-32=67, Resulting Numbers: [63, 5, 67]
Generated Node #0,3: 56:[63, 5, 67] Operation: 99-32=67
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[32, 5, 36], Operations: ['99-63=36']
Exploring Operation: 36-32=4, Resulting Numbers: [5, 4]
Generated Node #0,1,0: 56:[5, 4] Operation: 36-32=4
Exploring Operation: 32-5=27, Resulting Numbers: [36, 27]
Generated Node #0,1,1: 56:[36, 27] Operation: 32-5=27
Exploring Operation: 36-5=31, Resulting Numbers: [32, 31]
Generated Node #0,1,2: 56:[32, 31] Operation: 36-5=31
Exploring Operation: 32+36=68, Resulting Numbers: [5, 68]
Generated Node #0,1,3: 56:[5, 68] Operation: 32+36=68
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 56:[5, 4], Operations: ['99-63=36', '36-32=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,56 unequal: No Solution
No 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: 56:[32, 31], Operations: ['99-63=36', '36-5=31']
Exploring Operation: 32+31=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Exploring Operation: 32*31=992, Resulting Numbers: [992]
992,56 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,56 unequal: No Solution
No 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: 56:[36, 27], Operations: ['99-63=36', '32-5=27']
Exploring Operation: 36+27=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Exploring Operation: 36*27=972, Resulting Numbers: [972]
972,56 unequal: No Solution
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 56:[5, 68], Operations: ['99-63=36', '32+36=68']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Exploring Operation: 5*68=340, Resulting Numbers: [340]
340,56 unequal: No Solution
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,56 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: 56:[63, 5, 67], Operations: ['99-32=67']
Exploring Operation: 67-5=62, Resulting Numbers: [63, 62]
Generated Node #0,3,0: 56:[63, 62] Operation: 67-5=62
Exploring Operation: 67-63=4, Resulting Numbers: [5, 4]
Generated Node #0,3,1: 56:[5, 4] Operation: 67-63=4
Exploring Operation: 63-5=58, Resulting Numbers: [67, 58]
Generated Node #0,3,2: 56:[67, 58] Operation: 63-5=58
Exploring Operation: 63+5=68, Resulting Numbers: [67, 68]
Generated Node #0,3,3: 56:[67, 68] Operation: 63+5=68
Moving to Node #0,3,1
Current State: 56:[5, 4], Operations: ['99-32=67', '67-63=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Moving to Node #0,3,2
Current State: 56:[67, 58], Operations: ['99-32=67', '63-5=58']
Exploring Operation: 67+58=125, Resulting Numbers: [125]
125,56 unequal: No Solution
Exploring Operation: 67*58=3886, Resulting Numbers: [3886]
3886,56 unequal: No Solution
Exploring Operation: 67-58=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Moving to Node #0,3,0
Current State: 56:[63, 62], Operations: ['99-32=67', '67-5=62']
Exploring Operation: 63-62=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 63+62=125, Resulting Numbers: [125]
125,56 unequal: No Solution
Exploring Operation: 63*62=3906, Resulting Numbers: [3906]
3906,56 unequal: No Solution
Moving to Node #0,3,3
Current State: 56:[67, 68], Operations: ['99-32=67', '63+5=68']
Exploring Operation: 68-67=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 67+68=135, Resulting Numbers: [135]
135,56 unequal: No Solution
Exploring Operation: 67*68=4556, Resulting Numbers: [4556]
4556,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:[5, 99, 31], Operations: ['63-32=31']
Exploring Operation: 31-5=26, Resulting Numbers: [99, 26]
Generated Node #0,2,0: 56:[99, 26] Operation: 31-5=26
Exploring Operation: 5+99=104, Resulting Numbers: [31, 104]
Generated Node #0,2,1: 56:[31, 104] Operation: 5+99=104
Exploring Operation: 99-5=94, Resulting Numbers: [31, 94]
Generated Node #0,2,2: 56:[31, 94] Operation: 99-5=94
Exploring Operation: 99-31=68, Resulting Numbers: [5, 68]
Generated Node #0,2,3: 56:[5, 68] Operation: 99-31=68
Moving to Node #0,2,3
Current State: 56:[5, 68], Operations: ['63-32=31', '99-31=68']
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,56 unequal: No Solution
Exploring Operation: 5*68=340, Resulting Numbers: [340]
340,56 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[31, 94], Operations: ['63-32=31', '99-5=94']
Exploring Operation: 94-31=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Exploring Operation: 31*94=2914, Resulting Numbers: [2914]
2914,56 unequal: No Solution
Exploring Operation: 31+94=125, Resulting Numbers: [125]
125,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[99, 26], Operations: ['63-32=31', '31-5=26']
Exploring Operation: 99*26=2574, Resulting Numbers: [2574]
2574,56 unequal: No Solution
Exploring Operation: 99+26=125, Resulting Numbers: [125]
125,56 unequal: No Solution
Exploring Operation: 99-26=73, Resulting Numbers: [73]
73,56 unequal: No Solution
Moving to Node #0,2,1
Current State: 56:[31, 104], Operations: ['63-32=31', '5+99=104']
Exploring Operation: 104-31=73, Resulting Numbers: [73]
73,56 unequal: No Solution
Exploring Operation: 31+104=135, Resulting Numbers: [135]
135,56 unequal: No Solution
Exploring Operation: 31*104=3224, Resulting Numbers: [3224]
3224,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:[32, 99, 58], Operations: ['63-5=58']
Exploring Operation: 99-32=67, Resulting Numbers: [58, 67]
Generated Node #0,0,0: 56:[58, 67] Operation: 99-32=67
Exploring Operation: 58-32=26, Resulting Numbers: [99, 26]
Generated Node #0,0,1: 56:[99, 26] Operation: 58-32=26
Exploring Operation: 32+99=131, Resulting Numbers: [58, 131]
Generated Node #0,0,2: 56:[58, 131] Operation: 32+99=131
Exploring Operation: 99-58=41, Resulting Numbers: [32, 41]
Generated Node #0,0,3: 56:[32, 41] Operation: 99-58=41
Moving to Node #0,0,0
Current State: 56:[58, 67], Operations: ['63-5=58', '99-32=67']
Exploring Operation: 67-58=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 58*67=3886, Resulting Numbers: [3886]
3886,56 unequal: No Solution
Exploring Operation: 58+67=125, Resulting Numbers: [125]
125,56 unequal: No Solution
Moving to Node #0,0,3
Current State: 56:[32, 41], Operations: ['63-5=58', '99-58=41']
Exploring Operation: 32*41=1312, Resulting Numbers: [1312]
1312,56 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 32+41=73, Resulting Numbers: [73]
73,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[99, 26], Operations: ['63-5=58', '58-32=26']
Exploring Operation: 99-26=73, Resulting Numbers: [73]
73,56 unequal: No Solution
Exploring Operation: 99+26=125, Resulting Numbers: [125]
125,56 unequal: No Solution
Exploring Operation: 99*26=2574, Resulting Numbers: [2574]
2574,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[58, 131], Operations: ['63-5=58', '32+99=131']
Exploring Operation: 131-58=73, Resulting Numbers: [73]
73,56 unequal: No Solution
Exploring Operation: 58+131=189, Resulting Numbers: [189]
189,56 unequal: No Solution
Exploring Operation: 58*131=7598, Resulting Numbers: [7598]
7598,56 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 |
[
64,
44,
4,
96
] | 80 | [
"64-44=20",
"4+96=100",
"100-20=80"
] | Current State: 80:[64, 44, 4, 96], Operations: []
Exploring Operation: 64-44=20, Resulting Numbers: [4, 96, 20]
Generated Node #2: [4, 96, 20] from Operation: 64-44=20
Current State: 80:[4, 96, 20], Operations: ['64-44=20']
Exploring Operation: 4+96=100, Resulting Numbers: [20, 100]
Generated Node #3: [20, 100] from Operation: 4+96=100
Current State: 80:[20, 100], Operations: ['64-44=20', '4+96=100']
Exploring Operation: 100-20=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[64, 44, 4, 96], Operations: []
Exploring Operation: 96-64=32, Resulting Numbers: [44, 4, 32]
Generated Node #0,0: 80:[44, 4, 32] Operation: 96-64=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[44, 4, 32], Operations: ['96-64=32']
Exploring Operation: 44-32=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 80:[4, 12] Operation: 44-32=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[4, 12], Operations: ['96-64=32', '44-32=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,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
No solution found.
| 0 | hs_1 | mult_heuristic |
[
57,
80,
36,
83
] | 17 | [
"83-80=3",
"57/3=19",
"36-19=17"
] | Current State: 17:[57, 80, 36, 83], Operations: []
Exploring Operation: 83-80=3, Resulting Numbers: [57, 36, 3]
Generated Node #2: [57, 36, 3] from Operation: 83-80=3
Current State: 17:[57, 36, 3], Operations: ['83-80=3']
Exploring Operation: 57/3=19, Resulting Numbers: [36, 19]
Generated Node #3: [36, 19] from Operation: 57/3=19
Current State: 17:[36, 19], Operations: ['83-80=3', '57/3=19']
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[57, 80, 36, 83], Operations: []
Exploring Operation: 83-80=3, Resulting Numbers: [57, 36, 3]
Generated Node #0,0: 17:[57, 36, 3] Operation: 83-80=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[57, 36, 3], Operations: ['83-80=3']
Exploring Operation: 57-36=21, Resulting Numbers: [3, 21]
Generated Node #0,0,0: 17:[3, 21] Operation: 57-36=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[3, 21], Operations: ['83-80=3', '57-36=21']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
18,
86,
99,
64
] | 95 | [
"86-18=68",
"99+64=163",
"163-68=95"
] | Current State: 95:[18, 86, 99, 64], Operations: []
Exploring Operation: 86-18=68, Resulting Numbers: [99, 64, 68]
Generated Node #2: [99, 64, 68] from Operation: 86-18=68
Current State: 95:[99, 64, 68], Operations: ['86-18=68']
Exploring Operation: 99+64=163, Resulting Numbers: [68, 163]
Generated Node #3: [68, 163] from Operation: 99+64=163
Current State: 95:[68, 163], Operations: ['86-18=68', '99+64=163']
Exploring Operation: 163-68=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[18, 86, 99, 64], Operations: []
Exploring Operation: 86-64=22, Resulting Numbers: [18, 99, 22]
Generated Node #0,0: 95:[18, 99, 22] Operation: 86-64=22
Moving to Node #0,0
Current State: 95:[18, 99, 22], Operations: ['86-64=22']
Exploring Operation: 22-18=4, Resulting Numbers: [99, 4]
Generated Node #0,0,0: 95:[99, 4] Operation: 22-18=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[99, 4], Operations: ['86-64=22', '22-18=4']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[18, 86, 99, 64], Operations: []
Exploring Operation: 86-64=22, Resulting Numbers: [18, 99, 22]
Generated Node #0,0: 95:[18, 99, 22] Operation: 86-64=22
Moving to Node #0,0
Current State: 95:[18, 99, 22], Operations: ['86-64=22']
Exploring Operation: 22-18=4, Resulting Numbers: [99, 4]
Generated Node #0,0,0: 95:[99, 4] Operation: 22-18=4
Moving to Node #0,0,0
Current State: 95:[99, 4], Operations: ['86-64=22', '22-18=4']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
14,
6,
96,
96
] | 66 | [
"96-14=82",
"96/6=16",
"82-16=66"
] | Current State: 66:[14, 6, 96, 96], Operations: []
Exploring Operation: 96-14=82, Resulting Numbers: [6, 82]
Generated Node #2: [6, 82] from Operation: 96-14=82
Current State: 66:[6, 82], Operations: ['96-14=82']
Exploring Operation: 96/6=16, Resulting Numbers: [82, 16]
Generated Node #3: [82, 16] from Operation: 96/6=16
Current State: 66:[82, 16], Operations: ['96-14=82', '96/6=16']
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[14, 6, 96, 96], Operations: []
Exploring Operation: 96/6=16, Resulting Numbers: [14, 96, 16]
Generated Node #0,0: 66:[14, 96, 16] Operation: 96/6=16
Exploring Operation: 96/96=1, Resulting Numbers: [14, 6, 1]
Generated Node #0,1: 66:[14, 6, 1] Operation: 96/96=1
Exploring Operation: 96-96=0, Resulting Numbers: [14, 6, 0]
Generated Node #0,2: 66:[14, 6, 0] Operation: 96-96=0
Moving to Node #0,1
Current State: 66:[14, 6, 1], Operations: ['96/96=1']
Exploring Operation: 14-1=13, Resulting Numbers: [6, 13]
Generated Node #0,1,0: 66:[6, 13] Operation: 14-1=13
Exploring Operation: 14+6=20, Resulting Numbers: [1, 20]
Generated Node #0,1,1: 66:[1, 20] Operation: 14+6=20
Exploring Operation: 14-6=8, Resulting Numbers: [1, 8]
Generated Node #0,1,2: 66:[1, 8] Operation: 14-6=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[6, 13], Operations: ['96/96=1', '14-1=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,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:[1, 20], Operations: ['96/96=1', '14+6=20']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,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:[1, 8], Operations: ['96/96=1', '14-6=8']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,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:[14, 6, 0], Operations: ['96-96=0']
Exploring Operation: 14*0=0, Resulting Numbers: [6, 0]
Generated Node #0,2,0: 66:[6, 0] Operation: 14*0=0
Exploring Operation: 14-0=14, Resulting Numbers: [6, 14]
Generated Node #0,2,1: 66:[6, 14] Operation: 14-0=14
Exploring Operation: 14+0=14, Resulting Numbers: [6, 14]
Generated Node #0,2,2: 66:[6, 14] Operation: 14+0=14
Moving to Node #0,0
Current State: 66:[14, 96, 16], Operations: ['96/6=16']
Exploring Operation: 96-14=82, Resulting Numbers: [16, 82]
Generated Node #0,0,0: 66:[16, 82] Operation: 96-14=82
Exploring Operation: 96/16=6, Resulting Numbers: [14, 6]
Generated Node #0,0,1: 66:[14, 6] Operation: 96/16=6
Exploring Operation: 96-16=80, Resulting Numbers: [14, 80]
Generated Node #0,0,2: 66:[14, 80] Operation: 96-16=80
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[14, 6], Operations: ['96/6=16', '96/16=6']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[14, 80], Operations: ['96/6=16', '96-16=80']
Exploring Operation: 14+80=94, Resulting Numbers: [94]
94,66 unequal: No Solution
Exploring Operation: 14*80=1120, Resulting Numbers: [1120]
1120,66 unequal: No Solution
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[14, 6, 96, 96], Operations: []
Exploring Operation: 96/6=16, Resulting Numbers: [14, 96, 16]
Generated Node #0,0: 66:[14, 96, 16] Operation: 96/6=16
Moving to Node #0,0
Current State: 66:[14, 96, 16], Operations: ['96/6=16']
Exploring Operation: 96-16=80, Resulting Numbers: [14, 80]
Generated Node #0,0,2: 66:[14, 80] Operation: 96-16=80
Moving to Node #0,0,2
Current State: 66:[14, 80], Operations: ['96/6=16', '96-16=80']
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_3 | sum_heuristic |
[
26,
6,
85,
5
] | 54 | [
"85/5=17",
"26-17=9",
"6*9=54"
] | Current State: 54:[26, 6, 85, 5], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [26, 6, 17]
Generated Node #2: [26, 6, 17] from Operation: 85/5=17
Current State: 54:[26, 6, 17], Operations: ['85/5=17']
Exploring Operation: 26-17=9, Resulting Numbers: [6, 9]
Generated Node #3: [6, 9] from Operation: 26-17=9
Current State: 54:[6, 9], Operations: ['85/5=17', '26-17=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[26, 6, 85, 5], Operations: []
Exploring Operation: 85-6=79, Resulting Numbers: [26, 5, 79]
Generated Node #0,0: 54:[26, 5, 79] Operation: 85-6=79
Exploring Operation: 85-5=80, Resulting Numbers: [26, 6, 80]
Generated Node #0,1: 54:[26, 6, 80] Operation: 85-5=80
Exploring Operation: 85-26=59, Resulting Numbers: [6, 5, 59]
Generated Node #0,2: 54:[6, 5, 59] Operation: 85-26=59
Exploring Operation: 85/5=17, Resulting Numbers: [26, 6, 17]
Generated Node #0,3: 54:[26, 6, 17] Operation: 85/5=17
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[26, 6, 17], Operations: ['85/5=17']
Exploring Operation: 26-6=20, Resulting Numbers: [17, 20]
Generated Node #0,3,0: 54:[17, 20] Operation: 26-6=20
Exploring Operation: 6+17=23, Resulting Numbers: [26, 23]
Generated Node #0,3,1: 54:[26, 23] Operation: 6+17=23
Exploring Operation: 26-17=9, Resulting Numbers: [6, 9]
Generated Node #0,3,2: 54:[6, 9] Operation: 26-17=9
Exploring Operation: 17-6=11, Resulting Numbers: [26, 11]
Generated Node #0,3,3: 54:[26, 11] Operation: 17-6=11
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 54:[6, 9], Operations: ['85/5=17', '26-17=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[26, 6, 85, 5], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [26, 6, 17]
Generated Node #0,3: 54:[26, 6, 17] Operation: 85/5=17
Moving to Node #0,3
Current State: 54:[26, 6, 17], Operations: ['85/5=17']
Exploring Operation: 26-17=9, Resulting Numbers: [6, 9]
Generated Node #0,3,2: 54:[6, 9] Operation: 26-17=9
Moving to Node #0,3,2
Current State: 54:[6, 9], Operations: ['85/5=17', '26-17=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
78,
12,
32,
72
] | 19 | [
"78*12=936",
"936/72=13",
"32-13=19"
] | Current State: 19:[78, 12, 32, 72], Operations: []
Exploring Operation: 78*12=936, Resulting Numbers: [32, 72, 936]
Generated Node #2: [32, 72, 936] from Operation: 78*12=936
Current State: 19:[32, 72, 936], Operations: ['78*12=936']
Exploring Operation: 936/72=13, Resulting Numbers: [32, 13]
Generated Node #3: [32, 13] from Operation: 936/72=13
Current State: 19:[32, 13], Operations: ['78*12=936', '936/72=13']
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[78, 12, 32, 72], Operations: []
Exploring Operation: 78-72=6, Resulting Numbers: [12, 32, 6]
Generated Node #0,0: 19:[12, 32, 6] Operation: 78-72=6
Exploring Operation: 72/12=6, Resulting Numbers: [78, 32, 6]
Generated Node #0,1: 19:[78, 32, 6] Operation: 72/12=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[12, 32, 6], Operations: ['78-72=6']
Exploring Operation: 32-12=20, Resulting Numbers: [6, 20]
Generated Node #0,0,0: 19:[6, 20] Operation: 32-12=20
Exploring Operation: 12+6=18, Resulting Numbers: [32, 18]
Generated Node #0,0,1: 19:[32, 18] Operation: 12+6=18
Moving to Node #0,0,0
Current State: 19:[6, 20], Operations: ['78-72=6', '32-12=20']
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[32, 18], Operations: ['78-72=6', '12+6=18']
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[78, 32, 6], Operations: ['72/12=6']
Exploring Operation: 78-32=46, Resulting Numbers: [6, 46]
Generated Node #0,1,0: 19:[6, 46] Operation: 78-32=46
Exploring Operation: 78/6=13, Resulting Numbers: [32, 13]
Generated Node #0,1,1: 19:[32, 13] Operation: 78/6=13
Moving to Node #0,1,1
Current State: 19:[32, 13], Operations: ['72/12=6', '78/6=13']
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,19 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[78, 12, 32, 72], Operations: []
Exploring Operation: 72/12=6, Resulting Numbers: [78, 32, 6]
Generated Node #0,1: 19:[78, 32, 6] Operation: 72/12=6
Moving to Node #0,1
Current State: 19:[78, 32, 6], Operations: ['72/12=6']
Exploring Operation: 78/6=13, Resulting Numbers: [32, 13]
Generated Node #0,1,1: 19:[32, 13] Operation: 78/6=13
Moving to Node #0,1,1
Current State: 19:[32, 13], Operations: ['72/12=6', '78/6=13']
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
79,
58,
18,
40
] | 79 | [
"79+58=137",
"18+40=58",
"137-58=79"
] | Current State: 79:[79, 58, 18, 40], Operations: []
Exploring Operation: 79+58=137, Resulting Numbers: [18, 40, 137]
Generated Node #2: [18, 40, 137] from Operation: 79+58=137
Current State: 79:[18, 40, 137], Operations: ['79+58=137']
Exploring Operation: 18+40=58, Resulting Numbers: [137, 58]
Generated Node #3: [137, 58] from Operation: 18+40=58
Current State: 79:[137, 58], Operations: ['79+58=137', '18+40=58']
Exploring Operation: 137-58=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[79, 58, 18, 40], Operations: []
Exploring Operation: 58+18=76, Resulting Numbers: [79, 40, 76]
Generated Node #0,0: 79:[79, 40, 76] Operation: 58+18=76
Moving to Node #0,0
Current State: 79:[79, 40, 76], Operations: ['58+18=76']
Exploring Operation: 40+76=116, Resulting Numbers: [79, 116]
Generated Node #0,0,0: 79:[79, 116] Operation: 40+76=116
Moving to Node #0,0,0
Current State: 79:[79, 116], Operations: ['58+18=76', '40+76=116']
Exploring Operation: 116-79=37, Resulting Numbers: [37]
37,79 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
56,
97,
4,
8
] | 75 | [
"56/4=14",
"97-8=89",
"89-14=75"
] | Current State: 75:[56, 97, 4, 8], Operations: []
Exploring Operation: 56/4=14, Resulting Numbers: [97, 8, 14]
Generated Node #2: [97, 8, 14] from Operation: 56/4=14
Current State: 75:[97, 8, 14], Operations: ['56/4=14']
Exploring Operation: 97-8=89, Resulting Numbers: [14, 89]
Generated Node #3: [14, 89] from Operation: 97-8=89
Current State: 75:[14, 89], Operations: ['56/4=14', '97-8=89']
Exploring Operation: 89-14=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[56, 97, 4, 8], Operations: []
Exploring Operation: 56/4=14, Resulting Numbers: [97, 8, 14]
Generated Node #0,0: 75:[97, 8, 14] Operation: 56/4=14
Exploring Operation: 97-56=41, Resulting Numbers: [4, 8, 41]
Generated Node #0,1: 75:[4, 8, 41] Operation: 97-56=41
Exploring Operation: 56+8=64, Resulting Numbers: [97, 4, 64]
Generated Node #0,2: 75:[97, 4, 64] Operation: 56+8=64
Exploring Operation: 97-8=89, Resulting Numbers: [56, 4, 89]
Generated Node #0,3: 75:[56, 4, 89] Operation: 97-8=89
Exploring Operation: 56/8=7, Resulting Numbers: [97, 4, 7]
Generated Node #0,4: 75:[97, 4, 7] Operation: 56/8=7
Moving to Node #0,1
Current State: 75:[4, 8, 41], Operations: ['97-56=41']
Exploring Operation: 8/4=2, Resulting Numbers: [41, 2]
Generated Node #0,1,0: 75:[41, 2] Operation: 8/4=2
Exploring Operation: 41-8=33, Resulting Numbers: [4, 33]
Generated Node #0,1,1: 75:[4, 33] Operation: 41-8=33
Exploring Operation: 4+8=12, Resulting Numbers: [41, 12]
Generated Node #0,1,2: 75:[41, 12] Operation: 4+8=12
Exploring Operation: 41-4=37, Resulting Numbers: [8, 37]
Generated Node #0,1,3: 75:[8, 37] Operation: 41-4=37
Exploring Operation: 8-4=4, Resulting Numbers: [41, 4]
Generated Node #0,1,4: 75:[41, 4] Operation: 8-4=4
Moving to Node #0,4
Current State: 75:[97, 4, 7], Operations: ['56/8=7']
Exploring Operation: 97-7=90, Resulting Numbers: [4, 90]
Generated Node #0,4,0: 75:[4, 90] Operation: 97-7=90
Exploring Operation: 4*7=28, Resulting Numbers: [97, 28]
Generated Node #0,4,1: 75:[97, 28] Operation: 4*7=28
Exploring Operation: 7-4=3, Resulting Numbers: [97, 3]
Generated Node #0,4,2: 75:[97, 3] Operation: 7-4=3
Exploring Operation: 4+7=11, Resulting Numbers: [97, 11]
Generated Node #0,4,3: 75:[97, 11] Operation: 4+7=11
Exploring Operation: 97-4=93, Resulting Numbers: [7, 93]
Generated Node #0,4,4: 75:[7, 93] Operation: 97-4=93
Moving to Node #0,0
Current State: 75:[97, 8, 14], Operations: ['56/4=14']
Exploring Operation: 97-14=83, Resulting Numbers: [8, 83]
Generated Node #0,0,0: 75:[8, 83] Operation: 97-14=83
Exploring Operation: 97+8=105, Resulting Numbers: [14, 105]
Generated Node #0,0,1: 75:[14, 105] Operation: 97+8=105
Exploring Operation: 8+14=22, Resulting Numbers: [97, 22]
Generated Node #0,0,2: 75:[97, 22] Operation: 8+14=22
Exploring Operation: 14-8=6, Resulting Numbers: [97, 6]
Generated Node #0,0,3: 75:[97, 6] Operation: 14-8=6
Exploring Operation: 97-8=89, Resulting Numbers: [14, 89]
Generated Node #0,0,4: 75:[14, 89] Operation: 97-8=89
Moving to Node #0,2
Current State: 75:[97, 4, 64], Operations: ['56+8=64']
Exploring Operation: 4+64=68, Resulting Numbers: [97, 68]
Generated Node #0,2,0: 75:[97, 68] Operation: 4+64=68
Exploring Operation: 97-4=93, Resulting Numbers: [64, 93]
Generated Node #0,2,1: 75:[64, 93] Operation: 97-4=93
Exploring Operation: 97+4=101, Resulting Numbers: [64, 101]
Generated Node #0,2,2: 75:[64, 101] Operation: 97+4=101
Exploring Operation: 97-64=33, Resulting Numbers: [4, 33]
Generated Node #0,2,3: 75:[4, 33] Operation: 97-64=33
Exploring Operation: 64/4=16, Resulting Numbers: [97, 16]
Generated Node #0,2,4: 75:[97, 16] Operation: 64/4=16
Moving to Node #0,3
Current State: 75:[56, 4, 89], Operations: ['97-8=89']
Exploring Operation: 56-4=52, Resulting Numbers: [89, 52]
Generated Node #0,3,0: 75:[89, 52] Operation: 56-4=52
Exploring Operation: 89-56=33, Resulting Numbers: [4, 33]
Generated Node #0,3,1: 75:[4, 33] Operation: 89-56=33
Exploring Operation: 89-4=85, Resulting Numbers: [56, 85]
Generated Node #0,3,2: 75:[56, 85] Operation: 89-4=85
Exploring Operation: 56/4=14, Resulting Numbers: [89, 14]
Generated Node #0,3,3: 75:[89, 14] Operation: 56/4=14
Exploring Operation: 56+4=60, Resulting Numbers: [89, 60]
Generated Node #0,3,4: 75:[89, 60] Operation: 56+4=60
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 75:[4, 33], Operations: ['97-8=89', '89-56=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,75 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,75 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 75:[89, 14], Operations: ['97-8=89', '56/4=14']
Exploring Operation: 89+14=103, Resulting Numbers: [103]
103,75 unequal: No Solution
Exploring Operation: 89*14=1246, Resulting Numbers: [1246]
1246,75 unequal: No Solution
Exploring Operation: 89-14=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[56, 97, 4, 8], Operations: []
Exploring Operation: 97-8=89, Resulting Numbers: [56, 4, 89]
Generated Node #0,3: 75:[56, 4, 89] Operation: 97-8=89
Moving to Node #0,3
Current State: 75:[56, 4, 89], Operations: ['97-8=89']
Exploring Operation: 56/4=14, Resulting Numbers: [89, 14]
Generated Node #0,3,3: 75:[89, 14] Operation: 56/4=14
Moving to Node #0,3,3
Current State: 75:[89, 14], Operations: ['97-8=89', '56/4=14']
Exploring Operation: 89-14=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | sum_heuristic |
[
11,
22,
67,
24
] | 19 | [
"22/11=2",
"24*2=48",
"67-48=19"
] | Current State: 19:[11, 22, 67, 24], Operations: []
Exploring Operation: 22/11=2, Resulting Numbers: [67, 24, 2]
Generated Node #2: [67, 24, 2] from Operation: 22/11=2
Current State: 19:[67, 24, 2], Operations: ['22/11=2']
Exploring Operation: 24*2=48, Resulting Numbers: [67, 48]
Generated Node #3: [67, 48] from Operation: 24*2=48
Current State: 19:[67, 48], Operations: ['22/11=2', '24*2=48']
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[11, 22, 67, 24], Operations: []
Exploring Operation: 22-11=11, Resulting Numbers: [67, 24, 11]
Generated Node #0,0: 19:[67, 24, 11] Operation: 22-11=11
Exploring Operation: 67-11=56, Resulting Numbers: [22, 24, 56]
Generated Node #0,1: 19:[22, 24, 56] Operation: 67-11=56
Exploring Operation: 67-22=45, Resulting Numbers: [11, 24, 45]
Generated Node #0,2: 19:[11, 24, 45] Operation: 67-22=45
Exploring Operation: 24-11=13, Resulting Numbers: [22, 67, 13]
Generated Node #0,3: 19:[22, 67, 13] Operation: 24-11=13
Exploring Operation: 67-24=43, Resulting Numbers: [11, 22, 43]
Generated Node #0,4: 19:[11, 22, 43] Operation: 67-24=43
Moving to Node #0,4
Current State: 19:[11, 22, 43], Operations: ['67-24=43']
Exploring Operation: 11+22=33, Resulting Numbers: [43, 33]
Generated Node #0,4,0: 19:[43, 33] Operation: 11+22=33
Exploring Operation: 43-11=32, Resulting Numbers: [22, 32]
Generated Node #0,4,1: 19:[22, 32] Operation: 43-11=32
Exploring Operation: 43-22=21, Resulting Numbers: [11, 21]
Generated Node #0,4,2: 19:[11, 21] Operation: 43-22=21
Exploring Operation: 11+43=54, Resulting Numbers: [22, 54]
Generated Node #0,4,3: 19:[22, 54] Operation: 11+43=54
Exploring Operation: 22-11=11, Resulting Numbers: [43, 11]
Generated Node #0,4,4: 19:[43, 11] Operation: 22-11=11
Moving to Node #0,2
Current State: 19:[11, 24, 45], Operations: ['67-22=45']
Exploring Operation: 11+45=56, Resulting Numbers: [24, 56]
Generated Node #0,2,0: 19:[24, 56] Operation: 11+45=56
Exploring Operation: 45-11=34, Resulting Numbers: [24, 34]
Generated Node #0,2,1: 19:[24, 34] Operation: 45-11=34
Exploring Operation: 45-24=21, Resulting Numbers: [11, 21]
Generated Node #0,2,2: 19:[11, 21] Operation: 45-24=21
Exploring Operation: 11+24=35, Resulting Numbers: [45, 35]
Generated Node #0,2,3: 19:[45, 35] Operation: 11+24=35
Exploring Operation: 24-11=13, Resulting Numbers: [45, 13]
Generated Node #0,2,4: 19:[45, 13] Operation: 24-11=13
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 19:[11, 21], Operations: ['67-22=45', '45-24=21']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,19 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,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,2,1
Current State: 19:[24, 34], Operations: ['67-22=45', '45-11=34']
Exploring Operation: 24+34=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 24*34=816, Resulting Numbers: [816]
816,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,2,4
Current State: 19:[45, 13], Operations: ['67-22=45', '24-11=13']
Exploring Operation: 45+13=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Exploring Operation: 45*13=585, Resulting Numbers: [585]
585,19 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,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,2,0
Current State: 19:[24, 56], Operations: ['67-22=45', '11+45=56']
Exploring Operation: 24+56=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 24*56=1344, Resulting Numbers: [1344]
1344,19 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,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,2,3
Current State: 19:[45, 35], Operations: ['67-22=45', '11+24=35']
Exploring Operation: 45+35=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 45*35=1575, Resulting Numbers: [1575]
1575,19 unequal: No Solution
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,19 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: 19:[22, 24, 56], Operations: ['67-11=56']
Exploring Operation: 22+56=78, Resulting Numbers: [24, 78]
Generated Node #0,1,0: 19:[24, 78] Operation: 22+56=78
Exploring Operation: 24-22=2, Resulting Numbers: [56, 2]
Generated Node #0,1,1: 19:[56, 2] Operation: 24-22=2
Exploring Operation: 22+24=46, Resulting Numbers: [56, 46]
Generated Node #0,1,2: 19:[56, 46] Operation: 22+24=46
Exploring Operation: 56-24=32, Resulting Numbers: [22, 32]
Generated Node #0,1,3: 19:[22, 32] Operation: 56-24=32
Exploring Operation: 56-22=34, Resulting Numbers: [24, 34]
Generated Node #0,1,4: 19:[24, 34] Operation: 56-22=34
Moving to Node #0,3
Current State: 19:[22, 67, 13], Operations: ['24-11=13']
Exploring Operation: 22-13=9, Resulting Numbers: [67, 9]
Generated Node #0,3,0: 19:[67, 9] Operation: 22-13=9
Exploring Operation: 67-22=45, Resulting Numbers: [13, 45]
Generated Node #0,3,1: 19:[13, 45] Operation: 67-22=45
Exploring Operation: 67+13=80, Resulting Numbers: [22, 80]
Generated Node #0,3,2: 19:[22, 80] Operation: 67+13=80
Exploring Operation: 67-13=54, Resulting Numbers: [22, 54]
Generated Node #0,3,3: 19:[22, 54] Operation: 67-13=54
Exploring Operation: 22+13=35, Resulting Numbers: [67, 35]
Generated Node #0,3,4: 19:[67, 35] Operation: 22+13=35
Moving to Node #0,0
Current State: 19:[67, 24, 11], Operations: ['22-11=11']
Exploring Operation: 67+11=78, Resulting Numbers: [24, 78]
Generated Node #0,0,0: 19:[24, 78] Operation: 67+11=78
Exploring Operation: 67-24=43, Resulting Numbers: [11, 43]
Generated Node #0,0,1: 19:[11, 43] Operation: 67-24=43
Exploring Operation: 24-11=13, Resulting Numbers: [67, 13]
Generated Node #0,0,2: 19:[67, 13] Operation: 24-11=13
Exploring Operation: 24+11=35, Resulting Numbers: [67, 35]
Generated Node #0,0,3: 19:[67, 35] Operation: 24+11=35
Exploring Operation: 67-11=56, Resulting Numbers: [24, 56]
Generated Node #0,0,4: 19:[24, 56] Operation: 67-11=56
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[11, 43], Operations: ['22-11=11', '67-24=43']
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 11+43=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 11*43=473, Resulting Numbers: [473]
473,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,4
Current State: 19:[24, 56], Operations: ['22-11=11', '67-11=56']
Exploring Operation: 24*56=1344, Resulting Numbers: [1344]
1344,19 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 24+56=80, Resulting Numbers: [80]
80,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,2
Current State: 19:[67, 13], Operations: ['22-11=11', '24-11=13']
Exploring Operation: 67*13=871, Resulting Numbers: [871]
871,19 unequal: No Solution
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 67+13=80, Resulting Numbers: [80]
80,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,0
Current State: 19:[24, 78], Operations: ['22-11=11', '67+11=78']
Exploring Operation: 24*78=1872, Resulting Numbers: [1872]
1872,19 unequal: No Solution
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 24+78=102, Resulting Numbers: [102]
102,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,3
Current State: 19:[67, 35], Operations: ['22-11=11', '24+11=35']
Exploring Operation: 67-35=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 67+35=102, Resulting Numbers: [102]
102,19 unequal: No Solution
Exploring Operation: 67*35=2345, Resulting Numbers: [2345]
2345,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,2
Current State: 19:[11, 21], Operations: ['67-24=43', '43-22=21']
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,19 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[22, 32], Operations: ['67-11=56', '56-24=32']
Exploring Operation: 22*32=704, Resulting Numbers: [704]
704,19 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 22+32=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Moving to Node #0,4,1
Current State: 19:[22, 32], Operations: ['67-24=43', '43-11=32']
Exploring Operation: 22+32=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 22*32=704, Resulting Numbers: [704]
704,19 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Moving to Node #0,1,4
Current State: 19:[24, 34], Operations: ['67-11=56', '56-22=34']
Exploring Operation: 24+34=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Exploring Operation: 24*34=816, Resulting Numbers: [816]
816,19 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Moving to Node #0,4,4
Current State: 19:[43, 11], Operations: ['67-24=43', '22-11=11']
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 43*11=473, Resulting Numbers: [473]
473,19 unequal: No Solution
Exploring Operation: 43+11=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Moving to Node #0,3,1
Current State: 19:[13, 45], Operations: ['24-11=13', '67-22=45']
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 13*45=585, Resulting Numbers: [585]
585,19 unequal: No Solution
Exploring Operation: 13+45=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Moving to Node #0,3,3
Current State: 19:[22, 54], Operations: ['24-11=13', '67-13=54']
Exploring Operation: 22+54=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Exploring Operation: 22*54=1188, Resulting Numbers: [1188]
1188,19 unequal: No Solution
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Moving to Node #0,4,3
Current State: 19:[22, 54], Operations: ['67-24=43', '11+43=54']
Exploring Operation: 22+54=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Exploring Operation: 22*54=1188, Resulting Numbers: [1188]
1188,19 unequal: No Solution
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Moving to Node #0,4,0
Current State: 19:[43, 33], Operations: ['67-24=43', '11+22=33']
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 43*33=1419, Resulting Numbers: [1419]
1419,19 unequal: No Solution
Exploring Operation: 43+33=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[56, 2], Operations: ['67-11=56', '24-22=2']
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Exploring Operation: 56*2=112, Resulting Numbers: [112]
112,19 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Moving to Node #0,3,0
Current State: 19:[67, 9], Operations: ['24-11=13', '22-13=9']
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Exploring Operation: 67+9=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Exploring Operation: 67*9=603, Resulting Numbers: [603]
603,19 unequal: No Solution
Moving to Node #0,3,4
Current State: 19:[67, 35], Operations: ['24-11=13', '22+13=35']
Exploring Operation: 67+35=102, Resulting Numbers: [102]
102,19 unequal: No Solution
Exploring Operation: 67*35=2345, Resulting Numbers: [2345]
2345,19 unequal: No Solution
Exploring Operation: 67-35=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Moving to Node #0,3,2
Current State: 19:[22, 80], Operations: ['24-11=13', '67+13=80']
Exploring Operation: 22+80=102, Resulting Numbers: [102]
102,19 unequal: No Solution
Exploring Operation: 80-22=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Exploring Operation: 22*80=1760, Resulting Numbers: [1760]
1760,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[56, 46], Operations: ['67-11=56', '22+24=46']
Exploring Operation: 56+46=102, Resulting Numbers: [102]
102,19 unequal: No Solution
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 56*46=2576, Resulting Numbers: [2576]
2576,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[24, 78], Operations: ['67-11=56', '22+56=78']
Exploring Operation: 24+78=102, Resulting Numbers: [102]
102,19 unequal: No Solution
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 24*78=1872, Resulting Numbers: [1872]
1872,19 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
85,
3,
35,
62
] | 94 | [
"62-35=27",
"27/3=9",
"85+9=94"
] | Current State: 94:[85, 3, 35, 62], Operations: []
Exploring Operation: 62-35=27, Resulting Numbers: [85, 3, 27]
Generated Node #2: [85, 3, 27] from Operation: 62-35=27
Current State: 94:[85, 3, 27], Operations: ['62-35=27']
Exploring Operation: 27/3=9, Resulting Numbers: [85, 9]
Generated Node #3: [85, 9] from Operation: 27/3=9
Current State: 94:[85, 9], Operations: ['62-35=27', '27/3=9']
Exploring Operation: 85+9=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[85, 3, 35, 62], Operations: []
Exploring Operation: 35+62=97, Resulting Numbers: [85, 3, 97]
Generated Node #0,0: 94:[85, 3, 97] Operation: 35+62=97
Moving to Node #0,0
Current State: 94:[85, 3, 97], Operations: ['35+62=97']
Exploring Operation: 85+3=88, Resulting Numbers: [97, 88]
Generated Node #0,0,0: 94:[97, 88] Operation: 85+3=88
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[97, 88], Operations: ['35+62=97', '85+3=88']
Exploring Operation: 97-88=9, Resulting Numbers: [9]
9,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 |
[
94,
16,
88,
18
] | 95 | [
"94+18=112",
"112/16=7",
"88+7=95"
] | Current State: 95:[94, 16, 88, 18], Operations: []
Exploring Operation: 94+18=112, Resulting Numbers: [16, 88, 112]
Generated Node #2: [16, 88, 112] from Operation: 94+18=112
Current State: 95:[16, 88, 112], Operations: ['94+18=112']
Exploring Operation: 112/16=7, Resulting Numbers: [88, 7]
Generated Node #3: [88, 7] from Operation: 112/16=7
Current State: 95:[88, 7], Operations: ['94+18=112', '112/16=7']
Exploring Operation: 88+7=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[94, 16, 88, 18], Operations: []
Exploring Operation: 94-88=6, Resulting Numbers: [16, 18, 6]
Generated Node #0,0: 95:[16, 18, 6] Operation: 94-88=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[16, 18, 6], Operations: ['94-88=6']
Exploring Operation: 16*6=96, Resulting Numbers: [18, 96]
Generated Node #0,0,0: 95:[18, 96] Operation: 16*6=96
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[18, 96], Operations: ['94-88=6', '16*6=96']
Exploring Operation: 96-18=78, Resulting Numbers: [78]
78,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
88,
21,
41,
29
] | 97 | [
"88+21=109",
"41-29=12",
"109-12=97"
] | Current State: 97:[88, 21, 41, 29], Operations: []
Exploring Operation: 88+21=109, Resulting Numbers: [41, 29, 109]
Generated Node #2: [41, 29, 109] from Operation: 88+21=109
Current State: 97:[41, 29, 109], Operations: ['88+21=109']
Exploring Operation: 41-29=12, Resulting Numbers: [109, 12]
Generated Node #3: [109, 12] from Operation: 41-29=12
Current State: 97:[109, 12], Operations: ['88+21=109', '41-29=12']
Exploring Operation: 109-12=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[88, 21, 41, 29], Operations: []
Exploring Operation: 88+21=109, Resulting Numbers: [41, 29, 109]
Generated Node #0,0: 97:[41, 29, 109] Operation: 88+21=109
Exploring Operation: 41+29=70, Resulting Numbers: [88, 21, 70]
Generated Node #0,1: 97:[88, 21, 70] Operation: 41+29=70
Exploring Operation: 88+29=117, Resulting Numbers: [21, 41, 117]
Generated Node #0,2: 97:[21, 41, 117] Operation: 88+29=117
Exploring Operation: 21+41=62, Resulting Numbers: [88, 29, 62]
Generated Node #0,3: 97:[88, 29, 62] Operation: 21+41=62
Exploring Operation: 21+29=50, Resulting Numbers: [88, 41, 50]
Generated Node #0,4: 97:[88, 41, 50] Operation: 21+29=50
Moving to Node #0,1
Current State: 97:[88, 21, 70], Operations: ['41+29=70']
Exploring Operation: 88-21=67, Resulting Numbers: [70, 67]
Generated Node #0,1,0: 97:[70, 67] Operation: 88-21=67
Exploring Operation: 70-21=49, Resulting Numbers: [88, 49]
Generated Node #0,1,1: 97:[88, 49] Operation: 70-21=49
Exploring Operation: 21+70=91, Resulting Numbers: [88, 91]
Generated Node #0,1,2: 97:[88, 91] Operation: 21+70=91
Exploring Operation: 88+70=158, Resulting Numbers: [21, 158]
Generated Node #0,1,3: 97:[21, 158] Operation: 88+70=158
Exploring Operation: 88+21=109, Resulting Numbers: [70, 109]
Generated Node #0,1,4: 97:[70, 109] Operation: 88+21=109
Moving to Node #0,4
Current State: 97:[88, 41, 50], Operations: ['21+29=50']
Exploring Operation: 88+50=138, Resulting Numbers: [41, 138]
Generated Node #0,4,0: 97:[41, 138] Operation: 88+50=138
Exploring Operation: 41+50=91, Resulting Numbers: [88, 91]
Generated Node #0,4,1: 97:[88, 91] Operation: 41+50=91
Exploring Operation: 88-41=47, Resulting Numbers: [50, 47]
Generated Node #0,4,2: 97:[50, 47] Operation: 88-41=47
Exploring Operation: 88+41=129, Resulting Numbers: [50, 129]
Generated Node #0,4,3: 97:[50, 129] Operation: 88+41=129
Exploring Operation: 50-41=9, Resulting Numbers: [88, 9]
Generated Node #0,4,4: 97:[88, 9] Operation: 50-41=9
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 97:[88, 91], Operations: ['21+29=50', '41+50=91']
Exploring Operation: 88*91=8008, Resulting Numbers: [8008]
8008,97 unequal: No Solution
Exploring Operation: 91-88=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 88+91=179, Resulting Numbers: [179]
179,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 97:[50, 129], Operations: ['21+29=50', '88+41=129']
Exploring Operation: 50*129=6450, Resulting Numbers: [6450]
6450,97 unequal: No Solution
Exploring Operation: 50+129=179, Resulting Numbers: [179]
179,97 unequal: No Solution
Exploring Operation: 129-50=79, Resulting Numbers: [79]
79,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 97:[41, 138], Operations: ['21+29=50', '88+50=138']
Exploring Operation: 138-41=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[88, 21, 41, 29], Operations: []
Exploring Operation: 21+29=50, Resulting Numbers: [88, 41, 50]
Generated Node #0,4: 97:[88, 41, 50] Operation: 21+29=50
Moving to Node #0,4
Current State: 97:[88, 41, 50], Operations: ['21+29=50']
Exploring Operation: 88+50=138, Resulting Numbers: [41, 138]
Generated Node #0,4,0: 97:[41, 138] Operation: 88+50=138
Moving to Node #0,4,0
Current State: 97:[41, 138], Operations: ['21+29=50', '88+50=138']
Exploring Operation: 138-41=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | mult_heuristic |
[
59,
24,
30,
3
] | 21 | [
"59-30=29",
"24/3=8",
"29-8=21"
] | Current State: 21:[59, 24, 30, 3], Operations: []
Exploring Operation: 59-30=29, Resulting Numbers: [24, 3, 29]
Generated Node #2: [24, 3, 29] from Operation: 59-30=29
Current State: 21:[24, 3, 29], Operations: ['59-30=29']
Exploring Operation: 24/3=8, Resulting Numbers: [29, 8]
Generated Node #3: [29, 8] from Operation: 24/3=8
Current State: 21:[29, 8], Operations: ['59-30=29', '24/3=8']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[59, 24, 30, 3], Operations: []
Exploring Operation: 59-24=35, Resulting Numbers: [30, 3, 35]
Generated Node #0,0: 21:[30, 3, 35] Operation: 59-24=35
Exploring Operation: 59-30=29, Resulting Numbers: [24, 3, 29]
Generated Node #0,1: 21:[24, 3, 29] Operation: 59-30=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[24, 3, 29], Operations: ['59-30=29']
Exploring Operation: 24-3=21, Resulting Numbers: [29, 21]
Generated Node #0,1,0: 21:[29, 21] Operation: 24-3=21
Exploring Operation: 29-24=5, Resulting Numbers: [3, 5]
Generated Node #0,1,1: 21:[3, 5] Operation: 29-24=5
Moving to Node #0,1,1
Current State: 21:[3, 5], Operations: ['59-30=29', '29-24=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[29, 21], Operations: ['59-30=29', '24-3=21']
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,21 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[30, 3, 35], Operations: ['59-24=35']
Exploring Operation: 35-30=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 21:[3, 5] Operation: 35-30=5
Exploring Operation: 30/3=10, Resulting Numbers: [35, 10]
Generated Node #0,0,1: 21:[35, 10] Operation: 30/3=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[3, 5], Operations: ['59-24=35', '35-30=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,21 unequal: No Solution
No 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: 21:[35, 10], Operations: ['59-24=35', '30/3=10']
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,21 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,21 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 |
[
96,
84,
8,
10
] | 26 | [
"96+84=180",
"180/10=18",
"8+18=26"
] | Current State: 26:[96, 84, 8, 10], Operations: []
Exploring Operation: 96+84=180, Resulting Numbers: [8, 10, 180]
Generated Node #2: [8, 10, 180] from Operation: 96+84=180
Current State: 26:[8, 10, 180], Operations: ['96+84=180']
Exploring Operation: 180/10=18, Resulting Numbers: [8, 18]
Generated Node #3: [8, 18] from Operation: 180/10=18
Current State: 26:[8, 18], Operations: ['96+84=180', '180/10=18']
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[96, 84, 8, 10], Operations: []
Exploring Operation: 96/8=12, Resulting Numbers: [84, 10, 12]
Generated Node #0,0: 26:[84, 10, 12] Operation: 96/8=12
Exploring Operation: 96-8=88, Resulting Numbers: [84, 10, 88]
Generated Node #0,1: 26:[84, 10, 88] Operation: 96-8=88
Exploring Operation: 96-10=86, Resulting Numbers: [84, 8, 86]
Generated Node #0,2: 26:[84, 8, 86] Operation: 96-10=86
Exploring Operation: 96-84=12, Resulting Numbers: [8, 10, 12]
Generated Node #0,3: 26:[8, 10, 12] Operation: 96-84=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 26:[8, 10, 12], Operations: ['96-84=12']
Exploring Operation: 10-8=2, Resulting Numbers: [12, 2]
Generated Node #0,3,0: 26:[12, 2] Operation: 10-8=2
Exploring Operation: 12-8=4, Resulting Numbers: [10, 4]
Generated Node #0,3,1: 26:[10, 4] Operation: 12-8=4
Exploring Operation: 12-10=2, Resulting Numbers: [8, 2]
Generated Node #0,3,2: 26:[8, 2] Operation: 12-10=2
Exploring Operation: 8+10=18, Resulting Numbers: [12, 18]
Generated Node #0,3,3: 26:[12, 18] Operation: 8+10=18
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 26:[12, 2], Operations: ['96-84=12', '10-8=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,26 unequal: No Solution
No 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: 26:[10, 4], Operations: ['96-84=12', '12-8=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,26 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,26 unequal: No Solution
No 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: 26:[8, 2], Operations: ['96-84=12', '12-10=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,26 unequal: No Solution
No 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: 26:[12, 18], Operations: ['96-84=12', '8+10=18']
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,26 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: 26:[84, 10, 12], Operations: ['96/8=12']
Exploring Operation: 84/12=7, Resulting Numbers: [10, 7]
Generated Node #0,0,0: 26:[10, 7] Operation: 84/12=7
Exploring Operation: 12-10=2, Resulting Numbers: [84, 2]
Generated Node #0,0,1: 26:[84, 2] Operation: 12-10=2
Exploring Operation: 84-12=72, Resulting Numbers: [10, 72]
Generated Node #0,0,2: 26:[10, 72] Operation: 84-12=72
Exploring Operation: 84-10=74, Resulting Numbers: [12, 74]
Generated Node #0,0,3: 26:[12, 74] Operation: 84-10=74
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[10, 7], Operations: ['96/8=12', '84/12=7']
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,26 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,26 unequal: No Solution
No 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: 26:[10, 72], Operations: ['96/8=12', '84-12=72']
Exploring Operation: 10*72=720, Resulting Numbers: [720]
720,26 unequal: No Solution
Exploring Operation: 10+72=82, Resulting Numbers: [82]
82,26 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,26 unequal: No Solution
No 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: 26:[12, 74], Operations: ['96/8=12', '84-10=74']
Exploring Operation: 12+74=86, Resulting Numbers: [86]
86,26 unequal: No Solution
Exploring Operation: 12*74=888, Resulting Numbers: [888]
888,26 unequal: No Solution
Exploring Operation: 74-12=62, Resulting Numbers: [62]
62,26 unequal: No Solution
No 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: 26:[84, 2], Operations: ['96/8=12', '12-10=2']
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,26 unequal: No Solution
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,26 unequal: No Solution
Exploring Operation: 84*2=168, Resulting Numbers: [168]
168,26 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,26 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: 26:[84, 10, 88], Operations: ['96-8=88']
Exploring Operation: 88-84=4, Resulting Numbers: [10, 4]
Generated Node #0,1,0: 26:[10, 4] Operation: 88-84=4
Exploring Operation: 84+10=94, Resulting Numbers: [88, 94]
Generated Node #0,1,1: 26:[88, 94] Operation: 84+10=94
Exploring Operation: 84-10=74, Resulting Numbers: [88, 74]
Generated Node #0,1,2: 26:[88, 74] Operation: 84-10=74
Exploring Operation: 88-10=78, Resulting Numbers: [84, 78]
Generated Node #0,1,3: 26:[84, 78] Operation: 88-10=78
Moving to Node #0,1,0
Current State: 26:[10, 4], Operations: ['96-8=88', '88-84=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,26 unequal: No Solution
Moving to Node #0,1,3
Current State: 26:[84, 78], Operations: ['96-8=88', '88-10=78']
Exploring Operation: 84*78=6552, Resulting Numbers: [6552]
6552,26 unequal: No Solution
Exploring Operation: 84+78=162, Resulting Numbers: [162]
162,26 unequal: No Solution
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[88, 74], Operations: ['96-8=88', '84-10=74']
Exploring Operation: 88+74=162, Resulting Numbers: [162]
162,26 unequal: No Solution
Exploring Operation: 88-74=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 88*74=6512, Resulting Numbers: [6512]
6512,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[88, 94], Operations: ['96-8=88', '84+10=94']
Exploring Operation: 94-88=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 88*94=8272, Resulting Numbers: [8272]
8272,26 unequal: No Solution
Exploring Operation: 88+94=182, Resulting Numbers: [182]
182,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[84, 8, 86], Operations: ['96-10=86']
Exploring Operation: 84+8=92, Resulting Numbers: [86, 92]
Generated Node #0,2,0: 26:[86, 92] Operation: 84+8=92
Exploring Operation: 86-8=78, Resulting Numbers: [84, 78]
Generated Node #0,2,1: 26:[84, 78] Operation: 86-8=78
Exploring Operation: 86-84=2, Resulting Numbers: [8, 2]
Generated Node #0,2,2: 26:[8, 2] Operation: 86-84=2
Exploring Operation: 84-8=76, Resulting Numbers: [86, 76]
Generated Node #0,2,3: 26:[86, 76] Operation: 84-8=76
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 26:[8, 2], Operations: ['96-10=86', '86-84=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,26 unequal: No Solution
No 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: 26:[84, 78], Operations: ['96-10=86', '86-8=78']
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 84*78=6552, Resulting Numbers: [6552]
6552,26 unequal: No Solution
Exploring Operation: 84+78=162, Resulting Numbers: [162]
162,26 unequal: No Solution
No 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: 26:[86, 76], Operations: ['96-10=86', '84-8=76']
Exploring Operation: 86-76=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 86+76=162, Resulting Numbers: [162]
162,26 unequal: No Solution
Exploring Operation: 86*76=6536, Resulting Numbers: [6536]
6536,26 unequal: No Solution
No 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: 26:[86, 92], Operations: ['96-10=86', '84+8=92']
Exploring Operation: 92-86=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 86+92=178, Resulting Numbers: [178]
178,26 unequal: No Solution
Exploring Operation: 86*92=7912, Resulting Numbers: [7912]
7912,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
80,
12,
12,
99
] | 18 | [
"99-80=19",
"12/12=1",
"19-1=18"
] | Current State: 18:[80, 12, 12, 99], Operations: []
Exploring Operation: 99-80=19, Resulting Numbers: [12, 12, 19]
Generated Node #2: [12, 12, 19] from Operation: 99-80=19
Current State: 18:[12, 12, 19], Operations: ['99-80=19']
Exploring Operation: 12/12=1, Resulting Numbers: [19, 1]
Generated Node #3: [19, 1] from Operation: 12/12=1
Current State: 18:[19, 1], Operations: ['99-80=19', '12/12=1']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[80, 12, 12, 99], Operations: []
Exploring Operation: 99-80=19, Resulting Numbers: [12, 12, 19]
Generated Node #0,0: 18:[12, 12, 19] Operation: 99-80=19
Exploring Operation: 80-12=68, Resulting Numbers: [12, 99, 68]
Generated Node #0,1: 18:[12, 99, 68] Operation: 80-12=68
Exploring Operation: 80-12=68, Resulting Numbers: [12, 99, 68]
Generated Node #0,2: 18:[12, 99, 68] Operation: 80-12=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[12, 12, 19], Operations: ['99-80=19']
Exploring Operation: 12-12=0, Resulting Numbers: [19, 0]
Generated Node #0,0,0: 18:[19, 0] Operation: 12-12=0
Exploring Operation: 19-12=7, Resulting Numbers: [12, 7]
Generated Node #0,0,1: 18:[12, 7] Operation: 19-12=7
Exploring Operation: 12/12=1, Resulting Numbers: [19, 1]
Generated Node #0,0,2: 18:[19, 1] Operation: 12/12=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 18:[19, 1], Operations: ['99-80=19', '12/12=1']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[80, 12, 12, 99], Operations: []
Exploring Operation: 99-80=19, Resulting Numbers: [12, 12, 19]
Generated Node #0,0: 18:[12, 12, 19] Operation: 99-80=19
Moving to Node #0,0
Current State: 18:[12, 12, 19], Operations: ['99-80=19']
Exploring Operation: 12/12=1, Resulting Numbers: [19, 1]
Generated Node #0,0,2: 18:[19, 1] Operation: 12/12=1
Moving to Node #0,0,2
Current State: 18:[19, 1], Operations: ['99-80=19', '12/12=1']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
83,
63,
51,
10
] | 81 | [
"83-63=20",
"51+10=61",
"20+61=81"
] | Current State: 81:[83, 63, 51, 10], Operations: []
Exploring Operation: 83-63=20, Resulting Numbers: [51, 10, 20]
Generated Node #2: [51, 10, 20] from Operation: 83-63=20
Current State: 81:[51, 10, 20], Operations: ['83-63=20']
Exploring Operation: 51+10=61, Resulting Numbers: [20, 61]
Generated Node #3: [20, 61] from Operation: 51+10=61
Current State: 81:[20, 61], Operations: ['83-63=20', '51+10=61']
Exploring Operation: 20+61=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[83, 63, 51, 10], Operations: []
Exploring Operation: 63+10=73, Resulting Numbers: [83, 51, 73]
Generated Node #0,0: 81:[83, 51, 73] Operation: 63+10=73
Exploring Operation: 83-51=32, Resulting Numbers: [63, 10, 32]
Generated Node #0,1: 81:[63, 10, 32] Operation: 83-51=32
Exploring Operation: 63-51=12, Resulting Numbers: [83, 10, 12]
Generated Node #0,2: 81:[83, 10, 12] Operation: 63-51=12
Exploring Operation: 83-63=20, Resulting Numbers: [51, 10, 20]
Generated Node #0,3: 81:[51, 10, 20] Operation: 83-63=20
Moving to Node #0,2
Current State: 81:[83, 10, 12], Operations: ['63-51=12']
Exploring Operation: 83-12=71, Resulting Numbers: [10, 71]
Generated Node #0,2,0: 81:[10, 71] Operation: 83-12=71
Exploring Operation: 10+12=22, Resulting Numbers: [83, 22]
Generated Node #0,2,1: 81:[83, 22] Operation: 10+12=22
Exploring Operation: 12-10=2, Resulting Numbers: [83, 2]
Generated Node #0,2,2: 81:[83, 2] Operation: 12-10=2
Exploring Operation: 83-10=73, Resulting Numbers: [12, 73]
Generated Node #0,2,3: 81:[12, 73] Operation: 83-10=73
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[83, 2], Operations: ['63-51=12', '12-10=2']
Exploring Operation: 83*2=166, Resulting Numbers: [166]
166,81 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[83, 63, 51, 10], Operations: []
Exploring Operation: 63-51=12, Resulting Numbers: [83, 10, 12]
Generated Node #0,2: 81:[83, 10, 12] Operation: 63-51=12
Moving to Node #0,2
Current State: 81:[83, 10, 12], Operations: ['63-51=12']
Exploring Operation: 12-10=2, Resulting Numbers: [83, 2]
Generated Node #0,2,2: 81:[83, 2] Operation: 12-10=2
Moving to Node #0,2,2
Current State: 81:[83, 2], Operations: ['63-51=12', '12-10=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
12,
4,
21,
37
] | 42 | [
"12+4=16",
"21+37=58",
"58-16=42"
] | Current State: 42:[12, 4, 21, 37], Operations: []
Exploring Operation: 12+4=16, Resulting Numbers: [21, 37, 16]
Generated Node #2: [21, 37, 16] from Operation: 12+4=16
Current State: 42:[21, 37, 16], Operations: ['12+4=16']
Exploring Operation: 21+37=58, Resulting Numbers: [16, 58]
Generated Node #3: [16, 58] from Operation: 21+37=58
Current State: 42:[16, 58], Operations: ['12+4=16', '21+37=58']
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[12, 4, 21, 37], Operations: []
Exploring Operation: 4+37=41, Resulting Numbers: [12, 21, 41]
Generated Node #0,0: 42:[12, 21, 41] Operation: 4+37=41
Exploring Operation: 37-12=25, Resulting Numbers: [4, 21, 25]
Generated Node #0,1: 42:[4, 21, 25] Operation: 37-12=25
Exploring Operation: 12/4=3, Resulting Numbers: [21, 37, 3]
Generated Node #0,2: 42:[21, 37, 3] Operation: 12/4=3
Moving to Node #0,0
Current State: 42:[12, 21, 41], Operations: ['4+37=41']
Exploring Operation: 41-12=29, Resulting Numbers: [21, 29]
Generated Node #0,0,0: 42:[21, 29] Operation: 41-12=29
Exploring Operation: 21-12=9, Resulting Numbers: [41, 9]
Generated Node #0,0,1: 42:[41, 9] Operation: 21-12=9
Exploring Operation: 41-21=20, Resulting Numbers: [12, 20]
Generated Node #0,0,2: 42:[12, 20] Operation: 41-21=20
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[41, 9], Operations: ['4+37=41', '21-12=9']
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,42 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,42 unequal: No Solution
Exploring Operation: 41*9=369, Resulting Numbers: [369]
369,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,2
Current State: 42:[12, 20], Operations: ['4+37=41', '41-21=20']
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,42 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 12*20=240, Resulting Numbers: [240]
240,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[21, 29], Operations: ['4+37=41', '41-12=29']
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 21*29=609, Resulting Numbers: [609]
609,42 unequal: No Solution
Exploring Operation: 21+29=50, Resulting Numbers: [50]
50,42 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: 42:[4, 21, 25], Operations: ['37-12=25']
Exploring Operation: 21+25=46, Resulting Numbers: [4, 46]
Generated Node #0,1,0: 42:[4, 46] Operation: 21+25=46
Exploring Operation: 25-21=4, Resulting Numbers: [4, 4]
Generated Node #0,1,1: 42:[4, 4] Operation: 25-21=4
Exploring Operation: 25-4=21, Resulting Numbers: [21, 21]
Generated Node #0,1,2: 42:[21, 21] Operation: 25-4=21
Moving to Node #0,2
Current State: 42:[21, 37, 3], Operations: ['12/4=3']
Exploring Operation: 37+3=40, Resulting Numbers: [21, 40]
Generated Node #0,2,0: 42:[21, 40] Operation: 37+3=40
Exploring Operation: 21/3=7, Resulting Numbers: [37, 7]
Generated Node #0,2,1: 42:[37, 7] Operation: 21/3=7
Exploring Operation: 37-21=16, Resulting Numbers: [3, 16]
Generated Node #0,2,2: 42:[3, 16] Operation: 37-21=16
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[21, 40], Operations: ['12/4=3', '37+3=40']
Exploring Operation: 21*40=840, Resulting Numbers: [840]
840,42 unequal: No Solution
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Exploring Operation: 21+40=61, Resulting Numbers: [61]
61,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,2,2
Current State: 42:[3, 16], Operations: ['12/4=3', '37-21=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,42 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,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,2,1
Current State: 42:[37, 7], Operations: ['12/4=3', '21/3=7']
Exploring Operation: 37*7=259, Resulting Numbers: [259]
259,42 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,42 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: 42:[21, 21], Operations: ['37-12=25', '25-4=21']
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[12, 4, 21, 37], Operations: []
Exploring Operation: 37-12=25, Resulting Numbers: [4, 21, 25]
Generated Node #0,1: 42:[4, 21, 25] Operation: 37-12=25
Moving to Node #0,1
Current State: 42:[4, 21, 25], Operations: ['37-12=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21, 21]
Generated Node #0,1,2: 42:[21, 21] Operation: 25-4=21
Moving to Node #0,1,2
Current State: 42:[21, 21], Operations: ['37-12=25', '25-4=21']
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.967882 | hs_3 | sum_heuristic |
[
68,
32,
98,
16
] | 38 | [
"68*32=2176",
"2176/16=136",
"136-98=38"
] | Current State: 38:[68, 32, 98, 16], Operations: []
Exploring Operation: 68*32=2176, Resulting Numbers: [98, 16, 2176]
Generated Node #2: [98, 16, 2176] from Operation: 68*32=2176
Current State: 38:[98, 16, 2176], Operations: ['68*32=2176']
Exploring Operation: 2176/16=136, Resulting Numbers: [98, 136]
Generated Node #3: [98, 136] from Operation: 2176/16=136
Current State: 38:[98, 136], Operations: ['68*32=2176', '2176/16=136']
Exploring Operation: 136-98=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[68, 32, 98, 16], Operations: []
Exploring Operation: 68-16=52, Resulting Numbers: [32, 98, 52]
Generated Node #0,0: 38:[32, 98, 52] Operation: 68-16=52
Exploring Operation: 68-32=36, Resulting Numbers: [98, 16, 36]
Generated Node #0,1: 38:[98, 16, 36] Operation: 68-32=36
Exploring Operation: 98-16=82, Resulting Numbers: [68, 32, 82]
Generated Node #0,2: 38:[68, 32, 82] Operation: 98-16=82
Exploring Operation: 98-32=66, Resulting Numbers: [68, 16, 66]
Generated Node #0,3: 38:[68, 16, 66] Operation: 98-32=66
Exploring Operation: 98-68=30, Resulting Numbers: [32, 16, 30]
Generated Node #0,4: 38:[32, 16, 30] Operation: 98-68=30
Moving to Node #0,4
Current State: 38:[32, 16, 30], Operations: ['98-68=30']
Exploring Operation: 32/16=2, Resulting Numbers: [30, 2]
Generated Node #0,4,0: 38:[30, 2] Operation: 32/16=2
Exploring Operation: 16+30=46, Resulting Numbers: [32, 46]
Generated Node #0,4,1: 38:[32, 46] Operation: 16+30=46
Exploring Operation: 32-30=2, Resulting Numbers: [16, 2]
Generated Node #0,4,2: 38:[16, 2] Operation: 32-30=2
Exploring Operation: 30-16=14, Resulting Numbers: [32, 14]
Generated Node #0,4,3: 38:[32, 14] Operation: 30-16=14
Exploring Operation: 32-16=16, Resulting Numbers: [30, 16]
Generated Node #0,4,4: 38:[30, 16] Operation: 32-16=16
Moving to Node #0,3
Current State: 38:[68, 16, 66], Operations: ['98-32=66']
Exploring Operation: 68+16=84, Resulting Numbers: [66, 84]
Generated Node #0,3,0: 38:[66, 84] Operation: 68+16=84
Exploring Operation: 66-16=50, Resulting Numbers: [68, 50]
Generated Node #0,3,1: 38:[68, 50] Operation: 66-16=50
Exploring Operation: 68-16=52, Resulting Numbers: [66, 52]
Generated Node #0,3,2: 38:[66, 52] Operation: 68-16=52
Exploring Operation: 68-66=2, Resulting Numbers: [16, 2]
Generated Node #0,3,3: 38:[16, 2] Operation: 68-66=2
Exploring Operation: 16+66=82, Resulting Numbers: [68, 82]
Generated Node #0,3,4: 38:[68, 82] Operation: 16+66=82
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 38:[16, 2], Operations: ['98-32=66', '68-66=2']
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 38:[68, 50], Operations: ['98-32=66', '66-16=50']
Exploring Operation: 68-50=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 68+50=118, Resulting Numbers: [118]
118,38 unequal: No Solution
Exploring Operation: 68*50=3400, Resulting Numbers: [3400]
3400,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 38:[66, 52], Operations: ['98-32=66', '68-16=52']
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 66*52=3432, Resulting Numbers: [3432]
3432,38 unequal: No Solution
Exploring Operation: 66+52=118, Resulting Numbers: [118]
118,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 38:[66, 84], Operations: ['98-32=66', '68+16=84']
Exploring Operation: 84-66=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 66+84=150, Resulting Numbers: [150]
150,38 unequal: No Solution
Exploring Operation: 66*84=5544, Resulting Numbers: [5544]
5544,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 38:[68, 82], Operations: ['98-32=66', '16+66=82']
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 68*82=5576, Resulting Numbers: [5576]
5576,38 unequal: No Solution
Exploring Operation: 68+82=150, Resulting Numbers: [150]
150,38 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: 38:[98, 16, 36], Operations: ['68-32=36']
Exploring Operation: 98-36=62, Resulting Numbers: [16, 62]
Generated Node #0,1,0: 38:[16, 62] Operation: 98-36=62
Exploring Operation: 16+36=52, Resulting Numbers: [98, 52]
Generated Node #0,1,1: 38:[98, 52] Operation: 16+36=52
Exploring Operation: 98-16=82, Resulting Numbers: [36, 82]
Generated Node #0,1,2: 38:[36, 82] Operation: 98-16=82
Exploring Operation: 98+16=114, Resulting Numbers: [36, 114]
Generated Node #0,1,3: 38:[36, 114] Operation: 98+16=114
Exploring Operation: 36-16=20, Resulting Numbers: [98, 20]
Generated Node #0,1,4: 38:[98, 20] Operation: 36-16=20
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[16, 62], Operations: ['68-32=36', '98-36=62']
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 16*62=992, Resulting Numbers: [992]
992,38 unequal: No Solution
Exploring Operation: 16+62=78, Resulting Numbers: [78]
78,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 38:[36, 82], Operations: ['68-32=36', '98-16=82']
Exploring Operation: 36*82=2952, Resulting Numbers: [2952]
2952,38 unequal: No Solution
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 36+82=118, Resulting Numbers: [118]
118,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 38:[98, 20], Operations: ['68-32=36', '36-16=20']
Exploring Operation: 98*20=1960, Resulting Numbers: [1960]
1960,38 unequal: No Solution
Exploring Operation: 98+20=118, Resulting Numbers: [118]
118,38 unequal: No Solution
Exploring Operation: 98-20=78, Resulting Numbers: [78]
78,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[98, 52], Operations: ['68-32=36', '16+36=52']
Exploring Operation: 98-52=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 98+52=150, Resulting Numbers: [150]
150,38 unequal: No Solution
Exploring Operation: 98*52=5096, Resulting Numbers: [5096]
5096,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 38:[36, 114], Operations: ['68-32=36', '98+16=114']
Exploring Operation: 36+114=150, Resulting Numbers: [150]
150,38 unequal: No Solution
Exploring Operation: 114-36=78, Resulting Numbers: [78]
78,38 unequal: No Solution
Exploring Operation: 36*114=4104, Resulting Numbers: [4104]
4104,38 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: 38:[32, 98, 52], Operations: ['68-16=52']
Exploring Operation: 52-32=20, Resulting Numbers: [98, 20]
Generated Node #0,0,0: 38:[98, 20] Operation: 52-32=20
Exploring Operation: 98-32=66, Resulting Numbers: [52, 66]
Generated Node #0,0,1: 38:[52, 66] Operation: 98-32=66
Exploring Operation: 98-52=46, Resulting Numbers: [32, 46]
Generated Node #0,0,2: 38:[32, 46] Operation: 98-52=46
Exploring Operation: 32+98=130, Resulting Numbers: [52, 130]
Generated Node #0,0,3: 38:[52, 130] Operation: 32+98=130
Exploring Operation: 32+52=84, Resulting Numbers: [98, 84]
Generated Node #0,0,4: 38:[98, 84] Operation: 32+52=84
Moving to Node #0,2
Current State: 38:[68, 32, 82], Operations: ['98-16=82']
Exploring Operation: 68-32=36, Resulting Numbers: [82, 36]
Generated Node #0,2,0: 38:[82, 36] Operation: 68-32=36
Exploring Operation: 82-68=14, Resulting Numbers: [32, 14]
Generated Node #0,2,1: 38:[32, 14] Operation: 82-68=14
Exploring Operation: 32+82=114, Resulting Numbers: [68, 114]
Generated Node #0,2,2: 38:[68, 114] Operation: 32+82=114
Exploring Operation: 68+32=100, Resulting Numbers: [82, 100]
Generated Node #0,2,3: 38:[82, 100] Operation: 68+32=100
Exploring Operation: 82-32=50, Resulting Numbers: [68, 50]
Generated Node #0,2,4: 38:[68, 50] Operation: 82-32=50
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 38:[32, 14], Operations: ['98-16=82', '82-68=14']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 32*14=448, Resulting Numbers: [448]
448,38 unequal: No Solution
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 38:[68, 50], Operations: ['98-16=82', '82-32=50']
Exploring Operation: 68*50=3400, Resulting Numbers: [3400]
3400,38 unequal: No Solution
Exploring Operation: 68-50=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 68+50=118, Resulting Numbers: [118]
118,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 38:[82, 36], Operations: ['98-16=82', '68-32=36']
Exploring Operation: 82*36=2952, Resulting Numbers: [2952]
2952,38 unequal: No Solution
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 82+36=118, Resulting Numbers: [118]
118,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 38:[68, 114], Operations: ['98-16=82', '32+82=114']
Exploring Operation: 114-68=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 68+114=182, Resulting Numbers: [182]
182,38 unequal: No Solution
Exploring Operation: 68*114=7752, Resulting Numbers: [7752]
7752,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 38:[82, 100], Operations: ['98-16=82', '68+32=100']
Exploring Operation: 82*100=8200, Resulting Numbers: [8200]
8200,38 unequal: No Solution
Exploring Operation: 100-82=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 82+100=182, Resulting Numbers: [182]
182,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,2
Current State: 38:[16, 2], Operations: ['98-68=30', '32-30=2']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,38 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Moving to Node #0,4,0
Current State: 38:[30, 2], Operations: ['98-68=30', '32/16=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,38 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Moving to Node #0,4,3
Current State: 38:[32, 14], Operations: ['98-68=30', '30-16=14']
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 32*14=448, Resulting Numbers: [448]
448,38 unequal: No Solution
Moving to Node #0,4,4
Current State: 38:[30, 16], Operations: ['98-68=30', '32-16=16']
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,38 unequal: No Solution
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[32, 46], Operations: ['68-16=52', '98-52=46']
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 32*46=1472, Resulting Numbers: [1472]
1472,38 unequal: No Solution
Exploring Operation: 32+46=78, Resulting Numbers: [78]
78,38 unequal: No Solution
Moving to Node #0,4,1
Current State: 38:[32, 46], Operations: ['98-68=30', '16+30=46']
Exploring Operation: 32*46=1472, Resulting Numbers: [1472]
1472,38 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 32+46=78, Resulting Numbers: [78]
78,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[52, 66], Operations: ['68-16=52', '98-32=66']
Exploring Operation: 52*66=3432, Resulting Numbers: [3432]
3432,38 unequal: No Solution
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 52+66=118, Resulting Numbers: [118]
118,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[98, 20], Operations: ['68-16=52', '52-32=20']
Exploring Operation: 98*20=1960, Resulting Numbers: [1960]
1960,38 unequal: No Solution
Exploring Operation: 98+20=118, Resulting Numbers: [118]
118,38 unequal: No Solution
Exploring Operation: 98-20=78, Resulting Numbers: [78]
78,38 unequal: No Solution
Moving to Node #0,0,3
Current State: 38:[52, 130], Operations: ['68-16=52', '32+98=130']
Exploring Operation: 52+130=182, Resulting Numbers: [182]
182,38 unequal: No Solution
Exploring Operation: 52*130=6760, Resulting Numbers: [6760]
6760,38 unequal: No Solution
Exploring Operation: 130-52=78, Resulting Numbers: [78]
78,38 unequal: No Solution
Moving to Node #0,0,4
Current State: 38:[98, 84], Operations: ['68-16=52', '32+52=84']
Exploring Operation: 98-84=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 98+84=182, Resulting Numbers: [182]
182,38 unequal: No Solution
Exploring Operation: 98*84=8232, Resulting Numbers: [8232]
8232,38 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.