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 |
|---|---|---|---|---|---|---|---|---|
[
31,
7,
48,
12
] | 35 | [
"48-31=17",
"17-12=5",
"7*5=35"
] | Current State: 35:[31, 7, 48, 12], Operations: []
Exploring Operation: 48-31=17, Resulting Numbers: [7, 12, 17]
Generated Node #2: [7, 12, 17] from Operation: 48-31=17
Current State: 35:[7, 12, 17], Operations: ['48-31=17']
Exploring Operation: 17-12=5, Resulting Numbers: [7, 5]
Generated Node #3: [7, 5] from Operation: 17-12=5
Current State: 35:[7, 5], Operations: ['48-31=17', '17-12=5']
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[31, 7, 48, 12], Operations: []
Exploring Operation: 48/12=4, Resulting Numbers: [31, 7, 4]
Generated Node #0,0: 35:[31, 7, 4] Operation: 48/12=4
Exploring Operation: 48-12=36, Resulting Numbers: [31, 7, 36]
Generated Node #0,1: 35:[31, 7, 36] Operation: 48-12=36
Exploring Operation: 12-7=5, Resulting Numbers: [31, 48, 5]
Generated Node #0,2: 35:[31, 48, 5] Operation: 12-7=5
Exploring Operation: 48-31=17, Resulting Numbers: [7, 12, 17]
Generated Node #0,3: 35:[7, 12, 17] Operation: 48-31=17
Exploring Operation: 48-7=41, Resulting Numbers: [31, 12, 41]
Generated Node #0,4: 35:[31, 12, 41] Operation: 48-7=41
Moving to Node #0,0
Current State: 35:[31, 7, 4], Operations: ['48/12=4']
Exploring Operation: 7-4=3, Resulting Numbers: [31, 3]
Generated Node #0,0,0: 35:[31, 3] Operation: 7-4=3
Exploring Operation: 31-4=27, Resulting Numbers: [7, 27]
Generated Node #0,0,1: 35:[7, 27] Operation: 31-4=27
Exploring Operation: 31+7=38, Resulting Numbers: [4, 38]
Generated Node #0,0,2: 35:[4, 38] Operation: 31+7=38
Exploring Operation: 31+4=35, Resulting Numbers: [7, 35]
Generated Node #0,0,3: 35:[7, 35] Operation: 31+4=35
Exploring Operation: 7+4=11, Resulting Numbers: [31, 11]
Generated Node #0,0,4: 35:[31, 11] Operation: 7+4=11
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 35:[7, 35], Operations: ['48/12=4', '31+4=35']
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 7*35=245, Resulting Numbers: [245]
245,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[4, 38], Operations: ['48/12=4', '31+7=38']
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,35 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,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:[31, 3], Operations: ['48/12=4', '7-4=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,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:[7, 27], Operations: ['48/12=4', '31-4=27']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 7*27=189, Resulting Numbers: [189]
189,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 35:[31, 11], Operations: ['48/12=4', '7+4=11']
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,35 unequal: No Solution
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,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:[31, 7, 36], Operations: ['48-12=36']
Exploring Operation: 31+7=38, Resulting Numbers: [36, 38]
Generated Node #0,1,0: 35:[36, 38] Operation: 31+7=38
Exploring Operation: 31-7=24, Resulting Numbers: [36, 24]
Generated Node #0,1,1: 35:[36, 24] Operation: 31-7=24
Exploring Operation: 7+36=43, Resulting Numbers: [31, 43]
Generated Node #0,1,2: 35:[31, 43] Operation: 7+36=43
Exploring Operation: 36-7=29, Resulting Numbers: [31, 29]
Generated Node #0,1,3: 35:[31, 29] Operation: 36-7=29
Exploring Operation: 36-31=5, Resulting Numbers: [7, 5]
Generated Node #0,1,4: 35:[7, 5] Operation: 36-31=5
Moving to Node #0,3
Current State: 35:[7, 12, 17], Operations: ['48-31=17']
Exploring Operation: 17-7=10, Resulting Numbers: [12, 10]
Generated Node #0,3,0: 35:[12, 10] Operation: 17-7=10
Exploring Operation: 12+17=29, Resulting Numbers: [7, 29]
Generated Node #0,3,1: 35:[7, 29] Operation: 12+17=29
Exploring Operation: 7+17=24, Resulting Numbers: [12, 24]
Generated Node #0,3,2: 35:[12, 24] Operation: 7+17=24
Exploring Operation: 17-12=5, Resulting Numbers: [7, 5]
Generated Node #0,3,3: 35:[7, 5] Operation: 17-12=5
Exploring Operation: 12-7=5, Resulting Numbers: [17, 5]
Generated Node #0,3,4: 35:[17, 5] Operation: 12-7=5
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 35:[7, 5], Operations: ['48-31=17', '17-12=5']
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[31, 7, 48, 12], Operations: []
Exploring Operation: 48-31=17, Resulting Numbers: [7, 12, 17]
Generated Node #0,3: 35:[7, 12, 17] Operation: 48-31=17
Moving to Node #0,3
Current State: 35:[7, 12, 17], Operations: ['48-31=17']
Exploring Operation: 17-12=5, Resulting Numbers: [7, 5]
Generated Node #0,3,3: 35:[7, 5] Operation: 17-12=5
Moving to Node #0,3,3
Current State: 35:[7, 5], Operations: ['48-31=17', '17-12=5']
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
72,
63,
63,
36
] | 35 | [
"72-36=36",
"63/63=1",
"36-1=35"
] | Current State: 35:[72, 63, 63, 36], Operations: []
Exploring Operation: 72-36=36, Resulting Numbers: [63, 63, 36]
Generated Node #2: [63, 63, 36] from Operation: 72-36=36
Current State: 35:[63, 63, 36], Operations: ['72-36=36']
Exploring Operation: 63/63=1, Resulting Numbers: [36, 1]
Generated Node #3: [36, 1] from Operation: 63/63=1
Current State: 35:[36, 1], Operations: ['72-36=36', '63/63=1']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[72, 63, 63, 36], Operations: []
Exploring Operation: 72-36=36, Resulting Numbers: [63, 63, 36]
Generated Node #0,0: 35:[63, 63, 36] Operation: 72-36=36
Exploring Operation: 72-63=9, Resulting Numbers: [63, 36, 9]
Generated Node #0,1: 35:[63, 36, 9] Operation: 72-63=9
Exploring Operation: 72-63=9, Resulting Numbers: [63, 36, 9]
Generated Node #0,2: 35:[63, 36, 9] Operation: 72-63=9
Exploring Operation: 63/63=1, Resulting Numbers: [72, 36, 1]
Generated Node #0,3: 35:[72, 36, 1] Operation: 63/63=1
Exploring Operation: 63-63=0, Resulting Numbers: [72, 36, 0]
Generated Node #0,4: 35:[72, 36, 0] Operation: 63-63=0
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[63, 36, 9], Operations: ['72-63=9']
Exploring Operation: 36/9=4, Resulting Numbers: [63, 4]
Generated Node #0,1,0: 35:[63, 4] Operation: 36/9=4
Exploring Operation: 36-9=27, Resulting Numbers: [63, 27]
Generated Node #0,1,1: 35:[63, 27] Operation: 36-9=27
Exploring Operation: 63-36=27, Resulting Numbers: [9, 27]
Generated Node #0,1,2: 35:[9, 27] Operation: 63-36=27
Exploring Operation: 63/9=7, Resulting Numbers: [36, 7]
Generated Node #0,1,3: 35:[36, 7] Operation: 63/9=7
Exploring Operation: 63-9=54, Resulting Numbers: [36, 54]
Generated Node #0,1,4: 35:[36, 54] Operation: 63-9=54
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 35:[36, 7], Operations: ['72-63=9', '63/9=7']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,35 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,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,1,2
Current State: 35:[9, 27], Operations: ['72-63=9', '63-36=27']
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 9*27=243, Resulting Numbers: [243]
243,35 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,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,1,4
Current State: 35:[36, 54], Operations: ['72-63=9', '63-9=54']
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,35 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 36*54=1944, Resulting Numbers: [1944]
1944,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,1,0
Current State: 35:[63, 4], Operations: ['72-63=9', '36/9=4']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,35 unequal: No Solution
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,35 unequal: No Solution
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,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,1,1
Current State: 35:[63, 27], Operations: ['72-63=9', '36-9=27']
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 63+27=90, Resulting Numbers: [90]
90,35 unequal: No Solution
Exploring Operation: 63*27=1701, Resulting Numbers: [1701]
1701,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,2
Current State: 35:[63, 36, 9], Operations: ['72-63=9']
Exploring Operation: 36/9=4, Resulting Numbers: [63, 4]
Generated Node #0,2,0: 35:[63, 4] Operation: 36/9=4
Exploring Operation: 63/9=7, Resulting Numbers: [36, 7]
Generated Node #0,2,1: 35:[36, 7] Operation: 63/9=7
Exploring Operation: 36-9=27, Resulting Numbers: [63, 27]
Generated Node #0,2,2: 35:[63, 27] Operation: 36-9=27
Exploring Operation: 63-36=27, Resulting Numbers: [9, 27]
Generated Node #0,2,3: 35:[9, 27] Operation: 63-36=27
Exploring Operation: 63-9=54, Resulting Numbers: [36, 54]
Generated Node #0,2,4: 35:[36, 54] Operation: 63-9=54
Moving to Node #0,2,1
Current State: 35:[36, 7], Operations: ['72-63=9', '63/9=7']
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,35 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,35 unequal: No Solution
Moving to Node #0,2,3
Current State: 35:[9, 27], Operations: ['72-63=9', '63-36=27']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 9*27=243, Resulting Numbers: [243]
243,35 unequal: No Solution
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Moving to Node #0,2,4
Current State: 35:[36, 54], Operations: ['72-63=9', '63-9=54']
Exploring Operation: 36*54=1944, Resulting Numbers: [1944]
1944,35 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[63, 4], Operations: ['72-63=9', '36/9=4']
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,35 unequal: No Solution
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,35 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[63, 27], Operations: ['72-63=9', '36-9=27']
Exploring Operation: 63+27=90, Resulting Numbers: [90]
90,35 unequal: No Solution
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 63*27=1701, Resulting Numbers: [1701]
1701,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,3
Current State: 35:[72, 36, 1], Operations: ['63/63=1']
Exploring Operation: 72*1=72, Resulting Numbers: [36, 72]
Generated Node #0,3,0: 35:[36, 72] Operation: 72*1=72
Exploring Operation: 72-1=71, Resulting Numbers: [36, 71]
Generated Node #0,3,1: 35:[36, 71] Operation: 72-1=71
Exploring Operation: 72-36=36, Resulting Numbers: [1, 36]
Generated Node #0,3,2: 35:[1, 36] Operation: 72-36=36
Exploring Operation: 72/36=2, Resulting Numbers: [1, 2]
Generated Node #0,3,3: 35:[1, 2] Operation: 72/36=2
Exploring Operation: 36-1=35, Resulting Numbers: [72, 35]
Generated Node #0,3,4: 35:[72, 35] Operation: 36-1=35
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 35:[1, 36], Operations: ['63/63=1', '72-36=36']
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 1+36=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[72, 63, 63, 36], Operations: []
Exploring Operation: 63/63=1, Resulting Numbers: [72, 36, 1]
Generated Node #0,3: 35:[72, 36, 1] Operation: 63/63=1
Moving to Node #0,3
Current State: 35:[72, 36, 1], Operations: ['63/63=1']
Exploring Operation: 72-36=36, Resulting Numbers: [1, 36]
Generated Node #0,3,2: 35:[1, 36] Operation: 72-36=36
Moving to Node #0,3,2
Current State: 35:[1, 36], Operations: ['63/63=1', '72-36=36']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.947917 | hs_5 | mult_heuristic |
[
33,
18,
86,
3
] | 43 | [
"33+3=36",
"18*86=1548",
"1548/36=43"
] | Current State: 43:[33, 18, 86, 3], Operations: []
Exploring Operation: 33+3=36, Resulting Numbers: [18, 86, 36]
Generated Node #2: [18, 86, 36] from Operation: 33+3=36
Current State: 43:[18, 86, 36], Operations: ['33+3=36']
Exploring Operation: 18*86=1548, Resulting Numbers: [36, 1548]
Generated Node #3: [36, 1548] from Operation: 18*86=1548
Current State: 43:[36, 1548], Operations: ['33+3=36', '18*86=1548']
Exploring Operation: 1548/36=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[33, 18, 86, 3], Operations: []
Exploring Operation: 18*3=54, Resulting Numbers: [33, 86, 54]
Generated Node #0,0: 43:[33, 86, 54] Operation: 18*3=54
Moving to Node #0,0
Current State: 43:[33, 86, 54], Operations: ['18*3=54']
Exploring Operation: 86-33=53, Resulting Numbers: [54, 53]
Generated Node #0,0,0: 43:[54, 53] Operation: 86-33=53
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[54, 53], Operations: ['18*3=54', '86-33=53']
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,43 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 |
[
89,
78,
83,
71
] | 90 | [
"89-71=18",
"83-78=5",
"18*5=90"
] | Current State: 90:[89, 78, 83, 71], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [78, 83, 18]
Generated Node #2: [78, 83, 18] from Operation: 89-71=18
Current State: 90:[78, 83, 18], Operations: ['89-71=18']
Exploring Operation: 83-78=5, Resulting Numbers: [18, 5]
Generated Node #3: [18, 5] from Operation: 83-78=5
Current State: 90:[18, 5], Operations: ['89-71=18', '83-78=5']
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[89, 78, 83, 71], Operations: []
Exploring Operation: 78-71=7, Resulting Numbers: [89, 83, 7]
Generated Node #0,0: 90:[89, 83, 7] Operation: 78-71=7
Exploring Operation: 83-78=5, Resulting Numbers: [89, 71, 5]
Generated Node #0,1: 90:[89, 71, 5] Operation: 83-78=5
Exploring Operation: 89-71=18, Resulting Numbers: [78, 83, 18]
Generated Node #0,2: 90:[78, 83, 18] Operation: 89-71=18
Exploring Operation: 83-71=12, Resulting Numbers: [89, 78, 12]
Generated Node #0,3: 90:[89, 78, 12] Operation: 83-71=12
Exploring Operation: 89-78=11, Resulting Numbers: [83, 71, 11]
Generated Node #0,4: 90:[83, 71, 11] Operation: 89-78=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[89, 83, 7], Operations: ['78-71=7']
Exploring Operation: 89+7=96, Resulting Numbers: [83, 96]
Generated Node #0,0,0: 90:[83, 96] Operation: 89+7=96
Exploring Operation: 89-83=6, Resulting Numbers: [7, 6]
Generated Node #0,0,1: 90:[7, 6] Operation: 89-83=6
Exploring Operation: 89-7=82, Resulting Numbers: [83, 82]
Generated Node #0,0,2: 90:[83, 82] Operation: 89-7=82
Exploring Operation: 83-7=76, Resulting Numbers: [89, 76]
Generated Node #0,0,3: 90:[89, 76] Operation: 83-7=76
Exploring Operation: 83+7=90, Resulting Numbers: [89, 90]
Generated Node #0,0,4: 90:[89, 90] Operation: 83+7=90
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[7, 6], Operations: ['78-71=7', '89-83=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,90 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,90 unequal: No Solution
No 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: 90:[89, 90], Operations: ['78-71=7', '83+7=90']
Exploring Operation: 89*90=8010, Resulting Numbers: [8010]
8010,90 unequal: No Solution
Exploring Operation: 89+90=179, Resulting Numbers: [179]
179,90 unequal: No Solution
Exploring Operation: 90-89=1, Resulting Numbers: [1]
1,90 unequal: No Solution
No 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: 90:[83, 96], Operations: ['78-71=7', '89+7=96']
Exploring Operation: 83*96=7968, Resulting Numbers: [7968]
7968,90 unequal: No Solution
Exploring Operation: 96-83=13, Resulting Numbers: [13]
13,90 unequal: No Solution
Exploring Operation: 83+96=179, Resulting Numbers: [179]
179,90 unequal: No Solution
No 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: 90:[83, 82], Operations: ['78-71=7', '89-7=82']
Exploring Operation: 83-82=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 83+82=165, Resulting Numbers: [165]
165,90 unequal: No Solution
Exploring Operation: 83*82=6806, Resulting Numbers: [6806]
6806,90 unequal: No Solution
No 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: 90:[89, 76], Operations: ['78-71=7', '83-7=76']
Exploring Operation: 89+76=165, Resulting Numbers: [165]
165,90 unequal: No Solution
Exploring Operation: 89*76=6764, Resulting Numbers: [6764]
6764,90 unequal: No Solution
Exploring Operation: 89-76=13, Resulting Numbers: [13]
13,90 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: 90:[89, 78, 12], Operations: ['83-71=12']
Exploring Operation: 89-12=77, Resulting Numbers: [78, 77]
Generated Node #0,3,0: 90:[78, 77] Operation: 89-12=77
Exploring Operation: 89+12=101, Resulting Numbers: [78, 101]
Generated Node #0,3,1: 90:[78, 101] Operation: 89+12=101
Exploring Operation: 78-12=66, Resulting Numbers: [89, 66]
Generated Node #0,3,2: 90:[89, 66] Operation: 78-12=66
Exploring Operation: 78+12=90, Resulting Numbers: [89, 90]
Generated Node #0,3,3: 90:[89, 90] Operation: 78+12=90
Exploring Operation: 89-78=11, Resulting Numbers: [12, 11]
Generated Node #0,3,4: 90:[12, 11] Operation: 89-78=11
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 90:[89, 90], Operations: ['83-71=12', '78+12=90']
Exploring Operation: 89+90=179, Resulting Numbers: [179]
179,90 unequal: No Solution
Exploring Operation: 90-89=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 89*90=8010, Resulting Numbers: [8010]
8010,90 unequal: No Solution
No 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: 90:[12, 11], Operations: ['83-71=12', '89-78=11']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,90 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,90 unequal: No Solution
No 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: 90:[89, 66], Operations: ['83-71=12', '78-12=66']
Exploring Operation: 89*66=5874, Resulting Numbers: [5874]
5874,90 unequal: No Solution
Exploring Operation: 89+66=155, Resulting Numbers: [155]
155,90 unequal: No Solution
Exploring Operation: 89-66=23, Resulting Numbers: [23]
23,90 unequal: No Solution
No 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: 90:[78, 101], Operations: ['83-71=12', '89+12=101']
Exploring Operation: 101-78=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 78+101=179, Resulting Numbers: [179]
179,90 unequal: No Solution
Exploring Operation: 78*101=7878, Resulting Numbers: [7878]
7878,90 unequal: No Solution
No 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: 90:[78, 77], Operations: ['83-71=12', '89-12=77']
Exploring Operation: 78*77=6006, Resulting Numbers: [6006]
6006,90 unequal: No Solution
Exploring Operation: 78-77=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 78+77=155, Resulting Numbers: [155]
155,90 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: 90:[78, 83, 18], Operations: ['89-71=18']
Exploring Operation: 78+18=96, Resulting Numbers: [83, 96]
Generated Node #0,2,0: 90:[83, 96] Operation: 78+18=96
Exploring Operation: 83-78=5, Resulting Numbers: [18, 5]
Generated Node #0,2,1: 90:[18, 5] Operation: 83-78=5
Exploring Operation: 78-18=60, Resulting Numbers: [83, 60]
Generated Node #0,2,2: 90:[83, 60] Operation: 78-18=60
Exploring Operation: 83-18=65, Resulting Numbers: [78, 65]
Generated Node #0,2,3: 90:[78, 65] Operation: 83-18=65
Exploring Operation: 83+18=101, Resulting Numbers: [78, 101]
Generated Node #0,2,4: 90:[78, 101] Operation: 83+18=101
Moving to Node #0,2,1
Current State: 90:[18, 5], Operations: ['89-71=18', '83-78=5']
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[89, 78, 83, 71], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [78, 83, 18]
Generated Node #0,2: 90:[78, 83, 18] Operation: 89-71=18
Moving to Node #0,2
Current State: 90:[78, 83, 18], Operations: ['89-71=18']
Exploring Operation: 83-78=5, Resulting Numbers: [18, 5]
Generated Node #0,2,1: 90:[18, 5] Operation: 83-78=5
Moving to Node #0,2,1
Current State: 90:[18, 5], Operations: ['89-71=18', '83-78=5']
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.952257 | hs_5 | sum_heuristic |
[
42,
54,
6,
40
] | 56 | [
"42+54=96",
"96/6=16",
"40+16=56"
] | Current State: 56:[42, 54, 6, 40], Operations: []
Exploring Operation: 42+54=96, Resulting Numbers: [6, 40, 96]
Generated Node #2: [6, 40, 96] from Operation: 42+54=96
Current State: 56:[6, 40, 96], Operations: ['42+54=96']
Exploring Operation: 96/6=16, Resulting Numbers: [40, 16]
Generated Node #3: [40, 16] from Operation: 96/6=16
Current State: 56:[40, 16], Operations: ['42+54=96', '96/6=16']
Exploring Operation: 40+16=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[42, 54, 6, 40], Operations: []
Exploring Operation: 54-42=12, Resulting Numbers: [6, 40, 12]
Generated Node #0,0: 56:[6, 40, 12] Operation: 54-42=12
Exploring Operation: 42/6=7, Resulting Numbers: [54, 40, 7]
Generated Node #0,1: 56:[54, 40, 7] Operation: 42/6=7
Exploring Operation: 42-40=2, Resulting Numbers: [54, 6, 2]
Generated Node #0,2: 56:[54, 6, 2] Operation: 42-40=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[54, 6, 2], Operations: ['42-40=2']
Exploring Operation: 54/6=9, Resulting Numbers: [2, 9]
Generated Node #0,2,0: 56:[2, 9] Operation: 54/6=9
Exploring Operation: 54+2=56, Resulting Numbers: [6, 56]
Generated Node #0,2,1: 56:[6, 56] Operation: 54+2=56
Exploring Operation: 54/2=27, Resulting Numbers: [6, 27]
Generated Node #0,2,2: 56:[6, 27] Operation: 54/2=27
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 56:[2, 9], Operations: ['42-40=2', '54/6=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,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,2,1
Current State: 56:[6, 56], Operations: ['42-40=2', '54+2=56']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,56 unequal: No Solution
Exploring Operation: 6+56=62, Resulting Numbers: [62]
62,56 unequal: No Solution
Exploring Operation: 6*56=336, Resulting Numbers: [336]
336,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,2,2
Current State: 56:[6, 27], Operations: ['42-40=2', '54/2=27']
Exploring Operation: 6*27=162, Resulting Numbers: [162]
162,56 unequal: No Solution
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,56 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,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,1
Current State: 56:[54, 40, 7], Operations: ['42/6=7']
Exploring Operation: 40+7=47, Resulting Numbers: [54, 47]
Generated Node #0,1,0: 56:[54, 47] Operation: 40+7=47
Exploring Operation: 40-7=33, Resulting Numbers: [54, 33]
Generated Node #0,1,1: 56:[54, 33] Operation: 40-7=33
Exploring Operation: 54-40=14, Resulting Numbers: [7, 14]
Generated Node #0,1,2: 56:[7, 14] Operation: 54-40=14
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 56:[7, 14], Operations: ['42/6=7', '54-40=14']
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,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:[54, 33], Operations: ['42/6=7', '40-7=33']
Exploring Operation: 54*33=1782, Resulting Numbers: [1782]
1782,56 unequal: No Solution
Exploring Operation: 54+33=87, Resulting Numbers: [87]
87,56 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,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,0
Current State: 56:[54, 47], Operations: ['42/6=7', '40+7=47']
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 54+47=101, Resulting Numbers: [101]
101,56 unequal: No Solution
Exploring Operation: 54*47=2538, Resulting Numbers: [2538]
2538,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,0
Current State: 56:[6, 40, 12], Operations: ['54-42=12']
Exploring Operation: 40+12=52, Resulting Numbers: [6, 52]
Generated Node #0,0,0: 56:[6, 52] Operation: 40+12=52
Exploring Operation: 40-12=28, Resulting Numbers: [6, 28]
Generated Node #0,0,1: 56:[6, 28] Operation: 40-12=28
Exploring Operation: 40-6=34, Resulting Numbers: [12, 34]
Generated Node #0,0,2: 56:[12, 34] Operation: 40-6=34
Moving to Node #0,0,1
Current State: 56:[6, 28], Operations: ['54-42=12', '40-12=28']
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,56 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[6, 52], Operations: ['54-42=12', '40+12=52']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 6*52=312, Resulting Numbers: [312]
312,56 unequal: No Solution
Exploring Operation: 6+52=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[12, 34], Operations: ['54-42=12', '40-6=34']
Exploring Operation: 12+34=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 12*34=408, Resulting Numbers: [408]
408,56 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
10,
86,
96,
84
] | 79 | [
"86+84=170",
"170/10=17",
"96-17=79"
] | Current State: 79:[10, 86, 96, 84], Operations: []
Exploring Operation: 86+84=170, Resulting Numbers: [10, 96, 170]
Generated Node #2: [10, 96, 170] from Operation: 86+84=170
Current State: 79:[10, 96, 170], Operations: ['86+84=170']
Exploring Operation: 170/10=17, Resulting Numbers: [96, 17]
Generated Node #3: [96, 17] from Operation: 170/10=17
Current State: 79:[96, 17], Operations: ['86+84=170', '170/10=17']
Exploring Operation: 96-17=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[10, 86, 96, 84], Operations: []
Exploring Operation: 84-10=74, Resulting Numbers: [86, 96, 74]
Generated Node #0,0: 79:[86, 96, 74] Operation: 84-10=74
Exploring Operation: 86-10=76, Resulting Numbers: [96, 84, 76]
Generated Node #0,1: 79:[96, 84, 76] Operation: 86-10=76
Exploring Operation: 96-10=86, Resulting Numbers: [86, 84, 86]
Generated Node #0,2: 79:[86, 84, 86] Operation: 96-10=86
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[86, 84, 86], Operations: ['96-10=86']
Exploring Operation: 86/86=1, Resulting Numbers: [84, 1]
Generated Node #0,2,0: 79:[84, 1] Operation: 86/86=1
Exploring Operation: 86-84=2, Resulting Numbers: [86, 2]
Generated Node #0,2,1: 79:[86, 2] Operation: 86-84=2
Exploring Operation: 86-86=0, Resulting Numbers: [84, 0]
Generated Node #0,2,2: 79:[84, 0] Operation: 86-86=0
Moving to Node #0,2,0
Current State: 79:[84, 1], Operations: ['96-10=86', '86/86=1']
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,79 unequal: No Solution
Exploring Operation: 84/1=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[86, 2], Operations: ['96-10=86', '86-84=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[84, 0], Operations: ['96-10=86', '86-86=0']
Exploring Operation: 84*0=0, Resulting Numbers: [0]
0,79 unequal: No Solution
Exploring Operation: 84-0=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 84+0=84, Resulting Numbers: [84]
84,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[96, 84, 76], Operations: ['86-10=76']
Exploring Operation: 96-76=20, Resulting Numbers: [84, 20]
Generated Node #0,1,0: 79:[84, 20] Operation: 96-76=20
Exploring Operation: 96-84=12, Resulting Numbers: [76, 12]
Generated Node #0,1,1: 79:[76, 12] Operation: 96-84=12
Exploring Operation: 84-76=8, Resulting Numbers: [96, 8]
Generated Node #0,1,2: 79:[96, 8] Operation: 84-76=8
Moving to Node #0,1,0
Current State: 79:[84, 20], Operations: ['86-10=76', '96-76=20']
Exploring Operation: 84-20=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Exploring Operation: 84*20=1680, Resulting Numbers: [1680]
1680,79 unequal: No Solution
Exploring Operation: 84+20=104, Resulting Numbers: [104]
104,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[76, 12], Operations: ['86-10=76', '96-84=12']
Exploring Operation: 76+12=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 76*12=912, Resulting Numbers: [912]
912,79 unequal: No Solution
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[96, 8], Operations: ['86-10=76', '84-76=8']
Exploring Operation: 96/8=12, Resulting Numbers: [12]
12,79 unequal: No Solution
Exploring Operation: 96+8=104, Resulting Numbers: [104]
104,79 unequal: No Solution
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[86, 96, 74], Operations: ['84-10=74']
Exploring Operation: 96-86=10, Resulting Numbers: [74, 10]
Generated Node #0,0,0: 79:[74, 10] Operation: 96-86=10
Exploring Operation: 86-74=12, Resulting Numbers: [96, 12]
Generated Node #0,0,1: 79:[96, 12] Operation: 86-74=12
Exploring Operation: 96-74=22, Resulting Numbers: [86, 22]
Generated Node #0,0,2: 79:[86, 22] Operation: 96-74=22
Moving to Node #0,0,2
Current State: 79:[86, 22], Operations: ['84-10=74', '96-74=22']
Exploring Operation: 86-22=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Exploring Operation: 86*22=1892, Resulting Numbers: [1892]
1892,79 unequal: No Solution
Exploring Operation: 86+22=108, Resulting Numbers: [108]
108,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[74, 10], Operations: ['84-10=74', '96-86=10']
Exploring Operation: 74*10=740, Resulting Numbers: [740]
740,79 unequal: No Solution
Exploring Operation: 74+10=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[96, 12], Operations: ['84-10=74', '86-74=12']
Exploring Operation: 96/12=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Exploring Operation: 96-12=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 96+12=108, Resulting Numbers: [108]
108,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
8,
5,
84,
54
] | 14 | [
"84-54=30",
"30/5=6",
"8+6=14"
] | Current State: 14:[8, 5, 84, 54], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [8, 5, 30]
Generated Node #2: [8, 5, 30] from Operation: 84-54=30
Current State: 14:[8, 5, 30], Operations: ['84-54=30']
Exploring Operation: 30/5=6, Resulting Numbers: [8, 6]
Generated Node #3: [8, 6] from Operation: 30/5=6
Current State: 14:[8, 6], Operations: ['84-54=30', '30/5=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[8, 5, 84, 54], Operations: []
Exploring Operation: 54-8=46, Resulting Numbers: [5, 84, 46]
Generated Node #0,0: 14:[5, 84, 46] Operation: 54-8=46
Exploring Operation: 84-54=30, Resulting Numbers: [8, 5, 30]
Generated Node #0,1: 14:[8, 5, 30] Operation: 84-54=30
Exploring Operation: 84-8=76, Resulting Numbers: [5, 54, 76]
Generated Node #0,2: 14:[5, 54, 76] Operation: 84-8=76
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[8, 5, 30], Operations: ['84-54=30']
Exploring Operation: 30/5=6, Resulting Numbers: [8, 6]
Generated Node #0,1,0: 14:[8, 6] Operation: 30/5=6
Exploring Operation: 30-5=25, Resulting Numbers: [8, 25]
Generated Node #0,1,1: 14:[8, 25] Operation: 30-5=25
Exploring Operation: 30-8=22, Resulting Numbers: [5, 22]
Generated Node #0,1,2: 14:[5, 22] Operation: 30-8=22
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 14:[8, 6], Operations: ['84-54=30', '30/5=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[8, 5, 84, 54], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [8, 5, 30]
Generated Node #0,1: 14:[8, 5, 30] Operation: 84-54=30
Moving to Node #0,1
Current State: 14:[8, 5, 30], Operations: ['84-54=30']
Exploring Operation: 30/5=6, Resulting Numbers: [8, 6]
Generated Node #0,1,0: 14:[8, 6] Operation: 30/5=6
Moving to Node #0,1,0
Current State: 14:[8, 6], Operations: ['84-54=30', '30/5=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
17,
8,
98,
10
] | 35 | [
"17+98=115",
"8*10=80",
"115-80=35"
] | Current State: 35:[17, 8, 98, 10], Operations: []
Exploring Operation: 17+98=115, Resulting Numbers: [8, 10, 115]
Generated Node #2: [8, 10, 115] from Operation: 17+98=115
Current State: 35:[8, 10, 115], Operations: ['17+98=115']
Exploring Operation: 8*10=80, Resulting Numbers: [115, 80]
Generated Node #3: [115, 80] from Operation: 8*10=80
Current State: 35:[115, 80], Operations: ['17+98=115', '8*10=80']
Exploring Operation: 115-80=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[17, 8, 98, 10], Operations: []
Exploring Operation: 98-17=81, Resulting Numbers: [8, 10, 81]
Generated Node #0,0: 35:[8, 10, 81] Operation: 98-17=81
Exploring Operation: 98-10=88, Resulting Numbers: [17, 8, 88]
Generated Node #0,1: 35:[17, 8, 88] Operation: 98-10=88
Exploring Operation: 17-8=9, Resulting Numbers: [98, 10, 9]
Generated Node #0,2: 35:[98, 10, 9] Operation: 17-8=9
Exploring Operation: 17-10=7, Resulting Numbers: [8, 98, 7]
Generated Node #0,3: 35:[8, 98, 7] Operation: 17-10=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[8, 10, 81], Operations: ['98-17=81']
Exploring Operation: 81-8=73, Resulting Numbers: [10, 73]
Generated Node #0,0,0: 35:[10, 73] Operation: 81-8=73
Exploring Operation: 8+10=18, Resulting Numbers: [81, 18]
Generated Node #0,0,1: 35:[81, 18] Operation: 8+10=18
Exploring Operation: 81-10=71, Resulting Numbers: [8, 71]
Generated Node #0,0,2: 35:[8, 71] Operation: 81-10=71
Exploring Operation: 10-8=2, Resulting Numbers: [81, 2]
Generated Node #0,0,3: 35:[81, 2] Operation: 10-8=2
Moving to Node #0,0,2
Current State: 35:[8, 71], Operations: ['98-17=81', '81-10=71']
Exploring Operation: 8+71=79, Resulting Numbers: [79]
79,35 unequal: No Solution
Exploring Operation: 8*71=568, Resulting Numbers: [568]
568,35 unequal: No Solution
Exploring Operation: 71-8=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[10, 73], Operations: ['98-17=81', '81-8=73']
Exploring Operation: 10+73=83, Resulting Numbers: [83]
83,35 unequal: No Solution
Exploring Operation: 10*73=730, Resulting Numbers: [730]
730,35 unequal: No Solution
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Moving to Node #0,0,3
Current State: 35:[81, 2], Operations: ['98-17=81', '10-8=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,35 unequal: No Solution
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,35 unequal: No Solution
Exploring Operation: 81*2=162, Resulting Numbers: [162]
162,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[81, 18], Operations: ['98-17=81', '8+10=18']
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 81+18=99, Resulting Numbers: [99]
99,35 unequal: No Solution
Exploring Operation: 81*18=1458, Resulting Numbers: [1458]
1458,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[17, 8, 88], Operations: ['98-10=88']
Exploring Operation: 17-8=9, Resulting Numbers: [88, 9]
Generated Node #0,1,0: 35:[88, 9] Operation: 17-8=9
Exploring Operation: 88-8=80, Resulting Numbers: [17, 80]
Generated Node #0,1,1: 35:[17, 80] Operation: 88-8=80
Exploring Operation: 88/8=11, Resulting Numbers: [17, 11]
Generated Node #0,1,2: 35:[17, 11] Operation: 88/8=11
Exploring Operation: 88-17=71, Resulting Numbers: [8, 71]
Generated Node #0,1,3: 35:[8, 71] Operation: 88-17=71
Moving to Node #0,1,2
Current State: 35:[17, 11], Operations: ['98-10=88', '88/8=11']
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,35 unequal: No Solution
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[8, 71], Operations: ['98-10=88', '88-17=71']
Exploring Operation: 71-8=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 8+71=79, Resulting Numbers: [79]
79,35 unequal: No Solution
Exploring Operation: 8*71=568, Resulting Numbers: [568]
568,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[17, 80], Operations: ['98-10=88', '88-8=80']
Exploring Operation: 17+80=97, Resulting Numbers: [97]
97,35 unequal: No Solution
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 17*80=1360, Resulting Numbers: [1360]
1360,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[88, 9], Operations: ['98-10=88', '17-8=9']
Exploring Operation: 88+9=97, Resulting Numbers: [97]
97,35 unequal: No Solution
Exploring Operation: 88*9=792, Resulting Numbers: [792]
792,35 unequal: No Solution
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,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,3
Current State: 35:[8, 98, 7], Operations: ['17-10=7']
Exploring Operation: 8-7=1, Resulting Numbers: [98, 1]
Generated Node #0,3,0: 35:[98, 1] Operation: 8-7=1
Exploring Operation: 98/7=14, Resulting Numbers: [8, 14]
Generated Node #0,3,1: 35:[8, 14] Operation: 98/7=14
Exploring Operation: 98-7=91, Resulting Numbers: [8, 91]
Generated Node #0,3,2: 35:[8, 91] Operation: 98-7=91
Exploring Operation: 98-8=90, Resulting Numbers: [7, 90]
Generated Node #0,3,3: 35:[7, 90] Operation: 98-8=90
Moving to Node #0,3,1
Current State: 35:[8, 14], Operations: ['17-10=7', '98/7=14']
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,35 unequal: No Solution
Moving to Node #0,3,3
Current State: 35:[7, 90], Operations: ['17-10=7', '98-8=90']
Exploring Operation: 7*90=630, Resulting Numbers: [630]
630,35 unequal: No Solution
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,35 unequal: No Solution
Exploring Operation: 7+90=97, Resulting Numbers: [97]
97,35 unequal: No Solution
Moving to Node #0,3,2
Current State: 35:[8, 91], Operations: ['17-10=7', '98-7=91']
Exploring Operation: 8*91=728, Resulting Numbers: [728]
728,35 unequal: No Solution
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,35 unequal: No Solution
Exploring Operation: 8+91=99, Resulting Numbers: [99]
99,35 unequal: No Solution
Moving to Node #0,3,0
Current State: 35:[98, 1], Operations: ['17-10=7', '8-7=1']
Exploring Operation: 98+1=99, Resulting Numbers: [99]
99,35 unequal: No Solution
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,35 unequal: No Solution
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,35 unequal: No Solution
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,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,2
Current State: 35:[98, 10, 9], Operations: ['17-8=9']
Exploring Operation: 98+10=108, Resulting Numbers: [9, 108]
Generated Node #0,2,0: 35:[9, 108] Operation: 98+10=108
Exploring Operation: 10-9=1, Resulting Numbers: [98, 1]
Generated Node #0,2,1: 35:[98, 1] Operation: 10-9=1
Exploring Operation: 98-10=88, Resulting Numbers: [9, 88]
Generated Node #0,2,2: 35:[9, 88] Operation: 98-10=88
Exploring Operation: 98-9=89, Resulting Numbers: [10, 89]
Generated Node #0,2,3: 35:[10, 89] Operation: 98-9=89
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 35:[9, 88], Operations: ['17-8=9', '98-10=88']
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,35 unequal: No Solution
Exploring Operation: 9*88=792, Resulting Numbers: [792]
792,35 unequal: No Solution
Exploring Operation: 9+88=97, Resulting Numbers: [97]
97,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,3
Current State: 35:[10, 89], Operations: ['17-8=9', '98-9=89']
Exploring Operation: 10*89=890, Resulting Numbers: [890]
890,35 unequal: No Solution
Exploring Operation: 89-10=79, Resulting Numbers: [79]
79,35 unequal: No Solution
Exploring Operation: 10+89=99, Resulting Numbers: [99]
99,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:[98, 1], Operations: ['17-8=9', '10-9=1']
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,35 unequal: No Solution
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,35 unequal: No Solution
Exploring Operation: 98+1=99, Resulting Numbers: [99]
99,35 unequal: No Solution
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,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:[9, 108], Operations: ['17-8=9', '98+10=108']
Exploring Operation: 9*108=972, Resulting Numbers: [972]
972,35 unequal: No Solution
Exploring Operation: 9+108=117, Resulting Numbers: [117]
117,35 unequal: No Solution
Exploring Operation: 108-9=99, Resulting Numbers: [99]
99,35 unequal: No Solution
Exploring Operation: 108/9=12, Resulting Numbers: [12]
12,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
No solution found.
| 0 | hs_4 | sum_heuristic |
[
94,
80,
34,
5
] | 44 | [
"94-34=60",
"80/5=16",
"60-16=44"
] | Current State: 44:[94, 80, 34, 5], Operations: []
Exploring Operation: 94-34=60, Resulting Numbers: [80, 5, 60]
Generated Node #2: [80, 5, 60] from Operation: 94-34=60
Current State: 44:[80, 5, 60], Operations: ['94-34=60']
Exploring Operation: 80/5=16, Resulting Numbers: [60, 16]
Generated Node #3: [60, 16] from Operation: 80/5=16
Current State: 44:[60, 16], Operations: ['94-34=60', '80/5=16']
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[94, 80, 34, 5], Operations: []
Exploring Operation: 94-80=14, Resulting Numbers: [34, 5, 14]
Generated Node #0,0: 44:[34, 5, 14] Operation: 94-80=14
Moving to Node #0,0
Current State: 44:[34, 5, 14], Operations: ['94-80=14']
Exploring Operation: 34-14=20, Resulting Numbers: [5, 20]
Generated Node #0,0,0: 44:[5, 20] Operation: 34-14=20
Moving to Node #0,0,0
Current State: 44:[5, 20], Operations: ['94-80=14', '34-14=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,44 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
46,
77,
81,
5
] | 98 | [
"81-46=35",
"5*35=175",
"175-77=98"
] | Current State: 98:[46, 77, 81, 5], Operations: []
Exploring Operation: 81-46=35, Resulting Numbers: [77, 5, 35]
Generated Node #2: [77, 5, 35] from Operation: 81-46=35
Current State: 98:[77, 5, 35], Operations: ['81-46=35']
Exploring Operation: 5*35=175, Resulting Numbers: [77, 175]
Generated Node #3: [77, 175] from Operation: 5*35=175
Current State: 98:[77, 175], Operations: ['81-46=35', '5*35=175']
Exploring Operation: 175-77=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[46, 77, 81, 5], Operations: []
Exploring Operation: 81-46=35, Resulting Numbers: [77, 5, 35]
Generated Node #0,0: 98:[77, 5, 35] Operation: 81-46=35
Exploring Operation: 77+5=82, Resulting Numbers: [46, 81, 82]
Generated Node #0,1: 98:[46, 81, 82] Operation: 77+5=82
Exploring Operation: 81+5=86, Resulting Numbers: [46, 77, 86]
Generated Node #0,2: 98:[46, 77, 86] Operation: 81+5=86
Exploring Operation: 81-77=4, Resulting Numbers: [46, 5, 4]
Generated Node #0,3: 98:[46, 5, 4] Operation: 81-77=4
Exploring Operation: 77-46=31, Resulting Numbers: [81, 5, 31]
Generated Node #0,4: 98:[81, 5, 31] Operation: 77-46=31
Moving to Node #0,3
Current State: 98:[46, 5, 4], Operations: ['81-77=4']
Exploring Operation: 5+4=9, Resulting Numbers: [46, 9]
Generated Node #0,3,0: 98:[46, 9] Operation: 5+4=9
Exploring Operation: 46+4=50, Resulting Numbers: [5, 50]
Generated Node #0,3,1: 98:[5, 50] Operation: 46+4=50
Exploring Operation: 46-4=42, Resulting Numbers: [5, 42]
Generated Node #0,3,2: 98:[5, 42] Operation: 46-4=42
Exploring Operation: 5-4=1, Resulting Numbers: [46, 1]
Generated Node #0,3,3: 98:[46, 1] Operation: 5-4=1
Exploring Operation: 46+5=51, Resulting Numbers: [4, 51]
Generated Node #0,3,4: 98:[4, 51] Operation: 46+5=51
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 98:[5, 50], Operations: ['81-77=4', '46+4=50']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Exploring Operation: 5*50=250, Resulting Numbers: [250]
250,98 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,98 unequal: No Solution
No 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: 98:[46, 1], Operations: ['81-77=4', '5-4=1']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,98 unequal: No Solution
No 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: 98:[4, 51], Operations: ['81-77=4', '46+5=51']
Exploring Operation: 4+51=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 4*51=204, Resulting Numbers: [204]
204,98 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,98 unequal: No Solution
No 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: 98:[46, 9], Operations: ['81-77=4', '5+4=9']
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Exploring Operation: 46*9=414, Resulting Numbers: [414]
414,98 unequal: No Solution
No 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: 98:[5, 42], Operations: ['81-77=4', '46-4=42']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Exploring Operation: 5*42=210, Resulting Numbers: [210]
210,98 unequal: No Solution
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,98 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: 98:[46, 77, 86], Operations: ['81+5=86']
Exploring Operation: 46+86=132, Resulting Numbers: [77, 132]
Generated Node #0,2,0: 98:[77, 132] Operation: 46+86=132
Exploring Operation: 46+77=123, Resulting Numbers: [86, 123]
Generated Node #0,2,1: 98:[86, 123] Operation: 46+77=123
Exploring Operation: 86-46=40, Resulting Numbers: [77, 40]
Generated Node #0,2,2: 98:[77, 40] Operation: 86-46=40
Exploring Operation: 86-77=9, Resulting Numbers: [46, 9]
Generated Node #0,2,3: 98:[46, 9] Operation: 86-77=9
Exploring Operation: 77-46=31, Resulting Numbers: [86, 31]
Generated Node #0,2,4: 98:[86, 31] Operation: 77-46=31
Moving to Node #0,1
Current State: 98:[46, 81, 82], Operations: ['77+5=82']
Exploring Operation: 82-46=36, Resulting Numbers: [81, 36]
Generated Node #0,1,0: 98:[81, 36] Operation: 82-46=36
Exploring Operation: 46+81=127, Resulting Numbers: [82, 127]
Generated Node #0,1,1: 98:[82, 127] Operation: 46+81=127
Exploring Operation: 46+82=128, Resulting Numbers: [81, 128]
Generated Node #0,1,2: 98:[81, 128] Operation: 46+82=128
Exploring Operation: 82-81=1, Resulting Numbers: [46, 1]
Generated Node #0,1,3: 98:[46, 1] Operation: 82-81=1
Exploring Operation: 81-46=35, Resulting Numbers: [82, 35]
Generated Node #0,1,4: 98:[82, 35] Operation: 81-46=35
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 98:[46, 1], Operations: ['77+5=82', '82-81=1']
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,98 unequal: No Solution
No 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: 98:[81, 36], Operations: ['77+5=82', '82-46=36']
Exploring Operation: 81+36=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 81*36=2916, Resulting Numbers: [2916]
2916,98 unequal: No Solution
No 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: 98:[82, 35], Operations: ['77+5=82', '81-46=35']
Exploring Operation: 82+35=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 82*35=2870, Resulting Numbers: [2870]
2870,98 unequal: No Solution
No 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: 98:[82, 127], Operations: ['77+5=82', '46+81=127']
Exploring Operation: 127-82=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 82*127=10414, Resulting Numbers: [10414]
10414,98 unequal: No Solution
Exploring Operation: 82+127=209, Resulting Numbers: [209]
209,98 unequal: No Solution
No 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: 98:[81, 128], Operations: ['77+5=82', '46+82=128']
Exploring Operation: 81+128=209, Resulting Numbers: [209]
209,98 unequal: No Solution
Exploring Operation: 128-81=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 81*128=10368, Resulting Numbers: [10368]
10368,98 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: 98:[81, 5, 31], Operations: ['77-46=31']
Exploring Operation: 81+5=86, Resulting Numbers: [31, 86]
Generated Node #0,4,0: 98:[31, 86] Operation: 81+5=86
Exploring Operation: 81-31=50, Resulting Numbers: [5, 50]
Generated Node #0,4,1: 98:[5, 50] Operation: 81-31=50
Exploring Operation: 5+31=36, Resulting Numbers: [81, 36]
Generated Node #0,4,2: 98:[81, 36] Operation: 5+31=36
Exploring Operation: 31-5=26, Resulting Numbers: [81, 26]
Generated Node #0,4,3: 98:[81, 26] Operation: 31-5=26
Exploring Operation: 81+31=112, Resulting Numbers: [5, 112]
Generated Node #0,4,4: 98:[5, 112] Operation: 81+31=112
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 98:[5, 50], Operations: ['77-46=31', '81-31=50']
Exploring Operation: 5*50=250, Resulting Numbers: [250]
250,98 unequal: No Solution
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,98 unequal: No Solution
No 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: 98:[5, 112], Operations: ['77-46=31', '81+31=112']
Exploring Operation: 5+112=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Exploring Operation: 112-5=107, Resulting Numbers: [107]
107,98 unequal: No Solution
Exploring Operation: 5*112=560, Resulting Numbers: [560]
560,98 unequal: No Solution
No 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: 98:[31, 86], Operations: ['77-46=31', '81+5=86']
Exploring Operation: 31*86=2666, Resulting Numbers: [2666]
2666,98 unequal: No Solution
Exploring Operation: 86-31=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 31+86=117, Resulting Numbers: [117]
117,98 unequal: No Solution
No 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: 98:[81, 26], Operations: ['77-46=31', '31-5=26']
Exploring Operation: 81+26=107, Resulting Numbers: [107]
107,98 unequal: No Solution
Exploring Operation: 81*26=2106, Resulting Numbers: [2106]
2106,98 unequal: No Solution
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,98 unequal: No Solution
No 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: 98:[81, 36], Operations: ['77-46=31', '5+31=36']
Exploring Operation: 81+36=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Exploring Operation: 81*36=2916, Resulting Numbers: [2916]
2916,98 unequal: No Solution
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,98 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: 98:[77, 5, 35], Operations: ['81-46=35']
Exploring Operation: 77+5=82, Resulting Numbers: [35, 82]
Generated Node #0,0,0: 98:[35, 82] Operation: 77+5=82
Exploring Operation: 77-35=42, Resulting Numbers: [5, 42]
Generated Node #0,0,1: 98:[5, 42] Operation: 77-35=42
Exploring Operation: 5+35=40, Resulting Numbers: [77, 40]
Generated Node #0,0,2: 98:[77, 40] Operation: 5+35=40
Exploring Operation: 35/5=7, Resulting Numbers: [77, 7]
Generated Node #0,0,3: 98:[77, 7] Operation: 35/5=7
Exploring Operation: 77+35=112, Resulting Numbers: [5, 112]
Generated Node #0,0,4: 98:[5, 112] Operation: 77+35=112
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[5, 42], Operations: ['81-46=35', '77-35=42']
Exploring Operation: 5*42=210, Resulting Numbers: [210]
210,98 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,98 unequal: No Solution
No solution 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: 98:[5, 112], Operations: ['81-46=35', '77+35=112']
Exploring Operation: 112-5=107, Resulting Numbers: [107]
107,98 unequal: No Solution
Exploring Operation: 5*112=560, Resulting Numbers: [560]
560,98 unequal: No Solution
Exploring Operation: 5+112=117, Resulting Numbers: [117]
117,98 unequal: No Solution
No solution 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: 98:[77, 7], Operations: ['81-46=35', '35/5=7']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,98 unequal: No Solution
Exploring Operation: 77*7=539, Resulting Numbers: [539]
539,98 unequal: No Solution
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,98 unequal: No Solution
No solution 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: 98:[35, 82], Operations: ['81-46=35', '77+5=82']
Exploring Operation: 35+82=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Exploring Operation: 35*82=2870, Resulting Numbers: [2870]
2870,98 unequal: No Solution
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,98 unequal: No Solution
No solution 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: 98:[77, 40], Operations: ['81-46=35', '5+35=40']
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Exploring Operation: 77+40=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Exploring Operation: 77*40=3080, Resulting Numbers: [3080]
3080,98 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: 98:[46, 9], Operations: ['81+5=86', '86-77=9']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Exploring Operation: 46*9=414, Resulting Numbers: [414]
414,98 unequal: No Solution
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Moving to Node #0,2,4
Current State: 98:[86, 31], Operations: ['81+5=86', '77-46=31']
Exploring Operation: 86+31=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Exploring Operation: 86-31=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 86*31=2666, Resulting Numbers: [2666]
2666,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[77, 40], Operations: ['81+5=86', '86-46=40']
Exploring Operation: 77+40=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Exploring Operation: 77*40=3080, Resulting Numbers: [3080]
3080,98 unequal: No Solution
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[86, 123], Operations: ['81+5=86', '46+77=123']
Exploring Operation: 86*123=10578, Resulting Numbers: [10578]
10578,98 unequal: No Solution
Exploring Operation: 123-86=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Exploring Operation: 86+123=209, Resulting Numbers: [209]
209,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[77, 132], Operations: ['81+5=86', '46+86=132']
Exploring Operation: 77+132=209, Resulting Numbers: [209]
209,98 unequal: No Solution
Exploring Operation: 132-77=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 77*132=10164, Resulting Numbers: [10164]
10164,98 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
48,
6,
18,
80
] | 36 | [
"18*80=1440",
"1440/48=30",
"6+30=36"
] | Current State: 36:[48, 6, 18, 80], Operations: []
Exploring Operation: 18*80=1440, Resulting Numbers: [48, 6, 1440]
Generated Node #2: [48, 6, 1440] from Operation: 18*80=1440
Current State: 36:[48, 6, 1440], Operations: ['18*80=1440']
Exploring Operation: 1440/48=30, Resulting Numbers: [6, 30]
Generated Node #3: [6, 30] from Operation: 1440/48=30
Current State: 36:[6, 30], Operations: ['18*80=1440', '1440/48=30']
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[48, 6, 18, 80], Operations: []
Exploring Operation: 80-18=62, Resulting Numbers: [48, 6, 62]
Generated Node #0,0: 36:[48, 6, 62] Operation: 80-18=62
Exploring Operation: 80-48=32, Resulting Numbers: [6, 18, 32]
Generated Node #0,1: 36:[6, 18, 32] Operation: 80-48=32
Exploring Operation: 48/6=8, Resulting Numbers: [18, 80, 8]
Generated Node #0,2: 36:[18, 80, 8] Operation: 48/6=8
Moving to Node #0,1
Current State: 36:[6, 18, 32], Operations: ['80-48=32']
Exploring Operation: 18-6=12, Resulting Numbers: [32, 12]
Generated Node #0,1,0: 36:[32, 12] Operation: 18-6=12
Exploring Operation: 32-18=14, Resulting Numbers: [6, 14]
Generated Node #0,1,1: 36:[6, 14] Operation: 32-18=14
Exploring Operation: 6+32=38, Resulting Numbers: [18, 38]
Generated Node #0,1,2: 36:[18, 38] Operation: 6+32=38
Moving to Node #0,0
Current State: 36:[48, 6, 62], Operations: ['80-18=62']
Exploring Operation: 48-6=42, Resulting Numbers: [62, 42]
Generated Node #0,0,0: 36:[62, 42] Operation: 48-6=42
Exploring Operation: 62-48=14, Resulting Numbers: [6, 14]
Generated Node #0,0,1: 36:[6, 14] Operation: 62-48=14
Exploring Operation: 48/6=8, Resulting Numbers: [62, 8]
Generated Node #0,0,2: 36:[62, 8] Operation: 48/6=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[6, 14], Operations: ['80-18=62', '62-48=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,36 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,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:[62, 8], Operations: ['80-18=62', '48/6=8']
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,36 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,36 unequal: No Solution
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,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,0
Current State: 36:[62, 42], Operations: ['80-18=62', '48-6=42']
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 62+42=104, Resulting Numbers: [104]
104,36 unequal: No Solution
Exploring Operation: 62*42=2604, Resulting Numbers: [2604]
2604,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:[18, 80, 8], Operations: ['48/6=8']
Exploring Operation: 80-18=62, Resulting Numbers: [8, 62]
Generated Node #0,2,0: 36:[8, 62] Operation: 80-18=62
Exploring Operation: 80-8=72, Resulting Numbers: [18, 72]
Generated Node #0,2,1: 36:[18, 72] Operation: 80-8=72
Exploring Operation: 80/8=10, Resulting Numbers: [18, 10]
Generated Node #0,2,2: 36:[18, 10] Operation: 80/8=10
Moving to Node #0,2,2
Current State: 36:[18, 10], Operations: ['48/6=8', '80/8=10']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,36 unequal: No Solution
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[6, 14], Operations: ['80-48=32', '32-18=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[18, 38], Operations: ['80-48=32', '6+32=38']
Exploring Operation: 18*38=684, Resulting Numbers: [684]
684,36 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[32, 12], Operations: ['80-48=32', '18-6=12']
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,36 unequal: No Solution
Moving to Node #0,2,0
Current State: 36:[8, 62], Operations: ['48/6=8', '80-18=62']
Exploring Operation: 8+62=70, Resulting Numbers: [70]
70,36 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,36 unequal: No Solution
Exploring Operation: 8*62=496, Resulting Numbers: [496]
496,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[18, 72], Operations: ['48/6=8', '80-8=72']
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,36 unequal: No Solution
Exploring Operation: 18+72=90, Resulting Numbers: [90]
90,36 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,36 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
15,
4,
1,
2
] | 57 | [
"15+4=19",
"1+2=3",
"19*3=57"
] | Current State: 57:[15, 4, 1, 2], Operations: []
Exploring Operation: 15+4=19, Resulting Numbers: [1, 2, 19]
Generated Node #2: [1, 2, 19] from Operation: 15+4=19
Current State: 57:[1, 2, 19], Operations: ['15+4=19']
Exploring Operation: 1+2=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 1+2=3
Current State: 57:[19, 3], Operations: ['15+4=19', '1+2=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[15, 4, 1, 2], Operations: []
Exploring Operation: 15+2=17, Resulting Numbers: [4, 1, 17]
Generated Node #0,0: 57:[4, 1, 17] Operation: 15+2=17
Exploring Operation: 4-1=3, Resulting Numbers: [15, 2, 3]
Generated Node #0,1: 57:[15, 2, 3] Operation: 4-1=3
Exploring Operation: 15+1=16, Resulting Numbers: [4, 2, 16]
Generated Node #0,2: 57:[4, 2, 16] Operation: 15+1=16
Exploring Operation: 15+4=19, Resulting Numbers: [1, 2, 19]
Generated Node #0,3: 57:[1, 2, 19] Operation: 15+4=19
Exploring Operation: 1+2=3, Resulting Numbers: [15, 4, 3]
Generated Node #0,4: 57:[15, 4, 3] Operation: 1+2=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[1, 2, 19], Operations: ['15+4=19']
Exploring Operation: 1+2=3, Resulting Numbers: [19, 3]
Generated Node #0,3,0: 57:[19, 3] Operation: 1+2=3
Exploring Operation: 2/1=2, Resulting Numbers: [19, 2]
Generated Node #0,3,1: 57:[19, 2] Operation: 2/1=2
Exploring Operation: 1*2=2, Resulting Numbers: [19, 2]
Generated Node #0,3,2: 57:[19, 2] Operation: 1*2=2
Exploring Operation: 1*19=19, Resulting Numbers: [2, 19]
Generated Node #0,3,3: 57:[2, 19] Operation: 1*19=19
Exploring Operation: 19/1=19, Resulting Numbers: [2, 19]
Generated Node #0,3,4: 57:[2, 19] Operation: 19/1=19
Moving to Node #0,3,0
Current State: 57:[19, 3], Operations: ['15+4=19', '1+2=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[15, 4, 1, 2], Operations: []
Exploring Operation: 15+4=19, Resulting Numbers: [1, 2, 19]
Generated Node #0,3: 57:[1, 2, 19] Operation: 15+4=19
Moving to Node #0,3
Current State: 57:[1, 2, 19], Operations: ['15+4=19']
Exploring Operation: 1+2=3, Resulting Numbers: [19, 3]
Generated Node #0,3,0: 57:[19, 3] Operation: 1+2=3
Moving to Node #0,3,0
Current State: 57:[19, 3], Operations: ['15+4=19', '1+2=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
57,
18,
33,
75
] | 14 | [
"57+75=132",
"132/33=4",
"18-4=14"
] | Current State: 14:[57, 18, 33, 75], Operations: []
Exploring Operation: 57+75=132, Resulting Numbers: [18, 33, 132]
Generated Node #2: [18, 33, 132] from Operation: 57+75=132
Current State: 14:[18, 33, 132], Operations: ['57+75=132']
Exploring Operation: 132/33=4, Resulting Numbers: [18, 4]
Generated Node #3: [18, 4] from Operation: 132/33=4
Current State: 14:[18, 4], Operations: ['57+75=132', '132/33=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[57, 18, 33, 75], Operations: []
Exploring Operation: 57-33=24, Resulting Numbers: [18, 75, 24]
Generated Node #0,0: 14:[18, 75, 24] Operation: 57-33=24
Exploring Operation: 75-57=18, Resulting Numbers: [18, 33, 18]
Generated Node #0,1: 14:[18, 33, 18] Operation: 75-57=18
Exploring Operation: 75-33=42, Resulting Numbers: [57, 18, 42]
Generated Node #0,2: 14:[57, 18, 42] Operation: 75-33=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[18, 33, 18], Operations: ['75-57=18']
Exploring Operation: 33-18=15, Resulting Numbers: [18, 15]
Generated Node #0,1,0: 14:[18, 15] Operation: 33-18=15
Exploring Operation: 33-18=15, Resulting Numbers: [18, 15]
Generated Node #0,1,1: 14:[18, 15] Operation: 33-18=15
Exploring Operation: 18/18=1, Resulting Numbers: [33, 1]
Generated Node #0,1,2: 14:[33, 1] Operation: 18/18=1
Moving to Node #0,1,0
Current State: 14:[18, 15], Operations: ['75-57=18', '33-18=15']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[18, 15], Operations: ['75-57=18', '33-18=15']
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,14 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[33, 1], Operations: ['75-57=18', '18/18=1']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,14 unequal: No Solution
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[18, 75, 24], Operations: ['57-33=24']
Exploring Operation: 75-24=51, Resulting Numbers: [18, 51]
Generated Node #0,0,0: 14:[18, 51] Operation: 75-24=51
Exploring Operation: 75-18=57, Resulting Numbers: [24, 57]
Generated Node #0,0,1: 14:[24, 57] Operation: 75-18=57
Exploring Operation: 24-18=6, Resulting Numbers: [75, 6]
Generated Node #0,0,2: 14:[75, 6] Operation: 24-18=6
Moving to Node #0,0,0
Current State: 14:[18, 51], Operations: ['57-33=24', '75-24=51']
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 18*51=918, Resulting Numbers: [918]
918,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[24, 57], Operations: ['57-33=24', '75-18=57']
Exploring Operation: 24+57=81, Resulting Numbers: [81]
81,14 unequal: No Solution
Exploring Operation: 24*57=1368, Resulting Numbers: [1368]
1368,14 unequal: No Solution
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[75, 6], Operations: ['57-33=24', '24-18=6']
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,14 unequal: No Solution
Exploring Operation: 75*6=450, Resulting Numbers: [450]
450,14 unequal: No Solution
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,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
Current State: 14:[57, 18, 42], Operations: ['75-33=42']
Exploring Operation: 57-42=15, Resulting Numbers: [18, 15]
Generated Node #0,2,0: 14:[18, 15] Operation: 57-42=15
Exploring Operation: 42-18=24, Resulting Numbers: [57, 24]
Generated Node #0,2,1: 14:[57, 24] Operation: 42-18=24
Exploring Operation: 57-18=39, Resulting Numbers: [42, 39]
Generated Node #0,2,2: 14:[42, 39] Operation: 57-18=39
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 14:[18, 15], Operations: ['75-33=42', '57-42=15']
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,14 unequal: No Solution
No 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: 14:[57, 24], Operations: ['75-33=42', '42-18=24']
Exploring Operation: 57*24=1368, Resulting Numbers: [1368]
1368,14 unequal: No Solution
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 57+24=81, Resulting Numbers: [81]
81,14 unequal: No Solution
No 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: 14:[42, 39], Operations: ['75-33=42', '57-18=39']
Exploring Operation: 42*39=1638, Resulting Numbers: [1638]
1638,14 unequal: No Solution
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 42+39=81, Resulting Numbers: [81]
81,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
52,
88,
22,
2
] | 14 | [
"52-22=30",
"88/2=44",
"44-30=14"
] | Current State: 14:[52, 88, 22, 2], Operations: []
Exploring Operation: 52-22=30, Resulting Numbers: [88, 2, 30]
Generated Node #2: [88, 2, 30] from Operation: 52-22=30
Current State: 14:[88, 2, 30], Operations: ['52-22=30']
Exploring Operation: 88/2=44, Resulting Numbers: [30, 44]
Generated Node #3: [30, 44] from Operation: 88/2=44
Current State: 14:[30, 44], Operations: ['52-22=30', '88/2=44']
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[52, 88, 22, 2], Operations: []
Exploring Operation: 88-52=36, Resulting Numbers: [22, 2, 36]
Generated Node #0,0: 14:[22, 2, 36] Operation: 88-52=36
Exploring Operation: 88/2=44, Resulting Numbers: [52, 22, 44]
Generated Node #0,1: 14:[52, 22, 44] Operation: 88/2=44
Exploring Operation: 88/22=4, Resulting Numbers: [52, 2, 4]
Generated Node #0,2: 14:[52, 2, 4] Operation: 88/22=4
Moving to Node #0,0
Current State: 14:[22, 2, 36], Operations: ['88-52=36']
Exploring Operation: 36/2=18, Resulting Numbers: [22, 18]
Generated Node #0,0,0: 14:[22, 18] Operation: 36/2=18
Exploring Operation: 36-22=14, Resulting Numbers: [2, 14]
Generated Node #0,0,1: 14:[2, 14] Operation: 36-22=14
Exploring Operation: 22/2=11, Resulting Numbers: [36, 11]
Generated Node #0,0,2: 14:[36, 11] Operation: 22/2=11
Moving to Node #0,2
Current State: 14:[52, 2, 4], Operations: ['88/22=4']
Exploring Operation: 52/4=13, Resulting Numbers: [2, 13]
Generated Node #0,2,0: 14:[2, 13] Operation: 52/4=13
Exploring Operation: 52/2=26, Resulting Numbers: [4, 26]
Generated Node #0,2,1: 14:[4, 26] Operation: 52/2=26
Exploring Operation: 52-4=48, Resulting Numbers: [2, 48]
Generated Node #0,2,2: 14:[2, 48] Operation: 52-4=48
Moving to Node #0,1
Current State: 14:[52, 22, 44], Operations: ['88/2=44']
Exploring Operation: 52-44=8, Resulting Numbers: [22, 8]
Generated Node #0,1,0: 14:[22, 8] Operation: 52-44=8
Exploring Operation: 44/22=2, Resulting Numbers: [52, 2]
Generated Node #0,1,1: 14:[52, 2] Operation: 44/22=2
Exploring Operation: 52-22=30, Resulting Numbers: [44, 30]
Generated Node #0,1,2: 14:[44, 30] Operation: 52-22=30
Moving to Node #0,0,1
Current State: 14:[2, 14], Operations: ['88-52=36', '36-22=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[2, 13], Operations: ['88/22=4', '52/4=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[22, 8], Operations: ['88/2=44', '52-44=8']
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,14 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[52, 88, 22, 2], Operations: []
Exploring Operation: 88/2=44, Resulting Numbers: [52, 22, 44]
Generated Node #0,1: 14:[52, 22, 44] Operation: 88/2=44
Moving to Node #0,1
Current State: 14:[52, 22, 44], Operations: ['88/2=44']
Exploring Operation: 52-44=8, Resulting Numbers: [22, 8]
Generated Node #0,1,0: 14:[22, 8] Operation: 52-44=8
Moving to Node #0,1,0
Current State: 14:[22, 8], Operations: ['88/2=44', '52-44=8']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.979167 | hs_3 | mult_heuristic |
[
10,
56,
99,
54
] | 87 | [
"10+56=66",
"99+54=153",
"153-66=87"
] | Current State: 87:[10, 56, 99, 54], Operations: []
Exploring Operation: 10+56=66, Resulting Numbers: [99, 54, 66]
Generated Node #2: [99, 54, 66] from Operation: 10+56=66
Current State: 87:[99, 54, 66], Operations: ['10+56=66']
Exploring Operation: 99+54=153, Resulting Numbers: [66, 153]
Generated Node #3: [66, 153] from Operation: 99+54=153
Current State: 87:[66, 153], Operations: ['10+56=66', '99+54=153']
Exploring Operation: 153-66=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[10, 56, 99, 54], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [10, 99, 2]
Generated Node #0,0: 87:[10, 99, 2] Operation: 56-54=2
Exploring Operation: 56+54=110, Resulting Numbers: [10, 99, 110]
Generated Node #0,1: 87:[10, 99, 110] Operation: 56+54=110
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[10, 99, 2], Operations: ['56-54=2']
Exploring Operation: 99-10=89, Resulting Numbers: [2, 89]
Generated Node #0,0,0: 87:[2, 89] Operation: 99-10=89
Exploring Operation: 10/2=5, Resulting Numbers: [99, 5]
Generated Node #0,0,1: 87:[99, 5] Operation: 10/2=5
Moving to Node #0,0,0
Current State: 87:[2, 89], Operations: ['56-54=2', '99-10=89']
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,87 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[10, 56, 99, 54], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [10, 99, 2]
Generated Node #0,0: 87:[10, 99, 2] Operation: 56-54=2
Moving to Node #0,0
Current State: 87:[10, 99, 2], Operations: ['56-54=2']
Exploring Operation: 99-10=89, Resulting Numbers: [2, 89]
Generated Node #0,0,0: 87:[2, 89] Operation: 99-10=89
Moving to Node #0,0,0
Current State: 87:[2, 89], Operations: ['56-54=2', '99-10=89']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
3,
45,
68,
30
] | 34 | [
"45/3=15",
"68*15=1020",
"1020/30=34"
] | Current State: 34:[3, 45, 68, 30], Operations: []
Exploring Operation: 45/3=15, Resulting Numbers: [68, 30, 15]
Generated Node #2: [68, 30, 15] from Operation: 45/3=15
Current State: 34:[68, 30, 15], Operations: ['45/3=15']
Exploring Operation: 68*15=1020, Resulting Numbers: [30, 1020]
Generated Node #3: [30, 1020] from Operation: 68*15=1020
Current State: 34:[30, 1020], Operations: ['45/3=15', '68*15=1020']
Exploring Operation: 1020/30=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[3, 45, 68, 30], Operations: []
Exploring Operation: 68-45=23, Resulting Numbers: [3, 30, 23]
Generated Node #0,0: 34:[3, 30, 23] Operation: 68-45=23
Exploring Operation: 68-30=38, Resulting Numbers: [3, 45, 38]
Generated Node #0,1: 34:[3, 45, 38] Operation: 68-30=38
Moving to Node #0,0
Current State: 34:[3, 30, 23], Operations: ['68-45=23']
Exploring Operation: 30-23=7, Resulting Numbers: [3, 7]
Generated Node #0,0,0: 34:[3, 7] Operation: 30-23=7
Exploring Operation: 3+30=33, Resulting Numbers: [23, 33]
Generated Node #0,0,1: 34:[23, 33] Operation: 3+30=33
Moving to Node #0,1
Current State: 34:[3, 45, 38], Operations: ['68-30=38']
Exploring Operation: 45-38=7, Resulting Numbers: [3, 7]
Generated Node #0,1,0: 34:[3, 7] Operation: 45-38=7
Exploring Operation: 45/3=15, Resulting Numbers: [38, 15]
Generated Node #0,1,1: 34:[38, 15] Operation: 45/3=15
Moving to Node #0,0,0
Current State: 34:[3, 7], Operations: ['68-45=23', '30-23=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[3, 7], Operations: ['68-30=38', '45-38=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[38, 15], Operations: ['68-30=38', '45/3=15']
Exploring Operation: 38+15=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[23, 33], Operations: ['68-45=23', '3+30=33']
Exploring Operation: 23+33=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,34 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
5,
6,
86,
30
] | 22 | [
"86-6=80",
"30+80=110",
"110/5=22"
] | Current State: 22:[5, 6, 86, 30], Operations: []
Exploring Operation: 86-6=80, Resulting Numbers: [5, 30, 80]
Generated Node #2: [5, 30, 80] from Operation: 86-6=80
Current State: 22:[5, 30, 80], Operations: ['86-6=80']
Exploring Operation: 30+80=110, Resulting Numbers: [5, 110]
Generated Node #3: [5, 110] from Operation: 30+80=110
Current State: 22:[5, 110], Operations: ['86-6=80', '30+80=110']
Exploring Operation: 110/5=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[5, 6, 86, 30], Operations: []
Exploring Operation: 30-6=24, Resulting Numbers: [5, 86, 24]
Generated Node #0,0: 22:[5, 86, 24] Operation: 30-6=24
Exploring Operation: 86-6=80, Resulting Numbers: [5, 30, 80]
Generated Node #0,1: 22:[5, 30, 80] Operation: 86-6=80
Exploring Operation: 30/6=5, Resulting Numbers: [5, 86, 5]
Generated Node #0,2: 22:[5, 86, 5] Operation: 30/6=5
Exploring Operation: 86-30=56, Resulting Numbers: [5, 6, 56]
Generated Node #0,3: 22:[5, 6, 56] Operation: 86-30=56
Moving to Node #0,3
Current State: 22:[5, 6, 56], Operations: ['86-30=56']
Exploring Operation: 56-6=50, Resulting Numbers: [5, 50]
Generated Node #0,3,0: 22:[5, 50] Operation: 56-6=50
Exploring Operation: 56-5=51, Resulting Numbers: [6, 51]
Generated Node #0,3,1: 22:[6, 51] Operation: 56-5=51
Exploring Operation: 5+6=11, Resulting Numbers: [56, 11]
Generated Node #0,3,2: 22:[56, 11] Operation: 5+6=11
Exploring Operation: 6-5=1, Resulting Numbers: [56, 1]
Generated Node #0,3,3: 22:[56, 1] Operation: 6-5=1
Moving to Node #0,1
Current State: 22:[5, 30, 80], Operations: ['86-6=80']
Exploring Operation: 80/5=16, Resulting Numbers: [30, 16]
Generated Node #0,1,0: 22:[30, 16] Operation: 80/5=16
Exploring Operation: 80-30=50, Resulting Numbers: [5, 50]
Generated Node #0,1,1: 22:[5, 50] Operation: 80-30=50
Exploring Operation: 30-5=25, Resulting Numbers: [80, 25]
Generated Node #0,1,2: 22:[80, 25] Operation: 30-5=25
Exploring Operation: 80-5=75, Resulting Numbers: [30, 75]
Generated Node #0,1,3: 22:[30, 75] Operation: 80-5=75
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[30, 16], Operations: ['86-6=80', '80/5=16']
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,22 unequal: No Solution
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,22 unequal: No Solution
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[5, 50], Operations: ['86-6=80', '80-30=50']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 5*50=250, Resulting Numbers: [250]
250,22 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,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,1,2
Current State: 22:[80, 25], Operations: ['86-6=80', '30-5=25']
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 80*25=2000, Resulting Numbers: [2000]
2000,22 unequal: No Solution
Exploring Operation: 80+25=105, Resulting Numbers: [105]
105,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,1,3
Current State: 22:[30, 75], Operations: ['86-6=80', '80-5=75']
Exploring Operation: 30+75=105, Resulting Numbers: [105]
105,22 unequal: No Solution
Exploring Operation: 75-30=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 30*75=2250, Resulting Numbers: [2250]
2250,22 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: 22:[5, 86, 24], Operations: ['30-6=24']
Exploring Operation: 86-5=81, Resulting Numbers: [24, 81]
Generated Node #0,0,0: 22:[24, 81] Operation: 86-5=81
Exploring Operation: 5+86=91, Resulting Numbers: [24, 91]
Generated Node #0,0,1: 22:[24, 91] Operation: 5+86=91
Exploring Operation: 24-5=19, Resulting Numbers: [86, 19]
Generated Node #0,0,2: 22:[86, 19] Operation: 24-5=19
Exploring Operation: 86-24=62, Resulting Numbers: [5, 62]
Generated Node #0,0,3: 22:[5, 62] Operation: 86-24=62
Moving to Node #0,2
Current State: 22:[5, 86, 5], Operations: ['30/6=5']
Exploring Operation: 86-5=81, Resulting Numbers: [5, 81]
Generated Node #0,2,0: 22:[5, 81] Operation: 86-5=81
Exploring Operation: 86-5=81, Resulting Numbers: [5, 81]
Generated Node #0,2,1: 22:[5, 81] Operation: 86-5=81
Exploring Operation: 5+5=10, Resulting Numbers: [86, 10]
Generated Node #0,2,2: 22:[86, 10] Operation: 5+5=10
Exploring Operation: 5/5=1, Resulting Numbers: [86, 1]
Generated Node #0,2,3: 22:[86, 1] Operation: 5/5=1
Moving to Node #0,3,0
Current State: 22:[5, 50], Operations: ['86-30=56', '56-6=50']
Exploring Operation: 5*50=250, Resulting Numbers: [250]
250,22 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Moving to Node #0,3,1
Current State: 22:[6, 51], Operations: ['86-30=56', '56-5=51']
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,22 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Moving to Node #0,3,2
Current State: 22:[56, 11], Operations: ['86-30=56', '5+6=11']
Exploring Operation: 56+11=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 56*11=616, Resulting Numbers: [616]
616,22 unequal: No Solution
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Moving to Node #0,3,3
Current State: 22:[56, 1], Operations: ['86-30=56', '6-5=1']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,22 unequal: No Solution
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,22 unequal: No Solution
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Moving to Node #0,0,3
Current State: 22:[5, 62], Operations: ['30-6=24', '86-24=62']
Exploring Operation: 5*62=310, Resulting Numbers: [310]
310,22 unequal: No Solution
Exploring Operation: 5+62=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[24, 81], Operations: ['30-6=24', '86-5=81']
Exploring Operation: 24*81=1944, Resulting Numbers: [1944]
1944,22 unequal: No Solution
Exploring Operation: 81-24=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 24+81=105, Resulting Numbers: [105]
105,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[5, 81], Operations: ['30/6=5', '86-5=81']
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,22 unequal: No Solution
Exploring Operation: 5+81=86, Resulting Numbers: [86]
86,22 unequal: No Solution
Exploring Operation: 5*81=405, Resulting Numbers: [405]
405,22 unequal: No Solution
Moving to Node #0,2,0
Current State: 22:[5, 81], Operations: ['30/6=5', '86-5=81']
Exploring Operation: 5*81=405, Resulting Numbers: [405]
405,22 unequal: No Solution
Exploring Operation: 5+81=86, Resulting Numbers: [86]
86,22 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[86, 10], Operations: ['30/6=5', '5+5=10']
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,22 unequal: No Solution
Exploring Operation: 86+10=96, Resulting Numbers: [96]
96,22 unequal: No Solution
Exploring Operation: 86*10=860, Resulting Numbers: [860]
860,22 unequal: No Solution
Moving to Node #0,2,3
Current State: 22:[86, 1], Operations: ['30/6=5', '5/5=1']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,22 unequal: No Solution
Exploring Operation: 86+1=87, Resulting Numbers: [87]
87,22 unequal: No Solution
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,22 unequal: No Solution
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[86, 19], Operations: ['30-6=24', '24-5=19']
Exploring Operation: 86-19=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 86*19=1634, Resulting Numbers: [1634]
1634,22 unequal: No Solution
Exploring Operation: 86+19=105, Resulting Numbers: [105]
105,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[24, 91], Operations: ['30-6=24', '5+86=91']
Exploring Operation: 24*91=2184, Resulting Numbers: [2184]
2184,22 unequal: No Solution
Exploring Operation: 91-24=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 24+91=115, Resulting Numbers: [115]
115,22 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
90,
20,
87,
85
] | 65 | [
"87-85=2",
"90/2=45",
"20+45=65"
] | Current State: 65:[90, 20, 87, 85], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [90, 20, 2]
Generated Node #2: [90, 20, 2] from Operation: 87-85=2
Current State: 65:[90, 20, 2], Operations: ['87-85=2']
Exploring Operation: 90/2=45, Resulting Numbers: [20, 45]
Generated Node #3: [20, 45] from Operation: 90/2=45
Current State: 65:[20, 45], Operations: ['87-85=2', '90/2=45']
Exploring Operation: 20+45=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[90, 20, 87, 85], Operations: []
Exploring Operation: 90-87=3, Resulting Numbers: [20, 85, 3]
Generated Node #0,0: 65:[20, 85, 3] Operation: 90-87=3
Exploring Operation: 90-85=5, Resulting Numbers: [20, 87, 5]
Generated Node #0,1: 65:[20, 87, 5] Operation: 90-85=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[20, 85, 3], Operations: ['90-87=3']
Exploring Operation: 20-3=17, Resulting Numbers: [85, 17]
Generated Node #0,0,0: 65:[85, 17] Operation: 20-3=17
Exploring Operation: 85-20=65, Resulting Numbers: [3, 65]
Generated Node #0,0,1: 65:[3, 65] Operation: 85-20=65
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[3, 65], Operations: ['90-87=3', '85-20=65']
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,65 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[85, 17], Operations: ['90-87=3', '20-3=17']
Exploring Operation: 85-17=68, Resulting Numbers: [68]
68,65 unequal: No Solution
Exploring Operation: 85/17=5, Resulting Numbers: [5]
5,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[20, 87, 5], Operations: ['90-85=5']
Exploring Operation: 87-20=67, Resulting Numbers: [5, 67]
Generated Node #0,1,0: 65:[5, 67] Operation: 87-20=67
Exploring Operation: 20/5=4, Resulting Numbers: [87, 4]
Generated Node #0,1,1: 65:[87, 4] Operation: 20/5=4
Moving to Node #0,1,0
Current State: 65:[5, 67], Operations: ['90-85=5', '87-20=67']
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Exploring Operation: 5+67=72, Resulting Numbers: [72]
72,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[87, 4], Operations: ['90-85=5', '20/5=4']
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,65 unequal: No Solution
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
23,
88,
99,
17
] | 77 | [
"99*17=1683",
"88+1683=1771",
"1771/23=77"
] | Current State: 77:[23, 88, 99, 17], Operations: []
Exploring Operation: 99*17=1683, Resulting Numbers: [23, 88, 1683]
Generated Node #2: [23, 88, 1683] from Operation: 99*17=1683
Current State: 77:[23, 88, 1683], Operations: ['99*17=1683']
Exploring Operation: 88+1683=1771, Resulting Numbers: [23, 1771]
Generated Node #3: [23, 1771] from Operation: 88+1683=1771
Current State: 77:[23, 1771], Operations: ['99*17=1683', '88+1683=1771']
Exploring Operation: 1771/23=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[23, 88, 99, 17], Operations: []
Exploring Operation: 23-17=6, Resulting Numbers: [88, 99, 6]
Generated Node #0,0: 77:[88, 99, 6] Operation: 23-17=6
Exploring Operation: 99-23=76, Resulting Numbers: [88, 17, 76]
Generated Node #0,1: 77:[88, 17, 76] Operation: 99-23=76
Exploring Operation: 88-23=65, Resulting Numbers: [99, 17, 65]
Generated Node #0,2: 77:[99, 17, 65] Operation: 88-23=65
Exploring Operation: 99-17=82, Resulting Numbers: [23, 88, 82]
Generated Node #0,3: 77:[23, 88, 82] Operation: 99-17=82
Exploring Operation: 99-88=11, Resulting Numbers: [23, 17, 11]
Generated Node #0,4: 77:[23, 17, 11] Operation: 99-88=11
Moving to Node #0,1
Current State: 77:[88, 17, 76], Operations: ['99-23=76']
Exploring Operation: 88-76=12, Resulting Numbers: [17, 12]
Generated Node #0,1,0: 77:[17, 12] Operation: 88-76=12
Exploring Operation: 88-17=71, Resulting Numbers: [76, 71]
Generated Node #0,1,1: 77:[76, 71] Operation: 88-17=71
Exploring Operation: 76-17=59, Resulting Numbers: [88, 59]
Generated Node #0,1,2: 77:[88, 59] Operation: 76-17=59
Exploring Operation: 17+76=93, Resulting Numbers: [88, 93]
Generated Node #0,1,3: 77:[88, 93] Operation: 17+76=93
Exploring Operation: 88+17=105, Resulting Numbers: [76, 105]
Generated Node #0,1,4: 77:[76, 105] Operation: 88+17=105
Moving to Node #0,4
Current State: 77:[23, 17, 11], Operations: ['99-88=11']
Exploring Operation: 17-11=6, Resulting Numbers: [23, 6]
Generated Node #0,4,0: 77:[23, 6] Operation: 17-11=6
Exploring Operation: 23+11=34, Resulting Numbers: [17, 34]
Generated Node #0,4,1: 77:[17, 34] Operation: 23+11=34
Exploring Operation: 23-17=6, Resulting Numbers: [11, 6]
Generated Node #0,4,2: 77:[11, 6] Operation: 23-17=6
Exploring Operation: 23-11=12, Resulting Numbers: [17, 12]
Generated Node #0,4,3: 77:[17, 12] Operation: 23-11=12
Exploring Operation: 23+17=40, Resulting Numbers: [11, 40]
Generated Node #0,4,4: 77:[11, 40] Operation: 23+17=40
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 77:[11, 6], Operations: ['99-88=11', '23-17=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 77:[17, 12], Operations: ['99-88=11', '23-11=12']
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,77 unequal: No Solution
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 77:[23, 6], Operations: ['99-88=11', '17-11=6']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,77 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 77:[17, 34], Operations: ['99-88=11', '23+11=34']
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,77 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 17*34=578, Resulting Numbers: [578]
578,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 77:[11, 40], Operations: ['99-88=11', '23+17=40']
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,77 unequal: No Solution
Exploring Operation: 11+40=51, Resulting Numbers: [51]
51,77 unequal: No Solution
Exploring Operation: 11*40=440, Resulting Numbers: [440]
440,77 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: 77:[23, 88, 82], Operations: ['99-17=82']
Exploring Operation: 23+88=111, Resulting Numbers: [82, 111]
Generated Node #0,3,0: 77:[82, 111] Operation: 23+88=111
Exploring Operation: 82-23=59, Resulting Numbers: [88, 59]
Generated Node #0,3,1: 77:[88, 59] Operation: 82-23=59
Exploring Operation: 88-82=6, Resulting Numbers: [23, 6]
Generated Node #0,3,2: 77:[23, 6] Operation: 88-82=6
Exploring Operation: 88-23=65, Resulting Numbers: [82, 65]
Generated Node #0,3,3: 77:[82, 65] Operation: 88-23=65
Exploring Operation: 23+82=105, Resulting Numbers: [88, 105]
Generated Node #0,3,4: 77:[88, 105] Operation: 23+82=105
Moving to Node #0,0
Current State: 77:[88, 99, 6], Operations: ['23-17=6']
Exploring Operation: 88-6=82, Resulting Numbers: [99, 82]
Generated Node #0,0,0: 77:[99, 82] Operation: 88-6=82
Exploring Operation: 99-6=93, Resulting Numbers: [88, 93]
Generated Node #0,0,1: 77:[88, 93] Operation: 99-6=93
Exploring Operation: 99+6=105, Resulting Numbers: [88, 105]
Generated Node #0,0,2: 77:[88, 105] Operation: 99+6=105
Exploring Operation: 99-88=11, Resulting Numbers: [6, 11]
Generated Node #0,0,3: 77:[6, 11] Operation: 99-88=11
Exploring Operation: 88+6=94, Resulting Numbers: [99, 94]
Generated Node #0,0,4: 77:[99, 94] Operation: 88+6=94
Moving to Node #0,2
Current State: 77:[99, 17, 65], Operations: ['88-23=65']
Exploring Operation: 17+65=82, Resulting Numbers: [99, 82]
Generated Node #0,2,0: 77:[99, 82] Operation: 17+65=82
Exploring Operation: 65-17=48, Resulting Numbers: [99, 48]
Generated Node #0,2,1: 77:[99, 48] Operation: 65-17=48
Exploring Operation: 99+17=116, Resulting Numbers: [65, 116]
Generated Node #0,2,2: 77:[65, 116] Operation: 99+17=116
Exploring Operation: 99-65=34, Resulting Numbers: [17, 34]
Generated Node #0,2,3: 77:[17, 34] Operation: 99-65=34
Exploring Operation: 99-17=82, Resulting Numbers: [65, 82]
Generated Node #0,2,4: 77:[65, 82] Operation: 99-17=82
Moving to Node #0,0,3
Current State: 77:[6, 11], Operations: ['23-17=6', '99-88=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[17, 12], Operations: ['99-23=76', '88-76=12']
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,77 unequal: No Solution
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[76, 71], Operations: ['99-23=76', '88-17=71']
Exploring Operation: 76+71=147, Resulting Numbers: [147]
147,77 unequal: No Solution
Exploring Operation: 76*71=5396, Resulting Numbers: [5396]
5396,77 unequal: No Solution
Exploring Operation: 76-71=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[23, 6], Operations: ['99-17=82', '88-82=6']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,77 unequal: No Solution
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[82, 65], Operations: ['99-17=82', '88-23=65']
Exploring Operation: 82-65=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 82*65=5330, Resulting Numbers: [5330]
5330,77 unequal: No Solution
Exploring Operation: 82+65=147, Resulting Numbers: [147]
147,77 unequal: No Solution
Moving to Node #0,2,4
Current State: 77:[65, 82], Operations: ['88-23=65', '99-17=82']
Exploring Operation: 65*82=5330, Resulting Numbers: [5330]
5330,77 unequal: No Solution
Exploring Operation: 82-65=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 65+82=147, Resulting Numbers: [147]
147,77 unequal: No Solution
Moving to Node #0,1,3
Current State: 77:[88, 93], Operations: ['99-23=76', '17+76=93']
Exploring Operation: 88+93=181, Resulting Numbers: [181]
181,77 unequal: No Solution
Exploring Operation: 88*93=8184, Resulting Numbers: [8184]
8184,77 unequal: No Solution
Exploring Operation: 93-88=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[88, 93], Operations: ['23-17=6', '99-6=93']
Exploring Operation: 88*93=8184, Resulting Numbers: [8184]
8184,77 unequal: No Solution
Exploring Operation: 93-88=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 88+93=181, Resulting Numbers: [181]
181,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[99, 82], Operations: ['23-17=6', '88-6=82']
Exploring Operation: 99-82=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 99+82=181, Resulting Numbers: [181]
181,77 unequal: No Solution
Exploring Operation: 99*82=8118, Resulting Numbers: [8118]
8118,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[99, 82], Operations: ['88-23=65', '17+65=82']
Exploring Operation: 99+82=181, Resulting Numbers: [181]
181,77 unequal: No Solution
Exploring Operation: 99-82=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 99*82=8118, Resulting Numbers: [8118]
8118,77 unequal: No Solution
Moving to Node #0,1,4
Current State: 77:[76, 105], Operations: ['99-23=76', '88+17=105']
Exploring Operation: 76*105=7980, Resulting Numbers: [7980]
7980,77 unequal: No Solution
Exploring Operation: 76+105=181, Resulting Numbers: [181]
181,77 unequal: No Solution
Exploring Operation: 105-76=29, Resulting Numbers: [29]
29,77 unequal: No Solution
Moving to Node #0,2,3
Current State: 77:[17, 34], Operations: ['88-23=65', '99-65=34']
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,77 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 17*34=578, Resulting Numbers: [578]
578,77 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[88, 59], Operations: ['99-17=82', '82-23=59']
Exploring Operation: 88*59=5192, Resulting Numbers: [5192]
5192,77 unequal: No Solution
Exploring Operation: 88-59=29, Resulting Numbers: [29]
29,77 unequal: No Solution
Exploring Operation: 88+59=147, Resulting Numbers: [147]
147,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[88, 59], Operations: ['99-23=76', '76-17=59']
Exploring Operation: 88-59=29, Resulting Numbers: [29]
29,77 unequal: No Solution
Exploring Operation: 88+59=147, Resulting Numbers: [147]
147,77 unequal: No Solution
Exploring Operation: 88*59=5192, Resulting Numbers: [5192]
5192,77 unequal: No Solution
Moving to Node #0,0,4
Current State: 77:[99, 94], Operations: ['23-17=6', '88+6=94']
Exploring Operation: 99*94=9306, Resulting Numbers: [9306]
9306,77 unequal: No Solution
Exploring Operation: 99-94=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 99+94=193, Resulting Numbers: [193]
193,77 unequal: No Solution
Moving to Node #0,3,0
Current State: 77:[82, 111], Operations: ['99-17=82', '23+88=111']
Exploring Operation: 82+111=193, Resulting Numbers: [193]
193,77 unequal: No Solution
Exploring Operation: 82*111=9102, Resulting Numbers: [9102]
9102,77 unequal: No Solution
Exploring Operation: 111-82=29, Resulting Numbers: [29]
29,77 unequal: No Solution
Moving to Node #0,3,4
Current State: 77:[88, 105], Operations: ['99-17=82', '23+82=105']
Exploring Operation: 105-88=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 88+105=193, Resulting Numbers: [193]
193,77 unequal: No Solution
Exploring Operation: 88*105=9240, Resulting Numbers: [9240]
9240,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[88, 105], Operations: ['23-17=6', '99+6=105']
Exploring Operation: 88+105=193, Resulting Numbers: [193]
193,77 unequal: No Solution
Exploring Operation: 88*105=9240, Resulting Numbers: [9240]
9240,77 unequal: No Solution
Exploring Operation: 105-88=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[65, 116], Operations: ['88-23=65', '99+17=116']
Exploring Operation: 65*116=7540, Resulting Numbers: [7540]
7540,77 unequal: No Solution
Exploring Operation: 116-65=51, Resulting Numbers: [51]
51,77 unequal: No Solution
Exploring Operation: 65+116=181, Resulting Numbers: [181]
181,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[99, 48], Operations: ['88-23=65', '65-17=48']
Exploring Operation: 99*48=4752, Resulting Numbers: [4752]
4752,77 unequal: No Solution
Exploring Operation: 99-48=51, Resulting Numbers: [51]
51,77 unequal: No Solution
Exploring Operation: 99+48=147, Resulting Numbers: [147]
147,77 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
8,
10,
2,
89
] | 17 | [
"2*89=178",
"178-8=170",
"170/10=17"
] | Current State: 17:[8, 10, 2, 89], Operations: []
Exploring Operation: 2*89=178, Resulting Numbers: [8, 10, 178]
Generated Node #2: [8, 10, 178] from Operation: 2*89=178
Current State: 17:[8, 10, 178], Operations: ['2*89=178']
Exploring Operation: 178-8=170, Resulting Numbers: [10, 170]
Generated Node #3: [10, 170] from Operation: 178-8=170
Current State: 17:[10, 170], Operations: ['2*89=178', '178-8=170']
Exploring Operation: 170/10=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[8, 10, 2, 89], Operations: []
Exploring Operation: 8*2=16, Resulting Numbers: [10, 89, 16]
Generated Node #0,0: 17:[10, 89, 16] Operation: 8*2=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[10, 89, 16], Operations: ['8*2=16']
Exploring Operation: 89-10=79, Resulting Numbers: [16, 79]
Generated Node #0,0,0: 17:[16, 79] Operation: 89-10=79
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[16, 79], Operations: ['8*2=16', '89-10=79']
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,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 |
[
70,
35,
99,
88
] | 22 | [
"70/35=2",
"99-88=11",
"2*11=22"
] | Current State: 22:[70, 35, 99, 88], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [99, 88, 2]
Generated Node #2: [99, 88, 2] from Operation: 70/35=2
Current State: 22:[99, 88, 2], Operations: ['70/35=2']
Exploring Operation: 99-88=11, Resulting Numbers: [2, 11]
Generated Node #3: [2, 11] from Operation: 99-88=11
Current State: 22:[2, 11], Operations: ['70/35=2', '99-88=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[70, 35, 99, 88], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [99, 88, 2]
Generated Node #0,0: 22:[99, 88, 2] Operation: 70/35=2
Exploring Operation: 99-88=11, Resulting Numbers: [70, 35, 11]
Generated Node #0,1: 22:[70, 35, 11] Operation: 99-88=11
Exploring Operation: 88-70=18, Resulting Numbers: [35, 99, 18]
Generated Node #0,2: 22:[35, 99, 18] Operation: 88-70=18
Exploring Operation: 99-70=29, Resulting Numbers: [35, 88, 29]
Generated Node #0,3: 22:[35, 88, 29] Operation: 99-70=29
Moving to Node #0,1
Current State: 22:[70, 35, 11], Operations: ['99-88=11']
Exploring Operation: 35-11=24, Resulting Numbers: [70, 24]
Generated Node #0,1,0: 22:[70, 24] Operation: 35-11=24
Exploring Operation: 70-11=59, Resulting Numbers: [35, 59]
Generated Node #0,1,1: 22:[35, 59] Operation: 70-11=59
Exploring Operation: 70/35=2, Resulting Numbers: [11, 2]
Generated Node #0,1,2: 22:[11, 2] Operation: 70/35=2
Exploring Operation: 70-35=35, Resulting Numbers: [11, 35]
Generated Node #0,1,3: 22:[11, 35] Operation: 70-35=35
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 22:[11, 2], Operations: ['99-88=11', '70/35=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[70, 35, 99, 88], Operations: []
Exploring Operation: 99-88=11, Resulting Numbers: [70, 35, 11]
Generated Node #0,1: 22:[70, 35, 11] Operation: 99-88=11
Moving to Node #0,1
Current State: 22:[70, 35, 11], Operations: ['99-88=11']
Exploring Operation: 70/35=2, Resulting Numbers: [11, 2]
Generated Node #0,1,2: 22:[11, 2] Operation: 70/35=2
Moving to Node #0,1,2
Current State: 22:[11, 2], Operations: ['99-88=11', '70/35=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
47,
99,
99,
86
] | 47 | [
"99-99=0",
"86*0=0",
"47+0=47"
] | Current State: 47:[47, 99, 99, 86], Operations: []
Exploring Operation: 99-99=0, Resulting Numbers: [47, 86, 0]
Generated Node #2: [47, 86, 0] from Operation: 99-99=0
Current State: 47:[47, 86, 0], Operations: ['99-99=0']
Exploring Operation: 86*0=0, Resulting Numbers: [47, 0]
Generated Node #3: [47, 0] from Operation: 86*0=0
Current State: 47:[47, 0], Operations: ['99-99=0', '86*0=0']
Exploring Operation: 47+0=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[47, 99, 99, 86], Operations: []
Exploring Operation: 99-86=13, Resulting Numbers: [47, 99, 13]
Generated Node #0,0: 47:[47, 99, 13] Operation: 99-86=13
Exploring Operation: 99/99=1, Resulting Numbers: [47, 86, 1]
Generated Node #0,1: 47:[47, 86, 1] Operation: 99/99=1
Exploring Operation: 99-99=0, Resulting Numbers: [47, 86, 0]
Generated Node #0,2: 47:[47, 86, 0] Operation: 99-99=0
Exploring Operation: 99-86=13, Resulting Numbers: [47, 99, 13]
Generated Node #0,3: 47:[47, 99, 13] Operation: 99-86=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[47, 86, 1], Operations: ['99/99=1']
Exploring Operation: 47*1=47, Resulting Numbers: [86, 47]
Generated Node #0,1,0: 47:[86, 47] Operation: 47*1=47
Exploring Operation: 86*1=86, Resulting Numbers: [47, 86]
Generated Node #0,1,1: 47:[47, 86] Operation: 86*1=86
Exploring Operation: 47/1=47, Resulting Numbers: [86, 47]
Generated Node #0,1,2: 47:[86, 47] Operation: 47/1=47
Exploring Operation: 86-1=85, Resulting Numbers: [47, 85]
Generated Node #0,1,3: 47:[47, 85] Operation: 86-1=85
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 47:[47, 85], Operations: ['99/99=1', '86-1=85']
Exploring Operation: 47*85=3995, Resulting Numbers: [3995]
3995,47 unequal: No Solution
Exploring Operation: 47+85=132, Resulting Numbers: [132]
132,47 unequal: No Solution
Exploring Operation: 85-47=38, Resulting Numbers: [38]
38,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[86, 47], Operations: ['99/99=1', '47*1=47']
Exploring Operation: 86*47=4042, Resulting Numbers: [4042]
4042,47 unequal: No Solution
Exploring Operation: 86-47=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 86+47=133, Resulting Numbers: [133]
133,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[47, 86], Operations: ['99/99=1', '86*1=86']
Exploring Operation: 86-47=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 47+86=133, Resulting Numbers: [133]
133,47 unequal: No Solution
Exploring Operation: 47*86=4042, Resulting Numbers: [4042]
4042,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[86, 47], Operations: ['99/99=1', '47/1=47']
Exploring Operation: 86*47=4042, Resulting Numbers: [4042]
4042,47 unequal: No Solution
Exploring Operation: 86-47=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 86+47=133, Resulting Numbers: [133]
133,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[47, 99, 13], Operations: ['99-86=13']
Exploring Operation: 47-13=34, Resulting Numbers: [99, 34]
Generated Node #0,0,0: 47:[99, 34] Operation: 47-13=34
Exploring Operation: 99-47=52, Resulting Numbers: [13, 52]
Generated Node #0,0,1: 47:[13, 52] Operation: 99-47=52
Exploring Operation: 47+13=60, Resulting Numbers: [99, 60]
Generated Node #0,0,2: 47:[99, 60] Operation: 47+13=60
Exploring Operation: 99-13=86, Resulting Numbers: [47, 86]
Generated Node #0,0,3: 47:[47, 86] Operation: 99-13=86
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[13, 52], Operations: ['99-86=13', '99-47=52']
Exploring Operation: 13+52=65, Resulting Numbers: [65]
65,47 unequal: No Solution
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 13*52=676, Resulting Numbers: [676]
676,47 unequal: No Solution
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 47:[47, 86], Operations: ['99-86=13', '99-13=86']
Exploring Operation: 86-47=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 47*86=4042, Resulting Numbers: [4042]
4042,47 unequal: No Solution
Exploring Operation: 47+86=133, Resulting Numbers: [133]
133,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[99, 34], Operations: ['99-86=13', '47-13=34']
Exploring Operation: 99+34=133, Resulting Numbers: [133]
133,47 unequal: No Solution
Exploring Operation: 99-34=65, Resulting Numbers: [65]
65,47 unequal: No Solution
Exploring Operation: 99*34=3366, Resulting Numbers: [3366]
3366,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[99, 60], Operations: ['99-86=13', '47+13=60']
Exploring Operation: 99-60=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 99*60=5940, Resulting Numbers: [5940]
5940,47 unequal: No Solution
Exploring Operation: 99+60=159, Resulting Numbers: [159]
159,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[47, 86, 0], Operations: ['99-99=0']
Exploring Operation: 86-0=86, Resulting Numbers: [47, 86]
Generated Node #0,2,0: 47:[47, 86] Operation: 86-0=86
Exploring Operation: 47-0=47, Resulting Numbers: [86, 47]
Generated Node #0,2,1: 47:[86, 47] Operation: 47-0=47
Exploring Operation: 47+0=47, Resulting Numbers: [86, 47]
Generated Node #0,2,2: 47:[86, 47] Operation: 47+0=47
Exploring Operation: 86+0=86, Resulting Numbers: [47, 86]
Generated Node #0,2,3: 47:[47, 86] Operation: 86+0=86
Moving to Node #0,2,0
Current State: 47:[47, 86], Operations: ['99-99=0', '86-0=86']
Exploring Operation: 86-47=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 47*86=4042, Resulting Numbers: [4042]
4042,47 unequal: No Solution
Exploring Operation: 47+86=133, Resulting Numbers: [133]
133,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[86, 47], Operations: ['99-99=0', '47+0=47']
Exploring Operation: 86+47=133, Resulting Numbers: [133]
133,47 unequal: No Solution
Exploring Operation: 86-47=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 86*47=4042, Resulting Numbers: [4042]
4042,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[86, 47], Operations: ['99-99=0', '47-0=47']
Exploring Operation: 86+47=133, Resulting Numbers: [133]
133,47 unequal: No Solution
Exploring Operation: 86-47=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 86*47=4042, Resulting Numbers: [4042]
4042,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[47, 86], Operations: ['99-99=0', '86+0=86']
Exploring Operation: 47+86=133, Resulting Numbers: [133]
133,47 unequal: No Solution
Exploring Operation: 47*86=4042, Resulting Numbers: [4042]
4042,47 unequal: No Solution
Exploring Operation: 86-47=39, Resulting Numbers: [39]
39,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[47, 99, 13], Operations: ['99-86=13']
Exploring Operation: 99-47=52, Resulting Numbers: [13, 52]
Generated Node #0,3,0: 47:[13, 52] Operation: 99-47=52
Exploring Operation: 99-13=86, Resulting Numbers: [47, 86]
Generated Node #0,3,1: 47:[47, 86] Operation: 99-13=86
Exploring Operation: 47+13=60, Resulting Numbers: [99, 60]
Generated Node #0,3,2: 47:[99, 60] Operation: 47+13=60
Exploring Operation: 47-13=34, Resulting Numbers: [99, 34]
Generated Node #0,3,3: 47:[99, 34] Operation: 47-13=34
Moving to Node #0,3,0
Current State: 47:[13, 52], Operations: ['99-86=13', '99-47=52']
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 13*52=676, Resulting Numbers: [676]
676,47 unequal: No Solution
Exploring Operation: 13+52=65, Resulting Numbers: [65]
65,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[47, 86], Operations: ['99-86=13', '99-13=86']
Exploring Operation: 47+86=133, Resulting Numbers: [133]
133,47 unequal: No Solution
Exploring Operation: 47*86=4042, Resulting Numbers: [4042]
4042,47 unequal: No Solution
Exploring Operation: 86-47=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[99, 34], Operations: ['99-86=13', '47-13=34']
Exploring Operation: 99-34=65, Resulting Numbers: [65]
65,47 unequal: No Solution
Exploring Operation: 99+34=133, Resulting Numbers: [133]
133,47 unequal: No Solution
Exploring Operation: 99*34=3366, Resulting Numbers: [3366]
3366,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[99, 60], Operations: ['99-86=13', '47+13=60']
Exploring Operation: 99+60=159, Resulting Numbers: [159]
159,47 unequal: No Solution
Exploring Operation: 99*60=5940, Resulting Numbers: [5940]
5940,47 unequal: No Solution
Exploring Operation: 99-60=39, Resulting Numbers: [39]
39,47 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 |
[
60,
98,
9,
82
] | 53 | [
"98-60=38",
"9+82=91",
"91-38=53"
] | Current State: 53:[60, 98, 9, 82], Operations: []
Exploring Operation: 98-60=38, Resulting Numbers: [9, 82, 38]
Generated Node #2: [9, 82, 38] from Operation: 98-60=38
Current State: 53:[9, 82, 38], Operations: ['98-60=38']
Exploring Operation: 9+82=91, Resulting Numbers: [38, 91]
Generated Node #3: [38, 91] from Operation: 9+82=91
Current State: 53:[38, 91], Operations: ['98-60=38', '9+82=91']
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[60, 98, 9, 82], Operations: []
Exploring Operation: 98-9=89, Resulting Numbers: [60, 82, 89]
Generated Node #0,0: 53:[60, 82, 89] Operation: 98-9=89
Exploring Operation: 98-60=38, Resulting Numbers: [9, 82, 38]
Generated Node #0,1: 53:[9, 82, 38] Operation: 98-60=38
Exploring Operation: 82-9=73, Resulting Numbers: [60, 98, 73]
Generated Node #0,2: 53:[60, 98, 73] Operation: 82-9=73
Exploring Operation: 60-9=51, Resulting Numbers: [98, 82, 51]
Generated Node #0,3: 53:[98, 82, 51] Operation: 60-9=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[60, 82, 89], Operations: ['98-9=89']
Exploring Operation: 89-60=29, Resulting Numbers: [82, 29]
Generated Node #0,0,0: 53:[82, 29] Operation: 89-60=29
Exploring Operation: 82-60=22, Resulting Numbers: [89, 22]
Generated Node #0,0,1: 53:[89, 22] Operation: 82-60=22
Exploring Operation: 89-82=7, Resulting Numbers: [60, 7]
Generated Node #0,0,2: 53:[60, 7] Operation: 89-82=7
Exploring Operation: 60+82=142, Resulting Numbers: [89, 142]
Generated Node #0,0,3: 53:[89, 142] Operation: 60+82=142
Moving to Node #0,0,0
Current State: 53:[82, 29], Operations: ['98-9=89', '89-60=29']
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[60, 98, 9, 82], Operations: []
Exploring Operation: 98-9=89, Resulting Numbers: [60, 82, 89]
Generated Node #0,0: 53:[60, 82, 89] Operation: 98-9=89
Moving to Node #0,0
Current State: 53:[60, 82, 89], Operations: ['98-9=89']
Exploring Operation: 89-60=29, Resulting Numbers: [82, 29]
Generated Node #0,0,0: 53:[82, 29] Operation: 89-60=29
Moving to Node #0,0,0
Current State: 53:[82, 29], Operations: ['98-9=89', '89-60=29']
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
24,
12,
4,
52
] | 70 | [
"24/4=6",
"12+52=64",
"6+64=70"
] | Current State: 70:[24, 12, 4, 52], Operations: []
Exploring Operation: 24/4=6, Resulting Numbers: [12, 52, 6]
Generated Node #2: [12, 52, 6] from Operation: 24/4=6
Current State: 70:[12, 52, 6], Operations: ['24/4=6']
Exploring Operation: 12+52=64, Resulting Numbers: [6, 64]
Generated Node #3: [6, 64] from Operation: 12+52=64
Current State: 70:[6, 64], Operations: ['24/4=6', '12+52=64']
Exploring Operation: 6+64=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[24, 12, 4, 52], Operations: []
Exploring Operation: 52-24=28, Resulting Numbers: [12, 4, 28]
Generated Node #0,0: 70:[12, 4, 28] Operation: 52-24=28
Exploring Operation: 52/4=13, Resulting Numbers: [24, 12, 13]
Generated Node #0,1: 70:[24, 12, 13] Operation: 52/4=13
Exploring Operation: 24+52=76, Resulting Numbers: [12, 4, 76]
Generated Node #0,2: 70:[12, 4, 76] Operation: 24+52=76
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[12, 4, 76], Operations: ['24+52=76']
Exploring Operation: 76-4=72, Resulting Numbers: [12, 72]
Generated Node #0,2,0: 70:[12, 72] Operation: 76-4=72
Exploring Operation: 12-4=8, Resulting Numbers: [76, 8]
Generated Node #0,2,1: 70:[76, 8] Operation: 12-4=8
Exploring Operation: 12/4=3, Resulting Numbers: [76, 3]
Generated Node #0,2,2: 70:[76, 3] Operation: 12/4=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[12, 72], Operations: ['24+52=76', '76-4=72']
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 12+72=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,70 unequal: No Solution
No 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: 70:[76, 8], Operations: ['24+52=76', '12-4=8']
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Exploring Operation: 76-8=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 76*8=608, Resulting Numbers: [608]
608,70 unequal: No Solution
No 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: 70:[76, 3], Operations: ['24+52=76', '12/4=3']
Exploring Operation: 76*3=228, Resulting Numbers: [228]
228,70 unequal: No Solution
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[12, 4, 28], Operations: ['52-24=28']
Exploring Operation: 4+28=32, Resulting Numbers: [12, 32]
Generated Node #0,0,0: 70:[12, 32] Operation: 4+28=32
Exploring Operation: 28-12=16, Resulting Numbers: [4, 16]
Generated Node #0,0,1: 70:[4, 16] Operation: 28-12=16
Exploring Operation: 28/4=7, Resulting Numbers: [12, 7]
Generated Node #0,0,2: 70:[12, 7] Operation: 28/4=7
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 70:[12, 7], Operations: ['52-24=28', '28/4=7']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,70 unequal: No Solution
No 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: 70:[4, 16], Operations: ['52-24=28', '28-12=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,70 unequal: No Solution
No 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: 70:[12, 32], Operations: ['52-24=28', '4+28=32']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 12*32=384, Resulting Numbers: [384]
384,70 unequal: No Solution
Exploring Operation: 12+32=44, Resulting Numbers: [44]
44,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[24, 12, 13], Operations: ['52/4=13']
Exploring Operation: 24/12=2, Resulting Numbers: [13, 2]
Generated Node #0,1,0: 70:[13, 2] Operation: 24/12=2
Exploring Operation: 24-12=12, Resulting Numbers: [13, 12]
Generated Node #0,1,1: 70:[13, 12] Operation: 24-12=12
Exploring Operation: 24+12=36, Resulting Numbers: [13, 36]
Generated Node #0,1,2: 70:[13, 36] Operation: 24+12=36
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[13, 2], Operations: ['52/4=13', '24/12=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,70 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,70 unequal: No Solution
No 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: 70:[13, 36], Operations: ['52/4=13', '24+12=36']
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,70 unequal: No Solution
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,70 unequal: No Solution
No 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: 70:[13, 12], Operations: ['52/4=13', '24-12=12']
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,70 unequal: No Solution
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
77,
87,
50,
44
] | 22 | [
"77*50=3850",
"87*44=3828",
"3850-3828=22"
] | Current State: 22:[77, 87, 50, 44], Operations: []
Exploring Operation: 77*50=3850, Resulting Numbers: [87, 44, 3850]
Generated Node #2: [87, 44, 3850] from Operation: 77*50=3850
Current State: 22:[87, 44, 3850], Operations: ['77*50=3850']
Exploring Operation: 87*44=3828, Resulting Numbers: [3850, 3828]
Generated Node #3: [3850, 3828] from Operation: 87*44=3828
Current State: 22:[3850, 3828], Operations: ['77*50=3850', '87*44=3828']
Exploring Operation: 3850-3828=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[77, 87, 50, 44], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [50, 44, 10]
Generated Node #0,0: 22:[50, 44, 10] Operation: 87-77=10
Exploring Operation: 87-44=43, Resulting Numbers: [77, 50, 43]
Generated Node #0,1: 22:[77, 50, 43] Operation: 87-44=43
Exploring Operation: 87-50=37, Resulting Numbers: [77, 44, 37]
Generated Node #0,2: 22:[77, 44, 37] Operation: 87-50=37
Exploring Operation: 77-44=33, Resulting Numbers: [87, 50, 33]
Generated Node #0,3: 22:[87, 50, 33] Operation: 77-44=33
Exploring Operation: 77-50=27, Resulting Numbers: [87, 44, 27]
Generated Node #0,4: 22:[87, 44, 27] Operation: 77-50=27
Moving to Node #0,0
Current State: 22:[50, 44, 10], Operations: ['87-77=10']
Exploring Operation: 50/10=5, Resulting Numbers: [44, 5]
Generated Node #0,0,0: 22:[44, 5] Operation: 50/10=5
Exploring Operation: 50+10=60, Resulting Numbers: [44, 60]
Generated Node #0,0,1: 22:[44, 60] Operation: 50+10=60
Exploring Operation: 50-10=40, Resulting Numbers: [44, 40]
Generated Node #0,0,2: 22:[44, 40] Operation: 50-10=40
Exploring Operation: 44-10=34, Resulting Numbers: [50, 34]
Generated Node #0,0,3: 22:[50, 34] Operation: 44-10=34
Exploring Operation: 50-44=6, Resulting Numbers: [10, 6]
Generated Node #0,0,4: 22:[10, 6] Operation: 50-44=6
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 22:[10, 6], Operations: ['87-77=10', '50-44=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,22 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,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,0
Current State: 22:[44, 5], Operations: ['87-77=10', '50/10=5']
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,22 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,22 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,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,2
Current State: 22:[44, 40], Operations: ['87-77=10', '50-10=40']
Exploring Operation: 44*40=1760, Resulting Numbers: [1760]
1760,22 unequal: No Solution
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 44+40=84, Resulting Numbers: [84]
84,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,3
Current State: 22:[50, 34], Operations: ['87-77=10', '44-10=34']
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 50+34=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Exploring Operation: 50*34=1700, Resulting Numbers: [1700]
1700,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:[44, 60], Operations: ['87-77=10', '50+10=60']
Exploring Operation: 44+60=104, Resulting Numbers: [104]
104,22 unequal: No Solution
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 44*60=2640, Resulting Numbers: [2640]
2640,22 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: 22:[87, 44, 27], Operations: ['77-50=27']
Exploring Operation: 87+27=114, Resulting Numbers: [44, 114]
Generated Node #0,4,0: 22:[44, 114] Operation: 87+27=114
Exploring Operation: 87-27=60, Resulting Numbers: [44, 60]
Generated Node #0,4,1: 22:[44, 60] Operation: 87-27=60
Exploring Operation: 44-27=17, Resulting Numbers: [87, 17]
Generated Node #0,4,2: 22:[87, 17] Operation: 44-27=17
Exploring Operation: 87+44=131, Resulting Numbers: [27, 131]
Generated Node #0,4,3: 22:[27, 131] Operation: 87+44=131
Exploring Operation: 87-44=43, Resulting Numbers: [27, 43]
Generated Node #0,4,4: 22:[27, 43] Operation: 87-44=43
Moving to Node #0,2
Current State: 22:[77, 44, 37], Operations: ['87-50=37']
Exploring Operation: 77+44=121, Resulting Numbers: [37, 121]
Generated Node #0,2,0: 22:[37, 121] Operation: 77+44=121
Exploring Operation: 77-44=33, Resulting Numbers: [37, 33]
Generated Node #0,2,1: 22:[37, 33] Operation: 77-44=33
Exploring Operation: 44-37=7, Resulting Numbers: [77, 7]
Generated Node #0,2,2: 22:[77, 7] Operation: 44-37=7
Exploring Operation: 77+37=114, Resulting Numbers: [44, 114]
Generated Node #0,2,3: 22:[44, 114] Operation: 77+37=114
Exploring Operation: 77-37=40, Resulting Numbers: [44, 40]
Generated Node #0,2,4: 22:[44, 40] Operation: 77-37=40
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 22:[37, 33], Operations: ['87-50=37', '77-44=33']
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 37+33=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Exploring Operation: 37*33=1221, Resulting Numbers: [1221]
1221,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,4
Current State: 22:[44, 40], Operations: ['87-50=37', '77-37=40']
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 44+40=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Exploring Operation: 44*40=1760, Resulting Numbers: [1760]
1760,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,2
Current State: 22:[77, 7], Operations: ['87-50=37', '44-37=7']
Exploring Operation: 77*7=539, Resulting Numbers: [539]
539,22 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,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,0
Current State: 22:[37, 121], Operations: ['87-50=37', '77+44=121']
Exploring Operation: 37*121=4477, Resulting Numbers: [4477]
4477,22 unequal: No Solution
Exploring Operation: 121-37=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Exploring Operation: 37+121=158, Resulting Numbers: [158]
158,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,3
Current State: 22:[44, 114], Operations: ['87-50=37', '77+37=114']
Exploring Operation: 114-44=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Exploring Operation: 44+114=158, Resulting Numbers: [158]
158,22 unequal: No Solution
Exploring Operation: 44*114=5016, Resulting Numbers: [5016]
5016,22 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: 22:[77, 50, 43], Operations: ['87-44=43']
Exploring Operation: 77-43=34, Resulting Numbers: [50, 34]
Generated Node #0,1,0: 22:[50, 34] Operation: 77-43=34
Exploring Operation: 50-43=7, Resulting Numbers: [77, 7]
Generated Node #0,1,1: 22:[77, 7] Operation: 50-43=7
Exploring Operation: 77-50=27, Resulting Numbers: [43, 27]
Generated Node #0,1,2: 22:[43, 27] Operation: 77-50=27
Exploring Operation: 77+50=127, Resulting Numbers: [43, 127]
Generated Node #0,1,3: 22:[43, 127] Operation: 77+50=127
Exploring Operation: 77+43=120, Resulting Numbers: [50, 120]
Generated Node #0,1,4: 22:[50, 120] Operation: 77+43=120
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 22:[43, 27], Operations: ['87-44=43', '77-50=27']
Exploring Operation: 43*27=1161, Resulting Numbers: [1161]
1161,22 unequal: No Solution
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 43+27=70, Resulting Numbers: [70]
70,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,1,0
Current State: 22:[50, 34], Operations: ['87-44=43', '77-43=34']
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 50+34=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Exploring Operation: 50*34=1700, Resulting Numbers: [1700]
1700,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,1,1
Current State: 22:[77, 7], Operations: ['87-44=43', '50-43=7']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Exploring Operation: 77*7=539, Resulting Numbers: [539]
539,22 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,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,1,3
Current State: 22:[43, 127], Operations: ['87-44=43', '77+50=127']
Exploring Operation: 127-43=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Exploring Operation: 43+127=170, Resulting Numbers: [170]
170,22 unequal: No Solution
Exploring Operation: 43*127=5461, Resulting Numbers: [5461]
5461,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,1,4
Current State: 22:[50, 120], Operations: ['87-44=43', '77+43=120']
Exploring Operation: 50*120=6000, Resulting Numbers: [6000]
6000,22 unequal: No Solution
Exploring Operation: 120-50=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Exploring Operation: 50+120=170, Resulting Numbers: [170]
170,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 22:[87, 50, 33], Operations: ['77-44=33']
Exploring Operation: 87+33=120, Resulting Numbers: [50, 120]
Generated Node #0,3,0: 22:[50, 120] Operation: 87+33=120
Exploring Operation: 87-50=37, Resulting Numbers: [33, 37]
Generated Node #0,3,1: 22:[33, 37] Operation: 87-50=37
Exploring Operation: 87-33=54, Resulting Numbers: [50, 54]
Generated Node #0,3,2: 22:[50, 54] Operation: 87-33=54
Exploring Operation: 50-33=17, Resulting Numbers: [87, 17]
Generated Node #0,3,3: 22:[87, 17] Operation: 50-33=17
Exploring Operation: 87+50=137, Resulting Numbers: [33, 137]
Generated Node #0,3,4: 22:[33, 137] Operation: 87+50=137
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 22:[33, 37], Operations: ['77-44=33', '87-50=37']
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 33+37=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Exploring Operation: 33*37=1221, Resulting Numbers: [1221]
1221,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 22:[50, 54], Operations: ['77-44=33', '87-33=54']
Exploring Operation: 50+54=104, Resulting Numbers: [104]
104,22 unequal: No Solution
Exploring Operation: 50*54=2700, Resulting Numbers: [2700]
2700,22 unequal: No Solution
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 22:[87, 17], Operations: ['77-44=33', '50-33=17']
Exploring Operation: 87*17=1479, Resulting Numbers: [1479]
1479,22 unequal: No Solution
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Exploring Operation: 87+17=104, Resulting Numbers: [104]
104,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 22:[50, 120], Operations: ['77-44=33', '87+33=120']
Exploring Operation: 50+120=170, Resulting Numbers: [170]
170,22 unequal: No Solution
Exploring Operation: 50*120=6000, Resulting Numbers: [6000]
6000,22 unequal: No Solution
Exploring Operation: 120-50=70, Resulting Numbers: [70]
70,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 22:[33, 137], Operations: ['77-44=33', '87+50=137']
Exploring Operation: 137-33=104, Resulting Numbers: [104]
104,22 unequal: No Solution
Exploring Operation: 33+137=170, Resulting Numbers: [170]
170,22 unequal: No Solution
Exploring Operation: 33*137=4521, Resulting Numbers: [4521]
4521,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,4
Current State: 22:[27, 43], Operations: ['77-50=27', '87-44=43']
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 27+43=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Exploring Operation: 27*43=1161, Resulting Numbers: [1161]
1161,22 unequal: No Solution
Moving to Node #0,4,1
Current State: 22:[44, 60], Operations: ['77-50=27', '87-27=60']
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 44+60=104, Resulting Numbers: [104]
104,22 unequal: No Solution
Exploring Operation: 44*60=2640, Resulting Numbers: [2640]
2640,22 unequal: No Solution
Moving to Node #0,4,2
Current State: 22:[87, 17], Operations: ['77-50=27', '44-27=17']
Exploring Operation: 87*17=1479, Resulting Numbers: [1479]
1479,22 unequal: No Solution
Exploring Operation: 87+17=104, Resulting Numbers: [104]
104,22 unequal: No Solution
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Moving to Node #0,4,0
Current State: 22:[44, 114], Operations: ['77-50=27', '87+27=114']
Exploring Operation: 44*114=5016, Resulting Numbers: [5016]
5016,22 unequal: No Solution
Exploring Operation: 44+114=158, Resulting Numbers: [158]
158,22 unequal: No Solution
Exploring Operation: 114-44=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Moving to Node #0,4,3
Current State: 22:[27, 131], Operations: ['77-50=27', '87+44=131']
Exploring Operation: 131-27=104, Resulting Numbers: [104]
104,22 unequal: No Solution
Exploring Operation: 27+131=158, Resulting Numbers: [158]
158,22 unequal: No Solution
Exploring Operation: 27*131=3537, Resulting Numbers: [3537]
3537,22 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
23,
74,
20,
25
] | 47 | [
"25-23=2",
"74+20=94",
"94/2=47"
] | Current State: 47:[23, 74, 20, 25], Operations: []
Exploring Operation: 25-23=2, Resulting Numbers: [74, 20, 2]
Generated Node #2: [74, 20, 2] from Operation: 25-23=2
Current State: 47:[74, 20, 2], Operations: ['25-23=2']
Exploring Operation: 74+20=94, Resulting Numbers: [2, 94]
Generated Node #3: [2, 94] from Operation: 74+20=94
Current State: 47:[2, 94], Operations: ['25-23=2', '74+20=94']
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[23, 74, 20, 25], Operations: []
Exploring Operation: 23+20=43, Resulting Numbers: [74, 25, 43]
Generated Node #0,0: 47:[74, 25, 43] Operation: 23+20=43
Exploring Operation: 74-20=54, Resulting Numbers: [23, 25, 54]
Generated Node #0,1: 47:[23, 25, 54] Operation: 74-20=54
Exploring Operation: 74-23=51, Resulting Numbers: [20, 25, 51]
Generated Node #0,2: 47:[20, 25, 51] Operation: 74-23=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[74, 25, 43], Operations: ['23+20=43']
Exploring Operation: 74-43=31, Resulting Numbers: [25, 31]
Generated Node #0,0,0: 47:[25, 31] Operation: 74-43=31
Exploring Operation: 25+43=68, Resulting Numbers: [74, 68]
Generated Node #0,0,1: 47:[74, 68] Operation: 25+43=68
Exploring Operation: 74-25=49, Resulting Numbers: [43, 49]
Generated Node #0,0,2: 47:[43, 49] Operation: 74-25=49
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[43, 49], Operations: ['23+20=43', '74-25=49']
Exploring Operation: 43*49=2107, Resulting Numbers: [2107]
2107,47 unequal: No Solution
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 43+49=92, Resulting Numbers: [92]
92,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[25, 31], Operations: ['23+20=43', '74-43=31']
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 25+31=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 25*31=775, Resulting Numbers: [775]
775,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[74, 68], Operations: ['23+20=43', '25+43=68']
Exploring Operation: 74-68=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 74+68=142, Resulting Numbers: [142]
142,47 unequal: No Solution
Exploring Operation: 74*68=5032, Resulting Numbers: [5032]
5032,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[23, 25, 54], Operations: ['74-20=54']
Exploring Operation: 54-23=31, Resulting Numbers: [25, 31]
Generated Node #0,1,0: 47:[25, 31] Operation: 54-23=31
Exploring Operation: 23+25=48, Resulting Numbers: [54, 48]
Generated Node #0,1,1: 47:[54, 48] Operation: 23+25=48
Exploring Operation: 54-25=29, Resulting Numbers: [23, 29]
Generated Node #0,1,2: 47:[23, 29] Operation: 54-25=29
Moving to Node #0,1,1
Current State: 47:[54, 48], Operations: ['74-20=54', '23+25=48']
Exploring Operation: 54+48=102, Resulting Numbers: [102]
102,47 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 54*48=2592, Resulting Numbers: [2592]
2592,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[25, 31], Operations: ['74-20=54', '54-23=31']
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 25*31=775, Resulting Numbers: [775]
775,47 unequal: No Solution
Exploring Operation: 25+31=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[23, 29], Operations: ['74-20=54', '54-25=29']
Exploring Operation: 23*29=667, Resulting Numbers: [667]
667,47 unequal: No Solution
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 23+29=52, Resulting Numbers: [52]
52,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[20, 25, 51], Operations: ['74-23=51']
Exploring Operation: 25-20=5, Resulting Numbers: [51, 5]
Generated Node #0,2,0: 47:[51, 5] Operation: 25-20=5
Exploring Operation: 20+25=45, Resulting Numbers: [51, 45]
Generated Node #0,2,1: 47:[51, 45] Operation: 20+25=45
Exploring Operation: 51-20=31, Resulting Numbers: [25, 31]
Generated Node #0,2,2: 47:[25, 31] Operation: 51-20=31
Moving to Node #0,2,1
Current State: 47:[51, 45], Operations: ['74-23=51', '20+25=45']
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 51+45=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 51*45=2295, Resulting Numbers: [2295]
2295,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[25, 31], Operations: ['74-23=51', '51-20=31']
Exploring Operation: 25+31=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 25*31=775, Resulting Numbers: [775]
775,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[51, 5], Operations: ['74-23=51', '25-20=5']
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 51*5=255, Resulting Numbers: [255]
255,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
38,
62,
7,
58
] | 29 | [
"38-7=31",
"62/31=2",
"58/2=29"
] | Current State: 29:[38, 62, 7, 58], Operations: []
Exploring Operation: 38-7=31, Resulting Numbers: [62, 58, 31]
Generated Node #2: [62, 58, 31] from Operation: 38-7=31
Current State: 29:[62, 58, 31], Operations: ['38-7=31']
Exploring Operation: 62/31=2, Resulting Numbers: [58, 2]
Generated Node #3: [58, 2] from Operation: 62/31=2
Current State: 29:[58, 2], Operations: ['38-7=31', '62/31=2']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[38, 62, 7, 58], Operations: []
Exploring Operation: 62-38=24, Resulting Numbers: [7, 58, 24]
Generated Node #0,0: 29:[7, 58, 24] Operation: 62-38=24
Moving to Node #0,0
Current State: 29:[7, 58, 24], Operations: ['62-38=24']
Exploring Operation: 58-7=51, Resulting Numbers: [24, 51]
Generated Node #0,0,0: 29:[24, 51] Operation: 58-7=51
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[24, 51], Operations: ['62-38=24', '58-7=51']
Exploring Operation: 51-24=27, Resulting Numbers: [27]
27,29 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 |
[
77,
14,
46,
66
] | 71 | [
"77+14=91",
"66-46=20",
"91-20=71"
] | Current State: 71:[77, 14, 46, 66], Operations: []
Exploring Operation: 77+14=91, Resulting Numbers: [46, 66, 91]
Generated Node #2: [46, 66, 91] from Operation: 77+14=91
Current State: 71:[46, 66, 91], Operations: ['77+14=91']
Exploring Operation: 66-46=20, Resulting Numbers: [91, 20]
Generated Node #3: [91, 20] from Operation: 66-46=20
Current State: 71:[91, 20], Operations: ['77+14=91', '66-46=20']
Exploring Operation: 91-20=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[77, 14, 46, 66], Operations: []
Exploring Operation: 77-14=63, Resulting Numbers: [46, 66, 63]
Generated Node #0,0: 71:[46, 66, 63] Operation: 77-14=63
Exploring Operation: 14+66=80, Resulting Numbers: [77, 46, 80]
Generated Node #0,1: 71:[77, 46, 80] Operation: 14+66=80
Exploring Operation: 14+46=60, Resulting Numbers: [77, 66, 60]
Generated Node #0,2: 71:[77, 66, 60] Operation: 14+46=60
Moving to Node #0,2
Current State: 71:[77, 66, 60], Operations: ['14+46=60']
Exploring Operation: 77-66=11, Resulting Numbers: [60, 11]
Generated Node #0,2,0: 71:[60, 11] Operation: 77-66=11
Exploring Operation: 77-60=17, Resulting Numbers: [66, 17]
Generated Node #0,2,1: 71:[66, 17] Operation: 77-60=17
Exploring Operation: 66+60=126, Resulting Numbers: [77, 126]
Generated Node #0,2,2: 71:[77, 126] Operation: 66+60=126
Moving to Node #0,0
Current State: 71:[46, 66, 63], Operations: ['77-14=63']
Exploring Operation: 46+63=109, Resulting Numbers: [66, 109]
Generated Node #0,0,0: 71:[66, 109] Operation: 46+63=109
Exploring Operation: 46+66=112, Resulting Numbers: [63, 112]
Generated Node #0,0,1: 71:[63, 112] Operation: 46+66=112
Exploring Operation: 66-46=20, Resulting Numbers: [63, 20]
Generated Node #0,0,2: 71:[63, 20] Operation: 66-46=20
Moving to Node #0,1
Current State: 71:[77, 46, 80], Operations: ['14+66=80']
Exploring Operation: 80-46=34, Resulting Numbers: [77, 34]
Generated Node #0,1,0: 71:[77, 34] Operation: 80-46=34
Exploring Operation: 77+46=123, Resulting Numbers: [80, 123]
Generated Node #0,1,1: 71:[80, 123] Operation: 77+46=123
Exploring Operation: 77-46=31, Resulting Numbers: [80, 31]
Generated Node #0,1,2: 71:[80, 31] Operation: 77-46=31
Moving to Node #0,0,0
Current State: 71:[66, 109], Operations: ['77-14=63', '46+63=109']
Exploring Operation: 66+109=175, Resulting Numbers: [175]
175,71 unequal: No Solution
Exploring Operation: 109-66=43, Resulting Numbers: [43]
43,71 unequal: No Solution
Exploring Operation: 66*109=7194, Resulting Numbers: [7194]
7194,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[77, 34], Operations: ['14+66=80', '80-46=34']
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,71 unequal: No Solution
Exploring Operation: 77*34=2618, Resulting Numbers: [2618]
2618,71 unequal: No Solution
Exploring Operation: 77+34=111, Resulting Numbers: [111]
111,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[63, 112], Operations: ['77-14=63', '46+66=112']
Exploring Operation: 112-63=49, Resulting Numbers: [49]
49,71 unequal: No Solution
Exploring Operation: 63+112=175, Resulting Numbers: [175]
175,71 unequal: No Solution
Exploring Operation: 63*112=7056, Resulting Numbers: [7056]
7056,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[80, 31], Operations: ['14+66=80', '77-46=31']
Exploring Operation: 80+31=111, Resulting Numbers: [111]
111,71 unequal: No Solution
Exploring Operation: 80*31=2480, Resulting Numbers: [2480]
2480,71 unequal: No Solution
Exploring Operation: 80-31=49, Resulting Numbers: [49]
49,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[63, 20], Operations: ['77-14=63', '66-46=20']
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,71 unequal: No Solution
Exploring Operation: 63+20=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 63*20=1260, Resulting Numbers: [1260]
1260,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[66, 17], Operations: ['14+46=60', '77-60=17']
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,71 unequal: No Solution
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[77, 126], Operations: ['14+46=60', '66+60=126']
Exploring Operation: 77*126=9702, Resulting Numbers: [9702]
9702,71 unequal: No Solution
Exploring Operation: 77+126=203, Resulting Numbers: [203]
203,71 unequal: No Solution
Exploring Operation: 126-77=49, Resulting Numbers: [49]
49,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[80, 123], Operations: ['14+66=80', '77+46=123']
Exploring Operation: 80*123=9840, Resulting Numbers: [9840]
9840,71 unequal: No Solution
Exploring Operation: 123-80=43, Resulting Numbers: [43]
43,71 unequal: No Solution
Exploring Operation: 80+123=203, Resulting Numbers: [203]
203,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[60, 11], Operations: ['14+46=60', '77-66=11']
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[77, 14, 46, 66], Operations: []
Exploring Operation: 14+46=60, Resulting Numbers: [77, 66, 60]
Generated Node #0,2: 71:[77, 66, 60] Operation: 14+46=60
Moving to Node #0,2
Current State: 71:[77, 66, 60], Operations: ['14+46=60']
Exploring Operation: 77-66=11, Resulting Numbers: [60, 11]
Generated Node #0,2,0: 71:[60, 11] Operation: 77-66=11
Moving to Node #0,2,0
Current State: 71:[60, 11], Operations: ['14+46=60', '77-66=11']
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 0.96441 | hs_3 | sum_heuristic |
[
46,
30,
91,
92
] | 76 | [
"46+30=76",
"92-91=1",
"76*1=76"
] | Current State: 76:[46, 30, 91, 92], Operations: []
Exploring Operation: 46+30=76, Resulting Numbers: [91, 92, 76]
Generated Node #2: [91, 92, 76] from Operation: 46+30=76
Current State: 76:[91, 92, 76], Operations: ['46+30=76']
Exploring Operation: 92-91=1, Resulting Numbers: [76, 1]
Generated Node #3: [76, 1] from Operation: 92-91=1
Current State: 76:[76, 1], Operations: ['46+30=76', '92-91=1']
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[46, 30, 91, 92], Operations: []
Exploring Operation: 92-91=1, Resulting Numbers: [46, 30, 1]
Generated Node #0,0: 76:[46, 30, 1] Operation: 92-91=1
Exploring Operation: 92/46=2, Resulting Numbers: [30, 91, 2]
Generated Node #0,1: 76:[30, 91, 2] Operation: 92/46=2
Exploring Operation: 46+30=76, Resulting Numbers: [91, 92, 76]
Generated Node #0,2: 76:[91, 92, 76] Operation: 46+30=76
Exploring Operation: 91-46=45, Resulting Numbers: [30, 92, 45]
Generated Node #0,3: 76:[30, 92, 45] Operation: 91-46=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[46, 30, 1], Operations: ['92-91=1']
Exploring Operation: 46+30=76, Resulting Numbers: [1, 76]
Generated Node #0,0,0: 76:[1, 76] Operation: 46+30=76
Exploring Operation: 46-30=16, Resulting Numbers: [1, 16]
Generated Node #0,0,1: 76:[1, 16] Operation: 46-30=16
Exploring Operation: 46-1=45, Resulting Numbers: [30, 45]
Generated Node #0,0,2: 76:[30, 45] Operation: 46-1=45
Exploring Operation: 30+1=31, Resulting Numbers: [46, 31]
Generated Node #0,0,3: 76:[46, 31] Operation: 30+1=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[1, 76], Operations: ['92-91=1', '46+30=76']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[46, 30, 91, 92], Operations: []
Exploring Operation: 92-91=1, Resulting Numbers: [46, 30, 1]
Generated Node #0,0: 76:[46, 30, 1] Operation: 92-91=1
Moving to Node #0,0
Current State: 76:[46, 30, 1], Operations: ['92-91=1']
Exploring Operation: 46+30=76, Resulting Numbers: [1, 76]
Generated Node #0,0,0: 76:[1, 76] Operation: 46+30=76
Moving to Node #0,0,0
Current State: 76:[1, 76], Operations: ['92-91=1', '46+30=76']
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
7,
56,
45,
33
] | 61 | [
"56-7=49",
"45-33=12",
"49+12=61"
] | Current State: 61:[7, 56, 45, 33], Operations: []
Exploring Operation: 56-7=49, Resulting Numbers: [45, 33, 49]
Generated Node #2: [45, 33, 49] from Operation: 56-7=49
Current State: 61:[45, 33, 49], Operations: ['56-7=49']
Exploring Operation: 45-33=12, Resulting Numbers: [49, 12]
Generated Node #3: [49, 12] from Operation: 45-33=12
Current State: 61:[49, 12], Operations: ['56-7=49', '45-33=12']
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[7, 56, 45, 33], Operations: []
Exploring Operation: 7+45=52, Resulting Numbers: [56, 33, 52]
Generated Node #0,0: 61:[56, 33, 52] Operation: 7+45=52
Moving to Node #0,0
Current State: 61:[56, 33, 52], Operations: ['7+45=52']
Exploring Operation: 33+52=85, Resulting Numbers: [56, 85]
Generated Node #0,0,0: 61:[56, 85] Operation: 33+52=85
Moving to Node #0,0,0
Current State: 61:[56, 85], Operations: ['7+45=52', '33+52=85']
Exploring Operation: 85-56=29, Resulting Numbers: [29]
29,61 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
47,
2,
31,
65
] | 11 | [
"47-2=45",
"65-31=34",
"45-34=11"
] | Current State: 11:[47, 2, 31, 65], Operations: []
Exploring Operation: 47-2=45, Resulting Numbers: [31, 65, 45]
Generated Node #2: [31, 65, 45] from Operation: 47-2=45
Current State: 11:[31, 65, 45], Operations: ['47-2=45']
Exploring Operation: 65-31=34, Resulting Numbers: [45, 34]
Generated Node #3: [45, 34] from Operation: 65-31=34
Current State: 11:[45, 34], Operations: ['47-2=45', '65-31=34']
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[47, 2, 31, 65], Operations: []
Exploring Operation: 65-47=18, Resulting Numbers: [2, 31, 18]
Generated Node #0,0: 11:[2, 31, 18] Operation: 65-47=18
Exploring Operation: 65-31=34, Resulting Numbers: [47, 2, 34]
Generated Node #0,1: 11:[47, 2, 34] Operation: 65-31=34
Exploring Operation: 47-31=16, Resulting Numbers: [2, 65, 16]
Generated Node #0,2: 11:[2, 65, 16] Operation: 47-31=16
Moving to Node #0,0
Current State: 11:[2, 31, 18], Operations: ['65-47=18']
Exploring Operation: 31-18=13, Resulting Numbers: [2, 13]
Generated Node #0,0,0: 11:[2, 13] Operation: 31-18=13
Exploring Operation: 31-2=29, Resulting Numbers: [18, 29]
Generated Node #0,0,1: 11:[18, 29] Operation: 31-2=29
Exploring Operation: 18/2=9, Resulting Numbers: [31, 9]
Generated Node #0,0,2: 11:[31, 9] Operation: 18/2=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[2, 13], Operations: ['65-47=18', '31-18=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,11 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[47, 2, 31, 65], Operations: []
Exploring Operation: 65-47=18, Resulting Numbers: [2, 31, 18]
Generated Node #0,0: 11:[2, 31, 18] Operation: 65-47=18
Moving to Node #0,0
Current State: 11:[2, 31, 18], Operations: ['65-47=18']
Exploring Operation: 31-18=13, Resulting Numbers: [2, 13]
Generated Node #0,0,0: 11:[2, 13] Operation: 31-18=13
Moving to Node #0,0,0
Current State: 11:[2, 13], Operations: ['65-47=18', '31-18=13']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
96,
24,
51,
58
] | 64 | [
"58-24=34",
"96*34=3264",
"3264/51=64"
] | Current State: 64:[96, 24, 51, 58], Operations: []
Exploring Operation: 58-24=34, Resulting Numbers: [96, 51, 34]
Generated Node #2: [96, 51, 34] from Operation: 58-24=34
Current State: 64:[96, 51, 34], Operations: ['58-24=34']
Exploring Operation: 96*34=3264, Resulting Numbers: [51, 3264]
Generated Node #3: [51, 3264] from Operation: 96*34=3264
Current State: 64:[51, 3264], Operations: ['58-24=34', '96*34=3264']
Exploring Operation: 3264/51=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[96, 24, 51, 58], Operations: []
Exploring Operation: 96-24=72, Resulting Numbers: [51, 58, 72]
Generated Node #0,0: 64:[51, 58, 72] Operation: 96-24=72
Exploring Operation: 96/24=4, Resulting Numbers: [51, 58, 4]
Generated Node #0,1: 64:[51, 58, 4] Operation: 96/24=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[51, 58, 4], Operations: ['96/24=4']
Exploring Operation: 58-51=7, Resulting Numbers: [4, 7]
Generated Node #0,1,0: 64:[4, 7] Operation: 58-51=7
Exploring Operation: 51+4=55, Resulting Numbers: [58, 55]
Generated Node #0,1,1: 64:[58, 55] Operation: 51+4=55
Moving to Node #0,1,0
Current State: 64:[4, 7], Operations: ['96/24=4', '58-51=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[58, 55], Operations: ['96/24=4', '51+4=55']
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 58+55=113, Resulting Numbers: [113]
113,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
Current State: 64:[51, 58, 72], Operations: ['96-24=72']
Exploring Operation: 58-51=7, Resulting Numbers: [72, 7]
Generated Node #0,0,0: 64:[72, 7] Operation: 58-51=7
Exploring Operation: 72-51=21, Resulting Numbers: [58, 21]
Generated Node #0,0,1: 64:[58, 21] Operation: 72-51=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[72, 7], Operations: ['96-24=72', '58-51=7']
Exploring Operation: 72+7=79, Resulting Numbers: [79]
79,64 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,64 unequal: No Solution
No 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: 64:[58, 21], Operations: ['96-24=72', '72-51=21']
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,64 unequal: No Solution
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,64 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 |
[
8,
56,
48,
69
] | 56 | [
"56+48=104",
"104/8=13",
"69-13=56"
] | Current State: 56:[8, 56, 48, 69], Operations: []
Exploring Operation: 56+48=104, Resulting Numbers: [8, 69, 104]
Generated Node #2: [8, 69, 104] from Operation: 56+48=104
Current State: 56:[8, 69, 104], Operations: ['56+48=104']
Exploring Operation: 104/8=13, Resulting Numbers: [69, 13]
Generated Node #3: [69, 13] from Operation: 104/8=13
Current State: 56:[69, 13], Operations: ['56+48=104', '104/8=13']
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[8, 56, 48, 69], Operations: []
Exploring Operation: 69-48=21, Resulting Numbers: [8, 56, 21]
Generated Node #0,0: 56:[8, 56, 21] Operation: 69-48=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[8, 56, 21], Operations: ['69-48=21']
Exploring Operation: 8+21=29, Resulting Numbers: [56, 29]
Generated Node #0,0,0: 56:[56, 29] Operation: 8+21=29
Moving to Node #0,0,0
Current State: 56:[56, 29], Operations: ['69-48=21', '8+21=29']
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,56 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 |
[
96,
43,
76,
15
] | 19 | [
"96+76=172",
"172/43=4",
"15+4=19"
] | Current State: 19:[96, 43, 76, 15], Operations: []
Exploring Operation: 96+76=172, Resulting Numbers: [43, 15, 172]
Generated Node #2: [43, 15, 172] from Operation: 96+76=172
Current State: 19:[43, 15, 172], Operations: ['96+76=172']
Exploring Operation: 172/43=4, Resulting Numbers: [15, 4]
Generated Node #3: [15, 4] from Operation: 172/43=4
Current State: 19:[15, 4], Operations: ['96+76=172', '172/43=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[96, 43, 76, 15], Operations: []
Exploring Operation: 96-76=20, Resulting Numbers: [43, 15, 20]
Generated Node #0,0: 19:[43, 15, 20] Operation: 96-76=20
Moving to Node #0,0
Current State: 19:[43, 15, 20], Operations: ['96-76=20']
Exploring Operation: 43-20=23, Resulting Numbers: [15, 23]
Generated Node #0,0,0: 19:[15, 23] Operation: 43-20=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[15, 23], Operations: ['96-76=20', '43-20=23']
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,19 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 |
[
60,
83,
84,
41
] | 18 | [
"60+83=143",
"84+41=125",
"143-125=18"
] | Current State: 18:[60, 83, 84, 41], Operations: []
Exploring Operation: 60+83=143, Resulting Numbers: [84, 41, 143]
Generated Node #2: [84, 41, 143] from Operation: 60+83=143
Current State: 18:[84, 41, 143], Operations: ['60+83=143']
Exploring Operation: 84+41=125, Resulting Numbers: [143, 125]
Generated Node #3: [143, 125] from Operation: 84+41=125
Current State: 18:[143, 125], Operations: ['60+83=143', '84+41=125']
Exploring Operation: 143-125=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[60, 83, 84, 41], Operations: []
Exploring Operation: 84-60=24, Resulting Numbers: [83, 41, 24]
Generated Node #0,0: 18:[83, 41, 24] Operation: 84-60=24
Exploring Operation: 83-60=23, Resulting Numbers: [84, 41, 23]
Generated Node #0,1: 18:[84, 41, 23] Operation: 83-60=23
Exploring Operation: 84-83=1, Resulting Numbers: [60, 41, 1]
Generated Node #0,2: 18:[60, 41, 1] Operation: 84-83=1
Moving to Node #0,2
Current State: 18:[60, 41, 1], Operations: ['84-83=1']
Exploring Operation: 60-1=59, Resulting Numbers: [41, 59]
Generated Node #0,2,0: 18:[41, 59] Operation: 60-1=59
Exploring Operation: 41-1=40, Resulting Numbers: [60, 40]
Generated Node #0,2,1: 18:[60, 40] Operation: 41-1=40
Exploring Operation: 60-41=19, Resulting Numbers: [1, 19]
Generated Node #0,2,2: 18:[1, 19] Operation: 60-41=19
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 18:[1, 19], Operations: ['84-83=1', '60-41=19']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[60, 83, 84, 41], Operations: []
Exploring Operation: 84-83=1, Resulting Numbers: [60, 41, 1]
Generated Node #0,2: 18:[60, 41, 1] Operation: 84-83=1
Moving to Node #0,2
Current State: 18:[60, 41, 1], Operations: ['84-83=1']
Exploring Operation: 60-41=19, Resulting Numbers: [1, 19]
Generated Node #0,2,2: 18:[1, 19] Operation: 60-41=19
Moving to Node #0,2,2
Current State: 18:[1, 19], Operations: ['84-83=1', '60-41=19']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
30,
33,
86,
24
] | 65 | [
"33-30=3",
"86-24=62",
"3+62=65"
] | Current State: 65:[30, 33, 86, 24], Operations: []
Exploring Operation: 33-30=3, Resulting Numbers: [86, 24, 3]
Generated Node #2: [86, 24, 3] from Operation: 33-30=3
Current State: 65:[86, 24, 3], Operations: ['33-30=3']
Exploring Operation: 86-24=62, Resulting Numbers: [3, 62]
Generated Node #3: [3, 62] from Operation: 86-24=62
Current State: 65:[3, 62], Operations: ['33-30=3', '86-24=62']
Exploring Operation: 3+62=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[30, 33, 86, 24], Operations: []
Exploring Operation: 30+33=63, Resulting Numbers: [86, 24, 63]
Generated Node #0,0: 65:[86, 24, 63] Operation: 30+33=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[86, 24, 63], Operations: ['30+33=63']
Exploring Operation: 86-24=62, Resulting Numbers: [63, 62]
Generated Node #0,0,0: 65:[63, 62] Operation: 86-24=62
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[63, 62], Operations: ['30+33=63', '86-24=62']
Exploring Operation: 63-62=1, Resulting Numbers: [1]
1,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_1 | mult_heuristic |
[
34,
82,
68,
54
] | 30 | [
"68/34=2",
"82-54=28",
"2+28=30"
] | Current State: 30:[34, 82, 68, 54], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [82, 54, 2]
Generated Node #2: [82, 54, 2] from Operation: 68/34=2
Current State: 30:[82, 54, 2], Operations: ['68/34=2']
Exploring Operation: 82-54=28, Resulting Numbers: [2, 28]
Generated Node #3: [2, 28] from Operation: 82-54=28
Current State: 30:[2, 28], Operations: ['68/34=2', '82-54=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[34, 82, 68, 54], Operations: []
Exploring Operation: 82-68=14, Resulting Numbers: [34, 54, 14]
Generated Node #0,0: 30:[34, 54, 14] Operation: 82-68=14
Exploring Operation: 82-54=28, Resulting Numbers: [34, 68, 28]
Generated Node #0,1: 30:[34, 68, 28] Operation: 82-54=28
Exploring Operation: 68-54=14, Resulting Numbers: [34, 82, 14]
Generated Node #0,2: 30:[34, 82, 14] Operation: 68-54=14
Moving to Node #0,0
Current State: 30:[34, 54, 14], Operations: ['82-68=14']
Exploring Operation: 54-14=40, Resulting Numbers: [34, 40]
Generated Node #0,0,0: 30:[34, 40] Operation: 54-14=40
Exploring Operation: 34-14=20, Resulting Numbers: [54, 20]
Generated Node #0,0,1: 30:[54, 20] Operation: 34-14=20
Exploring Operation: 54-34=20, Resulting Numbers: [14, 20]
Generated Node #0,0,2: 30:[14, 20] Operation: 54-34=20
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[14, 20], Operations: ['82-68=14', '54-34=20']
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,30 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[34, 40], Operations: ['82-68=14', '54-14=40']
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 34+40=74, Resulting Numbers: [74]
74,30 unequal: No Solution
Exploring Operation: 34*40=1360, Resulting Numbers: [1360]
1360,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[54, 20], Operations: ['82-68=14', '34-14=20']
Exploring Operation: 54*20=1080, Resulting Numbers: [1080]
1080,30 unequal: No Solution
Exploring Operation: 54+20=74, Resulting Numbers: [74]
74,30 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,30 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: 30:[34, 68, 28], Operations: ['82-54=28']
Exploring Operation: 68-28=40, Resulting Numbers: [34, 40]
Generated Node #0,1,0: 30:[34, 40] Operation: 68-28=40
Exploring Operation: 68/34=2, Resulting Numbers: [28, 2]
Generated Node #0,1,1: 30:[28, 2] Operation: 68/34=2
Exploring Operation: 68-34=34, Resulting Numbers: [28, 34]
Generated Node #0,1,2: 30:[28, 34] Operation: 68-34=34
Moving to Node #0,2
Current State: 30:[34, 82, 14], Operations: ['68-54=14']
Exploring Operation: 82-14=68, Resulting Numbers: [34, 68]
Generated Node #0,2,0: 30:[34, 68] Operation: 82-14=68
Exploring Operation: 82-34=48, Resulting Numbers: [14, 48]
Generated Node #0,2,1: 30:[14, 48] Operation: 82-34=48
Exploring Operation: 34-14=20, Resulting Numbers: [82, 20]
Generated Node #0,2,2: 30:[82, 20] Operation: 34-14=20
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[14, 48], Operations: ['68-54=14', '82-34=48']
Exploring Operation: 14*48=672, Resulting Numbers: [672]
672,30 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,30 unequal: No Solution
Exploring Operation: 14+48=62, Resulting Numbers: [62]
62,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 30:[34, 68], Operations: ['68-54=14', '82-14=68']
Exploring Operation: 34+68=102, Resulting Numbers: [102]
102,30 unequal: No Solution
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,30 unequal: No Solution
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 30:[82, 20], Operations: ['68-54=14', '34-14=20']
Exploring Operation: 82+20=102, Resulting Numbers: [102]
102,30 unequal: No Solution
Exploring Operation: 82-20=62, Resulting Numbers: [62]
62,30 unequal: No Solution
Exploring Operation: 82*20=1640, Resulting Numbers: [1640]
1640,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 30:[28, 2], Operations: ['82-54=28', '68/34=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[34, 82, 68, 54], Operations: []
Exploring Operation: 82-54=28, Resulting Numbers: [34, 68, 28]
Generated Node #0,1: 30:[34, 68, 28] Operation: 82-54=28
Moving to Node #0,1
Current State: 30:[34, 68, 28], Operations: ['82-54=28']
Exploring Operation: 68/34=2, Resulting Numbers: [28, 2]
Generated Node #0,1,1: 30:[28, 2] Operation: 68/34=2
Moving to Node #0,1,1
Current State: 30:[28, 2], Operations: ['82-54=28', '68/34=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.969618 | hs_3 | sum_heuristic |
[
61,
56,
88,
60
] | 100 | [
"61-56=5",
"60/5=12",
"88+12=100"
] | Current State: 100:[61, 56, 88, 60], Operations: []
Exploring Operation: 61-56=5, Resulting Numbers: [88, 60, 5]
Generated Node #2: [88, 60, 5] from Operation: 61-56=5
Current State: 100:[88, 60, 5], Operations: ['61-56=5']
Exploring Operation: 60/5=12, Resulting Numbers: [88, 12]
Generated Node #3: [88, 12] from Operation: 60/5=12
Current State: 100:[88, 12], Operations: ['61-56=5', '60/5=12']
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[61, 56, 88, 60], Operations: []
Exploring Operation: 88-61=27, Resulting Numbers: [56, 60, 27]
Generated Node #0,0: 100:[56, 60, 27] Operation: 88-61=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[56, 60, 27], Operations: ['88-61=27']
Exploring Operation: 60-56=4, Resulting Numbers: [27, 4]
Generated Node #0,0,0: 100:[27, 4] Operation: 60-56=4
Moving to Node #0,0,0
Current State: 100:[27, 4], Operations: ['88-61=27', '60-56=4']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,100 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,
99,
82,
68
] | 51 | [
"1*99=99",
"82+68=150",
"150-99=51"
] | Current State: 51:[1, 99, 82, 68], Operations: []
Exploring Operation: 1*99=99, Resulting Numbers: [82, 68, 99]
Generated Node #2: [82, 68, 99] from Operation: 1*99=99
Current State: 51:[82, 68, 99], Operations: ['1*99=99']
Exploring Operation: 82+68=150, Resulting Numbers: [99, 150]
Generated Node #3: [99, 150] from Operation: 82+68=150
Current State: 51:[99, 150], Operations: ['1*99=99', '82+68=150']
Exploring Operation: 150-99=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[1, 99, 82, 68], Operations: []
Exploring Operation: 99-82=17, Resulting Numbers: [1, 68, 17]
Generated Node #0,0: 51:[1, 68, 17] Operation: 99-82=17
Exploring Operation: 99-68=31, Resulting Numbers: [1, 82, 31]
Generated Node #0,1: 51:[1, 82, 31] Operation: 99-68=31
Exploring Operation: 82-68=14, Resulting Numbers: [1, 99, 14]
Generated Node #0,2: 51:[1, 99, 14] Operation: 82-68=14
Exploring Operation: 99-1=98, Resulting Numbers: [82, 68, 98]
Generated Node #0,3: 51:[82, 68, 98] Operation: 99-1=98
Exploring Operation: 82-1=81, Resulting Numbers: [99, 68, 81]
Generated Node #0,4: 51:[99, 68, 81] Operation: 82-1=81
Moving to Node #0,0
Current State: 51:[1, 68, 17], Operations: ['99-82=17']
Exploring Operation: 68/17=4, Resulting Numbers: [1, 4]
Generated Node #0,0,0: 51:[1, 4] Operation: 68/17=4
Exploring Operation: 68/1=68, Resulting Numbers: [17, 68]
Generated Node #0,0,1: 51:[17, 68] Operation: 68/1=68
Exploring Operation: 1*68=68, Resulting Numbers: [17, 68]
Generated Node #0,0,2: 51:[17, 68] Operation: 1*68=68
Exploring Operation: 68-17=51, Resulting Numbers: [1, 51]
Generated Node #0,0,3: 51:[1, 51] Operation: 68-17=51
Exploring Operation: 68-1=67, Resulting Numbers: [17, 67]
Generated Node #0,0,4: 51:[17, 67] Operation: 68-1=67
Moving to Node #0,1
Current State: 51:[1, 82, 31], Operations: ['99-68=31']
Exploring Operation: 82-31=51, Resulting Numbers: [1, 51]
Generated Node #0,1,0: 51:[1, 51] Operation: 82-31=51
Exploring Operation: 82/1=82, Resulting Numbers: [31, 82]
Generated Node #0,1,1: 51:[31, 82] Operation: 82/1=82
Exploring Operation: 82-1=81, Resulting Numbers: [31, 81]
Generated Node #0,1,2: 51:[31, 81] Operation: 82-1=81
Exploring Operation: 1*82=82, Resulting Numbers: [31, 82]
Generated Node #0,1,3: 51:[31, 82] Operation: 1*82=82
Exploring Operation: 31-1=30, Resulting Numbers: [82, 30]
Generated Node #0,1,4: 51:[82, 30] Operation: 31-1=30
Moving to Node #0,2
Current State: 51:[1, 99, 14], Operations: ['82-68=14']
Exploring Operation: 99/1=99, Resulting Numbers: [14, 99]
Generated Node #0,2,0: 51:[14, 99] Operation: 99/1=99
Exploring Operation: 1*99=99, Resulting Numbers: [14, 99]
Generated Node #0,2,1: 51:[14, 99] Operation: 1*99=99
Exploring Operation: 99-14=85, Resulting Numbers: [1, 85]
Generated Node #0,2,2: 51:[1, 85] Operation: 99-14=85
Exploring Operation: 99-1=98, Resulting Numbers: [14, 98]
Generated Node #0,2,3: 51:[14, 98] Operation: 99-1=98
Exploring Operation: 1+14=15, Resulting Numbers: [99, 15]
Generated Node #0,2,4: 51:[99, 15] Operation: 1+14=15
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 51:[1, 85], Operations: ['82-68=14', '99-14=85']
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,51 unequal: No Solution
Exploring Operation: 1*85=85, Resulting Numbers: [85]
85,51 unequal: No Solution
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,51 unequal: No Solution
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,51 unequal: No Solution
No 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: 51:[14, 98], Operations: ['82-68=14', '99-1=98']
Exploring Operation: 14+98=112, Resulting Numbers: [112]
112,51 unequal: No Solution
Exploring Operation: 98-14=84, Resulting Numbers: [84]
84,51 unequal: No Solution
Exploring Operation: 14*98=1372, Resulting Numbers: [1372]
1372,51 unequal: No Solution
Exploring Operation: 98/14=7, Resulting Numbers: [7]
7,51 unequal: No Solution
No 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: 51:[99, 15], Operations: ['82-68=14', '1+14=15']
Exploring Operation: 99+15=114, Resulting Numbers: [114]
114,51 unequal: No Solution
Exploring Operation: 99-15=84, Resulting Numbers: [84]
84,51 unequal: No Solution
Exploring Operation: 99*15=1485, Resulting Numbers: [1485]
1485,51 unequal: No Solution
No 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: 51:[14, 99], Operations: ['82-68=14', '99/1=99']
Exploring Operation: 14*99=1386, Resulting Numbers: [1386]
1386,51 unequal: No Solution
Exploring Operation: 99-14=85, Resulting Numbers: [85]
85,51 unequal: No Solution
Exploring Operation: 14+99=113, Resulting Numbers: [113]
113,51 unequal: No Solution
No 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: 51:[14, 99], Operations: ['82-68=14', '1*99=99']
Exploring Operation: 14*99=1386, Resulting Numbers: [1386]
1386,51 unequal: No Solution
Exploring Operation: 99-14=85, Resulting Numbers: [85]
85,51 unequal: No Solution
Exploring Operation: 14+99=113, Resulting Numbers: [113]
113,51 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: 51:[82, 68, 98], Operations: ['99-1=98']
Exploring Operation: 98-82=16, Resulting Numbers: [68, 16]
Generated Node #0,3,0: 51:[68, 16] Operation: 98-82=16
Exploring Operation: 82-68=14, Resulting Numbers: [98, 14]
Generated Node #0,3,1: 51:[98, 14] Operation: 82-68=14
Exploring Operation: 82+68=150, Resulting Numbers: [98, 150]
Generated Node #0,3,2: 51:[98, 150] Operation: 82+68=150
Exploring Operation: 82+98=180, Resulting Numbers: [68, 180]
Generated Node #0,3,3: 51:[68, 180] Operation: 82+98=180
Exploring Operation: 98-68=30, Resulting Numbers: [82, 30]
Generated Node #0,3,4: 51:[82, 30] Operation: 98-68=30
Moving to Node #0,4
Current State: 51:[99, 68, 81], Operations: ['82-1=81']
Exploring Operation: 81-68=13, Resulting Numbers: [99, 13]
Generated Node #0,4,0: 51:[99, 13] Operation: 81-68=13
Exploring Operation: 99-81=18, Resulting Numbers: [68, 18]
Generated Node #0,4,1: 51:[68, 18] Operation: 99-81=18
Exploring Operation: 99+81=180, Resulting Numbers: [68, 180]
Generated Node #0,4,2: 51:[68, 180] Operation: 99+81=180
Exploring Operation: 99+68=167, Resulting Numbers: [81, 167]
Generated Node #0,4,3: 51:[81, 167] Operation: 99+68=167
Exploring Operation: 99-68=31, Resulting Numbers: [81, 31]
Generated Node #0,4,4: 51:[81, 31] Operation: 99-68=31
Moving to Node #0,0,3
Current State: 51:[1, 51], Operations: ['99-82=17', '68-17=51']
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[1, 99, 82, 68], Operations: []
Exploring Operation: 99-82=17, Resulting Numbers: [1, 68, 17]
Generated Node #0,0: 51:[1, 68, 17] Operation: 99-82=17
Moving to Node #0,0
Current State: 51:[1, 68, 17], Operations: ['99-82=17']
Exploring Operation: 68-17=51, Resulting Numbers: [1, 51]
Generated Node #0,0,3: 51:[1, 51] Operation: 68-17=51
Moving to Node #0,0,3
Current State: 51:[1, 51], Operations: ['99-82=17', '68-17=51']
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 0.954861 | hs_5 | mult_heuristic |
[
60,
37,
25,
74
] | 83 | [
"60+25=85",
"74/37=2",
"85-2=83"
] | Current State: 83:[60, 37, 25, 74], Operations: []
Exploring Operation: 60+25=85, Resulting Numbers: [37, 74, 85]
Generated Node #2: [37, 74, 85] from Operation: 60+25=85
Current State: 83:[37, 74, 85], Operations: ['60+25=85']
Exploring Operation: 74/37=2, Resulting Numbers: [85, 2]
Generated Node #3: [85, 2] from Operation: 74/37=2
Current State: 83:[85, 2], Operations: ['60+25=85', '74/37=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[60, 37, 25, 74], Operations: []
Exploring Operation: 60-25=35, Resulting Numbers: [37, 74, 35]
Generated Node #0,0: 83:[37, 74, 35] Operation: 60-25=35
Exploring Operation: 60+25=85, Resulting Numbers: [37, 74, 85]
Generated Node #0,1: 83:[37, 74, 85] Operation: 60+25=85
Exploring Operation: 37+25=62, Resulting Numbers: [60, 74, 62]
Generated Node #0,2: 83:[60, 74, 62] Operation: 37+25=62
Exploring Operation: 25+74=99, Resulting Numbers: [60, 37, 99]
Generated Node #0,3: 83:[60, 37, 99] Operation: 25+74=99
Exploring Operation: 60+37=97, Resulting Numbers: [25, 74, 97]
Generated Node #0,4: 83:[25, 74, 97] Operation: 60+37=97
Moving to Node #0,2
Current State: 83:[60, 74, 62], Operations: ['37+25=62']
Exploring Operation: 62-60=2, Resulting Numbers: [74, 2]
Generated Node #0,2,0: 83:[74, 2] Operation: 62-60=2
Exploring Operation: 74+62=136, Resulting Numbers: [60, 136]
Generated Node #0,2,1: 83:[60, 136] Operation: 74+62=136
Exploring Operation: 60+74=134, Resulting Numbers: [62, 134]
Generated Node #0,2,2: 83:[62, 134] Operation: 60+74=134
Exploring Operation: 60+62=122, Resulting Numbers: [74, 122]
Generated Node #0,2,3: 83:[74, 122] Operation: 60+62=122
Exploring Operation: 74-60=14, Resulting Numbers: [62, 14]
Generated Node #0,2,4: 83:[62, 14] Operation: 74-60=14
Moving to Node #0,1
Current State: 83:[37, 74, 85], Operations: ['60+25=85']
Exploring Operation: 37+85=122, Resulting Numbers: [74, 122]
Generated Node #0,1,0: 83:[74, 122] Operation: 37+85=122
Exploring Operation: 74/37=2, Resulting Numbers: [85, 2]
Generated Node #0,1,1: 83:[85, 2] Operation: 74/37=2
Exploring Operation: 74-37=37, Resulting Numbers: [85, 37]
Generated Node #0,1,2: 83:[85, 37] Operation: 74-37=37
Exploring Operation: 37+74=111, Resulting Numbers: [85, 111]
Generated Node #0,1,3: 83:[85, 111] Operation: 37+74=111
Exploring Operation: 85-37=48, Resulting Numbers: [74, 48]
Generated Node #0,1,4: 83:[74, 48] Operation: 85-37=48
Moving to Node #0,4
Current State: 83:[25, 74, 97], Operations: ['60+37=97']
Exploring Operation: 97-74=23, Resulting Numbers: [25, 23]
Generated Node #0,4,0: 83:[25, 23] Operation: 97-74=23
Exploring Operation: 25+74=99, Resulting Numbers: [97, 99]
Generated Node #0,4,1: 83:[97, 99] Operation: 25+74=99
Exploring Operation: 25+97=122, Resulting Numbers: [74, 122]
Generated Node #0,4,2: 83:[74, 122] Operation: 25+97=122
Exploring Operation: 74-25=49, Resulting Numbers: [97, 49]
Generated Node #0,4,3: 83:[97, 49] Operation: 74-25=49
Exploring Operation: 97-25=72, Resulting Numbers: [74, 72]
Generated Node #0,4,4: 83:[74, 72] Operation: 97-25=72
Moving to Node #0,3
Current State: 83:[60, 37, 99], Operations: ['25+74=99']
Exploring Operation: 37+99=136, Resulting Numbers: [60, 136]
Generated Node #0,3,0: 83:[60, 136] Operation: 37+99=136
Exploring Operation: 60-37=23, Resulting Numbers: [99, 23]
Generated Node #0,3,1: 83:[99, 23] Operation: 60-37=23
Exploring Operation: 99-37=62, Resulting Numbers: [60, 62]
Generated Node #0,3,2: 83:[60, 62] Operation: 99-37=62
Exploring Operation: 60+37=97, Resulting Numbers: [99, 97]
Generated Node #0,3,3: 83:[99, 97] Operation: 60+37=97
Exploring Operation: 99-60=39, Resulting Numbers: [37, 39]
Generated Node #0,3,4: 83:[37, 39] Operation: 99-60=39
Moving to Node #0,0
Current State: 83:[37, 74, 35], Operations: ['60-25=35']
Exploring Operation: 74-35=39, Resulting Numbers: [37, 39]
Generated Node #0,0,0: 83:[37, 39] Operation: 74-35=39
Exploring Operation: 37+74=111, Resulting Numbers: [35, 111]
Generated Node #0,0,1: 83:[35, 111] Operation: 37+74=111
Exploring Operation: 74+35=109, Resulting Numbers: [37, 109]
Generated Node #0,0,2: 83:[37, 109] Operation: 74+35=109
Exploring Operation: 37+35=72, Resulting Numbers: [74, 72]
Generated Node #0,0,3: 83:[74, 72] Operation: 37+35=72
Exploring Operation: 37-35=2, Resulting Numbers: [74, 2]
Generated Node #0,0,4: 83:[74, 2] Operation: 37-35=2
Moving to Node #0,4,4
Current State: 83:[74, 72], Operations: ['60+37=97', '97-25=72']
Exploring Operation: 74*72=5328, Resulting Numbers: [5328]
5328,83 unequal: No Solution
Exploring Operation: 74-72=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 74+72=146, Resulting Numbers: [146]
146,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[74, 72], Operations: ['60-25=35', '37+35=72']
Exploring Operation: 74-72=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 74*72=5328, Resulting Numbers: [5328]
5328,83 unequal: No Solution
Exploring Operation: 74+72=146, Resulting Numbers: [146]
146,83 unequal: No Solution
Moving to Node #0,4,1
Current State: 83:[97, 99], Operations: ['60+37=97', '25+74=99']
Exploring Operation: 97*99=9603, Resulting Numbers: [9603]
9603,83 unequal: No Solution
Exploring Operation: 97+99=196, Resulting Numbers: [196]
196,83 unequal: No Solution
Exploring Operation: 99-97=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[85, 111], Operations: ['60+25=85', '37+74=111']
Exploring Operation: 111-85=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 85+111=196, Resulting Numbers: [196]
196,83 unequal: No Solution
Exploring Operation: 85*111=9435, Resulting Numbers: [9435]
9435,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[99, 97], Operations: ['25+74=99', '60+37=97']
Exploring Operation: 99-97=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 99+97=196, Resulting Numbers: [196]
196,83 unequal: No Solution
Exploring Operation: 99*97=9603, Resulting Numbers: [9603]
9603,83 unequal: No Solution
Moving to Node #0,1,4
Current State: 83:[74, 48], Operations: ['60+25=85', '85-37=48']
Exploring Operation: 74*48=3552, Resulting Numbers: [3552]
3552,83 unequal: No Solution
Exploring Operation: 74+48=122, Resulting Numbers: [122]
122,83 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[60, 62], Operations: ['25+74=99', '99-37=62']
Exploring Operation: 60+62=122, Resulting Numbers: [122]
122,83 unequal: No Solution
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 60*62=3720, Resulting Numbers: [3720]
3720,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[74, 122], Operations: ['37+25=62', '60+62=122']
Exploring Operation: 74+122=196, Resulting Numbers: [196]
196,83 unequal: No Solution
Exploring Operation: 74*122=9028, Resulting Numbers: [9028]
9028,83 unequal: No Solution
Exploring Operation: 122-74=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Moving to Node #0,4,3
Current State: 83:[97, 49], Operations: ['60+37=97', '74-25=49']
Exploring Operation: 97*49=4753, Resulting Numbers: [4753]
4753,83 unequal: No Solution
Exploring Operation: 97-49=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Exploring Operation: 97+49=146, Resulting Numbers: [146]
146,83 unequal: No Solution
Moving to Node #0,4,2
Current State: 83:[74, 122], Operations: ['60+37=97', '25+97=122']
Exploring Operation: 74+122=196, Resulting Numbers: [196]
196,83 unequal: No Solution
Exploring Operation: 74*122=9028, Resulting Numbers: [9028]
9028,83 unequal: No Solution
Exploring Operation: 122-74=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[74, 122], Operations: ['60+25=85', '37+85=122']
Exploring Operation: 74+122=196, Resulting Numbers: [196]
196,83 unequal: No Solution
Exploring Operation: 74*122=9028, Resulting Numbers: [9028]
9028,83 unequal: No Solution
Exploring Operation: 122-74=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[85, 37], Operations: ['60+25=85', '74-37=37']
Exploring Operation: 85*37=3145, Resulting Numbers: [3145]
3145,83 unequal: No Solution
Exploring Operation: 85+37=122, Resulting Numbers: [122]
122,83 unequal: No Solution
Exploring Operation: 85-37=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[37, 109], Operations: ['60-25=35', '74+35=109']
Exploring Operation: 109-37=72, Resulting Numbers: [72]
72,83 unequal: No Solution
Exploring Operation: 37+109=146, Resulting Numbers: [146]
146,83 unequal: No Solution
Exploring Operation: 37*109=4033, Resulting Numbers: [4033]
4033,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[62, 134], Operations: ['37+25=62', '60+74=134']
Exploring Operation: 62*134=8308, Resulting Numbers: [8308]
8308,83 unequal: No Solution
Exploring Operation: 134-62=72, Resulting Numbers: [72]
72,83 unequal: No Solution
Exploring Operation: 62+134=196, Resulting Numbers: [196]
196,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[99, 23], Operations: ['25+74=99', '60-37=23']
Exploring Operation: 99*23=2277, Resulting Numbers: [2277]
2277,83 unequal: No Solution
Exploring Operation: 99+23=122, Resulting Numbers: [122]
122,83 unequal: No Solution
Exploring Operation: 99-23=76, Resulting Numbers: [76]
76,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[60, 136], Operations: ['37+25=62', '74+62=136']
Exploring Operation: 60*136=8160, Resulting Numbers: [8160]
8160,83 unequal: No Solution
Exploring Operation: 60+136=196, Resulting Numbers: [196]
196,83 unequal: No Solution
Exploring Operation: 136-60=76, Resulting Numbers: [76]
76,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[60, 136], Operations: ['25+74=99', '37+99=136']
Exploring Operation: 60*136=8160, Resulting Numbers: [8160]
8160,83 unequal: No Solution
Exploring Operation: 136-60=76, Resulting Numbers: [76]
76,83 unequal: No Solution
Exploring Operation: 60+136=196, Resulting Numbers: [196]
196,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[35, 111], Operations: ['60-25=35', '37+74=111']
Exploring Operation: 35+111=146, Resulting Numbers: [146]
146,83 unequal: No Solution
Exploring Operation: 111-35=76, Resulting Numbers: [76]
76,83 unequal: No Solution
Exploring Operation: 35*111=3885, Resulting Numbers: [3885]
3885,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[85, 2], Operations: ['60+25=85', '74/37=2']
Exploring Operation: 85*2=170, Resulting Numbers: [170]
170,83 unequal: No Solution
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[60, 37, 25, 74], Operations: []
Exploring Operation: 60+25=85, Resulting Numbers: [37, 74, 85]
Generated Node #0,1: 83:[37, 74, 85] Operation: 60+25=85
Moving to Node #0,1
Current State: 83:[37, 74, 85], Operations: ['60+25=85']
Exploring Operation: 74/37=2, Resulting Numbers: [85, 2]
Generated Node #0,1,1: 83:[85, 2] Operation: 74/37=2
Moving to Node #0,1,1
Current State: 83:[85, 2], Operations: ['60+25=85', '74/37=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 0.921007 | hs_5 | sum_heuristic |
[
85,
59,
5,
1
] | 31 | [
"85-59=26",
"5*1=5",
"26+5=31"
] | Current State: 31:[85, 59, 5, 1], Operations: []
Exploring Operation: 85-59=26, Resulting Numbers: [5, 1, 26]
Generated Node #2: [5, 1, 26] from Operation: 85-59=26
Current State: 31:[5, 1, 26], Operations: ['85-59=26']
Exploring Operation: 5*1=5, Resulting Numbers: [26, 5]
Generated Node #3: [26, 5] from Operation: 5*1=5
Current State: 31:[26, 5], Operations: ['85-59=26', '5*1=5']
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[85, 59, 5, 1], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [59, 1, 17]
Generated Node #0,0: 31:[59, 1, 17] Operation: 85/5=17
Exploring Operation: 85-59=26, Resulting Numbers: [5, 1, 26]
Generated Node #0,1: 31:[5, 1, 26] Operation: 85-59=26
Exploring Operation: 85-5=80, Resulting Numbers: [59, 1, 80]
Generated Node #0,2: 31:[59, 1, 80] Operation: 85-5=80
Exploring Operation: 85-1=84, Resulting Numbers: [59, 5, 84]
Generated Node #0,3: 31:[59, 5, 84] Operation: 85-1=84
Moving to Node #0,1
Current State: 31:[5, 1, 26], Operations: ['85-59=26']
Exploring Operation: 1+26=27, Resulting Numbers: [5, 27]
Generated Node #0,1,0: 31:[5, 27] Operation: 1+26=27
Exploring Operation: 5+26=31, Resulting Numbers: [1, 31]
Generated Node #0,1,1: 31:[1, 31] Operation: 5+26=31
Exploring Operation: 5*1=5, Resulting Numbers: [26, 5]
Generated Node #0,1,2: 31:[26, 5] Operation: 5*1=5
Exploring Operation: 5+1=6, Resulting Numbers: [26, 6]
Generated Node #0,1,3: 31:[26, 6] Operation: 5+1=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[5, 27], Operations: ['85-59=26', '1+26=27']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,31 unequal: No Solution
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,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:[1, 31], Operations: ['85-59=26', '5+26=31']
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[85, 59, 5, 1], Operations: []
Exploring Operation: 85-59=26, Resulting Numbers: [5, 1, 26]
Generated Node #0,1: 31:[5, 1, 26] Operation: 85-59=26
Moving to Node #0,1
Current State: 31:[5, 1, 26], Operations: ['85-59=26']
Exploring Operation: 5+26=31, Resulting Numbers: [1, 31]
Generated Node #0,1,1: 31:[1, 31] Operation: 5+26=31
Moving to Node #0,1,1
Current State: 31:[1, 31], Operations: ['85-59=26', '5+26=31']
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
61,
83,
16,
93
] | 99 | [
"83-61=22",
"93-16=77",
"22+77=99"
] | Current State: 99:[61, 83, 16, 93], Operations: []
Exploring Operation: 83-61=22, Resulting Numbers: [16, 93, 22]
Generated Node #2: [16, 93, 22] from Operation: 83-61=22
Current State: 99:[16, 93, 22], Operations: ['83-61=22']
Exploring Operation: 93-16=77, Resulting Numbers: [22, 77]
Generated Node #3: [22, 77] from Operation: 93-16=77
Current State: 99:[22, 77], Operations: ['83-61=22', '93-16=77']
Exploring Operation: 22+77=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[61, 83, 16, 93], Operations: []
Exploring Operation: 83-61=22, Resulting Numbers: [16, 93, 22]
Generated Node #0,0: 99:[16, 93, 22] Operation: 83-61=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[16, 93, 22], Operations: ['83-61=22']
Exploring Operation: 22-16=6, Resulting Numbers: [93, 6]
Generated Node #0,0,0: 99:[93, 6] Operation: 22-16=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[93, 6], Operations: ['83-61=22', '22-16=6']
Exploring Operation: 93+6=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[61, 83, 16, 93], Operations: []
Exploring Operation: 83-61=22, Resulting Numbers: [16, 93, 22]
Generated Node #0,0: 99:[16, 93, 22] Operation: 83-61=22
Moving to Node #0,0
Current State: 99:[16, 93, 22], Operations: ['83-61=22']
Exploring Operation: 22-16=6, Resulting Numbers: [93, 6]
Generated Node #0,0,0: 99:[93, 6] Operation: 22-16=6
Moving to Node #0,0,0
Current State: 99:[93, 6], Operations: ['83-61=22', '22-16=6']
Exploring Operation: 93+6=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
90,
75,
43,
41
] | 81 | [
"90+75=165",
"43+41=84",
"165-84=81"
] | Current State: 81:[90, 75, 43, 41], Operations: []
Exploring Operation: 90+75=165, Resulting Numbers: [43, 41, 165]
Generated Node #2: [43, 41, 165] from Operation: 90+75=165
Current State: 81:[43, 41, 165], Operations: ['90+75=165']
Exploring Operation: 43+41=84, Resulting Numbers: [165, 84]
Generated Node #3: [165, 84] from Operation: 43+41=84
Current State: 81:[165, 84], Operations: ['90+75=165', '43+41=84']
Exploring Operation: 165-84=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[90, 75, 43, 41], Operations: []
Exploring Operation: 75-41=34, Resulting Numbers: [90, 43, 34]
Generated Node #0,0: 81:[90, 43, 34] Operation: 75-41=34
Exploring Operation: 75-43=32, Resulting Numbers: [90, 41, 32]
Generated Node #0,1: 81:[90, 41, 32] Operation: 75-43=32
Exploring Operation: 43+41=84, Resulting Numbers: [90, 75, 84]
Generated Node #0,2: 81:[90, 75, 84] Operation: 43+41=84
Exploring Operation: 43-41=2, Resulting Numbers: [90, 75, 2]
Generated Node #0,3: 81:[90, 75, 2] Operation: 43-41=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 81:[90, 75, 2], Operations: ['43-41=2']
Exploring Operation: 75+2=77, Resulting Numbers: [90, 77]
Generated Node #0,3,0: 81:[90, 77] Operation: 75+2=77
Exploring Operation: 90-2=88, Resulting Numbers: [75, 88]
Generated Node #0,3,1: 81:[75, 88] Operation: 90-2=88
Exploring Operation: 90+2=92, Resulting Numbers: [75, 92]
Generated Node #0,3,2: 81:[75, 92] Operation: 90+2=92
Exploring Operation: 90-75=15, Resulting Numbers: [2, 15]
Generated Node #0,3,3: 81:[2, 15] Operation: 90-75=15
Moving to Node #0,3,3
Current State: 81:[2, 15], Operations: ['43-41=2', '90-75=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[75, 88], Operations: ['43-41=2', '90-2=88']
Exploring Operation: 75+88=163, Resulting Numbers: [163]
163,81 unequal: No Solution
Exploring Operation: 88-75=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 75*88=6600, Resulting Numbers: [6600]
6600,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[90, 77], Operations: ['43-41=2', '75+2=77']
Exploring Operation: 90*77=6930, Resulting Numbers: [6930]
6930,81 unequal: No Solution
Exploring Operation: 90+77=167, Resulting Numbers: [167]
167,81 unequal: No Solution
Exploring Operation: 90-77=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[75, 92], Operations: ['43-41=2', '90+2=92']
Exploring Operation: 75*92=6900, Resulting Numbers: [6900]
6900,81 unequal: No Solution
Exploring Operation: 75+92=167, Resulting Numbers: [167]
167,81 unequal: No Solution
Exploring Operation: 92-75=17, Resulting Numbers: [17]
17,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,2
Current State: 81:[90, 75, 84], Operations: ['43+41=84']
Exploring Operation: 84-75=9, Resulting Numbers: [90, 9]
Generated Node #0,2,0: 81:[90, 9] Operation: 84-75=9
Exploring Operation: 90-84=6, Resulting Numbers: [75, 6]
Generated Node #0,2,1: 81:[75, 6] Operation: 90-84=6
Exploring Operation: 90-75=15, Resulting Numbers: [84, 15]
Generated Node #0,2,2: 81:[84, 15] Operation: 90-75=15
Exploring Operation: 90+75=165, Resulting Numbers: [84, 165]
Generated Node #0,2,3: 81:[84, 165] Operation: 90+75=165
Moving to Node #0,2,0
Current State: 81:[90, 9], Operations: ['43+41=84', '84-75=9']
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 90+9=99, Resulting Numbers: [99]
99,81 unequal: No Solution
Exploring Operation: 90*9=810, Resulting Numbers: [810]
810,81 unequal: No Solution
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[90, 75, 43, 41], Operations: []
Exploring Operation: 43+41=84, Resulting Numbers: [90, 75, 84]
Generated Node #0,2: 81:[90, 75, 84] Operation: 43+41=84
Moving to Node #0,2
Current State: 81:[90, 75, 84], Operations: ['43+41=84']
Exploring Operation: 84-75=9, Resulting Numbers: [90, 9]
Generated Node #0,2,0: 81:[90, 9] Operation: 84-75=9
Moving to Node #0,2,0
Current State: 81:[90, 9], Operations: ['43+41=84', '84-75=9']
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
7,
57,
11,
82
] | 62 | [
"7*11=77",
"57+82=139",
"139-77=62"
] | Current State: 62:[7, 57, 11, 82], Operations: []
Exploring Operation: 7*11=77, Resulting Numbers: [57, 82, 77]
Generated Node #2: [57, 82, 77] from Operation: 7*11=77
Current State: 62:[57, 82, 77], Operations: ['7*11=77']
Exploring Operation: 57+82=139, Resulting Numbers: [77, 139]
Generated Node #3: [77, 139] from Operation: 57+82=139
Current State: 62:[77, 139], Operations: ['7*11=77', '57+82=139']
Exploring Operation: 139-77=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[7, 57, 11, 82], Operations: []
Exploring Operation: 82-11=71, Resulting Numbers: [7, 57, 71]
Generated Node #0,0: 62:[7, 57, 71] Operation: 82-11=71
Exploring Operation: 82-57=25, Resulting Numbers: [7, 11, 25]
Generated Node #0,1: 62:[7, 11, 25] Operation: 82-57=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[7, 57, 71], Operations: ['82-11=71']
Exploring Operation: 7+57=64, Resulting Numbers: [71, 64]
Generated Node #0,0,0: 62:[71, 64] Operation: 7+57=64
Exploring Operation: 71-7=64, Resulting Numbers: [57, 64]
Generated Node #0,0,1: 62:[57, 64] Operation: 71-7=64
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 62:[57, 64], Operations: ['82-11=71', '71-7=64']
Exploring Operation: 57+64=121, Resulting Numbers: [121]
121,62 unequal: No Solution
Exploring Operation: 64-57=7, Resulting Numbers: [7]
7,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[71, 64], Operations: ['82-11=71', '7+57=64']
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 71+64=135, Resulting Numbers: [135]
135,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[7, 11, 25], Operations: ['82-57=25']
Exploring Operation: 11-7=4, Resulting Numbers: [25, 4]
Generated Node #0,1,0: 62:[25, 4] Operation: 11-7=4
Exploring Operation: 7+25=32, Resulting Numbers: [11, 32]
Generated Node #0,1,1: 62:[11, 32] Operation: 7+25=32
Moving to Node #0,1,0
Current State: 62:[25, 4], Operations: ['82-57=25', '11-7=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[11, 32], Operations: ['82-57=25', '7+25=32']
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,62 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,62 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 |
[
64,
28,
73,
91
] | 18 | [
"64-28=36",
"91-73=18",
"36-18=18"
] | Current State: 18:[64, 28, 73, 91], Operations: []
Exploring Operation: 64-28=36, Resulting Numbers: [73, 91, 36]
Generated Node #2: [73, 91, 36] from Operation: 64-28=36
Current State: 18:[73, 91, 36], Operations: ['64-28=36']
Exploring Operation: 91-73=18, Resulting Numbers: [36, 18]
Generated Node #3: [36, 18] from Operation: 91-73=18
Current State: 18:[36, 18], Operations: ['64-28=36', '91-73=18']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[64, 28, 73, 91], Operations: []
Exploring Operation: 73-64=9, Resulting Numbers: [28, 91, 9]
Generated Node #0,0: 18:[28, 91, 9] Operation: 73-64=9
Exploring Operation: 91-64=27, Resulting Numbers: [28, 73, 27]
Generated Node #0,1: 18:[28, 73, 27] Operation: 91-64=27
Exploring Operation: 64-28=36, Resulting Numbers: [73, 91, 36]
Generated Node #0,2: 18:[73, 91, 36] Operation: 64-28=36
Exploring Operation: 91-73=18, Resulting Numbers: [64, 28, 18]
Generated Node #0,3: 18:[64, 28, 18] Operation: 91-73=18
Start Sub Search at level 1: Moving to Node #0,3
Current State: 18:[64, 28, 18], Operations: ['91-73=18']
Exploring Operation: 64-18=46, Resulting Numbers: [28, 46]
Generated Node #0,3,0: 18:[28, 46] Operation: 64-18=46
Exploring Operation: 64+28=92, Resulting Numbers: [18, 92]
Generated Node #0,3,1: 18:[18, 92] Operation: 64+28=92
Exploring Operation: 64-28=36, Resulting Numbers: [18, 36]
Generated Node #0,3,2: 18:[18, 36] Operation: 64-28=36
Exploring Operation: 28-18=10, Resulting Numbers: [64, 10]
Generated Node #0,3,3: 18:[64, 10] Operation: 28-18=10
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 18:[18, 36], Operations: ['91-73=18', '64-28=36']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[64, 28, 73, 91], Operations: []
Exploring Operation: 91-73=18, Resulting Numbers: [64, 28, 18]
Generated Node #0,3: 18:[64, 28, 18] Operation: 91-73=18
Moving to Node #0,3
Current State: 18:[64, 28, 18], Operations: ['91-73=18']
Exploring Operation: 64-28=36, Resulting Numbers: [18, 36]
Generated Node #0,3,2: 18:[18, 36] Operation: 64-28=36
Moving to Node #0,3,2
Current State: 18:[18, 36], Operations: ['91-73=18', '64-28=36']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
61,
50,
95,
3
] | 87 | [
"61-50=11",
"95+3=98",
"98-11=87"
] | Current State: 87:[61, 50, 95, 3], Operations: []
Exploring Operation: 61-50=11, Resulting Numbers: [95, 3, 11]
Generated Node #2: [95, 3, 11] from Operation: 61-50=11
Current State: 87:[95, 3, 11], Operations: ['61-50=11']
Exploring Operation: 95+3=98, Resulting Numbers: [11, 98]
Generated Node #3: [11, 98] from Operation: 95+3=98
Current State: 87:[11, 98], Operations: ['61-50=11', '95+3=98']
Exploring Operation: 98-11=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[61, 50, 95, 3], Operations: []
Exploring Operation: 95-50=45, Resulting Numbers: [61, 3, 45]
Generated Node #0,0: 87:[61, 3, 45] Operation: 95-50=45
Exploring Operation: 61+50=111, Resulting Numbers: [95, 3, 111]
Generated Node #0,1: 87:[95, 3, 111] Operation: 61+50=111
Exploring Operation: 61+3=64, Resulting Numbers: [50, 95, 64]
Generated Node #0,2: 87:[50, 95, 64] Operation: 61+3=64
Exploring Operation: 61-50=11, Resulting Numbers: [95, 3, 11]
Generated Node #0,3: 87:[95, 3, 11] Operation: 61-50=11
Exploring Operation: 95-61=34, Resulting Numbers: [50, 3, 34]
Generated Node #0,4: 87:[50, 3, 34] Operation: 95-61=34
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[95, 3, 11], Operations: ['61-50=11']
Exploring Operation: 11-3=8, Resulting Numbers: [95, 8]
Generated Node #0,3,0: 87:[95, 8] Operation: 11-3=8
Exploring Operation: 95+3=98, Resulting Numbers: [11, 98]
Generated Node #0,3,1: 87:[11, 98] Operation: 95+3=98
Exploring Operation: 95-3=92, Resulting Numbers: [11, 92]
Generated Node #0,3,2: 87:[11, 92] Operation: 95-3=92
Exploring Operation: 3*11=33, Resulting Numbers: [95, 33]
Generated Node #0,3,3: 87:[95, 33] Operation: 3*11=33
Exploring Operation: 95-11=84, Resulting Numbers: [3, 84]
Generated Node #0,3,4: 87:[3, 84] Operation: 95-11=84
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 87:[3, 84], Operations: ['61-50=11', '95-11=84']
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,87 unequal: No Solution
Exploring Operation: 3*84=252, Resulting Numbers: [252]
252,87 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,87 unequal: No Solution
Exploring Operation: 3+84=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[61, 50, 95, 3], Operations: []
Exploring Operation: 61-50=11, Resulting Numbers: [95, 3, 11]
Generated Node #0,3: 87:[95, 3, 11] Operation: 61-50=11
Moving to Node #0,3
Current State: 87:[95, 3, 11], Operations: ['61-50=11']
Exploring Operation: 95-11=84, Resulting Numbers: [3, 84]
Generated Node #0,3,4: 87:[3, 84] Operation: 95-11=84
Moving to Node #0,3,4
Current State: 87:[3, 84], Operations: ['61-50=11', '95-11=84']
Exploring Operation: 3+84=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
26,
6,
92,
6
] | 82 | [
"26+92=118",
"6*6=36",
"118-36=82"
] | Current State: 82:[26, 6, 92, 6], Operations: []
Exploring Operation: 26+92=118, Resulting Numbers: [6, 6, 118]
Generated Node #2: [6, 6, 118] from Operation: 26+92=118
Current State: 82:[6, 6, 118], Operations: ['26+92=118']
Exploring Operation: 6*6=36, Resulting Numbers: [118, 36]
Generated Node #3: [118, 36] from Operation: 6*6=36
Current State: 82:[118, 36], Operations: ['26+92=118', '6*6=36']
Exploring Operation: 118-36=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[26, 6, 92, 6], Operations: []
Exploring Operation: 92-6=86, Resulting Numbers: [26, 6, 86]
Generated Node #0,0: 82:[26, 6, 86] Operation: 92-6=86
Exploring Operation: 92-6=86, Resulting Numbers: [26, 6, 86]
Generated Node #0,1: 82:[26, 6, 86] Operation: 92-6=86
Exploring Operation: 26+6=32, Resulting Numbers: [92, 6, 32]
Generated Node #0,2: 82:[92, 6, 32] Operation: 26+6=32
Exploring Operation: 26+6=32, Resulting Numbers: [6, 92, 32]
Generated Node #0,3: 82:[6, 92, 32] Operation: 26+6=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[26, 6, 86], Operations: ['92-6=86']
Exploring Operation: 26+6=32, Resulting Numbers: [86, 32]
Generated Node #0,0,0: 82:[86, 32] Operation: 26+6=32
Exploring Operation: 86-26=60, Resulting Numbers: [6, 60]
Generated Node #0,0,1: 82:[6, 60] Operation: 86-26=60
Exploring Operation: 26-6=20, Resulting Numbers: [86, 20]
Generated Node #0,0,2: 82:[86, 20] Operation: 26-6=20
Exploring Operation: 86-6=80, Resulting Numbers: [26, 80]
Generated Node #0,0,3: 82:[26, 80] Operation: 86-6=80
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[86, 32], Operations: ['92-6=86', '26+6=32']
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 86*32=2752, Resulting Numbers: [2752]
2752,82 unequal: No Solution
Exploring Operation: 86+32=118, Resulting Numbers: [118]
118,82 unequal: No Solution
No 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: 82:[26, 80], Operations: ['92-6=86', '86-6=80']
Exploring Operation: 26*80=2080, Resulting Numbers: [2080]
2080,82 unequal: No Solution
Exploring Operation: 26+80=106, Resulting Numbers: [106]
106,82 unequal: No Solution
Exploring Operation: 80-26=54, Resulting Numbers: [54]
54,82 unequal: No Solution
No 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: 82:[86, 20], Operations: ['92-6=86', '26-6=20']
Exploring Operation: 86-20=66, Resulting Numbers: [66]
66,82 unequal: No Solution
Exploring Operation: 86*20=1720, Resulting Numbers: [1720]
1720,82 unequal: No Solution
Exploring Operation: 86+20=106, Resulting Numbers: [106]
106,82 unequal: No Solution
No 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: 82:[6, 60], Operations: ['92-6=86', '86-26=60']
Exploring Operation: 6+60=66, Resulting Numbers: [66]
66,82 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,82 unequal: No Solution
Exploring Operation: 6*60=360, Resulting Numbers: [360]
360,82 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: 82:[26, 6, 86], Operations: ['92-6=86']
Exploring Operation: 86-26=60, Resulting Numbers: [6, 60]
Generated Node #0,1,0: 82:[6, 60] Operation: 86-26=60
Exploring Operation: 86-6=80, Resulting Numbers: [26, 80]
Generated Node #0,1,1: 82:[26, 80] Operation: 86-6=80
Exploring Operation: 26+6=32, Resulting Numbers: [86, 32]
Generated Node #0,1,2: 82:[86, 32] Operation: 26+6=32
Exploring Operation: 26-6=20, Resulting Numbers: [86, 20]
Generated Node #0,1,3: 82:[86, 20] Operation: 26-6=20
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 82:[86, 32], Operations: ['92-6=86', '26+6=32']
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 86+32=118, Resulting Numbers: [118]
118,82 unequal: No Solution
Exploring Operation: 86*32=2752, Resulting Numbers: [2752]
2752,82 unequal: No Solution
No 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: 82:[26, 80], Operations: ['92-6=86', '86-6=80']
Exploring Operation: 26*80=2080, Resulting Numbers: [2080]
2080,82 unequal: No Solution
Exploring Operation: 26+80=106, Resulting Numbers: [106]
106,82 unequal: No Solution
Exploring Operation: 80-26=54, Resulting Numbers: [54]
54,82 unequal: No Solution
No 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: 82:[86, 20], Operations: ['92-6=86', '26-6=20']
Exploring Operation: 86*20=1720, Resulting Numbers: [1720]
1720,82 unequal: No Solution
Exploring Operation: 86-20=66, Resulting Numbers: [66]
66,82 unequal: No Solution
Exploring Operation: 86+20=106, Resulting Numbers: [106]
106,82 unequal: No Solution
No 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: 82:[6, 60], Operations: ['92-6=86', '86-26=60']
Exploring Operation: 6*60=360, Resulting Numbers: [360]
360,82 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,82 unequal: No Solution
Exploring Operation: 6+60=66, Resulting Numbers: [66]
66,82 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,82 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: 82:[92, 6, 32], Operations: ['26+6=32']
Exploring Operation: 92-6=86, Resulting Numbers: [32, 86]
Generated Node #0,2,0: 82:[32, 86] Operation: 92-6=86
Exploring Operation: 92-32=60, Resulting Numbers: [6, 60]
Generated Node #0,2,1: 82:[6, 60] Operation: 92-32=60
Exploring Operation: 6+32=38, Resulting Numbers: [92, 38]
Generated Node #0,2,2: 82:[92, 38] Operation: 6+32=38
Exploring Operation: 92+6=98, Resulting Numbers: [32, 98]
Generated Node #0,2,3: 82:[32, 98] Operation: 92+6=98
Moving to Node #0,2,0
Current State: 82:[32, 86], Operations: ['26+6=32', '92-6=86']
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 32*86=2752, Resulting Numbers: [2752]
2752,82 unequal: No Solution
Exploring Operation: 32+86=118, Resulting Numbers: [118]
118,82 unequal: No Solution
Moving to Node #0,2,2
Current State: 82:[92, 38], Operations: ['26+6=32', '6+32=38']
Exploring Operation: 92+38=130, Resulting Numbers: [130]
130,82 unequal: No Solution
Exploring Operation: 92*38=3496, Resulting Numbers: [3496]
3496,82 unequal: No Solution
Exploring Operation: 92-38=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[6, 60], Operations: ['26+6=32', '92-32=60']
Exploring Operation: 6+60=66, Resulting Numbers: [66]
66,82 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,82 unequal: No Solution
Exploring Operation: 6*60=360, Resulting Numbers: [360]
360,82 unequal: No Solution
Moving to Node #0,2,3
Current State: 82:[32, 98], Operations: ['26+6=32', '92+6=98']
Exploring Operation: 98-32=66, Resulting Numbers: [66]
66,82 unequal: No Solution
Exploring Operation: 32+98=130, Resulting Numbers: [130]
130,82 unequal: No Solution
Exploring Operation: 32*98=3136, Resulting Numbers: [3136]
3136,82 unequal: No Solution
No 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: 82:[6, 92, 32], Operations: ['26+6=32']
Exploring Operation: 6+32=38, Resulting Numbers: [92, 38]
Generated Node #0,3,0: 82:[92, 38] Operation: 6+32=38
Exploring Operation: 92-32=60, Resulting Numbers: [6, 60]
Generated Node #0,3,1: 82:[6, 60] Operation: 92-32=60
Exploring Operation: 6+92=98, Resulting Numbers: [32, 98]
Generated Node #0,3,2: 82:[32, 98] Operation: 6+92=98
Exploring Operation: 92-6=86, Resulting Numbers: [32, 86]
Generated Node #0,3,3: 82:[32, 86] Operation: 92-6=86
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 82:[92, 38], Operations: ['26+6=32', '6+32=38']
Exploring Operation: 92-38=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 92*38=3496, Resulting Numbers: [3496]
3496,82 unequal: No Solution
Exploring Operation: 92+38=130, Resulting Numbers: [130]
130,82 unequal: No Solution
No 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: 82:[32, 86], Operations: ['26+6=32', '92-6=86']
Exploring Operation: 32+86=118, Resulting Numbers: [118]
118,82 unequal: No Solution
Exploring Operation: 32*86=2752, Resulting Numbers: [2752]
2752,82 unequal: No Solution
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,82 unequal: No Solution
No 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: 82:[6, 60], Operations: ['26+6=32', '92-32=60']
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 6+60=66, Resulting Numbers: [66]
66,82 unequal: No Solution
Exploring Operation: 6*60=360, Resulting Numbers: [360]
360,82 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,82 unequal: No Solution
No 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: 82:[32, 98], Operations: ['26+6=32', '6+92=98']
Exploring Operation: 98-32=66, Resulting Numbers: [66]
66,82 unequal: No Solution
Exploring Operation: 32+98=130, Resulting Numbers: [130]
130,82 unequal: No Solution
Exploring Operation: 32*98=3136, Resulting Numbers: [3136]
3136,82 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 |
[
92,
13,
26,
45
] | 45 | [
"92-45=47",
"26/13=2",
"47-2=45"
] | Current State: 45:[92, 13, 26, 45], Operations: []
Exploring Operation: 92-45=47, Resulting Numbers: [13, 26, 47]
Generated Node #2: [13, 26, 47] from Operation: 92-45=47
Current State: 45:[13, 26, 47], Operations: ['92-45=47']
Exploring Operation: 26/13=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 26/13=2
Current State: 45:[47, 2], Operations: ['92-45=47', '26/13=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[92, 13, 26, 45], Operations: []
Exploring Operation: 92-26=66, Resulting Numbers: [13, 45, 66]
Generated Node #0,0: 45:[13, 45, 66] Operation: 92-26=66
Exploring Operation: 26/13=2, Resulting Numbers: [92, 45, 2]
Generated Node #0,1: 45:[92, 45, 2] Operation: 26/13=2
Exploring Operation: 92-13=79, Resulting Numbers: [26, 45, 79]
Generated Node #0,2: 45:[26, 45, 79] Operation: 92-13=79
Exploring Operation: 26-13=13, Resulting Numbers: [92, 45, 13]
Generated Node #0,3: 45:[92, 45, 13] Operation: 26-13=13
Exploring Operation: 92-45=47, Resulting Numbers: [13, 26, 47]
Generated Node #0,4: 45:[13, 26, 47] Operation: 92-45=47
Moving to Node #0,4
Current State: 45:[13, 26, 47], Operations: ['92-45=47']
Exploring Operation: 47-26=21, Resulting Numbers: [13, 21]
Generated Node #0,4,0: 45:[13, 21] Operation: 47-26=21
Exploring Operation: 26-13=13, Resulting Numbers: [47, 13]
Generated Node #0,4,1: 45:[47, 13] Operation: 26-13=13
Exploring Operation: 47-13=34, Resulting Numbers: [26, 34]
Generated Node #0,4,2: 45:[26, 34] Operation: 47-13=34
Exploring Operation: 13+26=39, Resulting Numbers: [47, 39]
Generated Node #0,4,3: 45:[47, 39] Operation: 13+26=39
Exploring Operation: 26/13=2, Resulting Numbers: [47, 2]
Generated Node #0,4,4: 45:[47, 2] Operation: 26/13=2
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 45:[47, 2], Operations: ['92-45=47', '26/13=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[92, 13, 26, 45], Operations: []
Exploring Operation: 92-45=47, Resulting Numbers: [13, 26, 47]
Generated Node #0,4: 45:[13, 26, 47] Operation: 92-45=47
Moving to Node #0,4
Current State: 45:[13, 26, 47], Operations: ['92-45=47']
Exploring Operation: 26/13=2, Resulting Numbers: [47, 2]
Generated Node #0,4,4: 45:[47, 2] Operation: 26/13=2
Moving to Node #0,4,4
Current State: 45:[47, 2], Operations: ['92-45=47', '26/13=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
54,
27,
92,
23
] | 88 | [
"54-27=27",
"92+23=115",
"115-27=88"
] | Current State: 88:[54, 27, 92, 23], Operations: []
Exploring Operation: 54-27=27, Resulting Numbers: [92, 23, 27]
Generated Node #2: [92, 23, 27] from Operation: 54-27=27
Current State: 88:[92, 23, 27], Operations: ['54-27=27']
Exploring Operation: 92+23=115, Resulting Numbers: [27, 115]
Generated Node #3: [27, 115] from Operation: 92+23=115
Current State: 88:[27, 115], Operations: ['54-27=27', '92+23=115']
Exploring Operation: 115-27=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[54, 27, 92, 23], Operations: []
Exploring Operation: 27-23=4, Resulting Numbers: [54, 92, 4]
Generated Node #0,0: 88:[54, 92, 4] Operation: 27-23=4
Exploring Operation: 54/27=2, Resulting Numbers: [92, 23, 2]
Generated Node #0,1: 88:[92, 23, 2] Operation: 54/27=2
Exploring Operation: 54-27=27, Resulting Numbers: [92, 23, 27]
Generated Node #0,2: 88:[92, 23, 27] Operation: 54-27=27
Exploring Operation: 92-54=38, Resulting Numbers: [27, 23, 38]
Generated Node #0,3: 88:[27, 23, 38] Operation: 92-54=38
Exploring Operation: 54+27=81, Resulting Numbers: [92, 23, 81]
Generated Node #0,4: 88:[92, 23, 81] Operation: 54+27=81
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[92, 23, 2], Operations: ['54/27=2']
Exploring Operation: 92-2=90, Resulting Numbers: [23, 90]
Generated Node #0,1,0: 88:[23, 90] Operation: 92-2=90
Exploring Operation: 92/2=46, Resulting Numbers: [23, 46]
Generated Node #0,1,1: 88:[23, 46] Operation: 92/2=46
Exploring Operation: 92/23=4, Resulting Numbers: [2, 4]
Generated Node #0,1,2: 88:[2, 4] Operation: 92/23=4
Exploring Operation: 23-2=21, Resulting Numbers: [92, 21]
Generated Node #0,1,3: 88:[92, 21] Operation: 23-2=21
Exploring Operation: 23*2=46, Resulting Numbers: [92, 46]
Generated Node #0,1,4: 88:[92, 46] Operation: 23*2=46
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 88:[2, 4], Operations: ['54/27=2', '92/23=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[23, 90], Operations: ['54/27=2', '92-2=90']
Exploring Operation: 23+90=113, Resulting Numbers: [113]
113,88 unequal: No Solution
Exploring Operation: 23*90=2070, Resulting Numbers: [2070]
2070,88 unequal: No Solution
Exploring Operation: 90-23=67, Resulting Numbers: [67]
67,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[23, 46], Operations: ['54/27=2', '92/2=46']
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,88 unequal: No Solution
Exploring Operation: 23*46=1058, Resulting Numbers: [1058]
1058,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 88:[92, 21], Operations: ['54/27=2', '23-2=21']
Exploring Operation: 92-21=71, Resulting Numbers: [71]
71,88 unequal: No Solution
Exploring Operation: 92+21=113, Resulting Numbers: [113]
113,88 unequal: No Solution
Exploring Operation: 92*21=1932, Resulting Numbers: [1932]
1932,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 88:[92, 46], Operations: ['54/27=2', '23*2=46']
Exploring Operation: 92+46=138, Resulting Numbers: [138]
138,88 unequal: No Solution
Exploring Operation: 92*46=4232, Resulting Numbers: [4232]
4232,88 unequal: No Solution
Exploring Operation: 92-46=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Exploring Operation: 92/46=2, Resulting Numbers: [2]
2,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[92, 23, 27], Operations: ['54-27=27']
Exploring Operation: 23+27=50, Resulting Numbers: [92, 50]
Generated Node #0,2,0: 88:[92, 50] Operation: 23+27=50
Exploring Operation: 27-23=4, Resulting Numbers: [92, 4]
Generated Node #0,2,1: 88:[92, 4] Operation: 27-23=4
Exploring Operation: 92-23=69, Resulting Numbers: [27, 69]
Generated Node #0,2,2: 88:[27, 69] Operation: 92-23=69
Exploring Operation: 92-27=65, Resulting Numbers: [23, 65]
Generated Node #0,2,3: 88:[23, 65] Operation: 92-27=65
Exploring Operation: 92/23=4, Resulting Numbers: [27, 4]
Generated Node #0,2,4: 88:[27, 4] Operation: 92/23=4
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 88:[92, 4], Operations: ['54-27=27', '27-23=4']
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[54, 27, 92, 23], Operations: []
Exploring Operation: 54-27=27, Resulting Numbers: [92, 23, 27]
Generated Node #0,2: 88:[92, 23, 27] Operation: 54-27=27
Moving to Node #0,2
Current State: 88:[92, 23, 27], Operations: ['54-27=27']
Exploring Operation: 27-23=4, Resulting Numbers: [92, 4]
Generated Node #0,2,1: 88:[92, 4] Operation: 27-23=4
Moving to Node #0,2,1
Current State: 88:[92, 4], Operations: ['54-27=27', '27-23=4']
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
6,
11,
21,
2
] | 12 | [
"6*11=66",
"66/2=33",
"33-21=12"
] | Current State: 12:[6, 11, 21, 2], Operations: []
Exploring Operation: 6*11=66, Resulting Numbers: [21, 2, 66]
Generated Node #2: [21, 2, 66] from Operation: 6*11=66
Current State: 12:[21, 2, 66], Operations: ['6*11=66']
Exploring Operation: 66/2=33, Resulting Numbers: [21, 33]
Generated Node #3: [21, 33] from Operation: 66/2=33
Current State: 12:[21, 33], Operations: ['6*11=66', '66/2=33']
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[6, 11, 21, 2], Operations: []
Exploring Operation: 21-11=10, Resulting Numbers: [6, 2, 10]
Generated Node #0,0: 12:[6, 2, 10] Operation: 21-11=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[6, 2, 10], Operations: ['21-11=10']
Exploring Operation: 10-6=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 12:[2, 4] Operation: 10-6=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[2, 4], Operations: ['21-11=10', '10-6=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,12 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,
2,
43,
4
] | 76 | [
"43-2=41",
"4*41=164",
"164-88=76"
] | Current State: 76:[88, 2, 43, 4], Operations: []
Exploring Operation: 43-2=41, Resulting Numbers: [88, 4, 41]
Generated Node #2: [88, 4, 41] from Operation: 43-2=41
Current State: 76:[88, 4, 41], Operations: ['43-2=41']
Exploring Operation: 4*41=164, Resulting Numbers: [88, 164]
Generated Node #3: [88, 164] from Operation: 4*41=164
Current State: 76:[88, 164], Operations: ['43-2=41', '4*41=164']
Exploring Operation: 164-88=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[88, 2, 43, 4], Operations: []
Exploring Operation: 88/4=22, Resulting Numbers: [2, 43, 22]
Generated Node #0,0: 76:[2, 43, 22] Operation: 88/4=22
Exploring Operation: 88-43=45, Resulting Numbers: [2, 4, 45]
Generated Node #0,1: 76:[2, 4, 45] Operation: 88-43=45
Moving to Node #0,1
Current State: 76:[2, 4, 45], Operations: ['88-43=45']
Exploring Operation: 45-4=41, Resulting Numbers: [2, 41]
Generated Node #0,1,0: 76:[2, 41] Operation: 45-4=41
Exploring Operation: 45-2=43, Resulting Numbers: [4, 43]
Generated Node #0,1,1: 76:[4, 43] Operation: 45-2=43
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[2, 41], Operations: ['88-43=45', '45-4=41']
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,76 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,76 unequal: No Solution
No 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: 76:[4, 43], Operations: ['88-43=45', '45-2=43']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,76 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: 76:[2, 43, 22], Operations: ['88/4=22']
Exploring Operation: 43-22=21, Resulting Numbers: [2, 21]
Generated Node #0,0,0: 76:[2, 21] Operation: 43-22=21
Exploring Operation: 43-2=41, Resulting Numbers: [22, 41]
Generated Node #0,0,1: 76:[22, 41] Operation: 43-2=41
Moving to Node #0,0,0
Current State: 76:[2, 21], Operations: ['88/4=22', '43-22=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[22, 41], Operations: ['88/4=22', '43-2=41']
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 22+41=63, Resulting Numbers: [63]
63,76 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
36,
35,
81,
77
] | 99 | [
"81-36=45",
"77*45=3465",
"3465/35=99"
] | Current State: 99:[36, 35, 81, 77], Operations: []
Exploring Operation: 81-36=45, Resulting Numbers: [35, 77, 45]
Generated Node #2: [35, 77, 45] from Operation: 81-36=45
Current State: 99:[35, 77, 45], Operations: ['81-36=45']
Exploring Operation: 77*45=3465, Resulting Numbers: [35, 3465]
Generated Node #3: [35, 3465] from Operation: 77*45=3465
Current State: 99:[35, 3465], Operations: ['81-36=45', '77*45=3465']
Exploring Operation: 3465/35=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[36, 35, 81, 77], Operations: []
Exploring Operation: 81-77=4, Resulting Numbers: [36, 35, 4]
Generated Node #0,0: 99:[36, 35, 4] Operation: 81-77=4
Exploring Operation: 77-36=41, Resulting Numbers: [35, 81, 41]
Generated Node #0,1: 99:[35, 81, 41] Operation: 77-36=41
Moving to Node #0,0
Current State: 99:[36, 35, 4], Operations: ['81-77=4']
Exploring Operation: 36-35=1, Resulting Numbers: [4, 1]
Generated Node #0,0,0: 99:[4, 1] Operation: 36-35=1
Exploring Operation: 36/4=9, Resulting Numbers: [35, 9]
Generated Node #0,0,1: 99:[35, 9] Operation: 36/4=9
Moving to Node #0,1
Current State: 99:[35, 81, 41], Operations: ['77-36=41']
Exploring Operation: 81-41=40, Resulting Numbers: [35, 40]
Generated Node #0,1,0: 99:[35, 40] Operation: 81-41=40
Exploring Operation: 81-35=46, Resulting Numbers: [41, 46]
Generated Node #0,1,1: 99:[41, 46] Operation: 81-35=46
Moving to Node #0,0,1
Current State: 99:[35, 9], Operations: ['81-77=4', '36/4=9']
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,99 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[4, 1], Operations: ['81-77=4', '36-35=1']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[35, 40], Operations: ['77-36=41', '81-41=40']
Exploring Operation: 35+40=75, Resulting Numbers: [75]
75,99 unequal: No Solution
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[41, 46], Operations: ['77-36=41', '81-35=46']
Exploring Operation: 41+46=87, Resulting Numbers: [87]
87,99 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,99 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
66,
38,
26,
27
] | 31 | [
"66+38=104",
"104/26=4",
"27+4=31"
] | Current State: 31:[66, 38, 26, 27], Operations: []
Exploring Operation: 66+38=104, Resulting Numbers: [26, 27, 104]
Generated Node #2: [26, 27, 104] from Operation: 66+38=104
Current State: 31:[26, 27, 104], Operations: ['66+38=104']
Exploring Operation: 104/26=4, Resulting Numbers: [27, 4]
Generated Node #3: [27, 4] from Operation: 104/26=4
Current State: 31:[27, 4], Operations: ['66+38=104', '104/26=4']
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[66, 38, 26, 27], Operations: []
Exploring Operation: 66-38=28, Resulting Numbers: [26, 27, 28]
Generated Node #0,0: 31:[26, 27, 28] Operation: 66-38=28
Moving to Node #0,0
Current State: 31:[26, 27, 28], Operations: ['66-38=28']
Exploring Operation: 26+27=53, Resulting Numbers: [28, 53]
Generated Node #0,0,0: 31:[28, 53] Operation: 26+27=53
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[28, 53], Operations: ['66-38=28', '26+27=53']
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
35,
40,
75,
29
] | 91 | [
"75+29=104",
"35*104=3640",
"3640/40=91"
] | Current State: 91:[35, 40, 75, 29], Operations: []
Exploring Operation: 75+29=104, Resulting Numbers: [35, 40, 104]
Generated Node #2: [35, 40, 104] from Operation: 75+29=104
Current State: 91:[35, 40, 104], Operations: ['75+29=104']
Exploring Operation: 35*104=3640, Resulting Numbers: [40, 3640]
Generated Node #3: [40, 3640] from Operation: 35*104=3640
Current State: 91:[40, 3640], Operations: ['75+29=104', '35*104=3640']
Exploring Operation: 3640/40=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[35, 40, 75, 29], Operations: []
Exploring Operation: 40-35=5, Resulting Numbers: [75, 29, 5]
Generated Node #0,0: 91:[75, 29, 5] Operation: 40-35=5
Moving to Node #0,0
Current State: 91:[75, 29, 5], Operations: ['40-35=5']
Exploring Operation: 75+29=104, Resulting Numbers: [5, 104]
Generated Node #0,0,0: 91:[5, 104] Operation: 75+29=104
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[5, 104], Operations: ['40-35=5', '75+29=104']
Exploring Operation: 104-5=99, Resulting Numbers: [99]
99,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
24,
7,
35,
27
] | 21 | [
"24*7=168",
"35-27=8",
"168/8=21"
] | Current State: 21:[24, 7, 35, 27], Operations: []
Exploring Operation: 24*7=168, Resulting Numbers: [35, 27, 168]
Generated Node #2: [35, 27, 168] from Operation: 24*7=168
Current State: 21:[35, 27, 168], Operations: ['24*7=168']
Exploring Operation: 35-27=8, Resulting Numbers: [168, 8]
Generated Node #3: [168, 8] from Operation: 35-27=8
Current State: 21:[168, 8], Operations: ['24*7=168', '35-27=8']
Exploring Operation: 168/8=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[24, 7, 35, 27], Operations: []
Exploring Operation: 35-27=8, Resulting Numbers: [24, 7, 8]
Generated Node #0,0: 21:[24, 7, 8] Operation: 35-27=8
Exploring Operation: 35-24=11, Resulting Numbers: [7, 27, 11]
Generated Node #0,1: 21:[7, 27, 11] Operation: 35-24=11
Exploring Operation: 35/7=5, Resulting Numbers: [24, 27, 5]
Generated Node #0,2: 21:[24, 27, 5] Operation: 35/7=5
Exploring Operation: 27-24=3, Resulting Numbers: [7, 35, 3]
Generated Node #0,3: 21:[7, 35, 3] Operation: 27-24=3
Exploring Operation: 35-7=28, Resulting Numbers: [24, 27, 28]
Generated Node #0,4: 21:[24, 27, 28] Operation: 35-7=28
Moving to Node #0,0
Current State: 21:[24, 7, 8], Operations: ['35-27=8']
Exploring Operation: 24-7=17, Resulting Numbers: [8, 17]
Generated Node #0,0,0: 21:[8, 17] Operation: 24-7=17
Exploring Operation: 8-7=1, Resulting Numbers: [24, 1]
Generated Node #0,0,1: 21:[24, 1] Operation: 8-7=1
Exploring Operation: 7+8=15, Resulting Numbers: [24, 15]
Generated Node #0,0,2: 21:[24, 15] Operation: 7+8=15
Exploring Operation: 24/8=3, Resulting Numbers: [7, 3]
Generated Node #0,0,3: 21:[7, 3] Operation: 24/8=3
Exploring Operation: 24-8=16, Resulting Numbers: [7, 16]
Generated Node #0,0,4: 21:[7, 16] Operation: 24-8=16
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 21:[7, 3], Operations: ['35-27=8', '24/8=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[24, 7, 35, 27], Operations: []
Exploring Operation: 35-27=8, Resulting Numbers: [24, 7, 8]
Generated Node #0,0: 21:[24, 7, 8] Operation: 35-27=8
Moving to Node #0,0
Current State: 21:[24, 7, 8], Operations: ['35-27=8']
Exploring Operation: 24/8=3, Resulting Numbers: [7, 3]
Generated Node #0,0,3: 21:[7, 3] Operation: 24/8=3
Moving to Node #0,0,3
Current State: 21:[7, 3], Operations: ['35-27=8', '24/8=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
7,
24,
56,
93
] | 99 | [
"56/7=8",
"24*8=192",
"192-93=99"
] | Current State: 99:[7, 24, 56, 93], Operations: []
Exploring Operation: 56/7=8, Resulting Numbers: [24, 93, 8]
Generated Node #2: [24, 93, 8] from Operation: 56/7=8
Current State: 99:[24, 93, 8], Operations: ['56/7=8']
Exploring Operation: 24*8=192, Resulting Numbers: [93, 192]
Generated Node #3: [93, 192] from Operation: 24*8=192
Current State: 99:[93, 192], Operations: ['56/7=8', '24*8=192']
Exploring Operation: 192-93=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[7, 24, 56, 93], Operations: []
Exploring Operation: 24+56=80, Resulting Numbers: [7, 93, 80]
Generated Node #0,0: 99:[7, 93, 80] Operation: 24+56=80
Exploring Operation: 93-56=37, Resulting Numbers: [7, 24, 37]
Generated Node #0,1: 99:[7, 24, 37] Operation: 93-56=37
Exploring Operation: 56/7=8, Resulting Numbers: [24, 93, 8]
Generated Node #0,2: 99:[24, 93, 8] Operation: 56/7=8
Exploring Operation: 56-24=32, Resulting Numbers: [7, 93, 32]
Generated Node #0,3: 99:[7, 93, 32] Operation: 56-24=32
Moving to Node #0,3
Current State: 99:[7, 93, 32], Operations: ['56-24=32']
Exploring Operation: 93-7=86, Resulting Numbers: [32, 86]
Generated Node #0,3,0: 99:[32, 86] Operation: 93-7=86
Exploring Operation: 7+32=39, Resulting Numbers: [93, 39]
Generated Node #0,3,1: 99:[93, 39] Operation: 7+32=39
Exploring Operation: 32-7=25, Resulting Numbers: [93, 25]
Generated Node #0,3,2: 99:[93, 25] Operation: 32-7=25
Exploring Operation: 7+93=100, Resulting Numbers: [32, 100]
Generated Node #0,3,3: 99:[32, 100] Operation: 7+93=100
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 99:[32, 100], Operations: ['56-24=32', '7+93=100']
Exploring Operation: 100-32=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Exploring Operation: 32*100=3200, Resulting Numbers: [3200]
3200,99 unequal: No Solution
Exploring Operation: 32+100=132, Resulting Numbers: [132]
132,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,3,1
Current State: 99:[93, 39], Operations: ['56-24=32', '7+32=39']
Exploring Operation: 93+39=132, Resulting Numbers: [132]
132,99 unequal: No Solution
Exploring Operation: 93*39=3627, Resulting Numbers: [3627]
3627,99 unequal: No Solution
Exploring Operation: 93-39=54, Resulting Numbers: [54]
54,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,3,0
Current State: 99:[32, 86], Operations: ['56-24=32', '93-7=86']
Exploring Operation: 32*86=2752, Resulting Numbers: [2752]
2752,99 unequal: No Solution
Exploring Operation: 32+86=118, Resulting Numbers: [118]
118,99 unequal: No Solution
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,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,3,2
Current State: 99:[93, 25], Operations: ['56-24=32', '32-7=25']
Exploring Operation: 93*25=2325, Resulting Numbers: [2325]
2325,99 unequal: No Solution
Exploring Operation: 93-25=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Exploring Operation: 93+25=118, Resulting Numbers: [118]
118,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, 24, 37], Operations: ['93-56=37']
Exploring Operation: 37-7=30, Resulting Numbers: [24, 30]
Generated Node #0,1,0: 99:[24, 30] Operation: 37-7=30
Exploring Operation: 7+24=31, Resulting Numbers: [37, 31]
Generated Node #0,1,1: 99:[37, 31] Operation: 7+24=31
Exploring Operation: 37-24=13, Resulting Numbers: [7, 13]
Generated Node #0,1,2: 99:[7, 13] Operation: 37-24=13
Exploring Operation: 24-7=17, Resulting Numbers: [37, 17]
Generated Node #0,1,3: 99:[37, 17] Operation: 24-7=17
Moving to Node #0,2
Current State: 99:[24, 93, 8], Operations: ['56/7=8']
Exploring Operation: 24+8=32, Resulting Numbers: [93, 32]
Generated Node #0,2,0: 99:[93, 32] Operation: 24+8=32
Exploring Operation: 24-8=16, Resulting Numbers: [93, 16]
Generated Node #0,2,1: 99:[93, 16] Operation: 24-8=16
Exploring Operation: 24/8=3, Resulting Numbers: [93, 3]
Generated Node #0,2,2: 99:[93, 3] Operation: 24/8=3
Exploring Operation: 93+8=101, Resulting Numbers: [24, 101]
Generated Node #0,2,3: 99:[24, 101] Operation: 93+8=101
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 99:[93, 3], Operations: ['56/7=8', '24/8=3']
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,99 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 93*3=279, Resulting Numbers: [279]
279,99 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,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:[93, 32], Operations: ['56/7=8', '24+8=32']
Exploring Operation: 93-32=61, Resulting Numbers: [61]
61,99 unequal: No Solution
Exploring Operation: 93+32=125, Resulting Numbers: [125]
125,99 unequal: No Solution
Exploring Operation: 93*32=2976, Resulting Numbers: [2976]
2976,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:[93, 16], Operations: ['56/7=8', '24-8=16']
Exploring Operation: 93+16=109, Resulting Numbers: [109]
109,99 unequal: No Solution
Exploring Operation: 93-16=77, Resulting Numbers: [77]
77,99 unequal: No Solution
Exploring Operation: 93*16=1488, Resulting Numbers: [1488]
1488,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:[24, 101], Operations: ['56/7=8', '93+8=101']
Exploring Operation: 24*101=2424, Resulting Numbers: [2424]
2424,99 unequal: No Solution
Exploring Operation: 24+101=125, Resulting Numbers: [125]
125,99 unequal: No Solution
Exploring Operation: 101-24=77, Resulting Numbers: [77]
77,99 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: 99:[7, 93, 80], Operations: ['24+56=80']
Exploring Operation: 7+93=100, Resulting Numbers: [80, 100]
Generated Node #0,0,0: 99:[80, 100] Operation: 7+93=100
Exploring Operation: 93-7=86, Resulting Numbers: [80, 86]
Generated Node #0,0,1: 99:[80, 86] Operation: 93-7=86
Exploring Operation: 7+80=87, Resulting Numbers: [93, 87]
Generated Node #0,0,2: 99:[93, 87] Operation: 7+80=87
Exploring Operation: 93-80=13, Resulting Numbers: [7, 13]
Generated Node #0,0,3: 99:[7, 13] Operation: 93-80=13
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 99:[7, 13], Operations: ['24+56=80', '93-80=13']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,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:[93, 87], Operations: ['24+56=80', '7+80=87']
Exploring Operation: 93+87=180, Resulting Numbers: [180]
180,99 unequal: No Solution
Exploring Operation: 93-87=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 93*87=8091, Resulting Numbers: [8091]
8091,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,0
Current State: 99:[80, 100], Operations: ['24+56=80', '7+93=100']
Exploring Operation: 80+100=180, Resulting Numbers: [180]
180,99 unequal: No Solution
Exploring Operation: 100-80=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Exploring Operation: 80*100=8000, Resulting Numbers: [8000]
8000,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:[80, 86], Operations: ['24+56=80', '93-7=86']
Exploring Operation: 80*86=6880, Resulting Numbers: [6880]
6880,99 unequal: No Solution
Exploring Operation: 80+86=166, Resulting Numbers: [166]
166,99 unequal: No Solution
Exploring Operation: 86-80=6, Resulting Numbers: [6]
6,99 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: 99:[7, 13], Operations: ['93-56=37', '37-24=13']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,99 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[37, 31], Operations: ['93-56=37', '7+24=31']
Exploring Operation: 37+31=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Exploring Operation: 37*31=1147, Resulting Numbers: [1147]
1147,99 unequal: No Solution
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Moving to Node #0,1,3
Current State: 99:[37, 17], Operations: ['93-56=37', '24-7=17']
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,99 unequal: No Solution
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,99 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[24, 30], Operations: ['93-56=37', '37-7=30']
Exploring Operation: 24+30=54, Resulting Numbers: [54]
54,99 unequal: No Solution
Exploring Operation: 24*30=720, Resulting Numbers: [720]
720,99 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,99 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
49,
2,
53,
19
] | 87 | [
"49+19=68",
"68/2=34",
"53+34=87"
] | Current State: 87:[49, 2, 53, 19], Operations: []
Exploring Operation: 49+19=68, Resulting Numbers: [2, 53, 68]
Generated Node #2: [2, 53, 68] from Operation: 49+19=68
Current State: 87:[2, 53, 68], Operations: ['49+19=68']
Exploring Operation: 68/2=34, Resulting Numbers: [53, 34]
Generated Node #3: [53, 34] from Operation: 68/2=34
Current State: 87:[53, 34], Operations: ['49+19=68', '68/2=34']
Exploring Operation: 53+34=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[49, 2, 53, 19], Operations: []
Exploring Operation: 49-19=30, Resulting Numbers: [2, 53, 30]
Generated Node #0,0: 87:[2, 53, 30] Operation: 49-19=30
Exploring Operation: 53-19=34, Resulting Numbers: [49, 2, 34]
Generated Node #0,1: 87:[49, 2, 34] Operation: 53-19=34
Exploring Operation: 53-49=4, Resulting Numbers: [2, 19, 4]
Generated Node #0,2: 87:[2, 19, 4] Operation: 53-49=4
Exploring Operation: 49+53=102, Resulting Numbers: [2, 19, 102]
Generated Node #0,3: 87:[2, 19, 102] Operation: 49+53=102
Moving to Node #0,2
Current State: 87:[2, 19, 4], Operations: ['53-49=4']
Exploring Operation: 4-2=2, Resulting Numbers: [19, 2]
Generated Node #0,2,0: 87:[19, 2] Operation: 4-2=2
Exploring Operation: 19+4=23, Resulting Numbers: [2, 23]
Generated Node #0,2,1: 87:[2, 23] Operation: 19+4=23
Exploring Operation: 2*19=38, Resulting Numbers: [4, 38]
Generated Node #0,2,2: 87:[4, 38] Operation: 2*19=38
Exploring Operation: 2+19=21, Resulting Numbers: [4, 21]
Generated Node #0,2,3: 87:[4, 21] Operation: 2+19=21
Moving to Node #0,1
Current State: 87:[49, 2, 34], Operations: ['53-19=34']
Exploring Operation: 49*2=98, Resulting Numbers: [34, 98]
Generated Node #0,1,0: 87:[34, 98] Operation: 49*2=98
Exploring Operation: 49+34=83, Resulting Numbers: [2, 83]
Generated Node #0,1,1: 87:[2, 83] Operation: 49+34=83
Exploring Operation: 49-34=15, Resulting Numbers: [2, 15]
Generated Node #0,1,2: 87:[2, 15] Operation: 49-34=15
Exploring Operation: 49-2=47, Resulting Numbers: [34, 47]
Generated Node #0,1,3: 87:[34, 47] Operation: 49-2=47
Moving to Node #0,0
Current State: 87:[2, 53, 30], Operations: ['49-19=30']
Exploring Operation: 53-30=23, Resulting Numbers: [2, 23]
Generated Node #0,0,0: 87:[2, 23] Operation: 53-30=23
Exploring Operation: 2*53=106, Resulting Numbers: [30, 106]
Generated Node #0,0,1: 87:[30, 106] Operation: 2*53=106
Exploring Operation: 53-2=51, Resulting Numbers: [30, 51]
Generated Node #0,0,2: 87:[30, 51] Operation: 53-2=51
Exploring Operation: 53+30=83, Resulting Numbers: [2, 83]
Generated Node #0,0,3: 87:[2, 83] Operation: 53+30=83
Moving to Node #0,3
Current State: 87:[2, 19, 102], Operations: ['49+53=102']
Exploring Operation: 102-19=83, Resulting Numbers: [2, 83]
Generated Node #0,3,0: 87:[2, 83] Operation: 102-19=83
Exploring Operation: 102-2=100, Resulting Numbers: [19, 100]
Generated Node #0,3,1: 87:[19, 100] Operation: 102-2=100
Exploring Operation: 2+19=21, Resulting Numbers: [102, 21]
Generated Node #0,3,2: 87:[102, 21] Operation: 2+19=21
Exploring Operation: 2*19=38, Resulting Numbers: [102, 38]
Generated Node #0,3,3: 87:[102, 38] Operation: 2*19=38
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 87:[2, 83], Operations: ['49+53=102', '102-19=83']
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,87 unequal: No Solution
Exploring Operation: 2*83=166, Resulting Numbers: [166]
166,87 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 87:[19, 100], Operations: ['49+53=102', '102-2=100']
Exploring Operation: 19+100=119, Resulting Numbers: [119]
119,87 unequal: No Solution
Exploring Operation: 100-19=81, Resulting Numbers: [81]
81,87 unequal: No Solution
Exploring Operation: 19*100=1900, Resulting Numbers: [1900]
1900,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 87:[102, 21], Operations: ['49+53=102', '2+19=21']
Exploring Operation: 102-21=81, Resulting Numbers: [81]
81,87 unequal: No Solution
Exploring Operation: 102*21=2142, Resulting Numbers: [2142]
2142,87 unequal: No Solution
Exploring Operation: 102+21=123, Resulting Numbers: [123]
123,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 87:[102, 38], Operations: ['49+53=102', '2*19=38']
Exploring Operation: 102*38=3876, Resulting Numbers: [3876]
3876,87 unequal: No Solution
Exploring Operation: 102-38=64, Resulting Numbers: [64]
64,87 unequal: No Solution
Exploring Operation: 102+38=140, Resulting Numbers: [140]
140,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 87:[2, 83], Operations: ['53-19=34', '49+34=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,87 unequal: No Solution
Exploring Operation: 2*83=166, Resulting Numbers: [166]
166,87 unequal: No Solution
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[2, 83], Operations: ['49-19=30', '53+30=83']
Exploring Operation: 2*83=166, Resulting Numbers: [166]
166,87 unequal: No Solution
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,87 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[2, 23], Operations: ['49-19=30', '53-30=23']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[2, 23], Operations: ['53-49=4', '19+4=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,87 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Moving to Node #0,2,3
Current State: 87:[4, 21], Operations: ['53-49=4', '2+19=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,87 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[4, 38], Operations: ['53-49=4', '2*19=38']
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[19, 2], Operations: ['53-49=4', '4-2=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[2, 15], Operations: ['53-19=34', '49-34=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,87 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[34, 98], Operations: ['53-19=34', '49*2=98']
Exploring Operation: 34*98=3332, Resulting Numbers: [3332]
3332,87 unequal: No Solution
Exploring Operation: 98-34=64, Resulting Numbers: [64]
64,87 unequal: No Solution
Exploring Operation: 34+98=132, Resulting Numbers: [132]
132,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[30, 106], Operations: ['49-19=30', '2*53=106']
Exploring Operation: 30*106=3180, Resulting Numbers: [3180]
3180,87 unequal: No Solution
Exploring Operation: 30+106=136, Resulting Numbers: [136]
136,87 unequal: No Solution
Exploring Operation: 106-30=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[30, 51], Operations: ['49-19=30', '53-2=51']
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 30+51=81, Resulting Numbers: [81]
81,87 unequal: No Solution
Exploring Operation: 30*51=1530, Resulting Numbers: [1530]
1530,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[34, 47], Operations: ['53-19=34', '49-2=47']
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 34*47=1598, Resulting Numbers: [1598]
1598,87 unequal: No Solution
Exploring Operation: 34+47=81, Resulting Numbers: [81]
81,87 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
56,
98,
10,
9
] | 42 | [
"98-56=42",
"10-9=1",
"42*1=42"
] | Current State: 42:[56, 98, 10, 9], Operations: []
Exploring Operation: 98-56=42, Resulting Numbers: [10, 9, 42]
Generated Node #2: [10, 9, 42] from Operation: 98-56=42
Current State: 42:[10, 9, 42], Operations: ['98-56=42']
Exploring Operation: 10-9=1, Resulting Numbers: [42, 1]
Generated Node #3: [42, 1] from Operation: 10-9=1
Current State: 42:[42, 1], Operations: ['98-56=42', '10-9=1']
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[56, 98, 10, 9], Operations: []
Exploring Operation: 56-9=47, Resulting Numbers: [98, 10, 47]
Generated Node #0,0: 42:[98, 10, 47] Operation: 56-9=47
Exploring Operation: 98-56=42, Resulting Numbers: [10, 9, 42]
Generated Node #0,1: 42:[10, 9, 42] Operation: 98-56=42
Exploring Operation: 98-9=89, Resulting Numbers: [56, 10, 89]
Generated Node #0,2: 42:[56, 10, 89] Operation: 98-9=89
Exploring Operation: 56-10=46, Resulting Numbers: [98, 9, 46]
Generated Node #0,3: 42:[98, 9, 46] Operation: 56-10=46
Exploring Operation: 98-10=88, Resulting Numbers: [56, 9, 88]
Generated Node #0,4: 42:[56, 9, 88] Operation: 98-10=88
Moving to Node #0,1
Current State: 42:[10, 9, 42], Operations: ['98-56=42']
Exploring Operation: 9+42=51, Resulting Numbers: [10, 51]
Generated Node #0,1,0: 42:[10, 51] Operation: 9+42=51
Exploring Operation: 10-9=1, Resulting Numbers: [42, 1]
Generated Node #0,1,1: 42:[42, 1] Operation: 10-9=1
Exploring Operation: 10+9=19, Resulting Numbers: [42, 19]
Generated Node #0,1,2: 42:[42, 19] Operation: 10+9=19
Exploring Operation: 10+42=52, Resulting Numbers: [9, 52]
Generated Node #0,1,3: 42:[9, 52] Operation: 10+42=52
Exploring Operation: 42-10=32, Resulting Numbers: [9, 32]
Generated Node #0,1,4: 42:[9, 32] Operation: 42-10=32
Moving to Node #0,4
Current State: 42:[56, 9, 88], Operations: ['98-10=88']
Exploring Operation: 9+88=97, Resulting Numbers: [56, 97]
Generated Node #0,4,0: 42:[56, 97] Operation: 9+88=97
Exploring Operation: 88-56=32, Resulting Numbers: [9, 32]
Generated Node #0,4,1: 42:[9, 32] Operation: 88-56=32
Exploring Operation: 88-9=79, Resulting Numbers: [56, 79]
Generated Node #0,4,2: 42:[56, 79] Operation: 88-9=79
Exploring Operation: 56+9=65, Resulting Numbers: [88, 65]
Generated Node #0,4,3: 42:[88, 65] Operation: 56+9=65
Exploring Operation: 56-9=47, Resulting Numbers: [88, 47]
Generated Node #0,4,4: 42:[88, 47] Operation: 56-9=47
Moving to Node #0,3
Current State: 42:[98, 9, 46], Operations: ['56-10=46']
Exploring Operation: 98+9=107, Resulting Numbers: [46, 107]
Generated Node #0,3,0: 42:[46, 107] Operation: 98+9=107
Exploring Operation: 98-46=52, Resulting Numbers: [9, 52]
Generated Node #0,3,1: 42:[9, 52] Operation: 98-46=52
Exploring Operation: 9+46=55, Resulting Numbers: [98, 55]
Generated Node #0,3,2: 42:[98, 55] Operation: 9+46=55
Exploring Operation: 98-9=89, Resulting Numbers: [46, 89]
Generated Node #0,3,3: 42:[46, 89] Operation: 98-9=89
Exploring Operation: 46-9=37, Resulting Numbers: [98, 37]
Generated Node #0,3,4: 42:[98, 37] Operation: 46-9=37
Moving to Node #0,0
Current State: 42:[98, 10, 47], Operations: ['56-9=47']
Exploring Operation: 98+10=108, Resulting Numbers: [47, 108]
Generated Node #0,0,0: 42:[47, 108] Operation: 98+10=108
Exploring Operation: 47-10=37, Resulting Numbers: [98, 37]
Generated Node #0,0,1: 42:[98, 37] Operation: 47-10=37
Exploring Operation: 98-10=88, Resulting Numbers: [47, 88]
Generated Node #0,0,2: 42:[47, 88] Operation: 98-10=88
Exploring Operation: 10+47=57, Resulting Numbers: [98, 57]
Generated Node #0,0,3: 42:[98, 57] Operation: 10+47=57
Exploring Operation: 98-47=51, Resulting Numbers: [10, 51]
Generated Node #0,0,4: 42:[10, 51] Operation: 98-47=51
Moving to Node #0,2
Current State: 42:[56, 10, 89], Operations: ['98-9=89']
Exploring Operation: 89-10=79, Resulting Numbers: [56, 79]
Generated Node #0,2,0: 42:[56, 79] Operation: 89-10=79
Exploring Operation: 89-56=33, Resulting Numbers: [10, 33]
Generated Node #0,2,1: 42:[10, 33] Operation: 89-56=33
Exploring Operation: 56-10=46, Resulting Numbers: [89, 46]
Generated Node #0,2,2: 42:[89, 46] Operation: 56-10=46
Exploring Operation: 10+89=99, Resulting Numbers: [56, 99]
Generated Node #0,2,3: 42:[56, 99] Operation: 10+89=99
Exploring Operation: 56+10=66, Resulting Numbers: [89, 66]
Generated Node #0,2,4: 42:[89, 66] Operation: 56+10=66
Moving to Node #0,1,1
Current State: 42:[42, 1], Operations: ['98-56=42', '10-9=1']
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[56, 98, 10, 9], Operations: []
Exploring Operation: 98-56=42, Resulting Numbers: [10, 9, 42]
Generated Node #0,1: 42:[10, 9, 42] Operation: 98-56=42
Moving to Node #0,1
Current State: 42:[10, 9, 42], Operations: ['98-56=42']
Exploring Operation: 10-9=1, Resulting Numbers: [42, 1]
Generated Node #0,1,1: 42:[42, 1] Operation: 10-9=1
Moving to Node #0,1,1
Current State: 42:[42, 1], Operations: ['98-56=42', '10-9=1']
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.969618 | hs_5 | mult_heuristic |
[
96,
14,
19,
93
] | 36 | [
"96+14=110",
"93-19=74",
"110-74=36"
] | Current State: 36:[96, 14, 19, 93], Operations: []
Exploring Operation: 96+14=110, Resulting Numbers: [19, 93, 110]
Generated Node #2: [19, 93, 110] from Operation: 96+14=110
Current State: 36:[19, 93, 110], Operations: ['96+14=110']
Exploring Operation: 93-19=74, Resulting Numbers: [110, 74]
Generated Node #3: [110, 74] from Operation: 93-19=74
Current State: 36:[110, 74], Operations: ['96+14=110', '93-19=74']
Exploring Operation: 110-74=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[96, 14, 19, 93], Operations: []
Exploring Operation: 96-93=3, Resulting Numbers: [14, 19, 3]
Generated Node #0,0: 36:[14, 19, 3] Operation: 96-93=3
Exploring Operation: 96-19=77, Resulting Numbers: [14, 93, 77]
Generated Node #0,1: 36:[14, 93, 77] Operation: 96-19=77
Moving to Node #0,0
Current State: 36:[14, 19, 3], Operations: ['96-93=3']
Exploring Operation: 19-14=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 36:[3, 5] Operation: 19-14=5
Exploring Operation: 14+3=17, Resulting Numbers: [19, 17]
Generated Node #0,0,1: 36:[19, 17] Operation: 14+3=17
Moving to Node #0,1
Current State: 36:[14, 93, 77], Operations: ['96-19=77']
Exploring Operation: 93-14=79, Resulting Numbers: [77, 79]
Generated Node #0,1,0: 36:[77, 79] Operation: 93-14=79
Exploring Operation: 93-77=16, Resulting Numbers: [14, 16]
Generated Node #0,1,1: 36:[14, 16] Operation: 93-77=16
Moving to Node #0,0,0
Current State: 36:[3, 5], Operations: ['96-93=3', '19-14=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[19, 17], Operations: ['96-93=3', '14+3=17']
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[96, 14, 19, 93], Operations: []
Exploring Operation: 96-93=3, Resulting Numbers: [14, 19, 3]
Generated Node #0,0: 36:[14, 19, 3] Operation: 96-93=3
Moving to Node #0,0
Current State: 36:[14, 19, 3], Operations: ['96-93=3']
Exploring Operation: 14+3=17, Resulting Numbers: [19, 17]
Generated Node #0,0,1: 36:[19, 17] Operation: 14+3=17
Moving to Node #0,0,1
Current State: 36:[19, 17], Operations: ['96-93=3', '14+3=17']
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.988715 | hs_2 | sum_heuristic |
[
82,
76,
64,
28
] | 98 | [
"82-76=6",
"64+28=92",
"6+92=98"
] | Current State: 98:[82, 76, 64, 28], Operations: []
Exploring Operation: 82-76=6, Resulting Numbers: [64, 28, 6]
Generated Node #2: [64, 28, 6] from Operation: 82-76=6
Current State: 98:[64, 28, 6], Operations: ['82-76=6']
Exploring Operation: 64+28=92, Resulting Numbers: [6, 92]
Generated Node #3: [6, 92] from Operation: 64+28=92
Current State: 98:[6, 92], Operations: ['82-76=6', '64+28=92']
Exploring Operation: 6+92=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[82, 76, 64, 28], Operations: []
Exploring Operation: 76-64=12, Resulting Numbers: [82, 28, 12]
Generated Node #0,0: 98:[82, 28, 12] Operation: 76-64=12
Exploring Operation: 76+28=104, Resulting Numbers: [82, 64, 104]
Generated Node #0,1: 98:[82, 64, 104] Operation: 76+28=104
Exploring Operation: 76-28=48, Resulting Numbers: [82, 64, 48]
Generated Node #0,2: 98:[82, 64, 48] Operation: 76-28=48
Exploring Operation: 82-76=6, Resulting Numbers: [64, 28, 6]
Generated Node #0,3: 98:[64, 28, 6] Operation: 82-76=6
Moving to Node #0,3
Current State: 98:[64, 28, 6], Operations: ['82-76=6']
Exploring Operation: 64-28=36, Resulting Numbers: [6, 36]
Generated Node #0,3,0: 98:[6, 36] Operation: 64-28=36
Exploring Operation: 64-6=58, Resulting Numbers: [28, 58]
Generated Node #0,3,1: 98:[28, 58] Operation: 64-6=58
Exploring Operation: 64+28=92, Resulting Numbers: [6, 92]
Generated Node #0,3,2: 98:[6, 92] Operation: 64+28=92
Exploring Operation: 28-6=22, Resulting Numbers: [64, 22]
Generated Node #0,3,3: 98:[64, 22] Operation: 28-6=22
Moving to Node #0,2
Current State: 98:[82, 64, 48], Operations: ['76-28=48']
Exploring Operation: 82-64=18, Resulting Numbers: [48, 18]
Generated Node #0,2,0: 98:[48, 18] Operation: 82-64=18
Exploring Operation: 82-48=34, Resulting Numbers: [64, 34]
Generated Node #0,2,1: 98:[64, 34] Operation: 82-48=34
Exploring Operation: 64-48=16, Resulting Numbers: [82, 16]
Generated Node #0,2,2: 98:[82, 16] Operation: 64-48=16
Exploring Operation: 64+48=112, Resulting Numbers: [82, 112]
Generated Node #0,2,3: 98:[82, 112] Operation: 64+48=112
Moving to Node #0,0
Current State: 98:[82, 28, 12], Operations: ['76-64=12']
Exploring Operation: 28-12=16, Resulting Numbers: [82, 16]
Generated Node #0,0,0: 98:[82, 16] Operation: 28-12=16
Exploring Operation: 82+12=94, Resulting Numbers: [28, 94]
Generated Node #0,0,1: 98:[28, 94] Operation: 82+12=94
Exploring Operation: 82+28=110, Resulting Numbers: [12, 110]
Generated Node #0,0,2: 98:[12, 110] Operation: 82+28=110
Exploring Operation: 82-28=54, Resulting Numbers: [12, 54]
Generated Node #0,0,3: 98:[12, 54] Operation: 82-28=54
Moving to Node #0,1
Current State: 98:[82, 64, 104], Operations: ['76+28=104']
Exploring Operation: 104-64=40, Resulting Numbers: [82, 40]
Generated Node #0,1,0: 98:[82, 40] Operation: 104-64=40
Exploring Operation: 82+64=146, Resulting Numbers: [104, 146]
Generated Node #0,1,1: 98:[104, 146] Operation: 82+64=146
Exploring Operation: 104-82=22, Resulting Numbers: [64, 22]
Generated Node #0,1,2: 98:[64, 22] Operation: 104-82=22
Exploring Operation: 82-64=18, Resulting Numbers: [104, 18]
Generated Node #0,1,3: 98:[104, 18] Operation: 82-64=18
Moving to Node #0,2,0
Current State: 98:[48, 18], Operations: ['76-28=48', '82-64=18']
Exploring Operation: 48+18=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 48*18=864, Resulting Numbers: [864]
864,98 unequal: No Solution
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,98 unequal: No Solution
Moving to Node #0,3,2
Current State: 98:[6, 92], Operations: ['82-76=6', '64+28=92']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,98 unequal: No Solution
Exploring Operation: 6+92=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[82, 76, 64, 28], Operations: []
Exploring Operation: 82-76=6, Resulting Numbers: [64, 28, 6]
Generated Node #0,3: 98:[64, 28, 6] Operation: 82-76=6
Moving to Node #0,3
Current State: 98:[64, 28, 6], Operations: ['82-76=6']
Exploring Operation: 64+28=92, Resulting Numbers: [6, 92]
Generated Node #0,3,2: 98:[6, 92] Operation: 64+28=92
Moving to Node #0,3,2
Current State: 98:[6, 92], Operations: ['82-76=6', '64+28=92']
Exploring Operation: 6+92=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.974826 | hs_4 | sum_heuristic |
[
6,
59,
62,
66
] | 75 | [
"59-6=53",
"62+66=128",
"128-53=75"
] | Current State: 75:[6, 59, 62, 66], Operations: []
Exploring Operation: 59-6=53, Resulting Numbers: [62, 66, 53]
Generated Node #2: [62, 66, 53] from Operation: 59-6=53
Current State: 75:[62, 66, 53], Operations: ['59-6=53']
Exploring Operation: 62+66=128, Resulting Numbers: [53, 128]
Generated Node #3: [53, 128] from Operation: 62+66=128
Current State: 75:[53, 128], Operations: ['59-6=53', '62+66=128']
Exploring Operation: 128-53=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[6, 59, 62, 66], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [6, 59, 4]
Generated Node #0,0: 75:[6, 59, 4] Operation: 66-62=4
Exploring Operation: 66-59=7, Resulting Numbers: [6, 62, 7]
Generated Node #0,1: 75:[6, 62, 7] Operation: 66-59=7
Exploring Operation: 62-59=3, Resulting Numbers: [6, 66, 3]
Generated Node #0,2: 75:[6, 66, 3] Operation: 62-59=3
Moving to Node #0,2
Current State: 75:[6, 66, 3], Operations: ['62-59=3']
Exploring Operation: 66/6=11, Resulting Numbers: [3, 11]
Generated Node #0,2,0: 75:[3, 11] Operation: 66/6=11
Exploring Operation: 6+66=72, Resulting Numbers: [3, 72]
Generated Node #0,2,1: 75:[3, 72] Operation: 6+66=72
Exploring Operation: 66/3=22, Resulting Numbers: [6, 22]
Generated Node #0,2,2: 75:[6, 22] Operation: 66/3=22
Moving to Node #0,1
Current State: 75:[6, 62, 7], Operations: ['66-59=7']
Exploring Operation: 6+62=68, Resulting Numbers: [7, 68]
Generated Node #0,1,0: 75:[7, 68] Operation: 6+62=68
Exploring Operation: 62+7=69, Resulting Numbers: [6, 69]
Generated Node #0,1,1: 75:[6, 69] Operation: 62+7=69
Exploring Operation: 6+7=13, Resulting Numbers: [62, 13]
Generated Node #0,1,2: 75:[62, 13] Operation: 6+7=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[6, 69], Operations: ['66-59=7', '62+7=69']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 6*69=414, Resulting Numbers: [414]
414,75 unequal: No Solution
Exploring Operation: 6+69=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[6, 59, 62, 66], Operations: []
Exploring Operation: 66-59=7, Resulting Numbers: [6, 62, 7]
Generated Node #0,1: 75:[6, 62, 7] Operation: 66-59=7
Moving to Node #0,1
Current State: 75:[6, 62, 7], Operations: ['66-59=7']
Exploring Operation: 62+7=69, Resulting Numbers: [6, 69]
Generated Node #0,1,1: 75:[6, 69] Operation: 62+7=69
Moving to Node #0,1,1
Current State: 75:[6, 69], Operations: ['66-59=7', '62+7=69']
Exploring Operation: 6+69=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
10,
96,
14,
59
] | 35 | [
"14-10=4",
"96/4=24",
"59-24=35"
] | Current State: 35:[10, 96, 14, 59], Operations: []
Exploring Operation: 14-10=4, Resulting Numbers: [96, 59, 4]
Generated Node #2: [96, 59, 4] from Operation: 14-10=4
Current State: 35:[96, 59, 4], Operations: ['14-10=4']
Exploring Operation: 96/4=24, Resulting Numbers: [59, 24]
Generated Node #3: [59, 24] from Operation: 96/4=24
Current State: 35:[59, 24], Operations: ['14-10=4', '96/4=24']
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[10, 96, 14, 59], Operations: []
Exploring Operation: 96-59=37, Resulting Numbers: [10, 14, 37]
Generated Node #0,0: 35:[10, 14, 37] Operation: 96-59=37
Exploring Operation: 96-14=82, Resulting Numbers: [10, 59, 82]
Generated Node #0,1: 35:[10, 59, 82] Operation: 96-14=82
Exploring Operation: 59-14=45, Resulting Numbers: [10, 96, 45]
Generated Node #0,2: 35:[10, 96, 45] Operation: 59-14=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[10, 14, 37], Operations: ['96-59=37']
Exploring Operation: 37-10=27, Resulting Numbers: [14, 27]
Generated Node #0,0,0: 35:[14, 27] Operation: 37-10=27
Exploring Operation: 10+14=24, Resulting Numbers: [37, 24]
Generated Node #0,0,1: 35:[37, 24] Operation: 10+14=24
Exploring Operation: 14-10=4, Resulting Numbers: [37, 4]
Generated Node #0,0,2: 35:[37, 4] Operation: 14-10=4
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 35:[37, 4], Operations: ['96-59=37', '14-10=4']
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,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,0,1
Current State: 35:[37, 24], Operations: ['96-59=37', '10+14=24']
Exploring Operation: 37*24=888, Resulting Numbers: [888]
888,35 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,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,0,0
Current State: 35:[14, 27], Operations: ['96-59=37', '37-10=27']
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,35 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,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,1
Current State: 35:[10, 59, 82], Operations: ['96-14=82']
Exploring Operation: 82-10=72, Resulting Numbers: [59, 72]
Generated Node #0,1,0: 35:[59, 72] Operation: 82-10=72
Exploring Operation: 59-10=49, Resulting Numbers: [82, 49]
Generated Node #0,1,1: 35:[82, 49] Operation: 59-10=49
Exploring Operation: 82-59=23, Resulting Numbers: [10, 23]
Generated Node #0,1,2: 35:[10, 23] Operation: 82-59=23
Moving to Node #0,1,2
Current State: 35:[10, 23], Operations: ['96-14=82', '82-59=23']
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,35 unequal: No Solution
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[59, 72], Operations: ['96-14=82', '82-10=72']
Exploring Operation: 72-59=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 59*72=4248, Resulting Numbers: [4248]
4248,35 unequal: No Solution
Exploring Operation: 59+72=131, Resulting Numbers: [131]
131,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[82, 49], Operations: ['96-14=82', '59-10=49']
Exploring Operation: 82-49=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 82*49=4018, Resulting Numbers: [4018]
4018,35 unequal: No Solution
Exploring Operation: 82+49=131, Resulting Numbers: [131]
131,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,2
Current State: 35:[10, 96, 45], Operations: ['59-14=45']
Exploring Operation: 96-45=51, Resulting Numbers: [10, 51]
Generated Node #0,2,0: 35:[10, 51] Operation: 96-45=51
Exploring Operation: 96-10=86, Resulting Numbers: [45, 86]
Generated Node #0,2,1: 35:[45, 86] Operation: 96-10=86
Exploring Operation: 45-10=35, Resulting Numbers: [96, 35]
Generated Node #0,2,2: 35:[96, 35] Operation: 45-10=35
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 35:[10, 51], Operations: ['59-14=45', '96-45=51']
Exploring Operation: 10*51=510, Resulting Numbers: [510]
510,35 unequal: No Solution
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 10+51=61, Resulting Numbers: [61]
61,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:[45, 86], Operations: ['59-14=45', '96-10=86']
Exploring Operation: 86-45=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 45*86=3870, Resulting Numbers: [3870]
3870,35 unequal: No Solution
Exploring Operation: 45+86=131, Resulting Numbers: [131]
131,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,2
Current State: 35:[96, 35], Operations: ['59-14=45', '45-10=35']
Exploring Operation: 96-35=61, Resulting Numbers: [61]
61,35 unequal: No Solution
Exploring Operation: 96*35=3360, Resulting Numbers: [3360]
3360,35 unequal: No Solution
Exploring Operation: 96+35=131, Resulting Numbers: [131]
131,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
No solution found.
| 0 | hs_3 | mult_heuristic |
[
36,
69,
57,
55
] | 87 | [
"57-55=2",
"36/2=18",
"69+18=87"
] | Current State: 87:[36, 69, 57, 55], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [36, 69, 2]
Generated Node #2: [36, 69, 2] from Operation: 57-55=2
Current State: 87:[36, 69, 2], Operations: ['57-55=2']
Exploring Operation: 36/2=18, Resulting Numbers: [69, 18]
Generated Node #3: [69, 18] from Operation: 36/2=18
Current State: 87:[69, 18], Operations: ['57-55=2', '36/2=18']
Exploring Operation: 69+18=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[36, 69, 57, 55], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [36, 69, 2]
Generated Node #0,0: 87:[36, 69, 2] Operation: 57-55=2
Exploring Operation: 69-57=12, Resulting Numbers: [36, 55, 12]
Generated Node #0,1: 87:[36, 55, 12] Operation: 69-57=12
Exploring Operation: 36+57=93, Resulting Numbers: [69, 55, 93]
Generated Node #0,2: 87:[69, 55, 93] Operation: 36+57=93
Exploring Operation: 36+55=91, Resulting Numbers: [69, 57, 91]
Generated Node #0,3: 87:[69, 57, 91] Operation: 36+55=91
Exploring Operation: 69-55=14, Resulting Numbers: [36, 57, 14]
Generated Node #0,4: 87:[36, 57, 14] Operation: 69-55=14
Moving to Node #0,0
Current State: 87:[36, 69, 2], Operations: ['57-55=2']
Exploring Operation: 36+2=38, Resulting Numbers: [69, 38]
Generated Node #0,0,0: 87:[69, 38] Operation: 36+2=38
Exploring Operation: 69-36=33, Resulting Numbers: [2, 33]
Generated Node #0,0,1: 87:[2, 33] Operation: 69-36=33
Exploring Operation: 69+2=71, Resulting Numbers: [36, 71]
Generated Node #0,0,2: 87:[36, 71] Operation: 69+2=71
Exploring Operation: 36-2=34, Resulting Numbers: [69, 34]
Generated Node #0,0,3: 87:[69, 34] Operation: 36-2=34
Exploring Operation: 36+69=105, Resulting Numbers: [2, 105]
Generated Node #0,0,4: 87:[2, 105] Operation: 36+69=105
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[2, 33], Operations: ['57-55=2', '69-36=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,87 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 87:[2, 105], Operations: ['57-55=2', '36+69=105']
Exploring Operation: 2*105=210, Resulting Numbers: [210]
210,87 unequal: No Solution
Exploring Operation: 2+105=107, Resulting Numbers: [107]
107,87 unequal: No Solution
Exploring Operation: 105-2=103, Resulting Numbers: [103]
103,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 87:[36, 71], Operations: ['57-55=2', '69+2=71']
Exploring Operation: 36+71=107, Resulting Numbers: [107]
107,87 unequal: No Solution
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 36*71=2556, Resulting Numbers: [2556]
2556,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 87:[69, 34], Operations: ['57-55=2', '36-2=34']
Exploring Operation: 69+34=103, Resulting Numbers: [103]
103,87 unequal: No Solution
Exploring Operation: 69-34=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 69*34=2346, Resulting Numbers: [2346]
2346,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[69, 38], Operations: ['57-55=2', '36+2=38']
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 69*38=2622, Resulting Numbers: [2622]
2622,87 unequal: No Solution
Exploring Operation: 69+38=107, Resulting Numbers: [107]
107,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 87:[36, 55, 12], Operations: ['69-57=12']
Exploring Operation: 55-12=43, Resulting Numbers: [36, 43]
Generated Node #0,1,0: 87:[36, 43] Operation: 55-12=43
Exploring Operation: 55+12=67, Resulting Numbers: [36, 67]
Generated Node #0,1,1: 87:[36, 67] Operation: 55+12=67
Exploring Operation: 55-36=19, Resulting Numbers: [12, 19]
Generated Node #0,1,2: 87:[12, 19] Operation: 55-36=19
Exploring Operation: 36+55=91, Resulting Numbers: [12, 91]
Generated Node #0,1,3: 87:[12, 91] Operation: 36+55=91
Exploring Operation: 36/12=3, Resulting Numbers: [55, 3]
Generated Node #0,1,4: 87:[55, 3] Operation: 36/12=3
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 87:[12, 91], Operations: ['69-57=12', '36+55=91']
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,87 unequal: No Solution
Exploring Operation: 12+91=103, Resulting Numbers: [103]
103,87 unequal: No Solution
Exploring Operation: 12*91=1092, Resulting Numbers: [1092]
1092,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 87:[12, 19], Operations: ['69-57=12', '55-36=19']
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 12*19=228, Resulting Numbers: [228]
228,87 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[36, 43], Operations: ['69-57=12', '55-12=43']
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 36*43=1548, Resulting Numbers: [1548]
1548,87 unequal: No Solution
Exploring Operation: 36+43=79, Resulting Numbers: [79]
79,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 87:[55, 3], Operations: ['69-57=12', '36/12=3']
Exploring Operation: 55*3=165, Resulting Numbers: [165]
165,87 unequal: No Solution
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[36, 67], Operations: ['69-57=12', '55+12=67']
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 36+67=103, Resulting Numbers: [103]
103,87 unequal: No Solution
Exploring Operation: 36*67=2412, Resulting Numbers: [2412]
2412,87 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: 87:[36, 57, 14], Operations: ['69-55=14']
Exploring Operation: 36-14=22, Resulting Numbers: [57, 22]
Generated Node #0,4,0: 87:[57, 22] Operation: 36-14=22
Exploring Operation: 57+14=71, Resulting Numbers: [36, 71]
Generated Node #0,4,1: 87:[36, 71] Operation: 57+14=71
Exploring Operation: 57-14=43, Resulting Numbers: [36, 43]
Generated Node #0,4,2: 87:[36, 43] Operation: 57-14=43
Exploring Operation: 57-36=21, Resulting Numbers: [14, 21]
Generated Node #0,4,3: 87:[14, 21] Operation: 57-36=21
Exploring Operation: 36+57=93, Resulting Numbers: [14, 93]
Generated Node #0,4,4: 87:[14, 93] Operation: 36+57=93
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 87:[14, 93], Operations: ['69-55=14', '36+57=93']
Exploring Operation: 14*93=1302, Resulting Numbers: [1302]
1302,87 unequal: No Solution
Exploring Operation: 14+93=107, Resulting Numbers: [107]
107,87 unequal: No Solution
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 87:[14, 21], Operations: ['69-55=14', '57-36=21']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 87:[36, 43], Operations: ['69-55=14', '57-14=43']
Exploring Operation: 36+43=79, Resulting Numbers: [79]
79,87 unequal: No Solution
Exploring Operation: 36*43=1548, Resulting Numbers: [1548]
1548,87 unequal: No Solution
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 87:[36, 71], Operations: ['69-55=14', '57+14=71']
Exploring Operation: 36*71=2556, Resulting Numbers: [2556]
2556,87 unequal: No Solution
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 36+71=107, Resulting Numbers: [107]
107,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 87:[57, 22], Operations: ['69-55=14', '36-14=22']
Exploring Operation: 57+22=79, Resulting Numbers: [79]
79,87 unequal: No Solution
Exploring Operation: 57*22=1254, Resulting Numbers: [1254]
1254,87 unequal: No Solution
Exploring Operation: 57-22=35, Resulting Numbers: [35]
35,87 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: 87:[69, 55, 93], Operations: ['36+57=93']
Exploring Operation: 93-55=38, Resulting Numbers: [69, 38]
Generated Node #0,2,0: 87:[69, 38] Operation: 93-55=38
Exploring Operation: 69+55=124, Resulting Numbers: [93, 124]
Generated Node #0,2,1: 87:[93, 124] Operation: 69+55=124
Exploring Operation: 93-69=24, Resulting Numbers: [55, 24]
Generated Node #0,2,2: 87:[55, 24] Operation: 93-69=24
Exploring Operation: 69-55=14, Resulting Numbers: [93, 14]
Generated Node #0,2,3: 87:[93, 14] Operation: 69-55=14
Exploring Operation: 55+93=148, Resulting Numbers: [69, 148]
Generated Node #0,2,4: 87:[69, 148] Operation: 55+93=148
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 87:[93, 14], Operations: ['36+57=93', '69-55=14']
Exploring Operation: 93*14=1302, Resulting Numbers: [1302]
1302,87 unequal: No Solution
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,87 unequal: No Solution
Exploring Operation: 93+14=107, Resulting Numbers: [107]
107,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 87:[69, 38], Operations: ['36+57=93', '93-55=38']
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 69+38=107, Resulting Numbers: [107]
107,87 unequal: No Solution
Exploring Operation: 69*38=2622, Resulting Numbers: [2622]
2622,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 87:[55, 24], Operations: ['36+57=93', '93-69=24']
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 55*24=1320, Resulting Numbers: [1320]
1320,87 unequal: No Solution
Exploring Operation: 55+24=79, Resulting Numbers: [79]
79,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[93, 124], Operations: ['36+57=93', '69+55=124']
Exploring Operation: 124-93=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 93*124=11532, Resulting Numbers: [11532]
11532,87 unequal: No Solution
Exploring Operation: 93+124=217, Resulting Numbers: [217]
217,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 87:[69, 148], Operations: ['36+57=93', '55+93=148']
Exploring Operation: 69*148=10212, Resulting Numbers: [10212]
10212,87 unequal: No Solution
Exploring Operation: 148-69=79, Resulting Numbers: [79]
79,87 unequal: No Solution
Exploring Operation: 69+148=217, Resulting Numbers: [217]
217,87 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: 87:[69, 57, 91], Operations: ['36+55=91']
Exploring Operation: 57+91=148, Resulting Numbers: [69, 148]
Generated Node #0,3,0: 87:[69, 148] Operation: 57+91=148
Exploring Operation: 69+57=126, Resulting Numbers: [91, 126]
Generated Node #0,3,1: 87:[91, 126] Operation: 69+57=126
Exploring Operation: 69-57=12, Resulting Numbers: [91, 12]
Generated Node #0,3,2: 87:[91, 12] Operation: 69-57=12
Exploring Operation: 91-57=34, Resulting Numbers: [69, 34]
Generated Node #0,3,3: 87:[69, 34] Operation: 91-57=34
Exploring Operation: 91-69=22, Resulting Numbers: [57, 22]
Generated Node #0,3,4: 87:[57, 22] Operation: 91-69=22
Moving to Node #0,3,2
Current State: 87:[91, 12], Operations: ['36+55=91', '69-57=12']
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,87 unequal: No Solution
Exploring Operation: 91+12=103, Resulting Numbers: [103]
103,87 unequal: No Solution
Exploring Operation: 91*12=1092, Resulting Numbers: [1092]
1092,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[69, 34], Operations: ['36+55=91', '91-57=34']
Exploring Operation: 69*34=2346, Resulting Numbers: [2346]
2346,87 unequal: No Solution
Exploring Operation: 69+34=103, Resulting Numbers: [103]
103,87 unequal: No Solution
Exploring Operation: 69-34=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Moving to Node #0,3,4
Current State: 87:[57, 22], Operations: ['36+55=91', '91-69=22']
Exploring Operation: 57+22=79, Resulting Numbers: [79]
79,87 unequal: No Solution
Exploring Operation: 57-22=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 57*22=1254, Resulting Numbers: [1254]
1254,87 unequal: No Solution
Moving to Node #0,3,1
Current State: 87:[91, 126], Operations: ['36+55=91', '69+57=126']
Exploring Operation: 91*126=11466, Resulting Numbers: [11466]
11466,87 unequal: No Solution
Exploring Operation: 126-91=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 91+126=217, Resulting Numbers: [217]
217,87 unequal: No Solution
Moving to Node #0,3,0
Current State: 87:[69, 148], Operations: ['36+55=91', '57+91=148']
Exploring Operation: 69+148=217, Resulting Numbers: [217]
217,87 unequal: No Solution
Exploring Operation: 148-69=79, Resulting Numbers: [79]
79,87 unequal: No Solution
Exploring Operation: 69*148=10212, Resulting Numbers: [10212]
10212,87 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
90,
15,
62,
7
] | 91 | [
"90-15=75",
"75-62=13",
"7*13=91"
] | Current State: 91:[90, 15, 62, 7], Operations: []
Exploring Operation: 90-15=75, Resulting Numbers: [62, 7, 75]
Generated Node #2: [62, 7, 75] from Operation: 90-15=75
Current State: 91:[62, 7, 75], Operations: ['90-15=75']
Exploring Operation: 75-62=13, Resulting Numbers: [7, 13]
Generated Node #3: [7, 13] from Operation: 75-62=13
Current State: 91:[7, 13], Operations: ['90-15=75', '75-62=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[90, 15, 62, 7], Operations: []
Exploring Operation: 90-62=28, Resulting Numbers: [15, 7, 28]
Generated Node #0,0: 91:[15, 7, 28] Operation: 90-62=28
Exploring Operation: 15+62=77, Resulting Numbers: [90, 7, 77]
Generated Node #0,1: 91:[90, 7, 77] Operation: 15+62=77
Exploring Operation: 62+7=69, Resulting Numbers: [90, 15, 69]
Generated Node #0,2: 91:[90, 15, 69] Operation: 62+7=69
Moving to Node #0,1
Current State: 91:[90, 7, 77], Operations: ['15+62=77']
Exploring Operation: 77/7=11, Resulting Numbers: [90, 11]
Generated Node #0,1,0: 91:[90, 11] Operation: 77/7=11
Exploring Operation: 7+77=84, Resulting Numbers: [90, 84]
Generated Node #0,1,1: 91:[90, 84] Operation: 7+77=84
Exploring Operation: 90-77=13, Resulting Numbers: [7, 13]
Generated Node #0,1,2: 91:[7, 13] Operation: 90-77=13
Moving to Node #0,0
Current State: 91:[15, 7, 28], Operations: ['90-62=28']
Exploring Operation: 28-15=13, Resulting Numbers: [7, 13]
Generated Node #0,0,0: 91:[7, 13] Operation: 28-15=13
Exploring Operation: 28-7=21, Resulting Numbers: [15, 21]
Generated Node #0,0,1: 91:[15, 21] Operation: 28-7=21
Exploring Operation: 28/7=4, Resulting Numbers: [15, 4]
Generated Node #0,0,2: 91:[15, 4] Operation: 28/7=4
Moving to Node #0,2
Current State: 91:[90, 15, 69], Operations: ['62+7=69']
Exploring Operation: 15+69=84, Resulting Numbers: [90, 84]
Generated Node #0,2,0: 91:[90, 84] Operation: 15+69=84
Exploring Operation: 90-69=21, Resulting Numbers: [15, 21]
Generated Node #0,2,1: 91:[15, 21] Operation: 90-69=21
Exploring Operation: 90/15=6, Resulting Numbers: [69, 6]
Generated Node #0,2,2: 91:[69, 6] Operation: 90/15=6
Moving to Node #0,1,2
Current State: 91:[7, 13], Operations: ['15+62=77', '90-77=13']
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[90, 15, 62, 7], Operations: []
Exploring Operation: 15+62=77, Resulting Numbers: [90, 7, 77]
Generated Node #0,1: 91:[90, 7, 77] Operation: 15+62=77
Moving to Node #0,1
Current State: 91:[90, 7, 77], Operations: ['15+62=77']
Exploring Operation: 90-77=13, Resulting Numbers: [7, 13]
Generated Node #0,1,2: 91:[7, 13] Operation: 90-77=13
Moving to Node #0,1,2
Current State: 91:[7, 13], Operations: ['15+62=77', '90-77=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 0.983507 | hs_3 | mult_heuristic |
[
38,
63,
85,
18
] | 78 | [
"63-38=25",
"85+18=103",
"103-25=78"
] | Current State: 78:[38, 63, 85, 18], Operations: []
Exploring Operation: 63-38=25, Resulting Numbers: [85, 18, 25]
Generated Node #2: [85, 18, 25] from Operation: 63-38=25
Current State: 78:[85, 18, 25], Operations: ['63-38=25']
Exploring Operation: 85+18=103, Resulting Numbers: [25, 103]
Generated Node #3: [25, 103] from Operation: 85+18=103
Current State: 78:[25, 103], Operations: ['63-38=25', '85+18=103']
Exploring Operation: 103-25=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[38, 63, 85, 18], Operations: []
Exploring Operation: 85-63=22, Resulting Numbers: [38, 18, 22]
Generated Node #0,0: 78:[38, 18, 22] Operation: 85-63=22
Exploring Operation: 63+18=81, Resulting Numbers: [38, 85, 81]
Generated Node #0,1: 78:[38, 85, 81] Operation: 63+18=81
Exploring Operation: 63-38=25, Resulting Numbers: [85, 18, 25]
Generated Node #0,2: 78:[85, 18, 25] Operation: 63-38=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[38, 18, 22], Operations: ['85-63=22']
Exploring Operation: 38-22=16, Resulting Numbers: [18, 16]
Generated Node #0,0,0: 78:[18, 16] Operation: 38-22=16
Exploring Operation: 22-18=4, Resulting Numbers: [38, 4]
Generated Node #0,0,1: 78:[38, 4] Operation: 22-18=4
Exploring Operation: 18+22=40, Resulting Numbers: [38, 40]
Generated Node #0,0,2: 78:[38, 40] Operation: 18+22=40
Moving to Node #0,0,1
Current State: 78:[38, 4], Operations: ['85-63=22', '22-18=4']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,78 unequal: No Solution
Moving to Node #0,0,2
Current State: 78:[38, 40], Operations: ['85-63=22', '18+22=40']
Exploring Operation: 40-38=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 38*40=1520, Resulting Numbers: [1520]
1520,78 unequal: No Solution
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[38, 63, 85, 18], Operations: []
Exploring Operation: 85-63=22, Resulting Numbers: [38, 18, 22]
Generated Node #0,0: 78:[38, 18, 22] Operation: 85-63=22
Moving to Node #0,0
Current State: 78:[38, 18, 22], Operations: ['85-63=22']
Exploring Operation: 18+22=40, Resulting Numbers: [38, 40]
Generated Node #0,0,2: 78:[38, 40] Operation: 18+22=40
Moving to Node #0,0,2
Current State: 78:[38, 40], Operations: ['85-63=22', '18+22=40']
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
7,
36,
13,
25
] | 52 | [
"36-7=29",
"29-25=4",
"13*4=52"
] | Current State: 52:[7, 36, 13, 25], Operations: []
Exploring Operation: 36-7=29, Resulting Numbers: [13, 25, 29]
Generated Node #2: [13, 25, 29] from Operation: 36-7=29
Current State: 52:[13, 25, 29], Operations: ['36-7=29']
Exploring Operation: 29-25=4, Resulting Numbers: [13, 4]
Generated Node #3: [13, 4] from Operation: 29-25=4
Current State: 52:[13, 4], Operations: ['36-7=29', '29-25=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[7, 36, 13, 25], Operations: []
Exploring Operation: 36+13=49, Resulting Numbers: [7, 25, 49]
Generated Node #0,0: 52:[7, 25, 49] Operation: 36+13=49
Exploring Operation: 36-13=23, Resulting Numbers: [7, 25, 23]
Generated Node #0,1: 52:[7, 25, 23] Operation: 36-13=23
Exploring Operation: 36-25=11, Resulting Numbers: [7, 13, 11]
Generated Node #0,2: 52:[7, 13, 11] Operation: 36-25=11
Exploring Operation: 36-7=29, Resulting Numbers: [13, 25, 29]
Generated Node #0,3: 52:[13, 25, 29] Operation: 36-7=29
Moving to Node #0,3
Current State: 52:[13, 25, 29], Operations: ['36-7=29']
Exploring Operation: 29-25=4, Resulting Numbers: [13, 4]
Generated Node #0,3,0: 52:[13, 4] Operation: 29-25=4
Exploring Operation: 25-13=12, Resulting Numbers: [29, 12]
Generated Node #0,3,1: 52:[29, 12] Operation: 25-13=12
Exploring Operation: 29-13=16, Resulting Numbers: [25, 16]
Generated Node #0,3,2: 52:[25, 16] Operation: 29-13=16
Exploring Operation: 25+29=54, Resulting Numbers: [13, 54]
Generated Node #0,3,3: 52:[13, 54] Operation: 25+29=54
Moving to Node #0,2
Current State: 52:[7, 13, 11], Operations: ['36-25=11']
Exploring Operation: 13-11=2, Resulting Numbers: [7, 2]
Generated Node #0,2,0: 52:[7, 2] Operation: 13-11=2
Exploring Operation: 11-7=4, Resulting Numbers: [13, 4]
Generated Node #0,2,1: 52:[13, 4] Operation: 11-7=4
Exploring Operation: 13-7=6, Resulting Numbers: [11, 6]
Generated Node #0,2,2: 52:[11, 6] Operation: 13-7=6
Exploring Operation: 7+11=18, Resulting Numbers: [13, 18]
Generated Node #0,2,3: 52:[13, 18] Operation: 7+11=18
Moving to Node #0,1
Current State: 52:[7, 25, 23], Operations: ['36-13=23']
Exploring Operation: 23-7=16, Resulting Numbers: [25, 16]
Generated Node #0,1,0: 52:[25, 16] Operation: 23-7=16
Exploring Operation: 25+23=48, Resulting Numbers: [7, 48]
Generated Node #0,1,1: 52:[7, 48] Operation: 25+23=48
Exploring Operation: 7+23=30, Resulting Numbers: [25, 30]
Generated Node #0,1,2: 52:[25, 30] Operation: 7+23=30
Exploring Operation: 25-23=2, Resulting Numbers: [7, 2]
Generated Node #0,1,3: 52:[7, 2] Operation: 25-23=2
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 52:[7, 2], Operations: ['36-13=23', '25-23=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[25, 16], Operations: ['36-13=23', '23-7=16']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,52 unequal: No Solution
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,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:[25, 30], Operations: ['36-13=23', '7+23=30']
Exploring Operation: 25+30=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 25*30=750, Resulting Numbers: [750]
750,52 unequal: No Solution
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[7, 48], Operations: ['36-13=23', '25+23=48']
Exploring Operation: 7+48=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 7*48=336, Resulting Numbers: [336]
336,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 52:[7, 25, 49], Operations: ['36+13=49']
Exploring Operation: 7+49=56, Resulting Numbers: [25, 56]
Generated Node #0,0,0: 52:[25, 56] Operation: 7+49=56
Exploring Operation: 49-25=24, Resulting Numbers: [7, 24]
Generated Node #0,0,1: 52:[7, 24] Operation: 49-25=24
Exploring Operation: 25-7=18, Resulting Numbers: [49, 18]
Generated Node #0,0,2: 52:[49, 18] Operation: 25-7=18
Exploring Operation: 49/7=7, Resulting Numbers: [25, 7]
Generated Node #0,0,3: 52:[25, 7] Operation: 49/7=7
Moving to Node #0,3,0
Current State: 52:[13, 4], Operations: ['36-7=29', '29-25=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[7, 36, 13, 25], Operations: []
Exploring Operation: 36-7=29, Resulting Numbers: [13, 25, 29]
Generated Node #0,3: 52:[13, 25, 29] Operation: 36-7=29
Moving to Node #0,3
Current State: 52:[13, 25, 29], Operations: ['36-7=29']
Exploring Operation: 29-25=4, Resulting Numbers: [13, 4]
Generated Node #0,3,0: 52:[13, 4] Operation: 29-25=4
Moving to Node #0,3,0
Current State: 52:[13, 4], Operations: ['36-7=29', '29-25=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.966146 | hs_4 | mult_heuristic |
[
6,
42,
20,
12
] | 94 | [
"6*12=72",
"42-20=22",
"72+22=94"
] | Current State: 94:[6, 42, 20, 12], Operations: []
Exploring Operation: 6*12=72, Resulting Numbers: [42, 20, 72]
Generated Node #2: [42, 20, 72] from Operation: 6*12=72
Current State: 94:[42, 20, 72], Operations: ['6*12=72']
Exploring Operation: 42-20=22, Resulting Numbers: [72, 22]
Generated Node #3: [72, 22] from Operation: 42-20=22
Current State: 94:[72, 22], Operations: ['6*12=72', '42-20=22']
Exploring Operation: 72+22=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[6, 42, 20, 12], Operations: []
Exploring Operation: 20-12=8, Resulting Numbers: [6, 42, 8]
Generated Node #0,0: 94:[6, 42, 8] Operation: 20-12=8
Exploring Operation: 20+12=32, Resulting Numbers: [6, 42, 32]
Generated Node #0,1: 94:[6, 42, 32] Operation: 20+12=32
Exploring Operation: 20-6=14, Resulting Numbers: [42, 12, 14]
Generated Node #0,2: 94:[42, 12, 14] Operation: 20-6=14
Exploring Operation: 12/6=2, Resulting Numbers: [42, 20, 2]
Generated Node #0,3: 94:[42, 20, 2] Operation: 12/6=2
Exploring Operation: 12-6=6, Resulting Numbers: [42, 20, 6]
Generated Node #0,4: 94:[42, 20, 6] Operation: 12-6=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[6, 42, 8], Operations: ['20-12=8']
Exploring Operation: 8-6=2, Resulting Numbers: [42, 2]
Generated Node #0,0,0: 94:[42, 2] Operation: 8-6=2
Exploring Operation: 6*8=48, Resulting Numbers: [42, 48]
Generated Node #0,0,1: 94:[42, 48] Operation: 6*8=48
Exploring Operation: 42+8=50, Resulting Numbers: [6, 50]
Generated Node #0,0,2: 94:[6, 50] Operation: 42+8=50
Exploring Operation: 42/6=7, Resulting Numbers: [8, 7]
Generated Node #0,0,3: 94:[8, 7] Operation: 42/6=7
Exploring Operation: 6+42=48, Resulting Numbers: [8, 48]
Generated Node #0,0,4: 94:[8, 48] Operation: 6+42=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[42, 2], Operations: ['20-12=8', '8-6=2']
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,94 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,94 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,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:[42, 48], Operations: ['20-12=8', '6*8=48']
Exploring Operation: 42+48=90, Resulting Numbers: [90]
90,94 unequal: No Solution
Exploring Operation: 42*48=2016, Resulting Numbers: [2016]
2016,94 unequal: No Solution
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,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:[6, 50], Operations: ['20-12=8', '42+8=50']
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,94 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,94 unequal: No Solution
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,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:[8, 48], Operations: ['20-12=8', '6+42=48']
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Exploring Operation: 8*48=384, Resulting Numbers: [384]
384,94 unequal: No Solution
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,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,3
Current State: 94:[8, 7], Operations: ['20-12=8', '42/6=7']
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[42, 20, 2], Operations: ['12/6=2']
Exploring Operation: 42-20=22, Resulting Numbers: [2, 22]
Generated Node #0,3,0: 94:[2, 22] Operation: 42-20=22
Exploring Operation: 42+20=62, Resulting Numbers: [2, 62]
Generated Node #0,3,1: 94:[2, 62] Operation: 42+20=62
Exploring Operation: 20/2=10, Resulting Numbers: [42, 10]
Generated Node #0,3,2: 94:[42, 10] Operation: 20/2=10
Exploring Operation: 42+2=44, Resulting Numbers: [20, 44]
Generated Node #0,3,3: 94:[20, 44] Operation: 42+2=44
Exploring Operation: 20*2=40, Resulting Numbers: [42, 40]
Generated Node #0,3,4: 94:[42, 40] Operation: 20*2=40
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 94:[42, 40], Operations: ['12/6=2', '20*2=40']
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,94 unequal: No Solution
Exploring Operation: 42*40=1680, Resulting Numbers: [1680]
1680,94 unequal: No Solution
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 94:[42, 10], Operations: ['12/6=2', '20/2=10']
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,94 unequal: No Solution
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,94 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 94:[2, 62], Operations: ['12/6=2', '42+20=62']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,94 unequal: No Solution
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,94 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 94:[2, 22], Operations: ['12/6=2', '42-20=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,94 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,94 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 94:[20, 44], Operations: ['12/6=2', '42+2=44']
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,94 unequal: No Solution
Exploring Operation: 20*44=880, Resulting Numbers: [880]
880,94 unequal: No Solution
Exploring Operation: 20+44=64, Resulting Numbers: [64]
64,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[6, 42, 32], Operations: ['20+12=32']
Exploring Operation: 42-32=10, Resulting Numbers: [6, 10]
Generated Node #0,1,0: 94:[6, 10] Operation: 42-32=10
Exploring Operation: 42+32=74, Resulting Numbers: [6, 74]
Generated Node #0,1,1: 94:[6, 74] Operation: 42+32=74
Exploring Operation: 6+32=38, Resulting Numbers: [42, 38]
Generated Node #0,1,2: 94:[42, 38] Operation: 6+32=38
Exploring Operation: 42/6=7, Resulting Numbers: [32, 7]
Generated Node #0,1,3: 94:[32, 7] Operation: 42/6=7
Exploring Operation: 6+42=48, Resulting Numbers: [32, 48]
Generated Node #0,1,4: 94:[32, 48] Operation: 6+42=48
Moving to Node #0,1,0
Current State: 94:[6, 10], Operations: ['20+12=32', '42-32=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[42, 38], Operations: ['20+12=32', '6+32=38']
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 42+38=80, Resulting Numbers: [80]
80,94 unequal: No Solution
Exploring Operation: 42*38=1596, Resulting Numbers: [1596]
1596,94 unequal: No Solution
Moving to Node #0,1,4
Current State: 94:[32, 48], Operations: ['20+12=32', '6+42=48']
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 32*48=1536, Resulting Numbers: [1536]
1536,94 unequal: No Solution
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,94 unequal: No Solution
Moving to Node #0,1,3
Current State: 94:[32, 7], Operations: ['20+12=32', '42/6=7']
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,94 unequal: No Solution
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[6, 74], Operations: ['20+12=32', '42+32=74']
Exploring Operation: 6+74=80, Resulting Numbers: [80]
80,94 unequal: No Solution
Exploring Operation: 6*74=444, Resulting Numbers: [444]
444,94 unequal: No Solution
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[42, 12, 14], Operations: ['20-6=14']
Exploring Operation: 42+12=54, Resulting Numbers: [14, 54]
Generated Node #0,2,0: 94:[14, 54] Operation: 42+12=54
Exploring Operation: 42+14=56, Resulting Numbers: [12, 56]
Generated Node #0,2,1: 94:[12, 56] Operation: 42+14=56
Exploring Operation: 14-12=2, Resulting Numbers: [42, 2]
Generated Node #0,2,2: 94:[42, 2] Operation: 14-12=2
Exploring Operation: 42/14=3, Resulting Numbers: [12, 3]
Generated Node #0,2,3: 94:[12, 3] Operation: 42/14=3
Exploring Operation: 12+14=26, Resulting Numbers: [42, 26]
Generated Node #0,2,4: 94:[42, 26] Operation: 12+14=26
Moving to Node #0,2,2
Current State: 94:[42, 2], Operations: ['20-6=14', '14-12=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,94 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,94 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,94 unequal: No Solution
Moving to Node #0,2,3
Current State: 94:[12, 3], Operations: ['20-6=14', '42/14=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,94 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[14, 54], Operations: ['20-6=14', '42+12=54']
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Exploring Operation: 14*54=756, Resulting Numbers: [756]
756,94 unequal: No Solution
Exploring Operation: 14+54=68, Resulting Numbers: [68]
68,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[12, 56], Operations: ['20-6=14', '42+14=56']
Exploring Operation: 12*56=672, Resulting Numbers: [672]
672,94 unequal: No Solution
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,94 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,94 unequal: No Solution
Moving to Node #0,2,4
Current State: 94:[42, 26], Operations: ['20-6=14', '12+14=26']
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,94 unequal: No Solution
Exploring Operation: 42*26=1092, Resulting Numbers: [1092]
1092,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:[42, 20, 6], Operations: ['12-6=6']
Exploring Operation: 42+20=62, Resulting Numbers: [6, 62]
Generated Node #0,4,0: 94:[6, 62] Operation: 42+20=62
Exploring Operation: 42-20=22, Resulting Numbers: [6, 22]
Generated Node #0,4,1: 94:[6, 22] Operation: 42-20=22
Exploring Operation: 42/6=7, Resulting Numbers: [20, 7]
Generated Node #0,4,2: 94:[20, 7] Operation: 42/6=7
Exploring Operation: 42+6=48, Resulting Numbers: [20, 48]
Generated Node #0,4,3: 94:[20, 48] Operation: 42+6=48
Exploring Operation: 20-6=14, Resulting Numbers: [42, 14]
Generated Node #0,4,4: 94:[42, 14] Operation: 20-6=14
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 94:[42, 14], Operations: ['12-6=6', '20-6=14']
Exploring Operation: 42*14=588, Resulting Numbers: [588]
588,94 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Exploring Operation: 42+14=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,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:[6, 62], Operations: ['12-6=6', '42+20=62']
Exploring Operation: 6*62=372, Resulting Numbers: [372]
372,94 unequal: No Solution
Exploring Operation: 6+62=68, Resulting Numbers: [68]
68,94 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,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:[20, 48], Operations: ['12-6=6', '42+6=48']
Exploring Operation: 20+48=68, Resulting Numbers: [68]
68,94 unequal: No Solution
Exploring Operation: 20*48=960, Resulting Numbers: [960]
960,94 unequal: No Solution
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,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:[20, 7], Operations: ['12-6=6', '42/6=7']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,94 unequal: No Solution
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,94 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 94:[6, 22], Operations: ['12-6=6', '42-20=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,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 |
[
10,
36,
13,
52
] | 13 | [
"36-10=26",
"52-13=39",
"39-26=13"
] | Current State: 13:[10, 36, 13, 52], Operations: []
Exploring Operation: 36-10=26, Resulting Numbers: [13, 52, 26]
Generated Node #2: [13, 52, 26] from Operation: 36-10=26
Current State: 13:[13, 52, 26], Operations: ['36-10=26']
Exploring Operation: 52-13=39, Resulting Numbers: [26, 39]
Generated Node #3: [26, 39] from Operation: 52-13=39
Current State: 13:[26, 39], Operations: ['36-10=26', '52-13=39']
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[10, 36, 13, 52], Operations: []
Exploring Operation: 52-36=16, Resulting Numbers: [10, 13, 16]
Generated Node #0,0: 13:[10, 13, 16] Operation: 52-36=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[10, 13, 16], Operations: ['52-36=16']
Exploring Operation: 16-10=6, Resulting Numbers: [13, 6]
Generated Node #0,0,0: 13:[13, 6] Operation: 16-10=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[13, 6], Operations: ['52-36=16', '16-10=6']
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,13 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 |
[
21,
13,
26,
75
] | 93 | [
"21-13=8",
"26+75=101",
"101-8=93"
] | Current State: 93:[21, 13, 26, 75], Operations: []
Exploring Operation: 21-13=8, Resulting Numbers: [26, 75, 8]
Generated Node #2: [26, 75, 8] from Operation: 21-13=8
Current State: 93:[26, 75, 8], Operations: ['21-13=8']
Exploring Operation: 26+75=101, Resulting Numbers: [8, 101]
Generated Node #3: [8, 101] from Operation: 26+75=101
Current State: 93:[8, 101], Operations: ['21-13=8', '26+75=101']
Exploring Operation: 101-8=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[21, 13, 26, 75], Operations: []
Exploring Operation: 21+13=34, Resulting Numbers: [26, 75, 34]
Generated Node #0,0: 93:[26, 75, 34] Operation: 21+13=34
Exploring Operation: 21+75=96, Resulting Numbers: [13, 26, 96]
Generated Node #0,1: 93:[13, 26, 96] Operation: 21+75=96
Exploring Operation: 13+75=88, Resulting Numbers: [21, 26, 88]
Generated Node #0,2: 93:[21, 26, 88] Operation: 13+75=88
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[13, 26, 96], Operations: ['21+75=96']
Exploring Operation: 13+26=39, Resulting Numbers: [96, 39]
Generated Node #0,1,0: 93:[96, 39] Operation: 13+26=39
Exploring Operation: 26/13=2, Resulting Numbers: [96, 2]
Generated Node #0,1,1: 93:[96, 2] Operation: 26/13=2
Exploring Operation: 26-13=13, Resulting Numbers: [96, 13]
Generated Node #0,1,2: 93:[96, 13] Operation: 26-13=13
Moving to Node #0,1,1
Current State: 93:[96, 2], Operations: ['21+75=96', '26/13=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,93 unequal: No Solution
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[96, 39], Operations: ['21+75=96', '13+26=39']
Exploring Operation: 96+39=135, Resulting Numbers: [135]
135,93 unequal: No Solution
Exploring Operation: 96*39=3744, Resulting Numbers: [3744]
3744,93 unequal: No Solution
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[96, 13], Operations: ['21+75=96', '26-13=13']
Exploring Operation: 96-13=83, Resulting Numbers: [83]
83,93 unequal: No Solution
Exploring Operation: 96*13=1248, Resulting Numbers: [1248]
1248,93 unequal: No Solution
Exploring Operation: 96+13=109, Resulting Numbers: [109]
109,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[21, 26, 88], Operations: ['13+75=88']
Exploring Operation: 26-21=5, Resulting Numbers: [88, 5]
Generated Node #0,2,0: 93:[88, 5] Operation: 26-21=5
Exploring Operation: 21+88=109, Resulting Numbers: [26, 109]
Generated Node #0,2,1: 93:[26, 109] Operation: 21+88=109
Exploring Operation: 21+26=47, Resulting Numbers: [88, 47]
Generated Node #0,2,2: 93:[88, 47] Operation: 21+26=47
Moving to Node #0,2,0
Current State: 93:[88, 5], Operations: ['13+75=88', '26-21=5']
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[21, 13, 26, 75], Operations: []
Exploring Operation: 13+75=88, Resulting Numbers: [21, 26, 88]
Generated Node #0,2: 93:[21, 26, 88] Operation: 13+75=88
Moving to Node #0,2
Current State: 93:[21, 26, 88], Operations: ['13+75=88']
Exploring Operation: 26-21=5, Resulting Numbers: [88, 5]
Generated Node #0,2,0: 93:[88, 5] Operation: 26-21=5
Moving to Node #0,2,0
Current State: 93:[88, 5], Operations: ['13+75=88', '26-21=5']
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
33,
79,
80,
1
] | 32 | [
"33+79=112",
"80*1=80",
"112-80=32"
] | Current State: 32:[33, 79, 80, 1], Operations: []
Exploring Operation: 33+79=112, Resulting Numbers: [80, 1, 112]
Generated Node #2: [80, 1, 112] from Operation: 33+79=112
Current State: 32:[80, 1, 112], Operations: ['33+79=112']
Exploring Operation: 80*1=80, Resulting Numbers: [112, 80]
Generated Node #3: [112, 80] from Operation: 80*1=80
Current State: 32:[112, 80], Operations: ['33+79=112', '80*1=80']
Exploring Operation: 112-80=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[33, 79, 80, 1], Operations: []
Exploring Operation: 79-1=78, Resulting Numbers: [33, 80, 78]
Generated Node #0,0: 32:[33, 80, 78] Operation: 79-1=78
Exploring Operation: 79-33=46, Resulting Numbers: [80, 1, 46]
Generated Node #0,1: 32:[80, 1, 46] Operation: 79-33=46
Exploring Operation: 80-79=1, Resulting Numbers: [33, 1, 1]
Generated Node #0,2: 32:[33, 1, 1] Operation: 80-79=1
Exploring Operation: 33-1=32, Resulting Numbers: [79, 80, 32]
Generated Node #0,3: 32:[79, 80, 32] Operation: 33-1=32
Exploring Operation: 80-33=47, Resulting Numbers: [79, 1, 47]
Generated Node #0,4: 32:[79, 1, 47] Operation: 80-33=47
Moving to Node #0,2
Current State: 32:[33, 1, 1], Operations: ['80-79=1']
Exploring Operation: 33-1=32, Resulting Numbers: [1, 32]
Generated Node #0,2,0: 32:[1, 32] Operation: 33-1=32
Exploring Operation: 33/1=33, Resulting Numbers: [1, 33]
Generated Node #0,2,1: 32:[1, 33] Operation: 33/1=33
Exploring Operation: 33*1=33, Resulting Numbers: [1, 33]
Generated Node #0,2,2: 32:[1, 33] Operation: 33*1=33
Exploring Operation: 1+1=2, Resulting Numbers: [33, 2]
Generated Node #0,2,3: 32:[33, 2] Operation: 1+1=2
Exploring Operation: 33-1=32, Resulting Numbers: [1, 32]
Generated Node #0,2,4: 32:[1, 32] Operation: 33-1=32
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 32:[1, 32], Operations: ['80-79=1', '33-1=32']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[33, 79, 80, 1], Operations: []
Exploring Operation: 80-79=1, Resulting Numbers: [33, 1, 1]
Generated Node #0,2: 32:[33, 1, 1] Operation: 80-79=1
Moving to Node #0,2
Current State: 32:[33, 1, 1], Operations: ['80-79=1']
Exploring Operation: 33-1=32, Resulting Numbers: [1, 32]
Generated Node #0,2,0: 32:[1, 32] Operation: 33-1=32
Moving to Node #0,2,0
Current State: 32:[1, 32], Operations: ['80-79=1', '33-1=32']
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
23,
67,
61,
51
] | 22 | [
"23+67=90",
"61+51=112",
"112-90=22"
] | Current State: 22:[23, 67, 61, 51], Operations: []
Exploring Operation: 23+67=90, Resulting Numbers: [61, 51, 90]
Generated Node #2: [61, 51, 90] from Operation: 23+67=90
Current State: 22:[61, 51, 90], Operations: ['23+67=90']
Exploring Operation: 61+51=112, Resulting Numbers: [90, 112]
Generated Node #3: [90, 112] from Operation: 61+51=112
Current State: 22:[90, 112], Operations: ['23+67=90', '61+51=112']
Exploring Operation: 112-90=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[23, 67, 61, 51], Operations: []
Exploring Operation: 67-61=6, Resulting Numbers: [23, 51, 6]
Generated Node #0,0: 22:[23, 51, 6] Operation: 67-61=6
Exploring Operation: 67-51=16, Resulting Numbers: [23, 61, 16]
Generated Node #0,1: 22:[23, 61, 16] Operation: 67-51=16
Exploring Operation: 61-51=10, Resulting Numbers: [23, 67, 10]
Generated Node #0,2: 22:[23, 67, 10] Operation: 61-51=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[23, 51, 6], Operations: ['67-61=6']
Exploring Operation: 23-6=17, Resulting Numbers: [51, 17]
Generated Node #0,0,0: 22:[51, 17] Operation: 23-6=17
Exploring Operation: 51-6=45, Resulting Numbers: [23, 45]
Generated Node #0,0,1: 22:[23, 45] Operation: 51-6=45
Exploring Operation: 51-23=28, Resulting Numbers: [6, 28]
Generated Node #0,0,2: 22:[6, 28] Operation: 51-23=28
Moving to Node #0,0,2
Current State: 22:[6, 28], Operations: ['67-61=6', '51-23=28']
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[23, 67, 61, 51], Operations: []
Exploring Operation: 67-61=6, Resulting Numbers: [23, 51, 6]
Generated Node #0,0: 22:[23, 51, 6] Operation: 67-61=6
Moving to Node #0,0
Current State: 22:[23, 51, 6], Operations: ['67-61=6']
Exploring Operation: 51-23=28, Resulting Numbers: [6, 28]
Generated Node #0,0,2: 22:[6, 28] Operation: 51-23=28
Moving to Node #0,0,2
Current State: 22:[6, 28], Operations: ['67-61=6', '51-23=28']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
29,
75,
56,
99
] | 51 | [
"29+75=104",
"56+99=155",
"155-104=51"
] | Current State: 51:[29, 75, 56, 99], Operations: []
Exploring Operation: 29+75=104, Resulting Numbers: [56, 99, 104]
Generated Node #2: [56, 99, 104] from Operation: 29+75=104
Current State: 51:[56, 99, 104], Operations: ['29+75=104']
Exploring Operation: 56+99=155, Resulting Numbers: [104, 155]
Generated Node #3: [104, 155] from Operation: 56+99=155
Current State: 51:[104, 155], Operations: ['29+75=104', '56+99=155']
Exploring Operation: 155-104=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[29, 75, 56, 99], Operations: []
Exploring Operation: 99-56=43, Resulting Numbers: [29, 75, 43]
Generated Node #0,0: 51:[29, 75, 43] Operation: 99-56=43
Exploring Operation: 99-75=24, Resulting Numbers: [29, 56, 24]
Generated Node #0,1: 51:[29, 56, 24] Operation: 99-75=24
Exploring Operation: 99-29=70, Resulting Numbers: [75, 56, 70]
Generated Node #0,2: 51:[75, 56, 70] Operation: 99-29=70
Exploring Operation: 75-29=46, Resulting Numbers: [56, 99, 46]
Generated Node #0,3: 51:[56, 99, 46] Operation: 75-29=46
Moving to Node #0,1
Current State: 51:[29, 56, 24], Operations: ['99-75=24']
Exploring Operation: 29-24=5, Resulting Numbers: [56, 5]
Generated Node #0,1,0: 51:[56, 5] Operation: 29-24=5
Exploring Operation: 29+24=53, Resulting Numbers: [56, 53]
Generated Node #0,1,1: 51:[56, 53] Operation: 29+24=53
Exploring Operation: 56-24=32, Resulting Numbers: [29, 32]
Generated Node #0,1,2: 51:[29, 32] Operation: 56-24=32
Exploring Operation: 56-29=27, Resulting Numbers: [24, 27]
Generated Node #0,1,3: 51:[24, 27] Operation: 56-29=27
Moving to Node #0,0
Current State: 51:[29, 75, 43], Operations: ['99-56=43']
Exploring Operation: 43-29=14, Resulting Numbers: [75, 14]
Generated Node #0,0,0: 51:[75, 14] Operation: 43-29=14
Exploring Operation: 75-43=32, Resulting Numbers: [29, 32]
Generated Node #0,0,1: 51:[29, 32] Operation: 75-43=32
Exploring Operation: 75-29=46, Resulting Numbers: [43, 46]
Generated Node #0,0,2: 51:[43, 46] Operation: 75-29=46
Exploring Operation: 29+43=72, Resulting Numbers: [75, 72]
Generated Node #0,0,3: 51:[75, 72] Operation: 29+43=72
Moving to Node #0,2
Current State: 51:[75, 56, 70], Operations: ['99-29=70']
Exploring Operation: 75-56=19, Resulting Numbers: [70, 19]
Generated Node #0,2,0: 51:[70, 19] Operation: 75-56=19
Exploring Operation: 70-56=14, Resulting Numbers: [75, 14]
Generated Node #0,2,1: 51:[75, 14] Operation: 70-56=14
Exploring Operation: 75-70=5, Resulting Numbers: [56, 5]
Generated Node #0,2,2: 51:[56, 5] Operation: 75-70=5
Exploring Operation: 75+56=131, Resulting Numbers: [70, 131]
Generated Node #0,2,3: 51:[70, 131] Operation: 75+56=131
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 51:[56, 5], Operations: ['99-29=70', '75-70=5']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[29, 75, 56, 99], Operations: []
Exploring Operation: 99-29=70, Resulting Numbers: [75, 56, 70]
Generated Node #0,2: 51:[75, 56, 70] Operation: 99-29=70
Moving to Node #0,2
Current State: 51:[75, 56, 70], Operations: ['99-29=70']
Exploring Operation: 75-70=5, Resulting Numbers: [56, 5]
Generated Node #0,2,2: 51:[56, 5] Operation: 75-70=5
Moving to Node #0,2,2
Current State: 51:[56, 5], Operations: ['99-29=70', '75-70=5']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
37,
69,
76,
19
] | 89 | [
"69-37=32",
"76-19=57",
"32+57=89"
] | Current State: 89:[37, 69, 76, 19], Operations: []
Exploring Operation: 69-37=32, Resulting Numbers: [76, 19, 32]
Generated Node #2: [76, 19, 32] from Operation: 69-37=32
Current State: 89:[76, 19, 32], Operations: ['69-37=32']
Exploring Operation: 76-19=57, Resulting Numbers: [32, 57]
Generated Node #3: [32, 57] from Operation: 76-19=57
Current State: 89:[32, 57], Operations: ['69-37=32', '76-19=57']
Exploring Operation: 32+57=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[37, 69, 76, 19], Operations: []
Exploring Operation: 37+19=56, Resulting Numbers: [69, 76, 56]
Generated Node #0,0: 89:[69, 76, 56] Operation: 37+19=56
Exploring Operation: 69+19=88, Resulting Numbers: [37, 76, 88]
Generated Node #0,1: 89:[37, 76, 88] Operation: 69+19=88
Exploring Operation: 76+19=95, Resulting Numbers: [37, 69, 95]
Generated Node #0,2: 89:[37, 69, 95] Operation: 76+19=95
Moving to Node #0,0
Current State: 89:[69, 76, 56], Operations: ['37+19=56']
Exploring Operation: 76+56=132, Resulting Numbers: [69, 132]
Generated Node #0,0,0: 89:[69, 132] Operation: 76+56=132
Exploring Operation: 69+76=145, Resulting Numbers: [56, 145]
Generated Node #0,0,1: 89:[56, 145] Operation: 69+76=145
Exploring Operation: 69+56=125, Resulting Numbers: [76, 125]
Generated Node #0,0,2: 89:[76, 125] Operation: 69+56=125
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[76, 125], Operations: ['37+19=56', '69+56=125']
Exploring Operation: 125-76=49, Resulting Numbers: [49]
49,89 unequal: No Solution
Exploring Operation: 76*125=9500, Resulting Numbers: [9500]
9500,89 unequal: No Solution
Exploring Operation: 76+125=201, Resulting Numbers: [201]
201,89 unequal: No Solution
No solution 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: 89:[69, 132], Operations: ['37+19=56', '76+56=132']
Exploring Operation: 69+132=201, Resulting Numbers: [201]
201,89 unequal: No Solution
Exploring Operation: 132-69=63, Resulting Numbers: [63]
63,89 unequal: No Solution
Exploring Operation: 69*132=9108, Resulting Numbers: [9108]
9108,89 unequal: No Solution
No solution 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: 89:[56, 145], Operations: ['37+19=56', '69+76=145']
Exploring Operation: 145-56=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[37, 69, 76, 19], Operations: []
Exploring Operation: 37+19=56, Resulting Numbers: [69, 76, 56]
Generated Node #0,0: 89:[69, 76, 56] Operation: 37+19=56
Moving to Node #0,0
Current State: 89:[69, 76, 56], Operations: ['37+19=56']
Exploring Operation: 69+76=145, Resulting Numbers: [56, 145]
Generated Node #0,0,1: 89:[56, 145] Operation: 69+76=145
Moving to Node #0,0,1
Current State: 89:[56, 145], Operations: ['37+19=56', '69+76=145']
Exploring Operation: 145-56=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
20,
71,
57,
16
] | 18 | [
"20+71=91",
"57+16=73",
"91-73=18"
] | Current State: 18:[20, 71, 57, 16], Operations: []
Exploring Operation: 20+71=91, Resulting Numbers: [57, 16, 91]
Generated Node #2: [57, 16, 91] from Operation: 20+71=91
Current State: 18:[57, 16, 91], Operations: ['20+71=91']
Exploring Operation: 57+16=73, Resulting Numbers: [91, 73]
Generated Node #3: [91, 73] from Operation: 57+16=73
Current State: 18:[91, 73], Operations: ['20+71=91', '57+16=73']
Exploring Operation: 91-73=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[20, 71, 57, 16], Operations: []
Exploring Operation: 57-20=37, Resulting Numbers: [71, 16, 37]
Generated Node #0,0: 18:[71, 16, 37] Operation: 57-20=37
Exploring Operation: 71-16=55, Resulting Numbers: [20, 57, 55]
Generated Node #0,1: 18:[20, 57, 55] Operation: 71-16=55
Exploring Operation: 71-57=14, Resulting Numbers: [20, 16, 14]
Generated Node #0,2: 18:[20, 16, 14] Operation: 71-57=14
Exploring Operation: 71-20=51, Resulting Numbers: [57, 16, 51]
Generated Node #0,3: 18:[57, 16, 51] Operation: 71-20=51
Moving to Node #0,2
Current State: 18:[20, 16, 14], Operations: ['71-57=14']
Exploring Operation: 20-16=4, Resulting Numbers: [14, 4]
Generated Node #0,2,0: 18:[14, 4] Operation: 20-16=4
Exploring Operation: 16-14=2, Resulting Numbers: [20, 2]
Generated Node #0,2,1: 18:[20, 2] Operation: 16-14=2
Exploring Operation: 16+14=30, Resulting Numbers: [20, 30]
Generated Node #0,2,2: 18:[20, 30] Operation: 16+14=30
Exploring Operation: 20-14=6, Resulting Numbers: [16, 6]
Generated Node #0,2,3: 18:[16, 6] Operation: 20-14=6
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 18:[20, 2], Operations: ['71-57=14', '16-14=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[20, 71, 57, 16], Operations: []
Exploring Operation: 71-57=14, Resulting Numbers: [20, 16, 14]
Generated Node #0,2: 18:[20, 16, 14] Operation: 71-57=14
Moving to Node #0,2
Current State: 18:[20, 16, 14], Operations: ['71-57=14']
Exploring Operation: 16-14=2, Resulting Numbers: [20, 2]
Generated Node #0,2,1: 18:[20, 2] Operation: 16-14=2
Moving to Node #0,2,1
Current State: 18:[20, 2], Operations: ['71-57=14', '16-14=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
13,
32,
56,
6
] | 52 | [
"56-32=24",
"13*24=312",
"312/6=52"
] | Current State: 52:[13, 32, 56, 6], Operations: []
Exploring Operation: 56-32=24, Resulting Numbers: [13, 6, 24]
Generated Node #2: [13, 6, 24] from Operation: 56-32=24
Current State: 52:[13, 6, 24], Operations: ['56-32=24']
Exploring Operation: 13*24=312, Resulting Numbers: [6, 312]
Generated Node #3: [6, 312] from Operation: 13*24=312
Current State: 52:[6, 312], Operations: ['56-32=24', '13*24=312']
Exploring Operation: 312/6=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[13, 32, 56, 6], Operations: []
Exploring Operation: 56-32=24, Resulting Numbers: [13, 6, 24]
Generated Node #0,0: 52:[13, 6, 24] Operation: 56-32=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[13, 6, 24], Operations: ['56-32=24']
Exploring Operation: 24/6=4, Resulting Numbers: [13, 4]
Generated Node #0,0,0: 52:[13, 4] Operation: 24/6=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[13, 4], Operations: ['56-32=24', '24/6=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[13, 32, 56, 6], Operations: []
Exploring Operation: 56-32=24, Resulting Numbers: [13, 6, 24]
Generated Node #0,0: 52:[13, 6, 24] Operation: 56-32=24
Moving to Node #0,0
Current State: 52:[13, 6, 24], Operations: ['56-32=24']
Exploring Operation: 24/6=4, Resulting Numbers: [13, 4]
Generated Node #0,0,0: 52:[13, 4] Operation: 24/6=4
Moving to Node #0,0,0
Current State: 52:[13, 4], Operations: ['56-32=24', '24/6=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
59,
39,
97,
56
] | 20 | [
"59-56=3",
"39*3=117",
"117-97=20"
] | Current State: 20:[59, 39, 97, 56], Operations: []
Exploring Operation: 59-56=3, Resulting Numbers: [39, 97, 3]
Generated Node #2: [39, 97, 3] from Operation: 59-56=3
Current State: 20:[39, 97, 3], Operations: ['59-56=3']
Exploring Operation: 39*3=117, Resulting Numbers: [97, 117]
Generated Node #3: [97, 117] from Operation: 39*3=117
Current State: 20:[97, 117], Operations: ['59-56=3', '39*3=117']
Exploring Operation: 117-97=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[59, 39, 97, 56], Operations: []
Exploring Operation: 97-59=38, Resulting Numbers: [39, 56, 38]
Generated Node #0,0: 20:[39, 56, 38] Operation: 97-59=38
Exploring Operation: 97-56=41, Resulting Numbers: [59, 39, 41]
Generated Node #0,1: 20:[59, 39, 41] Operation: 97-56=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[39, 56, 38], Operations: ['97-59=38']
Exploring Operation: 56-38=18, Resulting Numbers: [39, 18]
Generated Node #0,0,0: 20:[39, 18] Operation: 56-38=18
Exploring Operation: 56-39=17, Resulting Numbers: [38, 17]
Generated Node #0,0,1: 20:[38, 17] Operation: 56-39=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[39, 18], Operations: ['97-59=38', '56-38=18']
Exploring Operation: 39+18=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,20 unequal: No Solution
No 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: 20:[38, 17], Operations: ['97-59=38', '56-39=17']
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 38+17=55, Resulting Numbers: [55]
55,20 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: 20:[59, 39, 41], Operations: ['97-56=41']
Exploring Operation: 59-39=20, Resulting Numbers: [41, 20]
Generated Node #0,1,0: 20:[41, 20] Operation: 59-39=20
Exploring Operation: 59-41=18, Resulting Numbers: [39, 18]
Generated Node #0,1,1: 20:[39, 18] Operation: 59-41=18
Moving to Node #0,1,0
Current State: 20:[41, 20], Operations: ['97-56=41', '59-39=20']
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 41+20=61, Resulting Numbers: [61]
61,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[39, 18], Operations: ['97-56=41', '59-41=18']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 39+18=57, Resulting Numbers: [57]
57,20 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 |
[
50,
3,
17,
90
] | 79 | [
"50-17=33",
"33/3=11",
"90-11=79"
] | Current State: 79:[50, 3, 17, 90], Operations: []
Exploring Operation: 50-17=33, Resulting Numbers: [3, 90, 33]
Generated Node #2: [3, 90, 33] from Operation: 50-17=33
Current State: 79:[3, 90, 33], Operations: ['50-17=33']
Exploring Operation: 33/3=11, Resulting Numbers: [90, 11]
Generated Node #3: [90, 11] from Operation: 33/3=11
Current State: 79:[90, 11], Operations: ['50-17=33', '33/3=11']
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[50, 3, 17, 90], Operations: []
Exploring Operation: 3*17=51, Resulting Numbers: [50, 90, 51]
Generated Node #0,0: 79:[50, 90, 51] Operation: 3*17=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[50, 90, 51], Operations: ['3*17=51']
Exploring Operation: 50+51=101, Resulting Numbers: [90, 101]
Generated Node #0,0,0: 79:[90, 101] Operation: 50+51=101
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[90, 101], Operations: ['3*17=51', '50+51=101']
Exploring Operation: 101-90=11, Resulting Numbers: [11]
11,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
38,
94,
88,
49
] | 95 | [
"94-38=56",
"88-49=39",
"56+39=95"
] | Current State: 95:[38, 94, 88, 49], Operations: []
Exploring Operation: 94-38=56, Resulting Numbers: [88, 49, 56]
Generated Node #2: [88, 49, 56] from Operation: 94-38=56
Current State: 95:[88, 49, 56], Operations: ['94-38=56']
Exploring Operation: 88-49=39, Resulting Numbers: [56, 39]
Generated Node #3: [56, 39] from Operation: 88-49=39
Current State: 95:[56, 39], Operations: ['94-38=56', '88-49=39']
Exploring Operation: 56+39=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[38, 94, 88, 49], Operations: []
Exploring Operation: 38+49=87, Resulting Numbers: [94, 88, 87]
Generated Node #0,0: 95:[94, 88, 87] Operation: 38+49=87
Exploring Operation: 49-38=11, Resulting Numbers: [94, 88, 11]
Generated Node #0,1: 95:[94, 88, 11] Operation: 49-38=11
Moving to Node #0,1
Current State: 95:[94, 88, 11], Operations: ['49-38=11']
Exploring Operation: 88+11=99, Resulting Numbers: [94, 99]
Generated Node #0,1,0: 95:[94, 99] Operation: 88+11=99
Exploring Operation: 88/11=8, Resulting Numbers: [94, 8]
Generated Node #0,1,1: 95:[94, 8] Operation: 88/11=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[94, 8], Operations: ['49-38=11', '88/11=8']
Exploring Operation: 94+8=102, Resulting Numbers: [102]
102,95 unequal: No Solution
Exploring Operation: 94-8=86, Resulting Numbers: [86]
86,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[94, 99], Operations: ['49-38=11', '88+11=99']
Exploring Operation: 94+99=193, Resulting Numbers: [193]
193,95 unequal: No Solution
Exploring Operation: 99-94=5, Resulting Numbers: [5]
5,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 95:[94, 88, 87], Operations: ['38+49=87']
Exploring Operation: 94-88=6, Resulting Numbers: [87, 6]
Generated Node #0,0,0: 95:[87, 6] Operation: 94-88=6
Exploring Operation: 88-87=1, Resulting Numbers: [94, 1]
Generated Node #0,0,1: 95:[94, 1] Operation: 88-87=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[94, 1], Operations: ['38+49=87', '88-87=1']
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,95 unequal: No Solution
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[38, 94, 88, 49], Operations: []
Exploring Operation: 38+49=87, Resulting Numbers: [94, 88, 87]
Generated Node #0,0: 95:[94, 88, 87] Operation: 38+49=87
Moving to Node #0,0
Current State: 95:[94, 88, 87], Operations: ['38+49=87']
Exploring Operation: 88-87=1, Resulting Numbers: [94, 1]
Generated Node #0,0,1: 95:[94, 1] Operation: 88-87=1
Moving to Node #0,0,1
Current State: 95:[94, 1], Operations: ['38+49=87', '88-87=1']
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
27,
10,
71,
66
] | 23 | [
"71-66=5",
"10*5=50",
"50-27=23"
] | Current State: 23:[27, 10, 71, 66], Operations: []
Exploring Operation: 71-66=5, Resulting Numbers: [27, 10, 5]
Generated Node #2: [27, 10, 5] from Operation: 71-66=5
Current State: 23:[27, 10, 5], Operations: ['71-66=5']
Exploring Operation: 10*5=50, Resulting Numbers: [27, 50]
Generated Node #3: [27, 50] from Operation: 10*5=50
Current State: 23:[27, 50], Operations: ['71-66=5', '10*5=50']
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[27, 10, 71, 66], Operations: []
Exploring Operation: 66-27=39, Resulting Numbers: [10, 71, 39]
Generated Node #0,0: 23:[10, 71, 39] Operation: 66-27=39
Exploring Operation: 71-27=44, Resulting Numbers: [10, 66, 44]
Generated Node #0,1: 23:[10, 66, 44] Operation: 71-27=44
Exploring Operation: 71-10=61, Resulting Numbers: [27, 66, 61]
Generated Node #0,2: 23:[27, 66, 61] Operation: 71-10=61
Exploring Operation: 71-66=5, Resulting Numbers: [27, 10, 5]
Generated Node #0,3: 23:[27, 10, 5] Operation: 71-66=5
Moving to Node #0,3
Current State: 23:[27, 10, 5], Operations: ['71-66=5']
Exploring Operation: 10-5=5, Resulting Numbers: [27, 5]
Generated Node #0,3,0: 23:[27, 5] Operation: 10-5=5
Exploring Operation: 10+5=15, Resulting Numbers: [27, 15]
Generated Node #0,3,1: 23:[27, 15] Operation: 10+5=15
Exploring Operation: 27+5=32, Resulting Numbers: [10, 32]
Generated Node #0,3,2: 23:[10, 32] Operation: 27+5=32
Exploring Operation: 27-5=22, Resulting Numbers: [10, 22]
Generated Node #0,3,3: 23:[10, 22] Operation: 27-5=22
Moving to Node #0,1
Current State: 23:[10, 66, 44], Operations: ['71-27=44']
Exploring Operation: 10+66=76, Resulting Numbers: [44, 76]
Generated Node #0,1,0: 23:[44, 76] Operation: 10+66=76
Exploring Operation: 66-10=56, Resulting Numbers: [44, 56]
Generated Node #0,1,1: 23:[44, 56] Operation: 66-10=56
Exploring Operation: 66-44=22, Resulting Numbers: [10, 22]
Generated Node #0,1,2: 23:[10, 22] Operation: 66-44=22
Exploring Operation: 44-10=34, Resulting Numbers: [66, 34]
Generated Node #0,1,3: 23:[66, 34] Operation: 44-10=34
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[10, 22], Operations: ['71-27=44', '66-44=22']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,23 unequal: No Solution
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[44, 56], Operations: ['71-27=44', '66-10=56']
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 44*56=2464, Resulting Numbers: [2464]
2464,23 unequal: No Solution
Exploring Operation: 44+56=100, Resulting Numbers: [100]
100,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 23:[66, 34], Operations: ['71-27=44', '44-10=34']
Exploring Operation: 66+34=100, Resulting Numbers: [100]
100,23 unequal: No Solution
Exploring Operation: 66-34=32, Resulting Numbers: [32]
32,23 unequal: No Solution
Exploring Operation: 66*34=2244, Resulting Numbers: [2244]
2244,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[44, 76], Operations: ['71-27=44', '10+66=76']
Exploring Operation: 44+76=120, Resulting Numbers: [120]
120,23 unequal: No Solution
Exploring Operation: 44*76=3344, Resulting Numbers: [3344]
3344,23 unequal: No Solution
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,23 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: 23:[10, 71, 39], Operations: ['66-27=39']
Exploring Operation: 71-10=61, Resulting Numbers: [39, 61]
Generated Node #0,0,0: 23:[39, 61] Operation: 71-10=61
Exploring Operation: 71-39=32, Resulting Numbers: [10, 32]
Generated Node #0,0,1: 23:[10, 32] Operation: 71-39=32
Exploring Operation: 10+71=81, Resulting Numbers: [39, 81]
Generated Node #0,0,2: 23:[39, 81] Operation: 10+71=81
Exploring Operation: 39-10=29, Resulting Numbers: [71, 29]
Generated Node #0,0,3: 23:[71, 29] Operation: 39-10=29
Moving to Node #0,2
Current State: 23:[27, 66, 61], Operations: ['71-10=61']
Exploring Operation: 27+66=93, Resulting Numbers: [61, 93]
Generated Node #0,2,0: 23:[61, 93] Operation: 27+66=93
Exploring Operation: 66-27=39, Resulting Numbers: [61, 39]
Generated Node #0,2,1: 23:[61, 39] Operation: 66-27=39
Exploring Operation: 66-61=5, Resulting Numbers: [27, 5]
Generated Node #0,2,2: 23:[27, 5] Operation: 66-61=5
Exploring Operation: 61-27=34, Resulting Numbers: [66, 34]
Generated Node #0,2,3: 23:[66, 34] Operation: 61-27=34
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[27, 5], Operations: ['71-10=61', '66-61=5']
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,23 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[61, 39], Operations: ['71-10=61', '66-27=39']
Exploring Operation: 61*39=2379, Resulting Numbers: [2379]
2379,23 unequal: No Solution
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 61+39=100, Resulting Numbers: [100]
100,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 23:[66, 34], Operations: ['71-10=61', '61-27=34']
Exploring Operation: 66*34=2244, Resulting Numbers: [2244]
2244,23 unequal: No Solution
Exploring Operation: 66-34=32, Resulting Numbers: [32]
32,23 unequal: No Solution
Exploring Operation: 66+34=100, Resulting Numbers: [100]
100,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[61, 93], Operations: ['71-10=61', '27+66=93']
Exploring Operation: 61+93=154, Resulting Numbers: [154]
154,23 unequal: No Solution
Exploring Operation: 93-61=32, Resulting Numbers: [32]
32,23 unequal: No Solution
Exploring Operation: 61*93=5673, Resulting Numbers: [5673]
5673,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 23:[27, 15], Operations: ['71-66=5', '10+5=15']
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,23 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[10, 22], Operations: ['71-66=5', '27-5=22']
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,23 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[27, 5], Operations: ['71-66=5', '10-5=5']
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,23 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,23 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[10, 32], Operations: ['66-27=39', '71-39=32']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,23 unequal: No Solution
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[10, 32], Operations: ['71-66=5', '27+5=32']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[39, 61], Operations: ['66-27=39', '71-10=61']
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 39*61=2379, Resulting Numbers: [2379]
2379,23 unequal: No Solution
Exploring Operation: 39+61=100, Resulting Numbers: [100]
100,23 unequal: No Solution
Moving to Node #0,0,3
Current State: 23:[71, 29], Operations: ['66-27=39', '39-10=29']
Exploring Operation: 71*29=2059, Resulting Numbers: [2059]
2059,23 unequal: No Solution
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 71+29=100, Resulting Numbers: [100]
100,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[39, 81], Operations: ['66-27=39', '10+71=81']
Exploring Operation: 39+81=120, Resulting Numbers: [120]
120,23 unequal: No Solution
Exploring Operation: 39*81=3159, Resulting Numbers: [3159]
3159,23 unequal: No Solution
Exploring Operation: 81-39=42, Resulting Numbers: [42]
42,23 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
2,
64,
57,
60
] | 55 | [
"64-2=62",
"57+60=117",
"117-62=55"
] | Current State: 55:[2, 64, 57, 60], Operations: []
Exploring Operation: 64-2=62, Resulting Numbers: [57, 60, 62]
Generated Node #2: [57, 60, 62] from Operation: 64-2=62
Current State: 55:[57, 60, 62], Operations: ['64-2=62']
Exploring Operation: 57+60=117, Resulting Numbers: [62, 117]
Generated Node #3: [62, 117] from Operation: 57+60=117
Current State: 55:[62, 117], Operations: ['64-2=62', '57+60=117']
Exploring Operation: 117-62=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[2, 64, 57, 60], Operations: []
Exploring Operation: 64-2=62, Resulting Numbers: [57, 60, 62]
Generated Node #0,0: 55:[57, 60, 62] Operation: 64-2=62
Exploring Operation: 64-57=7, Resulting Numbers: [2, 60, 7]
Generated Node #0,1: 55:[2, 60, 7] Operation: 64-57=7
Exploring Operation: 57-2=55, Resulting Numbers: [64, 60, 55]
Generated Node #0,2: 55:[64, 60, 55] Operation: 57-2=55
Exploring Operation: 64-60=4, Resulting Numbers: [2, 57, 4]
Generated Node #0,3: 55:[2, 57, 4] Operation: 64-60=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 55:[2, 57, 4], Operations: ['64-60=4']
Exploring Operation: 57-2=55, Resulting Numbers: [4, 55]
Generated Node #0,3,0: 55:[4, 55] Operation: 57-2=55
Exploring Operation: 2*4=8, Resulting Numbers: [57, 8]
Generated Node #0,3,1: 55:[57, 8] Operation: 2*4=8
Exploring Operation: 2+4=6, Resulting Numbers: [57, 6]
Generated Node #0,3,2: 55:[57, 6] Operation: 2+4=6
Exploring Operation: 2+57=59, Resulting Numbers: [4, 59]
Generated Node #0,3,3: 55:[4, 59] Operation: 2+57=59
Moving to Node #0,3,0
Current State: 55:[4, 55], Operations: ['64-60=4', '57-2=55']
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,55 unequal: No Solution
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,55 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,55 unequal: No Solution
Moving to Node #0,3,2
Current State: 55:[57, 6], Operations: ['64-60=4', '2+4=6']
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,55 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,55 unequal: No Solution
Exploring Operation: 57*6=342, Resulting Numbers: [342]
342,55 unequal: No Solution
Moving to Node #0,3,3
Current State: 55:[4, 59], Operations: ['64-60=4', '2+57=59']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[2, 64, 57, 60], Operations: []
Exploring Operation: 64-60=4, Resulting Numbers: [2, 57, 4]
Generated Node #0,3: 55:[2, 57, 4] Operation: 64-60=4
Moving to Node #0,3
Current State: 55:[2, 57, 4], Operations: ['64-60=4']
Exploring Operation: 2+57=59, Resulting Numbers: [4, 59]
Generated Node #0,3,3: 55:[4, 59] Operation: 2+57=59
Moving to Node #0,3,3
Current State: 55:[4, 59], Operations: ['64-60=4', '2+57=59']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
5,
86,
6,
72
] | 40 | [
"86-6=80",
"80-72=8",
"5*8=40"
] | Current State: 40:[5, 86, 6, 72], Operations: []
Exploring Operation: 86-6=80, Resulting Numbers: [5, 72, 80]
Generated Node #2: [5, 72, 80] from Operation: 86-6=80
Current State: 40:[5, 72, 80], Operations: ['86-6=80']
Exploring Operation: 80-72=8, Resulting Numbers: [5, 8]
Generated Node #3: [5, 8] from Operation: 80-72=8
Current State: 40:[5, 8], Operations: ['86-6=80', '80-72=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[5, 86, 6, 72], Operations: []
Exploring Operation: 86-6=80, Resulting Numbers: [5, 72, 80]
Generated Node #0,0: 40:[5, 72, 80] Operation: 86-6=80
Exploring Operation: 86-72=14, Resulting Numbers: [5, 6, 14]
Generated Node #0,1: 40:[5, 6, 14] Operation: 86-72=14
Exploring Operation: 72/6=12, Resulting Numbers: [5, 86, 12]
Generated Node #0,2: 40:[5, 86, 12] Operation: 72/6=12
Moving to Node #0,1
Current State: 40:[5, 6, 14], Operations: ['86-72=14']
Exploring Operation: 5+14=19, Resulting Numbers: [6, 19]
Generated Node #0,1,0: 40:[6, 19] Operation: 5+14=19
Exploring Operation: 14-6=8, Resulting Numbers: [5, 8]
Generated Node #0,1,1: 40:[5, 8] Operation: 14-6=8
Exploring Operation: 6+14=20, Resulting Numbers: [5, 20]
Generated Node #0,1,2: 40:[5, 20] Operation: 6+14=20
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[5, 8], Operations: ['86-72=14', '14-6=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[5, 86, 6, 72], Operations: []
Exploring Operation: 86-72=14, Resulting Numbers: [5, 6, 14]
Generated Node #0,1: 40:[5, 6, 14] Operation: 86-72=14
Moving to Node #0,1
Current State: 40:[5, 6, 14], Operations: ['86-72=14']
Exploring Operation: 14-6=8, Resulting Numbers: [5, 8]
Generated Node #0,1,1: 40:[5, 8] Operation: 14-6=8
Moving to Node #0,1,1
Current State: 40:[5, 8], Operations: ['86-72=14', '14-6=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
14,
41,
67,
81
] | 41 | [
"14+41=55",
"81-67=14",
"55-14=41"
] | Current State: 41:[14, 41, 67, 81], Operations: []
Exploring Operation: 14+41=55, Resulting Numbers: [67, 81, 55]
Generated Node #2: [67, 81, 55] from Operation: 14+41=55
Current State: 41:[67, 81, 55], Operations: ['14+41=55']
Exploring Operation: 81-67=14, Resulting Numbers: [55, 14]
Generated Node #3: [55, 14] from Operation: 81-67=14
Current State: 41:[55, 14], Operations: ['14+41=55', '81-67=14']
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[14, 41, 67, 81], Operations: []
Exploring Operation: 81-67=14, Resulting Numbers: [14, 41, 14]
Generated Node #0,0: 41:[14, 41, 14] Operation: 81-67=14
Exploring Operation: 81-14=67, Resulting Numbers: [41, 67, 67]
Generated Node #0,1: 41:[41, 67, 67] Operation: 81-14=67
Exploring Operation: 81-41=40, Resulting Numbers: [14, 67, 40]
Generated Node #0,2: 41:[14, 67, 40] Operation: 81-41=40
Exploring Operation: 67-14=53, Resulting Numbers: [41, 81, 53]
Generated Node #0,3: 41:[41, 81, 53] Operation: 67-14=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[41, 67, 67], Operations: ['81-14=67']
Exploring Operation: 67/67=1, Resulting Numbers: [41, 1]
Generated Node #0,1,0: 41:[41, 1] Operation: 67/67=1
Exploring Operation: 67-41=26, Resulting Numbers: [67, 26]
Generated Node #0,1,1: 41:[67, 26] Operation: 67-41=26
Exploring Operation: 67-67=0, Resulting Numbers: [41, 0]
Generated Node #0,1,2: 41:[41, 0] Operation: 67-67=0
Exploring Operation: 67-41=26, Resulting Numbers: [67, 26]
Generated Node #0,1,3: 41:[67, 26] Operation: 67-41=26
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[41, 1], Operations: ['81-14=67', '67/67=1']
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[14, 41, 67, 81], Operations: []
Exploring Operation: 81-14=67, Resulting Numbers: [41, 67, 67]
Generated Node #0,1: 41:[41, 67, 67] Operation: 81-14=67
Moving to Node #0,1
Current State: 41:[41, 67, 67], Operations: ['81-14=67']
Exploring Operation: 67/67=1, Resulting Numbers: [41, 1]
Generated Node #0,1,0: 41:[41, 1] Operation: 67/67=1
Moving to Node #0,1,0
Current State: 41:[41, 1], Operations: ['81-14=67', '67/67=1']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
33,
53,
38,
58
] | 10 | [
"33+53=86",
"38+58=96",
"96-86=10"
] | Current State: 10:[33, 53, 38, 58], Operations: []
Exploring Operation: 33+53=86, Resulting Numbers: [38, 58, 86]
Generated Node #2: [38, 58, 86] from Operation: 33+53=86
Current State: 10:[38, 58, 86], Operations: ['33+53=86']
Exploring Operation: 38+58=96, Resulting Numbers: [86, 96]
Generated Node #3: [86, 96] from Operation: 38+58=96
Current State: 10:[86, 96], Operations: ['33+53=86', '38+58=96']
Exploring Operation: 96-86=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[33, 53, 38, 58], Operations: []
Exploring Operation: 58-38=20, Resulting Numbers: [33, 53, 20]
Generated Node #0,0: 10:[33, 53, 20] Operation: 58-38=20
Exploring Operation: 53-33=20, Resulting Numbers: [38, 58, 20]
Generated Node #0,1: 10:[38, 58, 20] Operation: 53-33=20
Exploring Operation: 58-53=5, Resulting Numbers: [33, 38, 5]
Generated Node #0,2: 10:[33, 38, 5] Operation: 58-53=5
Exploring Operation: 53-38=15, Resulting Numbers: [33, 58, 15]
Generated Node #0,3: 10:[33, 58, 15] Operation: 53-38=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[33, 38, 5], Operations: ['58-53=5']
Exploring Operation: 33+5=38, Resulting Numbers: [38, 38]
Generated Node #0,2,0: 10:[38, 38] Operation: 33+5=38
Exploring Operation: 38-5=33, Resulting Numbers: [33, 33]
Generated Node #0,2,1: 10:[33, 33] Operation: 38-5=33
Exploring Operation: 33-5=28, Resulting Numbers: [38, 28]
Generated Node #0,2,2: 10:[38, 28] Operation: 33-5=28
Exploring Operation: 38-33=5, Resulting Numbers: [5, 5]
Generated Node #0,2,3: 10:[5, 5] Operation: 38-33=5
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 10:[5, 5], Operations: ['58-53=5', '38-33=5']
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,10 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[33, 53, 38, 58], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [33, 38, 5]
Generated Node #0,2: 10:[33, 38, 5] Operation: 58-53=5
Moving to Node #0,2
Current State: 10:[33, 38, 5], Operations: ['58-53=5']
Exploring Operation: 38-33=5, Resulting Numbers: [5, 5]
Generated Node #0,2,3: 10:[5, 5] Operation: 38-33=5
Moving to Node #0,2,3
Current State: 10:[5, 5], Operations: ['58-53=5', '38-33=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
38,
3,
7,
34
] | 57 | [
"38+7=45",
"3*34=102",
"102-45=57"
] | Current State: 57:[38, 3, 7, 34], Operations: []
Exploring Operation: 38+7=45, Resulting Numbers: [3, 34, 45]
Generated Node #2: [3, 34, 45] from Operation: 38+7=45
Current State: 57:[3, 34, 45], Operations: ['38+7=45']
Exploring Operation: 3*34=102, Resulting Numbers: [45, 102]
Generated Node #3: [45, 102] from Operation: 3*34=102
Current State: 57:[45, 102], Operations: ['38+7=45', '3*34=102']
Exploring Operation: 102-45=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[38, 3, 7, 34], Operations: []
Exploring Operation: 38-34=4, Resulting Numbers: [3, 7, 4]
Generated Node #0,0: 57:[3, 7, 4] Operation: 38-34=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[3, 7, 4], Operations: ['38-34=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3, 3]
Generated Node #0,0,0: 57:[3, 3] Operation: 7-4=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[3, 3], Operations: ['38-34=4', '7-4=3']
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
93,
35,
37,
68
] | 90 | [
"37+68=105",
"105/35=3",
"93-3=90"
] | Current State: 90:[93, 35, 37, 68], Operations: []
Exploring Operation: 37+68=105, Resulting Numbers: [93, 35, 105]
Generated Node #2: [93, 35, 105] from Operation: 37+68=105
Current State: 90:[93, 35, 105], Operations: ['37+68=105']
Exploring Operation: 105/35=3, Resulting Numbers: [93, 3]
Generated Node #3: [93, 3] from Operation: 105/35=3
Current State: 90:[93, 3], Operations: ['37+68=105', '105/35=3']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[93, 35, 37, 68], Operations: []
Exploring Operation: 93-68=25, Resulting Numbers: [35, 37, 25]
Generated Node #0,0: 90:[35, 37, 25] Operation: 93-68=25
Exploring Operation: 68-37=31, Resulting Numbers: [93, 35, 31]
Generated Node #0,1: 90:[93, 35, 31] Operation: 68-37=31
Exploring Operation: 68-35=33, Resulting Numbers: [93, 37, 33]
Generated Node #0,2: 90:[93, 37, 33] Operation: 68-35=33
Exploring Operation: 35+68=103, Resulting Numbers: [93, 37, 103]
Generated Node #0,3: 90:[93, 37, 103] Operation: 35+68=103
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[93, 35, 31], Operations: ['68-37=31']
Exploring Operation: 93/31=3, Resulting Numbers: [35, 3]
Generated Node #0,1,0: 90:[35, 3] Operation: 93/31=3
Exploring Operation: 93-31=62, Resulting Numbers: [35, 62]
Generated Node #0,1,1: 90:[35, 62] Operation: 93-31=62
Exploring Operation: 35-31=4, Resulting Numbers: [93, 4]
Generated Node #0,1,2: 90:[93, 4] Operation: 35-31=4
Exploring Operation: 93-35=58, Resulting Numbers: [31, 58]
Generated Node #0,1,3: 90:[31, 58] Operation: 93-35=58
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 90:[93, 4], Operations: ['68-37=31', '35-31=4']
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,90 unequal: No Solution
Exploring Operation: 93*4=372, Resulting Numbers: [372]
372,90 unequal: No Solution
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,90 unequal: No Solution
No 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: 90:[35, 3], Operations: ['68-37=31', '93/31=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,90 unequal: No Solution
No 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: 90:[31, 58], Operations: ['68-37=31', '93-35=58']
Exploring Operation: 58-31=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Exploring Operation: 31+58=89, Resulting Numbers: [89]
89,90 unequal: No Solution
Exploring Operation: 31*58=1798, Resulting Numbers: [1798]
1798,90 unequal: No Solution
No 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: 90:[35, 62], Operations: ['68-37=31', '93-31=62']
Exploring Operation: 35+62=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Exploring Operation: 62-35=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Exploring Operation: 35*62=2170, Resulting Numbers: [2170]
2170,90 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: 90:[93, 37, 33], Operations: ['68-35=33']
Exploring Operation: 37-33=4, Resulting Numbers: [93, 4]
Generated Node #0,2,0: 90:[93, 4] Operation: 37-33=4
Exploring Operation: 93-37=56, Resulting Numbers: [33, 56]
Generated Node #0,2,1: 90:[33, 56] Operation: 93-37=56
Exploring Operation: 93-33=60, Resulting Numbers: [37, 60]
Generated Node #0,2,2: 90:[37, 60] Operation: 93-33=60
Exploring Operation: 37+33=70, Resulting Numbers: [93, 70]
Generated Node #0,2,3: 90:[93, 70] Operation: 37+33=70
Moving to Node #0,2,0
Current State: 90:[93, 4], Operations: ['68-35=33', '37-33=4']
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,90 unequal: No Solution
Exploring Operation: 93*4=372, Resulting Numbers: [372]
372,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[33, 56], Operations: ['68-35=33', '93-37=56']
Exploring Operation: 33*56=1848, Resulting Numbers: [1848]
1848,90 unequal: No Solution
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[37, 60], Operations: ['68-35=33', '93-33=60']
Exploring Operation: 37+60=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 37*60=2220, Resulting Numbers: [2220]
2220,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[93, 70], Operations: ['68-35=33', '37+33=70']
Exploring Operation: 93*70=6510, Resulting Numbers: [6510]
6510,90 unequal: No Solution
Exploring Operation: 93+70=163, Resulting Numbers: [163]
163,90 unequal: No Solution
Exploring Operation: 93-70=23, Resulting Numbers: [23]
23,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[35, 37, 25], Operations: ['93-68=25']
Exploring Operation: 35-25=10, Resulting Numbers: [37, 10]
Generated Node #0,0,0: 90:[37, 10] Operation: 35-25=10
Exploring Operation: 37-25=12, Resulting Numbers: [35, 12]
Generated Node #0,0,1: 90:[35, 12] Operation: 37-25=12
Exploring Operation: 35+25=60, Resulting Numbers: [37, 60]
Generated Node #0,0,2: 90:[37, 60] Operation: 35+25=60
Exploring Operation: 37-35=2, Resulting Numbers: [25, 2]
Generated Node #0,0,3: 90:[25, 2] Operation: 37-35=2
Moving to Node #0,0,3
Current State: 90:[25, 2], Operations: ['93-68=25', '37-35=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[35, 12], Operations: ['93-68=25', '37-25=12']
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 35+12=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 35*12=420, Resulting Numbers: [420]
420,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[37, 10], Operations: ['93-68=25', '35-25=10']
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Exploring Operation: 37*10=370, Resulting Numbers: [370]
370,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[37, 60], Operations: ['93-68=25', '35+25=60']
Exploring Operation: 37+60=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Exploring Operation: 37*60=2220, Resulting Numbers: [2220]
2220,90 unequal: No Solution
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[93, 37, 103], Operations: ['35+68=103']
Exploring Operation: 93+37=130, Resulting Numbers: [103, 130]
Generated Node #0,3,0: 90:[103, 130] Operation: 93+37=130
Exploring Operation: 103-37=66, Resulting Numbers: [93, 66]
Generated Node #0,3,1: 90:[93, 66] Operation: 103-37=66
Exploring Operation: 93-37=56, Resulting Numbers: [103, 56]
Generated Node #0,3,2: 90:[103, 56] Operation: 93-37=56
Exploring Operation: 103-93=10, Resulting Numbers: [37, 10]
Generated Node #0,3,3: 90:[37, 10] Operation: 103-93=10
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 90:[37, 10], Operations: ['35+68=103', '103-93=10']
Exploring Operation: 37*10=370, Resulting Numbers: [370]
370,90 unequal: No Solution
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,90 unequal: No Solution
No 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: 90:[93, 66], Operations: ['35+68=103', '103-37=66']
Exploring Operation: 93-66=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Exploring Operation: 93+66=159, Resulting Numbers: [159]
159,90 unequal: No Solution
Exploring Operation: 93*66=6138, Resulting Numbers: [6138]
6138,90 unequal: No Solution
No 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: 90:[103, 56], Operations: ['35+68=103', '93-37=56']
Exploring Operation: 103*56=5768, Resulting Numbers: [5768]
5768,90 unequal: No Solution
Exploring Operation: 103-56=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 103+56=159, Resulting Numbers: [159]
159,90 unequal: No Solution
No 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: 90:[103, 130], Operations: ['35+68=103', '93+37=130']
Exploring Operation: 130-103=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Exploring Operation: 103*130=13390, Resulting Numbers: [13390]
13390,90 unequal: No Solution
Exploring Operation: 103+130=233, Resulting Numbers: [233]
233,90 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 |
[
59,
68,
12,
31
] | 28 | [
"68-59=9",
"31-12=19",
"9+19=28"
] | Current State: 28:[59, 68, 12, 31], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [12, 31, 9]
Generated Node #2: [12, 31, 9] from Operation: 68-59=9
Current State: 28:[12, 31, 9], Operations: ['68-59=9']
Exploring Operation: 31-12=19, Resulting Numbers: [9, 19]
Generated Node #3: [9, 19] from Operation: 31-12=19
Current State: 28:[9, 19], Operations: ['68-59=9', '31-12=19']
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[59, 68, 12, 31], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [12, 31, 9]
Generated Node #0,0: 28:[12, 31, 9] Operation: 68-59=9
Moving to Node #0,0
Current State: 28:[12, 31, 9], Operations: ['68-59=9']
Exploring Operation: 12-9=3, Resulting Numbers: [31, 3]
Generated Node #0,0,0: 28:[31, 3] Operation: 12-9=3
Moving to Node #0,0,0
Current State: 28:[31, 3], Operations: ['68-59=9', '12-9=3']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[59, 68, 12, 31], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [12, 31, 9]
Generated Node #0,0: 28:[12, 31, 9] Operation: 68-59=9
Moving to Node #0,0
Current State: 28:[12, 31, 9], Operations: ['68-59=9']
Exploring Operation: 12-9=3, Resulting Numbers: [31, 3]
Generated Node #0,0,0: 28:[31, 3] Operation: 12-9=3
Moving to Node #0,0,0
Current State: 28:[31, 3], Operations: ['68-59=9', '12-9=3']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
90,
69,
38,
51
] | 99 | [
"90*38=3420",
"69*51=3519",
"3519-3420=99"
] | Current State: 99:[90, 69, 38, 51], Operations: []
Exploring Operation: 90*38=3420, Resulting Numbers: [69, 51, 3420]
Generated Node #2: [69, 51, 3420] from Operation: 90*38=3420
Current State: 99:[69, 51, 3420], Operations: ['90*38=3420']
Exploring Operation: 69*51=3519, Resulting Numbers: [3420, 3519]
Generated Node #3: [3420, 3519] from Operation: 69*51=3519
Current State: 99:[3420, 3519], Operations: ['90*38=3420', '69*51=3519']
Exploring Operation: 3519-3420=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[90, 69, 38, 51], Operations: []
Exploring Operation: 69+51=120, Resulting Numbers: [90, 38, 120]
Generated Node #0,0: 99:[90, 38, 120] Operation: 69+51=120
Exploring Operation: 90-69=21, Resulting Numbers: [38, 51, 21]
Generated Node #0,1: 99:[38, 51, 21] Operation: 90-69=21
Exploring Operation: 69-51=18, Resulting Numbers: [90, 38, 18]
Generated Node #0,2: 99:[90, 38, 18] Operation: 69-51=18
Exploring Operation: 69-38=31, Resulting Numbers: [90, 51, 31]
Generated Node #0,3: 99:[90, 51, 31] Operation: 69-38=31
Exploring Operation: 69+38=107, Resulting Numbers: [90, 51, 107]
Generated Node #0,4: 99:[90, 51, 107] Operation: 69+38=107
Moving to Node #0,2
Current State: 99:[90, 38, 18], Operations: ['69-51=18']
Exploring Operation: 90-38=52, Resulting Numbers: [18, 52]
Generated Node #0,2,0: 99:[18, 52] Operation: 90-38=52
Exploring Operation: 90-18=72, Resulting Numbers: [38, 72]
Generated Node #0,2,1: 99:[38, 72] Operation: 90-18=72
Exploring Operation: 90+18=108, Resulting Numbers: [38, 108]
Generated Node #0,2,2: 99:[38, 108] Operation: 90+18=108
Exploring Operation: 38-18=20, Resulting Numbers: [90, 20]
Generated Node #0,2,3: 99:[90, 20] Operation: 38-18=20
Exploring Operation: 90/18=5, Resulting Numbers: [38, 5]
Generated Node #0,2,4: 99:[38, 5] Operation: 90/18=5
Moving to Node #0,3
Current State: 99:[90, 51, 31], Operations: ['69-38=31']
Exploring Operation: 90+51=141, Resulting Numbers: [31, 141]
Generated Node #0,3,0: 99:[31, 141] Operation: 90+51=141
Exploring Operation: 51-31=20, Resulting Numbers: [90, 20]
Generated Node #0,3,1: 99:[90, 20] Operation: 51-31=20
Exploring Operation: 90+31=121, Resulting Numbers: [51, 121]
Generated Node #0,3,2: 99:[51, 121] Operation: 90+31=121
Exploring Operation: 90-51=39, Resulting Numbers: [31, 39]
Generated Node #0,3,3: 99:[31, 39] Operation: 90-51=39
Exploring Operation: 51+31=82, Resulting Numbers: [90, 82]
Generated Node #0,3,4: 99:[90, 82] Operation: 51+31=82
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 99:[31, 39], Operations: ['69-38=31', '90-51=39']
Exploring Operation: 31*39=1209, Resulting Numbers: [1209]
1209,99 unequal: No Solution
Exploring Operation: 31+39=70, Resulting Numbers: [70]
70,99 unequal: No Solution
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 99:[90, 20], Operations: ['69-38=31', '51-31=20']
Exploring Operation: 90+20=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Exploring Operation: 90*20=1800, Resulting Numbers: [1800]
1800,99 unequal: No Solution
Exploring Operation: 90-20=70, Resulting Numbers: [70]
70,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,3,4
Current State: 99:[90, 82], Operations: ['69-38=31', '51+31=82']
Exploring Operation: 90-82=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Exploring Operation: 90*82=7380, Resulting Numbers: [7380]
7380,99 unequal: No Solution
Exploring Operation: 90+82=172, Resulting Numbers: [172]
172,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,3,2
Current State: 99:[51, 121], Operations: ['69-38=31', '90+31=121']
Exploring Operation: 51+121=172, Resulting Numbers: [172]
172,99 unequal: No Solution
Exploring Operation: 121-51=70, Resulting Numbers: [70]
70,99 unequal: No Solution
Exploring Operation: 51*121=6171, Resulting Numbers: [6171]
6171,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,3,0
Current State: 99:[31, 141], Operations: ['69-38=31', '90+51=141']
Exploring Operation: 31+141=172, Resulting Numbers: [172]
172,99 unequal: No Solution
Exploring Operation: 141-31=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Exploring Operation: 31*141=4371, Resulting Numbers: [4371]
4371,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:[38, 51, 21], Operations: ['90-69=21']
Exploring Operation: 38-21=17, Resulting Numbers: [51, 17]
Generated Node #0,1,0: 99:[51, 17] Operation: 38-21=17
Exploring Operation: 51-38=13, Resulting Numbers: [21, 13]
Generated Node #0,1,1: 99:[21, 13] Operation: 51-38=13
Exploring Operation: 51+21=72, Resulting Numbers: [38, 72]
Generated Node #0,1,2: 99:[38, 72] Operation: 51+21=72
Exploring Operation: 38+51=89, Resulting Numbers: [21, 89]
Generated Node #0,1,3: 99:[21, 89] Operation: 38+51=89
Exploring Operation: 51-21=30, Resulting Numbers: [38, 30]
Generated Node #0,1,4: 99:[38, 30] Operation: 51-21=30
Moving to Node #0,0
Current State: 99:[90, 38, 120], Operations: ['69+51=120']
Exploring Operation: 38+120=158, Resulting Numbers: [90, 158]
Generated Node #0,0,0: 99:[90, 158] Operation: 38+120=158
Exploring Operation: 120-38=82, Resulting Numbers: [90, 82]
Generated Node #0,0,1: 99:[90, 82] Operation: 120-38=82
Exploring Operation: 90+38=128, Resulting Numbers: [120, 128]
Generated Node #0,0,2: 99:[120, 128] Operation: 90+38=128
Exploring Operation: 90-38=52, Resulting Numbers: [120, 52]
Generated Node #0,0,3: 99:[120, 52] Operation: 90-38=52
Exploring Operation: 120-90=30, Resulting Numbers: [38, 30]
Generated Node #0,0,4: 99:[38, 30] Operation: 120-90=30
Moving to Node #0,4
Current State: 99:[90, 51, 107], Operations: ['69+38=107']
Exploring Operation: 107-51=56, Resulting Numbers: [90, 56]
Generated Node #0,4,0: 99:[90, 56] Operation: 107-51=56
Exploring Operation: 51+107=158, Resulting Numbers: [90, 158]
Generated Node #0,4,1: 99:[90, 158] Operation: 51+107=158
Exploring Operation: 107-90=17, Resulting Numbers: [51, 17]
Generated Node #0,4,2: 99:[51, 17] Operation: 107-90=17
Exploring Operation: 90-51=39, Resulting Numbers: [107, 39]
Generated Node #0,4,3: 99:[107, 39] Operation: 90-51=39
Exploring Operation: 90+51=141, Resulting Numbers: [107, 141]
Generated Node #0,4,4: 99:[107, 141] Operation: 90+51=141
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 99:[107, 39], Operations: ['69+38=107', '90-51=39']
Exploring Operation: 107+39=146, Resulting Numbers: [146]
146,99 unequal: No Solution
Exploring Operation: 107-39=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Exploring Operation: 107*39=4173, Resulting Numbers: [4173]
4173,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,4,2
Current State: 99:[51, 17], Operations: ['69+38=107', '107-90=17']
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,99 unequal: No Solution
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,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,4,0
Current State: 99:[90, 56], Operations: ['69+38=107', '107-51=56']
Exploring Operation: 90-56=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 90*56=5040, Resulting Numbers: [5040]
5040,99 unequal: No Solution
Exploring Operation: 90+56=146, Resulting Numbers: [146]
146,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,4,4
Current State: 99:[107, 141], Operations: ['69+38=107', '90+51=141']
Exploring Operation: 107*141=15087, Resulting Numbers: [15087]
15087,99 unequal: No Solution
Exploring Operation: 141-107=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 107+141=248, Resulting Numbers: [248]
248,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,4,1
Current State: 99:[90, 158], Operations: ['69+38=107', '51+107=158']
Exploring Operation: 90*158=14220, Resulting Numbers: [14220]
14220,99 unequal: No Solution
Exploring Operation: 158-90=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Exploring Operation: 90+158=248, Resulting Numbers: [248]
248,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,4
Current State: 99:[38, 5], Operations: ['69-51=18', '90/18=5']
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,99 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,99 unequal: No Solution
Exploring Operation: 38*5=190, Resulting Numbers: [190]
190,99 unequal: No Solution
Moving to Node #0,1,4
Current State: 99:[38, 30], Operations: ['90-69=21', '51-21=30']
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Exploring Operation: 38*30=1140, Resulting Numbers: [1140]
1140,99 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Moving to Node #0,0,4
Current State: 99:[38, 30], Operations: ['69+51=120', '120-90=30']
Exploring Operation: 38*30=1140, Resulting Numbers: [1140]
1140,99 unequal: No Solution
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[21, 13], Operations: ['90-69=21', '51-38=13']
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,99 unequal: No Solution
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[38, 108], Operations: ['69-51=18', '90+18=108']
Exploring Operation: 38*108=4104, Resulting Numbers: [4104]
4104,99 unequal: No Solution
Exploring Operation: 38+108=146, Resulting Numbers: [146]
146,99 unequal: No Solution
Exploring Operation: 108-38=70, Resulting Numbers: [70]
70,99 unequal: No Solution
Moving to Node #0,2,3
Current State: 99:[90, 20], Operations: ['69-51=18', '38-18=20']
Exploring Operation: 90-20=70, Resulting Numbers: [70]
70,99 unequal: No Solution
Exploring Operation: 90+20=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Exploring Operation: 90*20=1800, Resulting Numbers: [1800]
1800,99 unequal: No Solution
Moving to Node #0,1,3
Current State: 99:[21, 89], Operations: ['90-69=21', '38+51=89']
Exploring Operation: 89-21=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Exploring Operation: 21+89=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Exploring Operation: 21*89=1869, Resulting Numbers: [1869]
1869,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[51, 17], Operations: ['90-69=21', '38-21=17']
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,99 unequal: No Solution
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[90, 82], Operations: ['69+51=120', '120-38=82']
Exploring Operation: 90*82=7380, Resulting Numbers: [7380]
7380,99 unequal: No Solution
Exploring Operation: 90+82=172, Resulting Numbers: [172]
172,99 unequal: No Solution
Exploring Operation: 90-82=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Moving to Node #0,2,0
Current State: 99:[18, 52], Operations: ['69-51=18', '90-38=52']
Exploring Operation: 18*52=936, Resulting Numbers: [936]
936,99 unequal: No Solution
Exploring Operation: 18+52=70, Resulting Numbers: [70]
70,99 unequal: No Solution
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Moving to Node #0,2,1
Current State: 99:[38, 72], Operations: ['69-51=18', '90-18=72']
Exploring Operation: 38+72=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Exploring Operation: 38*72=2736, Resulting Numbers: [2736]
2736,99 unequal: No Solution
Exploring Operation: 72-38=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Moving to Node #0,1,2
Current State: 99:[38, 72], Operations: ['90-69=21', '51+21=72']
Exploring Operation: 72-38=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 38+72=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Exploring Operation: 38*72=2736, Resulting Numbers: [2736]
2736,99 unequal: No Solution
Moving to Node #0,0,3
Current State: 99:[120, 52], Operations: ['69+51=120', '90-38=52']
Exploring Operation: 120*52=6240, Resulting Numbers: [6240]
6240,99 unequal: No Solution
Exploring Operation: 120-52=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Exploring Operation: 120+52=172, Resulting Numbers: [172]
172,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[120, 128], Operations: ['69+51=120', '90+38=128']
Exploring Operation: 128-120=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Exploring Operation: 120+128=248, Resulting Numbers: [248]
248,99 unequal: No Solution
Exploring Operation: 120*128=15360, Resulting Numbers: [15360]
15360,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[90, 158], Operations: ['69+51=120', '38+120=158']
Exploring Operation: 158-90=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Exploring Operation: 90*158=14220, Resulting Numbers: [14220]
14220,99 unequal: No Solution
Exploring Operation: 90+158=248, Resulting Numbers: [248]
248,99 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
92,
46,
35,
65
] | 98 | [
"92/46=2",
"35+65=100",
"100-2=98"
] | Current State: 98:[92, 46, 35, 65], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [35, 65, 2]
Generated Node #2: [35, 65, 2] from Operation: 92/46=2
Current State: 98:[35, 65, 2], Operations: ['92/46=2']
Exploring Operation: 35+65=100, Resulting Numbers: [2, 100]
Generated Node #3: [2, 100] from Operation: 35+65=100
Current State: 98:[2, 100], Operations: ['92/46=2', '35+65=100']
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[92, 46, 35, 65], Operations: []
Exploring Operation: 65-46=19, Resulting Numbers: [92, 35, 19]
Generated Node #0,0: 98:[92, 35, 19] Operation: 65-46=19
Exploring Operation: 65-35=30, Resulting Numbers: [92, 46, 30]
Generated Node #0,1: 98:[92, 46, 30] Operation: 65-35=30
Exploring Operation: 35+65=100, Resulting Numbers: [92, 46, 100]
Generated Node #0,2: 98:[92, 46, 100] Operation: 35+65=100
Exploring Operation: 46-35=11, Resulting Numbers: [92, 65, 11]
Generated Node #0,3: 98:[92, 65, 11] Operation: 46-35=11
Exploring Operation: 92-35=57, Resulting Numbers: [46, 65, 57]
Generated Node #0,4: 98:[46, 65, 57] Operation: 92-35=57
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[92, 46, 100], Operations: ['35+65=100']
Exploring Operation: 92-46=46, Resulting Numbers: [100, 46]
Generated Node #0,2,0: 98:[100, 46] Operation: 92-46=46
Exploring Operation: 100-92=8, Resulting Numbers: [46, 8]
Generated Node #0,2,1: 98:[46, 8] Operation: 100-92=8
Exploring Operation: 92/46=2, Resulting Numbers: [100, 2]
Generated Node #0,2,2: 98:[100, 2] Operation: 92/46=2
Exploring Operation: 92+46=138, Resulting Numbers: [100, 138]
Generated Node #0,2,3: 98:[100, 138] Operation: 92+46=138
Exploring Operation: 100-46=54, Resulting Numbers: [92, 54]
Generated Node #0,2,4: 98:[92, 54] Operation: 100-46=54
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 98:[100, 2], Operations: ['35+65=100', '92/46=2']
Exploring Operation: 100+2=102, Resulting Numbers: [102]
102,98 unequal: No Solution
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[92, 46, 35, 65], Operations: []
Exploring Operation: 35+65=100, Resulting Numbers: [92, 46, 100]
Generated Node #0,2: 98:[92, 46, 100] Operation: 35+65=100
Moving to Node #0,2
Current State: 98:[92, 46, 100], Operations: ['35+65=100']
Exploring Operation: 92/46=2, Resulting Numbers: [100, 2]
Generated Node #0,2,2: 98:[100, 2] Operation: 92/46=2
Moving to Node #0,2,2
Current State: 98:[100, 2], Operations: ['35+65=100', '92/46=2']
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
76,
88,
94,
27
] | 97 | [
"76+88=164",
"94-27=67",
"164-67=97"
] | Current State: 97:[76, 88, 94, 27], Operations: []
Exploring Operation: 76+88=164, Resulting Numbers: [94, 27, 164]
Generated Node #2: [94, 27, 164] from Operation: 76+88=164
Current State: 97:[94, 27, 164], Operations: ['76+88=164']
Exploring Operation: 94-27=67, Resulting Numbers: [164, 67]
Generated Node #3: [164, 67] from Operation: 94-27=67
Current State: 97:[164, 67], Operations: ['76+88=164', '94-27=67']
Exploring Operation: 164-67=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[76, 88, 94, 27], Operations: []
Exploring Operation: 88+27=115, Resulting Numbers: [76, 94, 115]
Generated Node #0,0: 97:[76, 94, 115] Operation: 88+27=115
Exploring Operation: 94+27=121, Resulting Numbers: [76, 88, 121]
Generated Node #0,1: 97:[76, 88, 121] Operation: 94+27=121
Exploring Operation: 76-27=49, Resulting Numbers: [88, 94, 49]
Generated Node #0,2: 97:[88, 94, 49] Operation: 76-27=49
Exploring Operation: 76+27=103, Resulting Numbers: [88, 94, 103]
Generated Node #0,3: 97:[88, 94, 103] Operation: 76+27=103
Moving to Node #0,3
Current State: 97:[88, 94, 103], Operations: ['76+27=103']
Exploring Operation: 94-88=6, Resulting Numbers: [103, 6]
Generated Node #0,3,0: 97:[103, 6] Operation: 94-88=6
Exploring Operation: 103-88=15, Resulting Numbers: [94, 15]
Generated Node #0,3,1: 97:[94, 15] Operation: 103-88=15
Exploring Operation: 88+94=182, Resulting Numbers: [103, 182]
Generated Node #0,3,2: 97:[103, 182] Operation: 88+94=182
Exploring Operation: 88+103=191, Resulting Numbers: [94, 191]
Generated Node #0,3,3: 97:[94, 191] Operation: 88+103=191
Moving to Node #0,0
Current State: 97:[76, 94, 115], Operations: ['88+27=115']
Exploring Operation: 76+94=170, Resulting Numbers: [115, 170]
Generated Node #0,0,0: 97:[115, 170] Operation: 76+94=170
Exploring Operation: 76+115=191, Resulting Numbers: [94, 191]
Generated Node #0,0,1: 97:[94, 191] Operation: 76+115=191
Exploring Operation: 94-76=18, Resulting Numbers: [115, 18]
Generated Node #0,0,2: 97:[115, 18] Operation: 94-76=18
Exploring Operation: 115-76=39, Resulting Numbers: [94, 39]
Generated Node #0,0,3: 97:[94, 39] Operation: 115-76=39
Moving to Node #0,1
Current State: 97:[76, 88, 121], Operations: ['94+27=121']
Exploring Operation: 88-76=12, Resulting Numbers: [121, 12]
Generated Node #0,1,0: 97:[121, 12] Operation: 88-76=12
Exploring Operation: 121-76=45, Resulting Numbers: [88, 45]
Generated Node #0,1,1: 97:[88, 45] Operation: 121-76=45
Exploring Operation: 121-88=33, Resulting Numbers: [76, 33]
Generated Node #0,1,2: 97:[76, 33] Operation: 121-88=33
Exploring Operation: 76+88=164, Resulting Numbers: [121, 164]
Generated Node #0,1,3: 97:[121, 164] Operation: 76+88=164
Moving to Node #0,2
Current State: 97:[88, 94, 49], Operations: ['76-27=49']
Exploring Operation: 94+49=143, Resulting Numbers: [88, 143]
Generated Node #0,2,0: 97:[88, 143] Operation: 94+49=143
Exploring Operation: 88-49=39, Resulting Numbers: [94, 39]
Generated Node #0,2,1: 97:[94, 39] Operation: 88-49=39
Exploring Operation: 88+49=137, Resulting Numbers: [94, 137]
Generated Node #0,2,2: 97:[94, 137] Operation: 88+49=137
Exploring Operation: 94-49=45, Resulting Numbers: [88, 45]
Generated Node #0,2,3: 97:[88, 45] Operation: 94-49=45
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[94, 137], Operations: ['76-27=49', '88+49=137']
Exploring Operation: 94*137=12878, Resulting Numbers: [12878]
12878,97 unequal: No Solution
Exploring Operation: 94+137=231, Resulting Numbers: [231]
231,97 unequal: No Solution
Exploring Operation: 137-94=43, Resulting Numbers: [43]
43,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[88, 143], Operations: ['76-27=49', '94+49=143']
Exploring Operation: 88*143=12584, Resulting Numbers: [12584]
12584,97 unequal: No Solution
Exploring Operation: 143-88=55, Resulting Numbers: [55]
55,97 unequal: No Solution
Exploring Operation: 88+143=231, Resulting Numbers: [231]
231,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[94, 39], Operations: ['76-27=49', '88-49=39']
Exploring Operation: 94-39=55, Resulting Numbers: [55]
55,97 unequal: No Solution
Exploring Operation: 94*39=3666, Resulting Numbers: [3666]
3666,97 unequal: No Solution
Exploring Operation: 94+39=133, Resulting Numbers: [133]
133,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 97:[88, 45], Operations: ['76-27=49', '94-49=45']
Exploring Operation: 88*45=3960, Resulting Numbers: [3960]
3960,97 unequal: No Solution
Exploring Operation: 88+45=133, Resulting Numbers: [133]
133,97 unequal: No Solution
Exploring Operation: 88-45=43, Resulting Numbers: [43]
43,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 97:[94, 39], Operations: ['88+27=115', '115-76=39']
Exploring Operation: 94*39=3666, Resulting Numbers: [3666]
3666,97 unequal: No Solution
Exploring Operation: 94+39=133, Resulting Numbers: [133]
133,97 unequal: No Solution
Exploring Operation: 94-39=55, Resulting Numbers: [55]
55,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[88, 45], Operations: ['94+27=121', '121-76=45']
Exploring Operation: 88+45=133, Resulting Numbers: [133]
133,97 unequal: No Solution
Exploring Operation: 88*45=3960, Resulting Numbers: [3960]
3960,97 unequal: No Solution
Exploring Operation: 88-45=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[76, 33], Operations: ['94+27=121', '121-88=33']
Exploring Operation: 76+33=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Exploring Operation: 76*33=2508, Resulting Numbers: [2508]
2508,97 unequal: No Solution
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[94, 15], Operations: ['76+27=103', '103-88=15']
Exploring Operation: 94*15=1410, Resulting Numbers: [1410]
1410,97 unequal: No Solution
Exploring Operation: 94-15=79, Resulting Numbers: [79]
79,97 unequal: No Solution
Exploring Operation: 94+15=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[115, 170], Operations: ['88+27=115', '76+94=170']
Exploring Operation: 170-115=55, Resulting Numbers: [55]
55,97 unequal: No Solution
Exploring Operation: 115*170=19550, Resulting Numbers: [19550]
19550,97 unequal: No Solution
Exploring Operation: 115+170=285, Resulting Numbers: [285]
285,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[121, 164], Operations: ['94+27=121', '76+88=164']
Exploring Operation: 121+164=285, Resulting Numbers: [285]
285,97 unequal: No Solution
Exploring Operation: 121*164=19844, Resulting Numbers: [19844]
19844,97 unequal: No Solution
Exploring Operation: 164-121=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[103, 182], Operations: ['76+27=103', '88+94=182']
Exploring Operation: 103*182=18746, Resulting Numbers: [18746]
18746,97 unequal: No Solution
Exploring Operation: 182-103=79, Resulting Numbers: [79]
79,97 unequal: No Solution
Exploring Operation: 103+182=285, Resulting Numbers: [285]
285,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[94, 191], Operations: ['88+27=115', '76+115=191']
Exploring Operation: 191-94=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[76, 88, 94, 27], Operations: []
Exploring Operation: 88+27=115, Resulting Numbers: [76, 94, 115]
Generated Node #0,0: 97:[76, 94, 115] Operation: 88+27=115
Moving to Node #0,0
Current State: 97:[76, 94, 115], Operations: ['88+27=115']
Exploring Operation: 76+115=191, Resulting Numbers: [94, 191]
Generated Node #0,0,1: 97:[94, 191] Operation: 76+115=191
Moving to Node #0,0,1
Current State: 97:[94, 191], Operations: ['88+27=115', '76+115=191']
Exploring Operation: 191-94=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 0.949653 | hs_4 | sum_heuristic |
[
50,
72,
64,
96
] | 33 | [
"72-50=22",
"96*22=2112",
"2112/64=33"
] | Current State: 33:[50, 72, 64, 96], Operations: []
Exploring Operation: 72-50=22, Resulting Numbers: [64, 96, 22]
Generated Node #2: [64, 96, 22] from Operation: 72-50=22
Current State: 33:[64, 96, 22], Operations: ['72-50=22']
Exploring Operation: 96*22=2112, Resulting Numbers: [64, 2112]
Generated Node #3: [64, 2112] from Operation: 96*22=2112
Current State: 33:[64, 2112], Operations: ['72-50=22', '96*22=2112']
Exploring Operation: 2112/64=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[50, 72, 64, 96], Operations: []
Exploring Operation: 96-50=46, Resulting Numbers: [72, 64, 46]
Generated Node #0,0: 33:[72, 64, 46] Operation: 96-50=46
Exploring Operation: 96-64=32, Resulting Numbers: [50, 72, 32]
Generated Node #0,1: 33:[50, 72, 32] Operation: 96-64=32
Exploring Operation: 72-64=8, Resulting Numbers: [50, 96, 8]
Generated Node #0,2: 33:[50, 96, 8] Operation: 72-64=8
Exploring Operation: 72-50=22, Resulting Numbers: [64, 96, 22]
Generated Node #0,3: 33:[64, 96, 22] Operation: 72-50=22
Exploring Operation: 96-72=24, Resulting Numbers: [50, 64, 24]
Generated Node #0,4: 33:[50, 64, 24] Operation: 96-72=24
Moving to Node #0,1
Current State: 33:[50, 72, 32], Operations: ['96-64=32']
Exploring Operation: 50-32=18, Resulting Numbers: [72, 18]
Generated Node #0,1,0: 33:[72, 18] Operation: 50-32=18
Exploring Operation: 72+32=104, Resulting Numbers: [50, 104]
Generated Node #0,1,1: 33:[50, 104] Operation: 72+32=104
Exploring Operation: 50+32=82, Resulting Numbers: [72, 82]
Generated Node #0,1,2: 33:[72, 82] Operation: 50+32=82
Exploring Operation: 72-50=22, Resulting Numbers: [32, 22]
Generated Node #0,1,3: 33:[32, 22] Operation: 72-50=22
Exploring Operation: 72-32=40, Resulting Numbers: [50, 40]
Generated Node #0,1,4: 33:[50, 40] Operation: 72-32=40
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 33:[32, 22], Operations: ['96-64=32', '72-50=22']
Exploring Operation: 32+22=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 32*22=704, Resulting Numbers: [704]
704,33 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 33:[50, 40], Operations: ['96-64=32', '72-32=40']
Exploring Operation: 50*40=2000, Resulting Numbers: [2000]
2000,33 unequal: No Solution
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 50+40=90, Resulting Numbers: [90]
90,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[72, 18], Operations: ['96-64=32', '50-32=18']
Exploring Operation: 72*18=1296, Resulting Numbers: [1296]
1296,33 unequal: No Solution
Exploring Operation: 72+18=90, Resulting Numbers: [90]
90,33 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[50, 104], Operations: ['96-64=32', '72+32=104']
Exploring Operation: 50*104=5200, Resulting Numbers: [5200]
5200,33 unequal: No Solution
Exploring Operation: 104-50=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 50+104=154, Resulting Numbers: [154]
154,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 33:[72, 82], Operations: ['96-64=32', '50+32=82']
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 72+82=154, Resulting Numbers: [154]
154,33 unequal: No Solution
Exploring Operation: 72*82=5904, Resulting Numbers: [5904]
5904,33 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: 33:[50, 64, 24], Operations: ['96-72=24']
Exploring Operation: 64-24=40, Resulting Numbers: [50, 40]
Generated Node #0,4,0: 33:[50, 40] Operation: 64-24=40
Exploring Operation: 50+24=74, Resulting Numbers: [64, 74]
Generated Node #0,4,1: 33:[64, 74] Operation: 50+24=74
Exploring Operation: 64-50=14, Resulting Numbers: [24, 14]
Generated Node #0,4,2: 33:[24, 14] Operation: 64-50=14
Exploring Operation: 50-24=26, Resulting Numbers: [64, 26]
Generated Node #0,4,3: 33:[64, 26] Operation: 50-24=26
Exploring Operation: 64+24=88, Resulting Numbers: [50, 88]
Generated Node #0,4,4: 33:[50, 88] Operation: 64+24=88
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 33:[24, 14], Operations: ['96-72=24', '64-50=14']
Exploring Operation: 24*14=336, Resulting Numbers: [336]
336,33 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 33:[50, 40], Operations: ['96-72=24', '64-24=40']
Exploring Operation: 50+40=90, Resulting Numbers: [90]
90,33 unequal: No Solution
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 50*40=2000, Resulting Numbers: [2000]
2000,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,4,3
Current State: 33:[64, 26], Operations: ['96-72=24', '50-24=26']
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 64+26=90, Resulting Numbers: [90]
90,33 unequal: No Solution
Exploring Operation: 64*26=1664, Resulting Numbers: [1664]
1664,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,4,1
Current State: 33:[64, 74], Operations: ['96-72=24', '50+24=74']
Exploring Operation: 64*74=4736, Resulting Numbers: [4736]
4736,33 unequal: No Solution
Exploring Operation: 74-64=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 64+74=138, Resulting Numbers: [138]
138,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,4,4
Current State: 33:[50, 88], Operations: ['96-72=24', '64+24=88']
Exploring Operation: 88-50=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 50*88=4400, Resulting Numbers: [4400]
4400,33 unequal: No Solution
Exploring Operation: 50+88=138, Resulting Numbers: [138]
138,33 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: 33:[72, 64, 46], Operations: ['96-50=46']
Exploring Operation: 72+46=118, Resulting Numbers: [64, 118]
Generated Node #0,0,0: 33:[64, 118] Operation: 72+46=118
Exploring Operation: 64-46=18, Resulting Numbers: [72, 18]
Generated Node #0,0,1: 33:[72, 18] Operation: 64-46=18
Exploring Operation: 72-46=26, Resulting Numbers: [64, 26]
Generated Node #0,0,2: 33:[64, 26] Operation: 72-46=26
Exploring Operation: 72+64=136, Resulting Numbers: [46, 136]
Generated Node #0,0,3: 33:[46, 136] Operation: 72+64=136
Exploring Operation: 72-64=8, Resulting Numbers: [46, 8]
Generated Node #0,0,4: 33:[46, 8] Operation: 72-64=8
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 33:[46, 8], Operations: ['96-50=46', '72-64=8']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,33 unequal: No Solution
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,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,2
Current State: 33:[64, 26], Operations: ['96-50=46', '72-46=26']
Exploring Operation: 64+26=90, Resulting Numbers: [90]
90,33 unequal: No Solution
Exploring Operation: 64*26=1664, Resulting Numbers: [1664]
1664,33 unequal: No Solution
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[72, 18], Operations: ['96-50=46', '64-46=18']
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 72+18=90, Resulting Numbers: [90]
90,33 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 72*18=1296, Resulting Numbers: [1296]
1296,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,0
Current State: 33:[64, 118], Operations: ['96-50=46', '72+46=118']
Exploring Operation: 64+118=182, Resulting Numbers: [182]
182,33 unequal: No Solution
Exploring Operation: 64*118=7552, Resulting Numbers: [7552]
7552,33 unequal: No Solution
Exploring Operation: 118-64=54, Resulting Numbers: [54]
54,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,3
Current State: 33:[46, 136], Operations: ['96-50=46', '72+64=136']
Exploring Operation: 136-46=90, Resulting Numbers: [90]
90,33 unequal: No Solution
Exploring Operation: 46+136=182, Resulting Numbers: [182]
182,33 unequal: No Solution
Exploring Operation: 46*136=6256, Resulting Numbers: [6256]
6256,33 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: 33:[50, 96, 8], Operations: ['72-64=8']
Exploring Operation: 96-8=88, Resulting Numbers: [50, 88]
Generated Node #0,2,0: 33:[50, 88] Operation: 96-8=88
Exploring Operation: 50+8=58, Resulting Numbers: [96, 58]
Generated Node #0,2,1: 33:[96, 58] Operation: 50+8=58
Exploring Operation: 96-50=46, Resulting Numbers: [8, 46]
Generated Node #0,2,2: 33:[8, 46] Operation: 96-50=46
Exploring Operation: 50-8=42, Resulting Numbers: [96, 42]
Generated Node #0,2,3: 33:[96, 42] Operation: 50-8=42
Exploring Operation: 96/8=12, Resulting Numbers: [50, 12]
Generated Node #0,2,4: 33:[50, 12] Operation: 96/8=12
Moving to Node #0,3
Current State: 33:[64, 96, 22], Operations: ['72-50=22']
Exploring Operation: 64-22=42, Resulting Numbers: [96, 42]
Generated Node #0,3,0: 33:[96, 42] Operation: 64-22=42
Exploring Operation: 96-64=32, Resulting Numbers: [22, 32]
Generated Node #0,3,1: 33:[22, 32] Operation: 96-64=32
Exploring Operation: 96-22=74, Resulting Numbers: [64, 74]
Generated Node #0,3,2: 33:[64, 74] Operation: 96-22=74
Exploring Operation: 96+22=118, Resulting Numbers: [64, 118]
Generated Node #0,3,3: 33:[64, 118] Operation: 96+22=118
Exploring Operation: 64+22=86, Resulting Numbers: [96, 86]
Generated Node #0,3,4: 33:[96, 86] Operation: 64+22=86
Moving to Node #0,3,1
Current State: 33:[22, 32], Operations: ['72-50=22', '96-64=32']
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 22*32=704, Resulting Numbers: [704]
704,33 unequal: No Solution
Exploring Operation: 22+32=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[8, 46], Operations: ['72-64=8', '96-50=46']
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,33 unequal: No Solution
Moving to Node #0,2,4
Current State: 33:[50, 12], Operations: ['72-64=8', '96/8=12']
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 50*12=600, Resulting Numbers: [600]
600,33 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Moving to Node #0,3,0
Current State: 33:[96, 42], Operations: ['72-50=22', '64-22=42']
Exploring Operation: 96+42=138, Resulting Numbers: [138]
138,33 unequal: No Solution
Exploring Operation: 96*42=4032, Resulting Numbers: [4032]
4032,33 unequal: No Solution
Exploring Operation: 96-42=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[50, 88], Operations: ['72-64=8', '96-8=88']
Exploring Operation: 88-50=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 50*88=4400, Resulting Numbers: [4400]
4400,33 unequal: No Solution
Exploring Operation: 50+88=138, Resulting Numbers: [138]
138,33 unequal: No Solution
Moving to Node #0,2,3
Current State: 33:[96, 42], Operations: ['72-64=8', '50-8=42']
Exploring Operation: 96-42=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 96+42=138, Resulting Numbers: [138]
138,33 unequal: No Solution
Exploring Operation: 96*42=4032, Resulting Numbers: [4032]
4032,33 unequal: No Solution
Moving to Node #0,3,2
Current State: 33:[64, 74], Operations: ['72-50=22', '96-22=74']
Exploring Operation: 64*74=4736, Resulting Numbers: [4736]
4736,33 unequal: No Solution
Exploring Operation: 64+74=138, Resulting Numbers: [138]
138,33 unequal: No Solution
Exploring Operation: 74-64=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[96, 58], Operations: ['72-64=8', '50+8=58']
Exploring Operation: 96-58=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 96+58=154, Resulting Numbers: [154]
154,33 unequal: No Solution
Exploring Operation: 96*58=5568, Resulting Numbers: [5568]
5568,33 unequal: No Solution
Moving to Node #0,3,4
Current State: 33:[96, 86], Operations: ['72-50=22', '64+22=86']
Exploring Operation: 96-86=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 96+86=182, Resulting Numbers: [182]
182,33 unequal: No Solution
Exploring Operation: 96*86=8256, Resulting Numbers: [8256]
8256,33 unequal: No Solution
Moving to Node #0,3,3
Current State: 33:[64, 118], Operations: ['72-50=22', '96+22=118']
Exploring Operation: 64+118=182, Resulting Numbers: [182]
182,33 unequal: No Solution
Exploring Operation: 118-64=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 64*118=7552, Resulting Numbers: [7552]
7552,33 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
16,
14,
13,
17
] | 26 | [
"16+14=30",
"17-13=4",
"30-4=26"
] | Current State: 26:[16, 14, 13, 17], Operations: []
Exploring Operation: 16+14=30, Resulting Numbers: [13, 17, 30]
Generated Node #2: [13, 17, 30] from Operation: 16+14=30
Current State: 26:[13, 17, 30], Operations: ['16+14=30']
Exploring Operation: 17-13=4, Resulting Numbers: [30, 4]
Generated Node #3: [30, 4] from Operation: 17-13=4
Current State: 26:[30, 4], Operations: ['16+14=30', '17-13=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[16, 14, 13, 17], Operations: []
Exploring Operation: 16-14=2, Resulting Numbers: [13, 17, 2]
Generated Node #0,0: 26:[13, 17, 2] Operation: 16-14=2
Exploring Operation: 17-16=1, Resulting Numbers: [14, 13, 1]
Generated Node #0,1: 26:[14, 13, 1] Operation: 17-16=1
Moving to Node #0,1
Current State: 26:[14, 13, 1], Operations: ['17-16=1']
Exploring Operation: 14-1=13, Resulting Numbers: [13, 13]
Generated Node #0,1,0: 26:[13, 13] Operation: 14-1=13
Exploring Operation: 14*1=14, Resulting Numbers: [13, 14]
Generated Node #0,1,1: 26:[13, 14] Operation: 14*1=14
Moving to Node #0,0
Current State: 26:[13, 17, 2], Operations: ['16-14=2']
Exploring Operation: 17-2=15, Resulting Numbers: [13, 15]
Generated Node #0,0,0: 26:[13, 15] Operation: 17-2=15
Exploring Operation: 17-13=4, Resulting Numbers: [2, 4]
Generated Node #0,0,1: 26:[2, 4] Operation: 17-13=4
Moving to Node #0,1,0
Current State: 26:[13, 13], Operations: ['17-16=1', '14-1=13']
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[16, 14, 13, 17], Operations: []
Exploring Operation: 17-16=1, Resulting Numbers: [14, 13, 1]
Generated Node #0,1: 26:[14, 13, 1] Operation: 17-16=1
Moving to Node #0,1
Current State: 26:[14, 13, 1], Operations: ['17-16=1']
Exploring Operation: 14-1=13, Resulting Numbers: [13, 13]
Generated Node #0,1,0: 26:[13, 13] Operation: 14-1=13
Moving to Node #0,1,0
Current State: 26:[13, 13], Operations: ['17-16=1', '14-1=13']
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
87,
1,
4,
91
] | 15 | [
"91-87=4",
"4*4=16",
"16-1=15"
] | Current State: 15:[87, 1, 4, 91], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [1, 4, 4]
Generated Node #2: [1, 4, 4] from Operation: 91-87=4
Current State: 15:[1, 4, 4], Operations: ['91-87=4']
Exploring Operation: 4*4=16, Resulting Numbers: [1, 16]
Generated Node #3: [1, 16] from Operation: 4*4=16
Current State: 15:[1, 16], Operations: ['91-87=4', '4*4=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[87, 1, 4, 91], Operations: []
Exploring Operation: 87-4=83, Resulting Numbers: [1, 91, 83]
Generated Node #0,0: 15:[1, 91, 83] Operation: 87-4=83
Exploring Operation: 91-87=4, Resulting Numbers: [1, 4, 4]
Generated Node #0,1: 15:[1, 4, 4] Operation: 91-87=4
Exploring Operation: 87-1=86, Resulting Numbers: [4, 91, 86]
Generated Node #0,2: 15:[4, 91, 86] Operation: 87-1=86
Exploring Operation: 91-4=87, Resulting Numbers: [87, 1, 87]
Generated Node #0,3: 15:[87, 1, 87] Operation: 91-4=87
Moving to Node #0,1
Current State: 15:[1, 4, 4], Operations: ['91-87=4']
Exploring Operation: 1+4=5, Resulting Numbers: [4, 5]
Generated Node #0,1,0: 15:[4, 5] Operation: 1+4=5
Exploring Operation: 4-1=3, Resulting Numbers: [4, 3]
Generated Node #0,1,1: 15:[4, 3] Operation: 4-1=3
Exploring Operation: 1+4=5, Resulting Numbers: [4, 5]
Generated Node #0,1,2: 15:[4, 5] Operation: 1+4=5
Exploring Operation: 4-1=3, Resulting Numbers: [4, 3]
Generated Node #0,1,3: 15:[4, 3] Operation: 4-1=3
Moving to Node #0,3
Current State: 15:[87, 1, 87], Operations: ['91-4=87']
Exploring Operation: 87-87=0, Resulting Numbers: [1, 0]
Generated Node #0,3,0: 15:[1, 0] Operation: 87-87=0
Exploring Operation: 87/87=1, Resulting Numbers: [1, 1]
Generated Node #0,3,1: 15:[1, 1] Operation: 87/87=1
Exploring Operation: 87-1=86, Resulting Numbers: [87, 86]
Generated Node #0,3,2: 15:[87, 86] Operation: 87-1=86
Exploring Operation: 87-1=86, Resulting Numbers: [87, 86]
Generated Node #0,3,3: 15:[87, 86] Operation: 87-1=86
Moving to Node #0,0
Current State: 15:[1, 91, 83], Operations: ['87-4=83']
Exploring Operation: 91-1=90, Resulting Numbers: [83, 90]
Generated Node #0,0,0: 15:[83, 90] Operation: 91-1=90
Exploring Operation: 1*91=91, Resulting Numbers: [83, 91]
Generated Node #0,0,1: 15:[83, 91] Operation: 1*91=91
Exploring Operation: 83-1=82, Resulting Numbers: [91, 82]
Generated Node #0,0,2: 15:[91, 82] Operation: 83-1=82
Exploring Operation: 91-83=8, Resulting Numbers: [1, 8]
Generated Node #0,0,3: 15:[1, 8] Operation: 91-83=8
Moving to Node #0,2
Current State: 15:[4, 91, 86], Operations: ['87-1=86']
Exploring Operation: 91-4=87, Resulting Numbers: [86, 87]
Generated Node #0,2,0: 15:[86, 87] Operation: 91-4=87
Exploring Operation: 91-86=5, Resulting Numbers: [4, 5]
Generated Node #0,2,1: 15:[4, 5] Operation: 91-86=5
Exploring Operation: 86-4=82, Resulting Numbers: [91, 82]
Generated Node #0,2,2: 15:[91, 82] Operation: 86-4=82
Exploring Operation: 4+91=95, Resulting Numbers: [86, 95]
Generated Node #0,2,3: 15:[86, 95] Operation: 4+91=95
Moving to Node #0,1,0
Current State: 15:[4, 5], Operations: ['91-87=4', '1+4=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[4, 5], Operations: ['91-87=4', '1+4=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[4, 5], Operations: ['87-1=86', '91-86=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[4, 3], Operations: ['91-87=4', '4-1=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[4, 3], Operations: ['91-87=4', '4-1=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,15 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Moving to Node #0,3,1
Current State: 15:[1, 1], Operations: ['91-4=87', '87/87=1']
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 1-1=0, Resulting Numbers: [0]
0,15 unequal: No Solution
Moving to Node #0,3,0
Current State: 15:[1, 0], Operations: ['91-4=87', '87-87=0']
Exploring Operation: 1-0=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 1+0=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 1*0=0, Resulting Numbers: [0]
0,15 unequal: No Solution
Moving to Node #0,0,3
Current State: 15:[1, 8], Operations: ['87-4=83', '91-83=8']
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Moving to Node #0,3,2
Current State: 15:[87, 86], Operations: ['91-4=87', '87-1=86']
Exploring Operation: 87*86=7482, Resulting Numbers: [7482]
7482,15 unequal: No Solution
Exploring Operation: 87-86=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 87+86=173, Resulting Numbers: [173]
173,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[91, 82], Operations: ['87-1=86', '86-4=82']
Exploring Operation: 91-82=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 91*82=7462, Resulting Numbers: [7462]
7462,15 unequal: No Solution
Exploring Operation: 91+82=173, Resulting Numbers: [173]
173,15 unequal: No Solution
Moving to Node #0,3,3
Current State: 15:[87, 86], Operations: ['91-4=87', '87-1=86']
Exploring Operation: 87*86=7482, Resulting Numbers: [7482]
7482,15 unequal: No Solution
Exploring Operation: 87+86=173, Resulting Numbers: [173]
173,15 unequal: No Solution
Exploring Operation: 87-86=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[91, 82], Operations: ['87-4=83', '83-1=82']
Exploring Operation: 91*82=7462, Resulting Numbers: [7462]
7462,15 unequal: No Solution
Exploring Operation: 91+82=173, Resulting Numbers: [173]
173,15 unequal: No Solution
Exploring Operation: 91-82=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[83, 90], Operations: ['87-4=83', '91-1=90']
Exploring Operation: 90-83=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 83+90=173, Resulting Numbers: [173]
173,15 unequal: No Solution
Exploring Operation: 83*90=7470, Resulting Numbers: [7470]
7470,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[86, 87], Operations: ['87-1=86', '91-4=87']
Exploring Operation: 86*87=7482, Resulting Numbers: [7482]
7482,15 unequal: No Solution
Exploring Operation: 86+87=173, Resulting Numbers: [173]
173,15 unequal: No Solution
Exploring Operation: 87-86=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[83, 91], Operations: ['87-4=83', '1*91=91']
Exploring Operation: 91-83=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 83*91=7553, Resulting Numbers: [7553]
7553,15 unequal: No Solution
Exploring Operation: 83+91=174, Resulting Numbers: [174]
174,15 unequal: No Solution
Moving to Node #0,2,3
Current State: 15:[86, 95], Operations: ['87-1=86', '4+91=95']
Exploring Operation: 86*95=8170, Resulting Numbers: [8170]
8170,15 unequal: No Solution
Exploring Operation: 95-86=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 86+95=181, Resulting Numbers: [181]
181,15 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
5,
34,
18,
74
] | 53 | [
"5+34=39",
"18+74=92",
"92-39=53"
] | Current State: 53:[5, 34, 18, 74], Operations: []
Exploring Operation: 5+34=39, Resulting Numbers: [18, 74, 39]
Generated Node #2: [18, 74, 39] from Operation: 5+34=39
Current State: 53:[18, 74, 39], Operations: ['5+34=39']
Exploring Operation: 18+74=92, Resulting Numbers: [39, 92]
Generated Node #3: [39, 92] from Operation: 18+74=92
Current State: 53:[39, 92], Operations: ['5+34=39', '18+74=92']
Exploring Operation: 92-39=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[5, 34, 18, 74], Operations: []
Exploring Operation: 5+34=39, Resulting Numbers: [18, 74, 39]
Generated Node #0,0: 53:[18, 74, 39] Operation: 5+34=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[18, 74, 39], Operations: ['5+34=39']
Exploring Operation: 74-18=56, Resulting Numbers: [39, 56]
Generated Node #0,0,0: 53:[39, 56] Operation: 74-18=56
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[39, 56], Operations: ['5+34=39', '74-18=56']
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
52,
10,
69,
43
] | 70 | [
"52-10=42",
"69+43=112",
"112-42=70"
] | Current State: 70:[52, 10, 69, 43], Operations: []
Exploring Operation: 52-10=42, Resulting Numbers: [69, 43, 42]
Generated Node #2: [69, 43, 42] from Operation: 52-10=42
Current State: 70:[69, 43, 42], Operations: ['52-10=42']
Exploring Operation: 69+43=112, Resulting Numbers: [42, 112]
Generated Node #3: [42, 112] from Operation: 69+43=112
Current State: 70:[42, 112], Operations: ['52-10=42', '69+43=112']
Exploring Operation: 112-42=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[52, 10, 69, 43], Operations: []
Exploring Operation: 52-43=9, Resulting Numbers: [10, 69, 9]
Generated Node #0,0: 70:[10, 69, 9] Operation: 52-43=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[10, 69, 9], Operations: ['52-43=9']
Exploring Operation: 10-9=1, Resulting Numbers: [69, 1]
Generated Node #0,0,0: 70:[69, 1] Operation: 10-9=1
Moving to Node #0,0,0
Current State: 70:[69, 1], Operations: ['52-43=9', '10-9=1']
Exploring Operation: 69+1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[52, 10, 69, 43], Operations: []
Exploring Operation: 52-43=9, Resulting Numbers: [10, 69, 9]
Generated Node #0,0: 70:[10, 69, 9] Operation: 52-43=9
Moving to Node #0,0
Current State: 70:[10, 69, 9], Operations: ['52-43=9']
Exploring Operation: 10-9=1, Resulting Numbers: [69, 1]
Generated Node #0,0,0: 70:[69, 1] Operation: 10-9=1
Moving to Node #0,0,0
Current State: 70:[69, 1], Operations: ['52-43=9', '10-9=1']
Exploring Operation: 69+1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
86,
57,
30,
9
] | 89 | [
"57-30=27",
"27/9=3",
"86+3=89"
] | Current State: 89:[86, 57, 30, 9], Operations: []
Exploring Operation: 57-30=27, Resulting Numbers: [86, 9, 27]
Generated Node #2: [86, 9, 27] from Operation: 57-30=27
Current State: 89:[86, 9, 27], Operations: ['57-30=27']
Exploring Operation: 27/9=3, Resulting Numbers: [86, 3]
Generated Node #3: [86, 3] from Operation: 27/9=3
Current State: 89:[86, 3], Operations: ['57-30=27', '27/9=3']
Exploring Operation: 86+3=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[86, 57, 30, 9], Operations: []
Exploring Operation: 86+9=95, Resulting Numbers: [57, 30, 95]
Generated Node #0,0: 89:[57, 30, 95] Operation: 86+9=95
Exploring Operation: 57+30=87, Resulting Numbers: [86, 9, 87]
Generated Node #0,1: 89:[86, 9, 87] Operation: 57+30=87
Exploring Operation: 30+9=39, Resulting Numbers: [86, 57, 39]
Generated Node #0,2: 89:[86, 57, 39] Operation: 30+9=39
Exploring Operation: 57+9=66, Resulting Numbers: [86, 30, 66]
Generated Node #0,3: 89:[86, 30, 66] Operation: 57+9=66
Moving to Node #0,1
Current State: 89:[86, 9, 87], Operations: ['57+30=87']
Exploring Operation: 87-9=78, Resulting Numbers: [86, 78]
Generated Node #0,1,0: 89:[86, 78] Operation: 87-9=78
Exploring Operation: 9+87=96, Resulting Numbers: [86, 96]
Generated Node #0,1,1: 89:[86, 96] Operation: 9+87=96
Exploring Operation: 86+9=95, Resulting Numbers: [87, 95]
Generated Node #0,1,2: 89:[87, 95] Operation: 86+9=95
Exploring Operation: 86-9=77, Resulting Numbers: [87, 77]
Generated Node #0,1,3: 89:[87, 77] Operation: 86-9=77
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[87, 95], Operations: ['57+30=87', '86+9=95']
Exploring Operation: 87*95=8265, Resulting Numbers: [8265]
8265,89 unequal: No Solution
Exploring Operation: 95-87=8, Resulting Numbers: [8]
8,89 unequal: No Solution
Exploring Operation: 87+95=182, Resulting Numbers: [182]
182,89 unequal: No Solution
No 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: 89:[86, 96], Operations: ['57+30=87', '9+87=96']
Exploring Operation: 86+96=182, Resulting Numbers: [182]
182,89 unequal: No Solution
Exploring Operation: 96-86=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 86*96=8256, Resulting Numbers: [8256]
8256,89 unequal: No Solution
No 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: 89:[86, 78], Operations: ['57+30=87', '87-9=78']
Exploring Operation: 86+78=164, Resulting Numbers: [164]
164,89 unequal: No Solution
Exploring Operation: 86-78=8, Resulting Numbers: [8]
8,89 unequal: No Solution
Exploring Operation: 86*78=6708, Resulting Numbers: [6708]
6708,89 unequal: No Solution
No 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: 89:[87, 77], Operations: ['57+30=87', '86-9=77']
Exploring Operation: 87-77=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 87*77=6699, Resulting Numbers: [6699]
6699,89 unequal: No Solution
Exploring Operation: 87+77=164, Resulting Numbers: [164]
164,89 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: 89:[86, 30, 66], Operations: ['57+9=66']
Exploring Operation: 30+66=96, Resulting Numbers: [86, 96]
Generated Node #0,3,0: 89:[86, 96] Operation: 30+66=96
Exploring Operation: 86+30=116, Resulting Numbers: [66, 116]
Generated Node #0,3,1: 89:[66, 116] Operation: 86+30=116
Exploring Operation: 86-30=56, Resulting Numbers: [66, 56]
Generated Node #0,3,2: 89:[66, 56] Operation: 86-30=56
Exploring Operation: 66-30=36, Resulting Numbers: [86, 36]
Generated Node #0,3,3: 89:[86, 36] Operation: 66-30=36
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 89:[86, 96], Operations: ['57+9=66', '30+66=96']
Exploring Operation: 86*96=8256, Resulting Numbers: [8256]
8256,89 unequal: No Solution
Exploring Operation: 96-86=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 86+96=182, Resulting Numbers: [182]
182,89 unequal: No Solution
No 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: 89:[66, 116], Operations: ['57+9=66', '86+30=116']
Exploring Operation: 66*116=7656, Resulting Numbers: [7656]
7656,89 unequal: No Solution
Exploring Operation: 66+116=182, Resulting Numbers: [182]
182,89 unequal: No Solution
Exploring Operation: 116-66=50, Resulting Numbers: [50]
50,89 unequal: No Solution
No 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: 89:[66, 56], Operations: ['57+9=66', '86-30=56']
Exploring Operation: 66*56=3696, Resulting Numbers: [3696]
3696,89 unequal: No Solution
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 66+56=122, Resulting Numbers: [122]
122,89 unequal: No Solution
No 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: 89:[86, 36], Operations: ['57+9=66', '66-30=36']
Exploring Operation: 86-36=50, Resulting Numbers: [50]
50,89 unequal: No Solution
Exploring Operation: 86*36=3096, Resulting Numbers: [3096]
3096,89 unequal: No Solution
Exploring Operation: 86+36=122, Resulting Numbers: [122]
122,89 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: 89:[86, 57, 39], Operations: ['30+9=39']
Exploring Operation: 86+39=125, Resulting Numbers: [57, 125]
Generated Node #0,2,0: 89:[57, 125] Operation: 86+39=125
Exploring Operation: 86-39=47, Resulting Numbers: [57, 47]
Generated Node #0,2,1: 89:[57, 47] Operation: 86-39=47
Exploring Operation: 57+39=96, Resulting Numbers: [86, 96]
Generated Node #0,2,2: 89:[86, 96] Operation: 57+39=96
Exploring Operation: 57-39=18, Resulting Numbers: [86, 18]
Generated Node #0,2,3: 89:[86, 18] Operation: 57-39=18
Moving to Node #0,0
Current State: 89:[57, 30, 95], Operations: ['86+9=95']
Exploring Operation: 57+30=87, Resulting Numbers: [95, 87]
Generated Node #0,0,0: 89:[95, 87] Operation: 57+30=87
Exploring Operation: 30+95=125, Resulting Numbers: [57, 125]
Generated Node #0,0,1: 89:[57, 125] Operation: 30+95=125
Exploring Operation: 95-30=65, Resulting Numbers: [57, 65]
Generated Node #0,0,2: 89:[57, 65] Operation: 95-30=65
Exploring Operation: 57-30=27, Resulting Numbers: [95, 27]
Generated Node #0,0,3: 89:[95, 27] Operation: 57-30=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[95, 87], Operations: ['86+9=95', '57+30=87']
Exploring Operation: 95-87=8, Resulting Numbers: [8]
8,89 unequal: No Solution
Exploring Operation: 95+87=182, Resulting Numbers: [182]
182,89 unequal: No Solution
Exploring Operation: 95*87=8265, Resulting Numbers: [8265]
8265,89 unequal: No Solution
No solution 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: 89:[57, 65], Operations: ['86+9=95', '95-30=65']
Exploring Operation: 57*65=3705, Resulting Numbers: [3705]
3705,89 unequal: No Solution
Exploring Operation: 65-57=8, Resulting Numbers: [8]
8,89 unequal: No Solution
Exploring Operation: 57+65=122, Resulting Numbers: [122]
122,89 unequal: No Solution
No solution 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: 89:[57, 125], Operations: ['86+9=95', '30+95=125']
Exploring Operation: 125-57=68, Resulting Numbers: [68]
68,89 unequal: No Solution
Exploring Operation: 57+125=182, Resulting Numbers: [182]
182,89 unequal: No Solution
Exploring Operation: 57*125=7125, Resulting Numbers: [7125]
7125,89 unequal: No Solution
No solution 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: 89:[95, 27], Operations: ['86+9=95', '57-30=27']
Exploring Operation: 95+27=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Exploring Operation: 95*27=2565, Resulting Numbers: [2565]
2565,89 unequal: No Solution
Exploring Operation: 95-27=68, Resulting Numbers: [68]
68,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 89:[86, 96], Operations: ['30+9=39', '57+39=96']
Exploring Operation: 96-86=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 86*96=8256, Resulting Numbers: [8256]
8256,89 unequal: No Solution
Exploring Operation: 86+96=182, Resulting Numbers: [182]
182,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[57, 125], Operations: ['30+9=39', '86+39=125']
Exploring Operation: 125-57=68, Resulting Numbers: [68]
68,89 unequal: No Solution
Exploring Operation: 57+125=182, Resulting Numbers: [182]
182,89 unequal: No Solution
Exploring Operation: 57*125=7125, Resulting Numbers: [7125]
7125,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[86, 18], Operations: ['30+9=39', '57-39=18']
Exploring Operation: 86*18=1548, Resulting Numbers: [1548]
1548,89 unequal: No Solution
Exploring Operation: 86+18=104, Resulting Numbers: [104]
104,89 unequal: No Solution
Exploring Operation: 86-18=68, Resulting Numbers: [68]
68,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[57, 47], Operations: ['30+9=39', '86-39=47']
Exploring Operation: 57-47=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 57+47=104, Resulting Numbers: [104]
104,89 unequal: No Solution
Exploring Operation: 57*47=2679, Resulting Numbers: [2679]
2679,89 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
35,
29,
31,
2
] | 31 | [
"35+29=64",
"31+2=33",
"64-33=31"
] | Current State: 31:[35, 29, 31, 2], Operations: []
Exploring Operation: 35+29=64, Resulting Numbers: [31, 2, 64]
Generated Node #2: [31, 2, 64] from Operation: 35+29=64
Current State: 31:[31, 2, 64], Operations: ['35+29=64']
Exploring Operation: 31+2=33, Resulting Numbers: [64, 33]
Generated Node #3: [64, 33] from Operation: 31+2=33
Current State: 31:[64, 33], Operations: ['35+29=64', '31+2=33']
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[35, 29, 31, 2], Operations: []
Exploring Operation: 29-2=27, Resulting Numbers: [35, 31, 27]
Generated Node #0,0: 31:[35, 31, 27] Operation: 29-2=27
Exploring Operation: 29+2=31, Resulting Numbers: [35, 31, 31]
Generated Node #0,1: 31:[35, 31, 31] Operation: 29+2=31
Exploring Operation: 35+2=37, Resulting Numbers: [29, 31, 37]
Generated Node #0,2: 31:[29, 31, 37] Operation: 35+2=37
Exploring Operation: 35-2=33, Resulting Numbers: [29, 31, 33]
Generated Node #0,3: 31:[29, 31, 33] Operation: 35-2=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[35, 31, 31], Operations: ['29+2=31']
Exploring Operation: 35-31=4, Resulting Numbers: [31, 4]
Generated Node #0,1,0: 31:[31, 4] Operation: 35-31=4
Exploring Operation: 31/31=1, Resulting Numbers: [35, 1]
Generated Node #0,1,1: 31:[35, 1] Operation: 31/31=1
Exploring Operation: 35+31=66, Resulting Numbers: [31, 66]
Generated Node #0,1,2: 31:[31, 66] Operation: 35+31=66
Exploring Operation: 35-31=4, Resulting Numbers: [31, 4]
Generated Node #0,1,3: 31:[31, 4] Operation: 35-31=4
Moving to Node #0,1,0
Current State: 31:[31, 4], Operations: ['29+2=31', '35-31=4']
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,31 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,31 unequal: No Solution
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[31, 4], Operations: ['29+2=31', '35-31=4']
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,31 unequal: No Solution
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[35, 1], Operations: ['29+2=31', '31/31=1']
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,31 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[31, 66], Operations: ['29+2=31', '35+31=66']
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Exploring Operation: 31+66=97, Resulting Numbers: [97]
97,31 unequal: No Solution
Exploring Operation: 31*66=2046, Resulting Numbers: [2046]
2046,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,3
Current State: 31:[29, 31, 33], Operations: ['35-2=33']
Exploring Operation: 31-29=2, Resulting Numbers: [33, 2]
Generated Node #0,3,0: 31:[33, 2] Operation: 31-29=2
Exploring Operation: 29+33=62, Resulting Numbers: [31, 62]
Generated Node #0,3,1: 31:[31, 62] Operation: 29+33=62
Exploring Operation: 29+31=60, Resulting Numbers: [33, 60]
Generated Node #0,3,2: 31:[33, 60] Operation: 29+31=60
Exploring Operation: 33-29=4, Resulting Numbers: [31, 4]
Generated Node #0,3,3: 31:[31, 4] Operation: 33-29=4
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 31:[31, 4], Operations: ['35-2=33', '33-29=4']
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,31 unequal: No Solution
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,31 unequal: No Solution
No 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: 31:[33, 2], Operations: ['35-2=33', '31-29=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[35, 29, 31, 2], Operations: []
Exploring Operation: 35-2=33, Resulting Numbers: [29, 31, 33]
Generated Node #0,3: 31:[29, 31, 33] Operation: 35-2=33
Moving to Node #0,3
Current State: 31:[29, 31, 33], Operations: ['35-2=33']
Exploring Operation: 31-29=2, Resulting Numbers: [33, 2]
Generated Node #0,3,0: 31:[33, 2] Operation: 31-29=2
Moving to Node #0,3,0
Current State: 31:[33, 2], Operations: ['35-2=33', '31-29=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
14,
11,
27,
56
] | 87 | [
"14-11=3",
"56-27=29",
"3*29=87"
] | Current State: 87:[14, 11, 27, 56], Operations: []
Exploring Operation: 14-11=3, Resulting Numbers: [27, 56, 3]
Generated Node #2: [27, 56, 3] from Operation: 14-11=3
Current State: 87:[27, 56, 3], Operations: ['14-11=3']
Exploring Operation: 56-27=29, Resulting Numbers: [3, 29]
Generated Node #3: [3, 29] from Operation: 56-27=29
Current State: 87:[3, 29], Operations: ['14-11=3', '56-27=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[14, 11, 27, 56], Operations: []
Exploring Operation: 56-27=29, Resulting Numbers: [14, 11, 29]
Generated Node #0,0: 87:[14, 11, 29] Operation: 56-27=29
Exploring Operation: 56/14=4, Resulting Numbers: [11, 27, 4]
Generated Node #0,1: 87:[11, 27, 4] Operation: 56/14=4
Exploring Operation: 56-14=42, Resulting Numbers: [11, 27, 42]
Generated Node #0,2: 87:[11, 27, 42] Operation: 56-14=42
Moving to Node #0,1
Current State: 87:[11, 27, 4], Operations: ['56/14=4']
Exploring Operation: 11-4=7, Resulting Numbers: [27, 7]
Generated Node #0,1,0: 87:[27, 7] Operation: 11-4=7
Exploring Operation: 27+4=31, Resulting Numbers: [11, 31]
Generated Node #0,1,1: 87:[11, 31] Operation: 27+4=31
Exploring Operation: 11+27=38, Resulting Numbers: [4, 38]
Generated Node #0,1,2: 87:[4, 38] Operation: 11+27=38
Moving to Node #0,0
Current State: 87:[14, 11, 29], Operations: ['56-27=29']
Exploring Operation: 14-11=3, Resulting Numbers: [29, 3]
Generated Node #0,0,0: 87:[29, 3] Operation: 14-11=3
Exploring Operation: 14+11=25, Resulting Numbers: [29, 25]
Generated Node #0,0,1: 87:[29, 25] Operation: 14+11=25
Exploring Operation: 29-14=15, Resulting Numbers: [11, 15]
Generated Node #0,0,2: 87:[11, 15] Operation: 29-14=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[29, 3], Operations: ['56-27=29', '14-11=3']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,87 unequal: No Solution
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[14, 11, 27, 56], Operations: []
Exploring Operation: 56-27=29, Resulting Numbers: [14, 11, 29]
Generated Node #0,0: 87:[14, 11, 29] Operation: 56-27=29
Moving to Node #0,0
Current State: 87:[14, 11, 29], Operations: ['56-27=29']
Exploring Operation: 14-11=3, Resulting Numbers: [29, 3]
Generated Node #0,0,0: 87:[29, 3] Operation: 14-11=3
Moving to Node #0,0,0
Current State: 87:[29, 3], Operations: ['56-27=29', '14-11=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
37,
43,
28,
8
] | 29 | [
"37-28=9",
"8*9=72",
"72-43=29"
] | Current State: 29:[37, 43, 28, 8], Operations: []
Exploring Operation: 37-28=9, Resulting Numbers: [43, 8, 9]
Generated Node #2: [43, 8, 9] from Operation: 37-28=9
Current State: 29:[43, 8, 9], Operations: ['37-28=9']
Exploring Operation: 8*9=72, Resulting Numbers: [43, 72]
Generated Node #3: [43, 72] from Operation: 8*9=72
Current State: 29:[43, 72], Operations: ['37-28=9', '8*9=72']
Exploring Operation: 72-43=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[37, 43, 28, 8], Operations: []
Exploring Operation: 37-8=29, Resulting Numbers: [43, 28, 29]
Generated Node #0,0: 29:[43, 28, 29] Operation: 37-8=29
Exploring Operation: 28+8=36, Resulting Numbers: [37, 43, 36]
Generated Node #0,1: 29:[37, 43, 36] Operation: 28+8=36
Exploring Operation: 43-8=35, Resulting Numbers: [37, 28, 35]
Generated Node #0,2: 29:[37, 28, 35] Operation: 43-8=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[43, 28, 29], Operations: ['37-8=29']
Exploring Operation: 43-28=15, Resulting Numbers: [29, 15]
Generated Node #0,0,0: 29:[29, 15] Operation: 43-28=15
Exploring Operation: 43-29=14, Resulting Numbers: [28, 14]
Generated Node #0,0,1: 29:[28, 14] Operation: 43-29=14
Exploring Operation: 43+28=71, Resulting Numbers: [29, 71]
Generated Node #0,0,2: 29:[29, 71] Operation: 43+28=71
Moving to Node #0,0,0
Current State: 29:[29, 15], Operations: ['37-8=29', '43-28=15']
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,29 unequal: No Solution
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[28, 14], Operations: ['37-8=29', '43-29=14']
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 28+14=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[29, 71], Operations: ['37-8=29', '43+28=71']
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 29+71=100, Resulting Numbers: [100]
100,29 unequal: No Solution
Exploring Operation: 29*71=2059, Resulting Numbers: [2059]
2059,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:[37, 28, 35], Operations: ['43-8=35']
Exploring Operation: 37-28=9, Resulting Numbers: [35, 9]
Generated Node #0,2,0: 29:[35, 9] Operation: 37-28=9
Exploring Operation: 35-28=7, Resulting Numbers: [37, 7]
Generated Node #0,2,1: 29:[37, 7] Operation: 35-28=7
Exploring Operation: 37-35=2, Resulting Numbers: [28, 2]
Generated Node #0,2,2: 29:[28, 2] Operation: 37-35=2
Moving to Node #0,2,0
Current State: 29:[35, 9], Operations: ['43-8=35', '37-28=9']
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[28, 2], Operations: ['43-8=35', '37-35=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[37, 7], Operations: ['43-8=35', '35-28=7']
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 37*7=259, Resulting Numbers: [259]
259,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[37, 43, 36], Operations: ['28+8=36']
Exploring Operation: 43-37=6, Resulting Numbers: [36, 6]
Generated Node #0,1,0: 29:[36, 6] Operation: 43-37=6
Exploring Operation: 43-36=7, Resulting Numbers: [37, 7]
Generated Node #0,1,1: 29:[37, 7] Operation: 43-36=7
Exploring Operation: 37-36=1, Resulting Numbers: [43, 1]
Generated Node #0,1,2: 29:[43, 1] Operation: 37-36=1
Moving to Node #0,1,0
Current State: 29:[36, 6], Operations: ['28+8=36', '43-37=6']
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[37, 7], Operations: ['28+8=36', '43-36=7']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 37*7=259, Resulting Numbers: [259]
259,29 unequal: No Solution
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[43, 1], Operations: ['28+8=36', '37-36=1']
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,29 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,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 |
[
35,
10,
8,
40
] | 85 | [
"40-35=5",
"10*8=80",
"5+80=85"
] | Current State: 85:[35, 10, 8, 40], Operations: []
Exploring Operation: 40-35=5, Resulting Numbers: [10, 8, 5]
Generated Node #2: [10, 8, 5] from Operation: 40-35=5
Current State: 85:[10, 8, 5], Operations: ['40-35=5']
Exploring Operation: 10*8=80, Resulting Numbers: [5, 80]
Generated Node #3: [5, 80] from Operation: 10*8=80
Current State: 85:[5, 80], Operations: ['40-35=5', '10*8=80']
Exploring Operation: 5+80=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[35, 10, 8, 40], Operations: []
Exploring Operation: 35+40=75, Resulting Numbers: [10, 8, 75]
Generated Node #0,0: 85:[10, 8, 75] Operation: 35+40=75
Exploring Operation: 40-35=5, Resulting Numbers: [10, 8, 5]
Generated Node #0,1: 85:[10, 8, 5] Operation: 40-35=5
Exploring Operation: 40/10=4, Resulting Numbers: [35, 8, 4]
Generated Node #0,2: 85:[35, 8, 4] Operation: 40/10=4
Moving to Node #0,1
Current State: 85:[10, 8, 5], Operations: ['40-35=5']
Exploring Operation: 10-8=2, Resulting Numbers: [5, 2]
Generated Node #0,1,0: 85:[5, 2] Operation: 10-8=2
Exploring Operation: 10-5=5, Resulting Numbers: [8, 5]
Generated Node #0,1,1: 85:[8, 5] Operation: 10-5=5
Exploring Operation: 10+8=18, Resulting Numbers: [5, 18]
Generated Node #0,1,2: 85:[5, 18] Operation: 10+8=18
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[5, 18], Operations: ['40-35=5', '10+8=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,85 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,85 unequal: No Solution
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[5, 2], Operations: ['40-35=5', '10-8=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[8, 5], Operations: ['40-35=5', '10-5=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,85 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,85 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,85 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: 85:[10, 8, 75], Operations: ['35+40=75']
Exploring Operation: 8+75=83, Resulting Numbers: [10, 83]
Generated Node #0,0,0: 85:[10, 83] Operation: 8+75=83
Exploring Operation: 10+8=18, Resulting Numbers: [75, 18]
Generated Node #0,0,1: 85:[75, 18] Operation: 10+8=18
Exploring Operation: 10+75=85, Resulting Numbers: [8, 85]
Generated Node #0,0,2: 85:[8, 85] Operation: 10+75=85
Moving to Node #0,2
Current State: 85:[35, 8, 4], Operations: ['40/10=4']
Exploring Operation: 35-4=31, Resulting Numbers: [8, 31]
Generated Node #0,2,0: 85:[8, 31] Operation: 35-4=31
Exploring Operation: 35-8=27, Resulting Numbers: [4, 27]
Generated Node #0,2,1: 85:[4, 27] Operation: 35-8=27
Exploring Operation: 8-4=4, Resulting Numbers: [35, 4]
Generated Node #0,2,2: 85:[35, 4] Operation: 8-4=4
Moving to Node #0,0,2
Current State: 85:[8, 85], Operations: ['35+40=75', '10+75=85']
Exploring Operation: 8+85=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 8*85=680, Resulting Numbers: [680]
680,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[10, 83], Operations: ['35+40=75', '8+75=83']
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,85 unequal: No Solution
Exploring Operation: 10+83=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Exploring Operation: 10*83=830, Resulting Numbers: [830]
830,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[75, 18], Operations: ['35+40=75', '10+8=18']
Exploring Operation: 75*18=1350, Resulting Numbers: [1350]
1350,85 unequal: No Solution
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,85 unequal: No Solution
Exploring Operation: 75+18=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[4, 27], Operations: ['40/10=4', '35-8=27']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,85 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[8, 31], Operations: ['40/10=4', '35-4=31']
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,85 unequal: No Solution
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,85 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[35, 4], Operations: ['40/10=4', '8-4=4']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,85 unequal: No Solution
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,85 unequal: No Solution
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,85 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
53,
18,
34,
18
] | 86 | [
"53+34=87",
"18/18=1",
"87-1=86"
] | Current State: 86:[53, 18, 34, 18], Operations: []
Exploring Operation: 53+34=87, Resulting Numbers: [18, 18, 87]
Generated Node #2: [18, 18, 87] from Operation: 53+34=87
Current State: 86:[18, 18, 87], Operations: ['53+34=87']
Exploring Operation: 18/18=1, Resulting Numbers: [87, 1]
Generated Node #3: [87, 1] from Operation: 18/18=1
Current State: 86:[87, 1], Operations: ['53+34=87', '18/18=1']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[53, 18, 34, 18], Operations: []
Exploring Operation: 18/18=1, Resulting Numbers: [53, 34, 1]
Generated Node #0,0: 86:[53, 34, 1] Operation: 18/18=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[53, 34, 1], Operations: ['18/18=1']
Exploring Operation: 53+34=87, Resulting Numbers: [1, 87]
Generated Node #0,0,0: 86:[1, 87] Operation: 53+34=87
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[1, 87], Operations: ['18/18=1', '53+34=87']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[53, 18, 34, 18], Operations: []
Exploring Operation: 18/18=1, Resulting Numbers: [53, 34, 1]
Generated Node #0,0: 86:[53, 34, 1] Operation: 18/18=1
Moving to Node #0,0
Current State: 86:[53, 34, 1], Operations: ['18/18=1']
Exploring Operation: 53+34=87, Resulting Numbers: [1, 87]
Generated Node #0,0,0: 86:[1, 87] Operation: 53+34=87
Moving to Node #0,0,0
Current State: 86:[1, 87], Operations: ['18/18=1', '53+34=87']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.