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,
91,
86,
91
] | 31 | [
"91-91=0",
"86*0=0",
"31+0=31"
] | Current State: 31:[31, 91, 86, 91], Operations: []
Exploring Operation: 91-91=0, Resulting Numbers: [31, 86, 0]
Generated Node #2: [31, 86, 0] from Operation: 91-91=0
Current State: 31:[31, 86, 0], Operations: ['91-91=0']
Exploring Operation: 86*0=0, Resulting Numbers: [31, 0]
Generated Node #3: [31, 0] from Operation: 86*0=0
Current State: 31:[31, 0], Operations: ['91-91=0', '86*0=0']
Exploring Operation: 31+0=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[31, 91, 86, 91], Operations: []
Exploring Operation: 91-86=5, Resulting Numbers: [31, 91, 5]
Generated Node #0,0: 31:[31, 91, 5] Operation: 91-86=5
Exploring Operation: 91/91=1, Resulting Numbers: [31, 86, 1]
Generated Node #0,1: 31:[31, 86, 1] Operation: 91/91=1
Exploring Operation: 91-86=5, Resulting Numbers: [31, 91, 5]
Generated Node #0,2: 31:[31, 91, 5] Operation: 91-86=5
Exploring Operation: 91-91=0, Resulting Numbers: [31, 86, 0]
Generated Node #0,3: 31:[31, 86, 0] Operation: 91-91=0
Moving to Node #0,1
Current State: 31:[31, 86, 1], Operations: ['91/91=1']
Exploring Operation: 86-1=85, Resulting Numbers: [31, 85]
Generated Node #0,1,0: 31:[31, 85] Operation: 86-1=85
Exploring Operation: 31/1=31, Resulting Numbers: [86, 31]
Generated Node #0,1,1: 31:[86, 31] Operation: 31/1=31
Exploring Operation: 31*1=31, Resulting Numbers: [86, 31]
Generated Node #0,1,2: 31:[86, 31] Operation: 31*1=31
Exploring Operation: 86-31=55, Resulting Numbers: [1, 55]
Generated Node #0,1,3: 31:[1, 55] Operation: 86-31=55
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[31, 85], Operations: ['91/91=1', '86-1=85']
Exploring Operation: 31+85=116, Resulting Numbers: [116]
116,31 unequal: No Solution
Exploring Operation: 31*85=2635, Resulting Numbers: [2635]
2635,31 unequal: No Solution
Exploring Operation: 85-31=54, Resulting Numbers: [54]
54,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,3
Current State: 31:[1, 55], Operations: ['91/91=1', '86-31=55']
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,31 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 1+55=56, Resulting Numbers: [56]
56,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:[86, 31], Operations: ['91/91=1', '31/1=31']
Exploring Operation: 86*31=2666, Resulting Numbers: [2666]
2666,31 unequal: No Solution
Exploring Operation: 86-31=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 86+31=117, Resulting Numbers: [117]
117,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 31:[86, 31], Operations: ['91/91=1', '31*1=31']
Exploring Operation: 86-31=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 86*31=2666, Resulting Numbers: [2666]
2666,31 unequal: No Solution
Exploring Operation: 86+31=117, Resulting Numbers: [117]
117,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 31:[31, 91, 5], Operations: ['91-86=5']
Exploring Operation: 31-5=26, Resulting Numbers: [91, 26]
Generated Node #0,2,0: 31:[91, 26] Operation: 31-5=26
Exploring Operation: 91-5=86, Resulting Numbers: [31, 86]
Generated Node #0,2,1: 31:[31, 86] Operation: 91-5=86
Exploring Operation: 31+5=36, Resulting Numbers: [91, 36]
Generated Node #0,2,2: 31:[91, 36] Operation: 31+5=36
Exploring Operation: 91-31=60, Resulting Numbers: [5, 60]
Generated Node #0,2,3: 31:[5, 60] Operation: 91-31=60
Moving to Node #0,0
Current State: 31:[31, 91, 5], Operations: ['91-86=5']
Exploring Operation: 91-31=60, Resulting Numbers: [5, 60]
Generated Node #0,0,0: 31:[5, 60] Operation: 91-31=60
Exploring Operation: 31+5=36, Resulting Numbers: [91, 36]
Generated Node #0,0,1: 31:[91, 36] Operation: 31+5=36
Exploring Operation: 31-5=26, Resulting Numbers: [91, 26]
Generated Node #0,0,2: 31:[91, 26] Operation: 31-5=26
Exploring Operation: 91-5=86, Resulting Numbers: [31, 86]
Generated Node #0,0,3: 31:[31, 86] Operation: 91-5=86
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[5, 60], Operations: ['91-86=5', '91-31=60']
Exploring Operation: 5*60=300, Resulting Numbers: [300]
300,31 unequal: No Solution
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,31 unequal: No Solution
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,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,0,3
Current State: 31:[31, 86], Operations: ['91-86=5', '91-5=86']
Exploring Operation: 86-31=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 31*86=2666, Resulting Numbers: [2666]
2666,31 unequal: No Solution
Exploring Operation: 31+86=117, Resulting Numbers: [117]
117,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,0,1
Current State: 31:[91, 36], Operations: ['91-86=5', '31+5=36']
Exploring Operation: 91-36=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 91+36=127, Resulting Numbers: [127]
127,31 unequal: No Solution
Exploring Operation: 91*36=3276, Resulting Numbers: [3276]
3276,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,0,2
Current State: 31:[91, 26], Operations: ['91-86=5', '31-5=26']
Exploring Operation: 91*26=2366, Resulting Numbers: [2366]
2366,31 unequal: No Solution
Exploring Operation: 91-26=65, Resulting Numbers: [65]
65,31 unequal: No Solution
Exploring Operation: 91+26=117, Resulting Numbers: [117]
117,31 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: 31:[31, 86, 0], Operations: ['91-91=0']
Exploring Operation: 86*0=0, Resulting Numbers: [31, 0]
Generated Node #0,3,0: 31:[31, 0] Operation: 86*0=0
Exploring Operation: 31-0=31, Resulting Numbers: [86, 31]
Generated Node #0,3,1: 31:[86, 31] Operation: 31-0=31
Exploring Operation: 86-31=55, Resulting Numbers: [0, 55]
Generated Node #0,3,2: 31:[0, 55] Operation: 86-31=55
Exploring Operation: 31+0=31, Resulting Numbers: [86, 31]
Generated Node #0,3,3: 31:[86, 31] Operation: 31+0=31
Moving to Node #0,3,0
Current State: 31:[31, 0], Operations: ['91-91=0', '86*0=0']
Exploring Operation: 31-0=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[31, 91, 86, 91], Operations: []
Exploring Operation: 91-91=0, Resulting Numbers: [31, 86, 0]
Generated Node #0,3: 31:[31, 86, 0] Operation: 91-91=0
Moving to Node #0,3
Current State: 31:[31, 86, 0], Operations: ['91-91=0']
Exploring Operation: 86*0=0, Resulting Numbers: [31, 0]
Generated Node #0,3,0: 31:[31, 0] Operation: 86*0=0
Moving to Node #0,3,0
Current State: 31:[31, 0], Operations: ['91-91=0', '86*0=0']
Exploring Operation: 31-0=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 0.955729 | hs_4 | sum_heuristic |
[
29,
93,
36,
67
] | 33 | [
"93-29=64",
"67-36=31",
"64-31=33"
] | Current State: 33:[29, 93, 36, 67], Operations: []
Exploring Operation: 93-29=64, Resulting Numbers: [36, 67, 64]
Generated Node #2: [36, 67, 64] from Operation: 93-29=64
Current State: 33:[36, 67, 64], Operations: ['93-29=64']
Exploring Operation: 67-36=31, Resulting Numbers: [64, 31]
Generated Node #3: [64, 31] from Operation: 67-36=31
Current State: 33:[64, 31], Operations: ['93-29=64', '67-36=31']
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[29, 93, 36, 67], Operations: []
Exploring Operation: 67-29=38, Resulting Numbers: [93, 36, 38]
Generated Node #0,0: 33:[93, 36, 38] Operation: 67-29=38
Exploring Operation: 93-67=26, Resulting Numbers: [29, 36, 26]
Generated Node #0,1: 33:[29, 36, 26] Operation: 93-67=26
Exploring Operation: 93-36=57, Resulting Numbers: [29, 67, 57]
Generated Node #0,2: 33:[29, 67, 57] Operation: 93-36=57
Exploring Operation: 67-36=31, Resulting Numbers: [29, 93, 31]
Generated Node #0,3: 33:[29, 93, 31] Operation: 67-36=31
Exploring Operation: 93-29=64, Resulting Numbers: [36, 67, 64]
Generated Node #0,4: 33:[36, 67, 64] Operation: 93-29=64
Moving to Node #0,1
Current State: 33:[29, 36, 26], Operations: ['93-67=26']
Exploring Operation: 29-26=3, Resulting Numbers: [36, 3]
Generated Node #0,1,0: 33:[36, 3] Operation: 29-26=3
Exploring Operation: 36-29=7, Resulting Numbers: [26, 7]
Generated Node #0,1,1: 33:[26, 7] Operation: 36-29=7
Exploring Operation: 36+26=62, Resulting Numbers: [29, 62]
Generated Node #0,1,2: 33:[29, 62] Operation: 36+26=62
Exploring Operation: 29+26=55, Resulting Numbers: [36, 55]
Generated Node #0,1,3: 33:[36, 55] Operation: 29+26=55
Exploring Operation: 36-26=10, Resulting Numbers: [29, 10]
Generated Node #0,1,4: 33:[29, 10] Operation: 36-26=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[36, 3], Operations: ['93-67=26', '29-26=3']
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Exploring Operation: 36*3=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[29, 93, 36, 67], Operations: []
Exploring Operation: 93-67=26, Resulting Numbers: [29, 36, 26]
Generated Node #0,1: 33:[29, 36, 26] Operation: 93-67=26
Moving to Node #0,1
Current State: 33:[29, 36, 26], Operations: ['93-67=26']
Exploring Operation: 29-26=3, Resulting Numbers: [36, 3]
Generated Node #0,1,0: 33:[36, 3] Operation: 29-26=3
Moving to Node #0,1,0
Current State: 33:[36, 3], Operations: ['93-67=26', '29-26=3']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
48,
65,
96,
66
] | 49 | [
"48+65=113",
"96+66=162",
"162-113=49"
] | Current State: 49:[48, 65, 96, 66], Operations: []
Exploring Operation: 48+65=113, Resulting Numbers: [96, 66, 113]
Generated Node #2: [96, 66, 113] from Operation: 48+65=113
Current State: 49:[96, 66, 113], Operations: ['48+65=113']
Exploring Operation: 96+66=162, Resulting Numbers: [113, 162]
Generated Node #3: [113, 162] from Operation: 96+66=162
Current State: 49:[113, 162], Operations: ['48+65=113', '96+66=162']
Exploring Operation: 162-113=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[48, 65, 96, 66], Operations: []
Exploring Operation: 96-48=48, Resulting Numbers: [65, 66, 48]
Generated Node #0,0: 49:[65, 66, 48] Operation: 96-48=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[65, 66, 48], Operations: ['96-48=48']
Exploring Operation: 66-65=1, Resulting Numbers: [48, 1]
Generated Node #0,0,0: 49:[48, 1] Operation: 66-65=1
Moving to Node #0,0,0
Current State: 49:[48, 1], Operations: ['96-48=48', '66-65=1']
Exploring Operation: 48+1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[48, 65, 96, 66], Operations: []
Exploring Operation: 96-48=48, Resulting Numbers: [65, 66, 48]
Generated Node #0,0: 49:[65, 66, 48] Operation: 96-48=48
Moving to Node #0,0
Current State: 49:[65, 66, 48], Operations: ['96-48=48']
Exploring Operation: 66-65=1, Resulting Numbers: [48, 1]
Generated Node #0,0,0: 49:[48, 1] Operation: 66-65=1
Moving to Node #0,0,0
Current State: 49:[48, 1], Operations: ['96-48=48', '66-65=1']
Exploring Operation: 48+1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
41,
2,
18,
84
] | 38 | [
"41-18=23",
"2*23=46",
"84-46=38"
] | Current State: 38:[41, 2, 18, 84], Operations: []
Exploring Operation: 41-18=23, Resulting Numbers: [2, 84, 23]
Generated Node #2: [2, 84, 23] from Operation: 41-18=23
Current State: 38:[2, 84, 23], Operations: ['41-18=23']
Exploring Operation: 2*23=46, Resulting Numbers: [84, 46]
Generated Node #3: [84, 46] from Operation: 2*23=46
Current State: 38:[84, 46], Operations: ['41-18=23', '2*23=46']
Exploring Operation: 84-46=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[41, 2, 18, 84], Operations: []
Exploring Operation: 84-18=66, Resulting Numbers: [41, 2, 66]
Generated Node #0,0: 38:[41, 2, 66] Operation: 84-18=66
Exploring Operation: 84/2=42, Resulting Numbers: [41, 18, 42]
Generated Node #0,1: 38:[41, 18, 42] Operation: 84/2=42
Exploring Operation: 84-41=43, Resulting Numbers: [2, 18, 43]
Generated Node #0,2: 38:[2, 18, 43] Operation: 84-41=43
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[2, 18, 43], Operations: ['84-41=43']
Exploring Operation: 43-2=41, Resulting Numbers: [18, 41]
Generated Node #0,2,0: 38:[18, 41] Operation: 43-2=41
Exploring Operation: 2+18=20, Resulting Numbers: [43, 20]
Generated Node #0,2,1: 38:[43, 20] Operation: 2+18=20
Exploring Operation: 43-18=25, Resulting Numbers: [2, 25]
Generated Node #0,2,2: 38:[2, 25] Operation: 43-18=25
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 38:[18, 41], Operations: ['84-41=43', '43-2=41']
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,38 unequal: No Solution
Exploring Operation: 18+41=59, Resulting Numbers: [59]
59,38 unequal: No Solution
Exploring Operation: 18*41=738, Resulting Numbers: [738]
738,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 38:[43, 20], Operations: ['84-41=43', '2+18=20']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,38 unequal: No Solution
Exploring Operation: 43*20=860, Resulting Numbers: [860]
860,38 unequal: No Solution
Exploring Operation: 43+20=63, Resulting Numbers: [63]
63,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 38:[2, 25], Operations: ['84-41=43', '43-18=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,38 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[41, 18, 42], Operations: ['84/2=42']
Exploring Operation: 42-41=1, Resulting Numbers: [18, 1]
Generated Node #0,1,0: 38:[18, 1] Operation: 42-41=1
Exploring Operation: 42-18=24, Resulting Numbers: [41, 24]
Generated Node #0,1,1: 38:[41, 24] Operation: 42-18=24
Exploring Operation: 41-18=23, Resulting Numbers: [42, 23]
Generated Node #0,1,2: 38:[42, 23] Operation: 41-18=23
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 38:[18, 1], Operations: ['84/2=42', '42-41=1']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 38:[41, 24], Operations: ['84/2=42', '42-18=24']
Exploring Operation: 41*24=984, Resulting Numbers: [984]
984,38 unequal: No Solution
Exploring Operation: 41-24=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 41+24=65, Resulting Numbers: [65]
65,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 38:[42, 23], Operations: ['84/2=42', '41-18=23']
Exploring Operation: 42*23=966, Resulting Numbers: [966]
966,38 unequal: No Solution
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 42+23=65, Resulting Numbers: [65]
65,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[41, 2, 66], Operations: ['84-18=66']
Exploring Operation: 66/2=33, Resulting Numbers: [41, 33]
Generated Node #0,0,0: 38:[41, 33] Operation: 66/2=33
Exploring Operation: 66-41=25, Resulting Numbers: [2, 25]
Generated Node #0,0,1: 38:[2, 25] Operation: 66-41=25
Exploring Operation: 41-2=39, Resulting Numbers: [66, 39]
Generated Node #0,0,2: 38:[66, 39] Operation: 41-2=39
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 38:[2, 25], Operations: ['84-18=66', '66-41=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,38 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[41, 33], Operations: ['84-18=66', '66/2=33']
Exploring Operation: 41*33=1353, Resulting Numbers: [1353]
1353,38 unequal: No Solution
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,38 unequal: No Solution
Exploring Operation: 41+33=74, Resulting Numbers: [74]
74,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 38:[66, 39], Operations: ['84-18=66', '41-2=39']
Exploring Operation: 66+39=105, Resulting Numbers: [105]
105,38 unequal: No Solution
Exploring Operation: 66-39=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 66*39=2574, Resulting Numbers: [2574]
2574,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
10,
74,
87,
84
] | 44 | [
"87-84=3",
"10*3=30",
"74-30=44"
] | Current State: 44:[10, 74, 87, 84], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [10, 74, 3]
Generated Node #2: [10, 74, 3] from Operation: 87-84=3
Current State: 44:[10, 74, 3], Operations: ['87-84=3']
Exploring Operation: 10*3=30, Resulting Numbers: [74, 30]
Generated Node #3: [74, 30] from Operation: 10*3=30
Current State: 44:[74, 30], Operations: ['87-84=3', '10*3=30']
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[10, 74, 87, 84], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [10, 74, 3]
Generated Node #0,0: 44:[10, 74, 3] Operation: 87-84=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[10, 74, 3], Operations: ['87-84=3']
Exploring Operation: 74-10=64, Resulting Numbers: [3, 64]
Generated Node #0,0,0: 44:[3, 64] Operation: 74-10=64
Moving to Node #0,0,0
Current State: 44:[3, 64], Operations: ['87-84=3', '74-10=64']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,44 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 |
[
14,
52,
49,
77
] | 26 | [
"14*52=728",
"77-49=28",
"728/28=26"
] | Current State: 26:[14, 52, 49, 77], Operations: []
Exploring Operation: 14*52=728, Resulting Numbers: [49, 77, 728]
Generated Node #2: [49, 77, 728] from Operation: 14*52=728
Current State: 26:[49, 77, 728], Operations: ['14*52=728']
Exploring Operation: 77-49=28, Resulting Numbers: [728, 28]
Generated Node #3: [728, 28] from Operation: 77-49=28
Current State: 26:[728, 28], Operations: ['14*52=728', '77-49=28']
Exploring Operation: 728/28=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[14, 52, 49, 77], Operations: []
Exploring Operation: 77-49=28, Resulting Numbers: [14, 52, 28]
Generated Node #0,0: 26:[14, 52, 28] Operation: 77-49=28
Exploring Operation: 77-52=25, Resulting Numbers: [14, 49, 25]
Generated Node #0,1: 26:[14, 49, 25] Operation: 77-52=25
Exploring Operation: 52-49=3, Resulting Numbers: [14, 77, 3]
Generated Node #0,2: 26:[14, 77, 3] Operation: 52-49=3
Exploring Operation: 52-14=38, Resulting Numbers: [49, 77, 38]
Generated Node #0,3: 26:[49, 77, 38] Operation: 52-14=38
Moving to Node #0,1
Current State: 26:[14, 49, 25], Operations: ['77-52=25']
Exploring Operation: 14+25=39, Resulting Numbers: [49, 39]
Generated Node #0,1,0: 26:[49, 39] Operation: 14+25=39
Exploring Operation: 49-25=24, Resulting Numbers: [14, 24]
Generated Node #0,1,1: 26:[14, 24] Operation: 49-25=24
Exploring Operation: 49-14=35, Resulting Numbers: [25, 35]
Generated Node #0,1,2: 26:[25, 35] Operation: 49-14=35
Exploring Operation: 25-14=11, Resulting Numbers: [49, 11]
Generated Node #0,1,3: 26:[49, 11] Operation: 25-14=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[14, 24], Operations: ['77-52=25', '49-25=24']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 26:[25, 35], Operations: ['77-52=25', '49-14=35']
Exploring Operation: 25*35=875, Resulting Numbers: [875]
875,26 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 26:[49, 11], Operations: ['77-52=25', '25-14=11']
Exploring Operation: 49*11=539, Resulting Numbers: [539]
539,26 unequal: No Solution
Exploring Operation: 49+11=60, Resulting Numbers: [60]
60,26 unequal: No Solution
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[49, 39], Operations: ['77-52=25', '14+25=39']
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 49*39=1911, Resulting Numbers: [1911]
1911,26 unequal: No Solution
Exploring Operation: 49+39=88, Resulting Numbers: [88]
88,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 26:[14, 52, 28], Operations: ['77-49=28']
Exploring Operation: 28/14=2, Resulting Numbers: [52, 2]
Generated Node #0,0,0: 26:[52, 2] Operation: 28/14=2
Exploring Operation: 52-14=38, Resulting Numbers: [28, 38]
Generated Node #0,0,1: 26:[28, 38] Operation: 52-14=38
Exploring Operation: 52-28=24, Resulting Numbers: [14, 24]
Generated Node #0,0,2: 26:[14, 24] Operation: 52-28=24
Exploring Operation: 28-14=14, Resulting Numbers: [52, 14]
Generated Node #0,0,3: 26:[52, 14] Operation: 28-14=14
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 26:[14, 24], Operations: ['77-49=28', '52-28=24']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,26 unequal: No Solution
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[28, 38], Operations: ['77-49=28', '52-14=38']
Exploring Operation: 28+38=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 28*38=1064, Resulting Numbers: [1064]
1064,26 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[52, 2], Operations: ['77-49=28', '28/14=2']
Exploring Operation: 52*2=104, Resulting Numbers: [104]
104,26 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,26 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[14, 52, 49, 77], Operations: []
Exploring Operation: 77-49=28, Resulting Numbers: [14, 52, 28]
Generated Node #0,0: 26:[14, 52, 28] Operation: 77-49=28
Moving to Node #0,0
Current State: 26:[14, 52, 28], Operations: ['77-49=28']
Exploring Operation: 28/14=2, Resulting Numbers: [52, 2]
Generated Node #0,0,0: 26:[52, 2] Operation: 28/14=2
Moving to Node #0,0,0
Current State: 26:[52, 2], Operations: ['77-49=28', '28/14=2']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | sum_heuristic |
[
18,
58,
11,
94
] | 10 | [
"18*58=1044",
"11*94=1034",
"1044-1034=10"
] | Current State: 10:[18, 58, 11, 94], Operations: []
Exploring Operation: 18*58=1044, Resulting Numbers: [11, 94, 1044]
Generated Node #2: [11, 94, 1044] from Operation: 18*58=1044
Current State: 10:[11, 94, 1044], Operations: ['18*58=1044']
Exploring Operation: 11*94=1034, Resulting Numbers: [1044, 1034]
Generated Node #3: [1044, 1034] from Operation: 11*94=1034
Current State: 10:[1044, 1034], Operations: ['18*58=1044', '11*94=1034']
Exploring Operation: 1044-1034=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[18, 58, 11, 94], Operations: []
Exploring Operation: 94-58=36, Resulting Numbers: [18, 11, 36]
Generated Node #0,0: 10:[18, 11, 36] Operation: 94-58=36
Moving to Node #0,0
Current State: 10:[18, 11, 36], Operations: ['94-58=36']
Exploring Operation: 36/18=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 10:[11, 2] Operation: 36/18=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[11, 2], Operations: ['94-58=36', '36/18=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,10 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 |
[
19,
43,
2,
9
] | 44 | [
"19+43=62",
"2*9=18",
"62-18=44"
] | Current State: 44:[19, 43, 2, 9], Operations: []
Exploring Operation: 19+43=62, Resulting Numbers: [2, 9, 62]
Generated Node #2: [2, 9, 62] from Operation: 19+43=62
Current State: 44:[2, 9, 62], Operations: ['19+43=62']
Exploring Operation: 2*9=18, Resulting Numbers: [62, 18]
Generated Node #3: [62, 18] from Operation: 2*9=18
Current State: 44:[62, 18], Operations: ['19+43=62', '2*9=18']
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[19, 43, 2, 9], Operations: []
Exploring Operation: 19-9=10, Resulting Numbers: [43, 2, 10]
Generated Node #0,0: 44:[43, 2, 10] Operation: 19-9=10
Exploring Operation: 19+2=21, Resulting Numbers: [43, 9, 21]
Generated Node #0,1: 44:[43, 9, 21] Operation: 19+2=21
Exploring Operation: 2+9=11, Resulting Numbers: [19, 43, 11]
Generated Node #0,2: 44:[19, 43, 11] Operation: 2+9=11
Exploring Operation: 43+2=45, Resulting Numbers: [19, 9, 45]
Generated Node #0,3: 44:[19, 9, 45] Operation: 43+2=45
Exploring Operation: 43-19=24, Resulting Numbers: [2, 9, 24]
Generated Node #0,4: 44:[2, 9, 24] Operation: 43-19=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[43, 2, 10], Operations: ['19-9=10']
Exploring Operation: 2+10=12, Resulting Numbers: [43, 12]
Generated Node #0,0,0: 44:[43, 12] Operation: 2+10=12
Exploring Operation: 10/2=5, Resulting Numbers: [43, 5]
Generated Node #0,0,1: 44:[43, 5] Operation: 10/2=5
Exploring Operation: 43+2=45, Resulting Numbers: [10, 45]
Generated Node #0,0,2: 44:[10, 45] Operation: 43+2=45
Exploring Operation: 2*10=20, Resulting Numbers: [43, 20]
Generated Node #0,0,3: 44:[43, 20] Operation: 2*10=20
Exploring Operation: 43-2=41, Resulting Numbers: [10, 41]
Generated Node #0,0,4: 44:[10, 41] Operation: 43-2=41
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[43, 12], Operations: ['19-9=10', '2+10=12']
Exploring Operation: 43*12=516, Resulting Numbers: [516]
516,44 unequal: No Solution
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,44 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 44:[43, 5], Operations: ['19-9=10', '10/2=5']
Exploring Operation: 43+5=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Exploring Operation: 43*5=215, Resulting Numbers: [215]
215,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 44:[10, 45], Operations: ['19-9=10', '43+2=45']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,44 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 44:[43, 20], Operations: ['19-9=10', '2*10=20']
Exploring Operation: 43*20=860, Resulting Numbers: [860]
860,44 unequal: No Solution
Exploring Operation: 43+20=63, Resulting Numbers: [63]
63,44 unequal: No Solution
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 44:[10, 41], Operations: ['19-9=10', '43-2=41']
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,44 unequal: No Solution
Exploring Operation: 10*41=410, Resulting Numbers: [410]
410,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[43, 9, 21], Operations: ['19+2=21']
Exploring Operation: 43-9=34, Resulting Numbers: [21, 34]
Generated Node #0,1,0: 44:[21, 34] Operation: 43-9=34
Exploring Operation: 21-9=12, Resulting Numbers: [43, 12]
Generated Node #0,1,1: 44:[43, 12] Operation: 21-9=12
Exploring Operation: 43+9=52, Resulting Numbers: [21, 52]
Generated Node #0,1,2: 44:[21, 52] Operation: 43+9=52
Exploring Operation: 9+21=30, Resulting Numbers: [43, 30]
Generated Node #0,1,3: 44:[43, 30] Operation: 9+21=30
Exploring Operation: 43-21=22, Resulting Numbers: [9, 22]
Generated Node #0,1,4: 44:[9, 22] Operation: 43-21=22
Moving to Node #0,1,1
Current State: 44:[43, 12], Operations: ['19+2=21', '21-9=12']
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,44 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 43*12=516, Resulting Numbers: [516]
516,44 unequal: No Solution
Moving to Node #0,1,4
Current State: 44:[9, 22], Operations: ['19+2=21', '43-21=22']
Exploring Operation: 9*22=198, Resulting Numbers: [198]
198,44 unequal: No Solution
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[21, 52], Operations: ['19+2=21', '43+9=52']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 21+52=73, Resulting Numbers: [73]
73,44 unequal: No Solution
Exploring Operation: 21*52=1092, Resulting Numbers: [1092]
1092,44 unequal: No Solution
Moving to Node #0,1,3
Current State: 44:[43, 30], Operations: ['19+2=21', '9+21=30']
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,44 unequal: No Solution
Exploring Operation: 43*30=1290, Resulting Numbers: [1290]
1290,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[21, 34], Operations: ['19+2=21', '43-9=34']
Exploring Operation: 21*34=714, Resulting Numbers: [714]
714,44 unequal: No Solution
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[19, 43, 11], Operations: ['2+9=11']
Exploring Operation: 43+11=54, Resulting Numbers: [19, 54]
Generated Node #0,2,0: 44:[19, 54] Operation: 43+11=54
Exploring Operation: 43-19=24, Resulting Numbers: [11, 24]
Generated Node #0,2,1: 44:[11, 24] Operation: 43-19=24
Exploring Operation: 43-11=32, Resulting Numbers: [19, 32]
Generated Node #0,2,2: 44:[19, 32] Operation: 43-11=32
Exploring Operation: 19+11=30, Resulting Numbers: [43, 30]
Generated Node #0,2,3: 44:[43, 30] Operation: 19+11=30
Exploring Operation: 19-11=8, Resulting Numbers: [43, 8]
Generated Node #0,2,4: 44:[43, 8] Operation: 19-11=8
Moving to Node #0,2,1
Current State: 44:[11, 24], Operations: ['2+9=11', '43-19=24']
Exploring Operation: 11*24=264, Resulting Numbers: [264]
264,44 unequal: No Solution
Exploring Operation: 11+24=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Moving to Node #0,2,4
Current State: 44:[43, 8], Operations: ['2+9=11', '19-11=8']
Exploring Operation: 43*8=344, Resulting Numbers: [344]
344,44 unequal: No Solution
Exploring Operation: 43+8=51, Resulting Numbers: [51]
51,44 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Moving to Node #0,2,3
Current State: 44:[43, 30], Operations: ['2+9=11', '19+11=30']
Exploring Operation: 43*30=1290, Resulting Numbers: [1290]
1290,44 unequal: No Solution
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,44 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[19, 54], Operations: ['2+9=11', '43+11=54']
Exploring Operation: 19*54=1026, Resulting Numbers: [1026]
1026,44 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 19+54=73, Resulting Numbers: [73]
73,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[19, 32], Operations: ['2+9=11', '43-11=32']
Exploring Operation: 19*32=608, Resulting Numbers: [608]
608,44 unequal: No Solution
Exploring Operation: 19+32=51, Resulting Numbers: [51]
51,44 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 44:[2, 9, 24], Operations: ['43-19=24']
Exploring Operation: 24/2=12, Resulting Numbers: [9, 12]
Generated Node #0,4,0: 44:[9, 12] Operation: 24/2=12
Exploring Operation: 24-9=15, Resulting Numbers: [2, 15]
Generated Node #0,4,1: 44:[2, 15] Operation: 24-9=15
Exploring Operation: 2+9=11, Resulting Numbers: [24, 11]
Generated Node #0,4,2: 44:[24, 11] Operation: 2+9=11
Exploring Operation: 9-2=7, Resulting Numbers: [24, 7]
Generated Node #0,4,3: 44:[24, 7] Operation: 9-2=7
Exploring Operation: 24-2=22, Resulting Numbers: [9, 22]
Generated Node #0,4,4: 44:[9, 22] Operation: 24-2=22
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 44:[24, 11], Operations: ['43-19=24', '2+9=11']
Exploring Operation: 24+11=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 24*11=264, Resulting Numbers: [264]
264,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 44:[9, 22], Operations: ['43-19=24', '24-2=22']
Exploring Operation: 9*22=198, Resulting Numbers: [198]
198,44 unequal: No Solution
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 44:[9, 12], Operations: ['43-19=24', '24/2=12']
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,44 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 44:[2, 15], Operations: ['43-19=24', '24-9=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,44 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,44 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 44:[24, 7], Operations: ['43-19=24', '9-2=7']
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,44 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,44 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[19, 9, 45], Operations: ['43+2=45']
Exploring Operation: 45/9=5, Resulting Numbers: [19, 5]
Generated Node #0,3,0: 44:[19, 5] Operation: 45/9=5
Exploring Operation: 19+9=28, Resulting Numbers: [45, 28]
Generated Node #0,3,1: 44:[45, 28] Operation: 19+9=28
Exploring Operation: 45-9=36, Resulting Numbers: [19, 36]
Generated Node #0,3,2: 44:[19, 36] Operation: 45-9=36
Exploring Operation: 19-9=10, Resulting Numbers: [45, 10]
Generated Node #0,3,3: 44:[45, 10] Operation: 19-9=10
Exploring Operation: 45-19=26, Resulting Numbers: [9, 26]
Generated Node #0,3,4: 44:[9, 26] Operation: 45-19=26
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 44:[45, 10], Operations: ['43+2=45', '19-9=10']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,44 unequal: No Solution
Exploring Operation: 45*10=450, Resulting Numbers: [450]
450,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 44:[19, 5], Operations: ['43+2=45', '45/9=5']
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 44:[9, 26], Operations: ['43+2=45', '45-19=26']
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,44 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 44:[45, 28], Operations: ['43+2=45', '19+9=28']
Exploring Operation: 45*28=1260, Resulting Numbers: [1260]
1260,44 unequal: No Solution
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,44 unequal: No Solution
Exploring Operation: 45+28=73, Resulting Numbers: [73]
73,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 44:[19, 36], Operations: ['43+2=45', '45-9=36']
Exploring Operation: 19+36=55, Resulting Numbers: [55]
55,44 unequal: No Solution
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,44 unequal: No Solution
Exploring Operation: 19*36=684, Resulting Numbers: [684]
684,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
20,
34,
93,
62
] | 21 | [
"34-20=14",
"93*14=1302",
"1302/62=21"
] | Current State: 21:[20, 34, 93, 62], Operations: []
Exploring Operation: 34-20=14, Resulting Numbers: [93, 62, 14]
Generated Node #2: [93, 62, 14] from Operation: 34-20=14
Current State: 21:[93, 62, 14], Operations: ['34-20=14']
Exploring Operation: 93*14=1302, Resulting Numbers: [62, 1302]
Generated Node #3: [62, 1302] from Operation: 93*14=1302
Current State: 21:[62, 1302], Operations: ['34-20=14', '93*14=1302']
Exploring Operation: 1302/62=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[20, 34, 93, 62], Operations: []
Exploring Operation: 93-20=73, Resulting Numbers: [34, 62, 73]
Generated Node #0,0: 21:[34, 62, 73] Operation: 93-20=73
Exploring Operation: 93-34=59, Resulting Numbers: [20, 62, 59]
Generated Node #0,1: 21:[20, 62, 59] Operation: 93-34=59
Exploring Operation: 62-34=28, Resulting Numbers: [20, 93, 28]
Generated Node #0,2: 21:[20, 93, 28] Operation: 62-34=28
Exploring Operation: 93-62=31, Resulting Numbers: [20, 34, 31]
Generated Node #0,3: 21:[20, 34, 31] Operation: 93-62=31
Moving to Node #0,3
Current State: 21:[20, 34, 31], Operations: ['93-62=31']
Exploring Operation: 34-31=3, Resulting Numbers: [20, 3]
Generated Node #0,3,0: 21:[20, 3] Operation: 34-31=3
Exploring Operation: 34-20=14, Resulting Numbers: [31, 14]
Generated Node #0,3,1: 21:[31, 14] Operation: 34-20=14
Exploring Operation: 20+34=54, Resulting Numbers: [31, 54]
Generated Node #0,3,2: 21:[31, 54] Operation: 20+34=54
Exploring Operation: 31-20=11, Resulting Numbers: [34, 11]
Generated Node #0,3,3: 21:[34, 11] Operation: 31-20=11
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 21:[20, 3], Operations: ['93-62=31', '34-31=3']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 21:[31, 14], Operations: ['93-62=31', '34-20=14']
Exploring Operation: 31*14=434, Resulting Numbers: [434]
434,21 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 31+14=45, Resulting Numbers: [45]
45,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 21:[34, 11], Operations: ['93-62=31', '31-20=11']
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,21 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 21:[31, 54], Operations: ['93-62=31', '20+34=54']
Exploring Operation: 31*54=1674, Resulting Numbers: [1674]
1674,21 unequal: No Solution
Exploring Operation: 31+54=85, Resulting Numbers: [85]
85,21 unequal: No Solution
Exploring Operation: 54-31=23, Resulting Numbers: [23]
23,21 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: 21:[20, 93, 28], Operations: ['62-34=28']
Exploring Operation: 20+93=113, Resulting Numbers: [28, 113]
Generated Node #0,2,0: 21:[28, 113] Operation: 20+93=113
Exploring Operation: 93-28=65, Resulting Numbers: [20, 65]
Generated Node #0,2,1: 21:[20, 65] Operation: 93-28=65
Exploring Operation: 93-20=73, Resulting Numbers: [28, 73]
Generated Node #0,2,2: 21:[28, 73] Operation: 93-20=73
Exploring Operation: 28-20=8, Resulting Numbers: [93, 8]
Generated Node #0,2,3: 21:[93, 8] Operation: 28-20=8
Moving to Node #0,1
Current State: 21:[20, 62, 59], Operations: ['93-34=59']
Exploring Operation: 62-20=42, Resulting Numbers: [59, 42]
Generated Node #0,1,0: 21:[59, 42] Operation: 62-20=42
Exploring Operation: 62-59=3, Resulting Numbers: [20, 3]
Generated Node #0,1,1: 21:[20, 3] Operation: 62-59=3
Exploring Operation: 59-20=39, Resulting Numbers: [62, 39]
Generated Node #0,1,2: 21:[62, 39] Operation: 59-20=39
Exploring Operation: 20+62=82, Resulting Numbers: [59, 82]
Generated Node #0,1,3: 21:[59, 82] Operation: 20+62=82
Moving to Node #0,0
Current State: 21:[34, 62, 73], Operations: ['93-20=73']
Exploring Operation: 34+62=96, Resulting Numbers: [73, 96]
Generated Node #0,0,0: 21:[73, 96] Operation: 34+62=96
Exploring Operation: 62-34=28, Resulting Numbers: [73, 28]
Generated Node #0,0,1: 21:[73, 28] Operation: 62-34=28
Exploring Operation: 73-34=39, Resulting Numbers: [62, 39]
Generated Node #0,0,2: 21:[62, 39] Operation: 73-34=39
Exploring Operation: 73-62=11, Resulting Numbers: [34, 11]
Generated Node #0,0,3: 21:[34, 11] Operation: 73-62=11
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 21:[34, 11], Operations: ['93-20=73', '73-62=11']
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,21 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 21:[73, 28], Operations: ['93-20=73', '62-34=28']
Exploring Operation: 73-28=45, Resulting Numbers: [45]
45,21 unequal: No Solution
Exploring Operation: 73+28=101, Resulting Numbers: [101]
101,21 unequal: No Solution
Exploring Operation: 73*28=2044, Resulting Numbers: [2044]
2044,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 21:[62, 39], Operations: ['93-20=73', '73-34=39']
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 62*39=2418, Resulting Numbers: [2418]
2418,21 unequal: No Solution
Exploring Operation: 62+39=101, Resulting Numbers: [101]
101,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[73, 96], Operations: ['93-20=73', '34+62=96']
Exploring Operation: 73+96=169, Resulting Numbers: [169]
169,21 unequal: No Solution
Exploring Operation: 96-73=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 73*96=7008, Resulting Numbers: [7008]
7008,21 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: 21:[20, 3], Operations: ['93-34=59', '62-59=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[20, 65], Operations: ['62-34=28', '93-28=65']
Exploring Operation: 20*65=1300, Resulting Numbers: [1300]
1300,21 unequal: No Solution
Exploring Operation: 20+65=85, Resulting Numbers: [85]
85,21 unequal: No Solution
Exploring Operation: 65-20=45, Resulting Numbers: [45]
45,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[59, 42], Operations: ['93-34=59', '62-20=42']
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 59+42=101, Resulting Numbers: [101]
101,21 unequal: No Solution
Exploring Operation: 59*42=2478, Resulting Numbers: [2478]
2478,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[62, 39], Operations: ['93-34=59', '59-20=39']
Exploring Operation: 62+39=101, Resulting Numbers: [101]
101,21 unequal: No Solution
Exploring Operation: 62*39=2418, Resulting Numbers: [2418]
2418,21 unequal: No Solution
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[28, 73], Operations: ['62-34=28', '93-20=73']
Exploring Operation: 28*73=2044, Resulting Numbers: [2044]
2044,21 unequal: No Solution
Exploring Operation: 28+73=101, Resulting Numbers: [101]
101,21 unequal: No Solution
Exploring Operation: 73-28=45, Resulting Numbers: [45]
45,21 unequal: No Solution
Moving to Node #0,2,3
Current State: 21:[93, 8], Operations: ['62-34=28', '28-20=8']
Exploring Operation: 93*8=744, Resulting Numbers: [744]
744,21 unequal: No Solution
Exploring Operation: 93-8=85, Resulting Numbers: [85]
85,21 unequal: No Solution
Exploring Operation: 93+8=101, Resulting Numbers: [101]
101,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[28, 113], Operations: ['62-34=28', '20+93=113']
Exploring Operation: 28+113=141, Resulting Numbers: [141]
141,21 unequal: No Solution
Exploring Operation: 113-28=85, Resulting Numbers: [85]
85,21 unequal: No Solution
Exploring Operation: 28*113=3164, Resulting Numbers: [3164]
3164,21 unequal: No Solution
Moving to Node #0,1,3
Current State: 21:[59, 82], Operations: ['93-34=59', '20+62=82']
Exploring Operation: 59*82=4838, Resulting Numbers: [4838]
4838,21 unequal: No Solution
Exploring Operation: 82-59=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 59+82=141, Resulting Numbers: [141]
141,21 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
96,
54,
54,
10
] | 69 | [
"96+54=150",
"150/10=15",
"54+15=69"
] | Current State: 69:[96, 54, 54, 10], Operations: []
Exploring Operation: 96+54=150, Resulting Numbers: [10, 150]
Generated Node #2: [10, 150] from Operation: 96+54=150
Current State: 69:[10, 150], Operations: ['96+54=150']
Exploring Operation: 150/10=15, Resulting Numbers: [15]
15,69 equal: Goal Reached
Exploring Operation: 54+15=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[96, 54, 54, 10], Operations: []
Exploring Operation: 96-54=42, Resulting Numbers: [54, 10, 42]
Generated Node #0,0: 69:[54, 10, 42] Operation: 96-54=42
Exploring Operation: 96-54=42, Resulting Numbers: [54, 10, 42]
Generated Node #0,1: 69:[54, 10, 42] Operation: 96-54=42
Exploring Operation: 54-54=0, Resulting Numbers: [96, 10, 0]
Generated Node #0,2: 69:[96, 10, 0] Operation: 54-54=0
Exploring Operation: 54/54=1, Resulting Numbers: [96, 10, 1]
Generated Node #0,3: 69:[96, 10, 1] Operation: 54/54=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 69:[96, 10, 1], Operations: ['54/54=1']
Exploring Operation: 96*1=96, Resulting Numbers: [10, 96]
Generated Node #0,3,0: 69:[10, 96] Operation: 96*1=96
Exploring Operation: 96-10=86, Resulting Numbers: [1, 86]
Generated Node #0,3,1: 69:[1, 86] Operation: 96-10=86
Exploring Operation: 96-1=95, Resulting Numbers: [10, 95]
Generated Node #0,3,2: 69:[10, 95] Operation: 96-1=95
Exploring Operation: 10-1=9, Resulting Numbers: [96, 9]
Generated Node #0,3,3: 69:[96, 9] Operation: 10-1=9
Moving to Node #0,3,1
Current State: 69:[1, 86], Operations: ['54/54=1', '96-10=86']
Exploring Operation: 1+86=87, Resulting Numbers: [87]
87,69 unequal: No Solution
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,69 unequal: No Solution
Exploring Operation: 1*86=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Moving to Node #0,3,3
Current State: 69:[96, 9], Operations: ['54/54=1', '10-1=9']
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,69 unequal: No Solution
Exploring Operation: 96+9=105, Resulting Numbers: [105]
105,69 unequal: No Solution
Exploring Operation: 96*9=864, Resulting Numbers: [864]
864,69 unequal: No Solution
Moving to Node #0,3,2
Current State: 69:[10, 95], Operations: ['54/54=1', '96-1=95']
Exploring Operation: 95-10=85, Resulting Numbers: [85]
85,69 unequal: No Solution
Exploring Operation: 10+95=105, Resulting Numbers: [105]
105,69 unequal: No Solution
Exploring Operation: 10*95=950, Resulting Numbers: [950]
950,69 unequal: No Solution
Moving to Node #0,3,0
Current State: 69:[10, 96], Operations: ['54/54=1', '96*1=96']
Exploring Operation: 10+96=106, Resulting Numbers: [106]
106,69 unequal: No Solution
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Exploring Operation: 10*96=960, Resulting Numbers: [960]
960,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[96, 10, 0], Operations: ['54-54=0']
Exploring Operation: 10*0=0, Resulting Numbers: [96, 0]
Generated Node #0,2,0: 69:[96, 0] Operation: 10*0=0
Exploring Operation: 96+0=96, Resulting Numbers: [10, 96]
Generated Node #0,2,1: 69:[10, 96] Operation: 96+0=96
Exploring Operation: 96-10=86, Resulting Numbers: [0, 86]
Generated Node #0,2,2: 69:[0, 86] Operation: 96-10=86
Exploring Operation: 96*0=0, Resulting Numbers: [10, 0]
Generated Node #0,2,3: 69:[10, 0] Operation: 96*0=0
Moving to Node #0,2,3
Current State: 69:[10, 0], Operations: ['54-54=0', '96*0=0']
Exploring Operation: 10*0=0, Resulting Numbers: [0]
0,69 unequal: No Solution
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[0, 86], Operations: ['54-54=0', '96-10=86']
Exploring Operation: 0+86=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Exploring Operation: 0*86=0, Resulting Numbers: [0]
0,69 unequal: No Solution
Exploring Operation: 86-0=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[96, 0], Operations: ['54-54=0', '10*0=0']
Exploring Operation: 96*0=0, Resulting Numbers: [0]
0,69 unequal: No Solution
Exploring Operation: 96-0=96, Resulting Numbers: [96]
96,69 unequal: No Solution
Exploring Operation: 96+0=96, Resulting Numbers: [96]
96,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[10, 96], Operations: ['54-54=0', '96+0=96']
Exploring Operation: 10*96=960, Resulting Numbers: [960]
960,69 unequal: No Solution
Exploring Operation: 10+96=106, Resulting Numbers: [106]
106,69 unequal: No Solution
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[54, 10, 42], Operations: ['96-54=42']
Exploring Operation: 10+42=52, Resulting Numbers: [54, 52]
Generated Node #0,0,0: 69:[54, 52] Operation: 10+42=52
Exploring Operation: 54-42=12, Resulting Numbers: [10, 12]
Generated Node #0,0,1: 69:[10, 12] Operation: 54-42=12
Exploring Operation: 42-10=32, Resulting Numbers: [54, 32]
Generated Node #0,0,2: 69:[54, 32] Operation: 42-10=32
Exploring Operation: 54+10=64, Resulting Numbers: [42, 64]
Generated Node #0,0,3: 69:[42, 64] Operation: 54+10=64
Moving to Node #0,0,1
Current State: 69:[10, 12], Operations: ['96-54=42', '54-42=12']
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,69 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Moving to Node #0,0,3
Current State: 69:[42, 64], Operations: ['96-54=42', '54+10=64']
Exploring Operation: 42*64=2688, Resulting Numbers: [2688]
2688,69 unequal: No Solution
Exploring Operation: 42+64=106, Resulting Numbers: [106]
106,69 unequal: No Solution
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[54, 32], Operations: ['96-54=42', '42-10=32']
Exploring Operation: 54+32=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Exploring Operation: 54*32=1728, Resulting Numbers: [1728]
1728,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[54, 52], Operations: ['96-54=42', '10+42=52']
Exploring Operation: 54+52=106, Resulting Numbers: [106]
106,69 unequal: No Solution
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Exploring Operation: 54*52=2808, Resulting Numbers: [2808]
2808,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[54, 10, 42], Operations: ['96-54=42']
Exploring Operation: 54+10=64, Resulting Numbers: [42, 64]
Generated Node #0,1,0: 69:[42, 64] Operation: 54+10=64
Exploring Operation: 10+42=52, Resulting Numbers: [54, 52]
Generated Node #0,1,1: 69:[54, 52] Operation: 10+42=52
Exploring Operation: 54-42=12, Resulting Numbers: [10, 12]
Generated Node #0,1,2: 69:[10, 12] Operation: 54-42=12
Exploring Operation: 42-10=32, Resulting Numbers: [54, 32]
Generated Node #0,1,3: 69:[54, 32] Operation: 42-10=32
Moving to Node #0,1,2
Current State: 69:[10, 12], Operations: ['96-54=42', '54-42=12']
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,69 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Moving to Node #0,1,3
Current State: 69:[54, 32], Operations: ['96-54=42', '42-10=32']
Exploring Operation: 54*32=1728, Resulting Numbers: [1728]
1728,69 unequal: No Solution
Exploring Operation: 54+32=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[42, 64], Operations: ['96-54=42', '54+10=64']
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Exploring Operation: 42+64=106, Resulting Numbers: [106]
106,69 unequal: No Solution
Exploring Operation: 42*64=2688, Resulting Numbers: [2688]
2688,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[54, 52], Operations: ['96-54=42', '10+42=52']
Exploring Operation: 54+52=106, Resulting Numbers: [106]
106,69 unequal: No Solution
Exploring Operation: 54*52=2808, Resulting Numbers: [2808]
2808,69 unequal: No Solution
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
43,
74,
3,
11
] | 23 | [
"74-43=31",
"11-3=8",
"31-8=23"
] | Current State: 23:[43, 74, 3, 11], Operations: []
Exploring Operation: 74-43=31, Resulting Numbers: [3, 11, 31]
Generated Node #2: [3, 11, 31] from Operation: 74-43=31
Current State: 23:[3, 11, 31], Operations: ['74-43=31']
Exploring Operation: 11-3=8, Resulting Numbers: [31, 8]
Generated Node #3: [31, 8] from Operation: 11-3=8
Current State: 23:[31, 8], Operations: ['74-43=31', '11-3=8']
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[43, 74, 3, 11], Operations: []
Exploring Operation: 74-43=31, Resulting Numbers: [3, 11, 31]
Generated Node #0,0: 23:[3, 11, 31] Operation: 74-43=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[3, 11, 31], Operations: ['74-43=31']
Exploring Operation: 3+11=14, Resulting Numbers: [31, 14]
Generated Node #0,0,0: 23:[31, 14] Operation: 3+11=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[31, 14], Operations: ['74-43=31', '3+11=14']
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
38,
34,
36,
5
] | 73 | [
"38-36=2",
"34*2=68",
"5+68=73"
] | Current State: 73:[38, 34, 36, 5], Operations: []
Exploring Operation: 38-36=2, Resulting Numbers: [34, 5, 2]
Generated Node #2: [34, 5, 2] from Operation: 38-36=2
Current State: 73:[34, 5, 2], Operations: ['38-36=2']
Exploring Operation: 34*2=68, Resulting Numbers: [5, 68]
Generated Node #3: [5, 68] from Operation: 34*2=68
Current State: 73:[5, 68], Operations: ['38-36=2', '34*2=68']
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[38, 34, 36, 5], Operations: []
Exploring Operation: 34+5=39, Resulting Numbers: [38, 36, 39]
Generated Node #0,0: 73:[38, 36, 39] Operation: 34+5=39
Exploring Operation: 38+5=43, Resulting Numbers: [34, 36, 43]
Generated Node #0,1: 73:[34, 36, 43] Operation: 38+5=43
Exploring Operation: 34+36=70, Resulting Numbers: [38, 5, 70]
Generated Node #0,2: 73:[38, 5, 70] Operation: 34+36=70
Exploring Operation: 36+5=41, Resulting Numbers: [38, 34, 41]
Generated Node #0,3: 73:[38, 34, 41] Operation: 36+5=41
Exploring Operation: 38+34=72, Resulting Numbers: [36, 5, 72]
Generated Node #0,4: 73:[36, 5, 72] Operation: 38+34=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[38, 36, 39], Operations: ['34+5=39']
Exploring Operation: 38+36=74, Resulting Numbers: [39, 74]
Generated Node #0,0,0: 73:[39, 74] Operation: 38+36=74
Exploring Operation: 38+39=77, Resulting Numbers: [36, 77]
Generated Node #0,0,1: 73:[36, 77] Operation: 38+39=77
Exploring Operation: 39-36=3, Resulting Numbers: [38, 3]
Generated Node #0,0,2: 73:[38, 3] Operation: 39-36=3
Exploring Operation: 38-36=2, Resulting Numbers: [39, 2]
Generated Node #0,0,3: 73:[39, 2] Operation: 38-36=2
Exploring Operation: 36+39=75, Resulting Numbers: [38, 75]
Generated Node #0,0,4: 73:[38, 75] Operation: 36+39=75
Moving to Node #0,0,0
Current State: 73:[39, 74], Operations: ['34+5=39', '38+36=74']
Exploring Operation: 39+74=113, Resulting Numbers: [113]
113,73 unequal: No Solution
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 39*74=2886, Resulting Numbers: [2886]
2886,73 unequal: No Solution
Moving to Node #0,0,4
Current State: 73:[38, 75], Operations: ['34+5=39', '36+39=75']
Exploring Operation: 75-38=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 38+75=113, Resulting Numbers: [113]
113,73 unequal: No Solution
Exploring Operation: 38*75=2850, Resulting Numbers: [2850]
2850,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[36, 77], Operations: ['34+5=39', '38+39=77']
Exploring Operation: 36+77=113, Resulting Numbers: [113]
113,73 unequal: No Solution
Exploring Operation: 36*77=2772, Resulting Numbers: [2772]
2772,73 unequal: No Solution
Exploring Operation: 77-36=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[38, 3], Operations: ['34+5=39', '39-36=3']
Exploring Operation: 38*3=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[39, 2], Operations: ['34+5=39', '38-36=2']
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[34, 36, 43], Operations: ['38+5=43']
Exploring Operation: 36-34=2, Resulting Numbers: [43, 2]
Generated Node #0,1,0: 73:[43, 2] Operation: 36-34=2
Exploring Operation: 34+43=77, Resulting Numbers: [36, 77]
Generated Node #0,1,1: 73:[36, 77] Operation: 34+43=77
Exploring Operation: 43-34=9, Resulting Numbers: [36, 9]
Generated Node #0,1,2: 73:[36, 9] Operation: 43-34=9
Exploring Operation: 36+43=79, Resulting Numbers: [34, 79]
Generated Node #0,1,3: 73:[34, 79] Operation: 36+43=79
Exploring Operation: 34+36=70, Resulting Numbers: [43, 70]
Generated Node #0,1,4: 73:[43, 70] Operation: 34+36=70
Moving to Node #0,1,4
Current State: 73:[43, 70], Operations: ['38+5=43', '34+36=70']
Exploring Operation: 43*70=3010, Resulting Numbers: [3010]
3010,73 unequal: No Solution
Exploring Operation: 43+70=113, Resulting Numbers: [113]
113,73 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[36, 77], Operations: ['38+5=43', '34+43=77']
Exploring Operation: 36*77=2772, Resulting Numbers: [2772]
2772,73 unequal: No Solution
Exploring Operation: 77-36=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Exploring Operation: 36+77=113, Resulting Numbers: [113]
113,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[34, 79], Operations: ['38+5=43', '36+43=79']
Exploring Operation: 34*79=2686, Resulting Numbers: [2686]
2686,73 unequal: No Solution
Exploring Operation: 34+79=113, Resulting Numbers: [113]
113,73 unequal: No Solution
Exploring Operation: 79-34=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[43, 2], Operations: ['38+5=43', '36-34=2']
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[36, 9], Operations: ['38+5=43', '43-34=9']
Exploring Operation: 36+9=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Exploring Operation: 36*9=324, Resulting Numbers: [324]
324,73 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[38, 5, 70], Operations: ['34+36=70']
Exploring Operation: 70/5=14, Resulting Numbers: [38, 14]
Generated Node #0,2,0: 73:[38, 14] Operation: 70/5=14
Exploring Operation: 70-5=65, Resulting Numbers: [38, 65]
Generated Node #0,2,1: 73:[38, 65] Operation: 70-5=65
Exploring Operation: 38-5=33, Resulting Numbers: [70, 33]
Generated Node #0,2,2: 73:[70, 33] Operation: 38-5=33
Exploring Operation: 5+70=75, Resulting Numbers: [38, 75]
Generated Node #0,2,3: 73:[38, 75] Operation: 5+70=75
Exploring Operation: 38+5=43, Resulting Numbers: [70, 43]
Generated Node #0,2,4: 73:[70, 43] Operation: 38+5=43
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 73:[70, 43], Operations: ['34+36=70', '38+5=43']
Exploring Operation: 70+43=113, Resulting Numbers: [113]
113,73 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 70*43=3010, Resulting Numbers: [3010]
3010,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 73:[38, 75], Operations: ['34+36=70', '5+70=75']
Exploring Operation: 75-38=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 38+75=113, Resulting Numbers: [113]
113,73 unequal: No Solution
Exploring Operation: 38*75=2850, Resulting Numbers: [2850]
2850,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 73:[38, 65], Operations: ['34+36=70', '70-5=65']
Exploring Operation: 65-38=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 38*65=2470, Resulting Numbers: [2470]
2470,73 unequal: No Solution
Exploring Operation: 38+65=103, Resulting Numbers: [103]
103,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 73:[70, 33], Operations: ['34+36=70', '38-5=33']
Exploring Operation: 70+33=103, Resulting Numbers: [103]
103,73 unequal: No Solution
Exploring Operation: 70*33=2310, Resulting Numbers: [2310]
2310,73 unequal: No Solution
Exploring Operation: 70-33=37, Resulting Numbers: [37]
37,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 73:[38, 14], Operations: ['34+36=70', '70/5=14']
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,73 unequal: No Solution
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 38*14=532, Resulting Numbers: [532]
532,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 73:[38, 34, 41], Operations: ['36+5=41']
Exploring Operation: 38-34=4, Resulting Numbers: [41, 4]
Generated Node #0,3,0: 73:[41, 4] Operation: 38-34=4
Exploring Operation: 34+41=75, Resulting Numbers: [38, 75]
Generated Node #0,3,1: 73:[38, 75] Operation: 34+41=75
Exploring Operation: 38+34=72, Resulting Numbers: [41, 72]
Generated Node #0,3,2: 73:[41, 72] Operation: 38+34=72
Exploring Operation: 38+41=79, Resulting Numbers: [34, 79]
Generated Node #0,3,3: 73:[34, 79] Operation: 38+41=79
Exploring Operation: 41-34=7, Resulting Numbers: [38, 7]
Generated Node #0,3,4: 73:[38, 7] Operation: 41-34=7
Moving to Node #0,3,2
Current State: 73:[41, 72], Operations: ['36+5=41', '38+34=72']
Exploring Operation: 41*72=2952, Resulting Numbers: [2952]
2952,73 unequal: No Solution
Exploring Operation: 41+72=113, Resulting Numbers: [113]
113,73 unequal: No Solution
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[38, 75], Operations: ['36+5=41', '34+41=75']
Exploring Operation: 75-38=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 38*75=2850, Resulting Numbers: [2850]
2850,73 unequal: No Solution
Exploring Operation: 38+75=113, Resulting Numbers: [113]
113,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[34, 79], Operations: ['36+5=41', '38+41=79']
Exploring Operation: 34+79=113, Resulting Numbers: [113]
113,73 unequal: No Solution
Exploring Operation: 34*79=2686, Resulting Numbers: [2686]
2686,73 unequal: No Solution
Exploring Operation: 79-34=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[41, 4], Operations: ['36+5=41', '38-34=4']
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Exploring Operation: 41*4=164, Resulting Numbers: [164]
164,73 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Moving to Node #0,3,4
Current State: 73:[38, 7], Operations: ['36+5=41', '41-34=7']
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 73:[36, 5, 72], Operations: ['38+34=72']
Exploring Operation: 5+72=77, Resulting Numbers: [36, 77]
Generated Node #0,4,0: 73:[36, 77] Operation: 5+72=77
Exploring Operation: 36+5=41, Resulting Numbers: [72, 41]
Generated Node #0,4,1: 73:[72, 41] Operation: 36+5=41
Exploring Operation: 36+72=108, Resulting Numbers: [5, 108]
Generated Node #0,4,2: 73:[5, 108] Operation: 36+72=108
Exploring Operation: 36-5=31, Resulting Numbers: [72, 31]
Generated Node #0,4,3: 73:[72, 31] Operation: 36-5=31
Exploring Operation: 72-5=67, Resulting Numbers: [36, 67]
Generated Node #0,4,4: 73:[36, 67] Operation: 72-5=67
Moving to Node #0,4,1
Current State: 73:[72, 41], Operations: ['38+34=72', '36+5=41']
Exploring Operation: 72+41=113, Resulting Numbers: [113]
113,73 unequal: No Solution
Exploring Operation: 72*41=2952, Resulting Numbers: [2952]
2952,73 unequal: No Solution
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Moving to Node #0,4,0
Current State: 73:[36, 77], Operations: ['38+34=72', '5+72=77']
Exploring Operation: 36+77=113, Resulting Numbers: [113]
113,73 unequal: No Solution
Exploring Operation: 77-36=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Exploring Operation: 36*77=2772, Resulting Numbers: [2772]
2772,73 unequal: No Solution
Moving to Node #0,4,3
Current State: 73:[72, 31], Operations: ['38+34=72', '36-5=31']
Exploring Operation: 72-31=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Exploring Operation: 72*31=2232, Resulting Numbers: [2232]
2232,73 unequal: No Solution
Exploring Operation: 72+31=103, Resulting Numbers: [103]
103,73 unequal: No Solution
Moving to Node #0,4,4
Current State: 73:[36, 67], Operations: ['38+34=72', '72-5=67']
Exploring Operation: 36*67=2412, Resulting Numbers: [2412]
2412,73 unequal: No Solution
Exploring Operation: 36+67=103, Resulting Numbers: [103]
103,73 unequal: No Solution
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Moving to Node #0,4,2
Current State: 73:[5, 108], Operations: ['38+34=72', '36+72=108']
Exploring Operation: 5*108=540, Resulting Numbers: [540]
540,73 unequal: No Solution
Exploring Operation: 108-5=103, Resulting Numbers: [103]
103,73 unequal: No Solution
Exploring Operation: 5+108=113, Resulting Numbers: [113]
113,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
24,
6,
42,
41
] | 65 | [
"24-6=18",
"42+41=83",
"83-18=65"
] | Current State: 65:[24, 6, 42, 41], Operations: []
Exploring Operation: 24-6=18, Resulting Numbers: [42, 41, 18]
Generated Node #2: [42, 41, 18] from Operation: 24-6=18
Current State: 65:[42, 41, 18], Operations: ['24-6=18']
Exploring Operation: 42+41=83, Resulting Numbers: [18, 83]
Generated Node #3: [18, 83] from Operation: 42+41=83
Current State: 65:[18, 83], Operations: ['24-6=18', '42+41=83']
Exploring Operation: 83-18=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[24, 6, 42, 41], Operations: []
Exploring Operation: 42-41=1, Resulting Numbers: [24, 6, 1]
Generated Node #0,0: 65:[24, 6, 1] Operation: 42-41=1
Exploring Operation: 24+41=65, Resulting Numbers: [6, 42, 65]
Generated Node #0,1: 65:[6, 42, 65] Operation: 24+41=65
Moving to Node #0,0
Current State: 65:[24, 6, 1], Operations: ['42-41=1']
Exploring Operation: 24/6=4, Resulting Numbers: [1, 4]
Generated Node #0,0,0: 65:[1, 4] Operation: 24/6=4
Exploring Operation: 24-6=18, Resulting Numbers: [1, 18]
Generated Node #0,0,1: 65:[1, 18] Operation: 24-6=18
Moving to Node #0,1
Current State: 65:[6, 42, 65], Operations: ['24+41=65']
Exploring Operation: 42/6=7, Resulting Numbers: [65, 7]
Generated Node #0,1,0: 65:[65, 7] Operation: 42/6=7
Exploring Operation: 65-42=23, Resulting Numbers: [6, 23]
Generated Node #0,1,1: 65:[6, 23] Operation: 65-42=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[65, 7], Operations: ['24+41=65', '42/6=7']
Exploring Operation: 65+7=72, Resulting Numbers: [72]
72,65 unequal: No Solution
Exploring Operation: 65-7=58, Resulting Numbers: [58]
58,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[6, 23], Operations: ['24+41=65', '65-42=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,65 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 65:[1, 4], Operations: ['42-41=1', '24/6=4']
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[1, 18], Operations: ['42-41=1', '24-6=18']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Exploring Operation: 1*18=18, Resulting Numbers: [18]
18,65 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
88,
90,
7,
48
] | 94 | [
"90-48=42",
"42/7=6",
"88+6=94"
] | Current State: 94:[88, 90, 7, 48], Operations: []
Exploring Operation: 90-48=42, Resulting Numbers: [88, 7, 42]
Generated Node #2: [88, 7, 42] from Operation: 90-48=42
Current State: 94:[88, 7, 42], Operations: ['90-48=42']
Exploring Operation: 42/7=6, Resulting Numbers: [88, 6]
Generated Node #3: [88, 6] from Operation: 42/7=6
Current State: 94:[88, 6], Operations: ['90-48=42', '42/7=6']
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[88, 90, 7, 48], Operations: []
Exploring Operation: 90+7=97, Resulting Numbers: [88, 48, 97]
Generated Node #0,0: 94:[88, 48, 97] Operation: 90+7=97
Exploring Operation: 88+7=95, Resulting Numbers: [90, 48, 95]
Generated Node #0,1: 94:[90, 48, 95] Operation: 88+7=95
Exploring Operation: 88-48=40, Resulting Numbers: [90, 7, 40]
Generated Node #0,2: 94:[90, 7, 40] Operation: 88-48=40
Exploring Operation: 90-88=2, Resulting Numbers: [7, 48, 2]
Generated Node #0,3: 94:[7, 48, 2] Operation: 90-88=2
Moving to Node #0,1
Current State: 94:[90, 48, 95], Operations: ['88+7=95']
Exploring Operation: 90-48=42, Resulting Numbers: [95, 42]
Generated Node #0,1,0: 94:[95, 42] Operation: 90-48=42
Exploring Operation: 90+48=138, Resulting Numbers: [95, 138]
Generated Node #0,1,1: 94:[95, 138] Operation: 90+48=138
Exploring Operation: 95-90=5, Resulting Numbers: [48, 5]
Generated Node #0,1,2: 94:[48, 5] Operation: 95-90=5
Exploring Operation: 95-48=47, Resulting Numbers: [90, 47]
Generated Node #0,1,3: 94:[90, 47] Operation: 95-48=47
Moving to Node #0,3
Current State: 94:[7, 48, 2], Operations: ['90-88=2']
Exploring Operation: 48-2=46, Resulting Numbers: [7, 46]
Generated Node #0,3,0: 94:[7, 46] Operation: 48-2=46
Exploring Operation: 7-2=5, Resulting Numbers: [48, 5]
Generated Node #0,3,1: 94:[48, 5] Operation: 7-2=5
Exploring Operation: 48*2=96, Resulting Numbers: [7, 96]
Generated Node #0,3,2: 94:[7, 96] Operation: 48*2=96
Exploring Operation: 48-7=41, Resulting Numbers: [2, 41]
Generated Node #0,3,3: 94:[2, 41] Operation: 48-7=41
Moving to Node #0,0
Current State: 94:[88, 48, 97], Operations: ['90+7=97']
Exploring Operation: 97-88=9, Resulting Numbers: [48, 9]
Generated Node #0,0,0: 94:[48, 9] Operation: 97-88=9
Exploring Operation: 88-48=40, Resulting Numbers: [97, 40]
Generated Node #0,0,1: 94:[97, 40] Operation: 88-48=40
Exploring Operation: 97-48=49, Resulting Numbers: [88, 49]
Generated Node #0,0,2: 94:[88, 49] Operation: 97-48=49
Exploring Operation: 88+48=136, Resulting Numbers: [97, 136]
Generated Node #0,0,3: 94:[97, 136] Operation: 88+48=136
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[48, 9], Operations: ['90+7=97', '97-88=9']
Exploring Operation: 48*9=432, Resulting Numbers: [432]
432,94 unequal: No Solution
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[88, 49], Operations: ['90+7=97', '97-48=49']
Exploring Operation: 88*49=4312, Resulting Numbers: [4312]
4312,94 unequal: No Solution
Exploring Operation: 88-49=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 88+49=137, Resulting Numbers: [137]
137,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[97, 40], Operations: ['90+7=97', '88-48=40']
Exploring Operation: 97+40=137, Resulting Numbers: [137]
137,94 unequal: No Solution
Exploring Operation: 97*40=3880, Resulting Numbers: [3880]
3880,94 unequal: No Solution
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 94:[97, 136], Operations: ['90+7=97', '88+48=136']
Exploring Operation: 97+136=233, Resulting Numbers: [233]
233,94 unequal: No Solution
Exploring Operation: 136-97=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 97*136=13192, Resulting Numbers: [13192]
13192,94 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: 94:[90, 7, 40], Operations: ['88-48=40']
Exploring Operation: 90-7=83, Resulting Numbers: [40, 83]
Generated Node #0,2,0: 94:[40, 83] Operation: 90-7=83
Exploring Operation: 7+40=47, Resulting Numbers: [90, 47]
Generated Node #0,2,1: 94:[90, 47] Operation: 7+40=47
Exploring Operation: 90-40=50, Resulting Numbers: [7, 50]
Generated Node #0,2,2: 94:[7, 50] Operation: 90-40=50
Exploring Operation: 90+7=97, Resulting Numbers: [40, 97]
Generated Node #0,2,3: 94:[40, 97] Operation: 90+7=97
Moving to Node #0,1,2
Current State: 94:[48, 5], Operations: ['88+7=95', '95-90=5']
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,94 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Moving to Node #0,1,3
Current State: 94:[90, 47], Operations: ['88+7=95', '95-48=47']
Exploring Operation: 90*47=4230, Resulting Numbers: [4230]
4230,94 unequal: No Solution
Exploring Operation: 90-47=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Exploring Operation: 90+47=137, Resulting Numbers: [137]
137,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[48, 5], Operations: ['90-88=2', '7-2=5']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,94 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[90, 47], Operations: ['88-48=40', '7+40=47']
Exploring Operation: 90-47=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Exploring Operation: 90*47=4230, Resulting Numbers: [4230]
4230,94 unequal: No Solution
Exploring Operation: 90+47=137, Resulting Numbers: [137]
137,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[95, 42], Operations: ['88+7=95', '90-48=42']
Exploring Operation: 95+42=137, Resulting Numbers: [137]
137,94 unequal: No Solution
Exploring Operation: 95*42=3990, Resulting Numbers: [3990]
3990,94 unequal: No Solution
Exploring Operation: 95-42=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Moving to Node #0,3,3
Current State: 94:[2, 41], Operations: ['90-88=2', '48-7=41']
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,94 unequal: No Solution
Moving to Node #0,3,0
Current State: 94:[7, 46], Operations: ['90-88=2', '48-2=46']
Exploring Operation: 7*46=322, Resulting Numbers: [322]
322,94 unequal: No Solution
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 7+46=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[7, 96], Operations: ['90-88=2', '48*2=96']
Exploring Operation: 7+96=103, Resulting Numbers: [103]
103,94 unequal: No Solution
Exploring Operation: 7*96=672, Resulting Numbers: [672]
672,94 unequal: No Solution
Exploring Operation: 96-7=89, Resulting Numbers: [89]
89,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[7, 50], Operations: ['88-48=40', '90-40=50']
Exploring Operation: 7+50=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 7*50=350, Resulting Numbers: [350]
350,94 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Moving to Node #0,2,3
Current State: 94:[40, 97], Operations: ['88-48=40', '90+7=97']
Exploring Operation: 40*97=3880, Resulting Numbers: [3880]
3880,94 unequal: No Solution
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 40+97=137, Resulting Numbers: [137]
137,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[40, 83], Operations: ['88-48=40', '90-7=83']
Exploring Operation: 40*83=3320, Resulting Numbers: [3320]
3320,94 unequal: No Solution
Exploring Operation: 40+83=123, Resulting Numbers: [123]
123,94 unequal: No Solution
Exploring Operation: 83-40=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[95, 138], Operations: ['88+7=95', '90+48=138']
Exploring Operation: 138-95=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Exploring Operation: 95+138=233, Resulting Numbers: [233]
233,94 unequal: No Solution
Exploring Operation: 95*138=13110, Resulting Numbers: [13110]
13110,94 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
38,
96,
76,
70
] | 73 | [
"70-38=32",
"96/32=3",
"76-3=73"
] | Current State: 73:[38, 96, 76, 70], Operations: []
Exploring Operation: 70-38=32, Resulting Numbers: [96, 76, 32]
Generated Node #2: [96, 76, 32] from Operation: 70-38=32
Current State: 73:[96, 76, 32], Operations: ['70-38=32']
Exploring Operation: 96/32=3, Resulting Numbers: [76, 3]
Generated Node #3: [76, 3] from Operation: 96/32=3
Current State: 73:[76, 3], Operations: ['70-38=32', '96/32=3']
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[38, 96, 76, 70], Operations: []
Exploring Operation: 38+70=108, Resulting Numbers: [96, 76, 108]
Generated Node #0,0: 73:[96, 76, 108] Operation: 38+70=108
Exploring Operation: 96-38=58, Resulting Numbers: [76, 70, 58]
Generated Node #0,1: 73:[76, 70, 58] Operation: 96-38=58
Exploring Operation: 38+76=114, Resulting Numbers: [96, 70, 114]
Generated Node #0,2: 73:[96, 70, 114] Operation: 38+76=114
Exploring Operation: 38+96=134, Resulting Numbers: [76, 70, 134]
Generated Node #0,3: 73:[76, 70, 134] Operation: 38+96=134
Exploring Operation: 76-38=38, Resulting Numbers: [96, 70, 38]
Generated Node #0,4: 73:[96, 70, 38] Operation: 76-38=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[76, 70, 58], Operations: ['96-38=58']
Exploring Operation: 76+58=134, Resulting Numbers: [70, 134]
Generated Node #0,1,0: 73:[70, 134] Operation: 76+58=134
Exploring Operation: 76-58=18, Resulting Numbers: [70, 18]
Generated Node #0,1,1: 73:[70, 18] Operation: 76-58=18
Exploring Operation: 70-58=12, Resulting Numbers: [76, 12]
Generated Node #0,1,2: 73:[76, 12] Operation: 70-58=12
Exploring Operation: 76-70=6, Resulting Numbers: [58, 6]
Generated Node #0,1,3: 73:[58, 6] Operation: 76-70=6
Exploring Operation: 70+58=128, Resulting Numbers: [76, 128]
Generated Node #0,1,4: 73:[76, 128] Operation: 70+58=128
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[70, 18], Operations: ['96-38=58', '76-58=18']
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,73 unequal: No Solution
Exploring Operation: 70*18=1260, Resulting Numbers: [1260]
1260,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 73:[76, 128], Operations: ['96-38=58', '70+58=128']
Exploring Operation: 76+128=204, Resulting Numbers: [204]
204,73 unequal: No Solution
Exploring Operation: 76*128=9728, Resulting Numbers: [9728]
9728,73 unequal: No Solution
Exploring Operation: 128-76=52, Resulting Numbers: [52]
52,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[70, 134], Operations: ['96-38=58', '76+58=134']
Exploring Operation: 134-70=64, Resulting Numbers: [64]
64,73 unequal: No Solution
Exploring Operation: 70+134=204, Resulting Numbers: [204]
204,73 unequal: No Solution
Exploring Operation: 70*134=9380, Resulting Numbers: [9380]
9380,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[76, 12], Operations: ['96-38=58', '70-58=12']
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,73 unequal: No Solution
Exploring Operation: 76*12=912, Resulting Numbers: [912]
912,73 unequal: No Solution
Exploring Operation: 76+12=88, Resulting Numbers: [88]
88,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 73:[58, 6], Operations: ['96-38=58', '76-70=6']
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,73 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,73 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[96, 76, 108], Operations: ['38+70=108']
Exploring Operation: 96+108=204, Resulting Numbers: [76, 204]
Generated Node #0,0,0: 73:[76, 204] Operation: 96+108=204
Exploring Operation: 108-76=32, Resulting Numbers: [96, 32]
Generated Node #0,0,1: 73:[96, 32] Operation: 108-76=32
Exploring Operation: 96+76=172, Resulting Numbers: [108, 172]
Generated Node #0,0,2: 73:[108, 172] Operation: 96+76=172
Exploring Operation: 108-96=12, Resulting Numbers: [76, 12]
Generated Node #0,0,3: 73:[76, 12] Operation: 108-96=12
Exploring Operation: 96-76=20, Resulting Numbers: [108, 20]
Generated Node #0,0,4: 73:[108, 20] Operation: 96-76=20
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[96, 32], Operations: ['38+70=108', '108-76=32']
Exploring Operation: 96+32=128, Resulting Numbers: [128]
128,73 unequal: No Solution
Exploring Operation: 96-32=64, Resulting Numbers: [64]
64,73 unequal: No Solution
Exploring Operation: 96*32=3072, Resulting Numbers: [3072]
3072,73 unequal: No Solution
Exploring Operation: 96/32=3, Resulting Numbers: [3]
3,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 73:[76, 12], Operations: ['38+70=108', '108-96=12']
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,73 unequal: No Solution
Exploring Operation: 76*12=912, Resulting Numbers: [912]
912,73 unequal: No Solution
Exploring Operation: 76+12=88, Resulting Numbers: [88]
88,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 73:[108, 20], Operations: ['38+70=108', '96-76=20']
Exploring Operation: 108*20=2160, Resulting Numbers: [2160]
2160,73 unequal: No Solution
Exploring Operation: 108-20=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 108+20=128, Resulting Numbers: [128]
128,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[76, 204], Operations: ['38+70=108', '96+108=204']
Exploring Operation: 76*204=15504, Resulting Numbers: [15504]
15504,73 unequal: No Solution
Exploring Operation: 204-76=128, Resulting Numbers: [128]
128,73 unequal: No Solution
Exploring Operation: 76+204=280, Resulting Numbers: [280]
280,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 73:[108, 172], Operations: ['38+70=108', '96+76=172']
Exploring Operation: 108+172=280, Resulting Numbers: [280]
280,73 unequal: No Solution
Exploring Operation: 108*172=18576, Resulting Numbers: [18576]
18576,73 unequal: No Solution
Exploring Operation: 172-108=64, Resulting Numbers: [64]
64,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 73:[96, 70, 38], Operations: ['76-38=38']
Exploring Operation: 96-70=26, Resulting Numbers: [38, 26]
Generated Node #0,4,0: 73:[38, 26] Operation: 96-70=26
Exploring Operation: 96-38=58, Resulting Numbers: [70, 58]
Generated Node #0,4,1: 73:[70, 58] Operation: 96-38=58
Exploring Operation: 96+38=134, Resulting Numbers: [70, 134]
Generated Node #0,4,2: 73:[70, 134] Operation: 96+38=134
Exploring Operation: 70+38=108, Resulting Numbers: [96, 108]
Generated Node #0,4,3: 73:[96, 108] Operation: 70+38=108
Exploring Operation: 70-38=32, Resulting Numbers: [96, 32]
Generated Node #0,4,4: 73:[96, 32] Operation: 70-38=32
Moving to Node #0,4,1
Current State: 73:[70, 58], Operations: ['76-38=38', '96-38=58']
Exploring Operation: 70*58=4060, Resulting Numbers: [4060]
4060,73 unequal: No Solution
Exploring Operation: 70+58=128, Resulting Numbers: [128]
128,73 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Moving to Node #0,4,3
Current State: 73:[96, 108], Operations: ['76-38=38', '70+38=108']
Exploring Operation: 96*108=10368, Resulting Numbers: [10368]
10368,73 unequal: No Solution
Exploring Operation: 96+108=204, Resulting Numbers: [204]
204,73 unequal: No Solution
Exploring Operation: 108-96=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Moving to Node #0,4,2
Current State: 73:[70, 134], Operations: ['76-38=38', '96+38=134']
Exploring Operation: 134-70=64, Resulting Numbers: [64]
64,73 unequal: No Solution
Exploring Operation: 70+134=204, Resulting Numbers: [204]
204,73 unequal: No Solution
Exploring Operation: 70*134=9380, Resulting Numbers: [9380]
9380,73 unequal: No Solution
Moving to Node #0,4,4
Current State: 73:[96, 32], Operations: ['76-38=38', '70-38=32']
Exploring Operation: 96/32=3, Resulting Numbers: [3]
3,73 unequal: No Solution
Exploring Operation: 96-32=64, Resulting Numbers: [64]
64,73 unequal: No Solution
Exploring Operation: 96*32=3072, Resulting Numbers: [3072]
3072,73 unequal: No Solution
Exploring Operation: 96+32=128, Resulting Numbers: [128]
128,73 unequal: No Solution
Moving to Node #0,4,0
Current State: 73:[38, 26], Operations: ['76-38=38', '96-70=26']
Exploring Operation: 38*26=988, Resulting Numbers: [988]
988,73 unequal: No Solution
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 38+26=64, Resulting Numbers: [64]
64,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[96, 70, 114], Operations: ['38+76=114']
Exploring Operation: 96+70=166, Resulting Numbers: [114, 166]
Generated Node #0,2,0: 73:[114, 166] Operation: 96+70=166
Exploring Operation: 96-70=26, Resulting Numbers: [114, 26]
Generated Node #0,2,1: 73:[114, 26] Operation: 96-70=26
Exploring Operation: 70+114=184, Resulting Numbers: [96, 184]
Generated Node #0,2,2: 73:[96, 184] Operation: 70+114=184
Exploring Operation: 114-96=18, Resulting Numbers: [70, 18]
Generated Node #0,2,3: 73:[70, 18] Operation: 114-96=18
Exploring Operation: 114-70=44, Resulting Numbers: [96, 44]
Generated Node #0,2,4: 73:[96, 44] Operation: 114-70=44
Moving to Node #0,2,4
Current State: 73:[96, 44], Operations: ['38+76=114', '114-70=44']
Exploring Operation: 96+44=140, Resulting Numbers: [140]
140,73 unequal: No Solution
Exploring Operation: 96*44=4224, Resulting Numbers: [4224]
4224,73 unequal: No Solution
Exploring Operation: 96-44=52, Resulting Numbers: [52]
52,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[70, 18], Operations: ['38+76=114', '114-96=18']
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,73 unequal: No Solution
Exploring Operation: 70*18=1260, Resulting Numbers: [1260]
1260,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[114, 26], Operations: ['38+76=114', '96-70=26']
Exploring Operation: 114-26=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 114*26=2964, Resulting Numbers: [2964]
2964,73 unequal: No Solution
Exploring Operation: 114+26=140, Resulting Numbers: [140]
140,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[114, 166], Operations: ['38+76=114', '96+70=166']
Exploring Operation: 166-114=52, Resulting Numbers: [52]
52,73 unequal: No Solution
Exploring Operation: 114*166=18924, Resulting Numbers: [18924]
18924,73 unequal: No Solution
Exploring Operation: 114+166=280, Resulting Numbers: [280]
280,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[96, 184], Operations: ['38+76=114', '70+114=184']
Exploring Operation: 96+184=280, Resulting Numbers: [280]
280,73 unequal: No Solution
Exploring Operation: 96*184=17664, Resulting Numbers: [17664]
17664,73 unequal: No Solution
Exploring Operation: 184-96=88, Resulting Numbers: [88]
88,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 73:[76, 70, 134], Operations: ['38+96=134']
Exploring Operation: 70+134=204, Resulting Numbers: [76, 204]
Generated Node #0,3,0: 73:[76, 204] Operation: 70+134=204
Exploring Operation: 76-70=6, Resulting Numbers: [134, 6]
Generated Node #0,3,1: 73:[134, 6] Operation: 76-70=6
Exploring Operation: 76+70=146, Resulting Numbers: [134, 146]
Generated Node #0,3,2: 73:[134, 146] Operation: 76+70=146
Exploring Operation: 134-76=58, Resulting Numbers: [70, 58]
Generated Node #0,3,3: 73:[70, 58] Operation: 134-76=58
Exploring Operation: 134-70=64, Resulting Numbers: [76, 64]
Generated Node #0,3,4: 73:[76, 64] Operation: 134-70=64
Moving to Node #0,3,4
Current State: 73:[76, 64], Operations: ['38+96=134', '134-70=64']
Exploring Operation: 76+64=140, Resulting Numbers: [140]
140,73 unequal: No Solution
Exploring Operation: 76-64=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 76*64=4864, Resulting Numbers: [4864]
4864,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[70, 58], Operations: ['38+96=134', '134-76=58']
Exploring Operation: 70+58=128, Resulting Numbers: [128]
128,73 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 70*58=4060, Resulting Numbers: [4060]
4060,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[134, 6], Operations: ['38+96=134', '76-70=6']
Exploring Operation: 134*6=804, Resulting Numbers: [804]
804,73 unequal: No Solution
Exploring Operation: 134+6=140, Resulting Numbers: [140]
140,73 unequal: No Solution
Exploring Operation: 134-6=128, Resulting Numbers: [128]
128,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[76, 204], Operations: ['38+96=134', '70+134=204']
Exploring Operation: 204-76=128, Resulting Numbers: [128]
128,73 unequal: No Solution
Exploring Operation: 76*204=15504, Resulting Numbers: [15504]
15504,73 unequal: No Solution
Exploring Operation: 76+204=280, Resulting Numbers: [280]
280,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[134, 146], Operations: ['38+96=134', '76+70=146']
Exploring Operation: 134*146=19564, Resulting Numbers: [19564]
19564,73 unequal: No Solution
Exploring Operation: 146-134=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 134+146=280, Resulting Numbers: [280]
280,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
65,
99,
9,
14
] | 92 | [
"99-65=34",
"9*14=126",
"126-34=92"
] | Current State: 92:[65, 99, 9, 14], Operations: []
Exploring Operation: 99-65=34, Resulting Numbers: [9, 14, 34]
Generated Node #2: [9, 14, 34] from Operation: 99-65=34
Current State: 92:[9, 14, 34], Operations: ['99-65=34']
Exploring Operation: 9*14=126, Resulting Numbers: [34, 126]
Generated Node #3: [34, 126] from Operation: 9*14=126
Current State: 92:[34, 126], Operations: ['99-65=34', '9*14=126']
Exploring Operation: 126-34=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[65, 99, 9, 14], Operations: []
Exploring Operation: 65-14=51, Resulting Numbers: [99, 9, 51]
Generated Node #0,0: 92:[99, 9, 51] Operation: 65-14=51
Exploring Operation: 99-65=34, Resulting Numbers: [9, 14, 34]
Generated Node #0,1: 92:[9, 14, 34] Operation: 99-65=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[99, 9, 51], Operations: ['65-14=51']
Exploring Operation: 99-9=90, Resulting Numbers: [51, 90]
Generated Node #0,0,0: 92:[51, 90] Operation: 99-9=90
Exploring Operation: 99-51=48, Resulting Numbers: [9, 48]
Generated Node #0,0,1: 92:[9, 48] Operation: 99-51=48
Moving to Node #0,0,0
Current State: 92:[51, 90], Operations: ['65-14=51', '99-9=90']
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 51+90=141, Resulting Numbers: [141]
141,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[9, 48], Operations: ['65-14=51', '99-51=48']
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[9, 14, 34], Operations: ['99-65=34']
Exploring Operation: 14+34=48, Resulting Numbers: [9, 48]
Generated Node #0,1,0: 92:[9, 48] Operation: 14+34=48
Exploring Operation: 34-14=20, Resulting Numbers: [9, 20]
Generated Node #0,1,1: 92:[9, 20] Operation: 34-14=20
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[9, 48], Operations: ['99-65=34', '14+34=48']
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[9, 20], Operations: ['99-65=34', '34-14=20']
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
3,
69,
1,
57
] | 24 | [
"3-1=2",
"69-57=12",
"2*12=24"
] | Current State: 24:[3, 69, 1, 57], Operations: []
Exploring Operation: 3-1=2, Resulting Numbers: [69, 57, 2]
Generated Node #2: [69, 57, 2] from Operation: 3-1=2
Current State: 24:[69, 57, 2], Operations: ['3-1=2']
Exploring Operation: 69-57=12, Resulting Numbers: [2, 12]
Generated Node #3: [2, 12] from Operation: 69-57=12
Current State: 24:[2, 12], Operations: ['3-1=2', '69-57=12']
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[3, 69, 1, 57], Operations: []
Exploring Operation: 69-57=12, Resulting Numbers: [3, 1, 12]
Generated Node #0,0: 24:[3, 1, 12] Operation: 69-57=12
Moving to Node #0,0
Current State: 24:[3, 1, 12], Operations: ['69-57=12']
Exploring Operation: 3+1=4, Resulting Numbers: [12, 4]
Generated Node #0,0,0: 24:[12, 4] Operation: 3+1=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[12, 4], Operations: ['69-57=12', '3+1=4']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
74,
26,
31,
3
] | 27 | [
"74+31=105",
"26*3=78",
"105-78=27"
] | Current State: 27:[74, 26, 31, 3], Operations: []
Exploring Operation: 74+31=105, Resulting Numbers: [26, 3, 105]
Generated Node #2: [26, 3, 105] from Operation: 74+31=105
Current State: 27:[26, 3, 105], Operations: ['74+31=105']
Exploring Operation: 26*3=78, Resulting Numbers: [105, 78]
Generated Node #3: [105, 78] from Operation: 26*3=78
Current State: 27:[105, 78], Operations: ['74+31=105', '26*3=78']
Exploring Operation: 105-78=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[74, 26, 31, 3], Operations: []
Exploring Operation: 74-3=71, Resulting Numbers: [26, 31, 71]
Generated Node #0,0: 27:[26, 31, 71] Operation: 74-3=71
Exploring Operation: 31-26=5, Resulting Numbers: [74, 3, 5]
Generated Node #0,1: 27:[74, 3, 5] Operation: 31-26=5
Exploring Operation: 74-31=43, Resulting Numbers: [26, 3, 43]
Generated Node #0,2: 27:[26, 3, 43] Operation: 74-31=43
Exploring Operation: 74-26=48, Resulting Numbers: [31, 3, 48]
Generated Node #0,3: 27:[31, 3, 48] Operation: 74-26=48
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[26, 3, 43], Operations: ['74-31=43']
Exploring Operation: 43-3=40, Resulting Numbers: [26, 40]
Generated Node #0,2,0: 27:[26, 40] Operation: 43-3=40
Exploring Operation: 26+3=29, Resulting Numbers: [43, 29]
Generated Node #0,2,1: 27:[43, 29] Operation: 26+3=29
Exploring Operation: 26-3=23, Resulting Numbers: [43, 23]
Generated Node #0,2,2: 27:[43, 23] Operation: 26-3=23
Exploring Operation: 43-26=17, Resulting Numbers: [3, 17]
Generated Node #0,2,3: 27:[3, 17] Operation: 43-26=17
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 27:[3, 17], Operations: ['74-31=43', '43-26=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 27:[26, 40], Operations: ['74-31=43', '43-3=40']
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 26+40=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Exploring Operation: 26*40=1040, Resulting Numbers: [1040]
1040,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 27:[43, 29], Operations: ['74-31=43', '26+3=29']
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 43+29=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 43*29=1247, Resulting Numbers: [1247]
1247,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 27:[43, 23], Operations: ['74-31=43', '26-3=23']
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 43*23=989, Resulting Numbers: [989]
989,27 unequal: No Solution
Exploring Operation: 43+23=66, Resulting Numbers: [66]
66,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 27:[31, 3, 48], Operations: ['74-26=48']
Exploring Operation: 31-3=28, Resulting Numbers: [48, 28]
Generated Node #0,3,0: 27:[48, 28] Operation: 31-3=28
Exploring Operation: 48-3=45, Resulting Numbers: [31, 45]
Generated Node #0,3,1: 27:[31, 45] Operation: 48-3=45
Exploring Operation: 48-31=17, Resulting Numbers: [3, 17]
Generated Node #0,3,2: 27:[3, 17] Operation: 48-31=17
Exploring Operation: 48/3=16, Resulting Numbers: [31, 16]
Generated Node #0,3,3: 27:[31, 16] Operation: 48/3=16
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 27:[3, 17], Operations: ['74-26=48', '48-31=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,27 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 27:[31, 16], Operations: ['74-26=48', '48/3=16']
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,27 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,27 unequal: No Solution
Exploring Operation: 31*16=496, Resulting Numbers: [496]
496,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 27:[48, 28], Operations: ['74-26=48', '31-3=28']
Exploring Operation: 48*28=1344, Resulting Numbers: [1344]
1344,27 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 27:[31, 45], Operations: ['74-26=48', '48-3=45']
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 31*45=1395, Resulting Numbers: [1395]
1395,27 unequal: No Solution
Exploring Operation: 31+45=76, Resulting Numbers: [76]
76,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[26, 31, 71], Operations: ['74-3=71']
Exploring Operation: 71-31=40, Resulting Numbers: [26, 40]
Generated Node #0,0,0: 27:[26, 40] Operation: 71-31=40
Exploring Operation: 31-26=5, Resulting Numbers: [71, 5]
Generated Node #0,0,1: 27:[71, 5] Operation: 31-26=5
Exploring Operation: 26+31=57, Resulting Numbers: [71, 57]
Generated Node #0,0,2: 27:[71, 57] Operation: 26+31=57
Exploring Operation: 71-26=45, Resulting Numbers: [31, 45]
Generated Node #0,0,3: 27:[31, 45] Operation: 71-26=45
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[26, 40], Operations: ['74-3=71', '71-31=40']
Exploring Operation: 26+40=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 26*40=1040, Resulting Numbers: [1040]
1040,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 27:[31, 45], Operations: ['74-3=71', '71-26=45']
Exploring Operation: 31*45=1395, Resulting Numbers: [1395]
1395,27 unequal: No Solution
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 31+45=76, Resulting Numbers: [76]
76,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[71, 5], Operations: ['74-3=71', '31-26=5']
Exploring Operation: 71*5=355, Resulting Numbers: [355]
355,27 unequal: No Solution
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Exploring Operation: 71+5=76, Resulting Numbers: [76]
76,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[71, 57], Operations: ['74-3=71', '26+31=57']
Exploring Operation: 71*57=4047, Resulting Numbers: [4047]
4047,27 unequal: No Solution
Exploring Operation: 71-57=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 71+57=128, Resulting Numbers: [128]
128,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[74, 3, 5], Operations: ['31-26=5']
Exploring Operation: 5-3=2, Resulting Numbers: [74, 2]
Generated Node #0,1,0: 27:[74, 2] Operation: 5-3=2
Exploring Operation: 3+5=8, Resulting Numbers: [74, 8]
Generated Node #0,1,1: 27:[74, 8] Operation: 3+5=8
Exploring Operation: 74-3=71, Resulting Numbers: [5, 71]
Generated Node #0,1,2: 27:[5, 71] Operation: 74-3=71
Exploring Operation: 74-5=69, Resulting Numbers: [3, 69]
Generated Node #0,1,3: 27:[3, 69] Operation: 74-5=69
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 27:[3, 69], Operations: ['31-26=5', '74-5=69']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,27 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Exploring Operation: 3+69=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 3*69=207, Resulting Numbers: [207]
207,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 27:[5, 71], Operations: ['31-26=5', '74-3=71']
Exploring Operation: 5+71=76, Resulting Numbers: [76]
76,27 unequal: No Solution
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Exploring Operation: 5*71=355, Resulting Numbers: [355]
355,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[74, 2], Operations: ['31-26=5', '5-3=2']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,27 unequal: No Solution
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,27 unequal: No Solution
Exploring Operation: 74*2=148, Resulting Numbers: [148]
148,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[74, 8], Operations: ['31-26=5', '3+5=8']
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,27 unequal: No Solution
Exploring Operation: 74*8=592, Resulting Numbers: [592]
592,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
84,
14,
13,
95
] | 39 | [
"84+14=98",
"98-95=3",
"13*3=39"
] | Current State: 39:[84, 14, 13, 95], Operations: []
Exploring Operation: 84+14=98, Resulting Numbers: [13, 95, 98]
Generated Node #2: [13, 95, 98] from Operation: 84+14=98
Current State: 39:[13, 95, 98], Operations: ['84+14=98']
Exploring Operation: 98-95=3, Resulting Numbers: [13, 3]
Generated Node #3: [13, 3] from Operation: 98-95=3
Current State: 39:[13, 3], Operations: ['84+14=98', '98-95=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[84, 14, 13, 95], Operations: []
Exploring Operation: 84/14=6, Resulting Numbers: [13, 95, 6]
Generated Node #0,0: 39:[13, 95, 6] Operation: 84/14=6
Exploring Operation: 84-14=70, Resulting Numbers: [13, 95, 70]
Generated Node #0,1: 39:[13, 95, 70] Operation: 84-14=70
Exploring Operation: 95-14=81, Resulting Numbers: [84, 13, 81]
Generated Node #0,2: 39:[84, 13, 81] Operation: 95-14=81
Exploring Operation: 84-13=71, Resulting Numbers: [14, 95, 71]
Generated Node #0,3: 39:[14, 95, 71] Operation: 84-13=71
Exploring Operation: 95-84=11, Resulting Numbers: [14, 13, 11]
Generated Node #0,4: 39:[14, 13, 11] Operation: 95-84=11
Start Sub Search at level 1: Moving to Node #0,4
Current State: 39:[14, 13, 11], Operations: ['95-84=11']
Exploring Operation: 14+11=25, Resulting Numbers: [13, 25]
Generated Node #0,4,0: 39:[13, 25] Operation: 14+11=25
Exploring Operation: 14-11=3, Resulting Numbers: [13, 3]
Generated Node #0,4,1: 39:[13, 3] Operation: 14-11=3
Exploring Operation: 14-13=1, Resulting Numbers: [11, 1]
Generated Node #0,4,2: 39:[11, 1] Operation: 14-13=1
Exploring Operation: 13+11=24, Resulting Numbers: [14, 24]
Generated Node #0,4,3: 39:[14, 24] Operation: 13+11=24
Exploring Operation: 13-11=2, Resulting Numbers: [14, 2]
Generated Node #0,4,4: 39:[14, 2] Operation: 13-11=2
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 39:[13, 3], Operations: ['95-84=11', '14-11=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[84, 14, 13, 95], Operations: []
Exploring Operation: 95-84=11, Resulting Numbers: [14, 13, 11]
Generated Node #0,4: 39:[14, 13, 11] Operation: 95-84=11
Moving to Node #0,4
Current State: 39:[14, 13, 11], Operations: ['95-84=11']
Exploring Operation: 14-11=3, Resulting Numbers: [13, 3]
Generated Node #0,4,1: 39:[13, 3] Operation: 14-11=3
Moving to Node #0,4,1
Current State: 39:[13, 3], Operations: ['95-84=11', '14-11=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
18,
78,
52,
64
] | 37 | [
"18*78=1404",
"1404/52=27",
"64-27=37"
] | Current State: 37:[18, 78, 52, 64], Operations: []
Exploring Operation: 18*78=1404, Resulting Numbers: [52, 64, 1404]
Generated Node #2: [52, 64, 1404] from Operation: 18*78=1404
Current State: 37:[52, 64, 1404], Operations: ['18*78=1404']
Exploring Operation: 1404/52=27, Resulting Numbers: [64, 27]
Generated Node #3: [64, 27] from Operation: 1404/52=27
Current State: 37:[64, 27], Operations: ['18*78=1404', '1404/52=27']
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[18, 78, 52, 64], Operations: []
Exploring Operation: 52-18=34, Resulting Numbers: [78, 64, 34]
Generated Node #0,0: 37:[78, 64, 34] Operation: 52-18=34
Exploring Operation: 64-18=46, Resulting Numbers: [78, 52, 46]
Generated Node #0,1: 37:[78, 52, 46] Operation: 64-18=46
Exploring Operation: 78-64=14, Resulting Numbers: [18, 52, 14]
Generated Node #0,2: 37:[18, 52, 14] Operation: 78-64=14
Exploring Operation: 78-18=60, Resulting Numbers: [52, 64, 60]
Generated Node #0,3: 37:[52, 64, 60] Operation: 78-18=60
Exploring Operation: 78-52=26, Resulting Numbers: [18, 64, 26]
Generated Node #0,4: 37:[18, 64, 26] Operation: 78-52=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[18, 52, 14], Operations: ['78-64=14']
Exploring Operation: 18+14=32, Resulting Numbers: [52, 32]
Generated Node #0,2,0: 37:[52, 32] Operation: 18+14=32
Exploring Operation: 52-18=34, Resulting Numbers: [14, 34]
Generated Node #0,2,1: 37:[14, 34] Operation: 52-18=34
Exploring Operation: 52+14=66, Resulting Numbers: [18, 66]
Generated Node #0,2,2: 37:[18, 66] Operation: 52+14=66
Exploring Operation: 52-14=38, Resulting Numbers: [18, 38]
Generated Node #0,2,3: 37:[18, 38] Operation: 52-14=38
Exploring Operation: 18-14=4, Resulting Numbers: [52, 4]
Generated Node #0,2,4: 37:[52, 4] Operation: 18-14=4
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 37:[52, 32], Operations: ['78-64=14', '18+14=32']
Exploring Operation: 52*32=1664, Resulting Numbers: [1664]
1664,37 unequal: No Solution
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 52+32=84, Resulting Numbers: [84]
84,37 unequal: No Solution
No 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: 37:[18, 38], Operations: ['78-64=14', '52-14=38']
Exploring Operation: 18*38=684, Resulting Numbers: [684]
684,37 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,37 unequal: No Solution
No 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: 37:[14, 34], Operations: ['78-64=14', '52-18=34']
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,37 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,37 unequal: No Solution
No 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: 37:[18, 66], Operations: ['78-64=14', '52+14=66']
Exploring Operation: 18+66=84, Resulting Numbers: [84]
84,37 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 18*66=1188, Resulting Numbers: [1188]
1188,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 37:[52, 4], Operations: ['78-64=14', '18-14=4']
Exploring Operation: 52*4=208, Resulting Numbers: [208]
208,37 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,37 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 37:[18, 64, 26], Operations: ['78-52=26']
Exploring Operation: 64-26=38, Resulting Numbers: [18, 38]
Generated Node #0,4,0: 37:[18, 38] Operation: 64-26=38
Exploring Operation: 18+26=44, Resulting Numbers: [64, 44]
Generated Node #0,4,1: 37:[64, 44] Operation: 18+26=44
Exploring Operation: 18+64=82, Resulting Numbers: [26, 82]
Generated Node #0,4,2: 37:[26, 82] Operation: 18+64=82
Exploring Operation: 26-18=8, Resulting Numbers: [64, 8]
Generated Node #0,4,3: 37:[64, 8] Operation: 26-18=8
Exploring Operation: 64-18=46, Resulting Numbers: [26, 46]
Generated Node #0,4,4: 37:[26, 46] Operation: 64-18=46
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 37:[18, 38], Operations: ['78-52=26', '64-26=38']
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,37 unequal: No Solution
Exploring Operation: 18*38=684, Resulting Numbers: [684]
684,37 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 37:[26, 46], Operations: ['78-52=26', '64-18=46']
Exploring Operation: 26*46=1196, Resulting Numbers: [1196]
1196,37 unequal: No Solution
Exploring Operation: 26+46=72, Resulting Numbers: [72]
72,37 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,37 unequal: No Solution
No 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: 37:[64, 44], Operations: ['78-52=26', '18+26=44']
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 64*44=2816, Resulting Numbers: [2816]
2816,37 unequal: No Solution
Exploring Operation: 64+44=108, Resulting Numbers: [108]
108,37 unequal: No Solution
No 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: 37:[26, 82], Operations: ['78-52=26', '18+64=82']
Exploring Operation: 26+82=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Exploring Operation: 82-26=56, Resulting Numbers: [56]
56,37 unequal: No Solution
Exploring Operation: 26*82=2132, Resulting Numbers: [2132]
2132,37 unequal: No Solution
No 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: 37:[64, 8], Operations: ['78-52=26', '26-18=8']
Exploring Operation: 64*8=512, Resulting Numbers: [512]
512,37 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,37 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[78, 52, 46], Operations: ['64-18=46']
Exploring Operation: 78+52=130, Resulting Numbers: [46, 130]
Generated Node #0,1,0: 37:[46, 130] Operation: 78+52=130
Exploring Operation: 78-52=26, Resulting Numbers: [46, 26]
Generated Node #0,1,1: 37:[46, 26] Operation: 78-52=26
Exploring Operation: 78+46=124, Resulting Numbers: [52, 124]
Generated Node #0,1,2: 37:[52, 124] Operation: 78+46=124
Exploring Operation: 78-46=32, Resulting Numbers: [52, 32]
Generated Node #0,1,3: 37:[52, 32] Operation: 78-46=32
Exploring Operation: 52-46=6, Resulting Numbers: [78, 6]
Generated Node #0,1,4: 37:[78, 6] Operation: 52-46=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[46, 26], Operations: ['64-18=46', '78-52=26']
Exploring Operation: 46*26=1196, Resulting Numbers: [1196]
1196,37 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 46+26=72, Resulting Numbers: [72]
72,37 unequal: No Solution
No 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: 37:[52, 32], Operations: ['64-18=46', '78-46=32']
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 52+32=84, Resulting Numbers: [84]
84,37 unequal: No Solution
Exploring Operation: 52*32=1664, Resulting Numbers: [1664]
1664,37 unequal: No Solution
No 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: 37:[78, 6], Operations: ['64-18=46', '52-46=6']
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,37 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,37 unequal: No Solution
Exploring Operation: 78*6=468, Resulting Numbers: [468]
468,37 unequal: No Solution
No 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: 37:[46, 130], Operations: ['64-18=46', '78+52=130']
Exploring Operation: 130-46=84, Resulting Numbers: [84]
84,37 unequal: No Solution
Exploring Operation: 46+130=176, Resulting Numbers: [176]
176,37 unequal: No Solution
Exploring Operation: 46*130=5980, Resulting Numbers: [5980]
5980,37 unequal: No Solution
No 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: 37:[52, 124], Operations: ['64-18=46', '78+46=124']
Exploring Operation: 52*124=6448, Resulting Numbers: [6448]
6448,37 unequal: No Solution
Exploring Operation: 124-52=72, Resulting Numbers: [72]
72,37 unequal: No Solution
Exploring Operation: 52+124=176, Resulting Numbers: [176]
176,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 37:[52, 64, 60], Operations: ['78-18=60']
Exploring Operation: 52+64=116, Resulting Numbers: [60, 116]
Generated Node #0,3,0: 37:[60, 116] Operation: 52+64=116
Exploring Operation: 60-52=8, Resulting Numbers: [64, 8]
Generated Node #0,3,1: 37:[64, 8] Operation: 60-52=8
Exploring Operation: 52+60=112, Resulting Numbers: [64, 112]
Generated Node #0,3,2: 37:[64, 112] Operation: 52+60=112
Exploring Operation: 64-52=12, Resulting Numbers: [60, 12]
Generated Node #0,3,3: 37:[60, 12] Operation: 64-52=12
Exploring Operation: 64-60=4, Resulting Numbers: [52, 4]
Generated Node #0,3,4: 37:[52, 4] Operation: 64-60=4
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 37:[60, 12], Operations: ['78-18=60', '64-52=12']
Exploring Operation: 60+12=72, Resulting Numbers: [72]
72,37 unequal: No Solution
Exploring Operation: 60*12=720, Resulting Numbers: [720]
720,37 unequal: No Solution
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 60/12=5, Resulting Numbers: [5]
5,37 unequal: No Solution
No 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: 37:[52, 4], Operations: ['78-18=60', '64-60=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 52*4=208, Resulting Numbers: [208]
208,37 unequal: No Solution
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,37 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,37 unequal: No Solution
No 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: 37:[64, 8], Operations: ['78-18=60', '60-52=8']
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,37 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 64*8=512, Resulting Numbers: [512]
512,37 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,37 unequal: No Solution
No 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: 37:[60, 116], Operations: ['78-18=60', '52+64=116']
Exploring Operation: 116-60=56, Resulting Numbers: [56]
56,37 unequal: No Solution
Exploring Operation: 60+116=176, Resulting Numbers: [176]
176,37 unequal: No Solution
Exploring Operation: 60*116=6960, Resulting Numbers: [6960]
6960,37 unequal: No Solution
No 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: 37:[64, 112], Operations: ['78-18=60', '52+60=112']
Exploring Operation: 64*112=7168, Resulting Numbers: [7168]
7168,37 unequal: No Solution
Exploring Operation: 64+112=176, Resulting Numbers: [176]
176,37 unequal: No Solution
Exploring Operation: 112-64=48, Resulting Numbers: [48]
48,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[78, 64, 34], Operations: ['52-18=34']
Exploring Operation: 78-34=44, Resulting Numbers: [64, 44]
Generated Node #0,0,0: 37:[64, 44] Operation: 78-34=44
Exploring Operation: 78+34=112, Resulting Numbers: [64, 112]
Generated Node #0,0,1: 37:[64, 112] Operation: 78+34=112
Exploring Operation: 78-64=14, Resulting Numbers: [34, 14]
Generated Node #0,0,2: 37:[34, 14] Operation: 78-64=14
Exploring Operation: 64-34=30, Resulting Numbers: [78, 30]
Generated Node #0,0,3: 37:[78, 30] Operation: 64-34=30
Exploring Operation: 64+34=98, Resulting Numbers: [78, 98]
Generated Node #0,0,4: 37:[78, 98] Operation: 64+34=98
Moving to Node #0,0,2
Current State: 37:[34, 14], Operations: ['52-18=34', '78-64=14']
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 34+14=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 34*14=476, Resulting Numbers: [476]
476,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[64, 44], Operations: ['52-18=34', '78-34=44']
Exploring Operation: 64+44=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Exploring Operation: 64*44=2816, Resulting Numbers: [2816]
2816,37 unequal: No Solution
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Moving to Node #0,0,3
Current State: 37:[78, 30], Operations: ['52-18=34', '64-34=30']
Exploring Operation: 78-30=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 78*30=2340, Resulting Numbers: [2340]
2340,37 unequal: No Solution
Exploring Operation: 78+30=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[64, 112], Operations: ['52-18=34', '78+34=112']
Exploring Operation: 112-64=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 64*112=7168, Resulting Numbers: [7168]
7168,37 unequal: No Solution
Exploring Operation: 64+112=176, Resulting Numbers: [176]
176,37 unequal: No Solution
Moving to Node #0,0,4
Current State: 37:[78, 98], Operations: ['52-18=34', '64+34=98']
Exploring Operation: 78+98=176, Resulting Numbers: [176]
176,37 unequal: No Solution
Exploring Operation: 98-78=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 78*98=7644, Resulting Numbers: [7644]
7644,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
74,
47,
10,
48
] | 50 | [
"47-10=37",
"74/37=2",
"48+2=50"
] | Current State: 50:[74, 47, 10, 48], Operations: []
Exploring Operation: 47-10=37, Resulting Numbers: [74, 48, 37]
Generated Node #2: [74, 48, 37] from Operation: 47-10=37
Current State: 50:[74, 48, 37], Operations: ['47-10=37']
Exploring Operation: 74/37=2, Resulting Numbers: [48, 2]
Generated Node #3: [48, 2] from Operation: 74/37=2
Current State: 50:[48, 2], Operations: ['47-10=37', '74/37=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[74, 47, 10, 48], Operations: []
Exploring Operation: 74-48=26, Resulting Numbers: [47, 10, 26]
Generated Node #0,0: 50:[47, 10, 26] Operation: 74-48=26
Exploring Operation: 47+10=57, Resulting Numbers: [74, 48, 57]
Generated Node #0,1: 50:[74, 48, 57] Operation: 47+10=57
Exploring Operation: 48-47=1, Resulting Numbers: [74, 10, 1]
Generated Node #0,2: 50:[74, 10, 1] Operation: 48-47=1
Exploring Operation: 74-10=64, Resulting Numbers: [47, 48, 64]
Generated Node #0,3: 50:[47, 48, 64] Operation: 74-10=64
Exploring Operation: 74-47=27, Resulting Numbers: [10, 48, 27]
Generated Node #0,4: 50:[10, 48, 27] Operation: 74-47=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[47, 10, 26], Operations: ['74-48=26']
Exploring Operation: 10+26=36, Resulting Numbers: [47, 36]
Generated Node #0,0,0: 50:[47, 36] Operation: 10+26=36
Exploring Operation: 26-10=16, Resulting Numbers: [47, 16]
Generated Node #0,0,1: 50:[47, 16] Operation: 26-10=16
Exploring Operation: 47-10=37, Resulting Numbers: [26, 37]
Generated Node #0,0,2: 50:[26, 37] Operation: 47-10=37
Exploring Operation: 47-26=21, Resulting Numbers: [10, 21]
Generated Node #0,0,3: 50:[10, 21] Operation: 47-26=21
Exploring Operation: 47+10=57, Resulting Numbers: [26, 57]
Generated Node #0,0,4: 50:[26, 57] Operation: 47+10=57
Moving to Node #0,0,3
Current State: 50:[10, 21], Operations: ['74-48=26', '47-26=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,50 unequal: No Solution
Moving to Node #0,0,4
Current State: 50:[26, 57], Operations: ['74-48=26', '47+10=57']
Exploring Operation: 26+57=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 26*57=1482, Resulting Numbers: [1482]
1482,50 unequal: No Solution
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[47, 16], Operations: ['74-48=26', '26-10=16']
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,50 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[26, 37], Operations: ['74-48=26', '47-10=37']
Exploring Operation: 26*37=962, Resulting Numbers: [962]
962,50 unequal: No Solution
Exploring Operation: 26+37=63, Resulting Numbers: [63]
63,50 unequal: No Solution
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[47, 36], Operations: ['74-48=26', '10+26=36']
Exploring Operation: 47+36=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 47*36=1692, Resulting Numbers: [1692]
1692,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 50:[10, 48, 27], Operations: ['74-47=27']
Exploring Operation: 48-10=38, Resulting Numbers: [27, 38]
Generated Node #0,4,0: 50:[27, 38] Operation: 48-10=38
Exploring Operation: 48-27=21, Resulting Numbers: [10, 21]
Generated Node #0,4,1: 50:[10, 21] Operation: 48-27=21
Exploring Operation: 10+27=37, Resulting Numbers: [48, 37]
Generated Node #0,4,2: 50:[48, 37] Operation: 10+27=37
Exploring Operation: 27-10=17, Resulting Numbers: [48, 17]
Generated Node #0,4,3: 50:[48, 17] Operation: 27-10=17
Exploring Operation: 10+48=58, Resulting Numbers: [27, 58]
Generated Node #0,4,4: 50:[27, 58] Operation: 10+48=58
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 50:[10, 21], Operations: ['74-47=27', '48-27=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,50 unequal: No Solution
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 50:[48, 17], Operations: ['74-47=27', '27-10=17']
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,50 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 50:[27, 58], Operations: ['74-47=27', '10+48=58']
Exploring Operation: 27*58=1566, Resulting Numbers: [1566]
1566,50 unequal: No Solution
Exploring Operation: 27+58=85, Resulting Numbers: [85]
85,50 unequal: No Solution
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 50:[27, 38], Operations: ['74-47=27', '48-10=38']
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 27+38=65, Resulting Numbers: [65]
65,50 unequal: No Solution
Exploring Operation: 27*38=1026, Resulting Numbers: [1026]
1026,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 50:[48, 37], Operations: ['74-47=27', '10+27=37']
Exploring Operation: 48+37=85, Resulting Numbers: [85]
85,50 unequal: No Solution
Exploring Operation: 48*37=1776, Resulting Numbers: [1776]
1776,50 unequal: No Solution
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,50 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: 50:[47, 48, 64], Operations: ['74-10=64']
Exploring Operation: 64-48=16, Resulting Numbers: [47, 16]
Generated Node #0,3,0: 50:[47, 16] Operation: 64-48=16
Exploring Operation: 47+48=95, Resulting Numbers: [64, 95]
Generated Node #0,3,1: 50:[64, 95] Operation: 47+48=95
Exploring Operation: 47+64=111, Resulting Numbers: [48, 111]
Generated Node #0,3,2: 50:[48, 111] Operation: 47+64=111
Exploring Operation: 64-47=17, Resulting Numbers: [48, 17]
Generated Node #0,3,3: 50:[48, 17] Operation: 64-47=17
Exploring Operation: 48-47=1, Resulting Numbers: [64, 1]
Generated Node #0,3,4: 50:[64, 1] Operation: 48-47=1
Moving to Node #0,3,0
Current State: 50:[47, 16], Operations: ['74-10=64', '64-48=16']
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,50 unequal: No Solution
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,50 unequal: No Solution
Moving to Node #0,3,3
Current State: 50:[48, 17], Operations: ['74-10=64', '64-47=17']
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,50 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,50 unequal: No Solution
Moving to Node #0,3,4
Current State: 50:[64, 1], Operations: ['74-10=64', '48-47=1']
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,50 unequal: No Solution
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,50 unequal: No Solution
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Moving to Node #0,3,1
Current State: 50:[64, 95], Operations: ['74-10=64', '47+48=95']
Exploring Operation: 64*95=6080, Resulting Numbers: [6080]
6080,50 unequal: No Solution
Exploring Operation: 95-64=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 64+95=159, Resulting Numbers: [159]
159,50 unequal: No Solution
Moving to Node #0,3,2
Current State: 50:[48, 111], Operations: ['74-10=64', '47+64=111']
Exploring Operation: 48+111=159, Resulting Numbers: [159]
159,50 unequal: No Solution
Exploring Operation: 48*111=5328, Resulting Numbers: [5328]
5328,50 unequal: No Solution
Exploring Operation: 111-48=63, Resulting Numbers: [63]
63,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[74, 10, 1], Operations: ['48-47=1']
Exploring Operation: 74-1=73, Resulting Numbers: [10, 73]
Generated Node #0,2,0: 50:[10, 73] Operation: 74-1=73
Exploring Operation: 74-10=64, Resulting Numbers: [1, 64]
Generated Node #0,2,1: 50:[1, 64] Operation: 74-10=64
Exploring Operation: 74*1=74, Resulting Numbers: [10, 74]
Generated Node #0,2,2: 50:[10, 74] Operation: 74*1=74
Exploring Operation: 74/1=74, Resulting Numbers: [10, 74]
Generated Node #0,2,3: 50:[10, 74] Operation: 74/1=74
Exploring Operation: 10*1=10, Resulting Numbers: [74, 10]
Generated Node #0,2,4: 50:[74, 10] Operation: 10*1=10
Moving to Node #0,2,1
Current State: 50:[1, 64], Operations: ['48-47=1', '74-10=64']
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,50 unequal: No Solution
Exploring Operation: 1*64=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Exploring Operation: 1+64=65, Resulting Numbers: [65]
65,50 unequal: No Solution
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[10, 73], Operations: ['48-47=1', '74-1=73']
Exploring Operation: 10*73=730, Resulting Numbers: [730]
730,50 unequal: No Solution
Exploring Operation: 10+73=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[10, 74], Operations: ['48-47=1', '74*1=74']
Exploring Operation: 10*74=740, Resulting Numbers: [740]
740,50 unequal: No Solution
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Exploring Operation: 10+74=84, Resulting Numbers: [84]
84,50 unequal: No Solution
Moving to Node #0,2,3
Current State: 50:[10, 74], Operations: ['48-47=1', '74/1=74']
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Exploring Operation: 10*74=740, Resulting Numbers: [740]
740,50 unequal: No Solution
Exploring Operation: 10+74=84, Resulting Numbers: [84]
84,50 unequal: No Solution
Moving to Node #0,2,4
Current State: 50:[74, 10], Operations: ['48-47=1', '10*1=10']
Exploring Operation: 74*10=740, Resulting Numbers: [740]
740,50 unequal: No Solution
Exploring Operation: 74+10=84, Resulting Numbers: [84]
84,50 unequal: No Solution
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[74, 48, 57], Operations: ['47+10=57']
Exploring Operation: 74+48=122, Resulting Numbers: [57, 122]
Generated Node #0,1,0: 50:[57, 122] Operation: 74+48=122
Exploring Operation: 57-48=9, Resulting Numbers: [74, 9]
Generated Node #0,1,1: 50:[74, 9] Operation: 57-48=9
Exploring Operation: 74-48=26, Resulting Numbers: [57, 26]
Generated Node #0,1,2: 50:[57, 26] Operation: 74-48=26
Exploring Operation: 48+57=105, Resulting Numbers: [74, 105]
Generated Node #0,1,3: 50:[74, 105] Operation: 48+57=105
Exploring Operation: 74-57=17, Resulting Numbers: [48, 17]
Generated Node #0,1,4: 50:[48, 17] Operation: 74-57=17
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 50:[57, 26], Operations: ['47+10=57', '74-48=26']
Exploring Operation: 57+26=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 57*26=1482, Resulting Numbers: [1482]
1482,50 unequal: No Solution
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 50:[48, 17], Operations: ['47+10=57', '74-57=17']
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,50 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[74, 9], Operations: ['47+10=57', '57-48=9']
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,50 unequal: No Solution
Exploring Operation: 74+9=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 74*9=666, Resulting Numbers: [666]
666,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 50:[57, 122], Operations: ['47+10=57', '74+48=122']
Exploring Operation: 57+122=179, Resulting Numbers: [179]
179,50 unequal: No Solution
Exploring Operation: 122-57=65, Resulting Numbers: [65]
65,50 unequal: No Solution
Exploring Operation: 57*122=6954, Resulting Numbers: [6954]
6954,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 50:[74, 105], Operations: ['47+10=57', '48+57=105']
Exploring Operation: 105-74=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 74*105=7770, Resulting Numbers: [7770]
7770,50 unequal: No Solution
Exploring Operation: 74+105=179, Resulting Numbers: [179]
179,50 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 |
[
8,
10,
26,
42
] | 58 | [
"10-8=2",
"42*2=84",
"84-26=58"
] | Current State: 58:[8, 10, 26, 42], Operations: []
Exploring Operation: 10-8=2, Resulting Numbers: [26, 42, 2]
Generated Node #2: [26, 42, 2] from Operation: 10-8=2
Current State: 58:[26, 42, 2], Operations: ['10-8=2']
Exploring Operation: 42*2=84, Resulting Numbers: [26, 84]
Generated Node #3: [26, 84] from Operation: 42*2=84
Current State: 58:[26, 84], Operations: ['10-8=2', '42*2=84']
Exploring Operation: 84-26=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[8, 10, 26, 42], Operations: []
Exploring Operation: 42-10=32, Resulting Numbers: [8, 26, 32]
Generated Node #0,0: 58:[8, 26, 32] Operation: 42-10=32
Exploring Operation: 10+42=52, Resulting Numbers: [8, 26, 52]
Generated Node #0,1: 58:[8, 26, 52] Operation: 10+42=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[8, 26, 32], Operations: ['42-10=32']
Exploring Operation: 32/8=4, Resulting Numbers: [26, 4]
Generated Node #0,0,0: 58:[26, 4] Operation: 32/8=4
Exploring Operation: 26+32=58, Resulting Numbers: [8, 58]
Generated Node #0,0,1: 58:[8, 58] Operation: 26+32=58
Moving to Node #0,0,0
Current State: 58:[26, 4], Operations: ['42-10=32', '32/8=4']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[8, 58], Operations: ['42-10=32', '26+32=58']
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,58 unequal: No Solution
Exploring Operation: 8+58=66, Resulting Numbers: [66]
66,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[8, 26, 52], Operations: ['10+42=52']
Exploring Operation: 52/26=2, Resulting Numbers: [8, 2]
Generated Node #0,1,0: 58:[8, 2] Operation: 52/26=2
Exploring Operation: 8+52=60, Resulting Numbers: [26, 60]
Generated Node #0,1,1: 58:[26, 60] Operation: 8+52=60
Moving to Node #0,1,1
Current State: 58:[26, 60], Operations: ['10+42=52', '8+52=60']
Exploring Operation: 60-26=34, Resulting Numbers: [34]
34,58 unequal: No Solution
Exploring Operation: 26+60=86, Resulting Numbers: [86]
86,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[8, 2], Operations: ['10+42=52', '52/26=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,58 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 |
[
98,
1,
11,
29
] | 57 | [
"98-1=97",
"11+29=40",
"97-40=57"
] | Current State: 57:[98, 1, 11, 29], Operations: []
Exploring Operation: 98-1=97, Resulting Numbers: [11, 29, 97]
Generated Node #2: [11, 29, 97] from Operation: 98-1=97
Current State: 57:[11, 29, 97], Operations: ['98-1=97']
Exploring Operation: 11+29=40, Resulting Numbers: [97, 40]
Generated Node #3: [97, 40] from Operation: 11+29=40
Current State: 57:[97, 40], Operations: ['98-1=97', '11+29=40']
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[98, 1, 11, 29], Operations: []
Exploring Operation: 98-1=97, Resulting Numbers: [11, 29, 97]
Generated Node #0,0: 57:[11, 29, 97] Operation: 98-1=97
Exploring Operation: 98-11=87, Resulting Numbers: [1, 29, 87]
Generated Node #0,1: 57:[1, 29, 87] Operation: 98-11=87
Exploring Operation: 29-11=18, Resulting Numbers: [98, 1, 18]
Generated Node #0,2: 57:[98, 1, 18] Operation: 29-11=18
Exploring Operation: 98-29=69, Resulting Numbers: [1, 11, 69]
Generated Node #0,3: 57:[1, 11, 69] Operation: 98-29=69
Moving to Node #0,3
Current State: 57:[1, 11, 69], Operations: ['98-29=69']
Exploring Operation: 69-11=58, Resulting Numbers: [1, 58]
Generated Node #0,3,0: 57:[1, 58] Operation: 69-11=58
Exploring Operation: 1+11=12, Resulting Numbers: [69, 12]
Generated Node #0,3,1: 57:[69, 12] Operation: 1+11=12
Exploring Operation: 69-1=68, Resulting Numbers: [11, 68]
Generated Node #0,3,2: 57:[11, 68] Operation: 69-1=68
Exploring Operation: 11-1=10, Resulting Numbers: [69, 10]
Generated Node #0,3,3: 57:[69, 10] Operation: 11-1=10
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 57:[1, 58], Operations: ['98-29=69', '69-11=58']
Exploring Operation: 1+58=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Exploring Operation: 1*58=58, Resulting Numbers: [58]
58,57 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[98, 1, 11, 29], Operations: []
Exploring Operation: 98-29=69, Resulting Numbers: [1, 11, 69]
Generated Node #0,3: 57:[1, 11, 69] Operation: 98-29=69
Moving to Node #0,3
Current State: 57:[1, 11, 69], Operations: ['98-29=69']
Exploring Operation: 69-11=58, Resulting Numbers: [1, 58]
Generated Node #0,3,0: 57:[1, 58] Operation: 69-11=58
Moving to Node #0,3,0
Current State: 57:[1, 58], Operations: ['98-29=69', '69-11=58']
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
36,
67,
65,
11
] | 49 | [
"36+67=103",
"65-11=54",
"103-54=49"
] | Current State: 49:[36, 67, 65, 11], Operations: []
Exploring Operation: 36+67=103, Resulting Numbers: [65, 11, 103]
Generated Node #2: [65, 11, 103] from Operation: 36+67=103
Current State: 49:[65, 11, 103], Operations: ['36+67=103']
Exploring Operation: 65-11=54, Resulting Numbers: [103, 54]
Generated Node #3: [103, 54] from Operation: 65-11=54
Current State: 49:[103, 54], Operations: ['36+67=103', '65-11=54']
Exploring Operation: 103-54=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[36, 67, 65, 11], Operations: []
Exploring Operation: 36+11=47, Resulting Numbers: [67, 65, 47]
Generated Node #0,0: 49:[67, 65, 47] Operation: 36+11=47
Exploring Operation: 67-65=2, Resulting Numbers: [36, 11, 2]
Generated Node #0,1: 49:[36, 11, 2] Operation: 67-65=2
Exploring Operation: 67-11=56, Resulting Numbers: [36, 65, 56]
Generated Node #0,2: 49:[36, 65, 56] Operation: 67-11=56
Exploring Operation: 65-11=54, Resulting Numbers: [36, 67, 54]
Generated Node #0,3: 49:[36, 67, 54] Operation: 65-11=54
Moving to Node #0,1
Current State: 49:[36, 11, 2], Operations: ['67-65=2']
Exploring Operation: 36+2=38, Resulting Numbers: [11, 38]
Generated Node #0,1,0: 49:[11, 38] Operation: 36+2=38
Exploring Operation: 11-2=9, Resulting Numbers: [36, 9]
Generated Node #0,1,1: 49:[36, 9] Operation: 11-2=9
Exploring Operation: 36/2=18, Resulting Numbers: [11, 18]
Generated Node #0,1,2: 49:[11, 18] Operation: 36/2=18
Exploring Operation: 36+11=47, Resulting Numbers: [2, 47]
Generated Node #0,1,3: 49:[2, 47] Operation: 36+11=47
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 49:[2, 47], Operations: ['67-65=2', '36+11=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,49 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[36, 67, 65, 11], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [36, 11, 2]
Generated Node #0,1: 49:[36, 11, 2] Operation: 67-65=2
Moving to Node #0,1
Current State: 49:[36, 11, 2], Operations: ['67-65=2']
Exploring Operation: 36+11=47, Resulting Numbers: [2, 47]
Generated Node #0,1,3: 49:[2, 47] Operation: 36+11=47
Moving to Node #0,1,3
Current State: 49:[2, 47], Operations: ['67-65=2', '36+11=47']
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
12,
93,
25,
15
] | 95 | [
"12+93=105",
"25-15=10",
"105-10=95"
] | Current State: 95:[12, 93, 25, 15], Operations: []
Exploring Operation: 12+93=105, Resulting Numbers: [25, 15, 105]
Generated Node #2: [25, 15, 105] from Operation: 12+93=105
Current State: 95:[25, 15, 105], Operations: ['12+93=105']
Exploring Operation: 25-15=10, Resulting Numbers: [105, 10]
Generated Node #3: [105, 10] from Operation: 25-15=10
Current State: 95:[105, 10], Operations: ['12+93=105', '25-15=10']
Exploring Operation: 105-10=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[12, 93, 25, 15], Operations: []
Exploring Operation: 12+93=105, Resulting Numbers: [25, 15, 105]
Generated Node #0,0: 95:[25, 15, 105] Operation: 12+93=105
Exploring Operation: 15-12=3, Resulting Numbers: [93, 25, 3]
Generated Node #0,1: 95:[93, 25, 3] Operation: 15-12=3
Exploring Operation: 12+15=27, Resulting Numbers: [93, 25, 27]
Generated Node #0,2: 95:[93, 25, 27] Operation: 12+15=27
Exploring Operation: 25-12=13, Resulting Numbers: [93, 15, 13]
Generated Node #0,3: 95:[93, 15, 13] Operation: 25-12=13
Exploring Operation: 25-15=10, Resulting Numbers: [12, 93, 10]
Generated Node #0,4: 95:[12, 93, 10] Operation: 25-15=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[93, 25, 3], Operations: ['15-12=3']
Exploring Operation: 93-3=90, Resulting Numbers: [25, 90]
Generated Node #0,1,0: 95:[25, 90] Operation: 93-3=90
Exploring Operation: 25+3=28, Resulting Numbers: [93, 28]
Generated Node #0,1,1: 95:[93, 28] Operation: 25+3=28
Exploring Operation: 25-3=22, Resulting Numbers: [93, 22]
Generated Node #0,1,2: 95:[93, 22] Operation: 25-3=22
Exploring Operation: 93+3=96, Resulting Numbers: [25, 96]
Generated Node #0,1,3: 95:[25, 96] Operation: 93+3=96
Exploring Operation: 93/3=31, Resulting Numbers: [25, 31]
Generated Node #0,1,4: 95:[25, 31] Operation: 93/3=31
Moving to Node #0,1,2
Current State: 95:[93, 22], Operations: ['15-12=3', '25-3=22']
Exploring Operation: 93-22=71, Resulting Numbers: [71]
71,95 unequal: No Solution
Exploring Operation: 93+22=115, Resulting Numbers: [115]
115,95 unequal: No Solution
Exploring Operation: 93*22=2046, Resulting Numbers: [2046]
2046,95 unequal: No Solution
Moving to Node #0,1,3
Current State: 95:[25, 96], Operations: ['15-12=3', '93+3=96']
Exploring Operation: 25+96=121, Resulting Numbers: [121]
121,95 unequal: No Solution
Exploring Operation: 96-25=71, Resulting Numbers: [71]
71,95 unequal: No Solution
Exploring Operation: 25*96=2400, Resulting Numbers: [2400]
2400,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[25, 90], Operations: ['15-12=3', '93-3=90']
Exploring Operation: 90-25=65, Resulting Numbers: [65]
65,95 unequal: No Solution
Exploring Operation: 25*90=2250, Resulting Numbers: [2250]
2250,95 unequal: No Solution
Exploring Operation: 25+90=115, Resulting Numbers: [115]
115,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[93, 28], Operations: ['15-12=3', '25+3=28']
Exploring Operation: 93-28=65, Resulting Numbers: [65]
65,95 unequal: No Solution
Exploring Operation: 93*28=2604, Resulting Numbers: [2604]
2604,95 unequal: No Solution
Exploring Operation: 93+28=121, Resulting Numbers: [121]
121,95 unequal: No Solution
Moving to Node #0,1,4
Current State: 95:[25, 31], Operations: ['15-12=3', '93/3=31']
Exploring Operation: 25*31=775, Resulting Numbers: [775]
775,95 unequal: No Solution
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 25+31=56, Resulting Numbers: [56]
56,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[93, 15, 13], Operations: ['25-12=13']
Exploring Operation: 93-13=80, Resulting Numbers: [15, 80]
Generated Node #0,3,0: 95:[15, 80] Operation: 93-13=80
Exploring Operation: 15+13=28, Resulting Numbers: [93, 28]
Generated Node #0,3,1: 95:[93, 28] Operation: 15+13=28
Exploring Operation: 93+15=108, Resulting Numbers: [13, 108]
Generated Node #0,3,2: 95:[13, 108] Operation: 93+15=108
Exploring Operation: 15-13=2, Resulting Numbers: [93, 2]
Generated Node #0,3,3: 95:[93, 2] Operation: 15-13=2
Exploring Operation: 93+13=106, Resulting Numbers: [15, 106]
Generated Node #0,3,4: 95:[15, 106] Operation: 93+13=106
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 95:[93, 2], Operations: ['25-12=13', '15-13=2']
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,95 unequal: No Solution
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[12, 93, 25, 15], Operations: []
Exploring Operation: 25-12=13, Resulting Numbers: [93, 15, 13]
Generated Node #0,3: 95:[93, 15, 13] Operation: 25-12=13
Moving to Node #0,3
Current State: 95:[93, 15, 13], Operations: ['25-12=13']
Exploring Operation: 15-13=2, Resulting Numbers: [93, 2]
Generated Node #0,3,3: 95:[93, 2] Operation: 15-13=2
Moving to Node #0,3,3
Current State: 95:[93, 2], Operations: ['25-12=13', '15-13=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
47,
61,
69,
15
] | 54 | [
"47+61=108",
"69-15=54",
"108-54=54"
] | Current State: 54:[47, 61, 69, 15], Operations: []
Exploring Operation: 47+61=108, Resulting Numbers: [69, 15, 108]
Generated Node #2: [69, 15, 108] from Operation: 47+61=108
Current State: 54:[69, 15, 108], Operations: ['47+61=108']
Exploring Operation: 69-15=54, Resulting Numbers: [108, 54]
Generated Node #3: [108, 54] from Operation: 69-15=54
Current State: 54:[108, 54], Operations: ['47+61=108', '69-15=54']
Exploring Operation: 108-54=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[47, 61, 69, 15], Operations: []
Exploring Operation: 69-61=8, Resulting Numbers: [47, 15, 8]
Generated Node #0,0: 54:[47, 15, 8] Operation: 69-61=8
Exploring Operation: 69-47=22, Resulting Numbers: [61, 15, 22]
Generated Node #0,1: 54:[61, 15, 22] Operation: 69-47=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[47, 15, 8], Operations: ['69-61=8']
Exploring Operation: 47-15=32, Resulting Numbers: [8, 32]
Generated Node #0,0,0: 54:[8, 32] Operation: 47-15=32
Exploring Operation: 47+8=55, Resulting Numbers: [15, 55]
Generated Node #0,0,1: 54:[15, 55] Operation: 47+8=55
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 54:[15, 55], Operations: ['69-61=8', '47+8=55']
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,54 unequal: No Solution
Exploring Operation: 15+55=70, Resulting Numbers: [70]
70,54 unequal: No Solution
No 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: 54:[8, 32], Operations: ['69-61=8', '47-15=32']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,54 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,54 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: 54:[61, 15, 22], Operations: ['69-47=22']
Exploring Operation: 22-15=7, Resulting Numbers: [61, 7]
Generated Node #0,1,0: 54:[61, 7] Operation: 22-15=7
Exploring Operation: 61-15=46, Resulting Numbers: [22, 46]
Generated Node #0,1,1: 54:[22, 46] Operation: 61-15=46
Moving to Node #0,1,0
Current State: 54:[61, 7], Operations: ['69-47=22', '22-15=7']
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,54 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[47, 61, 69, 15], Operations: []
Exploring Operation: 69-47=22, Resulting Numbers: [61, 15, 22]
Generated Node #0,1: 54:[61, 15, 22] Operation: 69-47=22
Moving to Node #0,1
Current State: 54:[61, 15, 22], Operations: ['69-47=22']
Exploring Operation: 22-15=7, Resulting Numbers: [61, 7]
Generated Node #0,1,0: 54:[61, 7] Operation: 22-15=7
Moving to Node #0,1,0
Current State: 54:[61, 7], Operations: ['69-47=22', '22-15=7']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
3,
25,
46,
6
] | 86 | [
"25-3=22",
"6*22=132",
"132-46=86"
] | Current State: 86:[3, 25, 46, 6], Operations: []
Exploring Operation: 25-3=22, Resulting Numbers: [46, 6, 22]
Generated Node #2: [46, 6, 22] from Operation: 25-3=22
Current State: 86:[46, 6, 22], Operations: ['25-3=22']
Exploring Operation: 6*22=132, Resulting Numbers: [46, 132]
Generated Node #3: [46, 132] from Operation: 6*22=132
Current State: 86:[46, 132], Operations: ['25-3=22', '6*22=132']
Exploring Operation: 132-46=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[3, 25, 46, 6], Operations: []
Exploring Operation: 25+6=31, Resulting Numbers: [3, 46, 31]
Generated Node #0,0: 86:[3, 46, 31] Operation: 25+6=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[3, 46, 31], Operations: ['25+6=31']
Exploring Operation: 3*31=93, Resulting Numbers: [46, 93]
Generated Node #0,0,0: 86:[46, 93] Operation: 3*31=93
Moving to Node #0,0,0
Current State: 86:[46, 93], Operations: ['25+6=31', '3*31=93']
Exploring Operation: 93-46=47, Resulting Numbers: [47]
47,86 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 |
[
40,
52,
74,
52
] | 35 | [
"74-40=34",
"52/52=1",
"34+1=35"
] | Current State: 35:[40, 52, 74, 52], Operations: []
Exploring Operation: 74-40=34, Resulting Numbers: [52, 52, 34]
Generated Node #2: [52, 52, 34] from Operation: 74-40=34
Current State: 35:[52, 52, 34], Operations: ['74-40=34']
Exploring Operation: 52/52=1, Resulting Numbers: [34, 1]
Generated Node #3: [34, 1] from Operation: 52/52=1
Current State: 35:[34, 1], Operations: ['74-40=34', '52/52=1']
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[40, 52, 74, 52], Operations: []
Exploring Operation: 74-52=22, Resulting Numbers: [40, 52, 22]
Generated Node #0,0: 35:[40, 52, 22] Operation: 74-52=22
Exploring Operation: 74-40=34, Resulting Numbers: [52, 52, 34]
Generated Node #0,1: 35:[52, 52, 34] Operation: 74-40=34
Exploring Operation: 74-52=22, Resulting Numbers: [40, 52, 22]
Generated Node #0,2: 35:[40, 52, 22] Operation: 74-52=22
Moving to Node #0,0
Current State: 35:[40, 52, 22], Operations: ['74-52=22']
Exploring Operation: 40-22=18, Resulting Numbers: [52, 18]
Generated Node #0,0,0: 35:[52, 18] Operation: 40-22=18
Exploring Operation: 52-22=30, Resulting Numbers: [40, 30]
Generated Node #0,0,1: 35:[40, 30] Operation: 52-22=30
Exploring Operation: 52-40=12, Resulting Numbers: [22, 12]
Generated Node #0,0,2: 35:[22, 12] Operation: 52-40=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[40, 30], Operations: ['74-52=22', '52-22=30']
Exploring Operation: 40+30=70, Resulting Numbers: [70]
70,35 unequal: No Solution
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 40*30=1200, Resulting Numbers: [1200]
1200,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:[22, 12], Operations: ['74-52=22', '52-40=12']
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,35 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,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:[52, 18], Operations: ['74-52=22', '40-22=18']
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 52+18=70, Resulting Numbers: [70]
70,35 unequal: No Solution
Exploring Operation: 52*18=936, Resulting Numbers: [936]
936,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:[52, 52, 34], Operations: ['74-40=34']
Exploring Operation: 52-34=18, Resulting Numbers: [52, 18]
Generated Node #0,1,0: 35:[52, 18] Operation: 52-34=18
Exploring Operation: 52/52=1, Resulting Numbers: [34, 1]
Generated Node #0,1,1: 35:[34, 1] Operation: 52/52=1
Exploring Operation: 52-52=0, Resulting Numbers: [34, 0]
Generated Node #0,1,2: 35:[34, 0] Operation: 52-52=0
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[34, 1], Operations: ['74-40=34', '52/52=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[40, 52, 74, 52], Operations: []
Exploring Operation: 74-40=34, Resulting Numbers: [52, 52, 34]
Generated Node #0,1: 35:[52, 52, 34] Operation: 74-40=34
Moving to Node #0,1
Current State: 35:[52, 52, 34], Operations: ['74-40=34']
Exploring Operation: 52/52=1, Resulting Numbers: [34, 1]
Generated Node #0,1,1: 35:[34, 1] Operation: 52/52=1
Moving to Node #0,1,1
Current State: 35:[34, 1], Operations: ['74-40=34', '52/52=1']
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
23,
29,
88,
29
] | 64 | [
"88-23=65",
"29/29=1",
"65-1=64"
] | Current State: 64:[23, 29, 88, 29], Operations: []
Exploring Operation: 88-23=65, Resulting Numbers: [29, 29, 65]
Generated Node #2: [29, 29, 65] from Operation: 88-23=65
Current State: 64:[29, 29, 65], Operations: ['88-23=65']
Exploring Operation: 29/29=1, Resulting Numbers: [65, 1]
Generated Node #3: [65, 1] from Operation: 29/29=1
Current State: 64:[65, 1], Operations: ['88-23=65', '29/29=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[23, 29, 88, 29], Operations: []
Exploring Operation: 88-29=59, Resulting Numbers: [23, 29, 59]
Generated Node #0,0: 64:[23, 29, 59] Operation: 88-29=59
Exploring Operation: 88-23=65, Resulting Numbers: [29, 29, 65]
Generated Node #0,1: 64:[29, 29, 65] Operation: 88-23=65
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[29, 29, 65], Operations: ['88-23=65']
Exploring Operation: 29-29=0, Resulting Numbers: [65, 0]
Generated Node #0,1,0: 64:[65, 0] Operation: 29-29=0
Exploring Operation: 29/29=1, Resulting Numbers: [65, 1]
Generated Node #0,1,1: 64:[65, 1] Operation: 29/29=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 64:[65, 1], Operations: ['88-23=65', '29/29=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[23, 29, 88, 29], Operations: []
Exploring Operation: 88-23=65, Resulting Numbers: [29, 29, 65]
Generated Node #0,1: 64:[29, 29, 65] Operation: 88-23=65
Moving to Node #0,1
Current State: 64:[29, 29, 65], Operations: ['88-23=65']
Exploring Operation: 29/29=1, Resulting Numbers: [65, 1]
Generated Node #0,1,1: 64:[65, 1] Operation: 29/29=1
Moving to Node #0,1,1
Current State: 64:[65, 1], Operations: ['88-23=65', '29/29=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
41,
57,
69,
70
] | 97 | [
"41+57=98",
"70-69=1",
"98-1=97"
] | Current State: 97:[41, 57, 69, 70], Operations: []
Exploring Operation: 41+57=98, Resulting Numbers: [69, 70, 98]
Generated Node #2: [69, 70, 98] from Operation: 41+57=98
Current State: 97:[69, 70, 98], Operations: ['41+57=98']
Exploring Operation: 70-69=1, Resulting Numbers: [98, 1]
Generated Node #3: [98, 1] from Operation: 70-69=1
Current State: 97:[98, 1], Operations: ['41+57=98', '70-69=1']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[41, 57, 69, 70], Operations: []
Exploring Operation: 41+69=110, Resulting Numbers: [57, 70, 110]
Generated Node #0,0: 97:[57, 70, 110] Operation: 41+69=110
Exploring Operation: 41+57=98, Resulting Numbers: [69, 70, 98]
Generated Node #0,1: 97:[69, 70, 98] Operation: 41+57=98
Moving to Node #0,1
Current State: 97:[69, 70, 98], Operations: ['41+57=98']
Exploring Operation: 98-69=29, Resulting Numbers: [70, 29]
Generated Node #0,1,0: 97:[70, 29] Operation: 98-69=29
Exploring Operation: 69+70=139, Resulting Numbers: [98, 139]
Generated Node #0,1,1: 97:[98, 139] Operation: 69+70=139
Moving to Node #0,0
Current State: 97:[57, 70, 110], Operations: ['41+69=110']
Exploring Operation: 110-57=53, Resulting Numbers: [70, 53]
Generated Node #0,0,0: 97:[70, 53] Operation: 110-57=53
Exploring Operation: 57+70=127, Resulting Numbers: [110, 127]
Generated Node #0,0,1: 97:[110, 127] Operation: 57+70=127
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[110, 127], Operations: ['41+69=110', '57+70=127']
Exploring Operation: 110+127=237, Resulting Numbers: [237]
237,97 unequal: No Solution
Exploring Operation: 127-110=17, Resulting Numbers: [17]
17,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[70, 53], Operations: ['41+69=110', '110-57=53']
Exploring Operation: 70+53=123, Resulting Numbers: [123]
123,97 unequal: No Solution
Exploring Operation: 70-53=17, Resulting Numbers: [17]
17,97 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: 97:[98, 139], Operations: ['41+57=98', '69+70=139']
Exploring Operation: 98+139=237, Resulting Numbers: [237]
237,97 unequal: No Solution
Exploring Operation: 139-98=41, Resulting Numbers: [41]
41,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[70, 29], Operations: ['41+57=98', '98-69=29']
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,97 unequal: No Solution
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,97 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
5,
3,
9,
95
] | 47 | [
"5*9=45",
"95-3=92",
"92-45=47"
] | Current State: 47:[5, 3, 9, 95], Operations: []
Exploring Operation: 5*9=45, Resulting Numbers: [3, 95, 45]
Generated Node #2: [3, 95, 45] from Operation: 5*9=45
Current State: 47:[3, 95, 45], Operations: ['5*9=45']
Exploring Operation: 95-3=92, Resulting Numbers: [45, 92]
Generated Node #3: [45, 92] from Operation: 95-3=92
Current State: 47:[45, 92], Operations: ['5*9=45', '95-3=92']
Exploring Operation: 92-45=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[5, 3, 9, 95], Operations: []
Exploring Operation: 5*9=45, Resulting Numbers: [3, 95, 45]
Generated Node #0,0: 47:[3, 95, 45] Operation: 5*9=45
Exploring Operation: 95/5=19, Resulting Numbers: [3, 9, 19]
Generated Node #0,1: 47:[3, 9, 19] Operation: 95/5=19
Exploring Operation: 5*3=15, Resulting Numbers: [9, 95, 15]
Generated Node #0,2: 47:[9, 95, 15] Operation: 5*3=15
Exploring Operation: 3*9=27, Resulting Numbers: [5, 95, 27]
Generated Node #0,3: 47:[5, 95, 27] Operation: 3*9=27
Exploring Operation: 5+3=8, Resulting Numbers: [9, 95, 8]
Generated Node #0,4: 47:[9, 95, 8] Operation: 5+3=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[3, 95, 45], Operations: ['5*9=45']
Exploring Operation: 45-3=42, Resulting Numbers: [95, 42]
Generated Node #0,0,0: 47:[95, 42] Operation: 45-3=42
Exploring Operation: 95-45=50, Resulting Numbers: [3, 50]
Generated Node #0,0,1: 47:[3, 50] Operation: 95-45=50
Exploring Operation: 95-3=92, Resulting Numbers: [45, 92]
Generated Node #0,0,2: 47:[45, 92] Operation: 95-3=92
Exploring Operation: 3+95=98, Resulting Numbers: [45, 98]
Generated Node #0,0,3: 47:[45, 98] Operation: 3+95=98
Exploring Operation: 3+45=48, Resulting Numbers: [95, 48]
Generated Node #0,0,4: 47:[95, 48] Operation: 3+45=48
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[3, 50], Operations: ['5*9=45', '95-45=50']
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,47 unequal: No Solution
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,47 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[5, 3, 9, 95], Operations: []
Exploring Operation: 5*9=45, Resulting Numbers: [3, 95, 45]
Generated Node #0,0: 47:[3, 95, 45] Operation: 5*9=45
Moving to Node #0,0
Current State: 47:[3, 95, 45], Operations: ['5*9=45']
Exploring Operation: 95-45=50, Resulting Numbers: [3, 50]
Generated Node #0,0,1: 47:[3, 50] Operation: 95-45=50
Moving to Node #0,0,1
Current State: 47:[3, 50], Operations: ['5*9=45', '95-45=50']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
75,
55,
65,
12
] | 65 | [
"75-65=10",
"12*10=120",
"120-55=65"
] | Current State: 65:[75, 55, 65, 12], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [55, 12, 10]
Generated Node #2: [55, 12, 10] from Operation: 75-65=10
Current State: 65:[55, 12, 10], Operations: ['75-65=10']
Exploring Operation: 12*10=120, Resulting Numbers: [55, 120]
Generated Node #3: [55, 120] from Operation: 12*10=120
Current State: 65:[55, 120], Operations: ['75-65=10', '12*10=120']
Exploring Operation: 120-55=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[75, 55, 65, 12], Operations: []
Exploring Operation: 55+12=67, Resulting Numbers: [75, 65, 67]
Generated Node #0,0: 65:[75, 65, 67] Operation: 55+12=67
Exploring Operation: 75-55=20, Resulting Numbers: [65, 12, 20]
Generated Node #0,1: 65:[65, 12, 20] Operation: 75-55=20
Exploring Operation: 75-12=63, Resulting Numbers: [55, 65, 63]
Generated Node #0,2: 65:[55, 65, 63] Operation: 75-12=63
Exploring Operation: 75-65=10, Resulting Numbers: [55, 12, 10]
Generated Node #0,3: 65:[55, 12, 10] Operation: 75-65=10
Exploring Operation: 65-55=10, Resulting Numbers: [75, 12, 10]
Generated Node #0,4: 65:[75, 12, 10] Operation: 65-55=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[65, 12, 20], Operations: ['75-55=20']
Exploring Operation: 20-12=8, Resulting Numbers: [65, 8]
Generated Node #0,1,0: 65:[65, 8] Operation: 20-12=8
Exploring Operation: 65+12=77, Resulting Numbers: [20, 77]
Generated Node #0,1,1: 65:[20, 77] Operation: 65+12=77
Exploring Operation: 12+20=32, Resulting Numbers: [65, 32]
Generated Node #0,1,2: 65:[65, 32] Operation: 12+20=32
Exploring Operation: 65-12=53, Resulting Numbers: [20, 53]
Generated Node #0,1,3: 65:[20, 53] Operation: 65-12=53
Exploring Operation: 65+20=85, Resulting Numbers: [12, 85]
Generated Node #0,1,4: 65:[12, 85] Operation: 65+20=85
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 65:[65, 8], Operations: ['75-55=20', '20-12=8']
Exploring Operation: 65*8=520, Resulting Numbers: [520]
520,65 unequal: No Solution
Exploring Operation: 65+8=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 65:[20, 77], Operations: ['75-55=20', '65+12=77']
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Exploring Operation: 20*77=1540, Resulting Numbers: [1540]
1540,65 unequal: No Solution
Exploring Operation: 20+77=97, Resulting Numbers: [97]
97,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 65:[65, 32], Operations: ['75-55=20', '12+20=32']
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,65 unequal: No Solution
Exploring Operation: 65*32=2080, Resulting Numbers: [2080]
2080,65 unequal: No Solution
Exploring Operation: 65+32=97, Resulting Numbers: [97]
97,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 65:[20, 53], Operations: ['75-55=20', '65-12=53']
Exploring Operation: 53-20=33, Resulting Numbers: [33]
33,65 unequal: No Solution
Exploring Operation: 20+53=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 20*53=1060, Resulting Numbers: [1060]
1060,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 65:[12, 85], Operations: ['75-55=20', '65+20=85']
Exploring Operation: 12*85=1020, Resulting Numbers: [1020]
1020,65 unequal: No Solution
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 12+85=97, Resulting Numbers: [97]
97,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[75, 65, 67], Operations: ['55+12=67']
Exploring Operation: 75-65=10, Resulting Numbers: [67, 10]
Generated Node #0,0,0: 65:[67, 10] Operation: 75-65=10
Exploring Operation: 75+65=140, Resulting Numbers: [67, 140]
Generated Node #0,0,1: 65:[67, 140] Operation: 75+65=140
Exploring Operation: 75+67=142, Resulting Numbers: [65, 142]
Generated Node #0,0,2: 65:[65, 142] Operation: 75+67=142
Exploring Operation: 75-67=8, Resulting Numbers: [65, 8]
Generated Node #0,0,3: 65:[65, 8] Operation: 75-67=8
Exploring Operation: 67-65=2, Resulting Numbers: [75, 2]
Generated Node #0,0,4: 65:[75, 2] Operation: 67-65=2
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 65:[65, 8], Operations: ['55+12=67', '75-67=8']
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Exploring Operation: 65*8=520, Resulting Numbers: [520]
520,65 unequal: No Solution
Exploring Operation: 65+8=73, Resulting Numbers: [73]
73,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:[67, 10], Operations: ['55+12=67', '75-65=10']
Exploring Operation: 67*10=670, Resulting Numbers: [670]
670,65 unequal: No Solution
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Exploring Operation: 67+10=77, Resulting Numbers: [77]
77,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,4
Current State: 65:[75, 2], Operations: ['55+12=67', '67-65=2']
Exploring Operation: 75*2=150, Resulting Numbers: [150]
150,65 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[67, 140], Operations: ['55+12=67', '75+65=140']
Exploring Operation: 67+140=207, Resulting Numbers: [207]
207,65 unequal: No Solution
Exploring Operation: 67*140=9380, Resulting Numbers: [9380]
9380,65 unequal: No Solution
Exploring Operation: 140-67=73, Resulting Numbers: [73]
73,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,2
Current State: 65:[65, 142], Operations: ['55+12=67', '75+67=142']
Exploring Operation: 142-65=77, Resulting Numbers: [77]
77,65 unequal: No Solution
Exploring Operation: 65+142=207, Resulting Numbers: [207]
207,65 unequal: No Solution
Exploring Operation: 65*142=9230, Resulting Numbers: [9230]
9230,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,2
Current State: 65:[55, 65, 63], Operations: ['75-12=63']
Exploring Operation: 55+63=118, Resulting Numbers: [65, 118]
Generated Node #0,2,0: 65:[65, 118] Operation: 55+63=118
Exploring Operation: 63-55=8, Resulting Numbers: [65, 8]
Generated Node #0,2,1: 65:[65, 8] Operation: 63-55=8
Exploring Operation: 55+65=120, Resulting Numbers: [63, 120]
Generated Node #0,2,2: 65:[63, 120] Operation: 55+65=120
Exploring Operation: 65-63=2, Resulting Numbers: [55, 2]
Generated Node #0,2,3: 65:[55, 2] Operation: 65-63=2
Exploring Operation: 65-55=10, Resulting Numbers: [63, 10]
Generated Node #0,2,4: 65:[63, 10] Operation: 65-55=10
Moving to Node #0,2,1
Current State: 65:[65, 8], Operations: ['75-12=63', '63-55=8']
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Exploring Operation: 65*8=520, Resulting Numbers: [520]
520,65 unequal: No Solution
Exploring Operation: 65+8=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Moving to Node #0,2,4
Current State: 65:[63, 10], Operations: ['75-12=63', '65-55=10']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[55, 2], Operations: ['75-12=63', '65-63=2']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,65 unequal: No Solution
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[65, 118], Operations: ['75-12=63', '55+63=118']
Exploring Operation: 65*118=7670, Resulting Numbers: [7670]
7670,65 unequal: No Solution
Exploring Operation: 118-65=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Exploring Operation: 65+118=183, Resulting Numbers: [183]
183,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[63, 120], Operations: ['75-12=63', '55+65=120']
Exploring Operation: 120-63=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Exploring Operation: 63+120=183, Resulting Numbers: [183]
183,65 unequal: No Solution
Exploring Operation: 63*120=7560, Resulting Numbers: [7560]
7560,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[55, 12, 10], Operations: ['75-65=10']
Exploring Operation: 12+10=22, Resulting Numbers: [55, 22]
Generated Node #0,3,0: 65:[55, 22] Operation: 12+10=22
Exploring Operation: 55-10=45, Resulting Numbers: [12, 45]
Generated Node #0,3,1: 65:[12, 45] Operation: 55-10=45
Exploring Operation: 12-10=2, Resulting Numbers: [55, 2]
Generated Node #0,3,2: 65:[55, 2] Operation: 12-10=2
Exploring Operation: 55+10=65, Resulting Numbers: [12, 65]
Generated Node #0,3,3: 65:[12, 65] Operation: 55+10=65
Exploring Operation: 55+12=67, Resulting Numbers: [10, 67]
Generated Node #0,3,4: 65:[10, 67] Operation: 55+12=67
Moving to Node #0,3,3
Current State: 65:[12, 65], Operations: ['75-65=10', '55+10=65']
Exploring Operation: 12*65=780, Resulting Numbers: [780]
780,65 unequal: No Solution
Exploring Operation: 12+65=77, Resulting Numbers: [77]
77,65 unequal: No Solution
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Moving to Node #0,3,4
Current State: 65:[10, 67], Operations: ['75-65=10', '55+12=67']
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Exploring Operation: 10*67=670, Resulting Numbers: [670]
670,65 unequal: No Solution
Exploring Operation: 10+67=77, Resulting Numbers: [77]
77,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[55, 2], Operations: ['75-65=10', '12-10=2']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,65 unequal: No Solution
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Moving to Node #0,3,0
Current State: 65:[55, 22], Operations: ['75-65=10', '12+10=22']
Exploring Operation: 55+22=77, Resulting Numbers: [77]
77,65 unequal: No Solution
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,65 unequal: No Solution
Exploring Operation: 55*22=1210, Resulting Numbers: [1210]
1210,65 unequal: No Solution
Moving to Node #0,3,1
Current State: 65:[12, 45], Operations: ['75-65=10', '55-10=45']
Exploring Operation: 12+45=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,65 unequal: No Solution
Exploring Operation: 12*45=540, Resulting Numbers: [540]
540,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 65:[75, 12, 10], Operations: ['65-55=10']
Exploring Operation: 12-10=2, Resulting Numbers: [75, 2]
Generated Node #0,4,0: 65:[75, 2] Operation: 12-10=2
Exploring Operation: 75-12=63, Resulting Numbers: [10, 63]
Generated Node #0,4,1: 65:[10, 63] Operation: 75-12=63
Exploring Operation: 75-10=65, Resulting Numbers: [12, 65]
Generated Node #0,4,2: 65:[12, 65] Operation: 75-10=65
Exploring Operation: 75+10=85, Resulting Numbers: [12, 85]
Generated Node #0,4,3: 65:[12, 85] Operation: 75+10=85
Exploring Operation: 12+10=22, Resulting Numbers: [75, 22]
Generated Node #0,4,4: 65:[75, 22] Operation: 12+10=22
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 65:[12, 65], Operations: ['65-55=10', '75-10=65']
Exploring Operation: 12+65=77, Resulting Numbers: [77]
77,65 unequal: No Solution
Exploring Operation: 12*65=780, Resulting Numbers: [780]
780,65 unequal: No Solution
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,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,4,1
Current State: 65:[10, 63], Operations: ['65-55=10', '75-12=63']
Exploring Operation: 10*63=630, Resulting Numbers: [630]
630,65 unequal: No Solution
Exploring Operation: 10+63=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,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,4,0
Current State: 65:[75, 2], Operations: ['65-55=10', '12-10=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,65 unequal: No Solution
Exploring Operation: 75*2=150, Resulting Numbers: [150]
150,65 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,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,4,4
Current State: 65:[75, 22], Operations: ['65-55=10', '12+10=22']
Exploring Operation: 75+22=97, Resulting Numbers: [97]
97,65 unequal: No Solution
Exploring Operation: 75*22=1650, Resulting Numbers: [1650]
1650,65 unequal: No Solution
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,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,4,3
Current State: 65:[12, 85], Operations: ['65-55=10', '75+10=85']
Exploring Operation: 12+85=97, Resulting Numbers: [97]
97,65 unequal: No Solution
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 12*85=1020, Resulting Numbers: [1020]
1020,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_5 | mult_heuristic |
[
36,
51,
30,
73
] | 28 | [
"51-36=15",
"73-30=43",
"43-15=28"
] | Current State: 28:[36, 51, 30, 73], Operations: []
Exploring Operation: 51-36=15, Resulting Numbers: [30, 73, 15]
Generated Node #2: [30, 73, 15] from Operation: 51-36=15
Current State: 28:[30, 73, 15], Operations: ['51-36=15']
Exploring Operation: 73-30=43, Resulting Numbers: [15, 43]
Generated Node #3: [15, 43] from Operation: 73-30=43
Current State: 28:[15, 43], Operations: ['51-36=15', '73-30=43']
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[36, 51, 30, 73], Operations: []
Exploring Operation: 73-51=22, Resulting Numbers: [36, 30, 22]
Generated Node #0,0: 28:[36, 30, 22] Operation: 73-51=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[36, 30, 22], Operations: ['73-51=22']
Exploring Operation: 36-22=14, Resulting Numbers: [30, 14]
Generated Node #0,0,0: 28:[30, 14] Operation: 36-22=14
Moving to Node #0,0,0
Current State: 28:[30, 14], Operations: ['73-51=22', '36-22=14']
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
30,
27,
8,
6
] | 31 | [
"27*8=216",
"216-30=186",
"186/6=31"
] | Current State: 31:[30, 27, 8, 6], Operations: []
Exploring Operation: 27*8=216, Resulting Numbers: [30, 6, 216]
Generated Node #2: [30, 6, 216] from Operation: 27*8=216
Current State: 31:[30, 6, 216], Operations: ['27*8=216']
Exploring Operation: 216-30=186, Resulting Numbers: [6, 186]
Generated Node #3: [6, 186] from Operation: 216-30=186
Current State: 31:[6, 186], Operations: ['27*8=216', '216-30=186']
Exploring Operation: 186/6=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[30, 27, 8, 6], Operations: []
Exploring Operation: 8+6=14, Resulting Numbers: [30, 27, 14]
Generated Node #0,0: 31:[30, 27, 14] Operation: 8+6=14
Exploring Operation: 27+6=33, Resulting Numbers: [30, 8, 33]
Generated Node #0,1: 31:[30, 8, 33] Operation: 27+6=33
Exploring Operation: 8*6=48, Resulting Numbers: [30, 27, 48]
Generated Node #0,2: 31:[30, 27, 48] Operation: 8*6=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[30, 27, 14], Operations: ['8+6=14']
Exploring Operation: 27+14=41, Resulting Numbers: [30, 41]
Generated Node #0,0,0: 31:[30, 41] Operation: 27+14=41
Exploring Operation: 30-14=16, Resulting Numbers: [27, 16]
Generated Node #0,0,1: 31:[27, 16] Operation: 30-14=16
Exploring Operation: 30+14=44, Resulting Numbers: [27, 44]
Generated Node #0,0,2: 31:[27, 44] Operation: 30+14=44
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[30, 41], Operations: ['8+6=14', '27+14=41']
Exploring Operation: 30*41=1230, Resulting Numbers: [1230]
1230,31 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Exploring Operation: 30+41=71, Resulting Numbers: [71]
71,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,0,2
Current State: 31:[27, 44], Operations: ['8+6=14', '30+14=44']
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,31 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 27*44=1188, Resulting Numbers: [1188]
1188,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,0,1
Current State: 31:[27, 16], Operations: ['8+6=14', '30-14=16']
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,31 unequal: No Solution
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,31 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,31 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: 31:[30, 27, 48], Operations: ['8*6=48']
Exploring Operation: 48-30=18, Resulting Numbers: [27, 18]
Generated Node #0,2,0: 31:[27, 18] Operation: 48-30=18
Exploring Operation: 48-27=21, Resulting Numbers: [30, 21]
Generated Node #0,2,1: 31:[30, 21] Operation: 48-27=21
Exploring Operation: 30+27=57, Resulting Numbers: [48, 57]
Generated Node #0,2,2: 31:[48, 57] Operation: 30+27=57
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 31:[30, 21], Operations: ['8*6=48', '48-27=21']
Exploring Operation: 30*21=630, Resulting Numbers: [630]
630,31 unequal: No Solution
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,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,2,0
Current State: 31:[27, 18], Operations: ['8*6=48', '48-30=18']
Exploring Operation: 27+18=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 27*18=486, Resulting Numbers: [486]
486,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,2,2
Current State: 31:[48, 57], Operations: ['8*6=48', '30+27=57']
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 48+57=105, Resulting Numbers: [105]
105,31 unequal: No Solution
Exploring Operation: 48*57=2736, Resulting Numbers: [2736]
2736,31 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: 31:[30, 8, 33], Operations: ['27+6=33']
Exploring Operation: 30-8=22, Resulting Numbers: [33, 22]
Generated Node #0,1,0: 31:[33, 22] Operation: 30-8=22
Exploring Operation: 30+8=38, Resulting Numbers: [33, 38]
Generated Node #0,1,1: 31:[33, 38] Operation: 30+8=38
Exploring Operation: 33-8=25, Resulting Numbers: [30, 25]
Generated Node #0,1,2: 31:[30, 25] Operation: 33-8=25
Moving to Node #0,1,2
Current State: 31:[30, 25], Operations: ['27+6=33', '33-8=25']
Exploring Operation: 30+25=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 30*25=750, Resulting Numbers: [750]
750,31 unequal: No Solution
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[33, 38], Operations: ['27+6=33', '30+8=38']
Exploring Operation: 33*38=1254, Resulting Numbers: [1254]
1254,31 unequal: No Solution
Exploring Operation: 33+38=71, Resulting Numbers: [71]
71,31 unequal: No Solution
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[33, 22], Operations: ['27+6=33', '30-8=22']
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Exploring Operation: 33*22=726, Resulting Numbers: [726]
726,31 unequal: No Solution
Exploring Operation: 33+22=55, Resulting Numbers: [55]
55,31 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 |
[
72,
19,
57,
6
] | 74 | [
"57/19=3",
"6/3=2",
"72+2=74"
] | Current State: 74:[72, 19, 57, 6], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [72, 6, 3]
Generated Node #2: [72, 6, 3] from Operation: 57/19=3
Current State: 74:[72, 6, 3], Operations: ['57/19=3']
Exploring Operation: 6/3=2, Resulting Numbers: [72, 2]
Generated Node #3: [72, 2] from Operation: 6/3=2
Current State: 74:[72, 2], Operations: ['57/19=3', '6/3=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[72, 19, 57, 6], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [72, 6, 3]
Generated Node #0,0: 74:[72, 6, 3] Operation: 57/19=3
Exploring Operation: 57-19=38, Resulting Numbers: [72, 6, 38]
Generated Node #0,1: 74:[72, 6, 38] Operation: 57-19=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[72, 6, 3], Operations: ['57/19=3']
Exploring Operation: 6/3=2, Resulting Numbers: [72, 2]
Generated Node #0,0,0: 74:[72, 2] Operation: 6/3=2
Exploring Operation: 6-3=3, Resulting Numbers: [72, 3]
Generated Node #0,0,1: 74:[72, 3] Operation: 6-3=3
Moving to Node #0,0,0
Current State: 74:[72, 2], Operations: ['57/19=3', '6/3=2']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[72, 19, 57, 6], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [72, 6, 3]
Generated Node #0,0: 74:[72, 6, 3] Operation: 57/19=3
Moving to Node #0,0
Current State: 74:[72, 6, 3], Operations: ['57/19=3']
Exploring Operation: 6/3=2, Resulting Numbers: [72, 2]
Generated Node #0,0,0: 74:[72, 2] Operation: 6/3=2
Moving to Node #0,0,0
Current State: 74:[72, 2], Operations: ['57/19=3', '6/3=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
58,
15,
12,
50
] | 72 | [
"58+50=108",
"15*12=180",
"180-108=72"
] | Current State: 72:[58, 15, 12, 50], Operations: []
Exploring Operation: 58+50=108, Resulting Numbers: [15, 12, 108]
Generated Node #2: [15, 12, 108] from Operation: 58+50=108
Current State: 72:[15, 12, 108], Operations: ['58+50=108']
Exploring Operation: 15*12=180, Resulting Numbers: [108, 180]
Generated Node #3: [108, 180] from Operation: 15*12=180
Current State: 72:[108, 180], Operations: ['58+50=108', '15*12=180']
Exploring Operation: 180-108=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[58, 15, 12, 50], Operations: []
Exploring Operation: 58+15=73, Resulting Numbers: [12, 50, 73]
Generated Node #0,0: 72:[12, 50, 73] Operation: 58+15=73
Exploring Operation: 58-50=8, Resulting Numbers: [15, 12, 8]
Generated Node #0,1: 72:[15, 12, 8] Operation: 58-50=8
Exploring Operation: 50-15=35, Resulting Numbers: [58, 12, 35]
Generated Node #0,2: 72:[58, 12, 35] Operation: 50-15=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[15, 12, 8], Operations: ['58-50=8']
Exploring Operation: 15+8=23, Resulting Numbers: [12, 23]
Generated Node #0,1,0: 72:[12, 23] Operation: 15+8=23
Exploring Operation: 15-8=7, Resulting Numbers: [12, 7]
Generated Node #0,1,1: 72:[12, 7] Operation: 15-8=7
Exploring Operation: 15-12=3, Resulting Numbers: [8, 3]
Generated Node #0,1,2: 72:[8, 3] Operation: 15-12=3
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 72:[8, 3], Operations: ['58-50=8', '15-12=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,72 unequal: No Solution
No 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: 72:[12, 23], Operations: ['58-50=8', '15+8=23']
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,72 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,72 unequal: No Solution
No 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: 72:[12, 7], Operations: ['58-50=8', '15-8=7']
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,72 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: 72:[12, 50, 73], Operations: ['58+15=73']
Exploring Operation: 73-50=23, Resulting Numbers: [12, 23]
Generated Node #0,0,0: 72:[12, 23] Operation: 73-50=23
Exploring Operation: 50-12=38, Resulting Numbers: [73, 38]
Generated Node #0,0,1: 72:[73, 38] Operation: 50-12=38
Exploring Operation: 12+50=62, Resulting Numbers: [73, 62]
Generated Node #0,0,2: 72:[73, 62] Operation: 12+50=62
Moving to Node #0,0,0
Current State: 72:[12, 23], Operations: ['58+15=73', '73-50=23']
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,72 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[73, 38], Operations: ['58+15=73', '50-12=38']
Exploring Operation: 73-38=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Exploring Operation: 73*38=2774, Resulting Numbers: [2774]
2774,72 unequal: No Solution
Exploring Operation: 73+38=111, Resulting Numbers: [111]
111,72 unequal: No Solution
Moving to Node #0,0,2
Current State: 72:[73, 62], Operations: ['58+15=73', '12+50=62']
Exploring Operation: 73-62=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 73+62=135, Resulting Numbers: [135]
135,72 unequal: No Solution
Exploring Operation: 73*62=4526, Resulting Numbers: [4526]
4526,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[58, 12, 35], Operations: ['50-15=35']
Exploring Operation: 58-12=46, Resulting Numbers: [35, 46]
Generated Node #0,2,0: 72:[35, 46] Operation: 58-12=46
Exploring Operation: 58+12=70, Resulting Numbers: [35, 70]
Generated Node #0,2,1: 72:[35, 70] Operation: 58+12=70
Exploring Operation: 58-35=23, Resulting Numbers: [12, 23]
Generated Node #0,2,2: 72:[12, 23] Operation: 58-35=23
Moving to Node #0,2,2
Current State: 72:[12, 23], Operations: ['50-15=35', '58-35=23']
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,72 unequal: No Solution
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[35, 70], Operations: ['50-15=35', '58+12=70']
Exploring Operation: 70/35=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 35+70=105, Resulting Numbers: [105]
105,72 unequal: No Solution
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[35, 46], Operations: ['50-15=35', '58-12=46']
Exploring Operation: 35+46=81, Resulting Numbers: [81]
81,72 unequal: No Solution
Exploring Operation: 35*46=1610, Resulting Numbers: [1610]
1610,72 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,72 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 |
[
55,
7,
10,
5
] | 64 | [
"55+7=62",
"10/5=2",
"62+2=64"
] | Current State: 64:[55, 7, 10, 5], Operations: []
Exploring Operation: 55+7=62, Resulting Numbers: [10, 5, 62]
Generated Node #2: [10, 5, 62] from Operation: 55+7=62
Current State: 64:[10, 5, 62], Operations: ['55+7=62']
Exploring Operation: 10/5=2, Resulting Numbers: [62, 2]
Generated Node #3: [62, 2] from Operation: 10/5=2
Current State: 64:[62, 2], Operations: ['55+7=62', '10/5=2']
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[55, 7, 10, 5], Operations: []
Exploring Operation: 55+10=65, Resulting Numbers: [7, 5, 65]
Generated Node #0,0: 64:[7, 5, 65] Operation: 55+10=65
Moving to Node #0,0
Current State: 64:[7, 5, 65], Operations: ['55+10=65']
Exploring Operation: 7-5=2, Resulting Numbers: [65, 2]
Generated Node #0,0,0: 64:[65, 2] Operation: 7-5=2
Moving to Node #0,0,0
Current State: 64:[65, 2], Operations: ['55+10=65', '7-5=2']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,64 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
67,
52,
2,
36
] | 85 | [
"67+52=119",
"36-2=34",
"119-34=85"
] | Current State: 85:[67, 52, 2, 36], Operations: []
Exploring Operation: 67+52=119, Resulting Numbers: [2, 36, 119]
Generated Node #2: [2, 36, 119] from Operation: 67+52=119
Current State: 85:[2, 36, 119], Operations: ['67+52=119']
Exploring Operation: 36-2=34, Resulting Numbers: [119, 34]
Generated Node #3: [119, 34] from Operation: 36-2=34
Current State: 85:[119, 34], Operations: ['67+52=119', '36-2=34']
Exploring Operation: 119-34=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[67, 52, 2, 36], Operations: []
Exploring Operation: 52/2=26, Resulting Numbers: [67, 36, 26]
Generated Node #0,0: 85:[67, 36, 26] Operation: 52/2=26
Exploring Operation: 67-52=15, Resulting Numbers: [2, 36, 15]
Generated Node #0,1: 85:[2, 36, 15] Operation: 67-52=15
Exploring Operation: 52+36=88, Resulting Numbers: [67, 2, 88]
Generated Node #0,2: 85:[67, 2, 88] Operation: 52+36=88
Exploring Operation: 52-36=16, Resulting Numbers: [67, 2, 16]
Generated Node #0,3: 85:[67, 2, 16] Operation: 52-36=16
Moving to Node #0,3
Current State: 85:[67, 2, 16], Operations: ['52-36=16']
Exploring Operation: 2+16=18, Resulting Numbers: [67, 18]
Generated Node #0,3,0: 85:[67, 18] Operation: 2+16=18
Exploring Operation: 67+2=69, Resulting Numbers: [16, 69]
Generated Node #0,3,1: 85:[16, 69] Operation: 67+2=69
Exploring Operation: 67+16=83, Resulting Numbers: [2, 83]
Generated Node #0,3,2: 85:[2, 83] Operation: 67+16=83
Exploring Operation: 67-2=65, Resulting Numbers: [16, 65]
Generated Node #0,3,3: 85:[16, 65] Operation: 67-2=65
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 85:[2, 83], Operations: ['52-36=16', '67+16=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,85 unequal: No Solution
Exploring Operation: 2*83=166, Resulting Numbers: [166]
166,85 unequal: No Solution
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[67, 52, 2, 36], Operations: []
Exploring Operation: 52-36=16, Resulting Numbers: [67, 2, 16]
Generated Node #0,3: 85:[67, 2, 16] Operation: 52-36=16
Moving to Node #0,3
Current State: 85:[67, 2, 16], Operations: ['52-36=16']
Exploring Operation: 67+16=83, Resulting Numbers: [2, 83]
Generated Node #0,3,2: 85:[2, 83] Operation: 67+16=83
Moving to Node #0,3,2
Current State: 85:[2, 83], Operations: ['52-36=16', '67+16=83']
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
14,
93,
86,
58
] | 29 | [
"93-86=7",
"14/7=2",
"58/2=29"
] | Current State: 29:[14, 93, 86, 58], Operations: []
Exploring Operation: 93-86=7, Resulting Numbers: [14, 58, 7]
Generated Node #2: [14, 58, 7] from Operation: 93-86=7
Current State: 29:[14, 58, 7], Operations: ['93-86=7']
Exploring Operation: 14/7=2, Resulting Numbers: [58, 2]
Generated Node #3: [58, 2] from Operation: 14/7=2
Current State: 29:[58, 2], Operations: ['93-86=7', '14/7=2']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[14, 93, 86, 58], Operations: []
Exploring Operation: 86-58=28, Resulting Numbers: [14, 93, 28]
Generated Node #0,0: 29:[14, 93, 28] Operation: 86-58=28
Exploring Operation: 93-86=7, Resulting Numbers: [14, 58, 7]
Generated Node #0,1: 29:[14, 58, 7] Operation: 93-86=7
Exploring Operation: 93-58=35, Resulting Numbers: [14, 86, 35]
Generated Node #0,2: 29:[14, 86, 35] Operation: 93-58=35
Moving to Node #0,1
Current State: 29:[14, 58, 7], Operations: ['93-86=7']
Exploring Operation: 14+7=21, Resulting Numbers: [58, 21]
Generated Node #0,1,0: 29:[58, 21] Operation: 14+7=21
Exploring Operation: 58-7=51, Resulting Numbers: [14, 51]
Generated Node #0,1,1: 29:[14, 51] Operation: 58-7=51
Exploring Operation: 58-14=44, Resulting Numbers: [7, 44]
Generated Node #0,1,2: 29:[7, 44] Operation: 58-14=44
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[58, 21], Operations: ['93-86=7', '14+7=21']
Exploring Operation: 58*21=1218, Resulting Numbers: [1218]
1218,29 unequal: No Solution
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[14, 51], Operations: ['93-86=7', '58-7=51']
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,29 unequal: No Solution
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,29 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[7, 44], Operations: ['93-86=7', '58-14=44']
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,29 unequal: No Solution
Exploring Operation: 7*44=308, Resulting Numbers: [308]
308,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 29:[14, 86, 35], Operations: ['93-58=35']
Exploring Operation: 86-35=51, Resulting Numbers: [14, 51]
Generated Node #0,2,0: 29:[14, 51] Operation: 86-35=51
Exploring Operation: 86-14=72, Resulting Numbers: [35, 72]
Generated Node #0,2,1: 29:[35, 72] Operation: 86-14=72
Exploring Operation: 35-14=21, Resulting Numbers: [86, 21]
Generated Node #0,2,2: 29:[86, 21] Operation: 35-14=21
Moving to Node #0,0
Current State: 29:[14, 93, 28], Operations: ['86-58=28']
Exploring Operation: 93-28=65, Resulting Numbers: [14, 65]
Generated Node #0,0,0: 29:[14, 65] Operation: 93-28=65
Exploring Operation: 14+28=42, Resulting Numbers: [93, 42]
Generated Node #0,0,1: 29:[93, 42] Operation: 14+28=42
Exploring Operation: 93-14=79, Resulting Numbers: [28, 79]
Generated Node #0,0,2: 29:[28, 79] Operation: 93-14=79
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[14, 65], Operations: ['86-58=28', '93-28=65']
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,29 unequal: No Solution
Exploring Operation: 14*65=910, Resulting Numbers: [910]
910,29 unequal: No Solution
Exploring Operation: 14+65=79, Resulting Numbers: [79]
79,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[28, 79], Operations: ['86-58=28', '93-14=79']
Exploring Operation: 28+79=107, Resulting Numbers: [107]
107,29 unequal: No Solution
Exploring Operation: 28*79=2212, Resulting Numbers: [2212]
2212,29 unequal: No Solution
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[93, 42], Operations: ['86-58=28', '14+28=42']
Exploring Operation: 93*42=3906, Resulting Numbers: [3906]
3906,29 unequal: No Solution
Exploring Operation: 93+42=135, Resulting Numbers: [135]
135,29 unequal: No Solution
Exploring Operation: 93-42=51, Resulting Numbers: [51]
51,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 29:[14, 51], Operations: ['93-58=35', '86-35=51']
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,29 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[35, 72], Operations: ['93-58=35', '86-14=72']
Exploring Operation: 35+72=107, Resulting Numbers: [107]
107,29 unequal: No Solution
Exploring Operation: 35*72=2520, Resulting Numbers: [2520]
2520,29 unequal: No Solution
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[86, 21], Operations: ['93-58=35', '35-14=21']
Exploring Operation: 86*21=1806, Resulting Numbers: [1806]
1806,29 unequal: No Solution
Exploring Operation: 86-21=65, Resulting Numbers: [65]
65,29 unequal: No Solution
Exploring Operation: 86+21=107, Resulting Numbers: [107]
107,29 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
40,
91,
95,
59
] | 96 | [
"59-40=19",
"95/19=5",
"91+5=96"
] | Current State: 96:[40, 91, 95, 59], Operations: []
Exploring Operation: 59-40=19, Resulting Numbers: [91, 95, 19]
Generated Node #2: [91, 95, 19] from Operation: 59-40=19
Current State: 96:[91, 95, 19], Operations: ['59-40=19']
Exploring Operation: 95/19=5, Resulting Numbers: [91, 5]
Generated Node #3: [91, 5] from Operation: 95/19=5
Current State: 96:[91, 5], Operations: ['59-40=19', '95/19=5']
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[40, 91, 95, 59], Operations: []
Exploring Operation: 59-40=19, Resulting Numbers: [91, 95, 19]
Generated Node #0,0: 96:[91, 95, 19] Operation: 59-40=19
Exploring Operation: 40+59=99, Resulting Numbers: [91, 95, 99]
Generated Node #0,1: 96:[91, 95, 99] Operation: 40+59=99
Moving to Node #0,0
Current State: 96:[91, 95, 19], Operations: ['59-40=19']
Exploring Operation: 95-91=4, Resulting Numbers: [19, 4]
Generated Node #0,0,0: 96:[19, 4] Operation: 95-91=4
Exploring Operation: 95/19=5, Resulting Numbers: [91, 5]
Generated Node #0,0,1: 96:[91, 5] Operation: 95/19=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[19, 4], Operations: ['59-40=19', '95-91=4']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[91, 5], Operations: ['59-40=19', '95/19=5']
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[40, 91, 95, 59], Operations: []
Exploring Operation: 59-40=19, Resulting Numbers: [91, 95, 19]
Generated Node #0,0: 96:[91, 95, 19] Operation: 59-40=19
Moving to Node #0,0
Current State: 96:[91, 95, 19], Operations: ['59-40=19']
Exploring Operation: 95/19=5, Resulting Numbers: [91, 5]
Generated Node #0,0,1: 96:[91, 5] Operation: 95/19=5
Moving to Node #0,0,1
Current State: 96:[91, 5], Operations: ['59-40=19', '95/19=5']
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
47,
96,
18,
94
] | 80 | [
"94/47=2",
"96-18=78",
"2+78=80"
] | Current State: 80:[47, 96, 18, 94], Operations: []
Exploring Operation: 94/47=2, Resulting Numbers: [96, 18, 2]
Generated Node #2: [96, 18, 2] from Operation: 94/47=2
Current State: 80:[96, 18, 2], Operations: ['94/47=2']
Exploring Operation: 96-18=78, Resulting Numbers: [2, 78]
Generated Node #3: [2, 78] from Operation: 96-18=78
Current State: 80:[2, 78], Operations: ['94/47=2', '96-18=78']
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[47, 96, 18, 94], Operations: []
Exploring Operation: 94/47=2, Resulting Numbers: [96, 18, 2]
Generated Node #0,0: 80:[96, 18, 2] Operation: 94/47=2
Exploring Operation: 96-94=2, Resulting Numbers: [47, 18, 2]
Generated Node #0,1: 80:[47, 18, 2] Operation: 96-94=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[47, 18, 2], Operations: ['96-94=2']
Exploring Operation: 47-2=45, Resulting Numbers: [18, 45]
Generated Node #0,1,0: 80:[18, 45] Operation: 47-2=45
Exploring Operation: 18+2=20, Resulting Numbers: [47, 20]
Generated Node #0,1,1: 80:[47, 20] Operation: 18+2=20
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[18, 45], Operations: ['96-94=2', '47-2=45']
Exploring Operation: 18+45=63, Resulting Numbers: [63]
63,80 unequal: No Solution
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[47, 20], Operations: ['96-94=2', '18+2=20']
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,80 unequal: No Solution
Exploring Operation: 47+20=67, Resulting Numbers: [67]
67,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[96, 18, 2], Operations: ['94/47=2']
Exploring Operation: 96/2=48, Resulting Numbers: [18, 48]
Generated Node #0,0,0: 80:[18, 48] Operation: 96/2=48
Exploring Operation: 96-18=78, Resulting Numbers: [2, 78]
Generated Node #0,0,1: 80:[2, 78] Operation: 96-18=78
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[2, 78], Operations: ['94/47=2', '96-18=78']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,80 unequal: No Solution
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[47, 96, 18, 94], Operations: []
Exploring Operation: 94/47=2, Resulting Numbers: [96, 18, 2]
Generated Node #0,0: 80:[96, 18, 2] Operation: 94/47=2
Moving to Node #0,0
Current State: 80:[96, 18, 2], Operations: ['94/47=2']
Exploring Operation: 96-18=78, Resulting Numbers: [2, 78]
Generated Node #0,0,1: 80:[2, 78] Operation: 96-18=78
Moving to Node #0,0,1
Current State: 80:[2, 78], Operations: ['94/47=2', '96-18=78']
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
45,
67,
56,
91
] | 89 | [
"45+67=112",
"112/56=2",
"91-2=89"
] | Current State: 89:[45, 67, 56, 91], Operations: []
Exploring Operation: 45+67=112, Resulting Numbers: [56, 91, 112]
Generated Node #2: [56, 91, 112] from Operation: 45+67=112
Current State: 89:[56, 91, 112], Operations: ['45+67=112']
Exploring Operation: 112/56=2, Resulting Numbers: [91, 2]
Generated Node #3: [91, 2] from Operation: 112/56=2
Current State: 89:[91, 2], Operations: ['45+67=112', '112/56=2']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[45, 67, 56, 91], Operations: []
Exploring Operation: 45+56=101, Resulting Numbers: [67, 91, 101]
Generated Node #0,0: 89:[67, 91, 101] Operation: 45+56=101
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[67, 91, 101], Operations: ['45+56=101']
Exploring Operation: 101-67=34, Resulting Numbers: [91, 34]
Generated Node #0,0,0: 89:[91, 34] Operation: 101-67=34
Moving to Node #0,0,0
Current State: 89:[91, 34], Operations: ['45+56=101', '101-67=34']
Exploring Operation: 91-34=57, Resulting Numbers: [57]
57,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
22,
6,
62,
4
] | 60 | [
"22+62=84",
"6*4=24",
"84-24=60"
] | Current State: 60:[22, 6, 62, 4], Operations: []
Exploring Operation: 22+62=84, Resulting Numbers: [6, 4, 84]
Generated Node #2: [6, 4, 84] from Operation: 22+62=84
Current State: 60:[6, 4, 84], Operations: ['22+62=84']
Exploring Operation: 6*4=24, Resulting Numbers: [84, 24]
Generated Node #3: [84, 24] from Operation: 6*4=24
Current State: 60:[84, 24], Operations: ['22+62=84', '6*4=24']
Exploring Operation: 84-24=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[22, 6, 62, 4], Operations: []
Exploring Operation: 6+4=10, Resulting Numbers: [22, 62, 10]
Generated Node #0,0: 60:[22, 62, 10] Operation: 6+4=10
Exploring Operation: 22-6=16, Resulting Numbers: [62, 4, 16]
Generated Node #0,1: 60:[62, 4, 16] Operation: 22-6=16
Exploring Operation: 22+6=28, Resulting Numbers: [62, 4, 28]
Generated Node #0,2: 60:[62, 4, 28] Operation: 22+6=28
Exploring Operation: 22-4=18, Resulting Numbers: [6, 62, 18]
Generated Node #0,3: 60:[6, 62, 18] Operation: 22-4=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[62, 4, 16], Operations: ['22-6=16']
Exploring Operation: 62-4=58, Resulting Numbers: [16, 58]
Generated Node #0,1,0: 60:[16, 58] Operation: 62-4=58
Exploring Operation: 16/4=4, Resulting Numbers: [62, 4]
Generated Node #0,1,1: 60:[62, 4] Operation: 16/4=4
Exploring Operation: 16-4=12, Resulting Numbers: [62, 12]
Generated Node #0,1,2: 60:[62, 12] Operation: 16-4=12
Exploring Operation: 4+16=20, Resulting Numbers: [62, 20]
Generated Node #0,1,3: 60:[62, 20] Operation: 4+16=20
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[62, 4], Operations: ['22-6=16', '16/4=4']
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 62*4=248, Resulting Numbers: [248]
248,60 unequal: No Solution
No 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: 60:[62, 12], Operations: ['22-6=16', '16-4=12']
Exploring Operation: 62*12=744, Resulting Numbers: [744]
744,60 unequal: No Solution
Exploring Operation: 62+12=74, Resulting Numbers: [74]
74,60 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,60 unequal: No Solution
No 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: 60:[62, 20], Operations: ['22-6=16', '4+16=20']
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Exploring Operation: 62+20=82, Resulting Numbers: [82]
82,60 unequal: No Solution
Exploring Operation: 62*20=1240, Resulting Numbers: [1240]
1240,60 unequal: No Solution
No 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: 60:[16, 58], Operations: ['22-6=16', '62-4=58']
Exploring Operation: 16*58=928, Resulting Numbers: [928]
928,60 unequal: No Solution
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Exploring Operation: 16+58=74, Resulting Numbers: [74]
74,60 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: 60:[22, 62, 10], Operations: ['6+4=10']
Exploring Operation: 62-10=52, Resulting Numbers: [22, 52]
Generated Node #0,0,0: 60:[22, 52] Operation: 62-10=52
Exploring Operation: 22-10=12, Resulting Numbers: [62, 12]
Generated Node #0,0,1: 60:[62, 12] Operation: 22-10=12
Exploring Operation: 62-22=40, Resulting Numbers: [10, 40]
Generated Node #0,0,2: 60:[10, 40] Operation: 62-22=40
Exploring Operation: 22+10=32, Resulting Numbers: [62, 32]
Generated Node #0,0,3: 60:[62, 32] Operation: 22+10=32
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[62, 12], Operations: ['6+4=10', '22-10=12']
Exploring Operation: 62*12=744, Resulting Numbers: [744]
744,60 unequal: No Solution
Exploring Operation: 62+12=74, Resulting Numbers: [74]
74,60 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,60 unequal: No Solution
No 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: 60:[62, 32], Operations: ['6+4=10', '22+10=32']
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 62*32=1984, Resulting Numbers: [1984]
1984,60 unequal: No Solution
Exploring Operation: 62+32=94, Resulting Numbers: [94]
94,60 unequal: No Solution
No 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: 60:[22, 52], Operations: ['6+4=10', '62-10=52']
Exploring Operation: 22*52=1144, Resulting Numbers: [1144]
1144,60 unequal: No Solution
Exploring Operation: 22+52=74, Resulting Numbers: [74]
74,60 unequal: No Solution
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,60 unequal: No Solution
No 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: 60:[10, 40], Operations: ['6+4=10', '62-22=40']
Exploring Operation: 10*40=400, Resulting Numbers: [400]
400,60 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,60 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: 60:[62, 4, 28], Operations: ['22+6=28']
Exploring Operation: 62-28=34, Resulting Numbers: [4, 34]
Generated Node #0,2,0: 60:[4, 34] Operation: 62-28=34
Exploring Operation: 28/4=7, Resulting Numbers: [62, 7]
Generated Node #0,2,1: 60:[62, 7] Operation: 28/4=7
Exploring Operation: 62-4=58, Resulting Numbers: [28, 58]
Generated Node #0,2,2: 60:[28, 58] Operation: 62-4=58
Exploring Operation: 4+28=32, Resulting Numbers: [62, 32]
Generated Node #0,2,3: 60:[62, 32] Operation: 4+28=32
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[62, 7], Operations: ['22+6=28', '28/4=7']
Exploring Operation: 62*7=434, Resulting Numbers: [434]
434,60 unequal: No Solution
Exploring Operation: 62+7=69, Resulting Numbers: [69]
69,60 unequal: No Solution
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,60 unequal: No Solution
No 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: 60:[4, 34], Operations: ['22+6=28', '62-28=34']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,60 unequal: No Solution
No 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: 60:[28, 58], Operations: ['22+6=28', '62-4=58']
Exploring Operation: 28*58=1624, Resulting Numbers: [1624]
1624,60 unequal: No Solution
Exploring Operation: 28+58=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,60 unequal: No Solution
No 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: 60:[62, 32], Operations: ['22+6=28', '4+28=32']
Exploring Operation: 62*32=1984, Resulting Numbers: [1984]
1984,60 unequal: No Solution
Exploring Operation: 62+32=94, Resulting Numbers: [94]
94,60 unequal: No Solution
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,60 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: 60:[6, 62, 18], Operations: ['22-4=18']
Exploring Operation: 18/6=3, Resulting Numbers: [62, 3]
Generated Node #0,3,0: 60:[62, 3] Operation: 18/6=3
Exploring Operation: 18-6=12, Resulting Numbers: [62, 12]
Generated Node #0,3,1: 60:[62, 12] Operation: 18-6=12
Exploring Operation: 6+18=24, Resulting Numbers: [62, 24]
Generated Node #0,3,2: 60:[62, 24] Operation: 6+18=24
Exploring Operation: 62-6=56, Resulting Numbers: [18, 56]
Generated Node #0,3,3: 60:[18, 56] Operation: 62-6=56
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 60:[62, 3], Operations: ['22-4=18', '18/6=3']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,60 unequal: No Solution
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,60 unequal: No Solution
No 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: 60:[62, 12], Operations: ['22-4=18', '18-6=12']
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 62+12=74, Resulting Numbers: [74]
74,60 unequal: No Solution
Exploring Operation: 62*12=744, Resulting Numbers: [744]
744,60 unequal: No Solution
No 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: 60:[62, 24], Operations: ['22-4=18', '6+18=24']
Exploring Operation: 62+24=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Exploring Operation: 62-24=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Exploring Operation: 62*24=1488, Resulting Numbers: [1488]
1488,60 unequal: No Solution
No 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: 60:[18, 56], Operations: ['22-4=18', '62-6=56']
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Exploring Operation: 18+56=74, Resulting Numbers: [74]
74,60 unequal: No Solution
Exploring Operation: 18*56=1008, Resulting Numbers: [1008]
1008,60 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 |
[
7,
88,
34,
50
] | 79 | [
"7+88=95",
"50-34=16",
"95-16=79"
] | Current State: 79:[7, 88, 34, 50], Operations: []
Exploring Operation: 7+88=95, Resulting Numbers: [34, 50, 95]
Generated Node #2: [34, 50, 95] from Operation: 7+88=95
Current State: 79:[34, 50, 95], Operations: ['7+88=95']
Exploring Operation: 50-34=16, Resulting Numbers: [95, 16]
Generated Node #3: [95, 16] from Operation: 50-34=16
Current State: 79:[95, 16], Operations: ['7+88=95', '50-34=16']
Exploring Operation: 95-16=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[7, 88, 34, 50], Operations: []
Exploring Operation: 7+50=57, Resulting Numbers: [88, 34, 57]
Generated Node #0,0: 79:[88, 34, 57] Operation: 7+50=57
Exploring Operation: 88-7=81, Resulting Numbers: [34, 50, 81]
Generated Node #0,1: 79:[34, 50, 81] Operation: 88-7=81
Exploring Operation: 7+34=41, Resulting Numbers: [88, 50, 41]
Generated Node #0,2: 79:[88, 50, 41] Operation: 7+34=41
Exploring Operation: 34+50=84, Resulting Numbers: [7, 88, 84]
Generated Node #0,3: 79:[7, 88, 84] Operation: 34+50=84
Moving to Node #0,0
Current State: 79:[88, 34, 57], Operations: ['7+50=57']
Exploring Operation: 88-34=54, Resulting Numbers: [57, 54]
Generated Node #0,0,0: 79:[57, 54] Operation: 88-34=54
Exploring Operation: 34+57=91, Resulting Numbers: [88, 91]
Generated Node #0,0,1: 79:[88, 91] Operation: 34+57=91
Exploring Operation: 57-34=23, Resulting Numbers: [88, 23]
Generated Node #0,0,2: 79:[88, 23] Operation: 57-34=23
Exploring Operation: 88+34=122, Resulting Numbers: [57, 122]
Generated Node #0,0,3: 79:[57, 122] Operation: 88+34=122
Moving to Node #0,2
Current State: 79:[88, 50, 41], Operations: ['7+34=41']
Exploring Operation: 88+41=129, Resulting Numbers: [50, 129]
Generated Node #0,2,0: 79:[50, 129] Operation: 88+41=129
Exploring Operation: 88-41=47, Resulting Numbers: [50, 47]
Generated Node #0,2,1: 79:[50, 47] Operation: 88-41=47
Exploring Operation: 88-50=38, Resulting Numbers: [41, 38]
Generated Node #0,2,2: 79:[41, 38] Operation: 88-50=38
Exploring Operation: 50+41=91, Resulting Numbers: [88, 91]
Generated Node #0,2,3: 79:[88, 91] Operation: 50+41=91
Moving to Node #0,1
Current State: 79:[34, 50, 81], Operations: ['88-7=81']
Exploring Operation: 34+50=84, Resulting Numbers: [81, 84]
Generated Node #0,1,0: 79:[81, 84] Operation: 34+50=84
Exploring Operation: 50-34=16, Resulting Numbers: [81, 16]
Generated Node #0,1,1: 79:[81, 16] Operation: 50-34=16
Exploring Operation: 34+81=115, Resulting Numbers: [50, 115]
Generated Node #0,1,2: 79:[50, 115] Operation: 34+81=115
Exploring Operation: 81-34=47, Resulting Numbers: [50, 47]
Generated Node #0,1,3: 79:[50, 47] Operation: 81-34=47
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[81, 84], Operations: ['88-7=81', '34+50=84']
Exploring Operation: 84-81=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 81+84=165, Resulting Numbers: [165]
165,79 unequal: No Solution
Exploring Operation: 81*84=6804, Resulting Numbers: [6804]
6804,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 79:[50, 47], Operations: ['88-7=81', '81-34=47']
Exploring Operation: 50-47=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 50*47=2350, Resulting Numbers: [2350]
2350,79 unequal: No Solution
Exploring Operation: 50+47=97, Resulting Numbers: [97]
97,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[81, 16], Operations: ['88-7=81', '50-34=16']
Exploring Operation: 81+16=97, Resulting Numbers: [97]
97,79 unequal: No Solution
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,79 unequal: No Solution
Exploring Operation: 81*16=1296, Resulting Numbers: [1296]
1296,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[50, 115], Operations: ['88-7=81', '34+81=115']
Exploring Operation: 50*115=5750, Resulting Numbers: [5750]
5750,79 unequal: No Solution
Exploring Operation: 115-50=65, Resulting Numbers: [65]
65,79 unequal: No Solution
Exploring Operation: 50+115=165, Resulting Numbers: [165]
165,79 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: 79:[7, 88, 84], Operations: ['34+50=84']
Exploring Operation: 84-7=77, Resulting Numbers: [88, 77]
Generated Node #0,3,0: 79:[88, 77] Operation: 84-7=77
Exploring Operation: 7+84=91, Resulting Numbers: [88, 91]
Generated Node #0,3,1: 79:[88, 91] Operation: 7+84=91
Exploring Operation: 7+88=95, Resulting Numbers: [84, 95]
Generated Node #0,3,2: 79:[84, 95] Operation: 7+88=95
Exploring Operation: 88-7=81, Resulting Numbers: [84, 81]
Generated Node #0,3,3: 79:[84, 81] Operation: 88-7=81
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 79:[84, 81], Operations: ['34+50=84', '88-7=81']
Exploring Operation: 84+81=165, Resulting Numbers: [165]
165,79 unequal: No Solution
Exploring Operation: 84*81=6804, Resulting Numbers: [6804]
6804,79 unequal: No Solution
Exploring Operation: 84-81=3, Resulting Numbers: [3]
3,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,3,0
Current State: 79:[88, 77], Operations: ['34+50=84', '84-7=77']
Exploring Operation: 88*77=6776, Resulting Numbers: [6776]
6776,79 unequal: No Solution
Exploring Operation: 88+77=165, Resulting Numbers: [165]
165,79 unequal: No Solution
Exploring Operation: 88-77=11, Resulting Numbers: [11]
11,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,3,1
Current State: 79:[88, 91], Operations: ['34+50=84', '7+84=91']
Exploring Operation: 88*91=8008, Resulting Numbers: [8008]
8008,79 unequal: No Solution
Exploring Operation: 88+91=179, Resulting Numbers: [179]
179,79 unequal: No Solution
Exploring Operation: 91-88=3, Resulting Numbers: [3]
3,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,3,2
Current State: 79:[84, 95], Operations: ['34+50=84', '7+88=95']
Exploring Operation: 95-84=11, Resulting Numbers: [11]
11,79 unequal: No Solution
Exploring Operation: 84*95=7980, Resulting Numbers: [7980]
7980,79 unequal: No Solution
Exploring Operation: 84+95=179, Resulting Numbers: [179]
179,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 79:[88, 91], Operations: ['7+50=57', '34+57=91']
Exploring Operation: 88+91=179, Resulting Numbers: [179]
179,79 unequal: No Solution
Exploring Operation: 91-88=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 88*91=8008, Resulting Numbers: [8008]
8008,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[88, 91], Operations: ['7+34=41', '50+41=91']
Exploring Operation: 88+91=179, Resulting Numbers: [179]
179,79 unequal: No Solution
Exploring Operation: 91-88=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 88*91=8008, Resulting Numbers: [8008]
8008,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[57, 54], Operations: ['7+50=57', '88-34=54']
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 57+54=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Exploring Operation: 57*54=3078, Resulting Numbers: [3078]
3078,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[50, 47], Operations: ['7+34=41', '88-41=47']
Exploring Operation: 50-47=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 50+47=97, Resulting Numbers: [97]
97,79 unequal: No Solution
Exploring Operation: 50*47=2350, Resulting Numbers: [2350]
2350,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[88, 23], Operations: ['7+50=57', '57-34=23']
Exploring Operation: 88+23=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Exploring Operation: 88*23=2024, Resulting Numbers: [2024]
2024,79 unequal: No Solution
Exploring Operation: 88-23=65, Resulting Numbers: [65]
65,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[57, 122], Operations: ['7+50=57', '88+34=122']
Exploring Operation: 57*122=6954, Resulting Numbers: [6954]
6954,79 unequal: No Solution
Exploring Operation: 57+122=179, Resulting Numbers: [179]
179,79 unequal: No Solution
Exploring Operation: 122-57=65, Resulting Numbers: [65]
65,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[50, 129], Operations: ['7+34=41', '88+41=129']
Exploring Operation: 50+129=179, Resulting Numbers: [179]
179,79 unequal: No Solution
Exploring Operation: 50*129=6450, Resulting Numbers: [6450]
6450,79 unequal: No Solution
Exploring Operation: 129-50=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[7, 88, 34, 50], Operations: []
Exploring Operation: 7+34=41, Resulting Numbers: [88, 50, 41]
Generated Node #0,2: 79:[88, 50, 41] Operation: 7+34=41
Moving to Node #0,2
Current State: 79:[88, 50, 41], Operations: ['7+34=41']
Exploring Operation: 88+41=129, Resulting Numbers: [50, 129]
Generated Node #0,2,0: 79:[50, 129] Operation: 88+41=129
Moving to Node #0,2,0
Current State: 79:[50, 129], Operations: ['7+34=41', '88+41=129']
Exploring Operation: 129-50=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 0.940104 | hs_4 | sum_heuristic |
[
35,
91,
92,
81
] | 46 | [
"81-35=46",
"92-91=1",
"46*1=46"
] | Current State: 46:[35, 91, 92, 81], Operations: []
Exploring Operation: 81-35=46, Resulting Numbers: [91, 92, 46]
Generated Node #2: [91, 92, 46] from Operation: 81-35=46
Current State: 46:[91, 92, 46], Operations: ['81-35=46']
Exploring Operation: 92-91=1, Resulting Numbers: [46, 1]
Generated Node #3: [46, 1] from Operation: 92-91=1
Current State: 46:[46, 1], Operations: ['81-35=46', '92-91=1']
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[35, 91, 92, 81], Operations: []
Exploring Operation: 92-81=11, Resulting Numbers: [35, 91, 11]
Generated Node #0,0: 46:[35, 91, 11] Operation: 92-81=11
Exploring Operation: 92-91=1, Resulting Numbers: [35, 81, 1]
Generated Node #0,1: 46:[35, 81, 1] Operation: 92-91=1
Exploring Operation: 91-81=10, Resulting Numbers: [35, 92, 10]
Generated Node #0,2: 46:[35, 92, 10] Operation: 91-81=10
Exploring Operation: 91-35=56, Resulting Numbers: [92, 81, 56]
Generated Node #0,3: 46:[92, 81, 56] Operation: 91-35=56
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[35, 81, 1], Operations: ['92-91=1']
Exploring Operation: 35+1=36, Resulting Numbers: [81, 36]
Generated Node #0,1,0: 46:[81, 36] Operation: 35+1=36
Exploring Operation: 81-35=46, Resulting Numbers: [1, 46]
Generated Node #0,1,1: 46:[1, 46] Operation: 81-35=46
Exploring Operation: 81-1=80, Resulting Numbers: [35, 80]
Generated Node #0,1,2: 46:[35, 80] Operation: 81-1=80
Exploring Operation: 35*1=35, Resulting Numbers: [81, 35]
Generated Node #0,1,3: 46:[81, 35] Operation: 35*1=35
Moving to Node #0,1,1
Current State: 46:[1, 46], Operations: ['92-91=1', '81-35=46']
Exploring Operation: 1+46=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 1*46=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[35, 91, 92, 81], Operations: []
Exploring Operation: 92-91=1, Resulting Numbers: [35, 81, 1]
Generated Node #0,1: 46:[35, 81, 1] Operation: 92-91=1
Moving to Node #0,1
Current State: 46:[35, 81, 1], Operations: ['92-91=1']
Exploring Operation: 81-35=46, Resulting Numbers: [1, 46]
Generated Node #0,1,1: 46:[1, 46] Operation: 81-35=46
Moving to Node #0,1,1
Current State: 46:[1, 46], Operations: ['92-91=1', '81-35=46']
Exploring Operation: 1*46=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
31,
65,
52,
3
] | 47 | [
"31+65=96",
"52-3=49",
"96-49=47"
] | Current State: 47:[31, 65, 52, 3], Operations: []
Exploring Operation: 31+65=96, Resulting Numbers: [52, 3, 96]
Generated Node #2: [52, 3, 96] from Operation: 31+65=96
Current State: 47:[52, 3, 96], Operations: ['31+65=96']
Exploring Operation: 52-3=49, Resulting Numbers: [96, 49]
Generated Node #3: [96, 49] from Operation: 52-3=49
Current State: 47:[96, 49], Operations: ['31+65=96', '52-3=49']
Exploring Operation: 96-49=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[31, 65, 52, 3], Operations: []
Exploring Operation: 65+3=68, Resulting Numbers: [31, 52, 68]
Generated Node #0,0: 47:[31, 52, 68] Operation: 65+3=68
Exploring Operation: 65-3=62, Resulting Numbers: [31, 52, 62]
Generated Node #0,1: 47:[31, 52, 62] Operation: 65-3=62
Exploring Operation: 52-3=49, Resulting Numbers: [31, 65, 49]
Generated Node #0,2: 47:[31, 65, 49] Operation: 52-3=49
Exploring Operation: 31+3=34, Resulting Numbers: [65, 52, 34]
Generated Node #0,3: 47:[65, 52, 34] Operation: 31+3=34
Exploring Operation: 31-3=28, Resulting Numbers: [65, 52, 28]
Generated Node #0,4: 47:[65, 52, 28] Operation: 31-3=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[31, 52, 62], Operations: ['65-3=62']
Exploring Operation: 31+62=93, Resulting Numbers: [52, 93]
Generated Node #0,1,0: 47:[52, 93] Operation: 31+62=93
Exploring Operation: 52-31=21, Resulting Numbers: [62, 21]
Generated Node #0,1,1: 47:[62, 21] Operation: 52-31=21
Exploring Operation: 62-31=31, Resulting Numbers: [52, 31]
Generated Node #0,1,2: 47:[52, 31] Operation: 62-31=31
Exploring Operation: 31+52=83, Resulting Numbers: [62, 83]
Generated Node #0,1,3: 47:[62, 83] Operation: 31+52=83
Exploring Operation: 62/31=2, Resulting Numbers: [52, 2]
Generated Node #0,1,4: 47:[52, 2] Operation: 62/31=2
Moving to Node #0,1,2
Current State: 47:[52, 31], Operations: ['65-3=62', '62-31=31']
Exploring Operation: 52-31=21, Resulting Numbers: [21]
21,47 unequal: No Solution
Exploring Operation: 52+31=83, Resulting Numbers: [83]
83,47 unequal: No Solution
Exploring Operation: 52*31=1612, Resulting Numbers: [1612]
1612,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[62, 21], Operations: ['65-3=62', '52-31=21']
Exploring Operation: 62+21=83, Resulting Numbers: [83]
83,47 unequal: No Solution
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 62*21=1302, Resulting Numbers: [1302]
1302,47 unequal: No Solution
Moving to Node #0,1,4
Current State: 47:[52, 2], Operations: ['65-3=62', '62/31=2']
Exploring Operation: 52*2=104, Resulting Numbers: [104]
104,47 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,47 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,47 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[52, 93], Operations: ['65-3=62', '31+62=93']
Exploring Operation: 52*93=4836, Resulting Numbers: [4836]
4836,47 unequal: No Solution
Exploring Operation: 93-52=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 52+93=145, Resulting Numbers: [145]
145,47 unequal: No Solution
Moving to Node #0,1,3
Current State: 47:[62, 83], Operations: ['65-3=62', '31+52=83']
Exploring Operation: 62+83=145, Resulting Numbers: [145]
145,47 unequal: No Solution
Exploring Operation: 83-62=21, Resulting Numbers: [21]
21,47 unequal: No Solution
Exploring Operation: 62*83=5146, Resulting Numbers: [5146]
5146,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:[31, 65, 49], Operations: ['52-3=49']
Exploring Operation: 49-31=18, Resulting Numbers: [65, 18]
Generated Node #0,2,0: 47:[65, 18] Operation: 49-31=18
Exploring Operation: 65-31=34, Resulting Numbers: [49, 34]
Generated Node #0,2,1: 47:[49, 34] Operation: 65-31=34
Exploring Operation: 31+65=96, Resulting Numbers: [49, 96]
Generated Node #0,2,2: 47:[49, 96] Operation: 31+65=96
Exploring Operation: 31+49=80, Resulting Numbers: [65, 80]
Generated Node #0,2,3: 47:[65, 80] Operation: 31+49=80
Exploring Operation: 65-49=16, Resulting Numbers: [31, 16]
Generated Node #0,2,4: 47:[31, 16] Operation: 65-49=16
Moving to Node #0,2,1
Current State: 47:[49, 34], Operations: ['52-3=49', '65-31=34']
Exploring Operation: 49*34=1666, Resulting Numbers: [1666]
1666,47 unequal: No Solution
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 49+34=83, Resulting Numbers: [83]
83,47 unequal: No Solution
Moving to Node #0,2,4
Current State: 47:[31, 16], Operations: ['52-3=49', '65-49=16']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 31*16=496, Resulting Numbers: [496]
496,47 unequal: No Solution
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[31, 65, 52, 3], Operations: []
Exploring Operation: 52-3=49, Resulting Numbers: [31, 65, 49]
Generated Node #0,2: 47:[31, 65, 49] Operation: 52-3=49
Moving to Node #0,2
Current State: 47:[31, 65, 49], Operations: ['52-3=49']
Exploring Operation: 65-49=16, Resulting Numbers: [31, 16]
Generated Node #0,2,4: 47:[31, 16] Operation: 65-49=16
Moving to Node #0,2,4
Current State: 47:[31, 16], Operations: ['52-3=49', '65-49=16']
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
48,
1,
46,
4
] | 59 | [
"48/4=12",
"1+46=47",
"12+47=59"
] | Current State: 59:[48, 1, 46, 4], Operations: []
Exploring Operation: 48/4=12, Resulting Numbers: [1, 46, 12]
Generated Node #2: [1, 46, 12] from Operation: 48/4=12
Current State: 59:[1, 46, 12], Operations: ['48/4=12']
Exploring Operation: 1+46=47, Resulting Numbers: [12, 47]
Generated Node #3: [12, 47] from Operation: 1+46=47
Current State: 59:[12, 47], Operations: ['48/4=12', '1+46=47']
Exploring Operation: 12+47=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[48, 1, 46, 4], Operations: []
Exploring Operation: 48+1=49, Resulting Numbers: [46, 4, 49]
Generated Node #0,0: 59:[46, 4, 49] Operation: 48+1=49
Exploring Operation: 1+4=5, Resulting Numbers: [48, 46, 5]
Generated Node #0,1: 59:[48, 46, 5] Operation: 1+4=5
Exploring Operation: 48+4=52, Resulting Numbers: [1, 46, 52]
Generated Node #0,2: 59:[1, 46, 52] Operation: 48+4=52
Exploring Operation: 46+4=50, Resulting Numbers: [48, 1, 50]
Generated Node #0,3: 59:[48, 1, 50] Operation: 46+4=50
Exploring Operation: 1+46=47, Resulting Numbers: [48, 4, 47]
Generated Node #0,4: 59:[48, 4, 47] Operation: 1+46=47
Moving to Node #0,0
Current State: 59:[46, 4, 49], Operations: ['48+1=49']
Exploring Operation: 46-4=42, Resulting Numbers: [49, 42]
Generated Node #0,0,0: 59:[49, 42] Operation: 46-4=42
Exploring Operation: 49-4=45, Resulting Numbers: [46, 45]
Generated Node #0,0,1: 59:[46, 45] Operation: 49-4=45
Exploring Operation: 46+4=50, Resulting Numbers: [49, 50]
Generated Node #0,0,2: 59:[49, 50] Operation: 46+4=50
Exploring Operation: 46+49=95, Resulting Numbers: [4, 95]
Generated Node #0,0,3: 59:[4, 95] Operation: 46+49=95
Exploring Operation: 4+49=53, Resulting Numbers: [46, 53]
Generated Node #0,0,4: 59:[46, 53] Operation: 4+49=53
Moving to Node #0,2
Current State: 59:[1, 46, 52], Operations: ['48+4=52']
Exploring Operation: 1+46=47, Resulting Numbers: [52, 47]
Generated Node #0,2,0: 59:[52, 47] Operation: 1+46=47
Exploring Operation: 46/1=46, Resulting Numbers: [52, 46]
Generated Node #0,2,1: 59:[52, 46] Operation: 46/1=46
Exploring Operation: 1*52=52, Resulting Numbers: [46, 52]
Generated Node #0,2,2: 59:[46, 52] Operation: 1*52=52
Exploring Operation: 1*46=46, Resulting Numbers: [52, 46]
Generated Node #0,2,3: 59:[52, 46] Operation: 1*46=46
Exploring Operation: 1+52=53, Resulting Numbers: [46, 53]
Generated Node #0,2,4: 59:[46, 53] Operation: 1+52=53
Moving to Node #0,4
Current State: 59:[48, 4, 47], Operations: ['1+46=47']
Exploring Operation: 47-4=43, Resulting Numbers: [48, 43]
Generated Node #0,4,0: 59:[48, 43] Operation: 47-4=43
Exploring Operation: 4+47=51, Resulting Numbers: [48, 51]
Generated Node #0,4,1: 59:[48, 51] Operation: 4+47=51
Exploring Operation: 48+4=52, Resulting Numbers: [47, 52]
Generated Node #0,4,2: 59:[47, 52] Operation: 48+4=52
Exploring Operation: 48-4=44, Resulting Numbers: [47, 44]
Generated Node #0,4,3: 59:[47, 44] Operation: 48-4=44
Exploring Operation: 48/4=12, Resulting Numbers: [47, 12]
Generated Node #0,4,4: 59:[47, 12] Operation: 48/4=12
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 59:[48, 51], Operations: ['1+46=47', '4+47=51']
Exploring Operation: 48+51=99, Resulting Numbers: [99]
99,59 unequal: No Solution
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Exploring Operation: 48*51=2448, Resulting Numbers: [2448]
2448,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 59:[47, 52], Operations: ['1+46=47', '48+4=52']
Exploring Operation: 47*52=2444, Resulting Numbers: [2444]
2444,59 unequal: No Solution
Exploring Operation: 47+52=99, Resulting Numbers: [99]
99,59 unequal: No Solution
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 59:[48, 43], Operations: ['1+46=47', '47-4=43']
Exploring Operation: 48*43=2064, Resulting Numbers: [2064]
2064,59 unequal: No Solution
Exploring Operation: 48+43=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 59:[47, 44], Operations: ['1+46=47', '48-4=44']
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Exploring Operation: 47+44=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 47*44=2068, Resulting Numbers: [2068]
2068,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 59:[47, 12], Operations: ['1+46=47', '48/4=12']
Exploring Operation: 47+12=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[48, 1, 46, 4], Operations: []
Exploring Operation: 1+46=47, Resulting Numbers: [48, 4, 47]
Generated Node #0,4: 59:[48, 4, 47] Operation: 1+46=47
Moving to Node #0,4
Current State: 59:[48, 4, 47], Operations: ['1+46=47']
Exploring Operation: 48/4=12, Resulting Numbers: [47, 12]
Generated Node #0,4,4: 59:[47, 12] Operation: 48/4=12
Moving to Node #0,4,4
Current State: 59:[47, 12], Operations: ['1+46=47', '48/4=12']
Exploring Operation: 47+12=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
88,
94,
16,
47
] | 56 | [
"94*16=1504",
"1504/47=32",
"88-32=56"
] | Current State: 56:[88, 94, 16, 47], Operations: []
Exploring Operation: 94*16=1504, Resulting Numbers: [88, 47, 1504]
Generated Node #2: [88, 47, 1504] from Operation: 94*16=1504
Current State: 56:[88, 47, 1504], Operations: ['94*16=1504']
Exploring Operation: 1504/47=32, Resulting Numbers: [88, 32]
Generated Node #3: [88, 32] from Operation: 1504/47=32
Current State: 56:[88, 32], Operations: ['94*16=1504', '1504/47=32']
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[88, 94, 16, 47], Operations: []
Exploring Operation: 94/47=2, Resulting Numbers: [88, 16, 2]
Generated Node #0,0: 56:[88, 16, 2] Operation: 94/47=2
Exploring Operation: 88-16=72, Resulting Numbers: [94, 47, 72]
Generated Node #0,1: 56:[94, 47, 72] Operation: 88-16=72
Exploring Operation: 94-47=47, Resulting Numbers: [88, 16, 47]
Generated Node #0,2: 56:[88, 16, 47] Operation: 94-47=47
Exploring Operation: 94-88=6, Resulting Numbers: [16, 47, 6]
Generated Node #0,3: 56:[16, 47, 6] Operation: 94-88=6
Exploring Operation: 88-47=41, Resulting Numbers: [94, 16, 41]
Generated Node #0,4: 56:[94, 16, 41] Operation: 88-47=41
Start Sub Search at level 1: Moving to Node #0,3
Current State: 56:[16, 47, 6], Operations: ['94-88=6']
Exploring Operation: 16-6=10, Resulting Numbers: [47, 10]
Generated Node #0,3,0: 56:[47, 10] Operation: 16-6=10
Exploring Operation: 16+6=22, Resulting Numbers: [47, 22]
Generated Node #0,3,1: 56:[47, 22] Operation: 16+6=22
Exploring Operation: 16+47=63, Resulting Numbers: [6, 63]
Generated Node #0,3,2: 56:[6, 63] Operation: 16+47=63
Exploring Operation: 47-16=31, Resulting Numbers: [6, 31]
Generated Node #0,3,3: 56:[6, 31] Operation: 47-16=31
Exploring Operation: 47+6=53, Resulting Numbers: [16, 53]
Generated Node #0,3,4: 56:[16, 53] Operation: 47+6=53
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 56:[6, 31], Operations: ['94-88=6', '47-16=31']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 6+31=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 6*31=186, Resulting Numbers: [186]
186,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,3,4
Current State: 56:[16, 53], Operations: ['94-88=6', '47+6=53']
Exploring Operation: 16+53=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 16*53=848, Resulting Numbers: [848]
848,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,3,2
Current State: 56:[6, 63], Operations: ['94-88=6', '16+47=63']
Exploring Operation: 6*63=378, Resulting Numbers: [378]
378,56 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,56 unequal: No Solution
Exploring Operation: 6+63=69, Resulting Numbers: [69]
69,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,3,0
Current State: 56:[47, 10], Operations: ['94-88=6', '16-6=10']
Exploring Operation: 47*10=470, Resulting Numbers: [470]
470,56 unequal: No Solution
Exploring Operation: 47+10=57, Resulting Numbers: [57]
57,56 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,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,3,1
Current State: 56:[47, 22], Operations: ['94-88=6', '16+6=22']
Exploring Operation: 47+22=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 47*22=1034, Resulting Numbers: [1034]
1034,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:[88, 16, 2], Operations: ['94/47=2']
Exploring Operation: 88-16=72, Resulting Numbers: [2, 72]
Generated Node #0,0,0: 56:[2, 72] Operation: 88-16=72
Exploring Operation: 88/2=44, Resulting Numbers: [16, 44]
Generated Node #0,0,1: 56:[16, 44] Operation: 88/2=44
Exploring Operation: 88-2=86, Resulting Numbers: [16, 86]
Generated Node #0,0,2: 56:[16, 86] Operation: 88-2=86
Exploring Operation: 16/2=8, Resulting Numbers: [88, 8]
Generated Node #0,0,3: 56:[88, 8] Operation: 16/2=8
Exploring Operation: 16-2=14, Resulting Numbers: [88, 14]
Generated Node #0,0,4: 56:[88, 14] Operation: 16-2=14
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[16, 44], Operations: ['94/47=2', '88/2=44']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,56 unequal: No Solution
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,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,0,0
Current State: 56:[2, 72], Operations: ['94/47=2', '88-16=72']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 2*72=144, Resulting Numbers: [144]
144,56 unequal: No Solution
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,56 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,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,0,2
Current State: 56:[16, 86], Operations: ['94/47=2', '88-2=86']
Exploring Operation: 86-16=70, Resulting Numbers: [70]
70,56 unequal: No Solution
Exploring Operation: 16*86=1376, Resulting Numbers: [1376]
1376,56 unequal: No Solution
Exploring Operation: 16+86=102, Resulting Numbers: [102]
102,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,0,3
Current State: 56:[88, 8], Operations: ['94/47=2', '16/2=8']
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,56 unequal: No Solution
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,56 unequal: No Solution
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,56 unequal: No Solution
Exploring Operation: 88/8=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,0,4
Current State: 56:[88, 14], Operations: ['94/47=2', '16-2=14']
Exploring Operation: 88+14=102, Resulting Numbers: [102]
102,56 unequal: No Solution
Exploring Operation: 88*14=1232, Resulting Numbers: [1232]
1232,56 unequal: No Solution
Exploring Operation: 88-14=74, Resulting Numbers: [74]
74,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,2
Current State: 56:[88, 16, 47], Operations: ['94-47=47']
Exploring Operation: 88-47=41, Resulting Numbers: [16, 41]
Generated Node #0,2,0: 56:[16, 41] Operation: 88-47=41
Exploring Operation: 88+16=104, Resulting Numbers: [47, 104]
Generated Node #0,2,1: 56:[47, 104] Operation: 88+16=104
Exploring Operation: 16+47=63, Resulting Numbers: [88, 63]
Generated Node #0,2,2: 56:[88, 63] Operation: 16+47=63
Exploring Operation: 47-16=31, Resulting Numbers: [88, 31]
Generated Node #0,2,3: 56:[88, 31] Operation: 47-16=31
Exploring Operation: 88-16=72, Resulting Numbers: [47, 72]
Generated Node #0,2,4: 56:[47, 72] Operation: 88-16=72
Moving to Node #0,2,0
Current State: 56:[16, 41], Operations: ['94-47=47', '88-47=41']
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 16*41=656, Resulting Numbers: [656]
656,56 unequal: No Solution
Exploring Operation: 16+41=57, Resulting Numbers: [57]
57,56 unequal: No Solution
Moving to Node #0,2,4
Current State: 56:[47, 72], Operations: ['94-47=47', '88-16=72']
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 47+72=119, Resulting Numbers: [119]
119,56 unequal: No Solution
Exploring Operation: 47*72=3384, Resulting Numbers: [3384]
3384,56 unequal: No Solution
Moving to Node #0,2,3
Current State: 56:[88, 31], Operations: ['94-47=47', '47-16=31']
Exploring Operation: 88*31=2728, Resulting Numbers: [2728]
2728,56 unequal: No Solution
Exploring Operation: 88+31=119, Resulting Numbers: [119]
119,56 unequal: No Solution
Exploring Operation: 88-31=57, Resulting Numbers: [57]
57,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[88, 63], Operations: ['94-47=47', '16+47=63']
Exploring Operation: 88+63=151, Resulting Numbers: [151]
151,56 unequal: No Solution
Exploring Operation: 88-63=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 88*63=5544, Resulting Numbers: [5544]
5544,56 unequal: No Solution
Moving to Node #0,2,1
Current State: 56:[47, 104], Operations: ['94-47=47', '88+16=104']
Exploring Operation: 104-47=57, Resulting Numbers: [57]
57,56 unequal: No Solution
Exploring Operation: 47+104=151, Resulting Numbers: [151]
151,56 unequal: No Solution
Exploring Operation: 47*104=4888, Resulting Numbers: [4888]
4888,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 56:[94, 16, 41], Operations: ['88-47=41']
Exploring Operation: 16+41=57, Resulting Numbers: [94, 57]
Generated Node #0,4,0: 56:[94, 57] Operation: 16+41=57
Exploring Operation: 41-16=25, Resulting Numbers: [94, 25]
Generated Node #0,4,1: 56:[94, 25] Operation: 41-16=25
Exploring Operation: 94+16=110, Resulting Numbers: [41, 110]
Generated Node #0,4,2: 56:[41, 110] Operation: 94+16=110
Exploring Operation: 94-16=78, Resulting Numbers: [41, 78]
Generated Node #0,4,3: 56:[41, 78] Operation: 94-16=78
Exploring Operation: 94-41=53, Resulting Numbers: [16, 53]
Generated Node #0,4,4: 56:[16, 53] Operation: 94-41=53
Moving to Node #0,4,4
Current State: 56:[16, 53], Operations: ['88-47=41', '94-41=53']
Exploring Operation: 16+53=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 16*53=848, Resulting Numbers: [848]
848,56 unequal: No Solution
Moving to Node #0,4,3
Current State: 56:[41, 78], Operations: ['88-47=41', '94-16=78']
Exploring Operation: 78-41=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 41+78=119, Resulting Numbers: [119]
119,56 unequal: No Solution
Exploring Operation: 41*78=3198, Resulting Numbers: [3198]
3198,56 unequal: No Solution
Moving to Node #0,4,0
Current State: 56:[94, 57], Operations: ['88-47=41', '16+41=57']
Exploring Operation: 94+57=151, Resulting Numbers: [151]
151,56 unequal: No Solution
Exploring Operation: 94-57=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 94*57=5358, Resulting Numbers: [5358]
5358,56 unequal: No Solution
Moving to Node #0,4,1
Current State: 56:[94, 25], Operations: ['88-47=41', '41-16=25']
Exploring Operation: 94-25=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Exploring Operation: 94*25=2350, Resulting Numbers: [2350]
2350,56 unequal: No Solution
Exploring Operation: 94+25=119, Resulting Numbers: [119]
119,56 unequal: No Solution
Moving to Node #0,4,2
Current State: 56:[41, 110], Operations: ['88-47=41', '94+16=110']
Exploring Operation: 41*110=4510, Resulting Numbers: [4510]
4510,56 unequal: No Solution
Exploring Operation: 110-41=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Exploring Operation: 41+110=151, Resulting Numbers: [151]
151,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[94, 47, 72], Operations: ['88-16=72']
Exploring Operation: 94-47=47, Resulting Numbers: [72, 47]
Generated Node #0,1,0: 56:[72, 47] Operation: 94-47=47
Exploring Operation: 94-72=22, Resulting Numbers: [47, 22]
Generated Node #0,1,1: 56:[47, 22] Operation: 94-72=22
Exploring Operation: 72-47=25, Resulting Numbers: [94, 25]
Generated Node #0,1,2: 56:[94, 25] Operation: 72-47=25
Exploring Operation: 94+47=141, Resulting Numbers: [72, 141]
Generated Node #0,1,3: 56:[72, 141] Operation: 94+47=141
Exploring Operation: 94/47=2, Resulting Numbers: [72, 2]
Generated Node #0,1,4: 56:[72, 2] Operation: 94/47=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[47, 22], Operations: ['88-16=72', '94-72=22']
Exploring Operation: 47*22=1034, Resulting Numbers: [1034]
1034,56 unequal: No Solution
Exploring Operation: 47+22=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,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,4
Current State: 56:[72, 2], Operations: ['88-16=72', '94/47=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,56 unequal: No Solution
Exploring Operation: 72*2=144, Resulting Numbers: [144]
144,56 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,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:[72, 47], Operations: ['88-16=72', '94-47=47']
Exploring Operation: 72*47=3384, Resulting Numbers: [3384]
3384,56 unequal: No Solution
Exploring Operation: 72+47=119, Resulting Numbers: [119]
119,56 unequal: No Solution
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 56:[94, 25], Operations: ['88-16=72', '72-47=25']
Exploring Operation: 94+25=119, Resulting Numbers: [119]
119,56 unequal: No Solution
Exploring Operation: 94*25=2350, Resulting Numbers: [2350]
2350,56 unequal: No Solution
Exploring Operation: 94-25=69, Resulting Numbers: [69]
69,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 56:[72, 141], Operations: ['88-16=72', '94+47=141']
Exploring Operation: 141-72=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Exploring Operation: 72*141=10152, Resulting Numbers: [10152]
10152,56 unequal: No Solution
Exploring Operation: 72+141=213, Resulting Numbers: [213]
213,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
No solution found.
| 0 | hs_5 | mult_heuristic |
[
98,
44,
6,
4
] | 58 | [
"98*4=392",
"392-44=348",
"348/6=58"
] | Current State: 58:[98, 44, 6, 4], Operations: []
Exploring Operation: 98*4=392, Resulting Numbers: [44, 6, 392]
Generated Node #2: [44, 6, 392] from Operation: 98*4=392
Current State: 58:[44, 6, 392], Operations: ['98*4=392']
Exploring Operation: 392-44=348, Resulting Numbers: [6, 348]
Generated Node #3: [6, 348] from Operation: 392-44=348
Current State: 58:[6, 348], Operations: ['98*4=392', '392-44=348']
Exploring Operation: 348/6=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[98, 44, 6, 4], Operations: []
Exploring Operation: 98-44=54, Resulting Numbers: [6, 4, 54]
Generated Node #0,0: 58:[6, 4, 54] Operation: 98-44=54
Exploring Operation: 98-6=92, Resulting Numbers: [44, 4, 92]
Generated Node #0,1: 58:[44, 4, 92] Operation: 98-6=92
Moving to Node #0,0
Current State: 58:[6, 4, 54], Operations: ['98-44=54']
Exploring Operation: 6-4=2, Resulting Numbers: [54, 2]
Generated Node #0,0,0: 58:[54, 2] Operation: 6-4=2
Exploring Operation: 6+54=60, Resulting Numbers: [4, 60]
Generated Node #0,0,1: 58:[4, 60] Operation: 6+54=60
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[54, 2], Operations: ['98-44=54', '6-4=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[4, 60], Operations: ['98-44=54', '6+54=60']
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,58 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,58 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: 58:[44, 4, 92], Operations: ['98-6=92']
Exploring Operation: 92-44=48, Resulting Numbers: [4, 48]
Generated Node #0,1,0: 58:[4, 48] Operation: 92-44=48
Exploring Operation: 92/4=23, Resulting Numbers: [44, 23]
Generated Node #0,1,1: 58:[44, 23] Operation: 92/4=23
Moving to Node #0,1,0
Current State: 58:[4, 48], Operations: ['98-6=92', '92-44=48']
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,58 unequal: No Solution
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[44, 23], Operations: ['98-6=92', '92/4=23']
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,58 unequal: No Solution
Exploring Operation: 44+23=67, Resulting Numbers: [67]
67,58 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
6,
83,
28,
14
] | 63 | [
"83-6=77",
"28-14=14",
"77-14=63"
] | Current State: 63:[6, 83, 28, 14], Operations: []
Exploring Operation: 83-6=77, Resulting Numbers: [28, 14, 77]
Generated Node #2: [28, 14, 77] from Operation: 83-6=77
Current State: 63:[28, 14, 77], Operations: ['83-6=77']
Exploring Operation: 28-14=14, Resulting Numbers: [77, 14]
Generated Node #3: [77, 14] from Operation: 28-14=14
Current State: 63:[77, 14], Operations: ['83-6=77', '28-14=14']
Exploring Operation: 77-14=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[6, 83, 28, 14], Operations: []
Exploring Operation: 28/14=2, Resulting Numbers: [6, 83, 2]
Generated Node #0,0: 63:[6, 83, 2] Operation: 28/14=2
Exploring Operation: 83-14=69, Resulting Numbers: [6, 28, 69]
Generated Node #0,1: 63:[6, 28, 69] Operation: 83-14=69
Exploring Operation: 83-28=55, Resulting Numbers: [6, 14, 55]
Generated Node #0,2: 63:[6, 14, 55] Operation: 83-28=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[6, 28, 69], Operations: ['83-14=69']
Exploring Operation: 69-6=63, Resulting Numbers: [28, 63]
Generated Node #0,1,0: 63:[28, 63] Operation: 69-6=63
Exploring Operation: 28-6=22, Resulting Numbers: [69, 22]
Generated Node #0,1,1: 63:[69, 22] Operation: 28-6=22
Exploring Operation: 6+28=34, Resulting Numbers: [69, 34]
Generated Node #0,1,2: 63:[69, 34] Operation: 6+28=34
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 63:[28, 63], Operations: ['83-14=69', '69-6=63']
Exploring Operation: 28+63=91, Resulting Numbers: [91]
91,63 unequal: No Solution
Exploring Operation: 63-28=35, Resulting Numbers: [35]
35,63 unequal: No Solution
Exploring Operation: 28*63=1764, Resulting Numbers: [1764]
1764,63 unequal: No Solution
No 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: 63:[69, 22], Operations: ['83-14=69', '28-6=22']
Exploring Operation: 69+22=91, Resulting Numbers: [91]
91,63 unequal: No Solution
Exploring Operation: 69*22=1518, Resulting Numbers: [1518]
1518,63 unequal: No Solution
Exploring Operation: 69-22=47, Resulting Numbers: [47]
47,63 unequal: No Solution
No 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: 63:[69, 34], Operations: ['83-14=69', '6+28=34']
Exploring Operation: 69+34=103, Resulting Numbers: [103]
103,63 unequal: No Solution
Exploring Operation: 69*34=2346, Resulting Numbers: [2346]
2346,63 unequal: No Solution
Exploring Operation: 69-34=35, Resulting Numbers: [35]
35,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[6, 14, 55], Operations: ['83-28=55']
Exploring Operation: 6+55=61, Resulting Numbers: [14, 61]
Generated Node #0,2,0: 63:[14, 61] Operation: 6+55=61
Exploring Operation: 6+14=20, Resulting Numbers: [55, 20]
Generated Node #0,2,1: 63:[55, 20] Operation: 6+14=20
Exploring Operation: 14+55=69, Resulting Numbers: [6, 69]
Generated Node #0,2,2: 63:[6, 69] Operation: 14+55=69
Moving to Node #0,2,0
Current State: 63:[14, 61], Operations: ['83-28=55', '6+55=61']
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,63 unequal: No Solution
Exploring Operation: 14*61=854, Resulting Numbers: [854]
854,63 unequal: No Solution
Exploring Operation: 14+61=75, Resulting Numbers: [75]
75,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[6, 69], Operations: ['83-28=55', '14+55=69']
Exploring Operation: 6+69=75, Resulting Numbers: [75]
75,63 unequal: No Solution
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[6, 83, 28, 14], Operations: []
Exploring Operation: 83-28=55, Resulting Numbers: [6, 14, 55]
Generated Node #0,2: 63:[6, 14, 55] Operation: 83-28=55
Moving to Node #0,2
Current State: 63:[6, 14, 55], Operations: ['83-28=55']
Exploring Operation: 14+55=69, Resulting Numbers: [6, 69]
Generated Node #0,2,2: 63:[6, 69] Operation: 14+55=69
Moving to Node #0,2,2
Current State: 63:[6, 69], Operations: ['83-28=55', '14+55=69']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | sum_heuristic |
[
57,
26,
41,
15
] | 26 | [
"57-41=16",
"16-15=1",
"26*1=26"
] | Current State: 26:[57, 26, 41, 15], Operations: []
Exploring Operation: 57-41=16, Resulting Numbers: [26, 15, 16]
Generated Node #2: [26, 15, 16] from Operation: 57-41=16
Current State: 26:[26, 15, 16], Operations: ['57-41=16']
Exploring Operation: 16-15=1, Resulting Numbers: [26, 1]
Generated Node #3: [26, 1] from Operation: 16-15=1
Current State: 26:[26, 1], Operations: ['57-41=16', '16-15=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[57, 26, 41, 15], Operations: []
Exploring Operation: 41-26=15, Resulting Numbers: [57, 15, 15]
Generated Node #0,0: 26:[57, 15, 15] Operation: 41-26=15
Exploring Operation: 57-26=31, Resulting Numbers: [41, 15, 31]
Generated Node #0,1: 26:[41, 15, 31] Operation: 57-26=31
Exploring Operation: 57-15=42, Resulting Numbers: [26, 41, 42]
Generated Node #0,2: 26:[26, 41, 42] Operation: 57-15=42
Exploring Operation: 41-15=26, Resulting Numbers: [57, 26, 26]
Generated Node #0,3: 26:[57, 26, 26] Operation: 41-15=26
Exploring Operation: 57-41=16, Resulting Numbers: [26, 15, 16]
Generated Node #0,4: 26:[26, 15, 16] Operation: 57-41=16
Start Sub Search at level 1: Moving to Node #0,4
Current State: 26:[26, 15, 16], Operations: ['57-41=16']
Exploring Operation: 26-15=11, Resulting Numbers: [16, 11]
Generated Node #0,4,0: 26:[16, 11] Operation: 26-15=11
Exploring Operation: 16-15=1, Resulting Numbers: [26, 1]
Generated Node #0,4,1: 26:[26, 1] Operation: 16-15=1
Exploring Operation: 26+15=41, Resulting Numbers: [16, 41]
Generated Node #0,4,2: 26:[16, 41] Operation: 26+15=41
Exploring Operation: 26-16=10, Resulting Numbers: [15, 10]
Generated Node #0,4,3: 26:[15, 10] Operation: 26-16=10
Exploring Operation: 15+16=31, Resulting Numbers: [26, 31]
Generated Node #0,4,4: 26:[26, 31] Operation: 15+16=31
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 26:[26, 1], Operations: ['57-41=16', '16-15=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[57, 26, 41, 15], Operations: []
Exploring Operation: 57-41=16, Resulting Numbers: [26, 15, 16]
Generated Node #0,4: 26:[26, 15, 16] Operation: 57-41=16
Moving to Node #0,4
Current State: 26:[26, 15, 16], Operations: ['57-41=16']
Exploring Operation: 16-15=1, Resulting Numbers: [26, 1]
Generated Node #0,4,1: 26:[26, 1] Operation: 16-15=1
Moving to Node #0,4,1
Current State: 26:[26, 1], Operations: ['57-41=16', '16-15=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
12,
26,
79,
2
] | 43 | [
"12+26=38",
"79+2=81",
"81-38=43"
] | Current State: 43:[12, 26, 79, 2], Operations: []
Exploring Operation: 12+26=38, Resulting Numbers: [79, 2, 38]
Generated Node #2: [79, 2, 38] from Operation: 12+26=38
Current State: 43:[79, 2, 38], Operations: ['12+26=38']
Exploring Operation: 79+2=81, Resulting Numbers: [38, 81]
Generated Node #3: [38, 81] from Operation: 79+2=81
Current State: 43:[38, 81], Operations: ['12+26=38', '79+2=81']
Exploring Operation: 81-38=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[12, 26, 79, 2], Operations: []
Exploring Operation: 12*2=24, Resulting Numbers: [26, 79, 24]
Generated Node #0,0: 43:[26, 79, 24] Operation: 12*2=24
Exploring Operation: 26*2=52, Resulting Numbers: [12, 79, 52]
Generated Node #0,1: 43:[12, 79, 52] Operation: 26*2=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[26, 79, 24], Operations: ['12*2=24']
Exploring Operation: 79-26=53, Resulting Numbers: [24, 53]
Generated Node #0,0,0: 43:[24, 53] Operation: 79-26=53
Exploring Operation: 79-24=55, Resulting Numbers: [26, 55]
Generated Node #0,0,1: 43:[26, 55] Operation: 79-24=55
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[24, 53], Operations: ['12*2=24', '79-26=53']
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 24+53=77, Resulting Numbers: [77]
77,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[26, 55], Operations: ['12*2=24', '79-24=55']
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 26+55=81, Resulting Numbers: [81]
81,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[12, 79, 52], Operations: ['26*2=52']
Exploring Operation: 52-12=40, Resulting Numbers: [79, 40]
Generated Node #0,1,0: 43:[79, 40] Operation: 52-12=40
Exploring Operation: 79-12=67, Resulting Numbers: [52, 67]
Generated Node #0,1,1: 43:[52, 67] Operation: 79-12=67
Moving to Node #0,1,1
Current State: 43:[52, 67], Operations: ['26*2=52', '79-12=67']
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,43 unequal: No Solution
Exploring Operation: 52+67=119, Resulting Numbers: [119]
119,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[79, 40], Operations: ['26*2=52', '52-12=40']
Exploring Operation: 79-40=39, Resulting Numbers: [39]
39,43 unequal: No Solution
Exploring Operation: 79+40=119, Resulting Numbers: [119]
119,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
15,
7,
72,
2
] | 12 | [
"15-7=8",
"8-2=6",
"72/6=12"
] | Current State: 12:[15, 7, 72, 2], Operations: []
Exploring Operation: 15-7=8, Resulting Numbers: [72, 2, 8]
Generated Node #2: [72, 2, 8] from Operation: 15-7=8
Current State: 12:[72, 2, 8], Operations: ['15-7=8']
Exploring Operation: 8-2=6, Resulting Numbers: [72, 6]
Generated Node #3: [72, 6] from Operation: 8-2=6
Current State: 12:[72, 6], Operations: ['15-7=8', '8-2=6']
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[15, 7, 72, 2], Operations: []
Exploring Operation: 15-2=13, Resulting Numbers: [7, 72, 13]
Generated Node #0,0: 12:[7, 72, 13] Operation: 15-2=13
Exploring Operation: 72-15=57, Resulting Numbers: [7, 2, 57]
Generated Node #0,1: 12:[7, 2, 57] Operation: 72-15=57
Exploring Operation: 15-7=8, Resulting Numbers: [72, 2, 8]
Generated Node #0,2: 12:[72, 2, 8] Operation: 15-7=8
Exploring Operation: 72/2=36, Resulting Numbers: [15, 7, 36]
Generated Node #0,3: 12:[15, 7, 36] Operation: 72/2=36
Exploring Operation: 72-7=65, Resulting Numbers: [15, 2, 65]
Generated Node #0,4: 12:[15, 2, 65] Operation: 72-7=65
Moving to Node #0,3
Current State: 12:[15, 7, 36], Operations: ['72/2=36']
Exploring Operation: 36-7=29, Resulting Numbers: [15, 29]
Generated Node #0,3,0: 12:[15, 29] Operation: 36-7=29
Exploring Operation: 7+36=43, Resulting Numbers: [15, 43]
Generated Node #0,3,1: 12:[15, 43] Operation: 7+36=43
Exploring Operation: 15+7=22, Resulting Numbers: [36, 22]
Generated Node #0,3,2: 12:[36, 22] Operation: 15+7=22
Exploring Operation: 36-15=21, Resulting Numbers: [7, 21]
Generated Node #0,3,3: 12:[7, 21] Operation: 36-15=21
Exploring Operation: 15-7=8, Resulting Numbers: [36, 8]
Generated Node #0,3,4: 12:[36, 8] Operation: 15-7=8
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 12:[7, 21], Operations: ['72/2=36', '36-15=21']
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 7*21=147, Resulting Numbers: [147]
147,12 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 12:[15, 29], Operations: ['72/2=36', '36-7=29']
Exploring Operation: 15*29=435, Resulting Numbers: [435]
435,12 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,12 unequal: No Solution
Exploring Operation: 15+29=44, Resulting Numbers: [44]
44,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 12:[36, 8], Operations: ['72/2=36', '15-7=8']
Exploring Operation: 36*8=288, Resulting Numbers: [288]
288,12 unequal: No Solution
Exploring Operation: 36+8=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 12:[15, 43], Operations: ['72/2=36', '7+36=43']
Exploring Operation: 15*43=645, Resulting Numbers: [645]
645,12 unequal: No Solution
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 15+43=58, Resulting Numbers: [58]
58,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 12:[36, 22], Operations: ['72/2=36', '15+7=22']
Exploring Operation: 36+22=58, Resulting Numbers: [58]
58,12 unequal: No Solution
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,12 unequal: No Solution
Exploring Operation: 36*22=792, Resulting Numbers: [792]
792,12 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: 12:[7, 2, 57], Operations: ['72-15=57']
Exploring Operation: 57-2=55, Resulting Numbers: [7, 55]
Generated Node #0,1,0: 12:[7, 55] Operation: 57-2=55
Exploring Operation: 7*2=14, Resulting Numbers: [57, 14]
Generated Node #0,1,1: 12:[57, 14] Operation: 7*2=14
Exploring Operation: 7-2=5, Resulting Numbers: [57, 5]
Generated Node #0,1,2: 12:[57, 5] Operation: 7-2=5
Exploring Operation: 57-7=50, Resulting Numbers: [2, 50]
Generated Node #0,1,3: 12:[2, 50] Operation: 57-7=50
Exploring Operation: 7+2=9, Resulting Numbers: [57, 9]
Generated Node #0,1,4: 12:[57, 9] Operation: 7+2=9
Moving to Node #0,4
Current State: 12:[15, 2, 65], Operations: ['72-7=65']
Exploring Operation: 2+65=67, Resulting Numbers: [15, 67]
Generated Node #0,4,0: 12:[15, 67] Operation: 2+65=67
Exploring Operation: 15+2=17, Resulting Numbers: [65, 17]
Generated Node #0,4,1: 12:[65, 17] Operation: 15+2=17
Exploring Operation: 15-2=13, Resulting Numbers: [65, 13]
Generated Node #0,4,2: 12:[65, 13] Operation: 15-2=13
Exploring Operation: 65-2=63, Resulting Numbers: [15, 63]
Generated Node #0,4,3: 12:[15, 63] Operation: 65-2=63
Exploring Operation: 65-15=50, Resulting Numbers: [2, 50]
Generated Node #0,4,4: 12:[2, 50] Operation: 65-15=50
Moving to Node #0,0
Current State: 12:[7, 72, 13], Operations: ['15-2=13']
Exploring Operation: 13-7=6, Resulting Numbers: [72, 6]
Generated Node #0,0,0: 12:[72, 6] Operation: 13-7=6
Exploring Operation: 7+72=79, Resulting Numbers: [13, 79]
Generated Node #0,0,1: 12:[13, 79] Operation: 7+72=79
Exploring Operation: 72-7=65, Resulting Numbers: [13, 65]
Generated Node #0,0,2: 12:[13, 65] Operation: 72-7=65
Exploring Operation: 72-13=59, Resulting Numbers: [7, 59]
Generated Node #0,0,3: 12:[7, 59] Operation: 72-13=59
Exploring Operation: 7+13=20, Resulting Numbers: [72, 20]
Generated Node #0,0,4: 12:[72, 20] Operation: 7+13=20
Moving to Node #0,2
Current State: 12:[72, 2, 8], Operations: ['15-7=8']
Exploring Operation: 8-2=6, Resulting Numbers: [72, 6]
Generated Node #0,2,0: 12:[72, 6] Operation: 8-2=6
Exploring Operation: 72-2=70, Resulting Numbers: [8, 70]
Generated Node #0,2,1: 12:[8, 70] Operation: 72-2=70
Exploring Operation: 72/2=36, Resulting Numbers: [8, 36]
Generated Node #0,2,2: 12:[8, 36] Operation: 72/2=36
Exploring Operation: 72/8=9, Resulting Numbers: [2, 9]
Generated Node #0,2,3: 12:[2, 9] Operation: 72/8=9
Exploring Operation: 72-8=64, Resulting Numbers: [2, 64]
Generated Node #0,2,4: 12:[2, 64] Operation: 72-8=64
Moving to Node #0,2,3
Current State: 12:[2, 9], Operations: ['15-7=8', '72/8=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[8, 36], Operations: ['15-7=8', '72/2=36']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,12 unequal: No Solution
Moving to Node #0,4,4
Current State: 12:[2, 50], Operations: ['72-7=65', '65-15=50']
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,12 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Moving to Node #0,1,3
Current State: 12:[2, 50], Operations: ['72-15=57', '57-7=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,12 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[7, 55], Operations: ['72-15=57', '57-2=55']
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 7+55=62, Resulting Numbers: [62]
62,12 unequal: No Solution
Exploring Operation: 7*55=385, Resulting Numbers: [385]
385,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[57, 5], Operations: ['72-15=57', '7-2=5']
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,12 unequal: No Solution
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,12 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[57, 14], Operations: ['72-15=57', '7*2=14']
Exploring Operation: 57*14=798, Resulting Numbers: [798]
798,12 unequal: No Solution
Exploring Operation: 57+14=71, Resulting Numbers: [71]
71,12 unequal: No Solution
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Moving to Node #0,1,4
Current State: 12:[57, 9], Operations: ['72-15=57', '7+2=9']
Exploring Operation: 57+9=66, Resulting Numbers: [66]
66,12 unequal: No Solution
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 57*9=513, Resulting Numbers: [513]
513,12 unequal: No Solution
Moving to Node #0,0,3
Current State: 12:[7, 59], Operations: ['15-2=13', '72-13=59']
Exploring Operation: 7*59=413, Resulting Numbers: [413]
413,12 unequal: No Solution
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 7+59=66, Resulting Numbers: [66]
66,12 unequal: No Solution
Moving to Node #0,2,4
Current State: 12:[2, 64], Operations: ['15-7=8', '72-8=64']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,12 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,12 unequal: No Solution
Exploring Operation: 2*64=128, Resulting Numbers: [128]
128,12 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Moving to Node #0,4,2
Current State: 12:[65, 13], Operations: ['72-7=65', '15-2=13']
Exploring Operation: 65*13=845, Resulting Numbers: [845]
845,12 unequal: No Solution
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 65+13=78, Resulting Numbers: [78]
78,12 unequal: No Solution
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[13, 65], Operations: ['15-2=13', '72-7=65']
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 13+65=78, Resulting Numbers: [78]
78,12 unequal: No Solution
Exploring Operation: 13*65=845, Resulting Numbers: [845]
845,12 unequal: No Solution
Moving to Node #0,4,3
Current State: 12:[15, 63], Operations: ['72-7=65', '65-2=63']
Exploring Operation: 15+63=78, Resulting Numbers: [78]
78,12 unequal: No Solution
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 15*63=945, Resulting Numbers: [945]
945,12 unequal: No Solution
Moving to Node #0,4,0
Current State: 12:[15, 67], Operations: ['72-7=65', '2+65=67']
Exploring Operation: 15*67=1005, Resulting Numbers: [1005]
1005,12 unequal: No Solution
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 15+67=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Moving to Node #0,4,1
Current State: 12:[65, 17], Operations: ['72-7=65', '15+2=17']
Exploring Operation: 65*17=1105, Resulting Numbers: [1105]
1105,12 unequal: No Solution
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 65+17=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[72, 6], Operations: ['15-2=13', '13-7=6']
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,12 unequal: No Solution
Exploring Operation: 72*6=432, Resulting Numbers: [432]
432,12 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[15, 7, 72, 2], Operations: []
Exploring Operation: 15-2=13, Resulting Numbers: [7, 72, 13]
Generated Node #0,0: 12:[7, 72, 13] Operation: 15-2=13
Moving to Node #0,0
Current State: 12:[7, 72, 13], Operations: ['15-2=13']
Exploring Operation: 13-7=6, Resulting Numbers: [72, 6]
Generated Node #0,0,0: 12:[72, 6] Operation: 13-7=6
Moving to Node #0,0,0
Current State: 12:[72, 6], Operations: ['15-2=13', '13-7=6']
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.91059 | hs_5 | mult_heuristic |
[
75,
6,
99,
71
] | 53 | [
"75+6=81",
"99-71=28",
"81-28=53"
] | Current State: 53:[75, 6, 99, 71], Operations: []
Exploring Operation: 75+6=81, Resulting Numbers: [99, 71, 81]
Generated Node #2: [99, 71, 81] from Operation: 75+6=81
Current State: 53:[99, 71, 81], Operations: ['75+6=81']
Exploring Operation: 99-71=28, Resulting Numbers: [81, 28]
Generated Node #3: [81, 28] from Operation: 99-71=28
Current State: 53:[81, 28], Operations: ['75+6=81', '99-71=28']
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[75, 6, 99, 71], Operations: []
Exploring Operation: 75-6=69, Resulting Numbers: [99, 71, 69]
Generated Node #0,0: 53:[99, 71, 69] Operation: 75-6=69
Moving to Node #0,0
Current State: 53:[99, 71, 69], Operations: ['75-6=69']
Exploring Operation: 99-71=28, Resulting Numbers: [69, 28]
Generated Node #0,0,0: 53:[69, 28] Operation: 99-71=28
Moving to Node #0,0,0
Current State: 53:[69, 28], Operations: ['75-6=69', '99-71=28']
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,53 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
73,
39,
35,
76
] | 78 | [
"73-35=38",
"39*76=2964",
"2964/38=78"
] | Current State: 78:[73, 39, 35, 76], Operations: []
Exploring Operation: 73-35=38, Resulting Numbers: [39, 76, 38]
Generated Node #2: [39, 76, 38] from Operation: 73-35=38
Current State: 78:[39, 76, 38], Operations: ['73-35=38']
Exploring Operation: 39*76=2964, Resulting Numbers: [38, 2964]
Generated Node #3: [38, 2964] from Operation: 39*76=2964
Current State: 78:[38, 2964], Operations: ['73-35=38', '39*76=2964']
Exploring Operation: 2964/38=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[73, 39, 35, 76], Operations: []
Exploring Operation: 73-35=38, Resulting Numbers: [39, 76, 38]
Generated Node #0,0: 78:[39, 76, 38] Operation: 73-35=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[39, 76, 38], Operations: ['73-35=38']
Exploring Operation: 76/38=2, Resulting Numbers: [39, 2]
Generated Node #0,0,0: 78:[39, 2] Operation: 76/38=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[39, 2], Operations: ['73-35=38', '76/38=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[73, 39, 35, 76], Operations: []
Exploring Operation: 73-35=38, Resulting Numbers: [39, 76, 38]
Generated Node #0,0: 78:[39, 76, 38] Operation: 73-35=38
Moving to Node #0,0
Current State: 78:[39, 76, 38], Operations: ['73-35=38']
Exploring Operation: 76/38=2, Resulting Numbers: [39, 2]
Generated Node #0,0,0: 78:[39, 2] Operation: 76/38=2
Moving to Node #0,0,0
Current State: 78:[39, 2], Operations: ['73-35=38', '76/38=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
10,
9,
84,
4
] | 21 | [
"10-9=1",
"84/4=21",
"1*21=21"
] | Current State: 21:[10, 9, 84, 4], Operations: []
Exploring Operation: 10-9=1, Resulting Numbers: [84, 4, 1]
Generated Node #2: [84, 4, 1] from Operation: 10-9=1
Current State: 21:[84, 4, 1], Operations: ['10-9=1']
Exploring Operation: 84/4=21, Resulting Numbers: [1, 21]
Generated Node #3: [1, 21] from Operation: 84/4=21
Current State: 21:[1, 21], Operations: ['10-9=1', '84/4=21']
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[10, 9, 84, 4], Operations: []
Exploring Operation: 84-9=75, Resulting Numbers: [10, 4, 75]
Generated Node #0,0: 21:[10, 4, 75] Operation: 84-9=75
Exploring Operation: 84-10=74, Resulting Numbers: [9, 4, 74]
Generated Node #0,1: 21:[9, 4, 74] Operation: 84-10=74
Exploring Operation: 84-4=80, Resulting Numbers: [10, 9, 80]
Generated Node #0,2: 21:[10, 9, 80] Operation: 84-4=80
Exploring Operation: 10+9=19, Resulting Numbers: [84, 4, 19]
Generated Node #0,3: 21:[84, 4, 19] Operation: 10+9=19
Exploring Operation: 84/4=21, Resulting Numbers: [10, 9, 21]
Generated Node #0,4: 21:[10, 9, 21] Operation: 84/4=21
Start Sub Search at level 1: Moving to Node #0,4
Current State: 21:[10, 9, 21], Operations: ['84/4=21']
Exploring Operation: 10-9=1, Resulting Numbers: [21, 1]
Generated Node #0,4,0: 21:[21, 1] Operation: 10-9=1
Exploring Operation: 10+21=31, Resulting Numbers: [9, 31]
Generated Node #0,4,1: 21:[9, 31] Operation: 10+21=31
Exploring Operation: 10+9=19, Resulting Numbers: [21, 19]
Generated Node #0,4,2: 21:[21, 19] Operation: 10+9=19
Exploring Operation: 21-9=12, Resulting Numbers: [10, 12]
Generated Node #0,4,3: 21:[10, 12] Operation: 21-9=12
Exploring Operation: 21-10=11, Resulting Numbers: [9, 11]
Generated Node #0,4,4: 21:[9, 11] Operation: 21-10=11
Moving to Node #0,4,0
Current State: 21:[21, 1], Operations: ['84/4=21', '10-9=1']
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[10, 9, 84, 4], Operations: []
Exploring Operation: 84/4=21, Resulting Numbers: [10, 9, 21]
Generated Node #0,4: 21:[10, 9, 21] Operation: 84/4=21
Moving to Node #0,4
Current State: 21:[10, 9, 21], Operations: ['84/4=21']
Exploring Operation: 10-9=1, Resulting Numbers: [21, 1]
Generated Node #0,4,0: 21:[21, 1] Operation: 10-9=1
Moving to Node #0,4,0
Current State: 21:[21, 1], Operations: ['84/4=21', '10-9=1']
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
84,
84,
4,
99
] | 24 | [
"99-84=15",
"4*15=60",
"84-60=24"
] | Current State: 24:[84, 84, 4, 99], Operations: []
Exploring Operation: 99-84=15, Resulting Numbers: [4, 15]
Generated Node #2: [4, 15] from Operation: 99-84=15
Current State: 24:[4, 15], Operations: ['99-84=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,24 equal: Goal Reached
Exploring Operation: 84-60=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[84, 84, 4, 99], Operations: []
Exploring Operation: 84/84=1, Resulting Numbers: [4, 99, 1]
Generated Node #0,0: 24:[4, 99, 1] Operation: 84/84=1
Exploring Operation: 99-84=15, Resulting Numbers: [84, 4, 15]
Generated Node #0,1: 24:[84, 4, 15] Operation: 99-84=15
Exploring Operation: 99-84=15, Resulting Numbers: [84, 4, 15]
Generated Node #0,2: 24:[84, 4, 15] Operation: 99-84=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[84, 4, 15], Operations: ['99-84=15']
Exploring Operation: 84-4=80, Resulting Numbers: [15, 80]
Generated Node #0,1,0: 24:[15, 80] Operation: 84-4=80
Exploring Operation: 84-15=69, Resulting Numbers: [4, 69]
Generated Node #0,1,1: 24:[4, 69] Operation: 84-15=69
Exploring Operation: 84/4=21, Resulting Numbers: [15, 21]
Generated Node #0,1,2: 24:[15, 21] Operation: 84/4=21
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 24:[15, 21], Operations: ['99-84=15', '84/4=21']
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 15*21=315, Resulting Numbers: [315]
315,24 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 24:[4, 69], Operations: ['99-84=15', '84-15=69']
Exploring Operation: 4*69=276, Resulting Numbers: [276]
276,24 unequal: No Solution
Exploring Operation: 4+69=73, Resulting Numbers: [73]
73,24 unequal: No Solution
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 24:[15, 80], Operations: ['99-84=15', '84-4=80']
Exploring Operation: 80-15=65, Resulting Numbers: [65]
65,24 unequal: No Solution
Exploring Operation: 15+80=95, Resulting Numbers: [95]
95,24 unequal: No Solution
Exploring Operation: 15*80=1200, Resulting Numbers: [1200]
1200,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[84, 4, 15], Operations: ['99-84=15']
Exploring Operation: 84/4=21, Resulting Numbers: [15, 21]
Generated Node #0,2,0: 24:[15, 21] Operation: 84/4=21
Exploring Operation: 84-4=80, Resulting Numbers: [15, 80]
Generated Node #0,2,1: 24:[15, 80] Operation: 84-4=80
Exploring Operation: 84-15=69, Resulting Numbers: [4, 69]
Generated Node #0,2,2: 24:[4, 69] Operation: 84-15=69
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 24:[15, 21], Operations: ['99-84=15', '84/4=21']
Exploring Operation: 15*21=315, Resulting Numbers: [315]
315,24 unequal: No Solution
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 24:[4, 69], Operations: ['99-84=15', '84-15=69']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,24 unequal: No Solution
Exploring Operation: 4*69=276, Resulting Numbers: [276]
276,24 unequal: No Solution
Exploring Operation: 4+69=73, Resulting Numbers: [73]
73,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 24:[15, 80], Operations: ['99-84=15', '84-4=80']
Exploring Operation: 80-15=65, Resulting Numbers: [65]
65,24 unequal: No Solution
Exploring Operation: 15*80=1200, Resulting Numbers: [1200]
1200,24 unequal: No Solution
Exploring Operation: 15+80=95, Resulting Numbers: [95]
95,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[4, 99, 1], Operations: ['84/84=1']
Exploring Operation: 99-1=98, Resulting Numbers: [4, 98]
Generated Node #0,0,0: 24:[4, 98] Operation: 99-1=98
Exploring Operation: 4*1=4, Resulting Numbers: [99, 4]
Generated Node #0,0,1: 24:[99, 4] Operation: 4*1=4
Exploring Operation: 99-4=95, Resulting Numbers: [1, 95]
Generated Node #0,0,2: 24:[1, 95] Operation: 99-4=95
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 24:[1, 95], Operations: ['84/84=1', '99-4=95']
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,24 unequal: No Solution
Exploring Operation: 1*95=95, Resulting Numbers: [95]
95,24 unequal: No Solution
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[4, 98], Operations: ['84/84=1', '99-1=98']
Exploring Operation: 4+98=102, Resulting Numbers: [102]
102,24 unequal: No Solution
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,24 unequal: No Solution
Exploring Operation: 4*98=392, Resulting Numbers: [392]
392,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 24:[99, 4], Operations: ['84/84=1', '4*1=4']
Exploring Operation: 99*4=396, Resulting Numbers: [396]
396,24 unequal: No Solution
Exploring Operation: 99+4=103, Resulting Numbers: [103]
103,24 unequal: No Solution
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
63,
7,
83,
72
] | 81 | [
"63+7=70",
"83-72=11",
"70+11=81"
] | Current State: 81:[63, 7, 83, 72], Operations: []
Exploring Operation: 63+7=70, Resulting Numbers: [83, 72, 70]
Generated Node #2: [83, 72, 70] from Operation: 63+7=70
Current State: 81:[83, 72, 70], Operations: ['63+7=70']
Exploring Operation: 83-72=11, Resulting Numbers: [70, 11]
Generated Node #3: [70, 11] from Operation: 83-72=11
Current State: 81:[70, 11], Operations: ['63+7=70', '83-72=11']
Exploring Operation: 70+11=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[63, 7, 83, 72], Operations: []
Exploring Operation: 63/7=9, Resulting Numbers: [83, 72, 9]
Generated Node #0,0: 81:[83, 72, 9] Operation: 63/7=9
Exploring Operation: 72-63=9, Resulting Numbers: [7, 83, 9]
Generated Node #0,1: 81:[7, 83, 9] Operation: 72-63=9
Moving to Node #0,1
Current State: 81:[7, 83, 9], Operations: ['72-63=9']
Exploring Operation: 83-7=76, Resulting Numbers: [9, 76]
Generated Node #0,1,0: 81:[9, 76] Operation: 83-7=76
Exploring Operation: 9-7=2, Resulting Numbers: [83, 2]
Generated Node #0,1,1: 81:[83, 2] Operation: 9-7=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[83, 2], Operations: ['72-63=9', '9-7=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[63, 7, 83, 72], Operations: []
Exploring Operation: 72-63=9, Resulting Numbers: [7, 83, 9]
Generated Node #0,1: 81:[7, 83, 9] Operation: 72-63=9
Moving to Node #0,1
Current State: 81:[7, 83, 9], Operations: ['72-63=9']
Exploring Operation: 9-7=2, Resulting Numbers: [83, 2]
Generated Node #0,1,1: 81:[83, 2] Operation: 9-7=2
Moving to Node #0,1,1
Current State: 81:[83, 2], Operations: ['72-63=9', '9-7=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
6,
59,
55,
36
] | 38 | [
"59-6=53",
"55+36=91",
"91-53=38"
] | Current State: 38:[6, 59, 55, 36], Operations: []
Exploring Operation: 59-6=53, Resulting Numbers: [55, 36, 53]
Generated Node #2: [55, 36, 53] from Operation: 59-6=53
Current State: 38:[55, 36, 53], Operations: ['59-6=53']
Exploring Operation: 55+36=91, Resulting Numbers: [53, 91]
Generated Node #3: [53, 91] from Operation: 55+36=91
Current State: 38:[53, 91], Operations: ['59-6=53', '55+36=91']
Exploring Operation: 91-53=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[6, 59, 55, 36], Operations: []
Exploring Operation: 59-36=23, Resulting Numbers: [6, 55, 23]
Generated Node #0,0: 38:[6, 55, 23] Operation: 59-36=23
Exploring Operation: 59-55=4, Resulting Numbers: [6, 36, 4]
Generated Node #0,1: 38:[6, 36, 4] Operation: 59-55=4
Moving to Node #0,1
Current State: 38:[6, 36, 4], Operations: ['59-55=4']
Exploring Operation: 6+36=42, Resulting Numbers: [4, 42]
Generated Node #0,1,0: 38:[4, 42] Operation: 6+36=42
Exploring Operation: 6-4=2, Resulting Numbers: [36, 2]
Generated Node #0,1,1: 38:[36, 2] Operation: 6-4=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[36, 2], Operations: ['59-55=4', '6-4=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[6, 59, 55, 36], Operations: []
Exploring Operation: 59-55=4, Resulting Numbers: [6, 36, 4]
Generated Node #0,1: 38:[6, 36, 4] Operation: 59-55=4
Moving to Node #0,1
Current State: 38:[6, 36, 4], Operations: ['59-55=4']
Exploring Operation: 6-4=2, Resulting Numbers: [36, 2]
Generated Node #0,1,1: 38:[36, 2] Operation: 6-4=2
Moving to Node #0,1,1
Current State: 38:[36, 2], Operations: ['59-55=4', '6-4=2']
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
50,
31,
37,
5
] | 58 | [
"50-31=19",
"5*19=95",
"95-37=58"
] | Current State: 58:[50, 31, 37, 5], Operations: []
Exploring Operation: 50-31=19, Resulting Numbers: [37, 5, 19]
Generated Node #2: [37, 5, 19] from Operation: 50-31=19
Current State: 58:[37, 5, 19], Operations: ['50-31=19']
Exploring Operation: 5*19=95, Resulting Numbers: [37, 95]
Generated Node #3: [37, 95] from Operation: 5*19=95
Current State: 58:[37, 95], Operations: ['50-31=19', '5*19=95']
Exploring Operation: 95-37=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[50, 31, 37, 5], Operations: []
Exploring Operation: 50+5=55, Resulting Numbers: [31, 37, 55]
Generated Node #0,0: 58:[31, 37, 55] Operation: 50+5=55
Exploring Operation: 37-5=32, Resulting Numbers: [50, 31, 32]
Generated Node #0,1: 58:[50, 31, 32] Operation: 37-5=32
Exploring Operation: 37-31=6, Resulting Numbers: [50, 5, 6]
Generated Node #0,2: 58:[50, 5, 6] Operation: 37-31=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[31, 37, 55], Operations: ['50+5=55']
Exploring Operation: 55-31=24, Resulting Numbers: [37, 24]
Generated Node #0,0,0: 58:[37, 24] Operation: 55-31=24
Exploring Operation: 31+37=68, Resulting Numbers: [55, 68]
Generated Node #0,0,1: 58:[55, 68] Operation: 31+37=68
Exploring Operation: 37-31=6, Resulting Numbers: [55, 6]
Generated Node #0,0,2: 58:[55, 6] Operation: 37-31=6
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 58:[55, 6], Operations: ['50+5=55', '37-31=6']
Exploring Operation: 55*6=330, Resulting Numbers: [330]
330,58 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,58 unequal: No Solution
No 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: 58:[37, 24], Operations: ['50+5=55', '55-31=24']
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Exploring Operation: 37*24=888, Resulting Numbers: [888]
888,58 unequal: No Solution
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,58 unequal: No Solution
No 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: 58:[55, 68], Operations: ['50+5=55', '31+37=68']
Exploring Operation: 55+68=123, Resulting Numbers: [123]
123,58 unequal: No Solution
Exploring Operation: 55*68=3740, Resulting Numbers: [3740]
3740,58 unequal: No Solution
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[50, 31, 32], Operations: ['37-5=32']
Exploring Operation: 32-31=1, Resulting Numbers: [50, 1]
Generated Node #0,1,0: 58:[50, 1] Operation: 32-31=1
Exploring Operation: 50-31=19, Resulting Numbers: [32, 19]
Generated Node #0,1,1: 58:[32, 19] Operation: 50-31=19
Exploring Operation: 50-32=18, Resulting Numbers: [31, 18]
Generated Node #0,1,2: 58:[31, 18] Operation: 50-32=18
Moving to Node #0,1,0
Current State: 58:[50, 1], Operations: ['37-5=32', '32-31=1']
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,58 unequal: No Solution
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,58 unequal: No Solution
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[32, 19], Operations: ['37-5=32', '50-31=19']
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,58 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[31, 18], Operations: ['37-5=32', '50-32=18']
Exploring Operation: 31*18=558, Resulting Numbers: [558]
558,58 unequal: No Solution
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[50, 5, 6], Operations: ['37-31=6']
Exploring Operation: 50+5=55, Resulting Numbers: [6, 55]
Generated Node #0,2,0: 58:[6, 55] Operation: 50+5=55
Exploring Operation: 50+6=56, Resulting Numbers: [5, 56]
Generated Node #0,2,1: 58:[5, 56] Operation: 50+6=56
Exploring Operation: 5*6=30, Resulting Numbers: [50, 30]
Generated Node #0,2,2: 58:[50, 30] Operation: 5*6=30
Moving to Node #0,2,1
Current State: 58:[5, 56], Operations: ['37-31=6', '50+6=56']
Exploring Operation: 5+56=61, Resulting Numbers: [61]
61,58 unequal: No Solution
Exploring Operation: 5*56=280, Resulting Numbers: [280]
280,58 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,58 unequal: No Solution
Moving to Node #0,2,0
Current State: 58:[6, 55], Operations: ['37-31=6', '50+5=55']
Exploring Operation: 6+55=61, Resulting Numbers: [61]
61,58 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 6*55=330, Resulting Numbers: [330]
330,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[50, 30], Operations: ['37-31=6', '5*6=30']
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,58 unequal: No Solution
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,58 unequal: No Solution
Exploring Operation: 50*30=1500, Resulting Numbers: [1500]
1500,58 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 |
[
49,
15,
44,
20
] | 19 | [
"49-44=5",
"20/5=4",
"15+4=19"
] | Current State: 19:[49, 15, 44, 20], Operations: []
Exploring Operation: 49-44=5, Resulting Numbers: [15, 20, 5]
Generated Node #2: [15, 20, 5] from Operation: 49-44=5
Current State: 19:[15, 20, 5], Operations: ['49-44=5']
Exploring Operation: 20/5=4, Resulting Numbers: [15, 4]
Generated Node #3: [15, 4] from Operation: 20/5=4
Current State: 19:[15, 4], Operations: ['49-44=5', '20/5=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[49, 15, 44, 20], Operations: []
Exploring Operation: 49-44=5, Resulting Numbers: [15, 20, 5]
Generated Node #0,0: 19:[15, 20, 5] Operation: 49-44=5
Moving to Node #0,0
Current State: 19:[15, 20, 5], Operations: ['49-44=5']
Exploring Operation: 15+5=20, Resulting Numbers: [20, 20]
Generated Node #0,0,0: 19:[20, 20] Operation: 15+5=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[20, 20], Operations: ['49-44=5', '15+5=20']
Exploring Operation: 20/20=1, Resulting Numbers: [1]
1,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 |
[
48,
31,
33,
20
] | 14 | [
"48-20=28",
"33-31=2",
"28/2=14"
] | Current State: 14:[48, 31, 33, 20], Operations: []
Exploring Operation: 48-20=28, Resulting Numbers: [31, 33, 28]
Generated Node #2: [31, 33, 28] from Operation: 48-20=28
Current State: 14:[31, 33, 28], Operations: ['48-20=28']
Exploring Operation: 33-31=2, Resulting Numbers: [28, 2]
Generated Node #3: [28, 2] from Operation: 33-31=2
Current State: 14:[28, 2], Operations: ['48-20=28', '33-31=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[48, 31, 33, 20], Operations: []
Exploring Operation: 48-20=28, Resulting Numbers: [31, 33, 28]
Generated Node #0,0: 14:[31, 33, 28] Operation: 48-20=28
Exploring Operation: 48-33=15, Resulting Numbers: [31, 20, 15]
Generated Node #0,1: 14:[31, 20, 15] Operation: 48-33=15
Exploring Operation: 33-20=13, Resulting Numbers: [48, 31, 13]
Generated Node #0,2: 14:[48, 31, 13] Operation: 33-20=13
Exploring Operation: 48-31=17, Resulting Numbers: [33, 20, 17]
Generated Node #0,3: 14:[33, 20, 17] Operation: 48-31=17
Exploring Operation: 33-31=2, Resulting Numbers: [48, 20, 2]
Generated Node #0,4: 14:[48, 20, 2] Operation: 33-31=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[31, 20, 15], Operations: ['48-33=15']
Exploring Operation: 31+15=46, Resulting Numbers: [20, 46]
Generated Node #0,1,0: 14:[20, 46] Operation: 31+15=46
Exploring Operation: 31+20=51, Resulting Numbers: [15, 51]
Generated Node #0,1,1: 14:[15, 51] Operation: 31+20=51
Exploring Operation: 31-15=16, Resulting Numbers: [20, 16]
Generated Node #0,1,2: 14:[20, 16] Operation: 31-15=16
Exploring Operation: 20-15=5, Resulting Numbers: [31, 5]
Generated Node #0,1,3: 14:[31, 5] Operation: 20-15=5
Exploring Operation: 31-20=11, Resulting Numbers: [15, 11]
Generated Node #0,1,4: 14:[15, 11] Operation: 31-20=11
Moving to Node #0,1,4
Current State: 14:[15, 11], Operations: ['48-33=15', '31-20=11']
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[20, 16], Operations: ['48-33=15', '31-15=16']
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,14 unequal: No Solution
Moving to Node #0,1,3
Current State: 14:[31, 5], Operations: ['48-33=15', '20-15=5']
Exploring Operation: 31*5=155, Resulting Numbers: [155]
155,14 unequal: No Solution
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[20, 46], Operations: ['48-33=15', '31+15=46']
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 20+46=66, Resulting Numbers: [66]
66,14 unequal: No Solution
Exploring Operation: 20*46=920, Resulting Numbers: [920]
920,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[15, 51], Operations: ['48-33=15', '31+20=51']
Exploring Operation: 15+51=66, Resulting Numbers: [66]
66,14 unequal: No Solution
Exploring Operation: 15*51=765, Resulting Numbers: [765]
765,14 unequal: No Solution
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[33, 20, 17], Operations: ['48-31=17']
Exploring Operation: 33-20=13, Resulting Numbers: [17, 13]
Generated Node #0,3,0: 14:[17, 13] Operation: 33-20=13
Exploring Operation: 33-17=16, Resulting Numbers: [20, 16]
Generated Node #0,3,1: 14:[20, 16] Operation: 33-17=16
Exploring Operation: 20-17=3, Resulting Numbers: [33, 3]
Generated Node #0,3,2: 14:[33, 3] Operation: 20-17=3
Exploring Operation: 33+17=50, Resulting Numbers: [20, 50]
Generated Node #0,3,3: 14:[20, 50] Operation: 33+17=50
Exploring Operation: 33+20=53, Resulting Numbers: [17, 53]
Generated Node #0,3,4: 14:[17, 53] Operation: 33+20=53
Moving to Node #0,3,0
Current State: 14:[17, 13], Operations: ['48-31=17', '33-20=13']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,14 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Moving to Node #0,3,1
Current State: 14:[20, 16], Operations: ['48-31=17', '33-17=16']
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,14 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Moving to Node #0,3,2
Current State: 14:[33, 3], Operations: ['48-31=17', '20-17=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,14 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Moving to Node #0,3,3
Current State: 14:[20, 50], Operations: ['48-31=17', '33+17=50']
Exploring Operation: 20*50=1000, Resulting Numbers: [1000]
1000,14 unequal: No Solution
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,14 unequal: No Solution
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Moving to Node #0,3,4
Current State: 14:[17, 53], Operations: ['48-31=17', '33+20=53']
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 17*53=901, Resulting Numbers: [901]
901,14 unequal: No Solution
Exploring Operation: 17+53=70, Resulting Numbers: [70]
70,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,4
Current State: 14:[48, 20, 2], Operations: ['33-31=2']
Exploring Operation: 48-2=46, Resulting Numbers: [20, 46]
Generated Node #0,4,0: 14:[20, 46] Operation: 48-2=46
Exploring Operation: 20/2=10, Resulting Numbers: [48, 10]
Generated Node #0,4,1: 14:[48, 10] Operation: 20/2=10
Exploring Operation: 48-20=28, Resulting Numbers: [2, 28]
Generated Node #0,4,2: 14:[2, 28] Operation: 48-20=28
Exploring Operation: 48/2=24, Resulting Numbers: [20, 24]
Generated Node #0,4,3: 14:[20, 24] Operation: 48/2=24
Exploring Operation: 20-2=18, Resulting Numbers: [48, 18]
Generated Node #0,4,4: 14:[48, 18] Operation: 20-2=18
Moving to Node #0,4,2
Current State: 14:[2, 28], Operations: ['33-31=2', '48-20=28']
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,14 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[48, 31, 33, 20], Operations: []
Exploring Operation: 33-31=2, Resulting Numbers: [48, 20, 2]
Generated Node #0,4: 14:[48, 20, 2] Operation: 33-31=2
Moving to Node #0,4
Current State: 14:[48, 20, 2], Operations: ['33-31=2']
Exploring Operation: 48-20=28, Resulting Numbers: [2, 28]
Generated Node #0,4,2: 14:[2, 28] Operation: 48-20=28
Moving to Node #0,4,2
Current State: 14:[2, 28], Operations: ['33-31=2', '48-20=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.949653 | hs_5 | mult_heuristic |
[
81,
8,
55,
37
] | 88 | [
"81-55=26",
"37-26=11",
"8*11=88"
] | Current State: 88:[81, 8, 55, 37], Operations: []
Exploring Operation: 81-55=26, Resulting Numbers: [8, 37, 26]
Generated Node #2: [8, 37, 26] from Operation: 81-55=26
Current State: 88:[8, 37, 26], Operations: ['81-55=26']
Exploring Operation: 37-26=11, Resulting Numbers: [8, 11]
Generated Node #3: [8, 11] from Operation: 37-26=11
Current State: 88:[8, 11], Operations: ['81-55=26', '37-26=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[81, 8, 55, 37], Operations: []
Exploring Operation: 81-55=26, Resulting Numbers: [8, 37, 26]
Generated Node #0,0: 88:[8, 37, 26] Operation: 81-55=26
Exploring Operation: 81-37=44, Resulting Numbers: [8, 55, 44]
Generated Node #0,1: 88:[8, 55, 44] Operation: 81-37=44
Moving to Node #0,0
Current State: 88:[8, 37, 26], Operations: ['81-55=26']
Exploring Operation: 37-26=11, Resulting Numbers: [8, 11]
Generated Node #0,0,0: 88:[8, 11] Operation: 37-26=11
Exploring Operation: 8+37=45, Resulting Numbers: [26, 45]
Generated Node #0,0,1: 88:[26, 45] Operation: 8+37=45
Moving to Node #0,1
Current State: 88:[8, 55, 44], Operations: ['81-37=44']
Exploring Operation: 55-44=11, Resulting Numbers: [8, 11]
Generated Node #0,1,0: 88:[8, 11] Operation: 55-44=11
Exploring Operation: 55-8=47, Resulting Numbers: [44, 47]
Generated Node #0,1,1: 88:[44, 47] Operation: 55-8=47
Moving to Node #0,0,0
Current State: 88:[8, 11], Operations: ['81-55=26', '37-26=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[81, 8, 55, 37], Operations: []
Exploring Operation: 81-55=26, Resulting Numbers: [8, 37, 26]
Generated Node #0,0: 88:[8, 37, 26] Operation: 81-55=26
Moving to Node #0,0
Current State: 88:[8, 37, 26], Operations: ['81-55=26']
Exploring Operation: 37-26=11, Resulting Numbers: [8, 11]
Generated Node #0,0,0: 88:[8, 11] Operation: 37-26=11
Moving to Node #0,0,0
Current State: 88:[8, 11], Operations: ['81-55=26', '37-26=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
93,
31,
33,
1
] | 46 | [
"93-1=92",
"33-31=2",
"92/2=46"
] | Current State: 46:[93, 31, 33, 1], Operations: []
Exploring Operation: 93-1=92, Resulting Numbers: [31, 33, 92]
Generated Node #2: [31, 33, 92] from Operation: 93-1=92
Current State: 46:[31, 33, 92], Operations: ['93-1=92']
Exploring Operation: 33-31=2, Resulting Numbers: [92, 2]
Generated Node #3: [92, 2] from Operation: 33-31=2
Current State: 46:[92, 2], Operations: ['93-1=92', '33-31=2']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[93, 31, 33, 1], Operations: []
Exploring Operation: 93/31=3, Resulting Numbers: [33, 1, 3]
Generated Node #0,0: 46:[33, 1, 3] Operation: 93/31=3
Exploring Operation: 93-33=60, Resulting Numbers: [31, 1, 60]
Generated Node #0,1: 46:[31, 1, 60] Operation: 93-33=60
Moving to Node #0,0
Current State: 46:[33, 1, 3], Operations: ['93/31=3']
Exploring Operation: 33-1=32, Resulting Numbers: [3, 32]
Generated Node #0,0,0: 46:[3, 32] Operation: 33-1=32
Exploring Operation: 33-3=30, Resulting Numbers: [1, 30]
Generated Node #0,0,1: 46:[1, 30] Operation: 33-3=30
Moving to Node #0,1
Current State: 46:[31, 1, 60], Operations: ['93-33=60']
Exploring Operation: 60-31=29, Resulting Numbers: [1, 29]
Generated Node #0,1,0: 46:[1, 29] Operation: 60-31=29
Exploring Operation: 31-1=30, Resulting Numbers: [60, 30]
Generated Node #0,1,1: 46:[60, 30] Operation: 31-1=30
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[1, 29], Operations: ['93-33=60', '60-31=29']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,46 unequal: No Solution
No 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: 46:[60, 30], Operations: ['93-33=60', '31-1=30']
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 46:[1, 30], Operations: ['93/31=3', '33-3=30']
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[3, 32], Operations: ['93/31=3', '33-1=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,46 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
61,
9,
7,
60
] | 72 | [
"61+7=68",
"68-60=8",
"9*8=72"
] | Current State: 72:[61, 9, 7, 60], Operations: []
Exploring Operation: 61+7=68, Resulting Numbers: [9, 60, 68]
Generated Node #2: [9, 60, 68] from Operation: 61+7=68
Current State: 72:[9, 60, 68], Operations: ['61+7=68']
Exploring Operation: 68-60=8, Resulting Numbers: [9, 8]
Generated Node #3: [9, 8] from Operation: 68-60=8
Current State: 72:[9, 8], Operations: ['61+7=68', '68-60=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[61, 9, 7, 60], Operations: []
Exploring Operation: 7+60=67, Resulting Numbers: [61, 9, 67]
Generated Node #0,0: 72:[61, 9, 67] Operation: 7+60=67
Exploring Operation: 61+9=70, Resulting Numbers: [7, 60, 70]
Generated Node #0,1: 72:[7, 60, 70] Operation: 61+9=70
Exploring Operation: 61-60=1, Resulting Numbers: [9, 7, 1]
Generated Node #0,2: 72:[9, 7, 1] Operation: 61-60=1
Exploring Operation: 9+60=69, Resulting Numbers: [61, 7, 69]
Generated Node #0,3: 72:[61, 7, 69] Operation: 9+60=69
Exploring Operation: 61+7=68, Resulting Numbers: [9, 60, 68]
Generated Node #0,4: 72:[9, 60, 68] Operation: 61+7=68
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[9, 7, 1], Operations: ['61-60=1']
Exploring Operation: 9-7=2, Resulting Numbers: [1, 2]
Generated Node #0,2,0: 72:[1, 2] Operation: 9-7=2
Exploring Operation: 7+1=8, Resulting Numbers: [9, 8]
Generated Node #0,2,1: 72:[9, 8] Operation: 7+1=8
Exploring Operation: 9-1=8, Resulting Numbers: [7, 8]
Generated Node #0,2,2: 72:[7, 8] Operation: 9-1=8
Exploring Operation: 9*1=9, Resulting Numbers: [7, 9]
Generated Node #0,2,3: 72:[7, 9] Operation: 9*1=9
Exploring Operation: 7-1=6, Resulting Numbers: [9, 6]
Generated Node #0,2,4: 72:[9, 6] Operation: 7-1=6
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 72:[9, 8], Operations: ['61-60=1', '7+1=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[61, 9, 7, 60], Operations: []
Exploring Operation: 61-60=1, Resulting Numbers: [9, 7, 1]
Generated Node #0,2: 72:[9, 7, 1] Operation: 61-60=1
Moving to Node #0,2
Current State: 72:[9, 7, 1], Operations: ['61-60=1']
Exploring Operation: 7+1=8, Resulting Numbers: [9, 8]
Generated Node #0,2,1: 72:[9, 8] Operation: 7+1=8
Moving to Node #0,2,1
Current State: 72:[9, 8], Operations: ['61-60=1', '7+1=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
1,
69,
16,
56
] | 29 | [
"1*69=69",
"56-16=40",
"69-40=29"
] | Current State: 29:[1, 69, 16, 56], Operations: []
Exploring Operation: 1*69=69, Resulting Numbers: [16, 56, 69]
Generated Node #2: [16, 56, 69] from Operation: 1*69=69
Current State: 29:[16, 56, 69], Operations: ['1*69=69']
Exploring Operation: 56-16=40, Resulting Numbers: [69, 40]
Generated Node #3: [69, 40] from Operation: 56-16=40
Current State: 29:[69, 40], Operations: ['1*69=69', '56-16=40']
Exploring Operation: 69-40=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[1, 69, 16, 56], Operations: []
Exploring Operation: 69-1=68, Resulting Numbers: [16, 56, 68]
Generated Node #0,0: 29:[16, 56, 68] Operation: 69-1=68
Exploring Operation: 1+16=17, Resulting Numbers: [69, 56, 17]
Generated Node #0,1: 29:[69, 56, 17] Operation: 1+16=17
Exploring Operation: 69-56=13, Resulting Numbers: [1, 16, 13]
Generated Node #0,2: 29:[1, 16, 13] Operation: 69-56=13
Moving to Node #0,2
Current State: 29:[1, 16, 13], Operations: ['69-56=13']
Exploring Operation: 1+13=14, Resulting Numbers: [16, 14]
Generated Node #0,2,0: 29:[16, 14] Operation: 1+13=14
Exploring Operation: 1+16=17, Resulting Numbers: [13, 17]
Generated Node #0,2,1: 29:[13, 17] Operation: 1+16=17
Exploring Operation: 16+13=29, Resulting Numbers: [1, 29]
Generated Node #0,2,2: 29:[1, 29] Operation: 16+13=29
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 29:[16, 14], Operations: ['69-56=13', '1+13=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,29 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 29:[13, 17], Operations: ['69-56=13', '1+16=17']
Exploring Operation: 13+17=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 13*17=221, Resulting Numbers: [221]
221,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 29:[1, 29], Operations: ['69-56=13', '16+13=29']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[1, 69, 16, 56], Operations: []
Exploring Operation: 69-56=13, Resulting Numbers: [1, 16, 13]
Generated Node #0,2: 29:[1, 16, 13] Operation: 69-56=13
Moving to Node #0,2
Current State: 29:[1, 16, 13], Operations: ['69-56=13']
Exploring Operation: 16+13=29, Resulting Numbers: [1, 29]
Generated Node #0,2,2: 29:[1, 29] Operation: 16+13=29
Moving to Node #0,2,2
Current State: 29:[1, 29], Operations: ['69-56=13', '16+13=29']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
95,
85,
25,
85
] | 71 | [
"95-25=70",
"85/85=1",
"70+1=71"
] | Current State: 71:[95, 85, 25, 85], Operations: []
Exploring Operation: 95-25=70, Resulting Numbers: [85, 85, 70]
Generated Node #2: [85, 85, 70] from Operation: 95-25=70
Current State: 71:[85, 85, 70], Operations: ['95-25=70']
Exploring Operation: 85/85=1, Resulting Numbers: [70, 1]
Generated Node #3: [70, 1] from Operation: 85/85=1
Current State: 71:[70, 1], Operations: ['95-25=70', '85/85=1']
Exploring Operation: 70+1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[95, 85, 25, 85], Operations: []
Exploring Operation: 85-25=60, Resulting Numbers: [95, 85, 60]
Generated Node #0,0: 71:[95, 85, 60] Operation: 85-25=60
Exploring Operation: 95-25=70, Resulting Numbers: [85, 85, 70]
Generated Node #0,1: 71:[85, 85, 70] Operation: 95-25=70
Exploring Operation: 85-25=60, Resulting Numbers: [95, 85, 60]
Generated Node #0,2: 71:[95, 85, 60] Operation: 85-25=60
Moving to Node #0,1
Current State: 71:[85, 85, 70], Operations: ['95-25=70']
Exploring Operation: 85-70=15, Resulting Numbers: [85, 15]
Generated Node #0,1,0: 71:[85, 15] Operation: 85-70=15
Exploring Operation: 85/85=1, Resulting Numbers: [70, 1]
Generated Node #0,1,1: 71:[70, 1] Operation: 85/85=1
Exploring Operation: 85-70=15, Resulting Numbers: [85, 15]
Generated Node #0,1,2: 71:[85, 15] Operation: 85-70=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[85, 15], Operations: ['95-25=70', '85-70=15']
Exploring Operation: 85-15=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 85*15=1275, Resulting Numbers: [1275]
1275,71 unequal: No Solution
Exploring Operation: 85+15=100, Resulting Numbers: [100]
100,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[85, 15], Operations: ['95-25=70', '85-70=15']
Exploring Operation: 85-15=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 85+15=100, Resulting Numbers: [100]
100,71 unequal: No Solution
Exploring Operation: 85*15=1275, Resulting Numbers: [1275]
1275,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[70, 1], Operations: ['95-25=70', '85/85=1']
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 70+1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[95, 85, 25, 85], Operations: []
Exploring Operation: 95-25=70, Resulting Numbers: [85, 85, 70]
Generated Node #0,1: 71:[85, 85, 70] Operation: 95-25=70
Moving to Node #0,1
Current State: 71:[85, 85, 70], Operations: ['95-25=70']
Exploring Operation: 85/85=1, Resulting Numbers: [70, 1]
Generated Node #0,1,1: 71:[70, 1] Operation: 85/85=1
Moving to Node #0,1,1
Current State: 71:[70, 1], Operations: ['95-25=70', '85/85=1']
Exploring Operation: 70+1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
60,
35,
24,
31
] | 65 | [
"31-24=7",
"35/7=5",
"60+5=65"
] | Current State: 65:[60, 35, 24, 31], Operations: []
Exploring Operation: 31-24=7, Resulting Numbers: [60, 35, 7]
Generated Node #2: [60, 35, 7] from Operation: 31-24=7
Current State: 65:[60, 35, 7], Operations: ['31-24=7']
Exploring Operation: 35/7=5, Resulting Numbers: [60, 5]
Generated Node #3: [60, 5] from Operation: 35/7=5
Current State: 65:[60, 5], Operations: ['31-24=7', '35/7=5']
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[60, 35, 24, 31], Operations: []
Exploring Operation: 35+24=59, Resulting Numbers: [60, 31, 59]
Generated Node #0,0: 65:[60, 31, 59] Operation: 35+24=59
Exploring Operation: 35-24=11, Resulting Numbers: [60, 31, 11]
Generated Node #0,1: 65:[60, 31, 11] Operation: 35-24=11
Exploring Operation: 35+31=66, Resulting Numbers: [60, 24, 66]
Generated Node #0,2: 65:[60, 24, 66] Operation: 35+31=66
Exploring Operation: 35-31=4, Resulting Numbers: [60, 24, 4]
Generated Node #0,3: 65:[60, 24, 4] Operation: 35-31=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[60, 24, 66], Operations: ['35+31=66']
Exploring Operation: 66-60=6, Resulting Numbers: [24, 6]
Generated Node #0,2,0: 65:[24, 6] Operation: 66-60=6
Exploring Operation: 60+24=84, Resulting Numbers: [66, 84]
Generated Node #0,2,1: 65:[66, 84] Operation: 60+24=84
Exploring Operation: 60-24=36, Resulting Numbers: [66, 36]
Generated Node #0,2,2: 65:[66, 36] Operation: 60-24=36
Exploring Operation: 66-24=42, Resulting Numbers: [60, 42]
Generated Node #0,2,3: 65:[60, 42] Operation: 66-24=42
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 65:[24, 6], Operations: ['35+31=66', '66-60=6']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,65 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,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,2,1
Current State: 65:[66, 84], Operations: ['35+31=66', '60+24=84']
Exploring Operation: 66*84=5544, Resulting Numbers: [5544]
5544,65 unequal: No Solution
Exploring Operation: 84-66=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 66+84=150, Resulting Numbers: [150]
150,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,2,2
Current State: 65:[66, 36], Operations: ['35+31=66', '60-24=36']
Exploring Operation: 66*36=2376, Resulting Numbers: [2376]
2376,65 unequal: No Solution
Exploring Operation: 66+36=102, Resulting Numbers: [102]
102,65 unequal: No Solution
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,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,2,3
Current State: 65:[60, 42], Operations: ['35+31=66', '66-24=42']
Exploring Operation: 60-42=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 60*42=2520, Resulting Numbers: [2520]
2520,65 unequal: No Solution
Exploring Operation: 60+42=102, Resulting Numbers: [102]
102,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,3
Current State: 65:[60, 24, 4], Operations: ['35-31=4']
Exploring Operation: 24-4=20, Resulting Numbers: [60, 20]
Generated Node #0,3,0: 65:[60, 20] Operation: 24-4=20
Exploring Operation: 24/4=6, Resulting Numbers: [60, 6]
Generated Node #0,3,1: 65:[60, 6] Operation: 24/4=6
Exploring Operation: 60/4=15, Resulting Numbers: [24, 15]
Generated Node #0,3,2: 65:[24, 15] Operation: 60/4=15
Exploring Operation: 60+4=64, Resulting Numbers: [24, 64]
Generated Node #0,3,3: 65:[24, 64] Operation: 60+4=64
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 65:[60, 6], Operations: ['35-31=4', '24/4=6']
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 60*6=360, Resulting Numbers: [360]
360,65 unequal: No Solution
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 65:[60, 20], Operations: ['35-31=4', '24-4=20']
Exploring Operation: 60+20=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 60*20=1200, Resulting Numbers: [1200]
1200,65 unequal: No Solution
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 65:[24, 64], Operations: ['35-31=4', '60+4=64']
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Exploring Operation: 24*64=1536, Resulting Numbers: [1536]
1536,65 unequal: No Solution
Exploring Operation: 24+64=88, Resulting Numbers: [88]
88,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 65:[24, 15], Operations: ['35-31=4', '60/4=15']
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Exploring Operation: 24*15=360, Resulting Numbers: [360]
360,65 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,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:[60, 31, 11], Operations: ['35-24=11']
Exploring Operation: 60+11=71, Resulting Numbers: [31, 71]
Generated Node #0,1,0: 65:[31, 71] Operation: 60+11=71
Exploring Operation: 60-31=29, Resulting Numbers: [11, 29]
Generated Node #0,1,1: 65:[11, 29] Operation: 60-31=29
Exploring Operation: 31-11=20, Resulting Numbers: [60, 20]
Generated Node #0,1,2: 65:[60, 20] Operation: 31-11=20
Exploring Operation: 60+31=91, Resulting Numbers: [11, 91]
Generated Node #0,1,3: 65:[11, 91] Operation: 60+31=91
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 65:[60, 20], Operations: ['35-24=11', '31-11=20']
Exploring Operation: 60+20=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 60*20=1200, Resulting Numbers: [1200]
1200,65 unequal: No Solution
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 65:[11, 29], Operations: ['35-24=11', '60-31=29']
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 11+29=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Exploring Operation: 11*29=319, Resulting Numbers: [319]
319,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 65:[31, 71], Operations: ['35-24=11', '60+11=71']
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Exploring Operation: 31+71=102, Resulting Numbers: [102]
102,65 unequal: No Solution
Exploring Operation: 31*71=2201, Resulting Numbers: [2201]
2201,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 65:[11, 91], Operations: ['35-24=11', '60+31=91']
Exploring Operation: 11*91=1001, Resulting Numbers: [1001]
1001,65 unequal: No Solution
Exploring Operation: 91-11=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 11+91=102, Resulting Numbers: [102]
102,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[60, 31, 59], Operations: ['35+24=59']
Exploring Operation: 31+59=90, Resulting Numbers: [60, 90]
Generated Node #0,0,0: 65:[60, 90] Operation: 31+59=90
Exploring Operation: 60-31=29, Resulting Numbers: [59, 29]
Generated Node #0,0,1: 65:[59, 29] Operation: 60-31=29
Exploring Operation: 59-31=28, Resulting Numbers: [60, 28]
Generated Node #0,0,2: 65:[60, 28] Operation: 59-31=28
Exploring Operation: 60-59=1, Resulting Numbers: [31, 1]
Generated Node #0,0,3: 65:[31, 1] Operation: 60-59=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 65:[60, 28], Operations: ['35+24=59', '59-31=28']
Exploring Operation: 60*28=1680, Resulting Numbers: [1680]
1680,65 unequal: No Solution
Exploring Operation: 60+28=88, Resulting Numbers: [88]
88,65 unequal: No Solution
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[59, 29], Operations: ['35+24=59', '60-31=29']
Exploring Operation: 59+29=88, Resulting Numbers: [88]
88,65 unequal: No Solution
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 59*29=1711, Resulting Numbers: [1711]
1711,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,3
Current State: 65:[31, 1], Operations: ['35+24=59', '60-59=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,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:[60, 90], Operations: ['35+24=59', '31+59=90']
Exploring Operation: 60*90=5400, Resulting Numbers: [5400]
5400,65 unequal: No Solution
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 60+90=150, Resulting Numbers: [150]
150,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_4 | sum_heuristic |
[
4,
30,
56,
20
] | 88 | [
"30*56=1680",
"1680/20=84",
"4+84=88"
] | Current State: 88:[4, 30, 56, 20], Operations: []
Exploring Operation: 30*56=1680, Resulting Numbers: [4, 20, 1680]
Generated Node #2: [4, 20, 1680] from Operation: 30*56=1680
Current State: 88:[4, 20, 1680], Operations: ['30*56=1680']
Exploring Operation: 1680/20=84, Resulting Numbers: [4, 84]
Generated Node #3: [4, 84] from Operation: 1680/20=84
Current State: 88:[4, 84], Operations: ['30*56=1680', '1680/20=84']
Exploring Operation: 4+84=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[4, 30, 56, 20], Operations: []
Exploring Operation: 56-30=26, Resulting Numbers: [4, 20, 26]
Generated Node #0,0: 88:[4, 20, 26] Operation: 56-30=26
Exploring Operation: 30+56=86, Resulting Numbers: [4, 20, 86]
Generated Node #0,1: 88:[4, 20, 86] Operation: 30+56=86
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[4, 20, 86], Operations: ['30+56=86']
Exploring Operation: 4+20=24, Resulting Numbers: [86, 24]
Generated Node #0,1,0: 88:[86, 24] Operation: 4+20=24
Exploring Operation: 20/4=5, Resulting Numbers: [86, 5]
Generated Node #0,1,1: 88:[86, 5] Operation: 20/4=5
Moving to Node #0,1,1
Current State: 88:[86, 5], Operations: ['30+56=86', '20/4=5']
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,88 unequal: No Solution
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[86, 24], Operations: ['30+56=86', '4+20=24']
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,88 unequal: No Solution
Exploring Operation: 86+24=110, Resulting Numbers: [110]
110,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[4, 20, 26], Operations: ['56-30=26']
Exploring Operation: 20+26=46, Resulting Numbers: [4, 46]
Generated Node #0,0,0: 88:[4, 46] Operation: 20+26=46
Exploring Operation: 26-4=22, Resulting Numbers: [20, 22]
Generated Node #0,0,1: 88:[20, 22] Operation: 26-4=22
Moving to Node #0,0,0
Current State: 88:[4, 46], Operations: ['56-30=26', '20+26=46']
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,88 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[20, 22], Operations: ['56-30=26', '26-4=22']
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 20+22=42, Resulting Numbers: [42]
42,88 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 |
[
84,
66,
48,
96
] | 10 | [
"84+96=180",
"66-48=18",
"180/18=10"
] | Current State: 10:[84, 66, 48, 96], Operations: []
Exploring Operation: 84+96=180, Resulting Numbers: [66, 48, 180]
Generated Node #2: [66, 48, 180] from Operation: 84+96=180
Current State: 10:[66, 48, 180], Operations: ['84+96=180']
Exploring Operation: 66-48=18, Resulting Numbers: [180, 18]
Generated Node #3: [180, 18] from Operation: 66-48=18
Current State: 10:[180, 18], Operations: ['84+96=180', '66-48=18']
Exploring Operation: 180/18=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[84, 66, 48, 96], Operations: []
Exploring Operation: 84-66=18, Resulting Numbers: [48, 96, 18]
Generated Node #0,0: 10:[48, 96, 18] Operation: 84-66=18
Exploring Operation: 96-66=30, Resulting Numbers: [84, 48, 30]
Generated Node #0,1: 10:[84, 48, 30] Operation: 96-66=30
Exploring Operation: 96/48=2, Resulting Numbers: [84, 66, 2]
Generated Node #0,2: 10:[84, 66, 2] Operation: 96/48=2
Exploring Operation: 96-84=12, Resulting Numbers: [66, 48, 12]
Generated Node #0,3: 10:[66, 48, 12] Operation: 96-84=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[66, 48, 12], Operations: ['96-84=12']
Exploring Operation: 48/12=4, Resulting Numbers: [66, 4]
Generated Node #0,3,0: 10:[66, 4] Operation: 48/12=4
Exploring Operation: 66-12=54, Resulting Numbers: [48, 54]
Generated Node #0,3,1: 10:[48, 54] Operation: 66-12=54
Exploring Operation: 66-48=18, Resulting Numbers: [12, 18]
Generated Node #0,3,2: 10:[12, 18] Operation: 66-48=18
Exploring Operation: 48-12=36, Resulting Numbers: [66, 36]
Generated Node #0,3,3: 10:[66, 36] Operation: 48-12=36
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 10:[12, 18], Operations: ['96-84=12', '66-48=18']
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,10 unequal: No Solution
No 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: 10:[66, 4], Operations: ['96-84=12', '48/12=4']
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Exploring Operation: 66*4=264, Resulting Numbers: [264]
264,10 unequal: No Solution
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,10 unequal: No Solution
No 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: 10:[48, 54], Operations: ['96-84=12', '66-12=54']
Exploring Operation: 48+54=102, Resulting Numbers: [102]
102,10 unequal: No Solution
Exploring Operation: 48*54=2592, Resulting Numbers: [2592]
2592,10 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,10 unequal: No Solution
No 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: 10:[66, 36], Operations: ['96-84=12', '48-12=36']
Exploring Operation: 66+36=102, Resulting Numbers: [102]
102,10 unequal: No Solution
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 66*36=2376, Resulting Numbers: [2376]
2376,10 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: 10:[84, 66, 2], Operations: ['96/48=2']
Exploring Operation: 84/2=42, Resulting Numbers: [66, 42]
Generated Node #0,2,0: 10:[66, 42] Operation: 84/2=42
Exploring Operation: 84-66=18, Resulting Numbers: [2, 18]
Generated Node #0,2,1: 10:[2, 18] Operation: 84-66=18
Exploring Operation: 84-2=82, Resulting Numbers: [66, 82]
Generated Node #0,2,2: 10:[66, 82] Operation: 84-2=82
Exploring Operation: 66/2=33, Resulting Numbers: [84, 33]
Generated Node #0,2,3: 10:[84, 33] Operation: 66/2=33
Moving to Node #0,2,1
Current State: 10:[2, 18], Operations: ['96/48=2', '84-66=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[66, 42], Operations: ['96/48=2', '84/2=42']
Exploring Operation: 66*42=2772, Resulting Numbers: [2772]
2772,10 unequal: No Solution
Exploring Operation: 66+42=108, Resulting Numbers: [108]
108,10 unequal: No Solution
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[84, 33], Operations: ['96/48=2', '66/2=33']
Exploring Operation: 84*33=2772, Resulting Numbers: [2772]
2772,10 unequal: No Solution
Exploring Operation: 84+33=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[66, 82], Operations: ['96/48=2', '84-2=82']
Exploring Operation: 82-66=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 66*82=5412, Resulting Numbers: [5412]
5412,10 unequal: No Solution
Exploring Operation: 66+82=148, Resulting Numbers: [148]
148,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[48, 96, 18], Operations: ['84-66=18']
Exploring Operation: 96-18=78, Resulting Numbers: [48, 78]
Generated Node #0,0,0: 10:[48, 78] Operation: 96-18=78
Exploring Operation: 48-18=30, Resulting Numbers: [96, 30]
Generated Node #0,0,1: 10:[96, 30] Operation: 48-18=30
Exploring Operation: 96/48=2, Resulting Numbers: [18, 2]
Generated Node #0,0,2: 10:[18, 2] Operation: 96/48=2
Exploring Operation: 96-48=48, Resulting Numbers: [18, 48]
Generated Node #0,0,3: 10:[18, 48] Operation: 96-48=48
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 10:[18, 2], Operations: ['84-66=18', '96/48=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,10 unequal: No Solution
No 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: 10:[18, 48], Operations: ['84-66=18', '96-48=48']
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 18*48=864, Resulting Numbers: [864]
864,10 unequal: No Solution
Exploring Operation: 18+48=66, Resulting Numbers: [66]
66,10 unequal: No Solution
No 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: 10:[48, 78], Operations: ['84-66=18', '96-18=78']
Exploring Operation: 78-48=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 48+78=126, Resulting Numbers: [126]
126,10 unequal: No Solution
Exploring Operation: 48*78=3744, Resulting Numbers: [3744]
3744,10 unequal: No Solution
No 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: 10:[96, 30], Operations: ['84-66=18', '48-18=30']
Exploring Operation: 96-30=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 96+30=126, Resulting Numbers: [126]
126,10 unequal: No Solution
Exploring Operation: 96*30=2880, Resulting Numbers: [2880]
2880,10 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: 10:[84, 48, 30], Operations: ['96-66=30']
Exploring Operation: 84-48=36, Resulting Numbers: [30, 36]
Generated Node #0,1,0: 10:[30, 36] Operation: 84-48=36
Exploring Operation: 48-30=18, Resulting Numbers: [84, 18]
Generated Node #0,1,1: 10:[84, 18] Operation: 48-30=18
Exploring Operation: 84-30=54, Resulting Numbers: [48, 54]
Generated Node #0,1,2: 10:[48, 54] Operation: 84-30=54
Exploring Operation: 84+48=132, Resulting Numbers: [30, 132]
Generated Node #0,1,3: 10:[30, 132] Operation: 84+48=132
Moving to Node #0,1,0
Current State: 10:[30, 36], Operations: ['96-66=30', '84-48=36']
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 30*36=1080, Resulting Numbers: [1080]
1080,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[48, 54], Operations: ['96-66=30', '84-30=54']
Exploring Operation: 48+54=102, Resulting Numbers: [102]
102,10 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 48*54=2592, Resulting Numbers: [2592]
2592,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[84, 18], Operations: ['96-66=30', '48-30=18']
Exploring Operation: 84+18=102, Resulting Numbers: [102]
102,10 unequal: No Solution
Exploring Operation: 84*18=1512, Resulting Numbers: [1512]
1512,10 unequal: No Solution
Exploring Operation: 84-18=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Moving to Node #0,1,3
Current State: 10:[30, 132], Operations: ['96-66=30', '84+48=132']
Exploring Operation: 30+132=162, Resulting Numbers: [162]
162,10 unequal: No Solution
Exploring Operation: 132-30=102, Resulting Numbers: [102]
102,10 unequal: No Solution
Exploring Operation: 30*132=3960, Resulting Numbers: [3960]
3960,10 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 |
[
15,
45,
94,
50
] | 14 | [
"45-15=30",
"94-50=44",
"44-30=14"
] | Current State: 14:[15, 45, 94, 50], Operations: []
Exploring Operation: 45-15=30, Resulting Numbers: [94, 50, 30]
Generated Node #2: [94, 50, 30] from Operation: 45-15=30
Current State: 14:[94, 50, 30], Operations: ['45-15=30']
Exploring Operation: 94-50=44, Resulting Numbers: [30, 44]
Generated Node #3: [30, 44] from Operation: 94-50=44
Current State: 14:[30, 44], Operations: ['45-15=30', '94-50=44']
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[15, 45, 94, 50], Operations: []
Exploring Operation: 45/15=3, Resulting Numbers: [94, 50, 3]
Generated Node #0,0: 14:[94, 50, 3] Operation: 45/15=3
Exploring Operation: 94-45=49, Resulting Numbers: [15, 50, 49]
Generated Node #0,1: 14:[15, 50, 49] Operation: 94-45=49
Exploring Operation: 94-50=44, Resulting Numbers: [15, 45, 44]
Generated Node #0,2: 14:[15, 45, 44] Operation: 94-50=44
Exploring Operation: 50-45=5, Resulting Numbers: [15, 94, 5]
Generated Node #0,3: 14:[15, 94, 5] Operation: 50-45=5
Moving to Node #0,2
Current State: 14:[15, 45, 44], Operations: ['94-50=44']
Exploring Operation: 45/15=3, Resulting Numbers: [44, 3]
Generated Node #0,2,0: 14:[44, 3] Operation: 45/15=3
Exploring Operation: 45-44=1, Resulting Numbers: [15, 1]
Generated Node #0,2,1: 14:[15, 1] Operation: 45-44=1
Exploring Operation: 44-15=29, Resulting Numbers: [45, 29]
Generated Node #0,2,2: 14:[45, 29] Operation: 44-15=29
Exploring Operation: 45-15=30, Resulting Numbers: [44, 30]
Generated Node #0,2,3: 14:[44, 30] Operation: 45-15=30
Moving to Node #0,1
Current State: 14:[15, 50, 49], Operations: ['94-45=49']
Exploring Operation: 15+50=65, Resulting Numbers: [49, 65]
Generated Node #0,1,0: 14:[49, 65] Operation: 15+50=65
Exploring Operation: 49-15=34, Resulting Numbers: [50, 34]
Generated Node #0,1,1: 14:[50, 34] Operation: 49-15=34
Exploring Operation: 50-49=1, Resulting Numbers: [15, 1]
Generated Node #0,1,2: 14:[15, 1] Operation: 50-49=1
Exploring Operation: 50-15=35, Resulting Numbers: [49, 35]
Generated Node #0,1,3: 14:[49, 35] Operation: 50-15=35
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 14:[15, 1], Operations: ['94-45=49', '50-49=1']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[15, 45, 94, 50], Operations: []
Exploring Operation: 94-45=49, Resulting Numbers: [15, 50, 49]
Generated Node #0,1: 14:[15, 50, 49] Operation: 94-45=49
Moving to Node #0,1
Current State: 14:[15, 50, 49], Operations: ['94-45=49']
Exploring Operation: 50-49=1, Resulting Numbers: [15, 1]
Generated Node #0,1,2: 14:[15, 1] Operation: 50-49=1
Moving to Node #0,1,2
Current State: 14:[15, 1], Operations: ['94-45=49', '50-49=1']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
40,
68,
38,
18
] | 84 | [
"68-40=28",
"38+18=56",
"28+56=84"
] | Current State: 84:[40, 68, 38, 18], Operations: []
Exploring Operation: 68-40=28, Resulting Numbers: [38, 18, 28]
Generated Node #2: [38, 18, 28] from Operation: 68-40=28
Current State: 84:[38, 18, 28], Operations: ['68-40=28']
Exploring Operation: 38+18=56, Resulting Numbers: [28, 56]
Generated Node #3: [28, 56] from Operation: 38+18=56
Current State: 84:[28, 56], Operations: ['68-40=28', '38+18=56']
Exploring Operation: 28+56=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[40, 68, 38, 18], Operations: []
Exploring Operation: 68-40=28, Resulting Numbers: [38, 18, 28]
Generated Node #0,0: 84:[38, 18, 28] Operation: 68-40=28
Moving to Node #0,0
Current State: 84:[38, 18, 28], Operations: ['68-40=28']
Exploring Operation: 38-18=20, Resulting Numbers: [28, 20]
Generated Node #0,0,0: 84:[28, 20] Operation: 38-18=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[28, 20], Operations: ['68-40=28', '38-18=20']
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,84 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 |
[
40,
48,
94,
97
] | 85 | [
"40+48=88",
"97-94=3",
"88-3=85"
] | Current State: 85:[40, 48, 94, 97], Operations: []
Exploring Operation: 40+48=88, Resulting Numbers: [94, 97, 88]
Generated Node #2: [94, 97, 88] from Operation: 40+48=88
Current State: 85:[94, 97, 88], Operations: ['40+48=88']
Exploring Operation: 97-94=3, Resulting Numbers: [88, 3]
Generated Node #3: [88, 3] from Operation: 97-94=3
Current State: 85:[88, 3], Operations: ['40+48=88', '97-94=3']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[40, 48, 94, 97], Operations: []
Exploring Operation: 40+48=88, Resulting Numbers: [94, 97, 88]
Generated Node #0,0: 85:[94, 97, 88] Operation: 40+48=88
Exploring Operation: 48-40=8, Resulting Numbers: [94, 97, 8]
Generated Node #0,1: 85:[94, 97, 8] Operation: 48-40=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[94, 97, 88], Operations: ['40+48=88']
Exploring Operation: 94-88=6, Resulting Numbers: [97, 6]
Generated Node #0,0,0: 85:[97, 6] Operation: 94-88=6
Exploring Operation: 97-94=3, Resulting Numbers: [88, 3]
Generated Node #0,0,1: 85:[88, 3] Operation: 97-94=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 85:[88, 3], Operations: ['40+48=88', '97-94=3']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[40, 48, 94, 97], Operations: []
Exploring Operation: 40+48=88, Resulting Numbers: [94, 97, 88]
Generated Node #0,0: 85:[94, 97, 88] Operation: 40+48=88
Moving to Node #0,0
Current State: 85:[94, 97, 88], Operations: ['40+48=88']
Exploring Operation: 97-94=3, Resulting Numbers: [88, 3]
Generated Node #0,0,1: 85:[88, 3] Operation: 97-94=3
Moving to Node #0,0,1
Current State: 85:[88, 3], Operations: ['40+48=88', '97-94=3']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
26,
89,
27,
5
] | 85 | [
"89-26=63",
"27-5=22",
"63+22=85"
] | Current State: 85:[26, 89, 27, 5], Operations: []
Exploring Operation: 89-26=63, Resulting Numbers: [27, 5, 63]
Generated Node #2: [27, 5, 63] from Operation: 89-26=63
Current State: 85:[27, 5, 63], Operations: ['89-26=63']
Exploring Operation: 27-5=22, Resulting Numbers: [63, 22]
Generated Node #3: [63, 22] from Operation: 27-5=22
Current State: 85:[63, 22], Operations: ['89-26=63', '27-5=22']
Exploring Operation: 63+22=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[26, 89, 27, 5], Operations: []
Exploring Operation: 27-26=1, Resulting Numbers: [89, 5, 1]
Generated Node #0,0: 85:[89, 5, 1] Operation: 27-26=1
Exploring Operation: 26-5=21, Resulting Numbers: [89, 27, 21]
Generated Node #0,1: 85:[89, 27, 21] Operation: 26-5=21
Moving to Node #0,0
Current State: 85:[89, 5, 1], Operations: ['27-26=1']
Exploring Operation: 89*1=89, Resulting Numbers: [5, 89]
Generated Node #0,0,0: 85:[5, 89] Operation: 89*1=89
Exploring Operation: 89-1=88, Resulting Numbers: [5, 88]
Generated Node #0,0,1: 85:[5, 88] Operation: 89-1=88
Moving to Node #0,1
Current State: 85:[89, 27, 21], Operations: ['26-5=21']
Exploring Operation: 27-21=6, Resulting Numbers: [89, 6]
Generated Node #0,1,0: 85:[89, 6] Operation: 27-21=6
Exploring Operation: 89-27=62, Resulting Numbers: [21, 62]
Generated Node #0,1,1: 85:[21, 62] Operation: 89-27=62
Moving to Node #0,0,1
Current State: 85:[5, 88], Operations: ['27-26=1', '89-1=88']
Exploring Operation: 5+88=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[5, 89], Operations: ['27-26=1', '89*1=89']
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 5+89=94, Resulting Numbers: [94]
94,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[89, 6], Operations: ['26-5=21', '27-21=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[21, 62], Operations: ['26-5=21', '89-27=62']
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,85 unequal: No Solution
Exploring Operation: 21+62=83, Resulting Numbers: [83]
83,85 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
8,
10,
37,
51
] | 86 | [
"10-8=2",
"37+51=88",
"88-2=86"
] | Current State: 86:[8, 10, 37, 51], Operations: []
Exploring Operation: 10-8=2, Resulting Numbers: [37, 51, 2]
Generated Node #2: [37, 51, 2] from Operation: 10-8=2
Current State: 86:[37, 51, 2], Operations: ['10-8=2']
Exploring Operation: 37+51=88, Resulting Numbers: [2, 88]
Generated Node #3: [2, 88] from Operation: 37+51=88
Current State: 86:[2, 88], Operations: ['10-8=2', '37+51=88']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[8, 10, 37, 51], Operations: []
Exploring Operation: 10-8=2, Resulting Numbers: [37, 51, 2]
Generated Node #0,0: 86:[37, 51, 2] Operation: 10-8=2
Moving to Node #0,0
Current State: 86:[37, 51, 2], Operations: ['10-8=2']
Exploring Operation: 37+51=88, Resulting Numbers: [2, 88]
Generated Node #0,0,0: 86:[2, 88] Operation: 37+51=88
Moving to Node #0,0,0
Current State: 86:[2, 88], Operations: ['10-8=2', '37+51=88']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[8, 10, 37, 51], Operations: []
Exploring Operation: 10-8=2, Resulting Numbers: [37, 51, 2]
Generated Node #0,0: 86:[37, 51, 2] Operation: 10-8=2
Moving to Node #0,0
Current State: 86:[37, 51, 2], Operations: ['10-8=2']
Exploring Operation: 37+51=88, Resulting Numbers: [2, 88]
Generated Node #0,0,0: 86:[2, 88] Operation: 37+51=88
Moving to Node #0,0,0
Current State: 86:[2, 88], Operations: ['10-8=2', '37+51=88']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
28,
32,
14,
65
] | 19 | [
"28+32=60",
"14+65=79",
"79-60=19"
] | Current State: 19:[28, 32, 14, 65], Operations: []
Exploring Operation: 28+32=60, Resulting Numbers: [14, 65, 60]
Generated Node #2: [14, 65, 60] from Operation: 28+32=60
Current State: 19:[14, 65, 60], Operations: ['28+32=60']
Exploring Operation: 14+65=79, Resulting Numbers: [60, 79]
Generated Node #3: [60, 79] from Operation: 14+65=79
Current State: 19:[60, 79], Operations: ['28+32=60', '14+65=79']
Exploring Operation: 79-60=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[28, 32, 14, 65], Operations: []
Exploring Operation: 65-14=51, Resulting Numbers: [28, 32, 51]
Generated Node #0,0: 19:[28, 32, 51] Operation: 65-14=51
Exploring Operation: 65-32=33, Resulting Numbers: [28, 14, 33]
Generated Node #0,1: 19:[28, 14, 33] Operation: 65-32=33
Exploring Operation: 65-28=37, Resulting Numbers: [32, 14, 37]
Generated Node #0,2: 19:[32, 14, 37] Operation: 65-28=37
Exploring Operation: 32-14=18, Resulting Numbers: [28, 65, 18]
Generated Node #0,3: 19:[28, 65, 18] Operation: 32-14=18
Moving to Node #0,1
Current State: 19:[28, 14, 33], Operations: ['65-32=33']
Exploring Operation: 28/14=2, Resulting Numbers: [33, 2]
Generated Node #0,1,0: 19:[33, 2] Operation: 28/14=2
Exploring Operation: 28-14=14, Resulting Numbers: [33, 14]
Generated Node #0,1,1: 19:[33, 14] Operation: 28-14=14
Exploring Operation: 33-28=5, Resulting Numbers: [14, 5]
Generated Node #0,1,2: 19:[14, 5] Operation: 33-28=5
Exploring Operation: 33-14=19, Resulting Numbers: [28, 19]
Generated Node #0,1,3: 19:[28, 19] Operation: 33-14=19
Moving to Node #0,2
Current State: 19:[32, 14, 37], Operations: ['65-28=37']
Exploring Operation: 37-32=5, Resulting Numbers: [14, 5]
Generated Node #0,2,0: 19:[14, 5] Operation: 37-32=5
Exploring Operation: 37-14=23, Resulting Numbers: [32, 23]
Generated Node #0,2,1: 19:[32, 23] Operation: 37-14=23
Exploring Operation: 32-14=18, Resulting Numbers: [37, 18]
Generated Node #0,2,2: 19:[37, 18] Operation: 32-14=18
Exploring Operation: 32+14=46, Resulting Numbers: [37, 46]
Generated Node #0,2,3: 19:[37, 46] Operation: 32+14=46
Moving to Node #0,0
Current State: 19:[28, 32, 51], Operations: ['65-14=51']
Exploring Operation: 51-28=23, Resulting Numbers: [32, 23]
Generated Node #0,0,0: 19:[32, 23] Operation: 51-28=23
Exploring Operation: 32-28=4, Resulting Numbers: [51, 4]
Generated Node #0,0,1: 19:[51, 4] Operation: 32-28=4
Exploring Operation: 28+32=60, Resulting Numbers: [51, 60]
Generated Node #0,0,2: 19:[51, 60] Operation: 28+32=60
Exploring Operation: 51-32=19, Resulting Numbers: [28, 19]
Generated Node #0,0,3: 19:[28, 19] Operation: 51-32=19
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 19:[28, 19], Operations: ['65-14=51', '51-32=19']
Exploring Operation: 28+19=47, Resulting Numbers: [47]
47,19 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 28*19=532, Resulting Numbers: [532]
532,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[32, 23], Operations: ['65-14=51', '51-28=23']
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,19 unequal: No Solution
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[51, 4], Operations: ['65-14=51', '32-28=4']
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,19 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[51, 60], Operations: ['65-14=51', '28+32=60']
Exploring Operation: 60-51=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 51*60=3060, Resulting Numbers: [3060]
3060,19 unequal: No Solution
Exploring Operation: 51+60=111, Resulting Numbers: [111]
111,19 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: 19:[28, 65, 18], Operations: ['32-14=18']
Exploring Operation: 28+18=46, Resulting Numbers: [65, 46]
Generated Node #0,3,0: 19:[65, 46] Operation: 28+18=46
Exploring Operation: 65-18=47, Resulting Numbers: [28, 47]
Generated Node #0,3,1: 19:[28, 47] Operation: 65-18=47
Exploring Operation: 28-18=10, Resulting Numbers: [65, 10]
Generated Node #0,3,2: 19:[65, 10] Operation: 28-18=10
Exploring Operation: 65-28=37, Resulting Numbers: [18, 37]
Generated Node #0,3,3: 19:[18, 37] Operation: 65-28=37
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 19:[18, 37], Operations: ['32-14=18', '65-28=37']
Exploring Operation: 18*37=666, Resulting Numbers: [666]
666,19 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[28, 32, 14, 65], Operations: []
Exploring Operation: 32-14=18, Resulting Numbers: [28, 65, 18]
Generated Node #0,3: 19:[28, 65, 18] Operation: 32-14=18
Moving to Node #0,3
Current State: 19:[28, 65, 18], Operations: ['32-14=18']
Exploring Operation: 65-28=37, Resulting Numbers: [18, 37]
Generated Node #0,3,3: 19:[18, 37] Operation: 65-28=37
Moving to Node #0,3,3
Current State: 19:[18, 37], Operations: ['32-14=18', '65-28=37']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | sum_heuristic |
[
98,
76,
92,
92
] | 96 | [
"98-92=6",
"92-76=16",
"6*16=96"
] | Current State: 96:[98, 76, 92, 92], Operations: []
Exploring Operation: 98-92=6, Resulting Numbers: [76, 6]
Generated Node #2: [76, 6] from Operation: 98-92=6
Current State: 96:[76, 6], Operations: ['98-92=6']
Exploring Operation: 92-76=16, Resulting Numbers: [6, 16]
Generated Node #3: [6, 16] from Operation: 92-76=16
Current State: 96:[6, 16], Operations: ['98-92=6', '92-76=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[98, 76, 92, 92], Operations: []
Exploring Operation: 92-76=16, Resulting Numbers: [98, 92, 16]
Generated Node #0,0: 96:[98, 92, 16] Operation: 92-76=16
Exploring Operation: 92/92=1, Resulting Numbers: [98, 76, 1]
Generated Node #0,1: 96:[98, 76, 1] Operation: 92/92=1
Exploring Operation: 92-76=16, Resulting Numbers: [98, 92, 16]
Generated Node #0,2: 96:[98, 92, 16] Operation: 92-76=16
Exploring Operation: 98-76=22, Resulting Numbers: [92, 92, 22]
Generated Node #0,3: 96:[92, 92, 22] Operation: 98-76=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[98, 92, 16], Operations: ['92-76=16']
Exploring Operation: 98-92=6, Resulting Numbers: [16, 6]
Generated Node #0,0,0: 96:[16, 6] Operation: 98-92=6
Exploring Operation: 92+16=108, Resulting Numbers: [98, 108]
Generated Node #0,0,1: 96:[98, 108] Operation: 92+16=108
Exploring Operation: 98+16=114, Resulting Numbers: [92, 114]
Generated Node #0,0,2: 96:[92, 114] Operation: 98+16=114
Exploring Operation: 98-16=82, Resulting Numbers: [92, 82]
Generated Node #0,0,3: 96:[92, 82] Operation: 98-16=82
Moving to Node #0,0,0
Current State: 96:[16, 6], Operations: ['92-76=16', '98-92=6']
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[98, 76, 92, 92], Operations: []
Exploring Operation: 92-76=16, Resulting Numbers: [98, 92, 16]
Generated Node #0,0: 96:[98, 92, 16] Operation: 92-76=16
Moving to Node #0,0
Current State: 96:[98, 92, 16], Operations: ['92-76=16']
Exploring Operation: 98-92=6, Resulting Numbers: [16, 6]
Generated Node #0,0,0: 96:[16, 6] Operation: 98-92=6
Moving to Node #0,0,0
Current State: 96:[16, 6], Operations: ['92-76=16', '98-92=6']
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
16,
72,
82,
92
] | 32 | [
"72+92=164",
"16*164=2624",
"2624/82=32"
] | Current State: 32:[16, 72, 82, 92], Operations: []
Exploring Operation: 72+92=164, Resulting Numbers: [16, 82, 164]
Generated Node #2: [16, 82, 164] from Operation: 72+92=164
Current State: 32:[16, 82, 164], Operations: ['72+92=164']
Exploring Operation: 16*164=2624, Resulting Numbers: [82, 2624]
Generated Node #3: [82, 2624] from Operation: 16*164=2624
Current State: 32:[82, 2624], Operations: ['72+92=164', '16*164=2624']
Exploring Operation: 2624/82=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[16, 72, 82, 92], Operations: []
Exploring Operation: 92-82=10, Resulting Numbers: [16, 72, 10]
Generated Node #0,0: 32:[16, 72, 10] Operation: 92-82=10
Exploring Operation: 92-72=20, Resulting Numbers: [16, 82, 20]
Generated Node #0,1: 32:[16, 82, 20] Operation: 92-72=20
Exploring Operation: 72-16=56, Resulting Numbers: [82, 92, 56]
Generated Node #0,2: 32:[82, 92, 56] Operation: 72-16=56
Exploring Operation: 82-72=10, Resulting Numbers: [16, 92, 10]
Generated Node #0,3: 32:[16, 92, 10] Operation: 82-72=10
Moving to Node #0,0
Current State: 32:[16, 72, 10], Operations: ['92-82=10']
Exploring Operation: 16-10=6, Resulting Numbers: [72, 6]
Generated Node #0,0,0: 32:[72, 6] Operation: 16-10=6
Exploring Operation: 72-10=62, Resulting Numbers: [16, 62]
Generated Node #0,0,1: 32:[16, 62] Operation: 72-10=62
Exploring Operation: 72-16=56, Resulting Numbers: [10, 56]
Generated Node #0,0,2: 32:[10, 56] Operation: 72-16=56
Exploring Operation: 16+10=26, Resulting Numbers: [72, 26]
Generated Node #0,0,3: 32:[72, 26] Operation: 16+10=26
Moving to Node #0,1
Current State: 32:[16, 82, 20], Operations: ['92-72=20']
Exploring Operation: 16+20=36, Resulting Numbers: [82, 36]
Generated Node #0,1,0: 32:[82, 36] Operation: 16+20=36
Exploring Operation: 82-16=66, Resulting Numbers: [20, 66]
Generated Node #0,1,1: 32:[20, 66] Operation: 82-16=66
Exploring Operation: 20-16=4, Resulting Numbers: [82, 4]
Generated Node #0,1,2: 32:[82, 4] Operation: 20-16=4
Exploring Operation: 82-20=62, Resulting Numbers: [16, 62]
Generated Node #0,1,3: 32:[16, 62] Operation: 82-20=62
Moving to Node #0,3
Current State: 32:[16, 92, 10], Operations: ['82-72=10']
Exploring Operation: 16+10=26, Resulting Numbers: [92, 26]
Generated Node #0,3,0: 32:[92, 26] Operation: 16+10=26
Exploring Operation: 92-10=82, Resulting Numbers: [16, 82]
Generated Node #0,3,1: 32:[16, 82] Operation: 92-10=82
Exploring Operation: 92-16=76, Resulting Numbers: [10, 76]
Generated Node #0,3,2: 32:[10, 76] Operation: 92-16=76
Exploring Operation: 16-10=6, Resulting Numbers: [92, 6]
Generated Node #0,3,3: 32:[92, 6] Operation: 16-10=6
Moving to Node #0,2
Current State: 32:[82, 92, 56], Operations: ['72-16=56']
Exploring Operation: 92-82=10, Resulting Numbers: [56, 10]
Generated Node #0,2,0: 32:[56, 10] Operation: 92-82=10
Exploring Operation: 82+92=174, Resulting Numbers: [56, 174]
Generated Node #0,2,1: 32:[56, 174] Operation: 82+92=174
Exploring Operation: 92-56=36, Resulting Numbers: [82, 36]
Generated Node #0,2,2: 32:[82, 36] Operation: 92-56=36
Exploring Operation: 82-56=26, Resulting Numbers: [92, 26]
Generated Node #0,2,3: 32:[92, 26] Operation: 82-56=26
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 32:[56, 10], Operations: ['72-16=56', '92-82=10']
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,32 unequal: No Solution
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,32 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 32:[82, 36], Operations: ['72-16=56', '92-56=36']
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 82+36=118, Resulting Numbers: [118]
118,32 unequal: No Solution
Exploring Operation: 82*36=2952, Resulting Numbers: [2952]
2952,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 32:[92, 26], Operations: ['72-16=56', '82-56=26']
Exploring Operation: 92*26=2392, Resulting Numbers: [2392]
2392,32 unequal: No Solution
Exploring Operation: 92+26=118, Resulting Numbers: [118]
118,32 unequal: No Solution
Exploring Operation: 92-26=66, Resulting Numbers: [66]
66,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 32:[56, 174], Operations: ['72-16=56', '82+92=174']
Exploring Operation: 56+174=230, Resulting Numbers: [230]
230,32 unequal: No Solution
Exploring Operation: 174-56=118, Resulting Numbers: [118]
118,32 unequal: No Solution
Exploring Operation: 56*174=9744, Resulting Numbers: [9744]
9744,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 32:[10, 56], Operations: ['92-82=10', '72-16=56']
Exploring Operation: 10+56=66, Resulting Numbers: [66]
66,32 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 10*56=560, Resulting Numbers: [560]
560,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[16, 62], Operations: ['92-82=10', '72-10=62']
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 16+62=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Exploring Operation: 16*62=992, Resulting Numbers: [992]
992,32 unequal: No Solution
Moving to Node #0,1,3
Current State: 32:[16, 62], Operations: ['92-72=20', '82-20=62']
Exploring Operation: 16*62=992, Resulting Numbers: [992]
992,32 unequal: No Solution
Exploring Operation: 16+62=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[20, 66], Operations: ['92-72=20', '82-16=66']
Exploring Operation: 20*66=1320, Resulting Numbers: [1320]
1320,32 unequal: No Solution
Exploring Operation: 20+66=86, Resulting Numbers: [86]
86,32 unequal: No Solution
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[72, 6], Operations: ['92-82=10', '16-10=6']
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,32 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 72*6=432, Resulting Numbers: [432]
432,32 unequal: No Solution
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Moving to Node #0,0,3
Current State: 32:[72, 26], Operations: ['92-82=10', '16+10=26']
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,32 unequal: No Solution
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,32 unequal: No Solution
Moving to Node #0,3,2
Current State: 32:[10, 76], Operations: ['82-72=10', '92-16=76']
Exploring Operation: 10+76=86, Resulting Numbers: [86]
86,32 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,32 unequal: No Solution
Exploring Operation: 10*76=760, Resulting Numbers: [760]
760,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[82, 4], Operations: ['92-72=20', '20-16=4']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,32 unequal: No Solution
Exploring Operation: 82*4=328, Resulting Numbers: [328]
328,32 unequal: No Solution
Moving to Node #0,3,1
Current State: 32:[16, 82], Operations: ['82-72=10', '92-10=82']
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,32 unequal: No Solution
Exploring Operation: 16+82=98, Resulting Numbers: [98]
98,32 unequal: No Solution
Exploring Operation: 16*82=1312, Resulting Numbers: [1312]
1312,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[82, 36], Operations: ['92-72=20', '16+20=36']
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 82+36=118, Resulting Numbers: [118]
118,32 unequal: No Solution
Exploring Operation: 82*36=2952, Resulting Numbers: [2952]
2952,32 unequal: No Solution
Moving to Node #0,3,3
Current State: 32:[92, 6], Operations: ['82-72=10', '16-10=6']
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,32 unequal: No Solution
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,32 unequal: No Solution
Exploring Operation: 92*6=552, Resulting Numbers: [552]
552,32 unequal: No Solution
Moving to Node #0,3,0
Current State: 32:[92, 26], Operations: ['82-72=10', '16+10=26']
Exploring Operation: 92*26=2392, Resulting Numbers: [2392]
2392,32 unequal: No Solution
Exploring Operation: 92-26=66, Resulting Numbers: [66]
66,32 unequal: No Solution
Exploring Operation: 92+26=118, Resulting Numbers: [118]
118,32 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
57,
5,
62,
42
] | 52 | [
"57-5=52",
"62+42=104",
"104-52=52"
] | Current State: 52:[57, 5, 62, 42], Operations: []
Exploring Operation: 57-5=52, Resulting Numbers: [62, 42, 52]
Generated Node #2: [62, 42, 52] from Operation: 57-5=52
Current State: 52:[62, 42, 52], Operations: ['57-5=52']
Exploring Operation: 62+42=104, Resulting Numbers: [52, 104]
Generated Node #3: [52, 104] from Operation: 62+42=104
Current State: 52:[52, 104], Operations: ['57-5=52', '62+42=104']
Exploring Operation: 104-52=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[57, 5, 62, 42], Operations: []
Exploring Operation: 62-57=5, Resulting Numbers: [5, 42, 5]
Generated Node #0,0: 52:[5, 42, 5] Operation: 62-57=5
Exploring Operation: 62-42=20, Resulting Numbers: [57, 5, 20]
Generated Node #0,1: 52:[57, 5, 20] Operation: 62-42=20
Moving to Node #0,0
Current State: 52:[5, 42, 5], Operations: ['62-57=5']
Exploring Operation: 42+5=47, Resulting Numbers: [5, 47]
Generated Node #0,0,0: 52:[5, 47] Operation: 42+5=47
Exploring Operation: 5+42=47, Resulting Numbers: [5, 47]
Generated Node #0,0,1: 52:[5, 47] Operation: 5+42=47
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[5, 47], Operations: ['62-57=5', '42+5=47']
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[57, 5, 62, 42], Operations: []
Exploring Operation: 62-57=5, Resulting Numbers: [5, 42, 5]
Generated Node #0,0: 52:[5, 42, 5] Operation: 62-57=5
Moving to Node #0,0
Current State: 52:[5, 42, 5], Operations: ['62-57=5']
Exploring Operation: 42+5=47, Resulting Numbers: [5, 47]
Generated Node #0,0,0: 52:[5, 47] Operation: 42+5=47
Moving to Node #0,0,0
Current State: 52:[5, 47], Operations: ['62-57=5', '42+5=47']
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
76,
43,
12,
76
] | 55 | [
"76+43=119",
"76-12=64",
"119-64=55"
] | Current State: 55:[76, 43, 12, 76], Operations: []
Exploring Operation: 76+43=119, Resulting Numbers: [12, 119]
Generated Node #2: [12, 119] from Operation: 76+43=119
Current State: 55:[12, 119], Operations: ['76+43=119']
Exploring Operation: 76-12=64, Resulting Numbers: [119, 64]
Generated Node #3: [119, 64] from Operation: 76-12=64
Current State: 55:[119, 64], Operations: ['76+43=119', '76-12=64']
Exploring Operation: 119-64=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[76, 43, 12, 76], Operations: []
Exploring Operation: 43+12=55, Resulting Numbers: [76, 76, 55]
Generated Node #0,0: 55:[76, 76, 55] Operation: 43+12=55
Exploring Operation: 76/76=1, Resulting Numbers: [43, 12, 1]
Generated Node #0,1: 55:[43, 12, 1] Operation: 76/76=1
Exploring Operation: 76-76=0, Resulting Numbers: [43, 12, 0]
Generated Node #0,2: 55:[43, 12, 0] Operation: 76-76=0
Exploring Operation: 76-12=64, Resulting Numbers: [43, 76, 64]
Generated Node #0,3: 55:[43, 76, 64] Operation: 76-12=64
Moving to Node #0,1
Current State: 55:[43, 12, 1], Operations: ['76/76=1']
Exploring Operation: 43+12=55, Resulting Numbers: [1, 55]
Generated Node #0,1,0: 55:[1, 55] Operation: 43+12=55
Exploring Operation: 43+1=44, Resulting Numbers: [12, 44]
Generated Node #0,1,1: 55:[12, 44] Operation: 43+1=44
Exploring Operation: 12-1=11, Resulting Numbers: [43, 11]
Generated Node #0,1,2: 55:[43, 11] Operation: 12-1=11
Exploring Operation: 43*1=43, Resulting Numbers: [12, 43]
Generated Node #0,1,3: 55:[12, 43] Operation: 43*1=43
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[1, 55], Operations: ['76/76=1', '43+12=55']
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[76, 43, 12, 76], Operations: []
Exploring Operation: 76/76=1, Resulting Numbers: [43, 12, 1]
Generated Node #0,1: 55:[43, 12, 1] Operation: 76/76=1
Moving to Node #0,1
Current State: 55:[43, 12, 1], Operations: ['76/76=1']
Exploring Operation: 43+12=55, Resulting Numbers: [1, 55]
Generated Node #0,1,0: 55:[1, 55] Operation: 43+12=55
Moving to Node #0,1,0
Current State: 55:[1, 55], Operations: ['76/76=1', '43+12=55']
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
98,
84,
72,
93
] | 90 | [
"93-84=9",
"72/9=8",
"98-8=90"
] | Current State: 90:[98, 84, 72, 93], Operations: []
Exploring Operation: 93-84=9, Resulting Numbers: [98, 72, 9]
Generated Node #2: [98, 72, 9] from Operation: 93-84=9
Current State: 90:[98, 72, 9], Operations: ['93-84=9']
Exploring Operation: 72/9=8, Resulting Numbers: [98, 8]
Generated Node #3: [98, 8] from Operation: 72/9=8
Current State: 90:[98, 8], Operations: ['93-84=9', '72/9=8']
Exploring Operation: 98-8=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[98, 84, 72, 93], Operations: []
Exploring Operation: 98-72=26, Resulting Numbers: [84, 93, 26]
Generated Node #0,0: 90:[84, 93, 26] Operation: 98-72=26
Exploring Operation: 84-72=12, Resulting Numbers: [98, 93, 12]
Generated Node #0,1: 90:[98, 93, 12] Operation: 84-72=12
Moving to Node #0,0
Current State: 90:[84, 93, 26], Operations: ['98-72=26']
Exploring Operation: 93-84=9, Resulting Numbers: [26, 9]
Generated Node #0,0,0: 90:[26, 9] Operation: 93-84=9
Exploring Operation: 84-26=58, Resulting Numbers: [93, 58]
Generated Node #0,0,1: 90:[93, 58] Operation: 84-26=58
Moving to Node #0,1
Current State: 90:[98, 93, 12], Operations: ['84-72=12']
Exploring Operation: 98-12=86, Resulting Numbers: [93, 86]
Generated Node #0,1,0: 90:[93, 86] Operation: 98-12=86
Exploring Operation: 98-93=5, Resulting Numbers: [12, 5]
Generated Node #0,1,1: 90:[12, 5] Operation: 98-93=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[12, 5], Operations: ['84-72=12', '98-93=5']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[93, 86], Operations: ['84-72=12', '98-12=86']
Exploring Operation: 93+86=179, Resulting Numbers: [179]
179,90 unequal: No Solution
Exploring Operation: 93-86=7, Resulting Numbers: [7]
7,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 90:[26, 9], Operations: ['98-72=26', '93-84=9']
Exploring Operation: 26+9=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[93, 58], Operations: ['98-72=26', '84-26=58']
Exploring Operation: 93+58=151, Resulting Numbers: [151]
151,90 unequal: No Solution
Exploring Operation: 93-58=35, Resulting Numbers: [35]
35,90 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
25,
17,
63,
68
] | 37 | [
"25+17=42",
"68-63=5",
"42-5=37"
] | Current State: 37:[25, 17, 63, 68], Operations: []
Exploring Operation: 25+17=42, Resulting Numbers: [63, 68, 42]
Generated Node #2: [63, 68, 42] from Operation: 25+17=42
Current State: 37:[63, 68, 42], Operations: ['25+17=42']
Exploring Operation: 68-63=5, Resulting Numbers: [42, 5]
Generated Node #3: [42, 5] from Operation: 68-63=5
Current State: 37:[42, 5], Operations: ['25+17=42', '68-63=5']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[25, 17, 63, 68], Operations: []
Exploring Operation: 63-25=38, Resulting Numbers: [17, 68, 38]
Generated Node #0,0: 37:[17, 68, 38] Operation: 63-25=38
Exploring Operation: 68-25=43, Resulting Numbers: [17, 63, 43]
Generated Node #0,1: 37:[17, 63, 43] Operation: 68-25=43
Exploring Operation: 63-17=46, Resulting Numbers: [25, 68, 46]
Generated Node #0,2: 37:[25, 68, 46] Operation: 63-17=46
Exploring Operation: 68-17=51, Resulting Numbers: [25, 63, 51]
Generated Node #0,3: 37:[25, 63, 51] Operation: 68-17=51
Moving to Node #0,0
Current State: 37:[17, 68, 38], Operations: ['63-25=38']
Exploring Operation: 38-17=21, Resulting Numbers: [68, 21]
Generated Node #0,0,0: 37:[68, 21] Operation: 38-17=21
Exploring Operation: 68-17=51, Resulting Numbers: [38, 51]
Generated Node #0,0,1: 37:[38, 51] Operation: 68-17=51
Exploring Operation: 68/17=4, Resulting Numbers: [38, 4]
Generated Node #0,0,2: 37:[38, 4] Operation: 68/17=4
Exploring Operation: 68-38=30, Resulting Numbers: [17, 30]
Generated Node #0,0,3: 37:[17, 30] Operation: 68-38=30
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[38, 51], Operations: ['63-25=38', '68-17=51']
Exploring Operation: 38*51=1938, Resulting Numbers: [1938]
1938,37 unequal: No Solution
Exploring Operation: 38+51=89, Resulting Numbers: [89]
89,37 unequal: No Solution
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,37 unequal: No Solution
No 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: 37:[17, 30], Operations: ['63-25=38', '68-38=30']
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Exploring Operation: 17*30=510, Resulting Numbers: [510]
510,37 unequal: No Solution
No 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: 37:[38, 4], Operations: ['63-25=38', '68/17=4']
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,37 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,37 unequal: No Solution
No 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: 37:[68, 21], Operations: ['63-25=38', '38-17=21']
Exploring Operation: 68+21=89, Resulting Numbers: [89]
89,37 unequal: No Solution
Exploring Operation: 68*21=1428, Resulting Numbers: [1428]
1428,37 unequal: No Solution
Exploring Operation: 68-21=47, Resulting Numbers: [47]
47,37 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: 37:[25, 68, 46], Operations: ['63-17=46']
Exploring Operation: 25+68=93, Resulting Numbers: [46, 93]
Generated Node #0,2,0: 37:[46, 93] Operation: 25+68=93
Exploring Operation: 68-25=43, Resulting Numbers: [46, 43]
Generated Node #0,2,1: 37:[46, 43] Operation: 68-25=43
Exploring Operation: 68-46=22, Resulting Numbers: [25, 22]
Generated Node #0,2,2: 37:[25, 22] Operation: 68-46=22
Exploring Operation: 46-25=21, Resulting Numbers: [68, 21]
Generated Node #0,2,3: 37:[68, 21] Operation: 46-25=21
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 37:[46, 43], Operations: ['63-17=46', '68-25=43']
Exploring Operation: 46*43=1978, Resulting Numbers: [1978]
1978,37 unequal: No Solution
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 46+43=89, Resulting Numbers: [89]
89,37 unequal: No Solution
No 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: 37:[25, 22], Operations: ['63-17=46', '68-46=22']
Exploring Operation: 25+22=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 25*22=550, Resulting Numbers: [550]
550,37 unequal: No Solution
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,37 unequal: No Solution
No 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: 37:[68, 21], Operations: ['63-17=46', '46-25=21']
Exploring Operation: 68*21=1428, Resulting Numbers: [1428]
1428,37 unequal: No Solution
Exploring Operation: 68+21=89, Resulting Numbers: [89]
89,37 unequal: No Solution
Exploring Operation: 68-21=47, Resulting Numbers: [47]
47,37 unequal: No Solution
No 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: 37:[46, 93], Operations: ['63-17=46', '25+68=93']
Exploring Operation: 46*93=4278, Resulting Numbers: [4278]
4278,37 unequal: No Solution
Exploring Operation: 46+93=139, Resulting Numbers: [139]
139,37 unequal: No Solution
Exploring Operation: 93-46=47, Resulting Numbers: [47]
47,37 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: 37:[17, 63, 43], Operations: ['68-25=43']
Exploring Operation: 63-17=46, Resulting Numbers: [43, 46]
Generated Node #0,1,0: 37:[43, 46] Operation: 63-17=46
Exploring Operation: 17+63=80, Resulting Numbers: [43, 80]
Generated Node #0,1,1: 37:[43, 80] Operation: 17+63=80
Exploring Operation: 63-43=20, Resulting Numbers: [17, 20]
Generated Node #0,1,2: 37:[17, 20] Operation: 63-43=20
Exploring Operation: 43-17=26, Resulting Numbers: [63, 26]
Generated Node #0,1,3: 37:[63, 26] Operation: 43-17=26
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[43, 46], Operations: ['68-25=43', '63-17=46']
Exploring Operation: 43*46=1978, Resulting Numbers: [1978]
1978,37 unequal: No Solution
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 43+46=89, Resulting Numbers: [89]
89,37 unequal: No Solution
No 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: 37:[17, 20], Operations: ['68-25=43', '63-43=20']
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[25, 17, 63, 68], Operations: []
Exploring Operation: 68-25=43, Resulting Numbers: [17, 63, 43]
Generated Node #0,1: 37:[17, 63, 43] Operation: 68-25=43
Moving to Node #0,1
Current State: 37:[17, 63, 43], Operations: ['68-25=43']
Exploring Operation: 63-43=20, Resulting Numbers: [17, 20]
Generated Node #0,1,2: 37:[17, 20] Operation: 63-43=20
Moving to Node #0,1,2
Current State: 37:[17, 20], Operations: ['68-25=43', '63-43=20']
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_4 | mult_heuristic |
[
19,
48,
52,
25
] | 81 | [
"52-48=4",
"25*4=100",
"100-19=81"
] | Current State: 81:[19, 48, 52, 25], Operations: []
Exploring Operation: 52-48=4, Resulting Numbers: [19, 25, 4]
Generated Node #2: [19, 25, 4] from Operation: 52-48=4
Current State: 81:[19, 25, 4], Operations: ['52-48=4']
Exploring Operation: 25*4=100, Resulting Numbers: [19, 100]
Generated Node #3: [19, 100] from Operation: 25*4=100
Current State: 81:[19, 100], Operations: ['52-48=4', '25*4=100']
Exploring Operation: 100-19=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[19, 48, 52, 25], Operations: []
Exploring Operation: 52-48=4, Resulting Numbers: [19, 25, 4]
Generated Node #0,0: 81:[19, 25, 4] Operation: 52-48=4
Exploring Operation: 48-19=29, Resulting Numbers: [52, 25, 29]
Generated Node #0,1: 81:[52, 25, 29] Operation: 48-19=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[19, 25, 4], Operations: ['52-48=4']
Exploring Operation: 19+4=23, Resulting Numbers: [25, 23]
Generated Node #0,0,0: 81:[25, 23] Operation: 19+4=23
Exploring Operation: 25-19=6, Resulting Numbers: [4, 6]
Generated Node #0,0,1: 81:[4, 6] Operation: 25-19=6
Moving to Node #0,0,1
Current State: 81:[4, 6], Operations: ['52-48=4', '25-19=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[25, 23], Operations: ['52-48=4', '19+4=23']
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,81 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[52, 25, 29], Operations: ['48-19=29']
Exploring Operation: 52+29=81, Resulting Numbers: [25, 81]
Generated Node #0,1,0: 81:[25, 81] Operation: 52+29=81
Exploring Operation: 52-25=27, Resulting Numbers: [29, 27]
Generated Node #0,1,1: 81:[29, 27] Operation: 52-25=27
Moving to Node #0,1,0
Current State: 81:[25, 81], Operations: ['48-19=29', '52+29=81']
Exploring Operation: 25+81=106, Resulting Numbers: [106]
106,81 unequal: No Solution
Exploring Operation: 81-25=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[29, 27], Operations: ['48-19=29', '52-25=27']
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,81 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 |
[
24,
67,
59,
83
] | 80 | [
"67-59=8",
"24/8=3",
"83-3=80"
] | Current State: 80:[24, 67, 59, 83], Operations: []
Exploring Operation: 67-59=8, Resulting Numbers: [24, 83, 8]
Generated Node #2: [24, 83, 8] from Operation: 67-59=8
Current State: 80:[24, 83, 8], Operations: ['67-59=8']
Exploring Operation: 24/8=3, Resulting Numbers: [83, 3]
Generated Node #3: [83, 3] from Operation: 24/8=3
Current State: 80:[83, 3], Operations: ['67-59=8', '24/8=3']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[24, 67, 59, 83], Operations: []
Exploring Operation: 24+59=83, Resulting Numbers: [67, 83, 83]
Generated Node #0,0: 80:[67, 83, 83] Operation: 24+59=83
Exploring Operation: 67-59=8, Resulting Numbers: [24, 83, 8]
Generated Node #0,1: 80:[24, 83, 8] Operation: 67-59=8
Exploring Operation: 59-24=35, Resulting Numbers: [67, 83, 35]
Generated Node #0,2: 80:[67, 83, 35] Operation: 59-24=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[24, 83, 8], Operations: ['67-59=8']
Exploring Operation: 24-8=16, Resulting Numbers: [83, 16]
Generated Node #0,1,0: 80:[83, 16] Operation: 24-8=16
Exploring Operation: 83-8=75, Resulting Numbers: [24, 75]
Generated Node #0,1,1: 80:[24, 75] Operation: 83-8=75
Exploring Operation: 24/8=3, Resulting Numbers: [83, 3]
Generated Node #0,1,2: 80:[83, 3] Operation: 24/8=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[83, 16], Operations: ['67-59=8', '24-8=16']
Exploring Operation: 83+16=99, Resulting Numbers: [99]
99,80 unequal: No Solution
Exploring Operation: 83*16=1328, Resulting Numbers: [1328]
1328,80 unequal: No Solution
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 80:[83, 3], Operations: ['67-59=8', '24/8=3']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[24, 67, 59, 83], Operations: []
Exploring Operation: 67-59=8, Resulting Numbers: [24, 83, 8]
Generated Node #0,1: 80:[24, 83, 8] Operation: 67-59=8
Moving to Node #0,1
Current State: 80:[24, 83, 8], Operations: ['67-59=8']
Exploring Operation: 24/8=3, Resulting Numbers: [83, 3]
Generated Node #0,1,2: 80:[83, 3] Operation: 24/8=3
Moving to Node #0,1,2
Current State: 80:[83, 3], Operations: ['67-59=8', '24/8=3']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
8,
92,
47,
96
] | 35 | [
"92-8=84",
"96-47=49",
"84-49=35"
] | Current State: 35:[8, 92, 47, 96], Operations: []
Exploring Operation: 92-8=84, Resulting Numbers: [47, 96, 84]
Generated Node #2: [47, 96, 84] from Operation: 92-8=84
Current State: 35:[47, 96, 84], Operations: ['92-8=84']
Exploring Operation: 96-47=49, Resulting Numbers: [84, 49]
Generated Node #3: [84, 49] from Operation: 96-47=49
Current State: 35:[84, 49], Operations: ['92-8=84', '96-47=49']
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[8, 92, 47, 96], Operations: []
Exploring Operation: 96/8=12, Resulting Numbers: [92, 47, 12]
Generated Node #0,0: 35:[92, 47, 12] Operation: 96/8=12
Exploring Operation: 96-47=49, Resulting Numbers: [8, 92, 49]
Generated Node #0,1: 35:[8, 92, 49] Operation: 96-47=49
Exploring Operation: 92-47=45, Resulting Numbers: [8, 96, 45]
Generated Node #0,2: 35:[8, 96, 45] Operation: 92-47=45
Exploring Operation: 96-92=4, Resulting Numbers: [8, 47, 4]
Generated Node #0,3: 35:[8, 47, 4] Operation: 96-92=4
Moving to Node #0,3
Current State: 35:[8, 47, 4], Operations: ['96-92=4']
Exploring Operation: 8-4=4, Resulting Numbers: [47, 4]
Generated Node #0,3,0: 35:[47, 4] Operation: 8-4=4
Exploring Operation: 8*4=32, Resulting Numbers: [47, 32]
Generated Node #0,3,1: 35:[47, 32] Operation: 8*4=32
Exploring Operation: 47-4=43, Resulting Numbers: [8, 43]
Generated Node #0,3,2: 35:[8, 43] Operation: 47-4=43
Exploring Operation: 47-8=39, Resulting Numbers: [4, 39]
Generated Node #0,3,3: 35:[4, 39] Operation: 47-8=39
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 35:[4, 39], Operations: ['96-92=4', '47-8=39']
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,35 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[8, 92, 47, 96], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [8, 47, 4]
Generated Node #0,3: 35:[8, 47, 4] Operation: 96-92=4
Moving to Node #0,3
Current State: 35:[8, 47, 4], Operations: ['96-92=4']
Exploring Operation: 47-8=39, Resulting Numbers: [4, 39]
Generated Node #0,3,3: 35:[4, 39] Operation: 47-8=39
Moving to Node #0,3,3
Current State: 35:[4, 39], Operations: ['96-92=4', '47-8=39']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
1,
12,
2,
8
] | 71 | [
"8-2=6",
"12*6=72",
"72-1=71"
] | Current State: 71:[1, 12, 2, 8], Operations: []
Exploring Operation: 8-2=6, Resulting Numbers: [1, 12, 6]
Generated Node #2: [1, 12, 6] from Operation: 8-2=6
Current State: 71:[1, 12, 6], Operations: ['8-2=6']
Exploring Operation: 12*6=72, Resulting Numbers: [1, 72]
Generated Node #3: [1, 72] from Operation: 12*6=72
Current State: 71:[1, 72], Operations: ['8-2=6', '12*6=72']
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[1, 12, 2, 8], Operations: []
Exploring Operation: 2*8=16, Resulting Numbers: [1, 12, 16]
Generated Node #0,0: 71:[1, 12, 16] Operation: 2*8=16
Exploring Operation: 1+12=13, Resulting Numbers: [2, 8, 13]
Generated Node #0,1: 71:[2, 8, 13] Operation: 1+12=13
Exploring Operation: 12*2=24, Resulting Numbers: [1, 8, 24]
Generated Node #0,2: 71:[1, 8, 24] Operation: 12*2=24
Exploring Operation: 12*8=96, Resulting Numbers: [1, 2, 96]
Generated Node #0,3: 71:[1, 2, 96] Operation: 12*8=96
Moving to Node #0,3
Current State: 71:[1, 2, 96], Operations: ['12*8=96']
Exploring Operation: 96-1=95, Resulting Numbers: [2, 95]
Generated Node #0,3,0: 71:[2, 95] Operation: 96-1=95
Exploring Operation: 1+2=3, Resulting Numbers: [96, 3]
Generated Node #0,3,1: 71:[96, 3] Operation: 1+2=3
Exploring Operation: 96/2=48, Resulting Numbers: [1, 48]
Generated Node #0,3,2: 71:[1, 48] Operation: 96/2=48
Exploring Operation: 96-2=94, Resulting Numbers: [1, 94]
Generated Node #0,3,3: 71:[1, 94] Operation: 96-2=94
Moving to Node #0,2
Current State: 71:[1, 8, 24], Operations: ['12*2=24']
Exploring Operation: 1+24=25, Resulting Numbers: [8, 25]
Generated Node #0,2,0: 71:[8, 25] Operation: 1+24=25
Exploring Operation: 1+8=9, Resulting Numbers: [24, 9]
Generated Node #0,2,1: 71:[24, 9] Operation: 1+8=9
Exploring Operation: 1*8=8, Resulting Numbers: [24, 8]
Generated Node #0,2,2: 71:[24, 8] Operation: 1*8=8
Exploring Operation: 8+24=32, Resulting Numbers: [1, 32]
Generated Node #0,2,3: 71:[1, 32] Operation: 8+24=32
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[8, 25], Operations: ['12*2=24', '1+24=25']
Exploring Operation: 8*25=200, Resulting Numbers: [200]
200,71 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[24, 9], Operations: ['12*2=24', '1+8=9']
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,71 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 71:[1, 32], Operations: ['12*2=24', '8+24=32']
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 1+32=33, Resulting Numbers: [33]
33,71 unequal: No Solution
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 71:[24, 8], Operations: ['12*2=24', '1*8=8']
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,71 unequal: No Solution
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 71:[1, 12, 16], Operations: ['2*8=16']
Exploring Operation: 1*12=12, Resulting Numbers: [16, 12]
Generated Node #0,0,0: 71:[16, 12] Operation: 1*12=12
Exploring Operation: 1+16=17, Resulting Numbers: [12, 17]
Generated Node #0,0,1: 71:[12, 17] Operation: 1+16=17
Exploring Operation: 12+16=28, Resulting Numbers: [1, 28]
Generated Node #0,0,2: 71:[1, 28] Operation: 12+16=28
Exploring Operation: 1+12=13, Resulting Numbers: [16, 13]
Generated Node #0,0,3: 71:[16, 13] Operation: 1+12=13
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[12, 17], Operations: ['2*8=16', '1+16=17']
Exploring Operation: 12*17=204, Resulting Numbers: [204]
204,71 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Exploring Operation: 12+17=29, Resulting Numbers: [29]
29,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[1, 28], Operations: ['2*8=16', '12+16=28']
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 71:[16, 13], Operations: ['2*8=16', '1+12=13']
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,71 unequal: No Solution
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[16, 12], Operations: ['2*8=16', '1*12=12']
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,71 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 71:[2, 8, 13], Operations: ['1+12=13']
Exploring Operation: 2*8=16, Resulting Numbers: [13, 16]
Generated Node #0,1,0: 71:[13, 16] Operation: 2*8=16
Exploring Operation: 8*13=104, Resulting Numbers: [2, 104]
Generated Node #0,1,1: 71:[2, 104] Operation: 8*13=104
Exploring Operation: 2*13=26, Resulting Numbers: [8, 26]
Generated Node #0,1,2: 71:[8, 26] Operation: 2*13=26
Exploring Operation: 2+8=10, Resulting Numbers: [13, 10]
Generated Node #0,1,3: 71:[13, 10] Operation: 2+8=10
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[2, 104], Operations: ['1+12=13', '8*13=104']
Exploring Operation: 2+104=106, Resulting Numbers: [106]
106,71 unequal: No Solution
Exploring Operation: 104-2=102, Resulting Numbers: [102]
102,71 unequal: No Solution
Exploring Operation: 2*104=208, Resulting Numbers: [208]
208,71 unequal: No Solution
Exploring Operation: 104/2=52, Resulting Numbers: [52]
52,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[8, 26], Operations: ['1+12=13', '2*13=26']
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,71 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[13, 16], Operations: ['1+12=13', '2*8=16']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,71 unequal: No Solution
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 13*16=208, Resulting Numbers: [208]
208,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 71:[13, 10], Operations: ['1+12=13', '2+8=10']
Exploring Operation: 13*10=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,71 unequal: No Solution
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 71:[2, 95], Operations: ['12*8=96', '96-1=95']
Exploring Operation: 2+95=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 2*95=190, Resulting Numbers: [190]
190,71 unequal: No Solution
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[1, 48], Operations: ['12*8=96', '96/2=48']
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,71 unequal: No Solution
Exploring Operation: 1+48=49, Resulting Numbers: [49]
49,71 unequal: No Solution
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 1*48=48, Resulting Numbers: [48]
48,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[96, 3], Operations: ['12*8=96', '1+2=3']
Exploring Operation: 96*3=288, Resulting Numbers: [288]
288,71 unequal: No Solution
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,71 unequal: No Solution
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[1, 94], Operations: ['12*8=96', '96-2=94']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,71 unequal: No Solution
Exploring Operation: 1+94=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Exploring Operation: 1*94=94, Resulting Numbers: [94]
94,71 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
34,
35,
21,
6
] | 42 | [
"34+35=69",
"21+6=27",
"69-27=42"
] | Current State: 42:[34, 35, 21, 6], Operations: []
Exploring Operation: 34+35=69, Resulting Numbers: [21, 6, 69]
Generated Node #2: [21, 6, 69] from Operation: 34+35=69
Current State: 42:[21, 6, 69], Operations: ['34+35=69']
Exploring Operation: 21+6=27, Resulting Numbers: [69, 27]
Generated Node #3: [69, 27] from Operation: 21+6=27
Current State: 42:[69, 27], Operations: ['34+35=69', '21+6=27']
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[34, 35, 21, 6], Operations: []
Exploring Operation: 35+6=41, Resulting Numbers: [34, 21, 41]
Generated Node #0,0: 42:[34, 21, 41] Operation: 35+6=41
Exploring Operation: 34-21=13, Resulting Numbers: [35, 6, 13]
Generated Node #0,1: 42:[35, 6, 13] Operation: 34-21=13
Exploring Operation: 35-21=14, Resulting Numbers: [34, 6, 14]
Generated Node #0,2: 42:[34, 6, 14] Operation: 35-21=14
Exploring Operation: 35-34=1, Resulting Numbers: [21, 6, 1]
Generated Node #0,3: 42:[21, 6, 1] Operation: 35-34=1
Exploring Operation: 34+6=40, Resulting Numbers: [35, 21, 40]
Generated Node #0,4: 42:[35, 21, 40] Operation: 34+6=40
Moving to Node #0,3
Current State: 42:[21, 6, 1], Operations: ['35-34=1']
Exploring Operation: 21*1=21, Resulting Numbers: [6, 21]
Generated Node #0,3,0: 42:[6, 21] Operation: 21*1=21
Exploring Operation: 21/1=21, Resulting Numbers: [6, 21]
Generated Node #0,3,1: 42:[6, 21] Operation: 21/1=21
Exploring Operation: 6/1=6, Resulting Numbers: [21, 6]
Generated Node #0,3,2: 42:[21, 6] Operation: 6/1=6
Exploring Operation: 6*1=6, Resulting Numbers: [21, 6]
Generated Node #0,3,3: 42:[21, 6] Operation: 6*1=6
Exploring Operation: 6+1=7, Resulting Numbers: [21, 7]
Generated Node #0,3,4: 42:[21, 7] Operation: 6+1=7
Moving to Node #0,2
Current State: 42:[34, 6, 14], Operations: ['35-21=14']
Exploring Operation: 6+14=20, Resulting Numbers: [34, 20]
Generated Node #0,2,0: 42:[34, 20] Operation: 6+14=20
Exploring Operation: 34+6=40, Resulting Numbers: [14, 40]
Generated Node #0,2,1: 42:[14, 40] Operation: 34+6=40
Exploring Operation: 34-14=20, Resulting Numbers: [6, 20]
Generated Node #0,2,2: 42:[6, 20] Operation: 34-14=20
Exploring Operation: 34+14=48, Resulting Numbers: [6, 48]
Generated Node #0,2,3: 42:[6, 48] Operation: 34+14=48
Exploring Operation: 34-6=28, Resulting Numbers: [14, 28]
Generated Node #0,2,4: 42:[14, 28] Operation: 34-6=28
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 42:[6, 20], Operations: ['35-21=14', '34-14=20']
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,42 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 42:[14, 40], Operations: ['35-21=14', '34+6=40']
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,42 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 42:[6, 48], Operations: ['35-21=14', '34+14=48']
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 6*48=288, Resulting Numbers: [288]
288,42 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[34, 35, 21, 6], Operations: []
Exploring Operation: 35-21=14, Resulting Numbers: [34, 6, 14]
Generated Node #0,2: 42:[34, 6, 14] Operation: 35-21=14
Moving to Node #0,2
Current State: 42:[34, 6, 14], Operations: ['35-21=14']
Exploring Operation: 34+14=48, Resulting Numbers: [6, 48]
Generated Node #0,2,3: 42:[6, 48] Operation: 34+14=48
Moving to Node #0,2,3
Current State: 42:[6, 48], Operations: ['35-21=14', '34+14=48']
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_5 | mult_heuristic |
[
10,
19,
41,
81
] | 75 | [
"19+41=60",
"60/10=6",
"81-6=75"
] | Current State: 75:[10, 19, 41, 81], Operations: []
Exploring Operation: 19+41=60, Resulting Numbers: [10, 81, 60]
Generated Node #2: [10, 81, 60] from Operation: 19+41=60
Current State: 75:[10, 81, 60], Operations: ['19+41=60']
Exploring Operation: 60/10=6, Resulting Numbers: [81, 6]
Generated Node #3: [81, 6] from Operation: 60/10=6
Current State: 75:[81, 6], Operations: ['19+41=60', '60/10=6']
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[10, 19, 41, 81], Operations: []
Exploring Operation: 41-19=22, Resulting Numbers: [10, 81, 22]
Generated Node #0,0: 75:[10, 81, 22] Operation: 41-19=22
Exploring Operation: 41-10=31, Resulting Numbers: [19, 81, 31]
Generated Node #0,1: 75:[19, 81, 31] Operation: 41-10=31
Exploring Operation: 81-10=71, Resulting Numbers: [19, 41, 71]
Generated Node #0,2: 75:[19, 41, 71] Operation: 81-10=71
Moving to Node #0,0
Current State: 75:[10, 81, 22], Operations: ['41-19=22']
Exploring Operation: 22-10=12, Resulting Numbers: [81, 12]
Generated Node #0,0,0: 75:[81, 12] Operation: 22-10=12
Exploring Operation: 10+22=32, Resulting Numbers: [81, 32]
Generated Node #0,0,1: 75:[81, 32] Operation: 10+22=32
Exploring Operation: 81-10=71, Resulting Numbers: [22, 71]
Generated Node #0,0,2: 75:[22, 71] Operation: 81-10=71
Moving to Node #0,1
Current State: 75:[19, 81, 31], Operations: ['41-10=31']
Exploring Operation: 81-31=50, Resulting Numbers: [19, 50]
Generated Node #0,1,0: 75:[19, 50] Operation: 81-31=50
Exploring Operation: 81-19=62, Resulting Numbers: [31, 62]
Generated Node #0,1,1: 75:[31, 62] Operation: 81-19=62
Exploring Operation: 31-19=12, Resulting Numbers: [81, 12]
Generated Node #0,1,2: 75:[81, 12] Operation: 31-19=12
Moving to Node #0,2
Current State: 75:[19, 41, 71], Operations: ['81-10=71']
Exploring Operation: 19+41=60, Resulting Numbers: [71, 60]
Generated Node #0,2,0: 75:[71, 60] Operation: 19+41=60
Exploring Operation: 41-19=22, Resulting Numbers: [71, 22]
Generated Node #0,2,1: 75:[71, 22] Operation: 41-19=22
Exploring Operation: 71-41=30, Resulting Numbers: [19, 30]
Generated Node #0,2,2: 75:[19, 30] Operation: 71-41=30
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 75:[71, 22], Operations: ['81-10=71', '41-19=22']
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,75 unequal: No Solution
Exploring Operation: 71+22=93, Resulting Numbers: [93]
93,75 unequal: No Solution
Exploring Operation: 71*22=1562, Resulting Numbers: [1562]
1562,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 75:[19, 30], Operations: ['81-10=71', '71-41=30']
Exploring Operation: 19*30=570, Resulting Numbers: [570]
570,75 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 19+30=49, Resulting Numbers: [49]
49,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 75:[71, 60], Operations: ['81-10=71', '19+41=60']
Exploring Operation: 71+60=131, Resulting Numbers: [131]
131,75 unequal: No Solution
Exploring Operation: 71*60=4260, Resulting Numbers: [4260]
4260,75 unequal: No Solution
Exploring Operation: 71-60=11, Resulting Numbers: [11]
11,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 75:[22, 71], Operations: ['41-19=22', '81-10=71']
Exploring Operation: 22+71=93, Resulting Numbers: [93]
93,75 unequal: No Solution
Exploring Operation: 22*71=1562, Resulting Numbers: [1562]
1562,75 unequal: No Solution
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[81, 12], Operations: ['41-19=22', '22-10=12']
Exploring Operation: 81*12=972, Resulting Numbers: [972]
972,75 unequal: No Solution
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[81, 12], Operations: ['41-10=31', '31-19=12']
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 81*12=972, Resulting Numbers: [972]
972,75 unequal: No Solution
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[81, 32], Operations: ['41-19=22', '10+22=32']
Exploring Operation: 81*32=2592, Resulting Numbers: [2592]
2592,75 unequal: No Solution
Exploring Operation: 81-32=49, Resulting Numbers: [49]
49,75 unequal: No Solution
Exploring Operation: 81+32=113, Resulting Numbers: [113]
113,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[31, 62], Operations: ['41-10=31', '81-19=62']
Exploring Operation: 62/31=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 31+62=93, Resulting Numbers: [93]
93,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[19, 50], Operations: ['41-10=31', '81-31=50']
Exploring Operation: 19+50=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 19*50=950, Resulting Numbers: [950]
950,75 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
91,
10,
19,
31
] | 51 | [
"91+10=101",
"19+31=50",
"101-50=51"
] | Current State: 51:[91, 10, 19, 31], Operations: []
Exploring Operation: 91+10=101, Resulting Numbers: [19, 31, 101]
Generated Node #2: [19, 31, 101] from Operation: 91+10=101
Current State: 51:[19, 31, 101], Operations: ['91+10=101']
Exploring Operation: 19+31=50, Resulting Numbers: [101, 50]
Generated Node #3: [101, 50] from Operation: 19+31=50
Current State: 51:[101, 50], Operations: ['91+10=101', '19+31=50']
Exploring Operation: 101-50=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[91, 10, 19, 31], Operations: []
Exploring Operation: 91-31=60, Resulting Numbers: [10, 19, 60]
Generated Node #0,0: 51:[10, 19, 60] Operation: 91-31=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[10, 19, 60], Operations: ['91-31=60']
Exploring Operation: 60-10=50, Resulting Numbers: [19, 50]
Generated Node #0,0,0: 51:[19, 50] Operation: 60-10=50
Moving to Node #0,0,0
Current State: 51:[19, 50], Operations: ['91-31=60', '60-10=50']
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
42,
86,
3,
65
] | 35 | [
"42/3=14",
"86-65=21",
"14+21=35"
] | Current State: 35:[42, 86, 3, 65], Operations: []
Exploring Operation: 42/3=14, Resulting Numbers: [86, 65, 14]
Generated Node #2: [86, 65, 14] from Operation: 42/3=14
Current State: 35:[86, 65, 14], Operations: ['42/3=14']
Exploring Operation: 86-65=21, Resulting Numbers: [14, 21]
Generated Node #3: [14, 21] from Operation: 86-65=21
Current State: 35:[14, 21], Operations: ['42/3=14', '86-65=21']
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[42, 86, 3, 65], Operations: []
Exploring Operation: 86-42=44, Resulting Numbers: [3, 65, 44]
Generated Node #0,0: 35:[3, 65, 44] Operation: 86-42=44
Exploring Operation: 86-65=21, Resulting Numbers: [42, 3, 21]
Generated Node #0,1: 35:[42, 3, 21] Operation: 86-65=21
Moving to Node #0,1
Current State: 35:[42, 3, 21], Operations: ['86-65=21']
Exploring Operation: 21/3=7, Resulting Numbers: [42, 7]
Generated Node #0,1,0: 35:[42, 7] Operation: 21/3=7
Exploring Operation: 42/21=2, Resulting Numbers: [3, 2]
Generated Node #0,1,1: 35:[3, 2] Operation: 42/21=2
Moving to Node #0,0
Current State: 35:[3, 65, 44], Operations: ['86-42=44']
Exploring Operation: 65-44=21, Resulting Numbers: [3, 21]
Generated Node #0,0,0: 35:[3, 21] Operation: 65-44=21
Exploring Operation: 65-3=62, Resulting Numbers: [44, 62]
Generated Node #0,0,1: 35:[44, 62] Operation: 65-3=62
Moving to Node #0,1,1
Current State: 35:[3, 2], Operations: ['86-65=21', '42/21=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[42, 7], Operations: ['86-65=21', '21/3=7']
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[42, 86, 3, 65], Operations: []
Exploring Operation: 86-65=21, Resulting Numbers: [42, 3, 21]
Generated Node #0,1: 35:[42, 3, 21] Operation: 86-65=21
Moving to Node #0,1
Current State: 35:[42, 3, 21], Operations: ['86-65=21']
Exploring Operation: 21/3=7, Resulting Numbers: [42, 7]
Generated Node #0,1,0: 35:[42, 7] Operation: 21/3=7
Moving to Node #0,1,0
Current State: 35:[42, 7], Operations: ['86-65=21', '21/3=7']
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 0.987847 | hs_2 | mult_heuristic |
[
19,
28,
31,
11
] | 11 | [
"28-19=9",
"31-11=20",
"20-9=11"
] | Current State: 11:[19, 28, 31, 11], Operations: []
Exploring Operation: 28-19=9, Resulting Numbers: [31, 11, 9]
Generated Node #2: [31, 11, 9] from Operation: 28-19=9
Current State: 11:[31, 11, 9], Operations: ['28-19=9']
Exploring Operation: 31-11=20, Resulting Numbers: [9, 20]
Generated Node #3: [9, 20] from Operation: 31-11=20
Current State: 11:[9, 20], Operations: ['28-19=9', '31-11=20']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[19, 28, 31, 11], Operations: []
Exploring Operation: 31-28=3, Resulting Numbers: [19, 11, 3]
Generated Node #0,0: 11:[19, 11, 3] Operation: 31-28=3
Moving to Node #0,0
Current State: 11:[19, 11, 3], Operations: ['31-28=3']
Exploring Operation: 19-3=16, Resulting Numbers: [11, 16]
Generated Node #0,0,0: 11:[11, 16] Operation: 19-3=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[11, 16], Operations: ['31-28=3', '19-3=16']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
36,
21,
48,
54
] | 34 | [
"36*21=756",
"756/54=14",
"48-14=34"
] | Current State: 34:[36, 21, 48, 54], Operations: []
Exploring Operation: 36*21=756, Resulting Numbers: [48, 54, 756]
Generated Node #2: [48, 54, 756] from Operation: 36*21=756
Current State: 34:[48, 54, 756], Operations: ['36*21=756']
Exploring Operation: 756/54=14, Resulting Numbers: [48, 14]
Generated Node #3: [48, 14] from Operation: 756/54=14
Current State: 34:[48, 14], Operations: ['36*21=756', '756/54=14']
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[36, 21, 48, 54], Operations: []
Exploring Operation: 54-48=6, Resulting Numbers: [36, 21, 6]
Generated Node #0,0: 34:[36, 21, 6] Operation: 54-48=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[36, 21, 6], Operations: ['54-48=6']
Exploring Operation: 21-6=15, Resulting Numbers: [36, 15]
Generated Node #0,0,0: 34:[36, 15] Operation: 21-6=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[36, 15], Operations: ['54-48=6', '21-6=15']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
59,
72,
73,
32
] | 92 | [
"72-59=13",
"73+32=105",
"105-13=92"
] | Current State: 92:[59, 72, 73, 32], Operations: []
Exploring Operation: 72-59=13, Resulting Numbers: [73, 32, 13]
Generated Node #2: [73, 32, 13] from Operation: 72-59=13
Current State: 92:[73, 32, 13], Operations: ['72-59=13']
Exploring Operation: 73+32=105, Resulting Numbers: [13, 105]
Generated Node #3: [13, 105] from Operation: 73+32=105
Current State: 92:[13, 105], Operations: ['72-59=13', '73+32=105']
Exploring Operation: 105-13=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[59, 72, 73, 32], Operations: []
Exploring Operation: 73-72=1, Resulting Numbers: [59, 32, 1]
Generated Node #0,0: 92:[59, 32, 1] Operation: 73-72=1
Moving to Node #0,0
Current State: 92:[59, 32, 1], Operations: ['73-72=1']
Exploring Operation: 59+32=91, Resulting Numbers: [1, 91]
Generated Node #0,0,0: 92:[1, 91] Operation: 59+32=91
Moving to Node #0,0,0
Current State: 92:[1, 91], Operations: ['73-72=1', '59+32=91']
Exploring Operation: 1+91=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[59, 72, 73, 32], Operations: []
Exploring Operation: 73-72=1, Resulting Numbers: [59, 32, 1]
Generated Node #0,0: 92:[59, 32, 1] Operation: 73-72=1
Moving to Node #0,0
Current State: 92:[59, 32, 1], Operations: ['73-72=1']
Exploring Operation: 59+32=91, Resulting Numbers: [1, 91]
Generated Node #0,0,0: 92:[1, 91] Operation: 59+32=91
Moving to Node #0,0,0
Current State: 92:[1, 91], Operations: ['73-72=1', '59+32=91']
Exploring Operation: 1+91=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
12,
72,
68,
32
] | 75 | [
"68-32=36",
"36/12=3",
"72+3=75"
] | Current State: 75:[12, 72, 68, 32], Operations: []
Exploring Operation: 68-32=36, Resulting Numbers: [12, 72, 36]
Generated Node #2: [12, 72, 36] from Operation: 68-32=36
Current State: 75:[12, 72, 36], Operations: ['68-32=36']
Exploring Operation: 36/12=3, Resulting Numbers: [72, 3]
Generated Node #3: [72, 3] from Operation: 36/12=3
Current State: 75:[72, 3], Operations: ['68-32=36', '36/12=3']
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[12, 72, 68, 32], Operations: []
Exploring Operation: 72/12=6, Resulting Numbers: [68, 32, 6]
Generated Node #0,0: 75:[68, 32, 6] Operation: 72/12=6
Exploring Operation: 72-68=4, Resulting Numbers: [12, 32, 4]
Generated Node #0,1: 75:[12, 32, 4] Operation: 72-68=4
Exploring Operation: 32-12=20, Resulting Numbers: [72, 68, 20]
Generated Node #0,2: 75:[72, 68, 20] Operation: 32-12=20
Exploring Operation: 12+68=80, Resulting Numbers: [72, 32, 80]
Generated Node #0,3: 75:[72, 32, 80] Operation: 12+68=80
Moving to Node #0,1
Current State: 75:[12, 32, 4], Operations: ['72-68=4']
Exploring Operation: 32/4=8, Resulting Numbers: [12, 8]
Generated Node #0,1,0: 75:[12, 8] Operation: 32/4=8
Exploring Operation: 12/4=3, Resulting Numbers: [32, 3]
Generated Node #0,1,1: 75:[32, 3] Operation: 12/4=3
Exploring Operation: 32-12=20, Resulting Numbers: [4, 20]
Generated Node #0,1,2: 75:[4, 20] Operation: 32-12=20
Exploring Operation: 32-4=28, Resulting Numbers: [12, 28]
Generated Node #0,1,3: 75:[12, 28] Operation: 32-4=28
Moving to Node #0,2
Current State: 75:[72, 68, 20], Operations: ['32-12=20']
Exploring Operation: 68-20=48, Resulting Numbers: [72, 48]
Generated Node #0,2,0: 75:[72, 48] Operation: 68-20=48
Exploring Operation: 72+20=92, Resulting Numbers: [68, 92]
Generated Node #0,2,1: 75:[68, 92] Operation: 72+20=92
Exploring Operation: 72-68=4, Resulting Numbers: [20, 4]
Generated Node #0,2,2: 75:[20, 4] Operation: 72-68=4
Exploring Operation: 68+20=88, Resulting Numbers: [72, 88]
Generated Node #0,2,3: 75:[72, 88] Operation: 68+20=88
Moving to Node #0,0
Current State: 75:[68, 32, 6], Operations: ['72/12=6']
Exploring Operation: 32-6=26, Resulting Numbers: [68, 26]
Generated Node #0,0,0: 75:[68, 26] Operation: 32-6=26
Exploring Operation: 68-32=36, Resulting Numbers: [6, 36]
Generated Node #0,0,1: 75:[6, 36] Operation: 68-32=36
Exploring Operation: 68-6=62, Resulting Numbers: [32, 62]
Generated Node #0,0,2: 75:[32, 62] Operation: 68-6=62
Exploring Operation: 68+6=74, Resulting Numbers: [32, 74]
Generated Node #0,0,3: 75:[32, 74] Operation: 68+6=74
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[68, 26], Operations: ['72/12=6', '32-6=26']
Exploring Operation: 68*26=1768, Resulting Numbers: [1768]
1768,75 unequal: No Solution
Exploring Operation: 68-26=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 68+26=94, Resulting Numbers: [94]
94,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 75:[32, 74], Operations: ['72/12=6', '68+6=74']
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 32+74=106, Resulting Numbers: [106]
106,75 unequal: No Solution
Exploring Operation: 32*74=2368, Resulting Numbers: [2368]
2368,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[6, 36], Operations: ['72/12=6', '68-32=36']
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,75 unequal: No Solution
Exploring Operation: 6*36=216, Resulting Numbers: [216]
216,75 unequal: No Solution
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 75:[32, 62], Operations: ['72/12=6', '68-6=62']
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,75 unequal: No Solution
Exploring Operation: 32*62=1984, Resulting Numbers: [1984]
1984,75 unequal: No Solution
Exploring Operation: 32+62=94, Resulting Numbers: [94]
94,75 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: 75:[72, 32, 80], Operations: ['12+68=80']
Exploring Operation: 72+32=104, Resulting Numbers: [80, 104]
Generated Node #0,3,0: 75:[80, 104] Operation: 72+32=104
Exploring Operation: 72-32=40, Resulting Numbers: [80, 40]
Generated Node #0,3,1: 75:[80, 40] Operation: 72-32=40
Exploring Operation: 80-32=48, Resulting Numbers: [72, 48]
Generated Node #0,3,2: 75:[72, 48] Operation: 80-32=48
Exploring Operation: 80-72=8, Resulting Numbers: [32, 8]
Generated Node #0,3,3: 75:[32, 8] Operation: 80-72=8
Moving to Node #0,1,0
Current State: 75:[12, 8], Operations: ['72-68=4', '32/4=8']
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,75 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Moving to Node #0,1,3
Current State: 75:[12, 28], Operations: ['72-68=4', '32-4=28']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[4, 20], Operations: ['72-68=4', '32-12=20']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,75 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[20, 4], Operations: ['32-12=20', '72-68=4']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,75 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[32, 3], Operations: ['72-68=4', '12/4=3']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,75 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,75 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,75 unequal: No Solution
Moving to Node #0,3,3
Current State: 75:[32, 8], Operations: ['12+68=80', '80-72=8']
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 32*8=256, Resulting Numbers: [256]
256,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[72, 88], Operations: ['32-12=20', '68+20=88']
Exploring Operation: 72+88=160, Resulting Numbers: [160]
160,75 unequal: No Solution
Exploring Operation: 88-72=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 72*88=6336, Resulting Numbers: [6336]
6336,75 unequal: No Solution
Moving to Node #0,3,1
Current State: 75:[80, 40], Operations: ['12+68=80', '72-32=40']
Exploring Operation: 80+40=120, Resulting Numbers: [120]
120,75 unequal: No Solution
Exploring Operation: 80/40=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 80-40=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 80*40=3200, Resulting Numbers: [3200]
3200,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[68, 92], Operations: ['32-12=20', '72+20=92']
Exploring Operation: 92-68=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 68*92=6256, Resulting Numbers: [6256]
6256,75 unequal: No Solution
Exploring Operation: 68+92=160, Resulting Numbers: [160]
160,75 unequal: No Solution
Moving to Node #0,3,2
Current State: 75:[72, 48], Operations: ['12+68=80', '80-32=48']
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 72*48=3456, Resulting Numbers: [3456]
3456,75 unequal: No Solution
Exploring Operation: 72+48=120, Resulting Numbers: [120]
120,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[72, 48], Operations: ['32-12=20', '68-20=48']
Exploring Operation: 72*48=3456, Resulting Numbers: [3456]
3456,75 unequal: No Solution
Exploring Operation: 72+48=120, Resulting Numbers: [120]
120,75 unequal: No Solution
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Moving to Node #0,3,0
Current State: 75:[80, 104], Operations: ['12+68=80', '72+32=104']
Exploring Operation: 80*104=8320, Resulting Numbers: [8320]
8320,75 unequal: No Solution
Exploring Operation: 104-80=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 80+104=184, Resulting Numbers: [184]
184,75 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
12,
54,
13,
72
] | 47 | [
"72/12=6",
"54-13=41",
"6+41=47"
] | Current State: 47:[12, 54, 13, 72], Operations: []
Exploring Operation: 72/12=6, Resulting Numbers: [54, 13, 6]
Generated Node #2: [54, 13, 6] from Operation: 72/12=6
Current State: 47:[54, 13, 6], Operations: ['72/12=6']
Exploring Operation: 54-13=41, Resulting Numbers: [6, 41]
Generated Node #3: [6, 41] from Operation: 54-13=41
Current State: 47:[6, 41], Operations: ['72/12=6', '54-13=41']
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[12, 54, 13, 72], Operations: []
Exploring Operation: 54-12=42, Resulting Numbers: [13, 72, 42]
Generated Node #0,0: 47:[13, 72, 42] Operation: 54-12=42
Exploring Operation: 72-13=59, Resulting Numbers: [12, 54, 59]
Generated Node #0,1: 47:[12, 54, 59] Operation: 72-13=59
Exploring Operation: 12+13=25, Resulting Numbers: [54, 72, 25]
Generated Node #0,2: 47:[54, 72, 25] Operation: 12+13=25
Exploring Operation: 72-12=60, Resulting Numbers: [54, 13, 60]
Generated Node #0,3: 47:[54, 13, 60] Operation: 72-12=60
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[12, 54, 59], Operations: ['72-13=59']
Exploring Operation: 54-12=42, Resulting Numbers: [59, 42]
Generated Node #0,1,0: 47:[59, 42] Operation: 54-12=42
Exploring Operation: 59-12=47, Resulting Numbers: [54, 47]
Generated Node #0,1,1: 47:[54, 47] Operation: 59-12=47
Exploring Operation: 12+54=66, Resulting Numbers: [59, 66]
Generated Node #0,1,2: 47:[59, 66] Operation: 12+54=66
Exploring Operation: 12+59=71, Resulting Numbers: [54, 71]
Generated Node #0,1,3: 47:[54, 71] Operation: 12+59=71
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[54, 47], Operations: ['72-13=59', '59-12=47']
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 54+47=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 54*47=2538, Resulting Numbers: [2538]
2538,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:[59, 42], Operations: ['72-13=59', '54-12=42']
Exploring Operation: 59+42=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 59*42=2478, Resulting Numbers: [2478]
2478,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:[59, 66], Operations: ['72-13=59', '12+54=66']
Exploring Operation: 66-59=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 59+66=125, Resulting Numbers: [125]
125,47 unequal: No Solution
Exploring Operation: 59*66=3894, Resulting Numbers: [3894]
3894,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 47:[54, 71], Operations: ['72-13=59', '12+59=71']
Exploring Operation: 54*71=3834, Resulting Numbers: [3834]
3834,47 unequal: No Solution
Exploring Operation: 54+71=125, Resulting Numbers: [125]
125,47 unequal: No Solution
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,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:[54, 72, 25], Operations: ['12+13=25']
Exploring Operation: 54+25=79, Resulting Numbers: [72, 79]
Generated Node #0,2,0: 47:[72, 79] Operation: 54+25=79
Exploring Operation: 72-54=18, Resulting Numbers: [25, 18]
Generated Node #0,2,1: 47:[25, 18] Operation: 72-54=18
Exploring Operation: 54-25=29, Resulting Numbers: [72, 29]
Generated Node #0,2,2: 47:[72, 29] Operation: 54-25=29
Exploring Operation: 72-25=47, Resulting Numbers: [54, 47]
Generated Node #0,2,3: 47:[54, 47] Operation: 72-25=47
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 47:[54, 47], Operations: ['12+13=25', '72-25=47']
Exploring Operation: 54+47=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 54*47=2538, Resulting Numbers: [2538]
2538,47 unequal: No Solution
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,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,2,2
Current State: 47:[72, 29], Operations: ['12+13=25', '54-25=29']
Exploring Operation: 72+29=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 72*29=2088, Resulting Numbers: [2088]
2088,47 unequal: No Solution
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,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,2,1
Current State: 47:[25, 18], Operations: ['12+13=25', '72-54=18']
Exploring Operation: 25*18=450, Resulting Numbers: [450]
450,47 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,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,2,0
Current State: 47:[72, 79], Operations: ['12+13=25', '54+25=79']
Exploring Operation: 79-72=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 72+79=151, Resulting Numbers: [151]
151,47 unequal: No Solution
Exploring Operation: 72*79=5688, Resulting Numbers: [5688]
5688,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,3
Current State: 47:[54, 13, 60], Operations: ['72-12=60']
Exploring Operation: 60-13=47, Resulting Numbers: [54, 47]
Generated Node #0,3,0: 47:[54, 47] Operation: 60-13=47
Exploring Operation: 54-13=41, Resulting Numbers: [60, 41]
Generated Node #0,3,1: 47:[60, 41] Operation: 54-13=41
Exploring Operation: 54+13=67, Resulting Numbers: [60, 67]
Generated Node #0,3,2: 47:[60, 67] Operation: 54+13=67
Exploring Operation: 13+60=73, Resulting Numbers: [54, 73]
Generated Node #0,3,3: 47:[54, 73] Operation: 13+60=73
Moving to Node #0,3,0
Current State: 47:[54, 47], Operations: ['72-12=60', '60-13=47']
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 54+47=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 54*47=2538, Resulting Numbers: [2538]
2538,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[60, 41], Operations: ['72-12=60', '54-13=41']
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 60*41=2460, Resulting Numbers: [2460]
2460,47 unequal: No Solution
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[54, 73], Operations: ['72-12=60', '13+60=73']
Exploring Operation: 54*73=3942, Resulting Numbers: [3942]
3942,47 unequal: No Solution
Exploring Operation: 54+73=127, Resulting Numbers: [127]
127,47 unequal: No Solution
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[60, 67], Operations: ['72-12=60', '54+13=67']
Exploring Operation: 60+67=127, Resulting Numbers: [127]
127,47 unequal: No Solution
Exploring Operation: 60*67=4020, Resulting Numbers: [4020]
4020,47 unequal: No Solution
Exploring Operation: 67-60=7, Resulting Numbers: [7]
7,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,0
Current State: 47:[13, 72, 42], Operations: ['54-12=42']
Exploring Operation: 13+42=55, Resulting Numbers: [72, 55]
Generated Node #0,0,0: 47:[72, 55] Operation: 13+42=55
Exploring Operation: 42-13=29, Resulting Numbers: [72, 29]
Generated Node #0,0,1: 47:[72, 29] Operation: 42-13=29
Exploring Operation: 72-13=59, Resulting Numbers: [42, 59]
Generated Node #0,0,2: 47:[42, 59] Operation: 72-13=59
Exploring Operation: 13+72=85, Resulting Numbers: [42, 85]
Generated Node #0,0,3: 47:[42, 85] Operation: 13+72=85
Moving to Node #0,0,2
Current State: 47:[42, 59], Operations: ['54-12=42', '72-13=59']
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 42+59=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 42*59=2478, Resulting Numbers: [2478]
2478,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[72, 55], Operations: ['54-12=42', '13+42=55']
Exploring Operation: 72-55=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 72*55=3960, Resulting Numbers: [3960]
3960,47 unequal: No Solution
Exploring Operation: 72+55=127, Resulting Numbers: [127]
127,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[42, 85], Operations: ['54-12=42', '13+72=85']
Exploring Operation: 42+85=127, Resulting Numbers: [127]
127,47 unequal: No Solution
Exploring Operation: 42*85=3570, Resulting Numbers: [3570]
3570,47 unequal: No Solution
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[72, 29], Operations: ['54-12=42', '42-13=29']
Exploring Operation: 72+29=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 72*29=2088, Resulting Numbers: [2088]
2088,47 unequal: No Solution
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,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 |
[
86,
26,
11,
5
] | 33 | [
"86+11=97",
"26*5=130",
"130-97=33"
] | Current State: 33:[86, 26, 11, 5], Operations: []
Exploring Operation: 86+11=97, Resulting Numbers: [26, 5, 97]
Generated Node #2: [26, 5, 97] from Operation: 86+11=97
Current State: 33:[26, 5, 97], Operations: ['86+11=97']
Exploring Operation: 26*5=130, Resulting Numbers: [97, 130]
Generated Node #3: [97, 130] from Operation: 26*5=130
Current State: 33:[97, 130], Operations: ['86+11=97', '26*5=130']
Exploring Operation: 130-97=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[86, 26, 11, 5], Operations: []
Exploring Operation: 86-26=60, Resulting Numbers: [11, 5, 60]
Generated Node #0,0: 33:[11, 5, 60] Operation: 86-26=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[11, 5, 60], Operations: ['86-26=60']
Exploring Operation: 60/5=12, Resulting Numbers: [11, 12]
Generated Node #0,0,0: 33:[11, 12] Operation: 60/5=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[11, 12], Operations: ['86-26=60', '60/5=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
31,
65,
26,
2
] | 43 | [
"65-31=34",
"34/2=17",
"26+17=43"
] | Current State: 43:[31, 65, 26, 2], Operations: []
Exploring Operation: 65-31=34, Resulting Numbers: [26, 2, 34]
Generated Node #2: [26, 2, 34] from Operation: 65-31=34
Current State: 43:[26, 2, 34], Operations: ['65-31=34']
Exploring Operation: 34/2=17, Resulting Numbers: [26, 17]
Generated Node #3: [26, 17] from Operation: 34/2=17
Current State: 43:[26, 17], Operations: ['65-31=34', '34/2=17']
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[31, 65, 26, 2], Operations: []
Exploring Operation: 26*2=52, Resulting Numbers: [31, 65, 52]
Generated Node #0,0: 43:[31, 65, 52] Operation: 26*2=52
Moving to Node #0,0
Current State: 43:[31, 65, 52], Operations: ['26*2=52']
Exploring Operation: 65-31=34, Resulting Numbers: [52, 34]
Generated Node #0,0,0: 43:[52, 34] Operation: 65-31=34
Moving to Node #0,0,0
Current State: 43:[52, 34], Operations: ['26*2=52', '65-31=34']
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,43 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
59,
28,
35,
57
] | 21 | [
"59-57=2",
"28*2=56",
"56-35=21"
] | Current State: 21:[59, 28, 35, 57], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [28, 35, 2]
Generated Node #2: [28, 35, 2] from Operation: 59-57=2
Current State: 21:[28, 35, 2], Operations: ['59-57=2']
Exploring Operation: 28*2=56, Resulting Numbers: [35, 56]
Generated Node #3: [35, 56] from Operation: 28*2=56
Current State: 21:[35, 56], Operations: ['59-57=2', '28*2=56']
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[59, 28, 35, 57], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [28, 35, 2]
Generated Node #0,0: 21:[28, 35, 2] Operation: 59-57=2
Exploring Operation: 59-35=24, Resulting Numbers: [28, 57, 24]
Generated Node #0,1: 21:[28, 57, 24] Operation: 59-35=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[28, 35, 2], Operations: ['59-57=2']
Exploring Operation: 35-28=7, Resulting Numbers: [2, 7]
Generated Node #0,0,0: 21:[2, 7] Operation: 35-28=7
Exploring Operation: 28-2=26, Resulting Numbers: [35, 26]
Generated Node #0,0,1: 21:[35, 26] Operation: 28-2=26
Moving to Node #0,0,0
Current State: 21:[2, 7], Operations: ['59-57=2', '35-28=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[35, 26], Operations: ['59-57=2', '28-2=26']
Exploring Operation: 35+26=61, Resulting Numbers: [61]
61,21 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[28, 57, 24], Operations: ['59-35=24']
Exploring Operation: 57-24=33, Resulting Numbers: [28, 33]
Generated Node #0,1,0: 21:[28, 33] Operation: 57-24=33
Exploring Operation: 57-28=29, Resulting Numbers: [24, 29]
Generated Node #0,1,1: 21:[24, 29] Operation: 57-28=29
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[24, 29], Operations: ['59-35=24', '57-28=29']
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,21 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[28, 33], Operations: ['59-35=24', '57-24=33']
Exploring Operation: 28+33=61, Resulting Numbers: [61]
61,21 unequal: No Solution
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
86,
9,
80,
97
] | 82 | [
"86+9=95",
"80+97=177",
"177-95=82"
] | Current State: 82:[86, 9, 80, 97], Operations: []
Exploring Operation: 86+9=95, Resulting Numbers: [80, 97, 95]
Generated Node #2: [80, 97, 95] from Operation: 86+9=95
Current State: 82:[80, 97, 95], Operations: ['86+9=95']
Exploring Operation: 80+97=177, Resulting Numbers: [95, 177]
Generated Node #3: [95, 177] from Operation: 80+97=177
Current State: 82:[95, 177], Operations: ['86+9=95', '80+97=177']
Exploring Operation: 177-95=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[86, 9, 80, 97], Operations: []
Exploring Operation: 9+80=89, Resulting Numbers: [86, 97, 89]
Generated Node #0,0: 82:[86, 97, 89] Operation: 9+80=89
Exploring Operation: 86-80=6, Resulting Numbers: [9, 97, 6]
Generated Node #0,1: 82:[9, 97, 6] Operation: 86-80=6
Exploring Operation: 97-86=11, Resulting Numbers: [9, 80, 11]
Generated Node #0,2: 82:[9, 80, 11] Operation: 97-86=11
Exploring Operation: 97-9=88, Resulting Numbers: [86, 80, 88]
Generated Node #0,3: 82:[86, 80, 88] Operation: 97-9=88
Exploring Operation: 86-9=77, Resulting Numbers: [80, 97, 77]
Generated Node #0,4: 82:[80, 97, 77] Operation: 86-9=77
Moving to Node #0,3
Current State: 82:[86, 80, 88], Operations: ['97-9=88']
Exploring Operation: 88-86=2, Resulting Numbers: [80, 2]
Generated Node #0,3,0: 82:[80, 2] Operation: 88-86=2
Exploring Operation: 80+88=168, Resulting Numbers: [86, 168]
Generated Node #0,3,1: 82:[86, 168] Operation: 80+88=168
Exploring Operation: 86-80=6, Resulting Numbers: [88, 6]
Generated Node #0,3,2: 82:[88, 6] Operation: 86-80=6
Exploring Operation: 88-80=8, Resulting Numbers: [86, 8]
Generated Node #0,3,3: 82:[86, 8] Operation: 88-80=8
Exploring Operation: 86+80=166, Resulting Numbers: [88, 166]
Generated Node #0,3,4: 82:[88, 166] Operation: 86+80=166
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 82:[80, 2], Operations: ['97-9=88', '88-86=2']
Exploring Operation: 80*2=160, Resulting Numbers: [160]
160,82 unequal: No Solution
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[86, 9, 80, 97], Operations: []
Exploring Operation: 97-9=88, Resulting Numbers: [86, 80, 88]
Generated Node #0,3: 82:[86, 80, 88] Operation: 97-9=88
Moving to Node #0,3
Current State: 82:[86, 80, 88], Operations: ['97-9=88']
Exploring Operation: 88-86=2, Resulting Numbers: [80, 2]
Generated Node #0,3,0: 82:[80, 2] Operation: 88-86=2
Moving to Node #0,3,0
Current State: 82:[80, 2], Operations: ['97-9=88', '88-86=2']
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
47,
3,
5,
69
] | 67 | [
"47*3=141",
"5+69=74",
"141-74=67"
] | Current State: 67:[47, 3, 5, 69], Operations: []
Exploring Operation: 47*3=141, Resulting Numbers: [5, 69, 141]
Generated Node #2: [5, 69, 141] from Operation: 47*3=141
Current State: 67:[5, 69, 141], Operations: ['47*3=141']
Exploring Operation: 5+69=74, Resulting Numbers: [141, 74]
Generated Node #3: [141, 74] from Operation: 5+69=74
Current State: 67:[141, 74], Operations: ['47*3=141', '5+69=74']
Exploring Operation: 141-74=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[47, 3, 5, 69], Operations: []
Exploring Operation: 47+5=52, Resulting Numbers: [3, 69, 52]
Generated Node #0,0: 67:[3, 69, 52] Operation: 47+5=52
Exploring Operation: 47+3=50, Resulting Numbers: [5, 69, 50]
Generated Node #0,1: 67:[5, 69, 50] Operation: 47+3=50
Exploring Operation: 3*5=15, Resulting Numbers: [47, 69, 15]
Generated Node #0,2: 67:[47, 69, 15] Operation: 3*5=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[47, 69, 15], Operations: ['3*5=15']
Exploring Operation: 69-15=54, Resulting Numbers: [47, 54]
Generated Node #0,2,0: 67:[47, 54] Operation: 69-15=54
Exploring Operation: 47+15=62, Resulting Numbers: [69, 62]
Generated Node #0,2,1: 67:[69, 62] Operation: 47+15=62
Exploring Operation: 47-15=32, Resulting Numbers: [69, 32]
Generated Node #0,2,2: 67:[69, 32] Operation: 47-15=32
Moving to Node #0,2,1
Current State: 67:[69, 62], Operations: ['3*5=15', '47+15=62']
Exploring Operation: 69+62=131, Resulting Numbers: [131]
131,67 unequal: No Solution
Exploring Operation: 69*62=4278, Resulting Numbers: [4278]
4278,67 unequal: No Solution
Exploring Operation: 69-62=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[47, 54], Operations: ['3*5=15', '69-15=54']
Exploring Operation: 47+54=101, Resulting Numbers: [101]
101,67 unequal: No Solution
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 47*54=2538, Resulting Numbers: [2538]
2538,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[69, 32], Operations: ['3*5=15', '47-15=32']
Exploring Operation: 69-32=37, Resulting Numbers: [37]
37,67 unequal: No Solution
Exploring Operation: 69+32=101, Resulting Numbers: [101]
101,67 unequal: No Solution
Exploring Operation: 69*32=2208, Resulting Numbers: [2208]
2208,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[3, 69, 52], Operations: ['47+5=52']
Exploring Operation: 3+69=72, Resulting Numbers: [52, 72]
Generated Node #0,0,0: 67:[52, 72] Operation: 3+69=72
Exploring Operation: 69-3=66, Resulting Numbers: [52, 66]
Generated Node #0,0,1: 67:[52, 66] Operation: 69-3=66
Exploring Operation: 3+52=55, Resulting Numbers: [69, 55]
Generated Node #0,0,2: 67:[69, 55] Operation: 3+52=55
Moving to Node #0,0,2
Current State: 67:[69, 55], Operations: ['47+5=52', '3+52=55']
Exploring Operation: 69-55=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 69+55=124, Resulting Numbers: [124]
124,67 unequal: No Solution
Exploring Operation: 69*55=3795, Resulting Numbers: [3795]
3795,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[52, 66], Operations: ['47+5=52', '69-3=66']
Exploring Operation: 52*66=3432, Resulting Numbers: [3432]
3432,67 unequal: No Solution
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 52+66=118, Resulting Numbers: [118]
118,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[52, 72], Operations: ['47+5=52', '3+69=72']
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,67 unequal: No Solution
Exploring Operation: 52+72=124, Resulting Numbers: [124]
124,67 unequal: No Solution
Exploring Operation: 52*72=3744, Resulting Numbers: [3744]
3744,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[5, 69, 50], Operations: ['47+3=50']
Exploring Operation: 69-5=64, Resulting Numbers: [50, 64]
Generated Node #0,1,0: 67:[50, 64] Operation: 69-5=64
Exploring Operation: 5+50=55, Resulting Numbers: [69, 55]
Generated Node #0,1,1: 67:[69, 55] Operation: 5+50=55
Exploring Operation: 5+69=74, Resulting Numbers: [50, 74]
Generated Node #0,1,2: 67:[50, 74] Operation: 5+69=74
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[69, 55], Operations: ['47+3=50', '5+50=55']
Exploring Operation: 69-55=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 69*55=3795, Resulting Numbers: [3795]
3795,67 unequal: No Solution
Exploring Operation: 69+55=124, Resulting Numbers: [124]
124,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[50, 64], Operations: ['47+3=50', '69-5=64']
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 50+64=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 50*64=3200, Resulting Numbers: [3200]
3200,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[50, 74], Operations: ['47+3=50', '5+69=74']
Exploring Operation: 50*74=3700, Resulting Numbers: [3700]
3700,67 unequal: No Solution
Exploring Operation: 74-50=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 50+74=124, Resulting Numbers: [124]
124,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.