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 |
|---|---|---|---|---|---|---|---|---|
[
26,
33,
42,
13
] | 73 | [
"26/13=2",
"33+42=75",
"75-2=73"
] | Current State: 73:[26, 33, 42, 13], Operations: []
Exploring Operation: 26/13=2, Resulting Numbers: [33, 42, 2]
Generated Node #2: [33, 42, 2] from Operation: 26/13=2
Current State: 73:[33, 42, 2], Operations: ['26/13=2']
Exploring Operation: 33+42=75, Resulting Numbers: [2, 75]
Generated Node #3: [2, 75] from Operation: 33+42=75
Current State: 73:[2, 75], Operations: ['26/13=2', '33+42=75']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[26, 33, 42, 13], Operations: []
Exploring Operation: 26+42=68, Resulting Numbers: [33, 13, 68]
Generated Node #0,0: 73:[33, 13, 68] Operation: 26+42=68
Exploring Operation: 26+13=39, Resulting Numbers: [33, 42, 39]
Generated Node #0,1: 73:[33, 42, 39] Operation: 26+13=39
Exploring Operation: 26+33=59, Resulting Numbers: [42, 13, 59]
Generated Node #0,2: 73:[42, 13, 59] Operation: 26+33=59
Exploring Operation: 33+13=46, Resulting Numbers: [26, 42, 46]
Generated Node #0,3: 73:[26, 42, 46] Operation: 33+13=46
Exploring Operation: 42+13=55, Resulting Numbers: [26, 33, 55]
Generated Node #0,4: 73:[26, 33, 55] Operation: 42+13=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[33, 13, 68], Operations: ['26+42=68']
Exploring Operation: 68-13=55, Resulting Numbers: [33, 55]
Generated Node #0,0,0: 73:[33, 55] Operation: 68-13=55
Exploring Operation: 13+68=81, Resulting Numbers: [33, 81]
Generated Node #0,0,1: 73:[33, 81] Operation: 13+68=81
Exploring Operation: 33+13=46, Resulting Numbers: [68, 46]
Generated Node #0,0,2: 73:[68, 46] Operation: 33+13=46
Exploring Operation: 33+68=101, Resulting Numbers: [13, 101]
Generated Node #0,0,3: 73:[13, 101] Operation: 33+68=101
Exploring Operation: 33-13=20, Resulting Numbers: [68, 20]
Generated Node #0,0,4: 73:[68, 20] Operation: 33-13=20
Moving to Node #0,0,2
Current State: 73:[68, 46], Operations: ['26+42=68', '33+13=46']
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,73 unequal: No Solution
Exploring Operation: 68+46=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 68*46=3128, Resulting Numbers: [3128]
3128,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[33, 81], Operations: ['26+42=68', '13+68=81']
Exploring Operation: 33*81=2673, Resulting Numbers: [2673]
2673,73 unequal: No Solution
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Exploring Operation: 33+81=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[33, 55], Operations: ['26+42=68', '68-13=55']
Exploring Operation: 33*55=1815, Resulting Numbers: [1815]
1815,73 unequal: No Solution
Exploring Operation: 55-33=22, Resulting Numbers: [22]
22,73 unequal: No Solution
Exploring Operation: 33+55=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Moving to Node #0,0,4
Current State: 73:[68, 20], Operations: ['26+42=68', '33-13=20']
Exploring Operation: 68*20=1360, Resulting Numbers: [1360]
1360,73 unequal: No Solution
Exploring Operation: 68-20=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Exploring Operation: 68+20=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[13, 101], Operations: ['26+42=68', '33+68=101']
Exploring Operation: 101-13=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 13+101=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 13*101=1313, Resulting Numbers: [1313]
1313,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:[33, 42, 39], Operations: ['26+13=39']
Exploring Operation: 42-33=9, Resulting Numbers: [39, 9]
Generated Node #0,1,0: 73:[39, 9] Operation: 42-33=9
Exploring Operation: 39-33=6, Resulting Numbers: [42, 6]
Generated Node #0,1,1: 73:[42, 6] Operation: 39-33=6
Exploring Operation: 42+39=81, Resulting Numbers: [33, 81]
Generated Node #0,1,2: 73:[33, 81] Operation: 42+39=81
Exploring Operation: 33+42=75, Resulting Numbers: [39, 75]
Generated Node #0,1,3: 73:[39, 75] Operation: 33+42=75
Exploring Operation: 33+39=72, Resulting Numbers: [42, 72]
Generated Node #0,1,4: 73:[42, 72] Operation: 33+39=72
Moving to Node #0,1,4
Current State: 73:[42, 72], Operations: ['26+13=39', '33+39=72']
Exploring Operation: 42*72=3024, Resulting Numbers: [3024]
3024,73 unequal: No Solution
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 42+72=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[39, 75], Operations: ['26+13=39', '33+42=75']
Exploring Operation: 75-39=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 39*75=2925, Resulting Numbers: [2925]
2925,73 unequal: No Solution
Exploring Operation: 39+75=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[33, 81], Operations: ['26+13=39', '42+39=81']
Exploring Operation: 33*81=2673, Resulting Numbers: [2673]
2673,73 unequal: No Solution
Exploring Operation: 33+81=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[39, 9], Operations: ['26+13=39', '42-33=9']
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,73 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[42, 6], Operations: ['26+13=39', '39-33=6']
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,73 unequal: No Solution
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Exploring Operation: 42*6=252, Resulting Numbers: [252]
252,73 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,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:[42, 13, 59], Operations: ['26+33=59']
Exploring Operation: 42+13=55, Resulting Numbers: [59, 55]
Generated Node #0,2,0: 73:[59, 55] Operation: 42+13=55
Exploring Operation: 59-13=46, Resulting Numbers: [42, 46]
Generated Node #0,2,1: 73:[42, 46] Operation: 59-13=46
Exploring Operation: 42+59=101, Resulting Numbers: [13, 101]
Generated Node #0,2,2: 73:[13, 101] Operation: 42+59=101
Exploring Operation: 13+59=72, Resulting Numbers: [42, 72]
Generated Node #0,2,3: 73:[42, 72] Operation: 13+59=72
Exploring Operation: 42-13=29, Resulting Numbers: [59, 29]
Generated Node #0,2,4: 73:[59, 29] Operation: 42-13=29
Moving to Node #0,2,0
Current State: 73:[59, 55], Operations: ['26+33=59', '42+13=55']
Exploring Operation: 59+55=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 59*55=3245, Resulting Numbers: [3245]
3245,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[42, 72], Operations: ['26+33=59', '13+59=72']
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 42+72=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 42*72=3024, Resulting Numbers: [3024]
3024,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[42, 46], Operations: ['26+33=59', '59-13=46']
Exploring Operation: 42*46=1932, Resulting Numbers: [1932]
1932,73 unequal: No Solution
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Moving to Node #0,2,4
Current State: 73:[59, 29], Operations: ['26+33=59', '42-13=29']
Exploring Operation: 59+29=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 59*29=1711, Resulting Numbers: [1711]
1711,73 unequal: No Solution
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[13, 101], Operations: ['26+33=59', '42+59=101']
Exploring Operation: 13*101=1313, Resulting Numbers: [1313]
1313,73 unequal: No Solution
Exploring Operation: 101-13=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 13+101=114, Resulting Numbers: [114]
114,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:[26, 42, 46], Operations: ['33+13=46']
Exploring Operation: 26+46=72, Resulting Numbers: [42, 72]
Generated Node #0,3,0: 73:[42, 72] Operation: 26+46=72
Exploring Operation: 26+42=68, Resulting Numbers: [46, 68]
Generated Node #0,3,1: 73:[46, 68] Operation: 26+42=68
Exploring Operation: 46-26=20, Resulting Numbers: [42, 20]
Generated Node #0,3,2: 73:[42, 20] Operation: 46-26=20
Exploring Operation: 42+46=88, Resulting Numbers: [26, 88]
Generated Node #0,3,3: 73:[26, 88] Operation: 42+46=88
Exploring Operation: 42-26=16, Resulting Numbers: [46, 16]
Generated Node #0,3,4: 73:[46, 16] Operation: 42-26=16
Moving to Node #0,3,0
Current State: 73:[42, 72], Operations: ['33+13=46', '26+46=72']
Exploring Operation: 42+72=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 42*72=3024, Resulting Numbers: [3024]
3024,73 unequal: No Solution
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[46, 68], Operations: ['33+13=46', '26+42=68']
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,73 unequal: No Solution
Exploring Operation: 46*68=3128, Resulting Numbers: [3128]
3128,73 unequal: No Solution
Exploring Operation: 46+68=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[26, 88], Operations: ['33+13=46', '42+46=88']
Exploring Operation: 26*88=2288, Resulting Numbers: [2288]
2288,73 unequal: No Solution
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,73 unequal: No Solution
Exploring Operation: 26+88=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[42, 20], Operations: ['33+13=46', '46-26=20']
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,73 unequal: No Solution
Exploring Operation: 42*20=840, Resulting Numbers: [840]
840,73 unequal: No Solution
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,73 unequal: No Solution
Moving to Node #0,3,4
Current State: 73:[46, 16], Operations: ['33+13=46', '42-26=16']
Exploring Operation: 46+16=62, Resulting Numbers: [62]
62,73 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 46*16=736, Resulting Numbers: [736]
736,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:[26, 33, 55], Operations: ['42+13=55']
Exploring Operation: 26+33=59, Resulting Numbers: [55, 59]
Generated Node #0,4,0: 73:[55, 59] Operation: 26+33=59
Exploring Operation: 33-26=7, Resulting Numbers: [55, 7]
Generated Node #0,4,1: 73:[55, 7] Operation: 33-26=7
Exploring Operation: 55-26=29, Resulting Numbers: [33, 29]
Generated Node #0,4,2: 73:[33, 29] Operation: 55-26=29
Exploring Operation: 33+55=88, Resulting Numbers: [26, 88]
Generated Node #0,4,3: 73:[26, 88] Operation: 33+55=88
Exploring Operation: 26+55=81, Resulting Numbers: [33, 81]
Generated Node #0,4,4: 73:[33, 81] Operation: 26+55=81
Moving to Node #0,4,0
Current State: 73:[55, 59], Operations: ['42+13=55', '26+33=59']
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 55+59=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 55*59=3245, Resulting Numbers: [3245]
3245,73 unequal: No Solution
Moving to Node #0,4,4
Current State: 73:[33, 81], Operations: ['42+13=55', '26+55=81']
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Exploring Operation: 33*81=2673, Resulting Numbers: [2673]
2673,73 unequal: No Solution
Exploring Operation: 33+81=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Moving to Node #0,4,3
Current State: 73:[26, 88], Operations: ['42+13=55', '33+55=88']
Exploring Operation: 26+88=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,73 unequal: No Solution
Exploring Operation: 26*88=2288, Resulting Numbers: [2288]
2288,73 unequal: No Solution
Moving to Node #0,4,1
Current State: 73:[55, 7], Operations: ['42+13=55', '33-26=7']
Exploring Operation: 55+7=62, Resulting Numbers: [62]
62,73 unequal: No Solution
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Exploring Operation: 55*7=385, Resulting Numbers: [385]
385,73 unequal: No Solution
Moving to Node #0,4,2
Current State: 73:[33, 29], Operations: ['42+13=55', '55-26=29']
Exploring Operation: 33*29=957, Resulting Numbers: [957]
957,73 unequal: No Solution
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,73 unequal: No Solution
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,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 |
[
2,
55,
13,
39
] | 31 | [
"2+55=57",
"39-13=26",
"57-26=31"
] | Current State: 31:[2, 55, 13, 39], Operations: []
Exploring Operation: 2+55=57, Resulting Numbers: [13, 39, 57]
Generated Node #2: [13, 39, 57] from Operation: 2+55=57
Current State: 31:[13, 39, 57], Operations: ['2+55=57']
Exploring Operation: 39-13=26, Resulting Numbers: [57, 26]
Generated Node #3: [57, 26] from Operation: 39-13=26
Current State: 31:[57, 26], Operations: ['2+55=57', '39-13=26']
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[2, 55, 13, 39], Operations: []
Exploring Operation: 55-2=53, Resulting Numbers: [13, 39, 53]
Generated Node #0,0: 31:[13, 39, 53] Operation: 55-2=53
Exploring Operation: 2+13=15, Resulting Numbers: [55, 39, 15]
Generated Node #0,1: 31:[55, 39, 15] Operation: 2+13=15
Exploring Operation: 2*13=26, Resulting Numbers: [55, 39, 26]
Generated Node #0,2: 31:[55, 39, 26] Operation: 2*13=26
Exploring Operation: 55-13=42, Resulting Numbers: [2, 39, 42]
Generated Node #0,3: 31:[2, 39, 42] Operation: 55-13=42
Exploring Operation: 39-2=37, Resulting Numbers: [55, 13, 37]
Generated Node #0,4: 31:[55, 13, 37] Operation: 39-2=37
Moving to Node #0,2
Current State: 31:[55, 39, 26], Operations: ['2*13=26']
Exploring Operation: 55-39=16, Resulting Numbers: [26, 16]
Generated Node #0,2,0: 31:[26, 16] Operation: 55-39=16
Exploring Operation: 55-26=29, Resulting Numbers: [39, 29]
Generated Node #0,2,1: 31:[39, 29] Operation: 55-26=29
Exploring Operation: 55+26=81, Resulting Numbers: [39, 81]
Generated Node #0,2,2: 31:[39, 81] Operation: 55+26=81
Exploring Operation: 39+26=65, Resulting Numbers: [55, 65]
Generated Node #0,2,3: 31:[55, 65] Operation: 39+26=65
Exploring Operation: 39-26=13, Resulting Numbers: [55, 13]
Generated Node #0,2,4: 31:[55, 13] Operation: 39-26=13
Moving to Node #0,1
Current State: 31:[55, 39, 15], Operations: ['2+13=15']
Exploring Operation: 39-15=24, Resulting Numbers: [55, 24]
Generated Node #0,1,0: 31:[55, 24] Operation: 39-15=24
Exploring Operation: 39+15=54, Resulting Numbers: [55, 54]
Generated Node #0,1,1: 31:[55, 54] Operation: 39+15=54
Exploring Operation: 55+15=70, Resulting Numbers: [39, 70]
Generated Node #0,1,2: 31:[39, 70] Operation: 55+15=70
Exploring Operation: 55-15=40, Resulting Numbers: [39, 40]
Generated Node #0,1,3: 31:[39, 40] Operation: 55-15=40
Exploring Operation: 55-39=16, Resulting Numbers: [15, 16]
Generated Node #0,1,4: 31:[15, 16] Operation: 55-39=16
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 31:[39, 40], Operations: ['2+13=15', '55-15=40']
Exploring Operation: 39+40=79, Resulting Numbers: [79]
79,31 unequal: No Solution
Exploring Operation: 39*40=1560, Resulting Numbers: [1560]
1560,31 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,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,0
Current State: 31:[55, 24], Operations: ['2+13=15', '39-15=24']
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[2, 55, 13, 39], Operations: []
Exploring Operation: 2+13=15, Resulting Numbers: [55, 39, 15]
Generated Node #0,1: 31:[55, 39, 15] Operation: 2+13=15
Moving to Node #0,1
Current State: 31:[55, 39, 15], Operations: ['2+13=15']
Exploring Operation: 39-15=24, Resulting Numbers: [55, 24]
Generated Node #0,1,0: 31:[55, 24] Operation: 39-15=24
Moving to Node #0,1,0
Current State: 31:[55, 24], Operations: ['2+13=15', '39-15=24']
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
63,
63,
31,
52
] | 43 | [
"63+63=126",
"31+52=83",
"126-83=43"
] | Current State: 43:[63, 63, 31, 52], Operations: []
Exploring Operation: 63+63=126, Resulting Numbers: [31, 52, 126]
Generated Node #2: [31, 52, 126] from Operation: 63+63=126
Current State: 43:[31, 52, 126], Operations: ['63+63=126']
Exploring Operation: 31+52=83, Resulting Numbers: [126, 83]
Generated Node #3: [126, 83] from Operation: 31+52=83
Current State: 43:[126, 83], Operations: ['63+63=126', '31+52=83']
Exploring Operation: 126-83=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[63, 63, 31, 52], Operations: []
Exploring Operation: 52-31=21, Resulting Numbers: [63, 63, 21]
Generated Node #0,0: 43:[63, 63, 21] Operation: 52-31=21
Exploring Operation: 63-31=32, Resulting Numbers: [63, 52, 32]
Generated Node #0,1: 43:[63, 52, 32] Operation: 63-31=32
Exploring Operation: 63-31=32, Resulting Numbers: [63, 52, 32]
Generated Node #0,2: 43:[63, 52, 32] Operation: 63-31=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[63, 52, 32], Operations: ['63-31=32']
Exploring Operation: 63-52=11, Resulting Numbers: [32, 11]
Generated Node #0,1,0: 43:[32, 11] Operation: 63-52=11
Exploring Operation: 52-32=20, Resulting Numbers: [63, 20]
Generated Node #0,1,1: 43:[63, 20] Operation: 52-32=20
Exploring Operation: 63-32=31, Resulting Numbers: [52, 31]
Generated Node #0,1,2: 43:[52, 31] Operation: 63-32=31
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 43:[52, 31], Operations: ['63-31=32', '63-32=31']
Exploring Operation: 52+31=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Exploring Operation: 52*31=1612, Resulting Numbers: [1612]
1612,43 unequal: No Solution
Exploring Operation: 52-31=21, Resulting Numbers: [21]
21,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[32, 11], Operations: ['63-31=32', '63-52=11']
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,43 unequal: No Solution
Exploring Operation: 32+11=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[63, 63, 31, 52], Operations: []
Exploring Operation: 63-31=32, Resulting Numbers: [63, 52, 32]
Generated Node #0,1: 43:[63, 52, 32] Operation: 63-31=32
Moving to Node #0,1
Current State: 43:[63, 52, 32], Operations: ['63-31=32']
Exploring Operation: 63-52=11, Resulting Numbers: [32, 11]
Generated Node #0,1,0: 43:[32, 11] Operation: 63-52=11
Moving to Node #0,1,0
Current State: 43:[32, 11], Operations: ['63-31=32', '63-52=11']
Exploring Operation: 32+11=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
71,
17,
48,
42
] | 35 | [
"71+48=119",
"119/17=7",
"42-7=35"
] | Current State: 35:[71, 17, 48, 42], Operations: []
Exploring Operation: 71+48=119, Resulting Numbers: [17, 42, 119]
Generated Node #2: [17, 42, 119] from Operation: 71+48=119
Current State: 35:[17, 42, 119], Operations: ['71+48=119']
Exploring Operation: 119/17=7, Resulting Numbers: [42, 7]
Generated Node #3: [42, 7] from Operation: 119/17=7
Current State: 35:[42, 7], Operations: ['71+48=119', '119/17=7']
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[71, 17, 48, 42], Operations: []
Exploring Operation: 71-17=54, Resulting Numbers: [48, 42, 54]
Generated Node #0,0: 35:[48, 42, 54] Operation: 71-17=54
Exploring Operation: 48-42=6, Resulting Numbers: [71, 17, 6]
Generated Node #0,1: 35:[71, 17, 6] Operation: 48-42=6
Exploring Operation: 71-42=29, Resulting Numbers: [17, 48, 29]
Generated Node #0,2: 35:[17, 48, 29] Operation: 71-42=29
Exploring Operation: 71-48=23, Resulting Numbers: [17, 42, 23]
Generated Node #0,3: 35:[17, 42, 23] Operation: 71-48=23
Exploring Operation: 48-17=31, Resulting Numbers: [71, 42, 31]
Generated Node #0,4: 35:[71, 42, 31] Operation: 48-17=31
Moving to Node #0,2
Current State: 35:[17, 48, 29], Operations: ['71-42=29']
Exploring Operation: 48-29=19, Resulting Numbers: [17, 19]
Generated Node #0,2,0: 35:[17, 19] Operation: 48-29=19
Exploring Operation: 48-17=31, Resulting Numbers: [29, 31]
Generated Node #0,2,1: 35:[29, 31] Operation: 48-17=31
Exploring Operation: 17+48=65, Resulting Numbers: [29, 65]
Generated Node #0,2,2: 35:[29, 65] Operation: 17+48=65
Exploring Operation: 17+29=46, Resulting Numbers: [48, 46]
Generated Node #0,2,3: 35:[48, 46] Operation: 17+29=46
Exploring Operation: 29-17=12, Resulting Numbers: [48, 12]
Generated Node #0,2,4: 35:[48, 12] Operation: 29-17=12
Moving to Node #0,3
Current State: 35:[17, 42, 23], Operations: ['71-48=23']
Exploring Operation: 42-23=19, Resulting Numbers: [17, 19]
Generated Node #0,3,0: 35:[17, 19] Operation: 42-23=19
Exploring Operation: 17+42=59, Resulting Numbers: [23, 59]
Generated Node #0,3,1: 35:[23, 59] Operation: 17+42=59
Exploring Operation: 17+23=40, Resulting Numbers: [42, 40]
Generated Node #0,3,2: 35:[42, 40] Operation: 17+23=40
Exploring Operation: 23-17=6, Resulting Numbers: [42, 6]
Generated Node #0,3,3: 35:[42, 6] Operation: 23-17=6
Exploring Operation: 42-17=25, Resulting Numbers: [23, 25]
Generated Node #0,3,4: 35:[23, 25] Operation: 42-17=25
Moving to Node #0,0
Current State: 35:[48, 42, 54], Operations: ['71-17=54']
Exploring Operation: 54-42=12, Resulting Numbers: [48, 12]
Generated Node #0,0,0: 35:[48, 12] Operation: 54-42=12
Exploring Operation: 48+42=90, Resulting Numbers: [54, 90]
Generated Node #0,0,1: 35:[54, 90] Operation: 48+42=90
Exploring Operation: 48-42=6, Resulting Numbers: [54, 6]
Generated Node #0,0,2: 35:[54, 6] Operation: 48-42=6
Exploring Operation: 54-48=6, Resulting Numbers: [42, 6]
Generated Node #0,0,3: 35:[42, 6] Operation: 54-48=6
Exploring Operation: 48+54=102, Resulting Numbers: [42, 102]
Generated Node #0,0,4: 35:[42, 102] Operation: 48+54=102
Moving to Node #0,1
Current State: 35:[71, 17, 6], Operations: ['48-42=6']
Exploring Operation: 71-6=65, Resulting Numbers: [17, 65]
Generated Node #0,1,0: 35:[17, 65] Operation: 71-6=65
Exploring Operation: 17+6=23, Resulting Numbers: [71, 23]
Generated Node #0,1,1: 35:[71, 23] Operation: 17+6=23
Exploring Operation: 71-17=54, Resulting Numbers: [6, 54]
Generated Node #0,1,2: 35:[6, 54] Operation: 71-17=54
Exploring Operation: 71+6=77, Resulting Numbers: [17, 77]
Generated Node #0,1,3: 35:[17, 77] Operation: 71+6=77
Exploring Operation: 17-6=11, Resulting Numbers: [71, 11]
Generated Node #0,1,4: 35:[71, 11] Operation: 17-6=11
Moving to Node #0,4
Current State: 35:[71, 42, 31], Operations: ['48-17=31']
Exploring Operation: 71+31=102, Resulting Numbers: [42, 102]
Generated Node #0,4,0: 35:[42, 102] Operation: 71+31=102
Exploring Operation: 42+31=73, Resulting Numbers: [71, 73]
Generated Node #0,4,1: 35:[71, 73] Operation: 42+31=73
Exploring Operation: 71-31=40, Resulting Numbers: [42, 40]
Generated Node #0,4,2: 35:[42, 40] Operation: 71-31=40
Exploring Operation: 71-42=29, Resulting Numbers: [31, 29]
Generated Node #0,4,3: 35:[31, 29] Operation: 71-42=29
Exploring Operation: 42-31=11, Resulting Numbers: [71, 11]
Generated Node #0,4,4: 35:[71, 11] Operation: 42-31=11
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 35:[31, 29], Operations: ['48-17=31', '71-42=29']
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 31*29=899, Resulting Numbers: [899]
899,35 unequal: No Solution
Exploring Operation: 31+29=60, Resulting Numbers: [60]
60,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,4,2
Current State: 35:[42, 40], Operations: ['48-17=31', '71-31=40']
Exploring Operation: 42*40=1680, Resulting Numbers: [1680]
1680,35 unequal: No Solution
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,35 unequal: No Solution
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,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,4,4
Current State: 35:[71, 11], Operations: ['48-17=31', '42-31=11']
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 71*11=781, Resulting Numbers: [781]
781,35 unequal: No Solution
Exploring Operation: 71+11=82, Resulting Numbers: [82]
82,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,4,0
Current State: 35:[42, 102], Operations: ['48-17=31', '71+31=102']
Exploring Operation: 102-42=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 42+102=144, Resulting Numbers: [144]
144,35 unequal: No Solution
Exploring Operation: 42*102=4284, Resulting Numbers: [4284]
4284,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,4,1
Current State: 35:[71, 73], Operations: ['48-17=31', '42+31=73']
Exploring Operation: 71*73=5183, Resulting Numbers: [5183]
5183,35 unequal: No Solution
Exploring Operation: 73-71=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 71+73=144, Resulting Numbers: [144]
144,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 35:[42, 6], Operations: ['71-48=23', '23-17=6']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 42*6=252, Resulting Numbers: [252]
252,35 unequal: No Solution
Moving to Node #0,0,3
Current State: 35:[42, 6], Operations: ['71-17=54', '54-48=6']
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 42*6=252, Resulting Numbers: [252]
252,35 unequal: No Solution
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[29, 31], Operations: ['71-42=29', '48-17=31']
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 29*31=899, Resulting Numbers: [899]
899,35 unequal: No Solution
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Moving to Node #0,3,2
Current State: 35:[42, 40], Operations: ['71-48=23', '17+23=40']
Exploring Operation: 42*40=1680, Resulting Numbers: [1680]
1680,35 unequal: No Solution
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[48, 12], Operations: ['71-17=54', '54-42=12']
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 48*12=576, Resulting Numbers: [576]
576,35 unequal: No Solution
Moving to Node #0,2,4
Current State: 35:[48, 12], Operations: ['71-42=29', '29-17=12']
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 48*12=576, Resulting Numbers: [576]
576,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[54, 6], Operations: ['71-17=54', '48-42=6']
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Exploring Operation: 54*6=324, Resulting Numbers: [324]
324,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[6, 54], Operations: ['48-42=6', '71-17=54']
Exploring Operation: 6*54=324, Resulting Numbers: [324]
324,35 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 6+54=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[17, 19], Operations: ['71-42=29', '48-29=19']
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,35 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Moving to Node #0,3,4
Current State: 35:[23, 25], Operations: ['71-48=23', '42-17=25']
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 23*25=575, Resulting Numbers: [575]
575,35 unequal: No Solution
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Moving to Node #0,3,0
Current State: 35:[17, 19], Operations: ['71-48=23', '42-23=19']
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,35 unequal: No Solution
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Moving to Node #0,2,3
Current State: 35:[48, 46], Operations: ['71-42=29', '17+29=46']
Exploring Operation: 48*46=2208, Resulting Numbers: [2208]
2208,35 unequal: No Solution
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,35 unequal: No Solution
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[29, 65], Operations: ['71-42=29', '17+48=65']
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 29*65=1885, Resulting Numbers: [1885]
1885,35 unequal: No Solution
Exploring Operation: 29+65=94, Resulting Numbers: [94]
94,35 unequal: No Solution
Moving to Node #0,3,1
Current State: 35:[23, 59], Operations: ['71-48=23', '17+42=59']
Exploring Operation: 23*59=1357, Resulting Numbers: [1357]
1357,35 unequal: No Solution
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 23+59=82, Resulting Numbers: [82]
82,35 unequal: No Solution
Moving to Node #0,1,4
Current State: 35:[71, 11], Operations: ['48-42=6', '17-6=11']
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 71+11=82, Resulting Numbers: [82]
82,35 unequal: No Solution
Exploring Operation: 71*11=781, Resulting Numbers: [781]
781,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[17, 65], Operations: ['48-42=6', '71-6=65']
Exploring Operation: 17*65=1105, Resulting Numbers: [1105]
1105,35 unequal: No Solution
Exploring Operation: 17+65=82, Resulting Numbers: [82]
82,35 unequal: No Solution
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[71, 23], Operations: ['48-42=6', '17+6=23']
Exploring Operation: 71*23=1633, Resulting Numbers: [1633]
1633,35 unequal: No Solution
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Exploring Operation: 71+23=94, Resulting Numbers: [94]
94,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[17, 77], Operations: ['48-42=6', '71+6=77']
Exploring Operation: 17+77=94, Resulting Numbers: [94]
94,35 unequal: No Solution
Exploring Operation: 17*77=1309, Resulting Numbers: [1309]
1309,35 unequal: No Solution
Exploring Operation: 77-17=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[54, 90], Operations: ['71-17=54', '48+42=90']
Exploring Operation: 90-54=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 54*90=4860, Resulting Numbers: [4860]
4860,35 unequal: No Solution
Exploring Operation: 54+90=144, Resulting Numbers: [144]
144,35 unequal: No Solution
Moving to Node #0,0,4
Current State: 35:[42, 102], Operations: ['71-17=54', '48+54=102']
Exploring Operation: 42*102=4284, Resulting Numbers: [4284]
4284,35 unequal: No Solution
Exploring Operation: 42+102=144, Resulting Numbers: [144]
144,35 unequal: No Solution
Exploring Operation: 102-42=60, Resulting Numbers: [60]
60,35 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
13,
67,
3,
29
] | 80 | [
"67-13=54",
"29-3=26",
"54+26=80"
] | Current State: 80:[13, 67, 3, 29], Operations: []
Exploring Operation: 67-13=54, Resulting Numbers: [3, 29, 54]
Generated Node #2: [3, 29, 54] from Operation: 67-13=54
Current State: 80:[3, 29, 54], Operations: ['67-13=54']
Exploring Operation: 29-3=26, Resulting Numbers: [54, 26]
Generated Node #3: [54, 26] from Operation: 29-3=26
Current State: 80:[54, 26], Operations: ['67-13=54', '29-3=26']
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[13, 67, 3, 29], Operations: []
Exploring Operation: 13+67=80, Resulting Numbers: [3, 29, 80]
Generated Node #0,0: 80:[3, 29, 80] Operation: 13+67=80
Exploring Operation: 67-29=38, Resulting Numbers: [13, 3, 38]
Generated Node #0,1: 80:[13, 3, 38] Operation: 67-29=38
Moving to Node #0,1
Current State: 80:[13, 3, 38], Operations: ['67-29=38']
Exploring Operation: 13-3=10, Resulting Numbers: [38, 10]
Generated Node #0,1,0: 80:[38, 10] Operation: 13-3=10
Exploring Operation: 13+3=16, Resulting Numbers: [38, 16]
Generated Node #0,1,1: 80:[38, 16] Operation: 13+3=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[38, 10], Operations: ['67-29=38', '13-3=10']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[38, 16], Operations: ['67-29=38', '13+3=16']
Exploring Operation: 38+16=54, Resulting Numbers: [54]
54,80 unequal: No Solution
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,80 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: 80:[3, 29, 80], Operations: ['13+67=80']
Exploring Operation: 3*29=87, Resulting Numbers: [80, 87]
Generated Node #0,0,0: 80:[80, 87] Operation: 3*29=87
Exploring Operation: 29-3=26, Resulting Numbers: [80, 26]
Generated Node #0,0,1: 80:[80, 26] Operation: 29-3=26
Moving to Node #0,0,1
Current State: 80:[80, 26], Operations: ['13+67=80', '29-3=26']
Exploring Operation: 80-26=54, Resulting Numbers: [54]
54,80 unequal: No Solution
Exploring Operation: 80+26=106, Resulting Numbers: [106]
106,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[80, 87], Operations: ['13+67=80', '3*29=87']
Exploring Operation: 87-80=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 80+87=167, Resulting Numbers: [167]
167,80 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
59,
75,
7,
75
] | 53 | [
"59-7=52",
"75/75=1",
"52+1=53"
] | Current State: 53:[59, 75, 7, 75], Operations: []
Exploring Operation: 59-7=52, Resulting Numbers: [75, 75, 52]
Generated Node #2: [75, 75, 52] from Operation: 59-7=52
Current State: 53:[75, 75, 52], Operations: ['59-7=52']
Exploring Operation: 75/75=1, Resulting Numbers: [52, 1]
Generated Node #3: [52, 1] from Operation: 75/75=1
Current State: 53:[52, 1], Operations: ['59-7=52', '75/75=1']
Exploring Operation: 52+1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[59, 75, 7, 75], Operations: []
Exploring Operation: 75-7=68, Resulting Numbers: [59, 75, 68]
Generated Node #0,0: 53:[59, 75, 68] Operation: 75-7=68
Exploring Operation: 75-7=68, Resulting Numbers: [59, 75, 68]
Generated Node #0,1: 53:[59, 75, 68] Operation: 75-7=68
Moving to Node #0,0
Current State: 53:[59, 75, 68], Operations: ['75-7=68']
Exploring Operation: 75-68=7, Resulting Numbers: [59, 7]
Generated Node #0,0,0: 53:[59, 7] Operation: 75-68=7
Exploring Operation: 75-59=16, Resulting Numbers: [68, 16]
Generated Node #0,0,1: 53:[68, 16] Operation: 75-59=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[59, 7], Operations: ['75-7=68', '75-68=7']
Exploring Operation: 59+7=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[68, 16], Operations: ['75-7=68', '75-59=16']
Exploring Operation: 68-16=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 68+16=84, Resulting Numbers: [84]
84,53 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: 53:[59, 75, 68], Operations: ['75-7=68']
Exploring Operation: 75-68=7, Resulting Numbers: [59, 7]
Generated Node #0,1,0: 53:[59, 7] Operation: 75-68=7
Exploring Operation: 75-59=16, Resulting Numbers: [68, 16]
Generated Node #0,1,1: 53:[68, 16] Operation: 75-59=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[59, 7], Operations: ['75-7=68', '75-68=7']
Exploring Operation: 59+7=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[68, 16], Operations: ['75-7=68', '75-59=16']
Exploring Operation: 68+16=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 68-16=52, Resulting Numbers: [52]
52,53 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 |
[
4,
54,
66,
19
] | 97 | [
"54-4=50",
"66-19=47",
"50+47=97"
] | Current State: 97:[4, 54, 66, 19], Operations: []
Exploring Operation: 54-4=50, Resulting Numbers: [66, 19, 50]
Generated Node #2: [66, 19, 50] from Operation: 54-4=50
Current State: 97:[66, 19, 50], Operations: ['54-4=50']
Exploring Operation: 66-19=47, Resulting Numbers: [50, 47]
Generated Node #3: [50, 47] from Operation: 66-19=47
Current State: 97:[50, 47], Operations: ['54-4=50', '66-19=47']
Exploring Operation: 50+47=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[4, 54, 66, 19], Operations: []
Exploring Operation: 4+66=70, Resulting Numbers: [54, 19, 70]
Generated Node #0,0: 97:[54, 19, 70] Operation: 4+66=70
Exploring Operation: 4+54=58, Resulting Numbers: [66, 19, 58]
Generated Node #0,1: 97:[66, 19, 58] Operation: 4+54=58
Exploring Operation: 4*19=76, Resulting Numbers: [54, 66, 76]
Generated Node #0,2: 97:[54, 66, 76] Operation: 4*19=76
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[54, 66, 76], Operations: ['4*19=76']
Exploring Operation: 54+76=130, Resulting Numbers: [66, 130]
Generated Node #0,2,0: 97:[66, 130] Operation: 54+76=130
Exploring Operation: 66+76=142, Resulting Numbers: [54, 142]
Generated Node #0,2,1: 97:[54, 142] Operation: 66+76=142
Exploring Operation: 54+66=120, Resulting Numbers: [76, 120]
Generated Node #0,2,2: 97:[76, 120] Operation: 54+66=120
Moving to Node #0,2,2
Current State: 97:[76, 120], Operations: ['4*19=76', '54+66=120']
Exploring Operation: 120-76=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 76+120=196, Resulting Numbers: [196]
196,97 unequal: No Solution
Exploring Operation: 76*120=9120, Resulting Numbers: [9120]
9120,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[66, 130], Operations: ['4*19=76', '54+76=130']
Exploring Operation: 66*130=8580, Resulting Numbers: [8580]
8580,97 unequal: No Solution
Exploring Operation: 130-66=64, Resulting Numbers: [64]
64,97 unequal: No Solution
Exploring Operation: 66+130=196, Resulting Numbers: [196]
196,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[54, 142], Operations: ['4*19=76', '66+76=142']
Exploring Operation: 54*142=7668, Resulting Numbers: [7668]
7668,97 unequal: No Solution
Exploring Operation: 142-54=88, Resulting Numbers: [88]
88,97 unequal: No Solution
Exploring Operation: 54+142=196, Resulting Numbers: [196]
196,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
Current State: 97:[54, 19, 70], Operations: ['4+66=70']
Exploring Operation: 54-19=35, Resulting Numbers: [70, 35]
Generated Node #0,0,0: 97:[70, 35] Operation: 54-19=35
Exploring Operation: 54+19=73, Resulting Numbers: [70, 73]
Generated Node #0,0,1: 97:[70, 73] Operation: 54+19=73
Exploring Operation: 19+70=89, Resulting Numbers: [54, 89]
Generated Node #0,0,2: 97:[54, 89] Operation: 19+70=89
Moving to Node #0,0,1
Current State: 97:[70, 73], Operations: ['4+66=70', '54+19=73']
Exploring Operation: 70*73=5110, Resulting Numbers: [5110]
5110,97 unequal: No Solution
Exploring Operation: 73-70=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 70+73=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[54, 89], Operations: ['4+66=70', '19+70=89']
Exploring Operation: 54*89=4806, Resulting Numbers: [4806]
4806,97 unequal: No Solution
Exploring Operation: 54+89=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Exploring Operation: 89-54=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[70, 35], Operations: ['4+66=70', '54-19=35']
Exploring Operation: 70/35=2, Resulting Numbers: [2]
2,97 unequal: No Solution
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Exploring Operation: 70+35=105, Resulting Numbers: [105]
105,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[66, 19, 58], Operations: ['4+54=58']
Exploring Operation: 19+58=77, Resulting Numbers: [66, 77]
Generated Node #0,1,0: 97:[66, 77] Operation: 19+58=77
Exploring Operation: 66+19=85, Resulting Numbers: [58, 85]
Generated Node #0,1,1: 97:[58, 85] Operation: 66+19=85
Exploring Operation: 66-19=47, Resulting Numbers: [58, 47]
Generated Node #0,1,2: 97:[58, 47] Operation: 66-19=47
Moving to Node #0,1,0
Current State: 97:[66, 77], Operations: ['4+54=58', '19+58=77']
Exploring Operation: 77-66=11, Resulting Numbers: [11]
11,97 unequal: No Solution
Exploring Operation: 66*77=5082, Resulting Numbers: [5082]
5082,97 unequal: No Solution
Exploring Operation: 66+77=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[58, 85], Operations: ['4+54=58', '66+19=85']
Exploring Operation: 58*85=4930, Resulting Numbers: [4930]
4930,97 unequal: No Solution
Exploring Operation: 85-58=27, Resulting Numbers: [27]
27,97 unequal: No Solution
Exploring Operation: 58+85=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[58, 47], Operations: ['4+54=58', '66-19=47']
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,97 unequal: No Solution
Exploring Operation: 58+47=105, Resulting Numbers: [105]
105,97 unequal: No Solution
Exploring Operation: 58*47=2726, Resulting Numbers: [2726]
2726,97 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 |
[
27,
66,
86,
44
] | 51 | [
"27+66=93",
"86-44=42",
"93-42=51"
] | Current State: 51:[27, 66, 86, 44], Operations: []
Exploring Operation: 27+66=93, Resulting Numbers: [86, 44, 93]
Generated Node #2: [86, 44, 93] from Operation: 27+66=93
Current State: 51:[86, 44, 93], Operations: ['27+66=93']
Exploring Operation: 86-44=42, Resulting Numbers: [93, 42]
Generated Node #3: [93, 42] from Operation: 86-44=42
Current State: 51:[93, 42], Operations: ['27+66=93', '86-44=42']
Exploring Operation: 93-42=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[27, 66, 86, 44], Operations: []
Exploring Operation: 86-66=20, Resulting Numbers: [27, 44, 20]
Generated Node #0,0: 51:[27, 44, 20] Operation: 86-66=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[27, 44, 20], Operations: ['86-66=20']
Exploring Operation: 44-27=17, Resulting Numbers: [20, 17]
Generated Node #0,0,0: 51:[20, 17] Operation: 44-27=17
Moving to Node #0,0,0
Current State: 51:[20, 17], Operations: ['86-66=20', '44-27=17']
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,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 | mult_heuristic |
[
84,
40,
50,
36
] | 42 | [
"84-40=44",
"50+36=86",
"86-44=42"
] | Current State: 42:[84, 40, 50, 36], Operations: []
Exploring Operation: 84-40=44, Resulting Numbers: [50, 36, 44]
Generated Node #2: [50, 36, 44] from Operation: 84-40=44
Current State: 42:[50, 36, 44], Operations: ['84-40=44']
Exploring Operation: 50+36=86, Resulting Numbers: [44, 86]
Generated Node #3: [44, 86] from Operation: 50+36=86
Current State: 42:[44, 86], Operations: ['84-40=44', '50+36=86']
Exploring Operation: 86-44=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[84, 40, 50, 36], Operations: []
Exploring Operation: 84-50=34, Resulting Numbers: [40, 36, 34]
Generated Node #0,0: 42:[40, 36, 34] Operation: 84-50=34
Exploring Operation: 84-40=44, Resulting Numbers: [50, 36, 44]
Generated Node #0,1: 42:[50, 36, 44] Operation: 84-40=44
Exploring Operation: 50-36=14, Resulting Numbers: [84, 40, 14]
Generated Node #0,2: 42:[84, 40, 14] Operation: 50-36=14
Exploring Operation: 84-36=48, Resulting Numbers: [40, 50, 48]
Generated Node #0,3: 42:[40, 50, 48] Operation: 84-36=48
Moving to Node #0,0
Current State: 42:[40, 36, 34], Operations: ['84-50=34']
Exploring Operation: 40-36=4, Resulting Numbers: [34, 4]
Generated Node #0,0,0: 42:[34, 4] Operation: 40-36=4
Exploring Operation: 40-34=6, Resulting Numbers: [36, 6]
Generated Node #0,0,1: 42:[36, 6] Operation: 40-34=6
Exploring Operation: 36+34=70, Resulting Numbers: [40, 70]
Generated Node #0,0,2: 42:[40, 70] Operation: 36+34=70
Exploring Operation: 36-34=2, Resulting Numbers: [40, 2]
Generated Node #0,0,3: 42:[40, 2] Operation: 36-34=2
Moving to Node #0,3
Current State: 42:[40, 50, 48], Operations: ['84-36=48']
Exploring Operation: 48-40=8, Resulting Numbers: [50, 8]
Generated Node #0,3,0: 42:[50, 8] Operation: 48-40=8
Exploring Operation: 50-48=2, Resulting Numbers: [40, 2]
Generated Node #0,3,1: 42:[40, 2] Operation: 50-48=2
Exploring Operation: 50-40=10, Resulting Numbers: [48, 10]
Generated Node #0,3,2: 42:[48, 10] Operation: 50-40=10
Exploring Operation: 40+50=90, Resulting Numbers: [48, 90]
Generated Node #0,3,3: 42:[48, 90] Operation: 40+50=90
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 42:[40, 2], Operations: ['84-36=48', '50-48=2']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,42 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[84, 40, 50, 36], Operations: []
Exploring Operation: 84-36=48, Resulting Numbers: [40, 50, 48]
Generated Node #0,3: 42:[40, 50, 48] Operation: 84-36=48
Moving to Node #0,3
Current State: 42:[40, 50, 48], Operations: ['84-36=48']
Exploring Operation: 50-48=2, Resulting Numbers: [40, 2]
Generated Node #0,3,1: 42:[40, 2] Operation: 50-48=2
Moving to Node #0,3,1
Current State: 42:[40, 2], Operations: ['84-36=48', '50-48=2']
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
39,
20,
5,
39
] | 24 | [
"39/39=1",
"20+5=25",
"25-1=24"
] | Current State: 24:[39, 20, 5, 39], Operations: []
Exploring Operation: 39/39=1, Resulting Numbers: [20, 5, 1]
Generated Node #2: [20, 5, 1] from Operation: 39/39=1
Current State: 24:[20, 5, 1], Operations: ['39/39=1']
Exploring Operation: 20+5=25, Resulting Numbers: [1, 25]
Generated Node #3: [1, 25] from Operation: 20+5=25
Current State: 24:[1, 25], Operations: ['39/39=1', '20+5=25']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[39, 20, 5, 39], Operations: []
Exploring Operation: 39-20=19, Resulting Numbers: [39, 5, 19]
Generated Node #0,0: 24:[39, 5, 19] Operation: 39-20=19
Exploring Operation: 39/39=1, Resulting Numbers: [20, 5, 1]
Generated Node #0,1: 24:[20, 5, 1] Operation: 39/39=1
Exploring Operation: 39-20=19, Resulting Numbers: [5, 39, 19]
Generated Node #0,2: 24:[5, 39, 19] Operation: 39-20=19
Exploring Operation: 39-39=0, Resulting Numbers: [20, 5, 0]
Generated Node #0,3: 24:[20, 5, 0] Operation: 39-39=0
Moving to Node #0,1
Current State: 24:[20, 5, 1], Operations: ['39/39=1']
Exploring Operation: 20+1=21, Resulting Numbers: [5, 21]
Generated Node #0,1,0: 24:[5, 21] Operation: 20+1=21
Exploring Operation: 20/5=4, Resulting Numbers: [1, 4]
Generated Node #0,1,1: 24:[1, 4] Operation: 20/5=4
Exploring Operation: 20-5=15, Resulting Numbers: [1, 15]
Generated Node #0,1,2: 24:[1, 15] Operation: 20-5=15
Exploring Operation: 20+5=25, Resulting Numbers: [1, 25]
Generated Node #0,1,3: 24:[1, 25] Operation: 20+5=25
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[1, 4], Operations: ['39/39=1', '20/5=4']
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,24 unequal: No Solution
No 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: 24:[1, 25], Operations: ['39/39=1', '20+5=25']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[39, 20, 5, 39], Operations: []
Exploring Operation: 39/39=1, Resulting Numbers: [20, 5, 1]
Generated Node #0,1: 24:[20, 5, 1] Operation: 39/39=1
Moving to Node #0,1
Current State: 24:[20, 5, 1], Operations: ['39/39=1']
Exploring Operation: 20+5=25, Resulting Numbers: [1, 25]
Generated Node #0,1,3: 24:[1, 25] Operation: 20+5=25
Moving to Node #0,1,3
Current State: 24:[1, 25], Operations: ['39/39=1', '20+5=25']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
60,
34,
40,
28
] | 79 | [
"60*34=2040",
"2040/40=51",
"28+51=79"
] | Current State: 79:[60, 34, 40, 28], Operations: []
Exploring Operation: 60*34=2040, Resulting Numbers: [40, 28, 2040]
Generated Node #2: [40, 28, 2040] from Operation: 60*34=2040
Current State: 79:[40, 28, 2040], Operations: ['60*34=2040']
Exploring Operation: 2040/40=51, Resulting Numbers: [28, 51]
Generated Node #3: [28, 51] from Operation: 2040/40=51
Current State: 79:[28, 51], Operations: ['60*34=2040', '2040/40=51']
Exploring Operation: 28+51=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[60, 34, 40, 28], Operations: []
Exploring Operation: 34+40=74, Resulting Numbers: [60, 28, 74]
Generated Node #0,0: 79:[60, 28, 74] Operation: 34+40=74
Moving to Node #0,0
Current State: 79:[60, 28, 74], Operations: ['34+40=74']
Exploring Operation: 60+28=88, Resulting Numbers: [74, 88]
Generated Node #0,0,0: 79:[74, 88] Operation: 60+28=88
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[74, 88], Operations: ['34+40=74', '60+28=88']
Exploring Operation: 88-74=14, Resulting Numbers: [14]
14,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
76,
63,
81,
25
] | 83 | [
"76+63=139",
"81-25=56",
"139-56=83"
] | Current State: 83:[76, 63, 81, 25], Operations: []
Exploring Operation: 76+63=139, Resulting Numbers: [81, 25, 139]
Generated Node #2: [81, 25, 139] from Operation: 76+63=139
Current State: 83:[81, 25, 139], Operations: ['76+63=139']
Exploring Operation: 81-25=56, Resulting Numbers: [139, 56]
Generated Node #3: [139, 56] from Operation: 81-25=56
Current State: 83:[139, 56], Operations: ['76+63=139', '81-25=56']
Exploring Operation: 139-56=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[76, 63, 81, 25], Operations: []
Exploring Operation: 63+25=88, Resulting Numbers: [76, 81, 88]
Generated Node #0,0: 83:[76, 81, 88] Operation: 63+25=88
Exploring Operation: 76+25=101, Resulting Numbers: [63, 81, 101]
Generated Node #0,1: 83:[63, 81, 101] Operation: 76+25=101
Moving to Node #0,0
Current State: 83:[76, 81, 88], Operations: ['63+25=88']
Exploring Operation: 88-76=12, Resulting Numbers: [81, 12]
Generated Node #0,0,0: 83:[81, 12] Operation: 88-76=12
Exploring Operation: 76+81=157, Resulting Numbers: [88, 157]
Generated Node #0,0,1: 83:[88, 157] Operation: 76+81=157
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[81, 12], Operations: ['63+25=88', '88-76=12']
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,83 unequal: No Solution
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[88, 157], Operations: ['63+25=88', '76+81=157']
Exploring Operation: 88+157=245, Resulting Numbers: [245]
245,83 unequal: No Solution
Exploring Operation: 157-88=69, Resulting Numbers: [69]
69,83 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: 83:[63, 81, 101], Operations: ['76+25=101']
Exploring Operation: 63+81=144, Resulting Numbers: [101, 144]
Generated Node #0,1,0: 83:[101, 144] Operation: 63+81=144
Exploring Operation: 101-63=38, Resulting Numbers: [81, 38]
Generated Node #0,1,1: 83:[81, 38] Operation: 101-63=38
Moving to Node #0,1,1
Current State: 83:[81, 38], Operations: ['76+25=101', '101-63=38']
Exploring Operation: 81-38=43, Resulting Numbers: [43]
43,83 unequal: No Solution
Exploring Operation: 81+38=119, Resulting Numbers: [119]
119,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[101, 144], Operations: ['76+25=101', '63+81=144']
Exploring Operation: 101+144=245, Resulting Numbers: [245]
245,83 unequal: No Solution
Exploring Operation: 144-101=43, Resulting Numbers: [43]
43,83 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
13,
60,
8,
65
] | 64 | [
"13+60=73",
"73-65=8",
"8*8=64"
] | Current State: 64:[13, 60, 8, 65], Operations: []
Exploring Operation: 13+60=73, Resulting Numbers: [8, 65, 73]
Generated Node #2: [8, 65, 73] from Operation: 13+60=73
Current State: 64:[8, 65, 73], Operations: ['13+60=73']
Exploring Operation: 73-65=8, Resulting Numbers: [8, 8]
Generated Node #3: [8, 8] from Operation: 73-65=8
Current State: 64:[8, 8], Operations: ['13+60=73', '73-65=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[13, 60, 8, 65], Operations: []
Exploring Operation: 65/13=5, Resulting Numbers: [60, 8, 5]
Generated Node #0,0: 64:[60, 8, 5] Operation: 65/13=5
Exploring Operation: 65-60=5, Resulting Numbers: [13, 8, 5]
Generated Node #0,1: 64:[13, 8, 5] Operation: 65-60=5
Moving to Node #0,1
Current State: 64:[13, 8, 5], Operations: ['65-60=5']
Exploring Operation: 13-5=8, Resulting Numbers: [8, 8]
Generated Node #0,1,0: 64:[8, 8] Operation: 13-5=8
Exploring Operation: 13*5=65, Resulting Numbers: [8, 65]
Generated Node #0,1,1: 64:[8, 65] Operation: 13*5=65
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[8, 8], Operations: ['65-60=5', '13-5=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[13, 60, 8, 65], Operations: []
Exploring Operation: 65-60=5, Resulting Numbers: [13, 8, 5]
Generated Node #0,1: 64:[13, 8, 5] Operation: 65-60=5
Moving to Node #0,1
Current State: 64:[13, 8, 5], Operations: ['65-60=5']
Exploring Operation: 13-5=8, Resulting Numbers: [8, 8]
Generated Node #0,1,0: 64:[8, 8] Operation: 13-5=8
Moving to Node #0,1,0
Current State: 64:[8, 8], Operations: ['65-60=5', '13-5=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
63,
37,
25,
85
] | 29 | [
"63+85=148",
"148/37=4",
"25+4=29"
] | Current State: 29:[63, 37, 25, 85], Operations: []
Exploring Operation: 63+85=148, Resulting Numbers: [37, 25, 148]
Generated Node #2: [37, 25, 148] from Operation: 63+85=148
Current State: 29:[37, 25, 148], Operations: ['63+85=148']
Exploring Operation: 148/37=4, Resulting Numbers: [25, 4]
Generated Node #3: [25, 4] from Operation: 148/37=4
Current State: 29:[25, 4], Operations: ['63+85=148', '148/37=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[63, 37, 25, 85], Operations: []
Exploring Operation: 85-63=22, Resulting Numbers: [37, 25, 22]
Generated Node #0,0: 29:[37, 25, 22] Operation: 85-63=22
Exploring Operation: 85-37=48, Resulting Numbers: [63, 25, 48]
Generated Node #0,1: 29:[63, 25, 48] Operation: 85-37=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[37, 25, 22], Operations: ['85-63=22']
Exploring Operation: 37-25=12, Resulting Numbers: [22, 12]
Generated Node #0,0,0: 29:[22, 12] Operation: 37-25=12
Exploring Operation: 37-22=15, Resulting Numbers: [25, 15]
Generated Node #0,0,1: 29:[25, 15] Operation: 37-22=15
Moving to Node #0,0,1
Current State: 29:[25, 15], Operations: ['85-63=22', '37-22=15']
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,29 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[22, 12], Operations: ['85-63=22', '37-25=12']
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[63, 25, 48], Operations: ['85-37=48']
Exploring Operation: 63-48=15, Resulting Numbers: [25, 15]
Generated Node #0,1,0: 29:[25, 15] Operation: 63-48=15
Exploring Operation: 63-25=38, Resulting Numbers: [48, 38]
Generated Node #0,1,1: 29:[48, 38] Operation: 63-25=38
Moving to Node #0,1,0
Current State: 29:[25, 15], Operations: ['85-37=48', '63-48=15']
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,29 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[48, 38], Operations: ['85-37=48', '63-25=38']
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,29 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,
12,
53,
19
] | 75 | [
"15-12=3",
"53+19=72",
"3+72=75"
] | Current State: 75:[15, 12, 53, 19], Operations: []
Exploring Operation: 15-12=3, Resulting Numbers: [53, 19, 3]
Generated Node #2: [53, 19, 3] from Operation: 15-12=3
Current State: 75:[53, 19, 3], Operations: ['15-12=3']
Exploring Operation: 53+19=72, Resulting Numbers: [3, 72]
Generated Node #3: [3, 72] from Operation: 53+19=72
Current State: 75:[3, 72], Operations: ['15-12=3', '53+19=72']
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[15, 12, 53, 19], Operations: []
Exploring Operation: 53-19=34, Resulting Numbers: [15, 12, 34]
Generated Node #0,0: 75:[15, 12, 34] Operation: 53-19=34
Exploring Operation: 12+53=65, Resulting Numbers: [15, 19, 65]
Generated Node #0,1: 75:[15, 19, 65] Operation: 12+53=65
Exploring Operation: 15+53=68, Resulting Numbers: [12, 19, 68]
Generated Node #0,2: 75:[12, 19, 68] Operation: 15+53=68
Exploring Operation: 53+19=72, Resulting Numbers: [15, 12, 72]
Generated Node #0,3: 75:[15, 12, 72] Operation: 53+19=72
Exploring Operation: 53-15=38, Resulting Numbers: [12, 19, 38]
Generated Node #0,4: 75:[12, 19, 38] Operation: 53-15=38
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[15, 12, 72], Operations: ['53+19=72']
Exploring Operation: 15-12=3, Resulting Numbers: [72, 3]
Generated Node #0,3,0: 75:[72, 3] Operation: 15-12=3
Exploring Operation: 72/12=6, Resulting Numbers: [15, 6]
Generated Node #0,3,1: 75:[15, 6] Operation: 72/12=6
Exploring Operation: 15+72=87, Resulting Numbers: [12, 87]
Generated Node #0,3,2: 75:[12, 87] Operation: 15+72=87
Exploring Operation: 12+72=84, Resulting Numbers: [15, 84]
Generated Node #0,3,3: 75:[15, 84] Operation: 12+72=84
Exploring Operation: 15+12=27, Resulting Numbers: [72, 27]
Generated Node #0,3,4: 75:[72, 27] Operation: 15+12=27
Moving to Node #0,3,1
Current State: 75:[15, 6], Operations: ['53+19=72', '72/12=6']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Moving to Node #0,3,0
Current State: 75:[72, 3], Operations: ['53+19=72', '15-12=3']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[15, 12, 53, 19], Operations: []
Exploring Operation: 53+19=72, Resulting Numbers: [15, 12, 72]
Generated Node #0,3: 75:[15, 12, 72] Operation: 53+19=72
Moving to Node #0,3
Current State: 75:[15, 12, 72], Operations: ['53+19=72']
Exploring Operation: 15-12=3, Resulting Numbers: [72, 3]
Generated Node #0,3,0: 75:[72, 3] Operation: 15-12=3
Moving to Node #0,3,0
Current State: 75:[72, 3], Operations: ['53+19=72', '15-12=3']
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
97,
86,
92,
7
] | 13 | [
"97+86=183",
"183-92=91",
"91/7=13"
] | Current State: 13:[97, 86, 92, 7], Operations: []
Exploring Operation: 97+86=183, Resulting Numbers: [92, 7, 183]
Generated Node #2: [92, 7, 183] from Operation: 97+86=183
Current State: 13:[92, 7, 183], Operations: ['97+86=183']
Exploring Operation: 183-92=91, Resulting Numbers: [7, 91]
Generated Node #3: [7, 91] from Operation: 183-92=91
Current State: 13:[7, 91], Operations: ['97+86=183', '183-92=91']
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[97, 86, 92, 7], Operations: []
Exploring Operation: 97-92=5, Resulting Numbers: [86, 7, 5]
Generated Node #0,0: 13:[86, 7, 5] Operation: 97-92=5
Exploring Operation: 92-86=6, Resulting Numbers: [97, 7, 6]
Generated Node #0,1: 13:[97, 7, 6] Operation: 92-86=6
Exploring Operation: 97-86=11, Resulting Numbers: [92, 7, 11]
Generated Node #0,2: 13:[92, 7, 11] Operation: 97-86=11
Moving to Node #0,0
Current State: 13:[86, 7, 5], Operations: ['97-92=5']
Exploring Operation: 7+5=12, Resulting Numbers: [86, 12]
Generated Node #0,0,0: 13:[86, 12] Operation: 7+5=12
Exploring Operation: 86-7=79, Resulting Numbers: [5, 79]
Generated Node #0,0,1: 13:[5, 79] Operation: 86-7=79
Exploring Operation: 86-5=81, Resulting Numbers: [7, 81]
Generated Node #0,0,2: 13:[7, 81] Operation: 86-5=81
Moving to Node #0,2
Current State: 13:[92, 7, 11], Operations: ['97-86=11']
Exploring Operation: 7+11=18, Resulting Numbers: [92, 18]
Generated Node #0,2,0: 13:[92, 18] Operation: 7+11=18
Exploring Operation: 92-11=81, Resulting Numbers: [7, 81]
Generated Node #0,2,1: 13:[7, 81] Operation: 92-11=81
Exploring Operation: 92-7=85, Resulting Numbers: [11, 85]
Generated Node #0,2,2: 13:[11, 85] Operation: 92-7=85
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 13:[7, 81], Operations: ['97-86=11', '92-11=81']
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,13 unequal: No Solution
Exploring Operation: 7+81=88, Resulting Numbers: [88]
88,13 unequal: No Solution
Exploring Operation: 7*81=567, Resulting Numbers: [567]
567,13 unequal: No Solution
No 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: 13:[11, 85], Operations: ['97-86=11', '92-7=85']
Exploring Operation: 85-11=74, Resulting Numbers: [74]
74,13 unequal: No Solution
Exploring Operation: 11*85=935, Resulting Numbers: [935]
935,13 unequal: No Solution
Exploring Operation: 11+85=96, Resulting Numbers: [96]
96,13 unequal: No Solution
No 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: 13:[92, 18], Operations: ['97-86=11', '7+11=18']
Exploring Operation: 92-18=74, Resulting Numbers: [74]
74,13 unequal: No Solution
Exploring Operation: 92+18=110, Resulting Numbers: [110]
110,13 unequal: No Solution
Exploring Operation: 92*18=1656, Resulting Numbers: [1656]
1656,13 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: 13:[97, 7, 6], Operations: ['92-86=6']
Exploring Operation: 7+6=13, Resulting Numbers: [97, 13]
Generated Node #0,1,0: 13:[97, 13] Operation: 7+6=13
Exploring Operation: 97-7=90, Resulting Numbers: [6, 90]
Generated Node #0,1,1: 13:[6, 90] Operation: 97-7=90
Exploring Operation: 97-6=91, Resulting Numbers: [7, 91]
Generated Node #0,1,2: 13:[7, 91] Operation: 97-6=91
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[97, 13], Operations: ['92-86=6', '7+6=13']
Exploring Operation: 97*13=1261, Resulting Numbers: [1261]
1261,13 unequal: No Solution
Exploring Operation: 97+13=110, Resulting Numbers: [110]
110,13 unequal: No Solution
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,13 unequal: No Solution
No 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: 13:[6, 90], Operations: ['92-86=6', '97-7=90']
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 6+90=96, Resulting Numbers: [96]
96,13 unequal: No Solution
No 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: 13:[7, 91], Operations: ['92-86=6', '97-6=91']
Exploring Operation: 7+91=98, Resulting Numbers: [98]
98,13 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[97, 86, 92, 7], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [97, 7, 6]
Generated Node #0,1: 13:[97, 7, 6] Operation: 92-86=6
Moving to Node #0,1
Current State: 13:[97, 7, 6], Operations: ['92-86=6']
Exploring Operation: 97-6=91, Resulting Numbers: [7, 91]
Generated Node #0,1,2: 13:[7, 91] Operation: 97-6=91
Moving to Node #0,1,2
Current State: 13:[7, 91], Operations: ['92-86=6', '97-6=91']
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_3 | mult_heuristic |
[
64,
11,
98,
66
] | 60 | [
"66-64=2",
"98/2=49",
"11+49=60"
] | Current State: 60:[64, 11, 98, 66], Operations: []
Exploring Operation: 66-64=2, Resulting Numbers: [11, 98, 2]
Generated Node #2: [11, 98, 2] from Operation: 66-64=2
Current State: 60:[11, 98, 2], Operations: ['66-64=2']
Exploring Operation: 98/2=49, Resulting Numbers: [11, 49]
Generated Node #3: [11, 49] from Operation: 98/2=49
Current State: 60:[11, 49], Operations: ['66-64=2', '98/2=49']
Exploring Operation: 11+49=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[64, 11, 98, 66], Operations: []
Exploring Operation: 98-66=32, Resulting Numbers: [64, 11, 32]
Generated Node #0,0: 60:[64, 11, 32] Operation: 98-66=32
Moving to Node #0,0
Current State: 60:[64, 11, 32], Operations: ['98-66=32']
Exploring Operation: 64/32=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 60:[11, 2] Operation: 64/32=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[11, 2], Operations: ['98-66=32', '64/32=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,60 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 |
[
52,
75,
89,
2
] | 36 | [
"52+75=127",
"89+2=91",
"127-91=36"
] | Current State: 36:[52, 75, 89, 2], Operations: []
Exploring Operation: 52+75=127, Resulting Numbers: [89, 2, 127]
Generated Node #2: [89, 2, 127] from Operation: 52+75=127
Current State: 36:[89, 2, 127], Operations: ['52+75=127']
Exploring Operation: 89+2=91, Resulting Numbers: [127, 91]
Generated Node #3: [127, 91] from Operation: 89+2=91
Current State: 36:[127, 91], Operations: ['52+75=127', '89+2=91']
Exploring Operation: 127-91=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[52, 75, 89, 2], Operations: []
Exploring Operation: 75-52=23, Resulting Numbers: [89, 2, 23]
Generated Node #0,0: 36:[89, 2, 23] Operation: 75-52=23
Exploring Operation: 52-2=50, Resulting Numbers: [75, 89, 50]
Generated Node #0,1: 36:[75, 89, 50] Operation: 52-2=50
Exploring Operation: 89-52=37, Resulting Numbers: [75, 2, 37]
Generated Node #0,2: 36:[75, 2, 37] Operation: 89-52=37
Exploring Operation: 52/2=26, Resulting Numbers: [75, 89, 26]
Generated Node #0,3: 36:[75, 89, 26] Operation: 52/2=26
Exploring Operation: 89-75=14, Resulting Numbers: [52, 2, 14]
Generated Node #0,4: 36:[52, 2, 14] Operation: 89-75=14
Start Sub Search at level 1: Moving to Node #0,4
Current State: 36:[52, 2, 14], Operations: ['89-75=14']
Exploring Operation: 52-14=38, Resulting Numbers: [2, 38]
Generated Node #0,4,0: 36:[2, 38] Operation: 52-14=38
Exploring Operation: 52-2=50, Resulting Numbers: [14, 50]
Generated Node #0,4,1: 36:[14, 50] Operation: 52-2=50
Exploring Operation: 14/2=7, Resulting Numbers: [52, 7]
Generated Node #0,4,2: 36:[52, 7] Operation: 14/2=7
Exploring Operation: 14-2=12, Resulting Numbers: [52, 12]
Generated Node #0,4,3: 36:[52, 12] Operation: 14-2=12
Exploring Operation: 52/2=26, Resulting Numbers: [14, 26]
Generated Node #0,4,4: 36:[14, 26] Operation: 52/2=26
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 36:[2, 38], Operations: ['89-75=14', '52-14=38']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[52, 75, 89, 2], Operations: []
Exploring Operation: 89-75=14, Resulting Numbers: [52, 2, 14]
Generated Node #0,4: 36:[52, 2, 14] Operation: 89-75=14
Moving to Node #0,4
Current State: 36:[52, 2, 14], Operations: ['89-75=14']
Exploring Operation: 52-14=38, Resulting Numbers: [2, 38]
Generated Node #0,4,0: 36:[2, 38] Operation: 52-14=38
Moving to Node #0,4,0
Current State: 36:[2, 38], Operations: ['89-75=14', '52-14=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
11,
28,
11,
76
] | 47 | [
"11/11=1",
"76-28=48",
"48-1=47"
] | Current State: 47:[11, 28, 11, 76], Operations: []
Exploring Operation: 11/11=1, Resulting Numbers: [28, 76, 1]
Generated Node #2: [28, 76, 1] from Operation: 11/11=1
Current State: 47:[28, 76, 1], Operations: ['11/11=1']
Exploring Operation: 76-28=48, Resulting Numbers: [1, 48]
Generated Node #3: [1, 48] from Operation: 76-28=48
Current State: 47:[1, 48], Operations: ['11/11=1', '76-28=48']
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[11, 28, 11, 76], Operations: []
Exploring Operation: 11+28=39, Resulting Numbers: [11, 76, 39]
Generated Node #0,0: 47:[11, 76, 39] Operation: 11+28=39
Exploring Operation: 76-11=65, Resulting Numbers: [28, 11, 65]
Generated Node #0,1: 47:[28, 11, 65] Operation: 76-11=65
Exploring Operation: 11+11=22, Resulting Numbers: [28, 76, 22]
Generated Node #0,2: 47:[28, 76, 22] Operation: 11+11=22
Exploring Operation: 28+11=39, Resulting Numbers: [11, 76, 39]
Generated Node #0,3: 47:[11, 76, 39] Operation: 28+11=39
Moving to Node #0,0
Current State: 47:[11, 76, 39], Operations: ['11+28=39']
Exploring Operation: 76-11=65, Resulting Numbers: [39, 65]
Generated Node #0,0,0: 47:[39, 65] Operation: 76-11=65
Exploring Operation: 76-39=37, Resulting Numbers: [11, 37]
Generated Node #0,0,1: 47:[11, 37] Operation: 76-39=37
Exploring Operation: 11+39=50, Resulting Numbers: [76, 50]
Generated Node #0,0,2: 47:[76, 50] Operation: 11+39=50
Exploring Operation: 11+76=87, Resulting Numbers: [39, 87]
Generated Node #0,0,3: 47:[39, 87] Operation: 11+76=87
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[39, 65], Operations: ['11+28=39', '76-11=65']
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 39*65=2535, Resulting Numbers: [2535]
2535,47 unequal: No Solution
Exploring Operation: 39+65=104, Resulting Numbers: [104]
104,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,2
Current State: 47:[76, 50], Operations: ['11+28=39', '11+39=50']
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 76+50=126, Resulting Numbers: [126]
126,47 unequal: No Solution
Exploring Operation: 76*50=3800, Resulting Numbers: [3800]
3800,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,1
Current State: 47:[11, 37], Operations: ['11+28=39', '76-39=37']
Exploring Operation: 11*37=407, Resulting Numbers: [407]
407,47 unequal: No Solution
Exploring Operation: 11+37=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,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,3
Current State: 47:[39, 87], Operations: ['11+28=39', '11+76=87']
Exploring Operation: 39+87=126, Resulting Numbers: [126]
126,47 unequal: No Solution
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 39*87=3393, Resulting Numbers: [3393]
3393,47 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: 47:[28, 76, 22], Operations: ['11+11=22']
Exploring Operation: 76-28=48, Resulting Numbers: [22, 48]
Generated Node #0,2,0: 47:[22, 48] Operation: 76-28=48
Exploring Operation: 76-22=54, Resulting Numbers: [28, 54]
Generated Node #0,2,1: 47:[28, 54] Operation: 76-22=54
Exploring Operation: 28-22=6, Resulting Numbers: [76, 6]
Generated Node #0,2,2: 47:[76, 6] Operation: 28-22=6
Exploring Operation: 28+22=50, Resulting Numbers: [76, 50]
Generated Node #0,2,3: 47:[76, 50] Operation: 28+22=50
Moving to Node #0,1
Current State: 47:[28, 11, 65], Operations: ['76-11=65']
Exploring Operation: 28+11=39, Resulting Numbers: [65, 39]
Generated Node #0,1,0: 47:[65, 39] Operation: 28+11=39
Exploring Operation: 65-11=54, Resulting Numbers: [28, 54]
Generated Node #0,1,1: 47:[28, 54] Operation: 65-11=54
Exploring Operation: 28-11=17, Resulting Numbers: [65, 17]
Generated Node #0,1,2: 47:[65, 17] Operation: 28-11=17
Exploring Operation: 65-28=37, Resulting Numbers: [11, 37]
Generated Node #0,1,3: 47:[11, 37] Operation: 65-28=37
Moving to Node #0,3
Current State: 47:[11, 76, 39], Operations: ['28+11=39']
Exploring Operation: 11+39=50, Resulting Numbers: [76, 50]
Generated Node #0,3,0: 47:[76, 50] Operation: 11+39=50
Exploring Operation: 76-39=37, Resulting Numbers: [11, 37]
Generated Node #0,3,1: 47:[11, 37] Operation: 76-39=37
Exploring Operation: 11+76=87, Resulting Numbers: [39, 87]
Generated Node #0,3,2: 47:[39, 87] Operation: 11+76=87
Exploring Operation: 76-11=65, Resulting Numbers: [39, 65]
Generated Node #0,3,3: 47:[39, 65] Operation: 76-11=65
Moving to Node #0,2,0
Current State: 47:[22, 48], Operations: ['11+11=22', '76-28=48']
Exploring Operation: 22*48=1056, Resulting Numbers: [1056]
1056,47 unequal: No Solution
Exploring Operation: 22+48=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[28, 54], Operations: ['76-11=65', '65-11=54']
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,47 unequal: No Solution
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 28*54=1512, Resulting Numbers: [1512]
1512,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[28, 54], Operations: ['11+11=22', '76-22=54']
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,47 unequal: No Solution
Exploring Operation: 28*54=1512, Resulting Numbers: [1512]
1512,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[65, 39], Operations: ['76-11=65', '28+11=39']
Exploring Operation: 65*39=2535, Resulting Numbers: [2535]
2535,47 unequal: No Solution
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 65+39=104, Resulting Numbers: [104]
104,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[39, 65], Operations: ['28+11=39', '76-11=65']
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 39+65=104, Resulting Numbers: [104]
104,47 unequal: No Solution
Exploring Operation: 39*65=2535, Resulting Numbers: [2535]
2535,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[76, 50], Operations: ['11+11=22', '28+22=50']
Exploring Operation: 76*50=3800, Resulting Numbers: [3800]
3800,47 unequal: No Solution
Exploring Operation: 76+50=126, Resulting Numbers: [126]
126,47 unequal: No Solution
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[76, 50], Operations: ['28+11=39', '11+39=50']
Exploring Operation: 76+50=126, Resulting Numbers: [126]
126,47 unequal: No Solution
Exploring Operation: 76*50=3800, Resulting Numbers: [3800]
3800,47 unequal: No Solution
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Moving to Node #0,1,3
Current State: 47:[11, 37], Operations: ['76-11=65', '65-28=37']
Exploring Operation: 11*37=407, Resulting Numbers: [407]
407,47 unequal: No Solution
Exploring Operation: 11+37=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[11, 37], Operations: ['28+11=39', '76-39=37']
Exploring Operation: 11+37=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 11*37=407, Resulting Numbers: [407]
407,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[39, 87], Operations: ['28+11=39', '11+76=87']
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 39*87=3393, Resulting Numbers: [3393]
3393,47 unequal: No Solution
Exploring Operation: 39+87=126, Resulting Numbers: [126]
126,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[65, 17], Operations: ['76-11=65', '28-11=17']
Exploring Operation: 65*17=1105, Resulting Numbers: [1105]
1105,47 unequal: No Solution
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 65+17=82, Resulting Numbers: [82]
82,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[76, 6], Operations: ['11+11=22', '28-22=6']
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 76+6=82, Resulting Numbers: [82]
82,47 unequal: No Solution
Exploring Operation: 76*6=456, Resulting Numbers: [456]
456,47 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
90,
11,
10,
18
] | 73 | [
"90+11=101",
"10+18=28",
"101-28=73"
] | Current State: 73:[90, 11, 10, 18], Operations: []
Exploring Operation: 90+11=101, Resulting Numbers: [10, 18, 101]
Generated Node #2: [10, 18, 101] from Operation: 90+11=101
Current State: 73:[10, 18, 101], Operations: ['90+11=101']
Exploring Operation: 10+18=28, Resulting Numbers: [101, 28]
Generated Node #3: [101, 28] from Operation: 10+18=28
Current State: 73:[101, 28], Operations: ['90+11=101', '10+18=28']
Exploring Operation: 101-28=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[90, 11, 10, 18], Operations: []
Exploring Operation: 11*10=110, Resulting Numbers: [90, 18, 110]
Generated Node #0,0: 73:[90, 18, 110] Operation: 11*10=110
Moving to Node #0,0
Current State: 73:[90, 18, 110], Operations: ['11*10=110']
Exploring Operation: 110-18=92, Resulting Numbers: [90, 92]
Generated Node #0,0,0: 73:[90, 92] Operation: 110-18=92
Moving to Node #0,0,0
Current State: 73:[90, 92], Operations: ['11*10=110', '110-18=92']
Exploring Operation: 92-90=2, Resulting Numbers: [2]
2,73 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
30,
24,
47,
51
] | 72 | [
"47-30=17",
"24*51=1224",
"1224/17=72"
] | Current State: 72:[30, 24, 47, 51], Operations: []
Exploring Operation: 47-30=17, Resulting Numbers: [24, 51, 17]
Generated Node #2: [24, 51, 17] from Operation: 47-30=17
Current State: 72:[24, 51, 17], Operations: ['47-30=17']
Exploring Operation: 24*51=1224, Resulting Numbers: [17, 1224]
Generated Node #3: [17, 1224] from Operation: 24*51=1224
Current State: 72:[17, 1224], Operations: ['47-30=17', '24*51=1224']
Exploring Operation: 1224/17=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[30, 24, 47, 51], Operations: []
Exploring Operation: 51-47=4, Resulting Numbers: [30, 24, 4]
Generated Node #0,0: 72:[30, 24, 4] Operation: 51-47=4
Moving to Node #0,0
Current State: 72:[30, 24, 4], Operations: ['51-47=4']
Exploring Operation: 30-24=6, Resulting Numbers: [4, 6]
Generated Node #0,0,0: 72:[4, 6] Operation: 30-24=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[4, 6], Operations: ['51-47=4', '30-24=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
60,
96,
96,
17
] | 78 | [
"60+17=77",
"96/96=1",
"77+1=78"
] | Current State: 78:[60, 96, 96, 17], Operations: []
Exploring Operation: 60+17=77, Resulting Numbers: [96, 96, 77]
Generated Node #2: [96, 96, 77] from Operation: 60+17=77
Current State: 78:[96, 96, 77], Operations: ['60+17=77']
Exploring Operation: 96/96=1, Resulting Numbers: [77, 1]
Generated Node #3: [77, 1] from Operation: 96/96=1
Current State: 78:[77, 1], Operations: ['60+17=77', '96/96=1']
Exploring Operation: 77+1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[60, 96, 96, 17], Operations: []
Exploring Operation: 96/96=1, Resulting Numbers: [60, 17, 1]
Generated Node #0,0: 78:[60, 17, 1] Operation: 96/96=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[60, 17, 1], Operations: ['96/96=1']
Exploring Operation: 60+17=77, Resulting Numbers: [1, 77]
Generated Node #0,0,0: 78:[1, 77] Operation: 60+17=77
Moving to Node #0,0,0
Current State: 78:[1, 77], Operations: ['96/96=1', '60+17=77']
Exploring Operation: 1+77=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[60, 96, 96, 17], Operations: []
Exploring Operation: 96/96=1, Resulting Numbers: [60, 17, 1]
Generated Node #0,0: 78:[60, 17, 1] Operation: 96/96=1
Moving to Node #0,0
Current State: 78:[60, 17, 1], Operations: ['96/96=1']
Exploring Operation: 60+17=77, Resulting Numbers: [1, 77]
Generated Node #0,0,0: 78:[1, 77] Operation: 60+17=77
Moving to Node #0,0,0
Current State: 78:[1, 77], Operations: ['96/96=1', '60+17=77']
Exploring Operation: 1+77=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
68,
70,
9,
30
] | 89 | [
"70*9=630",
"630/30=21",
"68+21=89"
] | Current State: 89:[68, 70, 9, 30], Operations: []
Exploring Operation: 70*9=630, Resulting Numbers: [68, 30, 630]
Generated Node #2: [68, 30, 630] from Operation: 70*9=630
Current State: 89:[68, 30, 630], Operations: ['70*9=630']
Exploring Operation: 630/30=21, Resulting Numbers: [68, 21]
Generated Node #3: [68, 21] from Operation: 630/30=21
Current State: 89:[68, 21], Operations: ['70*9=630', '630/30=21']
Exploring Operation: 68+21=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[68, 70, 9, 30], Operations: []
Exploring Operation: 9+30=39, Resulting Numbers: [68, 70, 39]
Generated Node #0,0: 89:[68, 70, 39] Operation: 9+30=39
Exploring Operation: 70+9=79, Resulting Numbers: [68, 30, 79]
Generated Node #0,1: 89:[68, 30, 79] Operation: 70+9=79
Exploring Operation: 68+9=77, Resulting Numbers: [70, 30, 77]
Generated Node #0,2: 89:[70, 30, 77] Operation: 68+9=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[68, 70, 39], Operations: ['9+30=39']
Exploring Operation: 68-39=29, Resulting Numbers: [70, 29]
Generated Node #0,0,0: 89:[70, 29] Operation: 68-39=29
Exploring Operation: 68+39=107, Resulting Numbers: [70, 107]
Generated Node #0,0,1: 89:[70, 107] Operation: 68+39=107
Exploring Operation: 70+39=109, Resulting Numbers: [68, 109]
Generated Node #0,0,2: 89:[68, 109] Operation: 70+39=109
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[70, 107], Operations: ['9+30=39', '68+39=107']
Exploring Operation: 107-70=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Exploring Operation: 70*107=7490, Resulting Numbers: [7490]
7490,89 unequal: No Solution
Exploring Operation: 70+107=177, Resulting Numbers: [177]
177,89 unequal: No Solution
No 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: 89:[68, 109], Operations: ['9+30=39', '70+39=109']
Exploring Operation: 109-68=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 68+109=177, Resulting Numbers: [177]
177,89 unequal: No Solution
Exploring Operation: 68*109=7412, Resulting Numbers: [7412]
7412,89 unequal: No Solution
No 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: 89:[70, 29], Operations: ['9+30=39', '68-39=29']
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,89 unequal: No Solution
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 70*29=2030, Resulting Numbers: [2030]
2030,89 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: 89:[68, 30, 79], Operations: ['70+9=79']
Exploring Operation: 30+79=109, Resulting Numbers: [68, 109]
Generated Node #0,1,0: 89:[68, 109] Operation: 30+79=109
Exploring Operation: 68-30=38, Resulting Numbers: [79, 38]
Generated Node #0,1,1: 89:[79, 38] Operation: 68-30=38
Exploring Operation: 68+30=98, Resulting Numbers: [79, 98]
Generated Node #0,1,2: 89:[79, 98] Operation: 68+30=98
Moving to Node #0,1,2
Current State: 89:[79, 98], Operations: ['70+9=79', '68+30=98']
Exploring Operation: 98-79=19, Resulting Numbers: [19]
19,89 unequal: No Solution
Exploring Operation: 79*98=7742, Resulting Numbers: [7742]
7742,89 unequal: No Solution
Exploring Operation: 79+98=177, Resulting Numbers: [177]
177,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[68, 109], Operations: ['70+9=79', '30+79=109']
Exploring Operation: 68*109=7412, Resulting Numbers: [7412]
7412,89 unequal: No Solution
Exploring Operation: 109-68=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 68+109=177, Resulting Numbers: [177]
177,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[79, 38], Operations: ['70+9=79', '68-30=38']
Exploring Operation: 79-38=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 79+38=117, Resulting Numbers: [117]
117,89 unequal: No Solution
Exploring Operation: 79*38=3002, Resulting Numbers: [3002]
3002,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[70, 30, 77], Operations: ['68+9=77']
Exploring Operation: 70+30=100, Resulting Numbers: [77, 100]
Generated Node #0,2,0: 89:[77, 100] Operation: 70+30=100
Exploring Operation: 70-30=40, Resulting Numbers: [77, 40]
Generated Node #0,2,1: 89:[77, 40] Operation: 70-30=40
Exploring Operation: 30+77=107, Resulting Numbers: [70, 107]
Generated Node #0,2,2: 89:[70, 107] Operation: 30+77=107
Moving to Node #0,2,0
Current State: 89:[77, 100], Operations: ['68+9=77', '70+30=100']
Exploring Operation: 100-77=23, Resulting Numbers: [23]
23,89 unequal: No Solution
Exploring Operation: 77*100=7700, Resulting Numbers: [7700]
7700,89 unequal: No Solution
Exploring Operation: 77+100=177, Resulting Numbers: [177]
177,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[70, 107], Operations: ['68+9=77', '30+77=107']
Exploring Operation: 70*107=7490, Resulting Numbers: [7490]
7490,89 unequal: No Solution
Exploring Operation: 107-70=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Exploring Operation: 70+107=177, Resulting Numbers: [177]
177,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[77, 40], Operations: ['68+9=77', '70-30=40']
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Exploring Operation: 77*40=3080, Resulting Numbers: [3080]
3080,89 unequal: No Solution
Exploring Operation: 77+40=117, Resulting Numbers: [117]
117,89 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 |
[
65,
60,
62,
57
] | 37 | [
"65-62=3",
"60/3=20",
"57-20=37"
] | Current State: 37:[65, 60, 62, 57], Operations: []
Exploring Operation: 65-62=3, Resulting Numbers: [60, 57, 3]
Generated Node #2: [60, 57, 3] from Operation: 65-62=3
Current State: 37:[60, 57, 3], Operations: ['65-62=3']
Exploring Operation: 60/3=20, Resulting Numbers: [57, 20]
Generated Node #3: [57, 20] from Operation: 60/3=20
Current State: 37:[57, 20], Operations: ['65-62=3', '60/3=20']
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[65, 60, 62, 57], Operations: []
Exploring Operation: 62-60=2, Resulting Numbers: [65, 57, 2]
Generated Node #0,0: 37:[65, 57, 2] Operation: 62-60=2
Exploring Operation: 65-62=3, Resulting Numbers: [60, 57, 3]
Generated Node #0,1: 37:[60, 57, 3] Operation: 65-62=3
Exploring Operation: 65-60=5, Resulting Numbers: [62, 57, 5]
Generated Node #0,2: 37:[62, 57, 5] Operation: 65-60=5
Exploring Operation: 65-57=8, Resulting Numbers: [60, 62, 8]
Generated Node #0,3: 37:[60, 62, 8] Operation: 65-57=8
Moving to Node #0,1
Current State: 37:[60, 57, 3], Operations: ['65-62=3']
Exploring Operation: 57/3=19, Resulting Numbers: [60, 19]
Generated Node #0,1,0: 37:[60, 19] Operation: 57/3=19
Exploring Operation: 60-3=57, Resulting Numbers: [57, 57]
Generated Node #0,1,1: 37:[57, 57] Operation: 60-3=57
Exploring Operation: 60/3=20, Resulting Numbers: [57, 20]
Generated Node #0,1,2: 37:[57, 20] Operation: 60/3=20
Exploring Operation: 57-3=54, Resulting Numbers: [60, 54]
Generated Node #0,1,3: 37:[60, 54] Operation: 57-3=54
Moving to Node #0,3
Current State: 37:[60, 62, 8], Operations: ['65-57=8']
Exploring Operation: 62-8=54, Resulting Numbers: [60, 54]
Generated Node #0,3,0: 37:[60, 54] Operation: 62-8=54
Exploring Operation: 60+8=68, Resulting Numbers: [62, 68]
Generated Node #0,3,1: 37:[62, 68] Operation: 60+8=68
Exploring Operation: 60-8=52, Resulting Numbers: [62, 52]
Generated Node #0,3,2: 37:[62, 52] Operation: 60-8=52
Exploring Operation: 62+8=70, Resulting Numbers: [60, 70]
Generated Node #0,3,3: 37:[60, 70] Operation: 62+8=70
Moving to Node #0,2
Current State: 37:[62, 57, 5], Operations: ['65-60=5']
Exploring Operation: 62-5=57, Resulting Numbers: [57, 57]
Generated Node #0,2,0: 37:[57, 57] Operation: 62-5=57
Exploring Operation: 57-5=52, Resulting Numbers: [62, 52]
Generated Node #0,2,1: 37:[62, 52] Operation: 57-5=52
Exploring Operation: 57+5=62, Resulting Numbers: [62, 62]
Generated Node #0,2,2: 37:[62, 62] Operation: 57+5=62
Exploring Operation: 62+5=67, Resulting Numbers: [57, 67]
Generated Node #0,2,3: 37:[57, 67] Operation: 62+5=67
Moving to Node #0,0
Current State: 37:[65, 57, 2], Operations: ['62-60=2']
Exploring Operation: 57+2=59, Resulting Numbers: [65, 59]
Generated Node #0,0,0: 37:[65, 59] Operation: 57+2=59
Exploring Operation: 65+2=67, Resulting Numbers: [57, 67]
Generated Node #0,0,1: 37:[57, 67] Operation: 65+2=67
Exploring Operation: 65-2=63, Resulting Numbers: [57, 63]
Generated Node #0,0,2: 37:[57, 63] Operation: 65-2=63
Exploring Operation: 57-2=55, Resulting Numbers: [65, 55]
Generated Node #0,0,3: 37:[65, 55] Operation: 57-2=55
Moving to Node #0,1,2
Current State: 37:[57, 20], Operations: ['65-62=3', '60/3=20']
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[65, 60, 62, 57], Operations: []
Exploring Operation: 65-62=3, Resulting Numbers: [60, 57, 3]
Generated Node #0,1: 37:[60, 57, 3] Operation: 65-62=3
Moving to Node #0,1
Current State: 37:[60, 57, 3], Operations: ['65-62=3']
Exploring Operation: 60/3=20, Resulting Numbers: [57, 20]
Generated Node #0,1,2: 37:[57, 20] Operation: 60/3=20
Moving to Node #0,1,2
Current State: 37:[57, 20], Operations: ['65-62=3', '60/3=20']
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 0.978299 | hs_4 | mult_heuristic |
[
23,
45,
12,
76
] | 96 | [
"23+45=68",
"76-68=8",
"12*8=96"
] | Current State: 96:[23, 45, 12, 76], Operations: []
Exploring Operation: 23+45=68, Resulting Numbers: [12, 76, 68]
Generated Node #2: [12, 76, 68] from Operation: 23+45=68
Current State: 96:[12, 76, 68], Operations: ['23+45=68']
Exploring Operation: 76-68=8, Resulting Numbers: [12, 8]
Generated Node #3: [12, 8] from Operation: 76-68=8
Current State: 96:[12, 8], Operations: ['23+45=68', '76-68=8']
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[23, 45, 12, 76], Operations: []
Exploring Operation: 76-12=64, Resulting Numbers: [23, 45, 64]
Generated Node #0,0: 96:[23, 45, 64] Operation: 76-12=64
Exploring Operation: 23+76=99, Resulting Numbers: [45, 12, 99]
Generated Node #0,1: 96:[45, 12, 99] Operation: 23+76=99
Exploring Operation: 76-23=53, Resulting Numbers: [45, 12, 53]
Generated Node #0,2: 96:[45, 12, 53] Operation: 76-23=53
Exploring Operation: 12+76=88, Resulting Numbers: [23, 45, 88]
Generated Node #0,3: 96:[23, 45, 88] Operation: 12+76=88
Exploring Operation: 76-45=31, Resulting Numbers: [23, 12, 31]
Generated Node #0,4: 96:[23, 12, 31] Operation: 76-45=31
Moving to Node #0,4
Current State: 96:[23, 12, 31], Operations: ['76-45=31']
Exploring Operation: 23+12=35, Resulting Numbers: [31, 35]
Generated Node #0,4,0: 96:[31, 35] Operation: 23+12=35
Exploring Operation: 23-12=11, Resulting Numbers: [31, 11]
Generated Node #0,4,1: 96:[31, 11] Operation: 23-12=11
Exploring Operation: 31-12=19, Resulting Numbers: [23, 19]
Generated Node #0,4,2: 96:[23, 19] Operation: 31-12=19
Exploring Operation: 31-23=8, Resulting Numbers: [12, 8]
Generated Node #0,4,3: 96:[12, 8] Operation: 31-23=8
Exploring Operation: 23+31=54, Resulting Numbers: [12, 54]
Generated Node #0,4,4: 96:[12, 54] Operation: 23+31=54
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 96:[12, 8], Operations: ['76-45=31', '31-23=8']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,96 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[23, 45, 12, 76], Operations: []
Exploring Operation: 76-45=31, Resulting Numbers: [23, 12, 31]
Generated Node #0,4: 96:[23, 12, 31] Operation: 76-45=31
Moving to Node #0,4
Current State: 96:[23, 12, 31], Operations: ['76-45=31']
Exploring Operation: 31-23=8, Resulting Numbers: [12, 8]
Generated Node #0,4,3: 96:[12, 8] Operation: 31-23=8
Moving to Node #0,4,3
Current State: 96:[12, 8], Operations: ['76-45=31', '31-23=8']
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
71,
42,
52,
33
] | 84 | [
"71+33=104",
"42*104=4368",
"4368/52=84"
] | Current State: 84:[71, 42, 52, 33], Operations: []
Exploring Operation: 71+33=104, Resulting Numbers: [42, 52, 104]
Generated Node #2: [42, 52, 104] from Operation: 71+33=104
Current State: 84:[42, 52, 104], Operations: ['71+33=104']
Exploring Operation: 42*104=4368, Resulting Numbers: [52, 4368]
Generated Node #3: [52, 4368] from Operation: 42*104=4368
Current State: 84:[52, 4368], Operations: ['71+33=104', '42*104=4368']
Exploring Operation: 4368/52=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[71, 42, 52, 33], Operations: []
Exploring Operation: 71-52=19, Resulting Numbers: [42, 33, 19]
Generated Node #0,0: 84:[42, 33, 19] Operation: 71-52=19
Exploring Operation: 52+33=85, Resulting Numbers: [71, 42, 85]
Generated Node #0,1: 84:[71, 42, 85] Operation: 52+33=85
Exploring Operation: 71-33=38, Resulting Numbers: [42, 52, 38]
Generated Node #0,2: 84:[42, 52, 38] Operation: 71-33=38
Moving to Node #0,0
Current State: 84:[42, 33, 19], Operations: ['71-52=19']
Exploring Operation: 42-19=23, Resulting Numbers: [33, 23]
Generated Node #0,0,0: 84:[33, 23] Operation: 42-19=23
Exploring Operation: 33-19=14, Resulting Numbers: [42, 14]
Generated Node #0,0,1: 84:[42, 14] Operation: 33-19=14
Exploring Operation: 42-33=9, Resulting Numbers: [19, 9]
Generated Node #0,0,2: 84:[19, 9] Operation: 42-33=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[42, 14], Operations: ['71-52=19', '33-19=14']
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Exploring Operation: 42+14=56, Resulting Numbers: [56]
56,84 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 84:[19, 9], Operations: ['71-52=19', '42-33=9']
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,84 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[33, 23], Operations: ['71-52=19', '42-19=23']
Exploring Operation: 33+23=56, Resulting Numbers: [56]
56,84 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Exploring Operation: 33*23=759, Resulting Numbers: [759]
759,84 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: 84:[71, 42, 85], Operations: ['52+33=85']
Exploring Operation: 71-42=29, Resulting Numbers: [85, 29]
Generated Node #0,1,0: 84:[85, 29] Operation: 71-42=29
Exploring Operation: 85-71=14, Resulting Numbers: [42, 14]
Generated Node #0,1,1: 84:[42, 14] Operation: 85-71=14
Exploring Operation: 85-42=43, Resulting Numbers: [71, 43]
Generated Node #0,1,2: 84:[71, 43] Operation: 85-42=43
Moving to Node #0,2
Current State: 84:[42, 52, 38], Operations: ['71-33=38']
Exploring Operation: 52-38=14, Resulting Numbers: [42, 14]
Generated Node #0,2,0: 84:[42, 14] Operation: 52-38=14
Exploring Operation: 52+38=90, Resulting Numbers: [42, 90]
Generated Node #0,2,1: 84:[42, 90] Operation: 52+38=90
Exploring Operation: 52-42=10, Resulting Numbers: [38, 10]
Generated Node #0,2,2: 84:[38, 10] Operation: 52-42=10
Moving to Node #0,1,1
Current State: 84:[42, 14], Operations: ['52+33=85', '85-71=14']
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Exploring Operation: 42+14=56, Resulting Numbers: [56]
56,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[42, 14], Operations: ['71-33=38', '52-38=14']
Exploring Operation: 42+14=56, Resulting Numbers: [56]
56,84 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[85, 29], Operations: ['52+33=85', '71-42=29']
Exploring Operation: 85-29=56, Resulting Numbers: [56]
56,84 unequal: No Solution
Exploring Operation: 85+29=114, Resulting Numbers: [114]
114,84 unequal: No Solution
Exploring Operation: 85*29=2465, Resulting Numbers: [2465]
2465,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[38, 10], Operations: ['71-33=38', '52-42=10']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,84 unequal: No Solution
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[42, 90], Operations: ['71-33=38', '52+38=90']
Exploring Operation: 42*90=3780, Resulting Numbers: [3780]
3780,84 unequal: No Solution
Exploring Operation: 42+90=132, Resulting Numbers: [132]
132,84 unequal: No Solution
Exploring Operation: 90-42=48, Resulting Numbers: [48]
48,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[71, 43], Operations: ['52+33=85', '85-42=43']
Exploring Operation: 71-43=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 71+43=114, Resulting Numbers: [114]
114,84 unequal: No Solution
Exploring Operation: 71*43=3053, Resulting Numbers: [3053]
3053,84 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
15,
47,
31,
85
] | 87 | [
"15+47=62",
"62/31=2",
"85+2=87"
] | Current State: 87:[15, 47, 31, 85], Operations: []
Exploring Operation: 15+47=62, Resulting Numbers: [31, 85, 62]
Generated Node #2: [31, 85, 62] from Operation: 15+47=62
Current State: 87:[31, 85, 62], Operations: ['15+47=62']
Exploring Operation: 62/31=2, Resulting Numbers: [85, 2]
Generated Node #3: [85, 2] from Operation: 62/31=2
Current State: 87:[85, 2], Operations: ['15+47=62', '62/31=2']
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[15, 47, 31, 85], Operations: []
Exploring Operation: 47-15=32, Resulting Numbers: [31, 85, 32]
Generated Node #0,0: 87:[31, 85, 32] Operation: 47-15=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[31, 85, 32], Operations: ['47-15=32']
Exploring Operation: 32-31=1, Resulting Numbers: [85, 1]
Generated Node #0,0,0: 87:[85, 1] Operation: 32-31=1
Moving to Node #0,0,0
Current State: 87:[85, 1], Operations: ['47-15=32', '32-31=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,87 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 |
[
3,
21,
27,
13
] | 98 | [
"21/3=7",
"27-13=14",
"7*14=98"
] | Current State: 98:[3, 21, 27, 13], Operations: []
Exploring Operation: 21/3=7, Resulting Numbers: [27, 13, 7]
Generated Node #2: [27, 13, 7] from Operation: 21/3=7
Current State: 98:[27, 13, 7], Operations: ['21/3=7']
Exploring Operation: 27-13=14, Resulting Numbers: [7, 14]
Generated Node #3: [7, 14] from Operation: 27-13=14
Current State: 98:[7, 14], Operations: ['21/3=7', '27-13=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[3, 21, 27, 13], Operations: []
Exploring Operation: 27-13=14, Resulting Numbers: [3, 21, 14]
Generated Node #0,0: 98:[3, 21, 14] Operation: 27-13=14
Exploring Operation: 21+27=48, Resulting Numbers: [3, 13, 48]
Generated Node #0,1: 98:[3, 13, 48] Operation: 21+27=48
Exploring Operation: 27-21=6, Resulting Numbers: [3, 13, 6]
Generated Node #0,2: 98:[3, 13, 6] Operation: 27-21=6
Exploring Operation: 27/3=9, Resulting Numbers: [21, 13, 9]
Generated Node #0,3: 98:[21, 13, 9] Operation: 27/3=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[3, 13, 48], Operations: ['21+27=48']
Exploring Operation: 3+48=51, Resulting Numbers: [13, 51]
Generated Node #0,1,0: 98:[13, 51] Operation: 3+48=51
Exploring Operation: 48/3=16, Resulting Numbers: [13, 16]
Generated Node #0,1,1: 98:[13, 16] Operation: 48/3=16
Exploring Operation: 3+13=16, Resulting Numbers: [48, 16]
Generated Node #0,1,2: 98:[48, 16] Operation: 3+13=16
Exploring Operation: 13-3=10, Resulting Numbers: [48, 10]
Generated Node #0,1,3: 98:[48, 10] Operation: 13-3=10
Moving to Node #0,1,0
Current State: 98:[13, 51], Operations: ['21+27=48', '3+48=51']
Exploring Operation: 13+51=64, Resulting Numbers: [64]
64,98 unequal: No Solution
Exploring Operation: 13*51=663, Resulting Numbers: [663]
663,98 unequal: No Solution
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[48, 16], Operations: ['21+27=48', '3+13=16']
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,98 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 48*16=768, Resulting Numbers: [768]
768,98 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[13, 16], Operations: ['21+27=48', '48/3=16']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 13*16=208, Resulting Numbers: [208]
208,98 unequal: No Solution
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[48, 10], Operations: ['21+27=48', '13-3=10']
Exploring Operation: 48*10=480, Resulting Numbers: [480]
480,98 unequal: No Solution
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,98 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[3, 13, 6], Operations: ['27-21=6']
Exploring Operation: 13-6=7, Resulting Numbers: [3, 7]
Generated Node #0,2,0: 98:[3, 7] Operation: 13-6=7
Exploring Operation: 6-3=3, Resulting Numbers: [13, 3]
Generated Node #0,2,1: 98:[13, 3] Operation: 6-3=3
Exploring Operation: 3+13=16, Resulting Numbers: [6, 16]
Generated Node #0,2,2: 98:[6, 16] Operation: 3+13=16
Exploring Operation: 6/3=2, Resulting Numbers: [13, 2]
Generated Node #0,2,3: 98:[13, 2] Operation: 6/3=2
Moving to Node #0,2,0
Current State: 98:[3, 7], Operations: ['27-21=6', '13-6=7']
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[13, 2], Operations: ['27-21=6', '6/3=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[13, 3], Operations: ['27-21=6', '6-3=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,98 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[6, 16], Operations: ['27-21=6', '3+13=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,98 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[3, 21, 14], Operations: ['27-13=14']
Exploring Operation: 21/3=7, Resulting Numbers: [14, 7]
Generated Node #0,0,0: 98:[14, 7] Operation: 21/3=7
Exploring Operation: 21-3=18, Resulting Numbers: [14, 18]
Generated Node #0,0,1: 98:[14, 18] Operation: 21-3=18
Exploring Operation: 21-14=7, Resulting Numbers: [3, 7]
Generated Node #0,0,2: 98:[3, 7] Operation: 21-14=7
Exploring Operation: 3+21=24, Resulting Numbers: [14, 24]
Generated Node #0,0,3: 98:[14, 24] Operation: 3+21=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[14, 7], Operations: ['27-13=14', '21/3=7']
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[3, 21, 27, 13], Operations: []
Exploring Operation: 27-13=14, Resulting Numbers: [3, 21, 14]
Generated Node #0,0: 98:[3, 21, 14] Operation: 27-13=14
Moving to Node #0,0
Current State: 98:[3, 21, 14], Operations: ['27-13=14']
Exploring Operation: 21/3=7, Resulting Numbers: [14, 7]
Generated Node #0,0,0: 98:[14, 7] Operation: 21/3=7
Moving to Node #0,0,0
Current State: 98:[14, 7], Operations: ['27-13=14', '21/3=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.958333 | hs_4 | sum_heuristic |
[
35,
36,
70,
64
] | 98 | [
"70/35=2",
"36+64=100",
"100-2=98"
] | Current State: 98:[35, 36, 70, 64], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [36, 64, 2]
Generated Node #2: [36, 64, 2] from Operation: 70/35=2
Current State: 98:[36, 64, 2], Operations: ['70/35=2']
Exploring Operation: 36+64=100, Resulting Numbers: [2, 100]
Generated Node #3: [2, 100] from Operation: 36+64=100
Current State: 98:[2, 100], Operations: ['70/35=2', '36+64=100']
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[35, 36, 70, 64], Operations: []
Exploring Operation: 70-64=6, Resulting Numbers: [35, 36, 6]
Generated Node #0,0: 98:[35, 36, 6] Operation: 70-64=6
Exploring Operation: 70/35=2, Resulting Numbers: [36, 64, 2]
Generated Node #0,1: 98:[36, 64, 2] Operation: 70/35=2
Moving to Node #0,0
Current State: 98:[35, 36, 6], Operations: ['70-64=6']
Exploring Operation: 36/6=6, Resulting Numbers: [35, 6]
Generated Node #0,0,0: 98:[35, 6] Operation: 36/6=6
Exploring Operation: 36-35=1, Resulting Numbers: [6, 1]
Generated Node #0,0,1: 98:[6, 1] Operation: 36-35=1
Moving to Node #0,1
Current State: 98:[36, 64, 2], Operations: ['70/35=2']
Exploring Operation: 64-36=28, Resulting Numbers: [2, 28]
Generated Node #0,1,0: 98:[2, 28] Operation: 64-36=28
Exploring Operation: 36+64=100, Resulting Numbers: [2, 100]
Generated Node #0,1,1: 98:[2, 100] Operation: 36+64=100
Moving to Node #0,0,1
Current State: 98:[6, 1], Operations: ['70-64=6', '36-35=1']
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[2, 100], Operations: ['70/35=2', '36+64=100']
Exploring Operation: 100/2=50, Resulting Numbers: [50]
50,98 unequal: No Solution
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[35, 36, 70, 64], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [36, 64, 2]
Generated Node #0,1: 98:[36, 64, 2] Operation: 70/35=2
Moving to Node #0,1
Current State: 98:[36, 64, 2], Operations: ['70/35=2']
Exploring Operation: 36+64=100, Resulting Numbers: [2, 100]
Generated Node #0,1,1: 98:[2, 100] Operation: 36+64=100
Moving to Node #0,1,1
Current State: 98:[2, 100], Operations: ['70/35=2', '36+64=100']
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.987847 | hs_2 | sum_heuristic |
[
35,
61,
87,
52
] | 70 | [
"35*52=1820",
"87-61=26",
"1820/26=70"
] | Current State: 70:[35, 61, 87, 52], Operations: []
Exploring Operation: 35*52=1820, Resulting Numbers: [61, 87, 1820]
Generated Node #2: [61, 87, 1820] from Operation: 35*52=1820
Current State: 70:[61, 87, 1820], Operations: ['35*52=1820']
Exploring Operation: 87-61=26, Resulting Numbers: [1820, 26]
Generated Node #3: [1820, 26] from Operation: 87-61=26
Current State: 70:[1820, 26], Operations: ['35*52=1820', '87-61=26']
Exploring Operation: 1820/26=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[35, 61, 87, 52], Operations: []
Exploring Operation: 87-52=35, Resulting Numbers: [35, 61, 35]
Generated Node #0,0: 70:[35, 61, 35] Operation: 87-52=35
Exploring Operation: 61-52=9, Resulting Numbers: [35, 87, 9]
Generated Node #0,1: 70:[35, 87, 9] Operation: 61-52=9
Exploring Operation: 87-61=26, Resulting Numbers: [35, 52, 26]
Generated Node #0,2: 70:[35, 52, 26] Operation: 87-61=26
Exploring Operation: 52-35=17, Resulting Numbers: [61, 87, 17]
Generated Node #0,3: 70:[61, 87, 17] Operation: 52-35=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[35, 61, 35], Operations: ['87-52=35']
Exploring Operation: 61-35=26, Resulting Numbers: [35, 26]
Generated Node #0,0,0: 70:[35, 26] Operation: 61-35=26
Exploring Operation: 35/35=1, Resulting Numbers: [61, 1]
Generated Node #0,0,1: 70:[61, 1] Operation: 35/35=1
Exploring Operation: 35+35=70, Resulting Numbers: [61, 70]
Generated Node #0,0,2: 70:[61, 70] Operation: 35+35=70
Exploring Operation: 61-35=26, Resulting Numbers: [35, 26]
Generated Node #0,0,3: 70:[35, 26] Operation: 61-35=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[35, 26], Operations: ['87-52=35', '61-35=26']
Exploring Operation: 35*26=910, Resulting Numbers: [910]
910,70 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 35+26=61, Resulting Numbers: [61]
61,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 70:[61, 70], Operations: ['87-52=35', '35+35=70']
Exploring Operation: 61+70=131, Resulting Numbers: [131]
131,70 unequal: No Solution
Exploring Operation: 61*70=4270, Resulting Numbers: [4270]
4270,70 unequal: No Solution
Exploring Operation: 70-61=9, Resulting Numbers: [9]
9,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 70:[35, 26], Operations: ['87-52=35', '61-35=26']
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 35+26=61, Resulting Numbers: [61]
61,70 unequal: No Solution
Exploring Operation: 35*26=910, Resulting Numbers: [910]
910,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 70:[61, 1], Operations: ['87-52=35', '35/35=1']
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,70 unequal: No Solution
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,70 unequal: No Solution
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,70 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[35, 87, 9], Operations: ['61-52=9']
Exploring Operation: 87-35=52, Resulting Numbers: [9, 52]
Generated Node #0,1,0: 70:[9, 52] Operation: 87-35=52
Exploring Operation: 35-9=26, Resulting Numbers: [87, 26]
Generated Node #0,1,1: 70:[87, 26] Operation: 35-9=26
Exploring Operation: 87-9=78, Resulting Numbers: [35, 78]
Generated Node #0,1,2: 70:[35, 78] Operation: 87-9=78
Exploring Operation: 35+9=44, Resulting Numbers: [87, 44]
Generated Node #0,1,3: 70:[87, 44] Operation: 35+9=44
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 70:[35, 78], Operations: ['61-52=9', '87-9=78']
Exploring Operation: 78-35=43, Resulting Numbers: [43]
43,70 unequal: No Solution
Exploring Operation: 35*78=2730, Resulting Numbers: [2730]
2730,70 unequal: No Solution
Exploring Operation: 35+78=113, Resulting Numbers: [113]
113,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[9, 52], Operations: ['61-52=9', '87-35=52']
Exploring Operation: 9*52=468, Resulting Numbers: [468]
468,70 unequal: No Solution
Exploring Operation: 9+52=61, Resulting Numbers: [61]
61,70 unequal: No Solution
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[87, 26], Operations: ['61-52=9', '35-9=26']
Exploring Operation: 87*26=2262, Resulting Numbers: [2262]
2262,70 unequal: No Solution
Exploring Operation: 87+26=113, Resulting Numbers: [113]
113,70 unequal: No Solution
Exploring Operation: 87-26=61, Resulting Numbers: [61]
61,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 70:[87, 44], Operations: ['61-52=9', '35+9=44']
Exploring Operation: 87+44=131, Resulting Numbers: [131]
131,70 unequal: No Solution
Exploring Operation: 87*44=3828, Resulting Numbers: [3828]
3828,70 unequal: No Solution
Exploring Operation: 87-44=43, Resulting Numbers: [43]
43,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[35, 52, 26], Operations: ['87-61=26']
Exploring Operation: 52-35=17, Resulting Numbers: [26, 17]
Generated Node #0,2,0: 70:[26, 17] Operation: 52-35=17
Exploring Operation: 52-26=26, Resulting Numbers: [35, 26]
Generated Node #0,2,1: 70:[35, 26] Operation: 52-26=26
Exploring Operation: 52/26=2, Resulting Numbers: [35, 2]
Generated Node #0,2,2: 70:[35, 2] Operation: 52/26=2
Exploring Operation: 52+26=78, Resulting Numbers: [35, 78]
Generated Node #0,2,3: 70:[35, 78] Operation: 52+26=78
Moving to Node #0,2,2
Current State: 70:[35, 2], Operations: ['87-61=26', '52/26=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[35, 61, 87, 52], Operations: []
Exploring Operation: 87-61=26, Resulting Numbers: [35, 52, 26]
Generated Node #0,2: 70:[35, 52, 26] Operation: 87-61=26
Moving to Node #0,2
Current State: 70:[35, 52, 26], Operations: ['87-61=26']
Exploring Operation: 52/26=2, Resulting Numbers: [35, 2]
Generated Node #0,2,2: 70:[35, 2] Operation: 52/26=2
Moving to Node #0,2,2
Current State: 70:[35, 2], Operations: ['87-61=26', '52/26=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_4 | mult_heuristic |
[
32,
36,
17,
42
] | 93 | [
"32+36=68",
"42-17=25",
"68+25=93"
] | Current State: 93:[32, 36, 17, 42], Operations: []
Exploring Operation: 32+36=68, Resulting Numbers: [17, 42, 68]
Generated Node #2: [17, 42, 68] from Operation: 32+36=68
Current State: 93:[17, 42, 68], Operations: ['32+36=68']
Exploring Operation: 42-17=25, Resulting Numbers: [68, 25]
Generated Node #3: [68, 25] from Operation: 42-17=25
Current State: 93:[68, 25], Operations: ['32+36=68', '42-17=25']
Exploring Operation: 68+25=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[32, 36, 17, 42], Operations: []
Exploring Operation: 42-36=6, Resulting Numbers: [32, 17, 6]
Generated Node #0,0: 93:[32, 17, 6] Operation: 42-36=6
Exploring Operation: 42-17=25, Resulting Numbers: [32, 36, 25]
Generated Node #0,1: 93:[32, 36, 25] Operation: 42-17=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[32, 36, 25], Operations: ['42-17=25']
Exploring Operation: 32-25=7, Resulting Numbers: [36, 7]
Generated Node #0,1,0: 93:[36, 7] Operation: 32-25=7
Exploring Operation: 36-32=4, Resulting Numbers: [25, 4]
Generated Node #0,1,1: 93:[25, 4] Operation: 36-32=4
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 93:[25, 4], Operations: ['42-17=25', '36-32=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 93:[36, 7], Operations: ['42-17=25', '32-25=7']
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,93 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[32, 17, 6], Operations: ['42-36=6']
Exploring Operation: 17+6=23, Resulting Numbers: [32, 23]
Generated Node #0,0,0: 93:[32, 23] Operation: 17+6=23
Exploring Operation: 17-6=11, Resulting Numbers: [32, 11]
Generated Node #0,0,1: 93:[32, 11] Operation: 17-6=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[32, 23], Operations: ['42-36=6', '17+6=23']
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,93 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 93:[32, 11], Operations: ['42-36=6', '17-6=11']
Exploring Operation: 32+11=43, Resulting Numbers: [43]
43,93 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
35,
7,
25,
12
] | 41 | [
"35-7=28",
"25-12=13",
"28+13=41"
] | Current State: 41:[35, 7, 25, 12], Operations: []
Exploring Operation: 35-7=28, Resulting Numbers: [25, 12, 28]
Generated Node #2: [25, 12, 28] from Operation: 35-7=28
Current State: 41:[25, 12, 28], Operations: ['35-7=28']
Exploring Operation: 25-12=13, Resulting Numbers: [28, 13]
Generated Node #3: [28, 13] from Operation: 25-12=13
Current State: 41:[28, 13], Operations: ['35-7=28', '25-12=13']
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[35, 7, 25, 12], Operations: []
Exploring Operation: 35+7=42, Resulting Numbers: [25, 12, 42]
Generated Node #0,0: 41:[25, 12, 42] Operation: 35+7=42
Exploring Operation: 7+12=19, Resulting Numbers: [35, 25, 19]
Generated Node #0,1: 41:[35, 25, 19] Operation: 7+12=19
Exploring Operation: 7+25=32, Resulting Numbers: [35, 12, 32]
Generated Node #0,2: 41:[35, 12, 32] Operation: 7+25=32
Exploring Operation: 25+12=37, Resulting Numbers: [35, 7, 37]
Generated Node #0,3: 41:[35, 7, 37] Operation: 25+12=37
Moving to Node #0,1
Current State: 41:[35, 25, 19], Operations: ['7+12=19']
Exploring Operation: 35+25=60, Resulting Numbers: [19, 60]
Generated Node #0,1,0: 41:[19, 60] Operation: 35+25=60
Exploring Operation: 35-19=16, Resulting Numbers: [25, 16]
Generated Node #0,1,1: 41:[25, 16] Operation: 35-19=16
Exploring Operation: 25+19=44, Resulting Numbers: [35, 44]
Generated Node #0,1,2: 41:[35, 44] Operation: 25+19=44
Exploring Operation: 35+19=54, Resulting Numbers: [25, 54]
Generated Node #0,1,3: 41:[25, 54] Operation: 35+19=54
Moving to Node #0,3
Current State: 41:[35, 7, 37], Operations: ['25+12=37']
Exploring Operation: 35+7=42, Resulting Numbers: [37, 42]
Generated Node #0,3,0: 41:[37, 42] Operation: 35+7=42
Exploring Operation: 7+37=44, Resulting Numbers: [35, 44]
Generated Node #0,3,1: 41:[35, 44] Operation: 7+37=44
Exploring Operation: 37-7=30, Resulting Numbers: [35, 30]
Generated Node #0,3,2: 41:[35, 30] Operation: 37-7=30
Exploring Operation: 35-7=28, Resulting Numbers: [37, 28]
Generated Node #0,3,3: 41:[37, 28] Operation: 35-7=28
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 41:[37, 42], Operations: ['25+12=37', '35+7=42']
Exploring Operation: 37*42=1554, Resulting Numbers: [1554]
1554,41 unequal: No Solution
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,41 unequal: No Solution
Exploring Operation: 37+42=79, Resulting Numbers: [79]
79,41 unequal: No Solution
No 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: 41:[35, 44], Operations: ['25+12=37', '7+37=44']
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 35+44=79, Resulting Numbers: [79]
79,41 unequal: No Solution
Exploring Operation: 35*44=1540, Resulting Numbers: [1540]
1540,41 unequal: No Solution
No 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: 41:[35, 30], Operations: ['25+12=37', '37-7=30']
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,41 unequal: No Solution
Exploring Operation: 35*30=1050, Resulting Numbers: [1050]
1050,41 unequal: No Solution
Exploring Operation: 35+30=65, Resulting Numbers: [65]
65,41 unequal: No Solution
No 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: 41:[37, 28], Operations: ['25+12=37', '35-7=28']
Exploring Operation: 37+28=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Exploring Operation: 37*28=1036, Resulting Numbers: [1036]
1036,41 unequal: No Solution
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,41 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: 41:[35, 12, 32], Operations: ['7+25=32']
Exploring Operation: 35-12=23, Resulting Numbers: [32, 23]
Generated Node #0,2,0: 41:[32, 23] Operation: 35-12=23
Exploring Operation: 35+12=47, Resulting Numbers: [32, 47]
Generated Node #0,2,1: 41:[32, 47] Operation: 35+12=47
Exploring Operation: 12+32=44, Resulting Numbers: [35, 44]
Generated Node #0,2,2: 41:[35, 44] Operation: 12+32=44
Exploring Operation: 32-12=20, Resulting Numbers: [35, 20]
Generated Node #0,2,3: 41:[35, 20] Operation: 32-12=20
Moving to Node #0,0
Current State: 41:[25, 12, 42], Operations: ['35+7=42']
Exploring Operation: 25+12=37, Resulting Numbers: [42, 37]
Generated Node #0,0,0: 41:[42, 37] Operation: 25+12=37
Exploring Operation: 25-12=13, Resulting Numbers: [42, 13]
Generated Node #0,0,1: 41:[42, 13] Operation: 25-12=13
Exploring Operation: 12+42=54, Resulting Numbers: [25, 54]
Generated Node #0,0,2: 41:[25, 54] Operation: 12+42=54
Exploring Operation: 42-12=30, Resulting Numbers: [25, 30]
Generated Node #0,0,3: 41:[25, 30] Operation: 42-12=30
Moving to Node #0,0,0
Current State: 41:[42, 37], Operations: ['35+7=42', '25+12=37']
Exploring Operation: 42*37=1554, Resulting Numbers: [1554]
1554,41 unequal: No Solution
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,41 unequal: No Solution
Exploring Operation: 42+37=79, Resulting Numbers: [79]
79,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[35, 44], Operations: ['7+12=19', '25+19=44']
Exploring Operation: 35*44=1540, Resulting Numbers: [1540]
1540,41 unequal: No Solution
Exploring Operation: 35+44=79, Resulting Numbers: [79]
79,41 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[35, 44], Operations: ['7+25=32', '12+32=44']
Exploring Operation: 35+44=79, Resulting Numbers: [79]
79,41 unequal: No Solution
Exploring Operation: 35*44=1540, Resulting Numbers: [1540]
1540,41 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[32, 47], Operations: ['7+25=32', '35+12=47']
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,41 unequal: No Solution
Exploring Operation: 32*47=1504, Resulting Numbers: [1504]
1504,41 unequal: No Solution
Exploring Operation: 32+47=79, Resulting Numbers: [79]
79,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[32, 23], Operations: ['7+25=32', '35-12=23']
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,41 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[25, 30], Operations: ['35+7=42', '42-12=30']
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,41 unequal: No Solution
Exploring Operation: 25*30=750, Resulting Numbers: [750]
750,41 unequal: No Solution
Exploring Operation: 25+30=55, Resulting Numbers: [55]
55,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[35, 20], Operations: ['7+25=32', '32-12=20']
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,41 unequal: No Solution
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,41 unequal: No Solution
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[42, 13], Operations: ['35+7=42', '25-12=13']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,41 unequal: No Solution
Exploring Operation: 42*13=546, Resulting Numbers: [546]
546,41 unequal: No Solution
Exploring Operation: 42+13=55, Resulting Numbers: [55]
55,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[25, 54], Operations: ['35+7=42', '12+42=54']
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,41 unequal: No Solution
Exploring Operation: 25+54=79, Resulting Numbers: [79]
79,41 unequal: No Solution
Exploring Operation: 25*54=1350, Resulting Numbers: [1350]
1350,41 unequal: No Solution
Moving to Node #0,1,3
Current State: 41:[25, 54], Operations: ['7+12=19', '35+19=54']
Exploring Operation: 25+54=79, Resulting Numbers: [79]
79,41 unequal: No Solution
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,41 unequal: No Solution
Exploring Operation: 25*54=1350, Resulting Numbers: [1350]
1350,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[25, 16], Operations: ['7+12=19', '35-19=16']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,41 unequal: No Solution
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[35, 7, 25, 12], Operations: []
Exploring Operation: 7+12=19, Resulting Numbers: [35, 25, 19]
Generated Node #0,1: 41:[35, 25, 19] Operation: 7+12=19
Moving to Node #0,1
Current State: 41:[35, 25, 19], Operations: ['7+12=19']
Exploring Operation: 35-19=16, Resulting Numbers: [25, 16]
Generated Node #0,1,1: 41:[25, 16] Operation: 35-19=16
Moving to Node #0,1,1
Current State: 41:[25, 16], Operations: ['7+12=19', '35-19=16']
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 0.940104 | hs_4 | sum_heuristic |
[
85,
53,
47,
83
] | 59 | [
"85-83=2",
"53*2=106",
"106-47=59"
] | Current State: 59:[85, 53, 47, 83], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [53, 47, 2]
Generated Node #2: [53, 47, 2] from Operation: 85-83=2
Current State: 59:[53, 47, 2], Operations: ['85-83=2']
Exploring Operation: 53*2=106, Resulting Numbers: [47, 106]
Generated Node #3: [47, 106] from Operation: 53*2=106
Current State: 59:[47, 106], Operations: ['85-83=2', '53*2=106']
Exploring Operation: 106-47=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[85, 53, 47, 83], Operations: []
Exploring Operation: 83-47=36, Resulting Numbers: [85, 53, 36]
Generated Node #0,0: 59:[85, 53, 36] Operation: 83-47=36
Exploring Operation: 85-47=38, Resulting Numbers: [53, 83, 38]
Generated Node #0,1: 59:[53, 83, 38] Operation: 85-47=38
Moving to Node #0,1
Current State: 59:[53, 83, 38], Operations: ['85-47=38']
Exploring Operation: 83-38=45, Resulting Numbers: [53, 45]
Generated Node #0,1,0: 59:[53, 45] Operation: 83-38=45
Exploring Operation: 83-53=30, Resulting Numbers: [38, 30]
Generated Node #0,1,1: 59:[38, 30] Operation: 83-53=30
Moving to Node #0,0
Current State: 59:[85, 53, 36], Operations: ['83-47=36']
Exploring Operation: 85-36=49, Resulting Numbers: [53, 49]
Generated Node #0,0,0: 59:[53, 49] Operation: 85-36=49
Exploring Operation: 85-53=32, Resulting Numbers: [36, 32]
Generated Node #0,0,1: 59:[36, 32] Operation: 85-53=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[53, 49], Operations: ['83-47=36', '85-36=49']
Exploring Operation: 53-49=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 53+49=102, Resulting Numbers: [102]
102,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[36, 32], Operations: ['83-47=36', '85-53=32']
Exploring Operation: 36+32=68, Resulting Numbers: [68]
68,59 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 59:[53, 45], Operations: ['85-47=38', '83-38=45']
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[38, 30], Operations: ['85-47=38', '83-53=30']
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,59 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,59 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
75,
69,
42,
57
] | 25 | [
"75*42=3150",
"69+57=126",
"3150/126=25"
] | Current State: 25:[75, 69, 42, 57], Operations: []
Exploring Operation: 75*42=3150, Resulting Numbers: [69, 57, 3150]
Generated Node #2: [69, 57, 3150] from Operation: 75*42=3150
Current State: 25:[69, 57, 3150], Operations: ['75*42=3150']
Exploring Operation: 69+57=126, Resulting Numbers: [3150, 126]
Generated Node #3: [3150, 126] from Operation: 69+57=126
Current State: 25:[3150, 126], Operations: ['75*42=3150', '69+57=126']
Exploring Operation: 3150/126=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[75, 69, 42, 57], Operations: []
Exploring Operation: 75-69=6, Resulting Numbers: [42, 57, 6]
Generated Node #0,0: 25:[42, 57, 6] Operation: 75-69=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[42, 57, 6], Operations: ['75-69=6']
Exploring Operation: 57-42=15, Resulting Numbers: [6, 15]
Generated Node #0,0,0: 25:[6, 15] Operation: 57-42=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[6, 15], Operations: ['75-69=6', '57-42=15']
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
49,
33,
44,
30
] | 39 | [
"49-44=5",
"30/5=6",
"33+6=39"
] | Current State: 39:[49, 33, 44, 30], Operations: []
Exploring Operation: 49-44=5, Resulting Numbers: [33, 30, 5]
Generated Node #2: [33, 30, 5] from Operation: 49-44=5
Current State: 39:[33, 30, 5], Operations: ['49-44=5']
Exploring Operation: 30/5=6, Resulting Numbers: [33, 6]
Generated Node #3: [33, 6] from Operation: 30/5=6
Current State: 39:[33, 6], Operations: ['49-44=5', '30/5=6']
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[49, 33, 44, 30], Operations: []
Exploring Operation: 33-30=3, Resulting Numbers: [49, 44, 3]
Generated Node #0,0: 39:[49, 44, 3] Operation: 33-30=3
Moving to Node #0,0
Current State: 39:[49, 44, 3], Operations: ['33-30=3']
Exploring Operation: 49-44=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 39:[3, 5] Operation: 49-44=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[3, 5], Operations: ['33-30=3', '49-44=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
94,
61,
44,
19
] | 58 | [
"94-61=33",
"44-19=25",
"33+25=58"
] | Current State: 58:[94, 61, 44, 19], Operations: []
Exploring Operation: 94-61=33, Resulting Numbers: [44, 19, 33]
Generated Node #2: [44, 19, 33] from Operation: 94-61=33
Current State: 58:[44, 19, 33], Operations: ['94-61=33']
Exploring Operation: 44-19=25, Resulting Numbers: [33, 25]
Generated Node #3: [33, 25] from Operation: 44-19=25
Current State: 58:[33, 25], Operations: ['94-61=33', '44-19=25']
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[94, 61, 44, 19], Operations: []
Exploring Operation: 94-19=75, Resulting Numbers: [61, 44, 75]
Generated Node #0,0: 58:[61, 44, 75] Operation: 94-19=75
Exploring Operation: 94-61=33, Resulting Numbers: [44, 19, 33]
Generated Node #0,1: 58:[44, 19, 33] Operation: 94-61=33
Exploring Operation: 94-44=50, Resulting Numbers: [61, 19, 50]
Generated Node #0,2: 58:[61, 19, 50] Operation: 94-44=50
Exploring Operation: 44+19=63, Resulting Numbers: [94, 61, 63]
Generated Node #0,3: 58:[94, 61, 63] Operation: 44+19=63
Exploring Operation: 44-19=25, Resulting Numbers: [94, 61, 25]
Generated Node #0,4: 58:[94, 61, 25] Operation: 44-19=25
Moving to Node #0,2
Current State: 58:[61, 19, 50], Operations: ['94-44=50']
Exploring Operation: 61+19=80, Resulting Numbers: [50, 80]
Generated Node #0,2,0: 58:[50, 80] Operation: 61+19=80
Exploring Operation: 61-19=42, Resulting Numbers: [50, 42]
Generated Node #0,2,1: 58:[50, 42] Operation: 61-19=42
Exploring Operation: 19+50=69, Resulting Numbers: [61, 69]
Generated Node #0,2,2: 58:[61, 69] Operation: 19+50=69
Exploring Operation: 50-19=31, Resulting Numbers: [61, 31]
Generated Node #0,2,3: 58:[61, 31] Operation: 50-19=31
Exploring Operation: 61-50=11, Resulting Numbers: [19, 11]
Generated Node #0,2,4: 58:[19, 11] Operation: 61-50=11
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 58:[61, 31], Operations: ['94-44=50', '50-19=31']
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,58 unequal: No Solution
Exploring Operation: 61*31=1891, Resulting Numbers: [1891]
1891,58 unequal: No Solution
Exploring Operation: 61+31=92, Resulting Numbers: [92]
92,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,2
Current State: 58:[61, 69], Operations: ['94-44=50', '19+50=69']
Exploring Operation: 61*69=4209, Resulting Numbers: [4209]
4209,58 unequal: No Solution
Exploring Operation: 61+69=130, Resulting Numbers: [130]
130,58 unequal: No Solution
Exploring Operation: 69-61=8, Resulting Numbers: [8]
8,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,4
Current State: 58:[19, 11], Operations: ['94-44=50', '61-50=11']
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,58 unequal: No Solution
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,58 unequal: No Solution
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,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,1
Current State: 58:[50, 42], Operations: ['94-44=50', '61-19=42']
Exploring Operation: 50*42=2100, Resulting Numbers: [2100]
2100,58 unequal: No Solution
Exploring Operation: 50+42=92, Resulting Numbers: [92]
92,58 unequal: No Solution
Exploring Operation: 50-42=8, Resulting Numbers: [8]
8,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,0
Current State: 58:[50, 80], Operations: ['94-44=50', '61+19=80']
Exploring Operation: 50+80=130, Resulting Numbers: [130]
130,58 unequal: No Solution
Exploring Operation: 50*80=4000, Resulting Numbers: [4000]
4000,58 unequal: No Solution
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,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, 19, 33], Operations: ['94-61=33']
Exploring Operation: 19+33=52, Resulting Numbers: [44, 52]
Generated Node #0,1,0: 58:[44, 52] Operation: 19+33=52
Exploring Operation: 44-33=11, Resulting Numbers: [19, 11]
Generated Node #0,1,1: 58:[19, 11] Operation: 44-33=11
Exploring Operation: 44-19=25, Resulting Numbers: [33, 25]
Generated Node #0,1,2: 58:[33, 25] Operation: 44-19=25
Exploring Operation: 33-19=14, Resulting Numbers: [44, 14]
Generated Node #0,1,3: 58:[44, 14] Operation: 33-19=14
Exploring Operation: 44+19=63, Resulting Numbers: [33, 63]
Generated Node #0,1,4: 58:[33, 63] Operation: 44+19=63
Moving to Node #0,0
Current State: 58:[61, 44, 75], Operations: ['94-19=75']
Exploring Operation: 61-44=17, Resulting Numbers: [75, 17]
Generated Node #0,0,0: 58:[75, 17] Operation: 61-44=17
Exploring Operation: 61+44=105, Resulting Numbers: [75, 105]
Generated Node #0,0,1: 58:[75, 105] Operation: 61+44=105
Exploring Operation: 75-61=14, Resulting Numbers: [44, 14]
Generated Node #0,0,2: 58:[44, 14] Operation: 75-61=14
Exploring Operation: 44+75=119, Resulting Numbers: [61, 119]
Generated Node #0,0,3: 58:[61, 119] Operation: 44+75=119
Exploring Operation: 75-44=31, Resulting Numbers: [61, 31]
Generated Node #0,0,4: 58:[61, 31] Operation: 75-44=31
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 58:[61, 31], Operations: ['94-19=75', '75-44=31']
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,58 unequal: No Solution
Exploring Operation: 61+31=92, Resulting Numbers: [92]
92,58 unequal: No Solution
Exploring Operation: 61*31=1891, Resulting Numbers: [1891]
1891,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,2
Current State: 58:[44, 14], Operations: ['94-19=75', '75-61=14']
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,58 unequal: No Solution
Exploring Operation: 44*14=616, Resulting Numbers: [616]
616,58 unequal: No Solution
Exploring Operation: 44+14=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[94, 61, 44, 19], Operations: []
Exploring Operation: 94-19=75, Resulting Numbers: [61, 44, 75]
Generated Node #0,0: 58:[61, 44, 75] Operation: 94-19=75
Moving to Node #0,0
Current State: 58:[61, 44, 75], Operations: ['94-19=75']
Exploring Operation: 75-61=14, Resulting Numbers: [44, 14]
Generated Node #0,0,2: 58:[44, 14] Operation: 75-61=14
Moving to Node #0,0,2
Current State: 58:[44, 14], Operations: ['94-19=75', '75-61=14']
Exploring Operation: 44+14=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 | hs_5 | mult_heuristic |
[
7,
2,
36,
19
] | 69 | [
"7*2=14",
"36+19=55",
"14+55=69"
] | Current State: 69:[7, 2, 36, 19], Operations: []
Exploring Operation: 7*2=14, Resulting Numbers: [36, 19, 14]
Generated Node #2: [36, 19, 14] from Operation: 7*2=14
Current State: 69:[36, 19, 14], Operations: ['7*2=14']
Exploring Operation: 36+19=55, Resulting Numbers: [14, 55]
Generated Node #3: [14, 55] from Operation: 36+19=55
Current State: 69:[14, 55], Operations: ['7*2=14', '36+19=55']
Exploring Operation: 14+55=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[7, 2, 36, 19], Operations: []
Exploring Operation: 36-7=29, Resulting Numbers: [2, 19, 29]
Generated Node #0,0: 69:[2, 19, 29] Operation: 36-7=29
Moving to Node #0,0
Current State: 69:[2, 19, 29], Operations: ['36-7=29']
Exploring Operation: 2+19=21, Resulting Numbers: [29, 21]
Generated Node #0,0,0: 69:[29, 21] Operation: 2+19=21
Moving to Node #0,0,0
Current State: 69:[29, 21], Operations: ['36-7=29', '2+19=21']
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,69 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
88,
66,
86,
58
] | 25 | [
"88-86=2",
"66/2=33",
"58-33=25"
] | Current State: 25:[88, 66, 86, 58], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [66, 58, 2]
Generated Node #2: [66, 58, 2] from Operation: 88-86=2
Current State: 25:[66, 58, 2], Operations: ['88-86=2']
Exploring Operation: 66/2=33, Resulting Numbers: [58, 33]
Generated Node #3: [58, 33] from Operation: 66/2=33
Current State: 25:[58, 33], Operations: ['88-86=2', '66/2=33']
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[88, 66, 86, 58], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [66, 58, 2]
Generated Node #0,0: 25:[66, 58, 2] Operation: 88-86=2
Exploring Operation: 88-66=22, Resulting Numbers: [86, 58, 22]
Generated Node #0,1: 25:[86, 58, 22] Operation: 88-66=22
Exploring Operation: 86-66=20, Resulting Numbers: [88, 58, 20]
Generated Node #0,2: 25:[88, 58, 20] Operation: 86-66=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[66, 58, 2], Operations: ['88-86=2']
Exploring Operation: 66-58=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 25:[2, 8] Operation: 66-58=8
Exploring Operation: 66/2=33, Resulting Numbers: [58, 33]
Generated Node #0,0,1: 25:[58, 33] Operation: 66/2=33
Exploring Operation: 58/2=29, Resulting Numbers: [66, 29]
Generated Node #0,0,2: 25:[66, 29] Operation: 58/2=29
Moving to Node #0,0,0
Current State: 25:[2, 8], Operations: ['88-86=2', '66-58=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[58, 33], Operations: ['88-86=2', '66/2=33']
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[88, 66, 86, 58], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [66, 58, 2]
Generated Node #0,0: 25:[66, 58, 2] Operation: 88-86=2
Moving to Node #0,0
Current State: 25:[66, 58, 2], Operations: ['88-86=2']
Exploring Operation: 66/2=33, Resulting Numbers: [58, 33]
Generated Node #0,0,1: 25:[58, 33] Operation: 66/2=33
Moving to Node #0,0,1
Current State: 25:[58, 33], Operations: ['88-86=2', '66/2=33']
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
41,
70,
32,
28
] | 32 | [
"70-41=29",
"29-28=1",
"32*1=32"
] | Current State: 32:[41, 70, 32, 28], Operations: []
Exploring Operation: 70-41=29, Resulting Numbers: [32, 28, 29]
Generated Node #2: [32, 28, 29] from Operation: 70-41=29
Current State: 32:[32, 28, 29], Operations: ['70-41=29']
Exploring Operation: 29-28=1, Resulting Numbers: [32, 1]
Generated Node #3: [32, 1] from Operation: 29-28=1
Current State: 32:[32, 1], Operations: ['70-41=29', '29-28=1']
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[41, 70, 32, 28], Operations: []
Exploring Operation: 70-32=38, Resulting Numbers: [41, 28, 38]
Generated Node #0,0: 32:[41, 28, 38] Operation: 70-32=38
Exploring Operation: 70-28=42, Resulting Numbers: [41, 32, 42]
Generated Node #0,1: 32:[41, 32, 42] Operation: 70-28=42
Exploring Operation: 70-41=29, Resulting Numbers: [32, 28, 29]
Generated Node #0,2: 32:[32, 28, 29] Operation: 70-41=29
Moving to Node #0,2
Current State: 32:[32, 28, 29], Operations: ['70-41=29']
Exploring Operation: 29-28=1, Resulting Numbers: [32, 1]
Generated Node #0,2,0: 32:[32, 1] Operation: 29-28=1
Exploring Operation: 32-28=4, Resulting Numbers: [29, 4]
Generated Node #0,2,1: 32:[29, 4] Operation: 32-28=4
Exploring Operation: 32-29=3, Resulting Numbers: [28, 3]
Generated Node #0,2,2: 32:[28, 3] Operation: 32-29=3
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 32:[32, 1], Operations: ['70-41=29', '29-28=1']
Exploring Operation: 32+1=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[41, 70, 32, 28], Operations: []
Exploring Operation: 70-41=29, Resulting Numbers: [32, 28, 29]
Generated Node #0,2: 32:[32, 28, 29] Operation: 70-41=29
Moving to Node #0,2
Current State: 32:[32, 28, 29], Operations: ['70-41=29']
Exploring Operation: 29-28=1, Resulting Numbers: [32, 1]
Generated Node #0,2,0: 32:[32, 1] Operation: 29-28=1
Moving to Node #0,2,0
Current State: 32:[32, 1], Operations: ['70-41=29', '29-28=1']
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
83,
74,
82,
76
] | 15 | [
"83-74=9",
"82-76=6",
"9+6=15"
] | Current State: 15:[83, 74, 82, 76], Operations: []
Exploring Operation: 83-74=9, Resulting Numbers: [82, 76, 9]
Generated Node #2: [82, 76, 9] from Operation: 83-74=9
Current State: 15:[82, 76, 9], Operations: ['83-74=9']
Exploring Operation: 82-76=6, Resulting Numbers: [9, 6]
Generated Node #3: [9, 6] from Operation: 82-76=6
Current State: 15:[9, 6], Operations: ['83-74=9', '82-76=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[83, 74, 82, 76], Operations: []
Exploring Operation: 83-82=1, Resulting Numbers: [74, 76, 1]
Generated Node #0,0: 15:[74, 76, 1] Operation: 83-82=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[74, 76, 1], Operations: ['83-82=1']
Exploring Operation: 76-74=2, Resulting Numbers: [1, 2]
Generated Node #0,0,0: 15:[1, 2] Operation: 76-74=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[1, 2], Operations: ['83-82=1', '76-74=2']
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,15 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 |
[
57,
77,
91,
27
] | 98 | [
"77-57=20",
"91+27=118",
"118-20=98"
] | Current State: 98:[57, 77, 91, 27], Operations: []
Exploring Operation: 77-57=20, Resulting Numbers: [91, 27, 20]
Generated Node #2: [91, 27, 20] from Operation: 77-57=20
Current State: 98:[91, 27, 20], Operations: ['77-57=20']
Exploring Operation: 91+27=118, Resulting Numbers: [20, 118]
Generated Node #3: [20, 118] from Operation: 91+27=118
Current State: 98:[20, 118], Operations: ['77-57=20', '91+27=118']
Exploring Operation: 118-20=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[57, 77, 91, 27], Operations: []
Exploring Operation: 91-77=14, Resulting Numbers: [57, 27, 14]
Generated Node #0,0: 98:[57, 27, 14] Operation: 91-77=14
Exploring Operation: 77-27=50, Resulting Numbers: [57, 91, 50]
Generated Node #0,1: 98:[57, 91, 50] Operation: 77-27=50
Moving to Node #0,1
Current State: 98:[57, 91, 50], Operations: ['77-27=50']
Exploring Operation: 91-57=34, Resulting Numbers: [50, 34]
Generated Node #0,1,0: 98:[50, 34] Operation: 91-57=34
Exploring Operation: 57-50=7, Resulting Numbers: [91, 7]
Generated Node #0,1,1: 98:[91, 7] Operation: 57-50=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[91, 7], Operations: ['77-27=50', '57-50=7']
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[57, 77, 91, 27], Operations: []
Exploring Operation: 77-27=50, Resulting Numbers: [57, 91, 50]
Generated Node #0,1: 98:[57, 91, 50] Operation: 77-27=50
Moving to Node #0,1
Current State: 98:[57, 91, 50], Operations: ['77-27=50']
Exploring Operation: 57-50=7, Resulting Numbers: [91, 7]
Generated Node #0,1,1: 98:[91, 7] Operation: 57-50=7
Moving to Node #0,1,1
Current State: 98:[91, 7], Operations: ['77-27=50', '57-50=7']
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
40,
7,
1,
60
] | 93 | [
"40-7=33",
"1*60=60",
"33+60=93"
] | Current State: 93:[40, 7, 1, 60], Operations: []
Exploring Operation: 40-7=33, Resulting Numbers: [1, 60, 33]
Generated Node #2: [1, 60, 33] from Operation: 40-7=33
Current State: 93:[1, 60, 33], Operations: ['40-7=33']
Exploring Operation: 1*60=60, Resulting Numbers: [33, 60]
Generated Node #3: [33, 60] from Operation: 1*60=60
Current State: 93:[33, 60], Operations: ['40-7=33', '1*60=60']
Exploring Operation: 33+60=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[40, 7, 1, 60], Operations: []
Exploring Operation: 40-7=33, Resulting Numbers: [1, 60, 33]
Generated Node #0,0: 93:[1, 60, 33] Operation: 40-7=33
Exploring Operation: 40+60=100, Resulting Numbers: [7, 1, 100]
Generated Node #0,1: 93:[7, 1, 100] Operation: 40+60=100
Exploring Operation: 60-7=53, Resulting Numbers: [40, 1, 53]
Generated Node #0,2: 93:[40, 1, 53] Operation: 60-7=53
Exploring Operation: 60-40=20, Resulting Numbers: [7, 1, 20]
Generated Node #0,3: 93:[7, 1, 20] Operation: 60-40=20
Moving to Node #0,1
Current State: 93:[7, 1, 100], Operations: ['40+60=100']
Exploring Operation: 100-7=93, Resulting Numbers: [1, 93]
Generated Node #0,1,0: 93:[1, 93] Operation: 100-7=93
Exploring Operation: 7*1=7, Resulting Numbers: [100, 7]
Generated Node #0,1,1: 93:[100, 7] Operation: 7*1=7
Exploring Operation: 100-1=99, Resulting Numbers: [7, 99]
Generated Node #0,1,2: 93:[7, 99] Operation: 100-1=99
Exploring Operation: 7-1=6, Resulting Numbers: [100, 6]
Generated Node #0,1,3: 93:[100, 6] Operation: 7-1=6
Moving to Node #0,3
Current State: 93:[7, 1, 20], Operations: ['60-40=20']
Exploring Operation: 7-1=6, Resulting Numbers: [20, 6]
Generated Node #0,3,0: 93:[20, 6] Operation: 7-1=6
Exploring Operation: 20-7=13, Resulting Numbers: [1, 13]
Generated Node #0,3,1: 93:[1, 13] Operation: 20-7=13
Exploring Operation: 7+20=27, Resulting Numbers: [1, 27]
Generated Node #0,3,2: 93:[1, 27] Operation: 7+20=27
Exploring Operation: 1+20=21, Resulting Numbers: [7, 21]
Generated Node #0,3,3: 93:[7, 21] Operation: 1+20=21
Moving to Node #0,2
Current State: 93:[40, 1, 53], Operations: ['60-7=53']
Exploring Operation: 40+53=93, Resulting Numbers: [1, 93]
Generated Node #0,2,0: 93:[1, 93] Operation: 40+53=93
Exploring Operation: 53-1=52, Resulting Numbers: [40, 52]
Generated Node #0,2,1: 93:[40, 52] Operation: 53-1=52
Exploring Operation: 53-40=13, Resulting Numbers: [1, 13]
Generated Node #0,2,2: 93:[1, 13] Operation: 53-40=13
Exploring Operation: 40-1=39, Resulting Numbers: [53, 39]
Generated Node #0,2,3: 93:[53, 39] Operation: 40-1=39
Moving to Node #0,0
Current State: 93:[1, 60, 33], Operations: ['40-7=33']
Exploring Operation: 60+33=93, Resulting Numbers: [1, 93]
Generated Node #0,0,0: 93:[1, 93] Operation: 60+33=93
Exploring Operation: 60-1=59, Resulting Numbers: [33, 59]
Generated Node #0,0,1: 93:[33, 59] Operation: 60-1=59
Exploring Operation: 60-33=27, Resulting Numbers: [1, 27]
Generated Node #0,0,2: 93:[1, 27] Operation: 60-33=27
Exploring Operation: 33-1=32, Resulting Numbers: [60, 32]
Generated Node #0,0,3: 93:[60, 32] Operation: 33-1=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[1, 93], Operations: ['40-7=33', '60+33=93']
Exploring Operation: 1+93=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Exploring Operation: 93-1=92, Resulting Numbers: [92]
92,93 unequal: No Solution
Exploring Operation: 1*93=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[40, 7, 1, 60], Operations: []
Exploring Operation: 40-7=33, Resulting Numbers: [1, 60, 33]
Generated Node #0,0: 93:[1, 60, 33] Operation: 40-7=33
Moving to Node #0,0
Current State: 93:[1, 60, 33], Operations: ['40-7=33']
Exploring Operation: 60+33=93, Resulting Numbers: [1, 93]
Generated Node #0,0,0: 93:[1, 93] Operation: 60+33=93
Moving to Node #0,0,0
Current State: 93:[1, 93], Operations: ['40-7=33', '60+33=93']
Exploring Operation: 1*93=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_4 | sum_heuristic |
[
62,
85,
87,
39
] | 21 | [
"62+85=147",
"87+39=126",
"147-126=21"
] | Current State: 21:[62, 85, 87, 39], Operations: []
Exploring Operation: 62+85=147, Resulting Numbers: [87, 39, 147]
Generated Node #2: [87, 39, 147] from Operation: 62+85=147
Current State: 21:[87, 39, 147], Operations: ['62+85=147']
Exploring Operation: 87+39=126, Resulting Numbers: [147, 126]
Generated Node #3: [147, 126] from Operation: 87+39=126
Current State: 21:[147, 126], Operations: ['62+85=147', '87+39=126']
Exploring Operation: 147-126=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[62, 85, 87, 39], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [62, 39, 2]
Generated Node #0,0: 21:[62, 39, 2] Operation: 87-85=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[62, 39, 2], Operations: ['87-85=2']
Exploring Operation: 62-39=23, Resulting Numbers: [2, 23]
Generated Node #0,0,0: 21:[2, 23] Operation: 62-39=23
Moving to Node #0,0,0
Current State: 21:[2, 23], Operations: ['87-85=2', '62-39=23']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[62, 85, 87, 39], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [62, 39, 2]
Generated Node #0,0: 21:[62, 39, 2] Operation: 87-85=2
Moving to Node #0,0
Current State: 21:[62, 39, 2], Operations: ['87-85=2']
Exploring Operation: 62-39=23, Resulting Numbers: [2, 23]
Generated Node #0,0,0: 21:[2, 23] Operation: 62-39=23
Moving to Node #0,0,0
Current State: 21:[2, 23], Operations: ['87-85=2', '62-39=23']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
9,
28,
36,
14
] | 84 | [
"36/9=4",
"14*4=56",
"28+56=84"
] | Current State: 84:[9, 28, 36, 14], Operations: []
Exploring Operation: 36/9=4, Resulting Numbers: [28, 14, 4]
Generated Node #2: [28, 14, 4] from Operation: 36/9=4
Current State: 84:[28, 14, 4], Operations: ['36/9=4']
Exploring Operation: 14*4=56, Resulting Numbers: [28, 56]
Generated Node #3: [28, 56] from Operation: 14*4=56
Current State: 84:[28, 56], Operations: ['36/9=4', '14*4=56']
Exploring Operation: 28+56=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[9, 28, 36, 14], Operations: []
Exploring Operation: 36-9=27, Resulting Numbers: [28, 14, 27]
Generated Node #0,0: 84:[28, 14, 27] Operation: 36-9=27
Exploring Operation: 36/9=4, Resulting Numbers: [28, 14, 4]
Generated Node #0,1: 84:[28, 14, 4] Operation: 36/9=4
Moving to Node #0,1
Current State: 84:[28, 14, 4], Operations: ['36/9=4']
Exploring Operation: 28+14=42, Resulting Numbers: [4, 42]
Generated Node #0,1,0: 84:[4, 42] Operation: 28+14=42
Exploring Operation: 28-14=14, Resulting Numbers: [4, 14]
Generated Node #0,1,1: 84:[4, 14] Operation: 28-14=14
Moving to Node #0,0
Current State: 84:[28, 14, 27], Operations: ['36-9=27']
Exploring Operation: 28+14=42, Resulting Numbers: [27, 42]
Generated Node #0,0,0: 84:[27, 42] Operation: 28+14=42
Exploring Operation: 28-14=14, Resulting Numbers: [27, 14]
Generated Node #0,0,1: 84:[27, 14] Operation: 28-14=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[27, 42], Operations: ['36-9=27', '28+14=42']
Exploring Operation: 27+42=69, Resulting Numbers: [69]
69,84 unequal: No Solution
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[27, 14], Operations: ['36-9=27', '28-14=14']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,84 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 84:[4, 42], Operations: ['36/9=4', '28+14=42']
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[4, 14], Operations: ['36/9=4', '28-14=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,84 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
13,
38,
50,
52
] | 53 | [
"13+38=51",
"52-50=2",
"51+2=53"
] | Current State: 53:[13, 38, 50, 52], Operations: []
Exploring Operation: 13+38=51, Resulting Numbers: [50, 52, 51]
Generated Node #2: [50, 52, 51] from Operation: 13+38=51
Current State: 53:[50, 52, 51], Operations: ['13+38=51']
Exploring Operation: 52-50=2, Resulting Numbers: [51, 2]
Generated Node #3: [51, 2] from Operation: 52-50=2
Current State: 53:[51, 2], Operations: ['13+38=51', '52-50=2']
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[13, 38, 50, 52], Operations: []
Exploring Operation: 13+50=63, Resulting Numbers: [38, 52, 63]
Generated Node #0,0: 53:[38, 52, 63] Operation: 13+50=63
Exploring Operation: 13+38=51, Resulting Numbers: [50, 52, 51]
Generated Node #0,1: 53:[50, 52, 51] Operation: 13+38=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[50, 52, 51], Operations: ['13+38=51']
Exploring Operation: 50+51=101, Resulting Numbers: [52, 101]
Generated Node #0,1,0: 53:[52, 101] Operation: 50+51=101
Exploring Operation: 50+52=102, Resulting Numbers: [51, 102]
Generated Node #0,1,1: 53:[51, 102] Operation: 50+52=102
Moving to Node #0,1,0
Current State: 53:[52, 101], Operations: ['13+38=51', '50+51=101']
Exploring Operation: 52+101=153, Resulting Numbers: [153]
153,53 unequal: No Solution
Exploring Operation: 101-52=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[51, 102], Operations: ['13+38=51', '50+52=102']
Exploring Operation: 102/51=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 102-51=51, Resulting Numbers: [51]
51,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[38, 52, 63], Operations: ['13+50=63']
Exploring Operation: 63-38=25, Resulting Numbers: [52, 25]
Generated Node #0,0,0: 53:[52, 25] Operation: 63-38=25
Exploring Operation: 38+52=90, Resulting Numbers: [63, 90]
Generated Node #0,0,1: 53:[63, 90] Operation: 38+52=90
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[52, 25], Operations: ['13+50=63', '63-38=25']
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[63, 90], Operations: ['13+50=63', '38+52=90']
Exploring Operation: 63+90=153, Resulting Numbers: [153]
153,53 unequal: No Solution
Exploring Operation: 90-63=27, Resulting Numbers: [27]
27,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
75,
24,
64,
87
] | 62 | [
"87-75=12",
"24/12=2",
"64-2=62"
] | Current State: 62:[75, 24, 64, 87], Operations: []
Exploring Operation: 87-75=12, Resulting Numbers: [24, 64, 12]
Generated Node #2: [24, 64, 12] from Operation: 87-75=12
Current State: 62:[24, 64, 12], Operations: ['87-75=12']
Exploring Operation: 24/12=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 24/12=2
Current State: 62:[64, 2], Operations: ['87-75=12', '24/12=2']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[75, 24, 64, 87], Operations: []
Exploring Operation: 75-24=51, Resulting Numbers: [64, 87, 51]
Generated Node #0,0: 62:[64, 87, 51] Operation: 75-24=51
Exploring Operation: 87-64=23, Resulting Numbers: [75, 24, 23]
Generated Node #0,1: 62:[75, 24, 23] Operation: 87-64=23
Exploring Operation: 87-75=12, Resulting Numbers: [24, 64, 12]
Generated Node #0,2: 62:[24, 64, 12] Operation: 87-75=12
Exploring Operation: 87-24=63, Resulting Numbers: [75, 64, 63]
Generated Node #0,3: 62:[75, 64, 63] Operation: 87-24=63
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[75, 64, 63], Operations: ['87-24=63']
Exploring Operation: 75-63=12, Resulting Numbers: [64, 12]
Generated Node #0,3,0: 62:[64, 12] Operation: 75-63=12
Exploring Operation: 64-63=1, Resulting Numbers: [75, 1]
Generated Node #0,3,1: 62:[75, 1] Operation: 64-63=1
Exploring Operation: 75+64=139, Resulting Numbers: [63, 139]
Generated Node #0,3,2: 62:[63, 139] Operation: 75+64=139
Exploring Operation: 75-64=11, Resulting Numbers: [63, 11]
Generated Node #0,3,3: 62:[63, 11] Operation: 75-64=11
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 62:[63, 11], Operations: ['87-24=63', '75-64=11']
Exploring Operation: 63*11=693, Resulting Numbers: [693]
693,62 unequal: No Solution
Exploring Operation: 63+11=74, Resulting Numbers: [74]
74,62 unequal: No Solution
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 62:[64, 12], Operations: ['87-24=63', '75-63=12']
Exploring Operation: 64+12=76, Resulting Numbers: [76]
76,62 unequal: No Solution
Exploring Operation: 64*12=768, Resulting Numbers: [768]
768,62 unequal: No Solution
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 62:[75, 1], Operations: ['87-24=63', '64-63=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,62 unequal: No Solution
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,62 unequal: No Solution
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 62:[63, 139], Operations: ['87-24=63', '75+64=139']
Exploring Operation: 63+139=202, Resulting Numbers: [202]
202,62 unequal: No Solution
Exploring Operation: 139-63=76, Resulting Numbers: [76]
76,62 unequal: No Solution
Exploring Operation: 63*139=8757, Resulting Numbers: [8757]
8757,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[24, 64, 12], Operations: ['87-75=12']
Exploring Operation: 24+12=36, Resulting Numbers: [64, 36]
Generated Node #0,2,0: 62:[64, 36] Operation: 24+12=36
Exploring Operation: 64-12=52, Resulting Numbers: [24, 52]
Generated Node #0,2,1: 62:[24, 52] Operation: 64-12=52
Exploring Operation: 24-12=12, Resulting Numbers: [64, 12]
Generated Node #0,2,2: 62:[64, 12] Operation: 24-12=12
Exploring Operation: 24/12=2, Resulting Numbers: [64, 2]
Generated Node #0,2,3: 62:[64, 2] Operation: 24/12=2
Moving to Node #0,2,3
Current State: 62:[64, 2], Operations: ['87-75=12', '24/12=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[75, 24, 64, 87], Operations: []
Exploring Operation: 87-75=12, Resulting Numbers: [24, 64, 12]
Generated Node #0,2: 62:[24, 64, 12] Operation: 87-75=12
Moving to Node #0,2
Current State: 62:[24, 64, 12], Operations: ['87-75=12']
Exploring Operation: 24/12=2, Resulting Numbers: [64, 2]
Generated Node #0,2,3: 62:[64, 2] Operation: 24/12=2
Moving to Node #0,2,3
Current State: 62:[64, 2], Operations: ['87-75=12', '24/12=2']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
53,
13,
46,
9
] | 50 | [
"53-46=7",
"9*7=63",
"63-13=50"
] | Current State: 50:[53, 13, 46, 9], Operations: []
Exploring Operation: 53-46=7, Resulting Numbers: [13, 9, 7]
Generated Node #2: [13, 9, 7] from Operation: 53-46=7
Current State: 50:[13, 9, 7], Operations: ['53-46=7']
Exploring Operation: 9*7=63, Resulting Numbers: [13, 63]
Generated Node #3: [13, 63] from Operation: 9*7=63
Current State: 50:[13, 63], Operations: ['53-46=7', '9*7=63']
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[53, 13, 46, 9], Operations: []
Exploring Operation: 53-46=7, Resulting Numbers: [13, 9, 7]
Generated Node #0,0: 50:[13, 9, 7] Operation: 53-46=7
Exploring Operation: 13+9=22, Resulting Numbers: [53, 46, 22]
Generated Node #0,1: 50:[53, 46, 22] Operation: 13+9=22
Exploring Operation: 13-9=4, Resulting Numbers: [53, 46, 4]
Generated Node #0,2: 50:[53, 46, 4] Operation: 13-9=4
Exploring Operation: 46+9=55, Resulting Numbers: [53, 13, 55]
Generated Node #0,3: 50:[53, 13, 55] Operation: 46+9=55
Moving to Node #0,0
Current State: 50:[13, 9, 7], Operations: ['53-46=7']
Exploring Operation: 13-9=4, Resulting Numbers: [7, 4]
Generated Node #0,0,0: 50:[7, 4] Operation: 13-9=4
Exploring Operation: 13+9=22, Resulting Numbers: [7, 22]
Generated Node #0,0,1: 50:[7, 22] Operation: 13+9=22
Exploring Operation: 13-7=6, Resulting Numbers: [9, 6]
Generated Node #0,0,2: 50:[9, 6] Operation: 13-7=6
Exploring Operation: 9-7=2, Resulting Numbers: [13, 2]
Generated Node #0,0,3: 50:[13, 2] Operation: 9-7=2
Moving to Node #0,2
Current State: 50:[53, 46, 4], Operations: ['13-9=4']
Exploring Operation: 53+4=57, Resulting Numbers: [46, 57]
Generated Node #0,2,0: 50:[46, 57] Operation: 53+4=57
Exploring Operation: 53-4=49, Resulting Numbers: [46, 49]
Generated Node #0,2,1: 50:[46, 49] Operation: 53-4=49
Exploring Operation: 53-46=7, Resulting Numbers: [4, 7]
Generated Node #0,2,2: 50:[4, 7] Operation: 53-46=7
Exploring Operation: 46+4=50, Resulting Numbers: [53, 50]
Generated Node #0,2,3: 50:[53, 50] Operation: 46+4=50
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 50:[4, 7], Operations: ['13-9=4', '53-46=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,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,3
Current State: 50:[53, 50], Operations: ['13-9=4', '46+4=50']
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 53*50=2650, Resulting Numbers: [2650]
2650,50 unequal: No Solution
Exploring Operation: 53+50=103, Resulting Numbers: [103]
103,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,1
Current State: 50:[46, 49], Operations: ['13-9=4', '53-4=49']
Exploring Operation: 46*49=2254, Resulting Numbers: [2254]
2254,50 unequal: No Solution
Exploring Operation: 46+49=95, Resulting Numbers: [95]
95,50 unequal: No Solution
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 50:[46, 57], Operations: ['13-9=4', '53+4=57']
Exploring Operation: 46*57=2622, Resulting Numbers: [2622]
2622,50 unequal: No Solution
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 46+57=103, Resulting Numbers: [103]
103,50 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: 50:[53, 46, 22], Operations: ['13+9=22']
Exploring Operation: 53-46=7, Resulting Numbers: [22, 7]
Generated Node #0,1,0: 50:[22, 7] Operation: 53-46=7
Exploring Operation: 46+22=68, Resulting Numbers: [53, 68]
Generated Node #0,1,1: 50:[53, 68] Operation: 46+22=68
Exploring Operation: 53-22=31, Resulting Numbers: [46, 31]
Generated Node #0,1,2: 50:[46, 31] Operation: 53-22=31
Exploring Operation: 46-22=24, Resulting Numbers: [53, 24]
Generated Node #0,1,3: 50:[53, 24] Operation: 46-22=24
Moving to Node #0,3
Current State: 50:[53, 13, 55], Operations: ['46+9=55']
Exploring Operation: 55-13=42, Resulting Numbers: [53, 42]
Generated Node #0,3,0: 50:[53, 42] Operation: 55-13=42
Exploring Operation: 53+13=66, Resulting Numbers: [55, 66]
Generated Node #0,3,1: 50:[55, 66] Operation: 53+13=66
Exploring Operation: 53-13=40, Resulting Numbers: [55, 40]
Generated Node #0,3,2: 50:[55, 40] Operation: 53-13=40
Exploring Operation: 55-53=2, Resulting Numbers: [13, 2]
Generated Node #0,3,3: 50:[13, 2] Operation: 55-53=2
Moving to Node #0,0,2
Current State: 50:[9, 6], Operations: ['53-46=7', '13-7=6']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,50 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Moving to Node #0,0,3
Current State: 50:[13, 2], Operations: ['53-46=7', '9-7=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[7, 4], Operations: ['53-46=7', '13-9=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Moving to Node #0,3,3
Current State: 50:[13, 2], Operations: ['46+9=55', '55-53=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Moving to Node #0,1,3
Current State: 50:[53, 24], Operations: ['13+9=22', '46-22=24']
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,50 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[22, 7], Operations: ['13+9=22', '53-46=7']
Exploring Operation: 22*7=154, Resulting Numbers: [154]
154,50 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[7, 22], Operations: ['53-46=7', '13+9=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[46, 31], Operations: ['13+9=22', '53-22=31']
Exploring Operation: 46+31=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Exploring Operation: 46*31=1426, Resulting Numbers: [1426]
1426,50 unequal: No Solution
Exploring Operation: 46-31=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Moving to Node #0,3,0
Current State: 50:[53, 42], Operations: ['46+9=55', '55-13=42']
Exploring Operation: 53*42=2226, Resulting Numbers: [2226]
2226,50 unequal: No Solution
Exploring Operation: 53+42=95, Resulting Numbers: [95]
95,50 unequal: No Solution
Exploring Operation: 53-42=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Moving to Node #0,3,2
Current State: 50:[55, 40], Operations: ['46+9=55', '53-13=40']
Exploring Operation: 55*40=2200, Resulting Numbers: [2200]
2200,50 unequal: No Solution
Exploring Operation: 55+40=95, Resulting Numbers: [95]
95,50 unequal: No Solution
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[53, 68], Operations: ['13+9=22', '46+22=68']
Exploring Operation: 53*68=3604, Resulting Numbers: [3604]
3604,50 unequal: No Solution
Exploring Operation: 68-53=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 53+68=121, Resulting Numbers: [121]
121,50 unequal: No Solution
Moving to Node #0,3,1
Current State: 50:[55, 66], Operations: ['46+9=55', '53+13=66']
Exploring Operation: 55*66=3630, Resulting Numbers: [3630]
3630,50 unequal: No Solution
Exploring Operation: 55+66=121, Resulting Numbers: [121]
121,50 unequal: No Solution
Exploring Operation: 66-55=11, Resulting Numbers: [11]
11,50 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
47,
73,
13,
17
] | 56 | [
"73-47=26",
"13+17=30",
"26+30=56"
] | Current State: 56:[47, 73, 13, 17], Operations: []
Exploring Operation: 73-47=26, Resulting Numbers: [13, 17, 26]
Generated Node #2: [13, 17, 26] from Operation: 73-47=26
Current State: 56:[13, 17, 26], Operations: ['73-47=26']
Exploring Operation: 13+17=30, Resulting Numbers: [26, 30]
Generated Node #3: [26, 30] from Operation: 13+17=30
Current State: 56:[26, 30], Operations: ['73-47=26', '13+17=30']
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[47, 73, 13, 17], Operations: []
Exploring Operation: 73-47=26, Resulting Numbers: [13, 17, 26]
Generated Node #0,0: 56:[13, 17, 26] Operation: 73-47=26
Exploring Operation: 73-13=60, Resulting Numbers: [47, 17, 60]
Generated Node #0,1: 56:[47, 17, 60] Operation: 73-13=60
Exploring Operation: 73-17=56, Resulting Numbers: [47, 13, 56]
Generated Node #0,2: 56:[47, 13, 56] Operation: 73-17=56
Exploring Operation: 47-17=30, Resulting Numbers: [73, 13, 30]
Generated Node #0,3: 56:[73, 13, 30] Operation: 47-17=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[13, 17, 26], Operations: ['73-47=26']
Exploring Operation: 13+17=30, Resulting Numbers: [26, 30]
Generated Node #0,0,0: 56:[26, 30] Operation: 13+17=30
Exploring Operation: 26/13=2, Resulting Numbers: [17, 2]
Generated Node #0,0,1: 56:[17, 2] Operation: 26/13=2
Exploring Operation: 26-17=9, Resulting Numbers: [13, 9]
Generated Node #0,0,2: 56:[13, 9] Operation: 26-17=9
Exploring Operation: 17-13=4, Resulting Numbers: [26, 4]
Generated Node #0,0,3: 56:[26, 4] Operation: 17-13=4
Moving to Node #0,0,2
Current State: 56:[13, 9], Operations: ['73-47=26', '26-17=9']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,56 unequal: No Solution
Moving to Node #0,0,3
Current State: 56:[26, 4], Operations: ['73-47=26', '17-13=4']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,56 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[17, 2], Operations: ['73-47=26', '26/13=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,56 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,56 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[26, 30], Operations: ['73-47=26', '13+17=30']
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[47, 73, 13, 17], Operations: []
Exploring Operation: 73-47=26, Resulting Numbers: [13, 17, 26]
Generated Node #0,0: 56:[13, 17, 26] Operation: 73-47=26
Moving to Node #0,0
Current State: 56:[13, 17, 26], Operations: ['73-47=26']
Exploring Operation: 13+17=30, Resulting Numbers: [26, 30]
Generated Node #0,0,0: 56:[26, 30] Operation: 13+17=30
Moving to Node #0,0,0
Current State: 56:[26, 30], Operations: ['73-47=26', '13+17=30']
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | mult_heuristic |
[
44,
31,
37,
45
] | 69 | [
"44-31=13",
"37+45=82",
"82-13=69"
] | Current State: 69:[44, 31, 37, 45], Operations: []
Exploring Operation: 44-31=13, Resulting Numbers: [37, 45, 13]
Generated Node #2: [37, 45, 13] from Operation: 44-31=13
Current State: 69:[37, 45, 13], Operations: ['44-31=13']
Exploring Operation: 37+45=82, Resulting Numbers: [13, 82]
Generated Node #3: [13, 82] from Operation: 37+45=82
Current State: 69:[13, 82], Operations: ['44-31=13', '37+45=82']
Exploring Operation: 82-13=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[44, 31, 37, 45], Operations: []
Exploring Operation: 44-37=7, Resulting Numbers: [31, 45, 7]
Generated Node #0,0: 69:[31, 45, 7] Operation: 44-37=7
Exploring Operation: 45-44=1, Resulting Numbers: [31, 37, 1]
Generated Node #0,1: 69:[31, 37, 1] Operation: 45-44=1
Exploring Operation: 45-37=8, Resulting Numbers: [44, 31, 8]
Generated Node #0,2: 69:[44, 31, 8] Operation: 45-37=8
Moving to Node #0,1
Current State: 69:[31, 37, 1], Operations: ['45-44=1']
Exploring Operation: 31-1=30, Resulting Numbers: [37, 30]
Generated Node #0,1,0: 69:[37, 30] Operation: 31-1=30
Exploring Operation: 37-31=6, Resulting Numbers: [1, 6]
Generated Node #0,1,1: 69:[1, 6] Operation: 37-31=6
Exploring Operation: 31+37=68, Resulting Numbers: [1, 68]
Generated Node #0,1,2: 69:[1, 68] Operation: 31+37=68
Moving to Node #0,0
Current State: 69:[31, 45, 7], Operations: ['44-37=7']
Exploring Operation: 31-7=24, Resulting Numbers: [45, 24]
Generated Node #0,0,0: 69:[45, 24] Operation: 31-7=24
Exploring Operation: 31+45=76, Resulting Numbers: [7, 76]
Generated Node #0,0,1: 69:[7, 76] Operation: 31+45=76
Exploring Operation: 45-31=14, Resulting Numbers: [7, 14]
Generated Node #0,0,2: 69:[7, 14] Operation: 45-31=14
Moving to Node #0,2
Current State: 69:[44, 31, 8], Operations: ['45-37=8']
Exploring Operation: 44-31=13, Resulting Numbers: [8, 13]
Generated Node #0,2,0: 69:[8, 13] Operation: 44-31=13
Exploring Operation: 44-8=36, Resulting Numbers: [31, 36]
Generated Node #0,2,1: 69:[31, 36] Operation: 44-8=36
Exploring Operation: 44+31=75, Resulting Numbers: [8, 75]
Generated Node #0,2,2: 69:[8, 75] Operation: 44+31=75
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 69:[8, 75], Operations: ['45-37=8', '44+31=75']
Exploring Operation: 8*75=600, Resulting Numbers: [600]
600,69 unequal: No Solution
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,69 unequal: No Solution
Exploring Operation: 8+75=83, Resulting Numbers: [83]
83,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,0
Current State: 69:[8, 13], Operations: ['45-37=8', '44-31=13']
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 8*13=104, Resulting Numbers: [104]
104,69 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,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,1
Current State: 69:[31, 36], Operations: ['45-37=8', '44-8=36']
Exploring Operation: 31*36=1116, Resulting Numbers: [1116]
1116,69 unequal: No Solution
Exploring Operation: 31+36=67, Resulting Numbers: [67]
67,69 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 69:[1, 68], Operations: ['45-44=1', '31+37=68']
Exploring Operation: 1*68=68, Resulting Numbers: [68]
68,69 unequal: No Solution
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[44, 31, 37, 45], Operations: []
Exploring Operation: 45-44=1, Resulting Numbers: [31, 37, 1]
Generated Node #0,1: 69:[31, 37, 1] Operation: 45-44=1
Moving to Node #0,1
Current State: 69:[31, 37, 1], Operations: ['45-44=1']
Exploring Operation: 31+37=68, Resulting Numbers: [1, 68]
Generated Node #0,1,2: 69:[1, 68] Operation: 31+37=68
Moving to Node #0,1,2
Current State: 69:[1, 68], Operations: ['45-44=1', '31+37=68']
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
93,
83,
10,
91
] | 75 | [
"93+83=176",
"10+91=101",
"176-101=75"
] | Current State: 75:[93, 83, 10, 91], Operations: []
Exploring Operation: 93+83=176, Resulting Numbers: [10, 91, 176]
Generated Node #2: [10, 91, 176] from Operation: 93+83=176
Current State: 75:[10, 91, 176], Operations: ['93+83=176']
Exploring Operation: 10+91=101, Resulting Numbers: [176, 101]
Generated Node #3: [176, 101] from Operation: 10+91=101
Current State: 75:[176, 101], Operations: ['93+83=176', '10+91=101']
Exploring Operation: 176-101=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[93, 83, 10, 91], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [83, 10, 2]
Generated Node #0,0: 75:[83, 10, 2] Operation: 93-91=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[83, 10, 2], Operations: ['93-91=2']
Exploring Operation: 83-10=73, Resulting Numbers: [2, 73]
Generated Node #0,0,0: 75:[2, 73] Operation: 83-10=73
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[2, 73], Operations: ['93-91=2', '83-10=73']
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[93, 83, 10, 91], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [83, 10, 2]
Generated Node #0,0: 75:[83, 10, 2] Operation: 93-91=2
Moving to Node #0,0
Current State: 75:[83, 10, 2], Operations: ['93-91=2']
Exploring Operation: 83-10=73, Resulting Numbers: [2, 73]
Generated Node #0,0,0: 75:[2, 73] Operation: 83-10=73
Moving to Node #0,0,0
Current State: 75:[2, 73], Operations: ['93-91=2', '83-10=73']
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
90,
73,
59,
61
] | 19 | [
"90-73=17",
"61-59=2",
"17+2=19"
] | Current State: 19:[90, 73, 59, 61], Operations: []
Exploring Operation: 90-73=17, Resulting Numbers: [59, 61, 17]
Generated Node #2: [59, 61, 17] from Operation: 90-73=17
Current State: 19:[59, 61, 17], Operations: ['90-73=17']
Exploring Operation: 61-59=2, Resulting Numbers: [17, 2]
Generated Node #3: [17, 2] from Operation: 61-59=2
Current State: 19:[17, 2], Operations: ['90-73=17', '61-59=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[90, 73, 59, 61], Operations: []
Exploring Operation: 73-61=12, Resulting Numbers: [90, 59, 12]
Generated Node #0,0: 19:[90, 59, 12] Operation: 73-61=12
Exploring Operation: 90-59=31, Resulting Numbers: [73, 61, 31]
Generated Node #0,1: 19:[73, 61, 31] Operation: 90-59=31
Exploring Operation: 90-61=29, Resulting Numbers: [73, 59, 29]
Generated Node #0,2: 19:[73, 59, 29] Operation: 90-61=29
Exploring Operation: 73-59=14, Resulting Numbers: [90, 61, 14]
Generated Node #0,3: 19:[90, 61, 14] Operation: 73-59=14
Exploring Operation: 90-73=17, Resulting Numbers: [59, 61, 17]
Generated Node #0,4: 19:[59, 61, 17] Operation: 90-73=17
Start Sub Search at level 1: Moving to Node #0,4
Current State: 19:[59, 61, 17], Operations: ['90-73=17']
Exploring Operation: 61-59=2, Resulting Numbers: [17, 2]
Generated Node #0,4,0: 19:[17, 2] Operation: 61-59=2
Exploring Operation: 61-17=44, Resulting Numbers: [59, 44]
Generated Node #0,4,1: 19:[59, 44] Operation: 61-17=44
Exploring Operation: 59-17=42, Resulting Numbers: [61, 42]
Generated Node #0,4,2: 19:[61, 42] Operation: 59-17=42
Exploring Operation: 59+17=76, Resulting Numbers: [61, 76]
Generated Node #0,4,3: 19:[61, 76] Operation: 59+17=76
Exploring Operation: 61+17=78, Resulting Numbers: [59, 78]
Generated Node #0,4,4: 19:[59, 78] Operation: 61+17=78
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 19:[17, 2], Operations: ['90-73=17', '61-59=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[90, 73, 59, 61], Operations: []
Exploring Operation: 90-73=17, Resulting Numbers: [59, 61, 17]
Generated Node #0,4: 19:[59, 61, 17] Operation: 90-73=17
Moving to Node #0,4
Current State: 19:[59, 61, 17], Operations: ['90-73=17']
Exploring Operation: 61-59=2, Resulting Numbers: [17, 2]
Generated Node #0,4,0: 19:[17, 2] Operation: 61-59=2
Moving to Node #0,4,0
Current State: 19:[17, 2], Operations: ['90-73=17', '61-59=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
2,
91,
30,
65
] | 63 | [
"91-30=61",
"65+61=126",
"126/2=63"
] | Current State: 63:[2, 91, 30, 65], Operations: []
Exploring Operation: 91-30=61, Resulting Numbers: [2, 65, 61]
Generated Node #2: [2, 65, 61] from Operation: 91-30=61
Current State: 63:[2, 65, 61], Operations: ['91-30=61']
Exploring Operation: 65+61=126, Resulting Numbers: [2, 126]
Generated Node #3: [2, 126] from Operation: 65+61=126
Current State: 63:[2, 126], Operations: ['91-30=61', '65+61=126']
Exploring Operation: 126/2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[2, 91, 30, 65], Operations: []
Exploring Operation: 91-30=61, Resulting Numbers: [2, 65, 61]
Generated Node #0,0: 63:[2, 65, 61] Operation: 91-30=61
Moving to Node #0,0
Current State: 63:[2, 65, 61], Operations: ['91-30=61']
Exploring Operation: 65-2=63, Resulting Numbers: [61, 63]
Generated Node #0,0,0: 63:[61, 63] Operation: 65-2=63
Moving to Node #0,0,0
Current State: 63:[61, 63], Operations: ['91-30=61', '65-2=63']
Exploring Operation: 63-61=2, Resulting Numbers: [2]
2,63 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
96,
6,
58,
10
] | 15 | [
"96*10=960",
"6+58=64",
"960/64=15"
] | Current State: 15:[96, 6, 58, 10], Operations: []
Exploring Operation: 96*10=960, Resulting Numbers: [6, 58, 960]
Generated Node #2: [6, 58, 960] from Operation: 96*10=960
Current State: 15:[6, 58, 960], Operations: ['96*10=960']
Exploring Operation: 6+58=64, Resulting Numbers: [960, 64]
Generated Node #3: [960, 64] from Operation: 6+58=64
Current State: 15:[960, 64], Operations: ['96*10=960', '6+58=64']
Exploring Operation: 960/64=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[96, 6, 58, 10], Operations: []
Exploring Operation: 96-58=38, Resulting Numbers: [6, 10, 38]
Generated Node #0,0: 15:[6, 10, 38] Operation: 96-58=38
Exploring Operation: 96-10=86, Resulting Numbers: [6, 58, 86]
Generated Node #0,1: 15:[6, 58, 86] Operation: 96-10=86
Exploring Operation: 96/6=16, Resulting Numbers: [58, 10, 16]
Generated Node #0,2: 15:[58, 10, 16] Operation: 96/6=16
Moving to Node #0,0
Current State: 15:[6, 10, 38], Operations: ['96-58=38']
Exploring Operation: 38-10=28, Resulting Numbers: [6, 28]
Generated Node #0,0,0: 15:[6, 28] Operation: 38-10=28
Exploring Operation: 6+10=16, Resulting Numbers: [38, 16]
Generated Node #0,0,1: 15:[38, 16] Operation: 6+10=16
Exploring Operation: 38-6=32, Resulting Numbers: [10, 32]
Generated Node #0,0,2: 15:[10, 32] Operation: 38-6=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[6, 28], Operations: ['96-58=38', '38-10=28']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,15 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 15:[10, 32], Operations: ['96-58=38', '38-6=32']
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,15 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[38, 16], Operations: ['96-58=38', '6+10=16']
Exploring Operation: 38+16=54, Resulting Numbers: [54]
54,15 unequal: No Solution
Exploring Operation: 38*16=608, Resulting Numbers: [608]
608,15 unequal: No Solution
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,15 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: 15:[58, 10, 16], Operations: ['96/6=16']
Exploring Operation: 58-10=48, Resulting Numbers: [16, 48]
Generated Node #0,2,0: 15:[16, 48] Operation: 58-10=48
Exploring Operation: 16-10=6, Resulting Numbers: [58, 6]
Generated Node #0,2,1: 15:[58, 6] Operation: 16-10=6
Exploring Operation: 58-16=42, Resulting Numbers: [10, 42]
Generated Node #0,2,2: 15:[10, 42] Operation: 58-16=42
Moving to Node #0,1
Current State: 15:[6, 58, 86], Operations: ['96-10=86']
Exploring Operation: 58-6=52, Resulting Numbers: [86, 52]
Generated Node #0,1,0: 15:[86, 52] Operation: 58-6=52
Exploring Operation: 86-58=28, Resulting Numbers: [6, 28]
Generated Node #0,1,1: 15:[6, 28] Operation: 86-58=28
Exploring Operation: 86-6=80, Resulting Numbers: [58, 80]
Generated Node #0,1,2: 15:[58, 80] Operation: 86-6=80
Moving to Node #0,1,1
Current State: 15:[6, 28], Operations: ['96-10=86', '86-58=28']
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,15 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,15 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[10, 42], Operations: ['96/6=16', '58-16=42']
Exploring Operation: 10+42=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 10*42=420, Resulting Numbers: [420]
420,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[16, 48], Operations: ['96/6=16', '58-10=48']
Exploring Operation: 16+48=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[58, 6], Operations: ['96/6=16', '16-10=6']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[58, 80], Operations: ['96-10=86', '86-6=80']
Exploring Operation: 58+80=138, Resulting Numbers: [138]
138,15 unequal: No Solution
Exploring Operation: 58*80=4640, Resulting Numbers: [4640]
4640,15 unequal: No Solution
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[86, 52], Operations: ['96-10=86', '58-6=52']
Exploring Operation: 86+52=138, Resulting Numbers: [138]
138,15 unequal: No Solution
Exploring Operation: 86*52=4472, Resulting Numbers: [4472]
4472,15 unequal: No Solution
Exploring Operation: 86-52=34, Resulting Numbers: [34]
34,15 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
82,
77,
88,
84
] | 14 | [
"88*84=7392",
"7392/77=96",
"96-82=14"
] | Current State: 14:[82, 77, 88, 84], Operations: []
Exploring Operation: 88*84=7392, Resulting Numbers: [82, 77, 7392]
Generated Node #2: [82, 77, 7392] from Operation: 88*84=7392
Current State: 14:[82, 77, 7392], Operations: ['88*84=7392']
Exploring Operation: 7392/77=96, Resulting Numbers: [82, 96]
Generated Node #3: [82, 96] from Operation: 7392/77=96
Current State: 14:[82, 96], Operations: ['88*84=7392', '7392/77=96']
Exploring Operation: 96-82=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[82, 77, 88, 84], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [77, 88, 2]
Generated Node #0,0: 14:[77, 88, 2] Operation: 84-82=2
Exploring Operation: 88-77=11, Resulting Numbers: [82, 84, 11]
Generated Node #0,1: 14:[82, 84, 11] Operation: 88-77=11
Exploring Operation: 88-82=6, Resulting Numbers: [77, 84, 6]
Generated Node #0,2: 14:[77, 84, 6] Operation: 88-82=6
Exploring Operation: 88-84=4, Resulting Numbers: [82, 77, 4]
Generated Node #0,3: 14:[82, 77, 4] Operation: 88-84=4
Moving to Node #0,3
Current State: 14:[82, 77, 4], Operations: ['88-84=4']
Exploring Operation: 77-4=73, Resulting Numbers: [82, 73]
Generated Node #0,3,0: 14:[82, 73] Operation: 77-4=73
Exploring Operation: 82-77=5, Resulting Numbers: [4, 5]
Generated Node #0,3,1: 14:[4, 5] Operation: 82-77=5
Exploring Operation: 82-4=78, Resulting Numbers: [77, 78]
Generated Node #0,3,2: 14:[77, 78] Operation: 82-4=78
Exploring Operation: 82+4=86, Resulting Numbers: [77, 86]
Generated Node #0,3,3: 14:[77, 86] Operation: 82+4=86
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 14:[4, 5], Operations: ['88-84=4', '82-77=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,14 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 14:[82, 73], Operations: ['88-84=4', '77-4=73']
Exploring Operation: 82+73=155, Resulting Numbers: [155]
155,14 unequal: No Solution
Exploring Operation: 82-73=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 82*73=5986, Resulting Numbers: [5986]
5986,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,2
Current State: 14:[77, 78], Operations: ['88-84=4', '82-4=78']
Exploring Operation: 78-77=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 77*78=6006, Resulting Numbers: [6006]
6006,14 unequal: No Solution
Exploring Operation: 77+78=155, Resulting Numbers: [155]
155,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 14:[77, 86], Operations: ['88-84=4', '82+4=86']
Exploring Operation: 77+86=163, Resulting Numbers: [163]
163,14 unequal: No Solution
Exploring Operation: 86-77=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 77*86=6622, Resulting Numbers: [6622]
6622,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 14:[77, 84, 6], Operations: ['88-82=6']
Exploring Operation: 77-6=71, Resulting Numbers: [84, 71]
Generated Node #0,2,0: 14:[84, 71] Operation: 77-6=71
Exploring Operation: 84-77=7, Resulting Numbers: [6, 7]
Generated Node #0,2,1: 14:[6, 7] Operation: 84-77=7
Exploring Operation: 84/6=14, Resulting Numbers: [77, 14]
Generated Node #0,2,2: 14:[77, 14] Operation: 84/6=14
Exploring Operation: 84-6=78, Resulting Numbers: [77, 78]
Generated Node #0,2,3: 14:[77, 78] Operation: 84-6=78
Moving to Node #0,0
Current State: 14:[77, 88, 2], Operations: ['84-82=2']
Exploring Operation: 77-2=75, Resulting Numbers: [88, 75]
Generated Node #0,0,0: 14:[88, 75] Operation: 77-2=75
Exploring Operation: 88-2=86, Resulting Numbers: [77, 86]
Generated Node #0,0,1: 14:[77, 86] Operation: 88-2=86
Exploring Operation: 88-77=11, Resulting Numbers: [2, 11]
Generated Node #0,0,2: 14:[2, 11] Operation: 88-77=11
Exploring Operation: 88/2=44, Resulting Numbers: [77, 44]
Generated Node #0,0,3: 14:[77, 44] Operation: 88/2=44
Moving to Node #0,1
Current State: 14:[82, 84, 11], Operations: ['88-77=11']
Exploring Operation: 84-11=73, Resulting Numbers: [82, 73]
Generated Node #0,1,0: 14:[82, 73] Operation: 84-11=73
Exploring Operation: 82-11=71, Resulting Numbers: [84, 71]
Generated Node #0,1,1: 14:[84, 71] Operation: 82-11=71
Exploring Operation: 84-82=2, Resulting Numbers: [11, 2]
Generated Node #0,1,2: 14:[11, 2] Operation: 84-82=2
Exploring Operation: 82+11=93, Resulting Numbers: [84, 93]
Generated Node #0,1,3: 14:[84, 93] Operation: 82+11=93
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 14:[11, 2], Operations: ['88-77=11', '84-82=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,14 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 14:[82, 73], Operations: ['88-77=11', '84-11=73']
Exploring Operation: 82+73=155, Resulting Numbers: [155]
155,14 unequal: No Solution
Exploring Operation: 82*73=5986, Resulting Numbers: [5986]
5986,14 unequal: No Solution
Exploring Operation: 82-73=9, Resulting Numbers: [9]
9,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[84, 71], Operations: ['88-77=11', '82-11=71']
Exploring Operation: 84-71=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 84*71=5964, Resulting Numbers: [5964]
5964,14 unequal: No Solution
Exploring Operation: 84+71=155, Resulting Numbers: [155]
155,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 14:[84, 93], Operations: ['88-77=11', '82+11=93']
Exploring Operation: 84+93=177, Resulting Numbers: [177]
177,14 unequal: No Solution
Exploring Operation: 93-84=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 84*93=7812, Resulting Numbers: [7812]
7812,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 14:[6, 7], Operations: ['88-82=6', '84-77=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[2, 11], Operations: ['84-82=2', '88-77=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,14 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[77, 14], Operations: ['88-82=6', '84/6=14']
Exploring Operation: 77-14=63, Resulting Numbers: [63]
63,14 unequal: No Solution
Exploring Operation: 77*14=1078, Resulting Numbers: [1078]
1078,14 unequal: No Solution
Exploring Operation: 77+14=91, Resulting Numbers: [91]
91,14 unequal: No Solution
Moving to Node #0,0,3
Current State: 14:[77, 44], Operations: ['84-82=2', '88/2=44']
Exploring Operation: 77-44=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 77*44=3388, Resulting Numbers: [3388]
3388,14 unequal: No Solution
Exploring Operation: 77+44=121, Resulting Numbers: [121]
121,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[84, 71], Operations: ['88-82=6', '77-6=71']
Exploring Operation: 84+71=155, Resulting Numbers: [155]
155,14 unequal: No Solution
Exploring Operation: 84-71=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 84*71=5964, Resulting Numbers: [5964]
5964,14 unequal: No Solution
Moving to Node #0,2,3
Current State: 14:[77, 78], Operations: ['88-82=6', '84-6=78']
Exploring Operation: 77*78=6006, Resulting Numbers: [6006]
6006,14 unequal: No Solution
Exploring Operation: 77+78=155, Resulting Numbers: [155]
155,14 unequal: No Solution
Exploring Operation: 78-77=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[88, 75], Operations: ['84-82=2', '77-2=75']
Exploring Operation: 88+75=163, Resulting Numbers: [163]
163,14 unequal: No Solution
Exploring Operation: 88-75=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 88*75=6600, Resulting Numbers: [6600]
6600,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[77, 86], Operations: ['84-82=2', '88-2=86']
Exploring Operation: 77*86=6622, Resulting Numbers: [6622]
6622,14 unequal: No Solution
Exploring Operation: 77+86=163, Resulting Numbers: [163]
163,14 unequal: No Solution
Exploring Operation: 86-77=9, Resulting Numbers: [9]
9,14 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
88,
44,
2,
70
] | 80 | [
"88-70=18",
"2*18=36",
"44+36=80"
] | Current State: 80:[88, 44, 2, 70], Operations: []
Exploring Operation: 88-70=18, Resulting Numbers: [44, 2, 18]
Generated Node #2: [44, 2, 18] from Operation: 88-70=18
Current State: 80:[44, 2, 18], Operations: ['88-70=18']
Exploring Operation: 2*18=36, Resulting Numbers: [44, 36]
Generated Node #3: [44, 36] from Operation: 2*18=36
Current State: 80:[44, 36], Operations: ['88-70=18', '2*18=36']
Exploring Operation: 44+36=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[88, 44, 2, 70], Operations: []
Exploring Operation: 88/44=2, Resulting Numbers: [2, 70, 2]
Generated Node #0,0: 80:[2, 70, 2] Operation: 88/44=2
Exploring Operation: 88-70=18, Resulting Numbers: [44, 2, 18]
Generated Node #0,1: 80:[44, 2, 18] Operation: 88-70=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[44, 2, 18], Operations: ['88-70=18']
Exploring Operation: 44-2=42, Resulting Numbers: [18, 42]
Generated Node #0,1,0: 80:[18, 42] Operation: 44-2=42
Exploring Operation: 44/2=22, Resulting Numbers: [18, 22]
Generated Node #0,1,1: 80:[18, 22] Operation: 44/2=22
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[18, 42], Operations: ['88-70=18', '44-2=42']
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,80 unequal: No Solution
Exploring Operation: 18+42=60, Resulting Numbers: [60]
60,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:[18, 22], Operations: ['88-70=18', '44/2=22']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,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:[2, 70, 2], Operations: ['88/44=2']
Exploring Operation: 70/2=35, Resulting Numbers: [2, 35]
Generated Node #0,0,0: 80:[2, 35] Operation: 70/2=35
Exploring Operation: 70/2=35, Resulting Numbers: [2, 35]
Generated Node #0,0,1: 80:[2, 35] Operation: 70/2=35
Moving to Node #0,0,0
Current State: 80:[2, 35], Operations: ['88/44=2', '70/2=35']
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,80 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[2, 35], Operations: ['88/44=2', '70/2=35']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,80 unequal: No Solution
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,80 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 |
[
68,
2,
7,
23
] | 77 | [
"68/2=34",
"34-23=11",
"7*11=77"
] | Current State: 77:[68, 2, 7, 23], Operations: []
Exploring Operation: 68/2=34, Resulting Numbers: [7, 23, 34]
Generated Node #2: [7, 23, 34] from Operation: 68/2=34
Current State: 77:[7, 23, 34], Operations: ['68/2=34']
Exploring Operation: 34-23=11, Resulting Numbers: [7, 11]
Generated Node #3: [7, 11] from Operation: 34-23=11
Current State: 77:[7, 11], Operations: ['68/2=34', '34-23=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[68, 2, 7, 23], Operations: []
Exploring Operation: 68+7=75, Resulting Numbers: [2, 23, 75]
Generated Node #0,0: 77:[2, 23, 75] Operation: 68+7=75
Exploring Operation: 68+2=70, Resulting Numbers: [7, 23, 70]
Generated Node #0,1: 77:[7, 23, 70] Operation: 68+2=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[2, 23, 75], Operations: ['68+7=75']
Exploring Operation: 23-2=21, Resulting Numbers: [75, 21]
Generated Node #0,0,0: 77:[75, 21] Operation: 23-2=21
Exploring Operation: 2+75=77, Resulting Numbers: [23, 77]
Generated Node #0,0,1: 77:[23, 77] Operation: 2+75=77
Moving to Node #0,0,0
Current State: 77:[75, 21], Operations: ['68+7=75', '23-2=21']
Exploring Operation: 75+21=96, Resulting Numbers: [96]
96,77 unequal: No Solution
Exploring Operation: 75-21=54, Resulting Numbers: [54]
54,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[23, 77], Operations: ['68+7=75', '2+75=77']
Exploring Operation: 23+77=100, Resulting Numbers: [100]
100,77 unequal: No Solution
Exploring Operation: 77-23=54, Resulting Numbers: [54]
54,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[7, 23, 70], Operations: ['68+2=70']
Exploring Operation: 7+70=77, Resulting Numbers: [23, 77]
Generated Node #0,1,0: 77:[23, 77] Operation: 7+70=77
Exploring Operation: 23-7=16, Resulting Numbers: [70, 16]
Generated Node #0,1,1: 77:[70, 16] Operation: 23-7=16
Moving to Node #0,1,0
Current State: 77:[23, 77], Operations: ['68+2=70', '7+70=77']
Exploring Operation: 23+77=100, Resulting Numbers: [100]
100,77 unequal: No Solution
Exploring Operation: 77-23=54, Resulting Numbers: [54]
54,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[70, 16], Operations: ['68+2=70', '23-7=16']
Exploring Operation: 70+16=86, Resulting Numbers: [86]
86,77 unequal: No Solution
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,77 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 |
[
93,
55,
33,
20
] | 58 | [
"93-33=60",
"60/20=3",
"55+3=58"
] | Current State: 58:[93, 55, 33, 20], Operations: []
Exploring Operation: 93-33=60, Resulting Numbers: [55, 20, 60]
Generated Node #2: [55, 20, 60] from Operation: 93-33=60
Current State: 58:[55, 20, 60], Operations: ['93-33=60']
Exploring Operation: 60/20=3, Resulting Numbers: [55, 3]
Generated Node #3: [55, 3] from Operation: 60/20=3
Current State: 58:[55, 3], Operations: ['93-33=60', '60/20=3']
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[93, 55, 33, 20], Operations: []
Exploring Operation: 55-20=35, Resulting Numbers: [93, 33, 35]
Generated Node #0,0: 58:[93, 33, 35] Operation: 55-20=35
Exploring Operation: 93-55=38, Resulting Numbers: [33, 20, 38]
Generated Node #0,1: 58:[33, 20, 38] Operation: 93-55=38
Exploring Operation: 93-20=73, Resulting Numbers: [55, 33, 73]
Generated Node #0,2: 58:[55, 33, 73] Operation: 93-20=73
Exploring Operation: 33+20=53, Resulting Numbers: [93, 55, 53]
Generated Node #0,3: 58:[93, 55, 53] Operation: 33+20=53
Exploring Operation: 93-33=60, Resulting Numbers: [55, 20, 60]
Generated Node #0,4: 58:[55, 20, 60] Operation: 93-33=60
Moving to Node #0,4
Current State: 58:[55, 20, 60], Operations: ['93-33=60']
Exploring Operation: 60/20=3, Resulting Numbers: [55, 3]
Generated Node #0,4,0: 58:[55, 3] Operation: 60/20=3
Exploring Operation: 55-20=35, Resulting Numbers: [60, 35]
Generated Node #0,4,1: 58:[60, 35] Operation: 55-20=35
Exploring Operation: 60-20=40, Resulting Numbers: [55, 40]
Generated Node #0,4,2: 58:[55, 40] Operation: 60-20=40
Exploring Operation: 55+20=75, Resulting Numbers: [60, 75]
Generated Node #0,4,3: 58:[60, 75] Operation: 55+20=75
Exploring Operation: 60-55=5, Resulting Numbers: [20, 5]
Generated Node #0,4,4: 58:[20, 5] Operation: 60-55=5
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 58:[55, 3], Operations: ['93-33=60', '60/20=3']
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[93, 55, 33, 20], Operations: []
Exploring Operation: 93-33=60, Resulting Numbers: [55, 20, 60]
Generated Node #0,4: 58:[55, 20, 60] Operation: 93-33=60
Moving to Node #0,4
Current State: 58:[55, 20, 60], Operations: ['93-33=60']
Exploring Operation: 60/20=3, Resulting Numbers: [55, 3]
Generated Node #0,4,0: 58:[55, 3] Operation: 60/20=3
Moving to Node #0,4,0
Current State: 58:[55, 3], Operations: ['93-33=60', '60/20=3']
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
12,
9,
13,
11
] | 59 | [
"13-9=4",
"12*4=48",
"11+48=59"
] | Current State: 59:[12, 9, 13, 11], Operations: []
Exploring Operation: 13-9=4, Resulting Numbers: [12, 11, 4]
Generated Node #2: [12, 11, 4] from Operation: 13-9=4
Current State: 59:[12, 11, 4], Operations: ['13-9=4']
Exploring Operation: 12*4=48, Resulting Numbers: [11, 48]
Generated Node #3: [11, 48] from Operation: 12*4=48
Current State: 59:[11, 48], Operations: ['13-9=4', '12*4=48']
Exploring Operation: 11+48=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[12, 9, 13, 11], Operations: []
Exploring Operation: 12+11=23, Resulting Numbers: [9, 13, 23]
Generated Node #0,0: 59:[9, 13, 23] Operation: 12+11=23
Exploring Operation: 9+13=22, Resulting Numbers: [12, 11, 22]
Generated Node #0,1: 59:[12, 11, 22] Operation: 9+13=22
Exploring Operation: 9+11=20, Resulting Numbers: [12, 13, 20]
Generated Node #0,2: 59:[12, 13, 20] Operation: 9+11=20
Exploring Operation: 12+9=21, Resulting Numbers: [13, 11, 21]
Generated Node #0,3: 59:[13, 11, 21] Operation: 12+9=21
Exploring Operation: 12+13=25, Resulting Numbers: [9, 11, 25]
Generated Node #0,4: 59:[9, 11, 25] Operation: 12+13=25
Moving to Node #0,0
Current State: 59:[9, 13, 23], Operations: ['12+11=23']
Exploring Operation: 9+23=32, Resulting Numbers: [13, 32]
Generated Node #0,0,0: 59:[13, 32] Operation: 9+23=32
Exploring Operation: 13+23=36, Resulting Numbers: [9, 36]
Generated Node #0,0,1: 59:[9, 36] Operation: 13+23=36
Exploring Operation: 13-9=4, Resulting Numbers: [23, 4]
Generated Node #0,0,2: 59:[23, 4] Operation: 13-9=4
Exploring Operation: 23-9=14, Resulting Numbers: [13, 14]
Generated Node #0,0,3: 59:[13, 14] Operation: 23-9=14
Exploring Operation: 9+13=22, Resulting Numbers: [23, 22]
Generated Node #0,0,4: 59:[23, 22] Operation: 9+13=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[13, 32], Operations: ['12+11=23', '9+23=32']
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 13*32=416, Resulting Numbers: [416]
416,59 unequal: No Solution
Exploring Operation: 13+32=45, Resulting Numbers: [45]
45,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[9, 36], Operations: ['12+11=23', '13+23=36']
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 9*36=324, Resulting Numbers: [324]
324,59 unequal: No Solution
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 59:[23, 22], Operations: ['12+11=23', '9+13=22']
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 59:[23, 4], Operations: ['12+11=23', '13-9=4']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 59:[13, 14], Operations: ['12+11=23', '23-9=14']
Exploring Operation: 13*14=182, Resulting Numbers: [182]
182,59 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,59 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: 59:[12, 13, 20], Operations: ['9+11=20']
Exploring Operation: 13+20=33, Resulting Numbers: [12, 33]
Generated Node #0,2,0: 59:[12, 33] Operation: 13+20=33
Exploring Operation: 13-12=1, Resulting Numbers: [20, 1]
Generated Node #0,2,1: 59:[20, 1] Operation: 13-12=1
Exploring Operation: 20-12=8, Resulting Numbers: [13, 8]
Generated Node #0,2,2: 59:[13, 8] Operation: 20-12=8
Exploring Operation: 12+20=32, Resulting Numbers: [13, 32]
Generated Node #0,2,3: 59:[13, 32] Operation: 12+20=32
Exploring Operation: 12+13=25, Resulting Numbers: [20, 25]
Generated Node #0,2,4: 59:[20, 25] Operation: 12+13=25
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[12, 33], Operations: ['9+11=20', '13+20=33']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,59 unequal: No Solution
Exploring Operation: 12*33=396, Resulting Numbers: [396]
396,59 unequal: No Solution
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,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,2,3
Current State: 59:[13, 32], Operations: ['9+11=20', '12+20=32']
Exploring Operation: 13+32=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 13*32=416, Resulting Numbers: [416]
416,59 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,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,2,4
Current State: 59:[20, 25], Operations: ['9+11=20', '12+13=25']
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 20+25=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 20*25=500, Resulting Numbers: [500]
500,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,2,1
Current State: 59:[20, 1], Operations: ['9+11=20', '13-12=1']
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,59 unequal: No Solution
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,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,2,2
Current State: 59:[13, 8], Operations: ['9+11=20', '20-12=8']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,59 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 59:[9, 11, 25], Operations: ['12+13=25']
Exploring Operation: 11+25=36, Resulting Numbers: [9, 36]
Generated Node #0,4,0: 59:[9, 36] Operation: 11+25=36
Exploring Operation: 9+25=34, Resulting Numbers: [11, 34]
Generated Node #0,4,1: 59:[11, 34] Operation: 9+25=34
Exploring Operation: 11-9=2, Resulting Numbers: [25, 2]
Generated Node #0,4,2: 59:[25, 2] Operation: 11-9=2
Exploring Operation: 9*11=99, Resulting Numbers: [25, 99]
Generated Node #0,4,3: 59:[25, 99] Operation: 9*11=99
Exploring Operation: 9+11=20, Resulting Numbers: [25, 20]
Generated Node #0,4,4: 59:[25, 20] Operation: 9+11=20
Moving to Node #0,1
Current State: 59:[12, 11, 22], Operations: ['9+13=22']
Exploring Operation: 11+22=33, Resulting Numbers: [12, 33]
Generated Node #0,1,0: 59:[12, 33] Operation: 11+22=33
Exploring Operation: 12+22=34, Resulting Numbers: [11, 34]
Generated Node #0,1,1: 59:[11, 34] Operation: 12+22=34
Exploring Operation: 12-11=1, Resulting Numbers: [22, 1]
Generated Node #0,1,2: 59:[22, 1] Operation: 12-11=1
Exploring Operation: 12+11=23, Resulting Numbers: [22, 23]
Generated Node #0,1,3: 59:[22, 23] Operation: 12+11=23
Exploring Operation: 22-11=11, Resulting Numbers: [12, 11]
Generated Node #0,1,4: 59:[12, 11] Operation: 22-11=11
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[12, 33], Operations: ['9+13=22', '11+22=33']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,59 unequal: No Solution
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 12*33=396, Resulting Numbers: [396]
396,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[11, 34], Operations: ['9+13=22', '12+22=34']
Exploring Operation: 11*34=374, Resulting Numbers: [374]
374,59 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 59:[22, 23], Operations: ['9+13=22', '12+11=23']
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[22, 1], Operations: ['9+13=22', '12-11=1']
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,59 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 59:[12, 11], Operations: ['9+13=22', '22-11=11']
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,59 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: 59:[13, 11, 21], Operations: ['12+9=21']
Exploring Operation: 13+21=34, Resulting Numbers: [11, 34]
Generated Node #0,3,0: 59:[11, 34] Operation: 13+21=34
Exploring Operation: 11+21=32, Resulting Numbers: [13, 32]
Generated Node #0,3,1: 59:[13, 32] Operation: 11+21=32
Exploring Operation: 13+11=24, Resulting Numbers: [21, 24]
Generated Node #0,3,2: 59:[21, 24] Operation: 13+11=24
Exploring Operation: 21-11=10, Resulting Numbers: [13, 10]
Generated Node #0,3,3: 59:[13, 10] Operation: 21-11=10
Exploring Operation: 13-11=2, Resulting Numbers: [21, 2]
Generated Node #0,3,4: 59:[21, 2] Operation: 13-11=2
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 59:[11, 34], Operations: ['12+9=21', '13+21=34']
Exploring Operation: 11*34=374, Resulting Numbers: [374]
374,59 unequal: No Solution
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 59:[13, 32], Operations: ['12+9=21', '11+21=32']
Exploring Operation: 13*32=416, Resulting Numbers: [416]
416,59 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 13+32=45, Resulting Numbers: [45]
45,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 59:[21, 24], Operations: ['12+9=21', '13+11=24']
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Exploring Operation: 21*24=504, Resulting Numbers: [504]
504,59 unequal: No Solution
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 59:[13, 10], Operations: ['12+9=21', '21-11=10']
Exploring Operation: 13*10=130, Resulting Numbers: [130]
130,59 unequal: No Solution
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 59:[21, 2], Operations: ['12+9=21', '13-11=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,59 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 59:[9, 36], Operations: ['12+13=25', '11+25=36']
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 9*36=324, Resulting Numbers: [324]
324,59 unequal: No Solution
Moving to Node #0,4,4
Current State: 59:[25, 20], Operations: ['12+13=25', '9+11=20']
Exploring Operation: 25*20=500, Resulting Numbers: [500]
500,59 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 25+20=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Moving to Node #0,4,1
Current State: 59:[11, 34], Operations: ['12+13=25', '9+25=34']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 11*34=374, Resulting Numbers: [374]
374,59 unequal: No Solution
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Moving to Node #0,4,3
Current State: 59:[25, 99], Operations: ['12+13=25', '9*11=99']
Exploring Operation: 25*99=2475, Resulting Numbers: [2475]
2475,59 unequal: No Solution
Exploring Operation: 99-25=74, Resulting Numbers: [74]
74,59 unequal: No Solution
Exploring Operation: 25+99=124, Resulting Numbers: [124]
124,59 unequal: No Solution
Moving to Node #0,4,2
Current State: 59:[25, 2], Operations: ['12+13=25', '11-9=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,59 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,59 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
76,
62,
49,
38
] | 73 | [
"76-62=14",
"49+38=87",
"87-14=73"
] | Current State: 73:[76, 62, 49, 38], Operations: []
Exploring Operation: 76-62=14, Resulting Numbers: [49, 38, 14]
Generated Node #2: [49, 38, 14] from Operation: 76-62=14
Current State: 73:[49, 38, 14], Operations: ['76-62=14']
Exploring Operation: 49+38=87, Resulting Numbers: [14, 87]
Generated Node #3: [14, 87] from Operation: 49+38=87
Current State: 73:[14, 87], Operations: ['76-62=14', '49+38=87']
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[76, 62, 49, 38], Operations: []
Exploring Operation: 49+38=87, Resulting Numbers: [76, 62, 87]
Generated Node #0,0: 73:[76, 62, 87] Operation: 49+38=87
Moving to Node #0,0
Current State: 73:[76, 62, 87], Operations: ['49+38=87']
Exploring Operation: 87-62=25, Resulting Numbers: [76, 25]
Generated Node #0,0,0: 73:[76, 25] Operation: 87-62=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[76, 25], Operations: ['49+38=87', '87-62=25']
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
99,
49,
82,
2
] | 91 | [
"99-49=50",
"82/2=41",
"50+41=91"
] | Current State: 91:[99, 49, 82, 2], Operations: []
Exploring Operation: 99-49=50, Resulting Numbers: [82, 2, 50]
Generated Node #2: [82, 2, 50] from Operation: 99-49=50
Current State: 91:[82, 2, 50], Operations: ['99-49=50']
Exploring Operation: 82/2=41, Resulting Numbers: [50, 41]
Generated Node #3: [50, 41] from Operation: 82/2=41
Current State: 91:[50, 41], Operations: ['99-49=50', '82/2=41']
Exploring Operation: 50+41=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[99, 49, 82, 2], Operations: []
Exploring Operation: 49*2=98, Resulting Numbers: [99, 82, 98]
Generated Node #0,0: 91:[99, 82, 98] Operation: 49*2=98
Exploring Operation: 82-49=33, Resulting Numbers: [99, 2, 33]
Generated Node #0,1: 91:[99, 2, 33] Operation: 82-49=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[99, 82, 98], Operations: ['49*2=98']
Exploring Operation: 98-82=16, Resulting Numbers: [99, 16]
Generated Node #0,0,0: 91:[99, 16] Operation: 98-82=16
Exploring Operation: 99-82=17, Resulting Numbers: [98, 17]
Generated Node #0,0,1: 91:[98, 17] Operation: 99-82=17
Moving to Node #0,0,0
Current State: 91:[99, 16], Operations: ['49*2=98', '98-82=16']
Exploring Operation: 99+16=115, Resulting Numbers: [115]
115,91 unequal: No Solution
Exploring Operation: 99-16=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[98, 17], Operations: ['49*2=98', '99-82=17']
Exploring Operation: 98-17=81, Resulting Numbers: [81]
81,91 unequal: No Solution
Exploring Operation: 98+17=115, Resulting Numbers: [115]
115,91 unequal: No Solution
No 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: 91:[99, 2, 33], Operations: ['82-49=33']
Exploring Operation: 99/33=3, Resulting Numbers: [2, 3]
Generated Node #0,1,0: 91:[2, 3] Operation: 99/33=3
Exploring Operation: 99-2=97, Resulting Numbers: [33, 97]
Generated Node #0,1,1: 91:[33, 97] Operation: 99-2=97
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[2, 3], Operations: ['82-49=33', '99/33=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,91 unequal: No Solution
No 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: 91:[33, 97], Operations: ['82-49=33', '99-2=97']
Exploring Operation: 97-33=64, Resulting Numbers: [64]
64,91 unequal: No Solution
Exploring Operation: 33+97=130, Resulting Numbers: [130]
130,91 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 |
[
39,
7,
30,
59
] | 43 | [
"39+7=46",
"30+59=89",
"89-46=43"
] | Current State: 43:[39, 7, 30, 59], Operations: []
Exploring Operation: 39+7=46, Resulting Numbers: [30, 59, 46]
Generated Node #2: [30, 59, 46] from Operation: 39+7=46
Current State: 43:[30, 59, 46], Operations: ['39+7=46']
Exploring Operation: 30+59=89, Resulting Numbers: [46, 89]
Generated Node #3: [46, 89] from Operation: 30+59=89
Current State: 43:[46, 89], Operations: ['39+7=46', '30+59=89']
Exploring Operation: 89-46=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[39, 7, 30, 59], Operations: []
Exploring Operation: 7+30=37, Resulting Numbers: [39, 59, 37]
Generated Node #0,0: 43:[39, 59, 37] Operation: 7+30=37
Exploring Operation: 39-7=32, Resulting Numbers: [30, 59, 32]
Generated Node #0,1: 43:[30, 59, 32] Operation: 39-7=32
Exploring Operation: 59-7=52, Resulting Numbers: [39, 30, 52]
Generated Node #0,2: 43:[39, 30, 52] Operation: 59-7=52
Exploring Operation: 39+7=46, Resulting Numbers: [30, 59, 46]
Generated Node #0,3: 43:[30, 59, 46] Operation: 39+7=46
Moving to Node #0,0
Current State: 43:[39, 59, 37], Operations: ['7+30=37']
Exploring Operation: 59-39=20, Resulting Numbers: [37, 20]
Generated Node #0,0,0: 43:[37, 20] Operation: 59-39=20
Exploring Operation: 59-37=22, Resulting Numbers: [39, 22]
Generated Node #0,0,1: 43:[39, 22] Operation: 59-37=22
Exploring Operation: 39-37=2, Resulting Numbers: [59, 2]
Generated Node #0,0,2: 43:[59, 2] Operation: 39-37=2
Exploring Operation: 39+37=76, Resulting Numbers: [59, 76]
Generated Node #0,0,3: 43:[59, 76] Operation: 39+37=76
Moving to Node #0,2
Current State: 43:[39, 30, 52], Operations: ['59-7=52']
Exploring Operation: 39-30=9, Resulting Numbers: [52, 9]
Generated Node #0,2,0: 43:[52, 9] Operation: 39-30=9
Exploring Operation: 39+30=69, Resulting Numbers: [52, 69]
Generated Node #0,2,1: 43:[52, 69] Operation: 39+30=69
Exploring Operation: 52-30=22, Resulting Numbers: [39, 22]
Generated Node #0,2,2: 43:[39, 22] Operation: 52-30=22
Exploring Operation: 52-39=13, Resulting Numbers: [30, 13]
Generated Node #0,2,3: 43:[30, 13] Operation: 52-39=13
Moving to Node #0,3
Current State: 43:[30, 59, 46], Operations: ['39+7=46']
Exploring Operation: 59-46=13, Resulting Numbers: [30, 13]
Generated Node #0,3,0: 43:[30, 13] Operation: 59-46=13
Exploring Operation: 30+59=89, Resulting Numbers: [46, 89]
Generated Node #0,3,1: 43:[46, 89] Operation: 30+59=89
Exploring Operation: 46-30=16, Resulting Numbers: [59, 16]
Generated Node #0,3,2: 43:[59, 16] Operation: 46-30=16
Exploring Operation: 59-30=29, Resulting Numbers: [46, 29]
Generated Node #0,3,3: 43:[46, 29] Operation: 59-30=29
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 43:[46, 29], Operations: ['39+7=46', '59-30=29']
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 46*29=1334, Resulting Numbers: [1334]
1334,43 unequal: No Solution
Exploring Operation: 46+29=75, Resulting Numbers: [75]
75,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 43:[30, 13], Operations: ['39+7=46', '59-46=13']
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[39, 7, 30, 59], Operations: []
Exploring Operation: 39+7=46, Resulting Numbers: [30, 59, 46]
Generated Node #0,3: 43:[30, 59, 46] Operation: 39+7=46
Moving to Node #0,3
Current State: 43:[30, 59, 46], Operations: ['39+7=46']
Exploring Operation: 59-46=13, Resulting Numbers: [30, 13]
Generated Node #0,3,0: 43:[30, 13] Operation: 59-46=13
Moving to Node #0,3,0
Current State: 43:[30, 13], Operations: ['39+7=46', '59-46=13']
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
10,
91,
52,
80
] | 58 | [
"91-80=11",
"10*11=110",
"110-52=58"
] | Current State: 58:[10, 91, 52, 80], Operations: []
Exploring Operation: 91-80=11, Resulting Numbers: [10, 52, 11]
Generated Node #2: [10, 52, 11] from Operation: 91-80=11
Current State: 58:[10, 52, 11], Operations: ['91-80=11']
Exploring Operation: 10*11=110, Resulting Numbers: [52, 110]
Generated Node #3: [52, 110] from Operation: 10*11=110
Current State: 58:[52, 110], Operations: ['91-80=11', '10*11=110']
Exploring Operation: 110-52=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[10, 91, 52, 80], Operations: []
Exploring Operation: 91-80=11, Resulting Numbers: [10, 52, 11]
Generated Node #0,0: 58:[10, 52, 11] Operation: 91-80=11
Exploring Operation: 91-52=39, Resulting Numbers: [10, 80, 39]
Generated Node #0,1: 58:[10, 80, 39] Operation: 91-52=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[10, 52, 11], Operations: ['91-80=11']
Exploring Operation: 11-10=1, Resulting Numbers: [52, 1]
Generated Node #0,0,0: 58:[52, 1] Operation: 11-10=1
Exploring Operation: 10+52=62, Resulting Numbers: [11, 62]
Generated Node #0,0,1: 58:[11, 62] Operation: 10+52=62
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[52, 1], Operations: ['91-80=11', '11-10=1']
Exploring Operation: 52+1=53, Resulting Numbers: [53]
53,58 unequal: No Solution
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,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:[11, 62], Operations: ['91-80=11', '10+52=62']
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,58 unequal: No Solution
Exploring Operation: 11+62=73, Resulting Numbers: [73]
73,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:[10, 80, 39], Operations: ['91-52=39']
Exploring Operation: 80-39=41, Resulting Numbers: [10, 41]
Generated Node #0,1,0: 58:[10, 41] Operation: 80-39=41
Exploring Operation: 80/10=8, Resulting Numbers: [39, 8]
Generated Node #0,1,1: 58:[39, 8] Operation: 80/10=8
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[39, 8], Operations: ['91-52=39', '80/10=8']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,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,1,0
Current State: 58:[10, 41], Operations: ['91-52=39', '80-39=41']
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
14,
24,
42,
49
] | 26 | [
"49-42=7",
"14/7=2",
"24+2=26"
] | Current State: 26:[14, 24, 42, 49], Operations: []
Exploring Operation: 49-42=7, Resulting Numbers: [14, 24, 7]
Generated Node #2: [14, 24, 7] from Operation: 49-42=7
Current State: 26:[14, 24, 7], Operations: ['49-42=7']
Exploring Operation: 14/7=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 14/7=2
Current State: 26:[24, 2], Operations: ['49-42=7', '14/7=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[14, 24, 42, 49], Operations: []
Exploring Operation: 49-42=7, Resulting Numbers: [14, 24, 7]
Generated Node #0,0: 26:[14, 24, 7] Operation: 49-42=7
Exploring Operation: 49-24=25, Resulting Numbers: [14, 42, 25]
Generated Node #0,1: 26:[14, 42, 25] Operation: 49-24=25
Exploring Operation: 42/14=3, Resulting Numbers: [24, 49, 3]
Generated Node #0,2: 26:[24, 49, 3] Operation: 42/14=3
Moving to Node #0,0
Current State: 26:[14, 24, 7], Operations: ['49-42=7']
Exploring Operation: 14/7=2, Resulting Numbers: [24, 2]
Generated Node #0,0,0: 26:[24, 2] Operation: 14/7=2
Exploring Operation: 24+7=31, Resulting Numbers: [14, 31]
Generated Node #0,0,1: 26:[14, 31] Operation: 24+7=31
Exploring Operation: 24-7=17, Resulting Numbers: [14, 17]
Generated Node #0,0,2: 26:[14, 17] Operation: 24-7=17
Moving to Node #0,1
Current State: 26:[14, 42, 25], Operations: ['49-24=25']
Exploring Operation: 42-14=28, Resulting Numbers: [25, 28]
Generated Node #0,1,0: 26:[25, 28] Operation: 42-14=28
Exploring Operation: 42-25=17, Resulting Numbers: [14, 17]
Generated Node #0,1,1: 26:[14, 17] Operation: 42-25=17
Exploring Operation: 42/14=3, Resulting Numbers: [25, 3]
Generated Node #0,1,2: 26:[25, 3] Operation: 42/14=3
Moving to Node #0,2
Current State: 26:[24, 49, 3], Operations: ['42/14=3']
Exploring Operation: 49-24=25, Resulting Numbers: [3, 25]
Generated Node #0,2,0: 26:[3, 25] Operation: 49-24=25
Exploring Operation: 49-3=46, Resulting Numbers: [24, 46]
Generated Node #0,2,1: 26:[24, 46] Operation: 49-3=46
Exploring Operation: 24+3=27, Resulting Numbers: [49, 27]
Generated Node #0,2,2: 26:[49, 27] Operation: 24+3=27
Moving to Node #0,0,0
Current State: 26:[24, 2], Operations: ['49-42=7', '14/7=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[14, 24, 42, 49], Operations: []
Exploring Operation: 49-42=7, Resulting Numbers: [14, 24, 7]
Generated Node #0,0: 26:[14, 24, 7] Operation: 49-42=7
Moving to Node #0,0
Current State: 26:[14, 24, 7], Operations: ['49-42=7']
Exploring Operation: 14/7=2, Resulting Numbers: [24, 2]
Generated Node #0,0,0: 26:[24, 2] Operation: 14/7=2
Moving to Node #0,0,0
Current State: 26:[24, 2], Operations: ['49-42=7', '14/7=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.983507 | hs_3 | mult_heuristic |
[
58,
50,
5,
97
] | 100 | [
"58-50=8",
"97-5=92",
"8+92=100"
] | Current State: 100:[58, 50, 5, 97], Operations: []
Exploring Operation: 58-50=8, Resulting Numbers: [5, 97, 8]
Generated Node #2: [5, 97, 8] from Operation: 58-50=8
Current State: 100:[5, 97, 8], Operations: ['58-50=8']
Exploring Operation: 97-5=92, Resulting Numbers: [8, 92]
Generated Node #3: [8, 92] from Operation: 97-5=92
Current State: 100:[8, 92], Operations: ['58-50=8', '97-5=92']
Exploring Operation: 8+92=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[58, 50, 5, 97], Operations: []
Exploring Operation: 97-58=39, Resulting Numbers: [50, 5, 39]
Generated Node #0,0: 100:[50, 5, 39] Operation: 97-58=39
Exploring Operation: 58-50=8, Resulting Numbers: [5, 97, 8]
Generated Node #0,1: 100:[5, 97, 8] Operation: 58-50=8
Exploring Operation: 58-5=53, Resulting Numbers: [50, 97, 53]
Generated Node #0,2: 100:[50, 97, 53] Operation: 58-5=53
Exploring Operation: 58+50=108, Resulting Numbers: [5, 97, 108]
Generated Node #0,3: 100:[5, 97, 108] Operation: 58+50=108
Exploring Operation: 5+97=102, Resulting Numbers: [58, 50, 102]
Generated Node #0,4: 100:[58, 50, 102] Operation: 5+97=102
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[5, 97, 8], Operations: ['58-50=8']
Exploring Operation: 97+8=105, Resulting Numbers: [5, 105]
Generated Node #0,1,0: 100:[5, 105] Operation: 97+8=105
Exploring Operation: 5+8=13, Resulting Numbers: [97, 13]
Generated Node #0,1,1: 100:[97, 13] Operation: 5+8=13
Exploring Operation: 8-5=3, Resulting Numbers: [97, 3]
Generated Node #0,1,2: 100:[97, 3] Operation: 8-5=3
Exploring Operation: 97-5=92, Resulting Numbers: [8, 92]
Generated Node #0,1,3: 100:[8, 92] Operation: 97-5=92
Exploring Operation: 5+97=102, Resulting Numbers: [8, 102]
Generated Node #0,1,4: 100:[8, 102] Operation: 5+97=102
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 100:[97, 3], Operations: ['58-50=8', '8-5=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[58, 50, 5, 97], Operations: []
Exploring Operation: 58-50=8, Resulting Numbers: [5, 97, 8]
Generated Node #0,1: 100:[5, 97, 8] Operation: 58-50=8
Moving to Node #0,1
Current State: 100:[5, 97, 8], Operations: ['58-50=8']
Exploring Operation: 8-5=3, Resulting Numbers: [97, 3]
Generated Node #0,1,2: 100:[97, 3] Operation: 8-5=3
Moving to Node #0,1,2
Current State: 100:[97, 3], Operations: ['58-50=8', '8-5=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
25,
39,
68,
53
] | 79 | [
"25+39=64",
"68-53=15",
"64+15=79"
] | Current State: 79:[25, 39, 68, 53], Operations: []
Exploring Operation: 25+39=64, Resulting Numbers: [68, 53, 64]
Generated Node #2: [68, 53, 64] from Operation: 25+39=64
Current State: 79:[68, 53, 64], Operations: ['25+39=64']
Exploring Operation: 68-53=15, Resulting Numbers: [64, 15]
Generated Node #3: [64, 15] from Operation: 68-53=15
Current State: 79:[64, 15], Operations: ['25+39=64', '68-53=15']
Exploring Operation: 64+15=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[25, 39, 68, 53], Operations: []
Exploring Operation: 25+39=64, Resulting Numbers: [68, 53, 64]
Generated Node #0,0: 79:[68, 53, 64] Operation: 25+39=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[68, 53, 64], Operations: ['25+39=64']
Exploring Operation: 53+64=117, Resulting Numbers: [68, 117]
Generated Node #0,0,0: 79:[68, 117] Operation: 53+64=117
Moving to Node #0,0,0
Current State: 79:[68, 117], Operations: ['25+39=64', '53+64=117']
Exploring Operation: 117-68=49, Resulting Numbers: [49]
49,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
10,
56,
19
] | 52 | [
"10+56=66",
"66/2=33",
"19+33=52"
] | Current State: 52:[2, 10, 56, 19], Operations: []
Exploring Operation: 10+56=66, Resulting Numbers: [2, 19, 66]
Generated Node #2: [2, 19, 66] from Operation: 10+56=66
Current State: 52:[2, 19, 66], Operations: ['10+56=66']
Exploring Operation: 66/2=33, Resulting Numbers: [19, 33]
Generated Node #3: [19, 33] from Operation: 66/2=33
Current State: 52:[19, 33], Operations: ['10+56=66', '66/2=33']
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[2, 10, 56, 19], Operations: []
Exploring Operation: 2+10=12, Resulting Numbers: [56, 19, 12]
Generated Node #0,0: 52:[56, 19, 12] Operation: 2+10=12
Exploring Operation: 10/2=5, Resulting Numbers: [56, 19, 5]
Generated Node #0,1: 52:[56, 19, 5] Operation: 10/2=5
Exploring Operation: 10+19=29, Resulting Numbers: [2, 56, 29]
Generated Node #0,2: 52:[2, 56, 29] Operation: 10+19=29
Exploring Operation: 19-10=9, Resulting Numbers: [2, 56, 9]
Generated Node #0,3: 52:[2, 56, 9] Operation: 19-10=9
Exploring Operation: 56-2=54, Resulting Numbers: [10, 19, 54]
Generated Node #0,4: 52:[10, 19, 54] Operation: 56-2=54
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[2, 56, 29], Operations: ['10+19=29']
Exploring Operation: 2+56=58, Resulting Numbers: [29, 58]
Generated Node #0,2,0: 52:[29, 58] Operation: 2+56=58
Exploring Operation: 56/2=28, Resulting Numbers: [29, 28]
Generated Node #0,2,1: 52:[29, 28] Operation: 56/2=28
Exploring Operation: 56-2=54, Resulting Numbers: [29, 54]
Generated Node #0,2,2: 52:[29, 54] Operation: 56-2=54
Exploring Operation: 56-29=27, Resulting Numbers: [2, 27]
Generated Node #0,2,3: 52:[2, 27] Operation: 56-29=27
Exploring Operation: 29-2=27, Resulting Numbers: [56, 27]
Generated Node #0,2,4: 52:[56, 27] Operation: 29-2=27
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 52:[2, 27], Operations: ['10+19=29', '56-29=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 52:[29, 28], Operations: ['10+19=29', '56/2=28']
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 29*28=812, Resulting Numbers: [812]
812,52 unequal: No Solution
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 52:[29, 54], Operations: ['10+19=29', '56-2=54']
Exploring Operation: 29+54=83, Resulting Numbers: [83]
83,52 unequal: No Solution
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 29*54=1566, Resulting Numbers: [1566]
1566,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 52:[56, 27], Operations: ['10+19=29', '29-2=27']
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,52 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,52 unequal: No Solution
Exploring Operation: 56*27=1512, Resulting Numbers: [1512]
1512,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 52:[29, 58], Operations: ['10+19=29', '2+56=58']
Exploring Operation: 29*58=1682, Resulting Numbers: [1682]
1682,52 unequal: No Solution
Exploring Operation: 58/29=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 58-29=29, Resulting Numbers: [29]
29,52 unequal: No Solution
Exploring Operation: 29+58=87, Resulting Numbers: [87]
87,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 52:[2, 56, 9], Operations: ['19-10=9']
Exploring Operation: 2+9=11, Resulting Numbers: [56, 11]
Generated Node #0,3,0: 52:[56, 11] Operation: 2+9=11
Exploring Operation: 9-2=7, Resulting Numbers: [56, 7]
Generated Node #0,3,1: 52:[56, 7] Operation: 9-2=7
Exploring Operation: 56-2=54, Resulting Numbers: [9, 54]
Generated Node #0,3,2: 52:[9, 54] Operation: 56-2=54
Exploring Operation: 56-9=47, Resulting Numbers: [2, 47]
Generated Node #0,3,3: 52:[2, 47] Operation: 56-9=47
Exploring Operation: 56/2=28, Resulting Numbers: [9, 28]
Generated Node #0,3,4: 52:[9, 28] Operation: 56/2=28
Moving to Node #0,3,3
Current State: 52:[2, 47], Operations: ['19-10=9', '56-9=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,52 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[9, 54], Operations: ['19-10=9', '56-2=54']
Exploring Operation: 9*54=486, Resulting Numbers: [486]
486,52 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 9+54=63, Resulting Numbers: [63]
63,52 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Moving to Node #0,3,0
Current State: 52:[56, 11], Operations: ['19-10=9', '2+9=11']
Exploring Operation: 56+11=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 56*11=616, Resulting Numbers: [616]
616,52 unequal: No Solution
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Moving to Node #0,3,4
Current State: 52:[9, 28], Operations: ['19-10=9', '56/2=28']
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[56, 7], Operations: ['19-10=9', '9-2=7']
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,52 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[56, 19, 12], Operations: ['2+10=12']
Exploring Operation: 19+12=31, Resulting Numbers: [56, 31]
Generated Node #0,0,0: 52:[56, 31] Operation: 19+12=31
Exploring Operation: 56+12=68, Resulting Numbers: [19, 68]
Generated Node #0,0,1: 52:[19, 68] Operation: 56+12=68
Exploring Operation: 56-12=44, Resulting Numbers: [19, 44]
Generated Node #0,0,2: 52:[19, 44] Operation: 56-12=44
Exploring Operation: 19-12=7, Resulting Numbers: [56, 7]
Generated Node #0,0,3: 52:[56, 7] Operation: 19-12=7
Exploring Operation: 56-19=37, Resulting Numbers: [12, 37]
Generated Node #0,0,4: 52:[12, 37] Operation: 56-19=37
Moving to Node #0,0,3
Current State: 52:[56, 7], Operations: ['2+10=12', '19-12=7']
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,52 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,52 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[56, 31], Operations: ['2+10=12', '19+12=31']
Exploring Operation: 56*31=1736, Resulting Numbers: [1736]
1736,52 unequal: No Solution
Exploring Operation: 56+31=87, Resulting Numbers: [87]
87,52 unequal: No Solution
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Moving to Node #0,0,4
Current State: 52:[12, 37], Operations: ['2+10=12', '56-19=37']
Exploring Operation: 12+37=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 12*37=444, Resulting Numbers: [444]
444,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[19, 44], Operations: ['2+10=12', '56-12=44']
Exploring Operation: 19+44=63, Resulting Numbers: [63]
63,52 unequal: No Solution
Exploring Operation: 19*44=836, Resulting Numbers: [836]
836,52 unequal: No Solution
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[19, 68], Operations: ['2+10=12', '56+12=68']
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Exploring Operation: 19+68=87, Resulting Numbers: [87]
87,52 unequal: No Solution
Exploring Operation: 19*68=1292, Resulting Numbers: [1292]
1292,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[56, 19, 5], Operations: ['10/2=5']
Exploring Operation: 56-5=51, Resulting Numbers: [19, 51]
Generated Node #0,1,0: 52:[19, 51] Operation: 56-5=51
Exploring Operation: 56+5=61, Resulting Numbers: [19, 61]
Generated Node #0,1,1: 52:[19, 61] Operation: 56+5=61
Exploring Operation: 19+5=24, Resulting Numbers: [56, 24]
Generated Node #0,1,2: 52:[56, 24] Operation: 19+5=24
Exploring Operation: 56-19=37, Resulting Numbers: [5, 37]
Generated Node #0,1,3: 52:[5, 37] Operation: 56-19=37
Exploring Operation: 19-5=14, Resulting Numbers: [56, 14]
Generated Node #0,1,4: 52:[56, 14] Operation: 19-5=14
Moving to Node #0,1,4
Current State: 52:[56, 14], Operations: ['10/2=5', '19-5=14']
Exploring Operation: 56*14=784, Resulting Numbers: [784]
784,52 unequal: No Solution
Exploring Operation: 56+14=70, Resulting Numbers: [70]
70,52 unequal: No Solution
Exploring Operation: 56/14=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[56, 24], Operations: ['10/2=5', '19+5=24']
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,52 unequal: No Solution
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[19, 51], Operations: ['10/2=5', '56-5=51']
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,52 unequal: No Solution
Exploring Operation: 19+51=70, Resulting Numbers: [70]
70,52 unequal: No Solution
Exploring Operation: 19*51=969, Resulting Numbers: [969]
969,52 unequal: No Solution
Moving to Node #0,1,3
Current State: 52:[5, 37], Operations: ['10/2=5', '56-19=37']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,52 unequal: No Solution
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,52 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[19, 61], Operations: ['10/2=5', '56+5=61']
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Exploring Operation: 19+61=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Exploring Operation: 19*61=1159, Resulting Numbers: [1159]
1159,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 52:[10, 19, 54], Operations: ['56-2=54']
Exploring Operation: 54-19=35, Resulting Numbers: [10, 35]
Generated Node #0,4,0: 52:[10, 35] Operation: 54-19=35
Exploring Operation: 54-10=44, Resulting Numbers: [19, 44]
Generated Node #0,4,1: 52:[19, 44] Operation: 54-10=44
Exploring Operation: 10+54=64, Resulting Numbers: [19, 64]
Generated Node #0,4,2: 52:[19, 64] Operation: 10+54=64
Exploring Operation: 10+19=29, Resulting Numbers: [54, 29]
Generated Node #0,4,3: 52:[54, 29] Operation: 10+19=29
Exploring Operation: 19-10=9, Resulting Numbers: [54, 9]
Generated Node #0,4,4: 52:[54, 9] Operation: 19-10=9
Moving to Node #0,4,3
Current State: 52:[54, 29], Operations: ['56-2=54', '10+19=29']
Exploring Operation: 54*29=1566, Resulting Numbers: [1566]
1566,52 unequal: No Solution
Exploring Operation: 54+29=83, Resulting Numbers: [83]
83,52 unequal: No Solution
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Moving to Node #0,4,4
Current State: 52:[54, 9], Operations: ['56-2=54', '19-10=9']
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,52 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,52 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Moving to Node #0,4,0
Current State: 52:[10, 35], Operations: ['56-2=54', '54-19=35']
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 10+35=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 10*35=350, Resulting Numbers: [350]
350,52 unequal: No Solution
Moving to Node #0,4,1
Current State: 52:[19, 44], Operations: ['56-2=54', '54-10=44']
Exploring Operation: 19+44=63, Resulting Numbers: [63]
63,52 unequal: No Solution
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 19*44=836, Resulting Numbers: [836]
836,52 unequal: No Solution
Moving to Node #0,4,2
Current State: 52:[19, 64], Operations: ['56-2=54', '10+54=64']
Exploring Operation: 19+64=83, Resulting Numbers: [83]
83,52 unequal: No Solution
Exploring Operation: 19*64=1216, Resulting Numbers: [1216]
1216,52 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,52 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 |
[
84,
28,
19,
6
] | 57 | [
"84/28=3",
"6-3=3",
"19*3=57"
] | Current State: 57:[84, 28, 19, 6], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [19, 6, 3]
Generated Node #2: [19, 6, 3] from Operation: 84/28=3
Current State: 57:[19, 6, 3], Operations: ['84/28=3']
Exploring Operation: 6-3=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 6-3=3
Current State: 57:[19, 3], Operations: ['84/28=3', '6-3=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[84, 28, 19, 6], Operations: []
Exploring Operation: 84-28=56, Resulting Numbers: [19, 6, 56]
Generated Node #0,0: 57:[19, 6, 56] Operation: 84-28=56
Exploring Operation: 84/28=3, Resulting Numbers: [19, 6, 3]
Generated Node #0,1: 57:[19, 6, 3] Operation: 84/28=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[19, 6, 3], Operations: ['84/28=3']
Exploring Operation: 6*3=18, Resulting Numbers: [19, 18]
Generated Node #0,1,0: 57:[19, 18] Operation: 6*3=18
Exploring Operation: 6-3=3, Resulting Numbers: [19, 3]
Generated Node #0,1,1: 57:[19, 3] Operation: 6-3=3
Moving to Node #0,1,1
Current State: 57:[19, 3], Operations: ['84/28=3', '6-3=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[84, 28, 19, 6], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [19, 6, 3]
Generated Node #0,1: 57:[19, 6, 3] Operation: 84/28=3
Moving to Node #0,1
Current State: 57:[19, 6, 3], Operations: ['84/28=3']
Exploring Operation: 6-3=3, Resulting Numbers: [19, 3]
Generated Node #0,1,1: 57:[19, 3] Operation: 6-3=3
Moving to Node #0,1,1
Current State: 57:[19, 3], Operations: ['84/28=3', '6-3=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
81,
64,
15,
88
] | 90 | [
"81-64=17",
"88-15=73",
"17+73=90"
] | Current State: 90:[81, 64, 15, 88], Operations: []
Exploring Operation: 81-64=17, Resulting Numbers: [15, 88, 17]
Generated Node #2: [15, 88, 17] from Operation: 81-64=17
Current State: 90:[15, 88, 17], Operations: ['81-64=17']
Exploring Operation: 88-15=73, Resulting Numbers: [17, 73]
Generated Node #3: [17, 73] from Operation: 88-15=73
Current State: 90:[17, 73], Operations: ['81-64=17', '88-15=73']
Exploring Operation: 17+73=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[81, 64, 15, 88], Operations: []
Exploring Operation: 88-64=24, Resulting Numbers: [81, 15, 24]
Generated Node #0,0: 90:[81, 15, 24] Operation: 88-64=24
Exploring Operation: 64-15=49, Resulting Numbers: [81, 88, 49]
Generated Node #0,1: 90:[81, 88, 49] Operation: 64-15=49
Exploring Operation: 81-64=17, Resulting Numbers: [15, 88, 17]
Generated Node #0,2: 90:[15, 88, 17] Operation: 81-64=17
Exploring Operation: 88-81=7, Resulting Numbers: [64, 15, 7]
Generated Node #0,3: 90:[64, 15, 7] Operation: 88-81=7
Moving to Node #0,2
Current State: 90:[15, 88, 17], Operations: ['81-64=17']
Exploring Operation: 15+17=32, Resulting Numbers: [88, 32]
Generated Node #0,2,0: 90:[88, 32] Operation: 15+17=32
Exploring Operation: 88+17=105, Resulting Numbers: [15, 105]
Generated Node #0,2,1: 90:[15, 105] Operation: 88+17=105
Exploring Operation: 15+88=103, Resulting Numbers: [17, 103]
Generated Node #0,2,2: 90:[17, 103] Operation: 15+88=103
Exploring Operation: 17-15=2, Resulting Numbers: [88, 2]
Generated Node #0,2,3: 90:[88, 2] Operation: 17-15=2
Moving to Node #0,1
Current State: 90:[81, 88, 49], Operations: ['64-15=49']
Exploring Operation: 81+49=130, Resulting Numbers: [88, 130]
Generated Node #0,1,0: 90:[88, 130] Operation: 81+49=130
Exploring Operation: 88-49=39, Resulting Numbers: [81, 39]
Generated Node #0,1,1: 90:[81, 39] Operation: 88-49=39
Exploring Operation: 81-49=32, Resulting Numbers: [88, 32]
Generated Node #0,1,2: 90:[88, 32] Operation: 81-49=32
Exploring Operation: 88-81=7, Resulting Numbers: [49, 7]
Generated Node #0,1,3: 90:[49, 7] Operation: 88-81=7
Moving to Node #0,0
Current State: 90:[81, 15, 24], Operations: ['88-64=24']
Exploring Operation: 81-24=57, Resulting Numbers: [15, 57]
Generated Node #0,0,0: 90:[15, 57] Operation: 81-24=57
Exploring Operation: 24-15=9, Resulting Numbers: [81, 9]
Generated Node #0,0,1: 90:[81, 9] Operation: 24-15=9
Exploring Operation: 81+15=96, Resulting Numbers: [24, 96]
Generated Node #0,0,2: 90:[24, 96] Operation: 81+15=96
Exploring Operation: 81+24=105, Resulting Numbers: [15, 105]
Generated Node #0,0,3: 90:[15, 105] Operation: 81+24=105
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[81, 9], Operations: ['88-64=24', '24-15=9']
Exploring Operation: 81*9=729, Resulting Numbers: [729]
729,90 unequal: No Solution
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[81, 64, 15, 88], Operations: []
Exploring Operation: 88-64=24, Resulting Numbers: [81, 15, 24]
Generated Node #0,0: 90:[81, 15, 24] Operation: 88-64=24
Moving to Node #0,0
Current State: 90:[81, 15, 24], Operations: ['88-64=24']
Exploring Operation: 24-15=9, Resulting Numbers: [81, 9]
Generated Node #0,0,1: 90:[81, 9] Operation: 24-15=9
Moving to Node #0,0,1
Current State: 90:[81, 9], Operations: ['88-64=24', '24-15=9']
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
54,
29,
33,
21
] | 13 | [
"54-29=25",
"33-21=12",
"25-12=13"
] | Current State: 13:[54, 29, 33, 21], Operations: []
Exploring Operation: 54-29=25, Resulting Numbers: [33, 21, 25]
Generated Node #2: [33, 21, 25] from Operation: 54-29=25
Current State: 13:[33, 21, 25], Operations: ['54-29=25']
Exploring Operation: 33-21=12, Resulting Numbers: [25, 12]
Generated Node #3: [25, 12] from Operation: 33-21=12
Current State: 13:[25, 12], Operations: ['54-29=25', '33-21=12']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[54, 29, 33, 21], Operations: []
Exploring Operation: 54-29=25, Resulting Numbers: [33, 21, 25]
Generated Node #0,0: 13:[33, 21, 25] Operation: 54-29=25
Exploring Operation: 54-21=33, Resulting Numbers: [29, 33, 33]
Generated Node #0,1: 13:[29, 33, 33] Operation: 54-21=33
Exploring Operation: 54-33=21, Resulting Numbers: [29, 21, 21]
Generated Node #0,2: 13:[29, 21, 21] Operation: 54-33=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[29, 21, 21], Operations: ['54-33=21']
Exploring Operation: 29-21=8, Resulting Numbers: [21, 8]
Generated Node #0,2,0: 13:[21, 8] Operation: 29-21=8
Exploring Operation: 29-21=8, Resulting Numbers: [21, 8]
Generated Node #0,2,1: 13:[21, 8] Operation: 29-21=8
Exploring Operation: 21/21=1, Resulting Numbers: [29, 1]
Generated Node #0,2,2: 13:[29, 1] Operation: 21/21=1
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 13:[21, 8], Operations: ['54-33=21', '29-21=8']
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,13 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[54, 29, 33, 21], Operations: []
Exploring Operation: 54-33=21, Resulting Numbers: [29, 21, 21]
Generated Node #0,2: 13:[29, 21, 21] Operation: 54-33=21
Moving to Node #0,2
Current State: 13:[29, 21, 21], Operations: ['54-33=21']
Exploring Operation: 29-21=8, Resulting Numbers: [21, 8]
Generated Node #0,2,0: 13:[21, 8] Operation: 29-21=8
Moving to Node #0,2,0
Current State: 13:[21, 8], Operations: ['54-33=21', '29-21=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
67,
32,
24,
69
] | 80 | [
"67-32=35",
"69-24=45",
"35+45=80"
] | Current State: 80:[67, 32, 24, 69], Operations: []
Exploring Operation: 67-32=35, Resulting Numbers: [24, 69, 35]
Generated Node #2: [24, 69, 35] from Operation: 67-32=35
Current State: 80:[24, 69, 35], Operations: ['67-32=35']
Exploring Operation: 69-24=45, Resulting Numbers: [35, 45]
Generated Node #3: [35, 45] from Operation: 69-24=45
Current State: 80:[35, 45], Operations: ['67-32=35', '69-24=45']
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[67, 32, 24, 69], Operations: []
Exploring Operation: 67-32=35, Resulting Numbers: [24, 69, 35]
Generated Node #0,0: 80:[24, 69, 35] Operation: 67-32=35
Exploring Operation: 69-67=2, Resulting Numbers: [32, 24, 2]
Generated Node #0,1: 80:[32, 24, 2] Operation: 69-67=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[32, 24, 2], Operations: ['69-67=2']
Exploring Operation: 32-24=8, Resulting Numbers: [2, 8]
Generated Node #0,1,0: 80:[2, 8] Operation: 32-24=8
Exploring Operation: 32/2=16, Resulting Numbers: [24, 16]
Generated Node #0,1,1: 80:[24, 16] Operation: 32/2=16
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[2, 8], Operations: ['69-67=2', '32-24=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,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:[24, 16], Operations: ['69-67=2', '32/2=16']
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,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:[24, 69, 35], Operations: ['67-32=35']
Exploring Operation: 69-35=34, Resulting Numbers: [24, 34]
Generated Node #0,0,0: 80:[24, 34] Operation: 69-35=34
Exploring Operation: 69-24=45, Resulting Numbers: [35, 45]
Generated Node #0,0,1: 80:[35, 45] Operation: 69-24=45
Moving to Node #0,0,0
Current State: 80:[24, 34], Operations: ['67-32=35', '69-35=34']
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 24+34=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[35, 45], Operations: ['67-32=35', '69-24=45']
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[67, 32, 24, 69], Operations: []
Exploring Operation: 67-32=35, Resulting Numbers: [24, 69, 35]
Generated Node #0,0: 80:[24, 69, 35] Operation: 67-32=35
Moving to Node #0,0
Current State: 80:[24, 69, 35], Operations: ['67-32=35']
Exploring Operation: 69-24=45, Resulting Numbers: [35, 45]
Generated Node #0,0,1: 80:[35, 45] Operation: 69-24=45
Moving to Node #0,0,1
Current State: 80:[35, 45], Operations: ['67-32=35', '69-24=45']
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
11,
48,
28,
8
] | 88 | [
"28-11=17",
"8*17=136",
"136-48=88"
] | Current State: 88:[11, 48, 28, 8], Operations: []
Exploring Operation: 28-11=17, Resulting Numbers: [48, 8, 17]
Generated Node #2: [48, 8, 17] from Operation: 28-11=17
Current State: 88:[48, 8, 17], Operations: ['28-11=17']
Exploring Operation: 8*17=136, Resulting Numbers: [48, 136]
Generated Node #3: [48, 136] from Operation: 8*17=136
Current State: 88:[48, 136], Operations: ['28-11=17', '8*17=136']
Exploring Operation: 136-48=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[11, 48, 28, 8], Operations: []
Exploring Operation: 48-28=20, Resulting Numbers: [11, 8, 20]
Generated Node #0,0: 88:[11, 8, 20] Operation: 48-28=20
Exploring Operation: 48/8=6, Resulting Numbers: [11, 28, 6]
Generated Node #0,1: 88:[11, 28, 6] Operation: 48/8=6
Exploring Operation: 28-8=20, Resulting Numbers: [11, 48, 20]
Generated Node #0,2: 88:[11, 48, 20] Operation: 28-8=20
Exploring Operation: 11+28=39, Resulting Numbers: [48, 8, 39]
Generated Node #0,3: 88:[48, 8, 39] Operation: 11+28=39
Moving to Node #0,0
Current State: 88:[11, 8, 20], Operations: ['48-28=20']
Exploring Operation: 11*8=88, Resulting Numbers: [20, 88]
Generated Node #0,0,0: 88:[20, 88] Operation: 11*8=88
Exploring Operation: 20-11=9, Resulting Numbers: [8, 9]
Generated Node #0,0,1: 88:[8, 9] Operation: 20-11=9
Exploring Operation: 11-8=3, Resulting Numbers: [20, 3]
Generated Node #0,0,2: 88:[20, 3] Operation: 11-8=3
Exploring Operation: 20-8=12, Resulting Numbers: [11, 12]
Generated Node #0,0,3: 88:[11, 12] Operation: 20-8=12
Moving to Node #0,2
Current State: 88:[11, 48, 20], Operations: ['28-8=20']
Exploring Operation: 20-11=9, Resulting Numbers: [48, 9]
Generated Node #0,2,0: 88:[48, 9] Operation: 20-11=9
Exploring Operation: 48-11=37, Resulting Numbers: [20, 37]
Generated Node #0,2,1: 88:[20, 37] Operation: 48-11=37
Exploring Operation: 48-20=28, Resulting Numbers: [11, 28]
Generated Node #0,2,2: 88:[11, 28] Operation: 48-20=28
Exploring Operation: 11+20=31, Resulting Numbers: [48, 31]
Generated Node #0,2,3: 88:[48, 31] Operation: 11+20=31
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[48, 9], Operations: ['28-8=20', '20-11=9']
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,88 unequal: No Solution
Exploring Operation: 48*9=432, Resulting Numbers: [432]
432,88 unequal: No Solution
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,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,2,2
Current State: 88:[11, 28], Operations: ['28-8=20', '48-20=28']
Exploring Operation: 11*28=308, Resulting Numbers: [308]
308,88 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 11+28=39, Resulting Numbers: [39]
39,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,2,1
Current State: 88:[20, 37], Operations: ['28-8=20', '48-11=37']
Exploring Operation: 20*37=740, Resulting Numbers: [740]
740,88 unequal: No Solution
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 20+37=57, Resulting Numbers: [57]
57,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,2,3
Current State: 88:[48, 31], Operations: ['28-8=20', '11+20=31']
Exploring Operation: 48+31=79, Resulting Numbers: [79]
79,88 unequal: No Solution
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 48*31=1488, Resulting Numbers: [1488]
1488,88 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: 88:[11, 28, 6], Operations: ['48/8=6']
Exploring Operation: 28-11=17, Resulting Numbers: [6, 17]
Generated Node #0,1,0: 88:[6, 17] Operation: 28-11=17
Exploring Operation: 11+28=39, Resulting Numbers: [6, 39]
Generated Node #0,1,1: 88:[6, 39] Operation: 11+28=39
Exploring Operation: 11-6=5, Resulting Numbers: [28, 5]
Generated Node #0,1,2: 88:[28, 5] Operation: 11-6=5
Exploring Operation: 28-6=22, Resulting Numbers: [11, 22]
Generated Node #0,1,3: 88:[11, 22] Operation: 28-6=22
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 88:[11, 22], Operations: ['48/8=6', '28-6=22']
Exploring Operation: 11*22=242, Resulting Numbers: [242]
242,88 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[6, 17], Operations: ['48/8=6', '28-11=17']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,88 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[6, 39], Operations: ['48/8=6', '11+28=39']
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,88 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 88:[28, 5], Operations: ['48/8=6', '11-6=5']
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,88 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,88 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: 88:[48, 8, 39], Operations: ['11+28=39']
Exploring Operation: 48/8=6, Resulting Numbers: [39, 6]
Generated Node #0,3,0: 88:[39, 6] Operation: 48/8=6
Exploring Operation: 48+39=87, Resulting Numbers: [8, 87]
Generated Node #0,3,1: 88:[8, 87] Operation: 48+39=87
Exploring Operation: 48-39=9, Resulting Numbers: [8, 9]
Generated Node #0,3,2: 88:[8, 9] Operation: 48-39=9
Exploring Operation: 8+39=47, Resulting Numbers: [48, 47]
Generated Node #0,3,3: 88:[48, 47] Operation: 8+39=47
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 88:[8, 87], Operations: ['11+28=39', '48+39=87']
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,88 unequal: No Solution
Exploring Operation: 8+87=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 8*87=696, Resulting Numbers: [696]
696,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,3,2
Current State: 88:[8, 9], Operations: ['11+28=39', '48-39=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,88 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,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,3,0
Current State: 88:[39, 6], Operations: ['11+28=39', '48/8=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,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,3,3
Current State: 88:[48, 47], Operations: ['11+28=39', '8+39=47']
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 48*47=2256, Resulting Numbers: [2256]
2256,88 unequal: No Solution
Exploring Operation: 48+47=95, Resulting Numbers: [95]
95,88 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: 88:[8, 9], Operations: ['48-28=20', '20-11=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,88 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[11, 12], Operations: ['48-28=20', '20-8=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[20, 88], Operations: ['48-28=20', '11*8=88']
Exploring Operation: 88-20=68, Resulting Numbers: [68]
68,88 unequal: No Solution
Exploring Operation: 20*88=1760, Resulting Numbers: [1760]
1760,88 unequal: No Solution
Exploring Operation: 20+88=108, Resulting Numbers: [108]
108,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[20, 3], Operations: ['48-28=20', '11-8=3']
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,88 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
95,
85,
17,
14
] | 77 | [
"95+17=112",
"112/14=8",
"85-8=77"
] | Current State: 77:[95, 85, 17, 14], Operations: []
Exploring Operation: 95+17=112, Resulting Numbers: [85, 14, 112]
Generated Node #2: [85, 14, 112] from Operation: 95+17=112
Current State: 77:[85, 14, 112], Operations: ['95+17=112']
Exploring Operation: 112/14=8, Resulting Numbers: [85, 8]
Generated Node #3: [85, 8] from Operation: 112/14=8
Current State: 77:[85, 8], Operations: ['95+17=112', '112/14=8']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[95, 85, 17, 14], Operations: []
Exploring Operation: 85/17=5, Resulting Numbers: [95, 14, 5]
Generated Node #0,0: 77:[95, 14, 5] Operation: 85/17=5
Exploring Operation: 95-14=81, Resulting Numbers: [85, 17, 81]
Generated Node #0,1: 77:[85, 17, 81] Operation: 95-14=81
Exploring Operation: 95-85=10, Resulting Numbers: [17, 14, 10]
Generated Node #0,2: 77:[17, 14, 10] Operation: 95-85=10
Exploring Operation: 95-17=78, Resulting Numbers: [85, 14, 78]
Generated Node #0,3: 77:[85, 14, 78] Operation: 95-17=78
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[17, 14, 10], Operations: ['95-85=10']
Exploring Operation: 14-10=4, Resulting Numbers: [17, 4]
Generated Node #0,2,0: 77:[17, 4] Operation: 14-10=4
Exploring Operation: 17-14=3, Resulting Numbers: [10, 3]
Generated Node #0,2,1: 77:[10, 3] Operation: 17-14=3
Exploring Operation: 17+10=27, Resulting Numbers: [14, 27]
Generated Node #0,2,2: 77:[14, 27] Operation: 17+10=27
Exploring Operation: 17-10=7, Resulting Numbers: [14, 7]
Generated Node #0,2,3: 77:[14, 7] Operation: 17-10=7
Moving to Node #0,2,3
Current State: 77:[14, 7], Operations: ['95-85=10', '17-10=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,77 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[10, 3], Operations: ['95-85=10', '17-14=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,77 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[17, 4], Operations: ['95-85=10', '14-10=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[14, 27], Operations: ['95-85=10', '17+10=27']
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,77 unequal: No Solution
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,77 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 77:[85, 14, 78], Operations: ['95-17=78']
Exploring Operation: 85-14=71, Resulting Numbers: [78, 71]
Generated Node #0,3,0: 77:[78, 71] Operation: 85-14=71
Exploring Operation: 85+14=99, Resulting Numbers: [78, 99]
Generated Node #0,3,1: 77:[78, 99] Operation: 85+14=99
Exploring Operation: 78-14=64, Resulting Numbers: [85, 64]
Generated Node #0,3,2: 77:[85, 64] Operation: 78-14=64
Exploring Operation: 85-78=7, Resulting Numbers: [14, 7]
Generated Node #0,3,3: 77:[14, 7] Operation: 85-78=7
Moving to Node #0,3,3
Current State: 77:[14, 7], Operations: ['95-17=78', '85-78=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,77 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Moving to Node #0,3,0
Current State: 77:[78, 71], Operations: ['95-17=78', '85-14=71']
Exploring Operation: 78*71=5538, Resulting Numbers: [5538]
5538,77 unequal: No Solution
Exploring Operation: 78+71=149, Resulting Numbers: [149]
149,77 unequal: No Solution
Exploring Operation: 78-71=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[85, 64], Operations: ['95-17=78', '78-14=64']
Exploring Operation: 85*64=5440, Resulting Numbers: [5440]
5440,77 unequal: No Solution
Exploring Operation: 85-64=21, Resulting Numbers: [21]
21,77 unequal: No Solution
Exploring Operation: 85+64=149, Resulting Numbers: [149]
149,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[78, 99], Operations: ['95-17=78', '85+14=99']
Exploring Operation: 78+99=177, Resulting Numbers: [177]
177,77 unequal: No Solution
Exploring Operation: 99-78=21, Resulting Numbers: [21]
21,77 unequal: No Solution
Exploring Operation: 78*99=7722, Resulting Numbers: [7722]
7722,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[85, 17, 81], Operations: ['95-14=81']
Exploring Operation: 85-81=4, Resulting Numbers: [17, 4]
Generated Node #0,1,0: 77:[17, 4] Operation: 85-81=4
Exploring Operation: 85-17=68, Resulting Numbers: [81, 68]
Generated Node #0,1,1: 77:[81, 68] Operation: 85-17=68
Exploring Operation: 85/17=5, Resulting Numbers: [81, 5]
Generated Node #0,1,2: 77:[81, 5] Operation: 85/17=5
Exploring Operation: 81-17=64, Resulting Numbers: [85, 64]
Generated Node #0,1,3: 77:[85, 64] Operation: 81-17=64
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 77:[81, 5], Operations: ['95-14=81', '85/17=5']
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,77 unequal: No Solution
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,77 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,77 unequal: No Solution
No 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: 77:[17, 4], Operations: ['95-14=81', '85-81=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,77 unequal: No Solution
No 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: 77:[81, 68], Operations: ['95-14=81', '85-17=68']
Exploring Operation: 81-68=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 81*68=5508, Resulting Numbers: [5508]
5508,77 unequal: No Solution
Exploring Operation: 81+68=149, Resulting Numbers: [149]
149,77 unequal: No Solution
No 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: 77:[85, 64], Operations: ['95-14=81', '81-17=64']
Exploring Operation: 85+64=149, Resulting Numbers: [149]
149,77 unequal: No Solution
Exploring Operation: 85-64=21, Resulting Numbers: [21]
21,77 unequal: No Solution
Exploring Operation: 85*64=5440, Resulting Numbers: [5440]
5440,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[95, 14, 5], Operations: ['85/17=5']
Exploring Operation: 14-5=9, Resulting Numbers: [95, 9]
Generated Node #0,0,0: 77:[95, 9] Operation: 14-5=9
Exploring Operation: 95/5=19, Resulting Numbers: [14, 19]
Generated Node #0,0,1: 77:[14, 19] Operation: 95/5=19
Exploring Operation: 95-5=90, Resulting Numbers: [14, 90]
Generated Node #0,0,2: 77:[14, 90] Operation: 95-5=90
Exploring Operation: 95-14=81, Resulting Numbers: [5, 81]
Generated Node #0,0,3: 77:[5, 81] Operation: 95-14=81
Moving to Node #0,0,3
Current State: 77:[5, 81], Operations: ['85/17=5', '95-14=81']
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Exploring Operation: 5*81=405, Resulting Numbers: [405]
405,77 unequal: No Solution
Exploring Operation: 5+81=86, Resulting Numbers: [86]
86,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[14, 19], Operations: ['85/17=5', '95/5=19']
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,77 unequal: No Solution
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,77 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[14, 90], Operations: ['85/17=5', '95-5=90']
Exploring Operation: 14+90=104, Resulting Numbers: [104]
104,77 unequal: No Solution
Exploring Operation: 14*90=1260, Resulting Numbers: [1260]
1260,77 unequal: No Solution
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[95, 9], Operations: ['85/17=5', '14-5=9']
Exploring Operation: 95*9=855, Resulting Numbers: [855]
855,77 unequal: No Solution
Exploring Operation: 95+9=104, Resulting Numbers: [104]
104,77 unequal: No Solution
Exploring Operation: 95-9=86, Resulting Numbers: [86]
86,77 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 |
[
42,
47,
60,
54
] | 66 | [
"47-42=5",
"60/5=12",
"54+12=66"
] | Current State: 66:[42, 47, 60, 54], Operations: []
Exploring Operation: 47-42=5, Resulting Numbers: [60, 54, 5]
Generated Node #2: [60, 54, 5] from Operation: 47-42=5
Current State: 66:[60, 54, 5], Operations: ['47-42=5']
Exploring Operation: 60/5=12, Resulting Numbers: [54, 12]
Generated Node #3: [54, 12] from Operation: 60/5=12
Current State: 66:[54, 12], Operations: ['47-42=5', '60/5=12']
Exploring Operation: 54+12=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[42, 47, 60, 54], Operations: []
Exploring Operation: 54-42=12, Resulting Numbers: [47, 60, 12]
Generated Node #0,0: 66:[47, 60, 12] Operation: 54-42=12
Exploring Operation: 47-42=5, Resulting Numbers: [60, 54, 5]
Generated Node #0,1: 66:[60, 54, 5] Operation: 47-42=5
Exploring Operation: 54-47=7, Resulting Numbers: [42, 60, 7]
Generated Node #0,2: 66:[42, 60, 7] Operation: 54-47=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[42, 60, 7], Operations: ['54-47=7']
Exploring Operation: 60-42=18, Resulting Numbers: [7, 18]
Generated Node #0,2,0: 66:[7, 18] Operation: 60-42=18
Exploring Operation: 42/7=6, Resulting Numbers: [60, 6]
Generated Node #0,2,1: 66:[60, 6] Operation: 42/7=6
Exploring Operation: 42-7=35, Resulting Numbers: [60, 35]
Generated Node #0,2,2: 66:[60, 35] Operation: 42-7=35
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 66:[7, 18], Operations: ['54-47=7', '60-42=18']
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,66 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,66 unequal: No Solution
No 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: 66:[60, 6], Operations: ['54-47=7', '42/7=6']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[42, 47, 60, 54], Operations: []
Exploring Operation: 54-47=7, Resulting Numbers: [42, 60, 7]
Generated Node #0,2: 66:[42, 60, 7] Operation: 54-47=7
Moving to Node #0,2
Current State: 66:[42, 60, 7], Operations: ['54-47=7']
Exploring Operation: 42/7=6, Resulting Numbers: [60, 6]
Generated Node #0,2,1: 66:[60, 6] Operation: 42/7=6
Moving to Node #0,2,1
Current State: 66:[60, 6], Operations: ['54-47=7', '42/7=6']
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
32,
90,
20,
88
] | 96 | [
"32+88=120",
"120/20=6",
"90+6=96"
] | Current State: 96:[32, 90, 20, 88], Operations: []
Exploring Operation: 32+88=120, Resulting Numbers: [90, 20, 120]
Generated Node #2: [90, 20, 120] from Operation: 32+88=120
Current State: 96:[90, 20, 120], Operations: ['32+88=120']
Exploring Operation: 120/20=6, Resulting Numbers: [90, 6]
Generated Node #3: [90, 6] from Operation: 120/20=6
Current State: 96:[90, 6], Operations: ['32+88=120', '120/20=6']
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[32, 90, 20, 88], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [32, 20, 2]
Generated Node #0,0: 96:[32, 20, 2] Operation: 90-88=2
Exploring Operation: 32-20=12, Resulting Numbers: [90, 88, 12]
Generated Node #0,1: 96:[90, 88, 12] Operation: 32-20=12
Exploring Operation: 32+20=52, Resulting Numbers: [90, 88, 52]
Generated Node #0,2: 96:[90, 88, 52] Operation: 32+20=52
Moving to Node #0,0
Current State: 96:[32, 20, 2], Operations: ['90-88=2']
Exploring Operation: 20-2=18, Resulting Numbers: [32, 18]
Generated Node #0,0,0: 96:[32, 18] Operation: 20-2=18
Exploring Operation: 20+2=22, Resulting Numbers: [32, 22]
Generated Node #0,0,1: 96:[32, 22] Operation: 20+2=22
Exploring Operation: 32-20=12, Resulting Numbers: [2, 12]
Generated Node #0,0,2: 96:[2, 12] Operation: 32-20=12
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 96:[2, 12], Operations: ['90-88=2', '32-20=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,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,0
Current State: 96:[32, 18], Operations: ['90-88=2', '20-2=18']
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,96 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,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:[32, 22], Operations: ['90-88=2', '20+2=22']
Exploring Operation: 32*22=704, Resulting Numbers: [704]
704,96 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Exploring Operation: 32+22=54, Resulting Numbers: [54]
54,96 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: 96:[90, 88, 12], Operations: ['32-20=12']
Exploring Operation: 90+12=102, Resulting Numbers: [88, 102]
Generated Node #0,1,0: 96:[88, 102] Operation: 90+12=102
Exploring Operation: 90-88=2, Resulting Numbers: [12, 2]
Generated Node #0,1,1: 96:[12, 2] Operation: 90-88=2
Exploring Operation: 88+12=100, Resulting Numbers: [90, 100]
Generated Node #0,1,2: 96:[90, 100] Operation: 88+12=100
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[12, 2], Operations: ['32-20=12', '90-88=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,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,1,2
Current State: 96:[90, 100], Operations: ['32-20=12', '88+12=100']
Exploring Operation: 90*100=9000, Resulting Numbers: [9000]
9000,96 unequal: No Solution
Exploring Operation: 90+100=190, Resulting Numbers: [190]
190,96 unequal: No Solution
Exploring Operation: 100-90=10, Resulting Numbers: [10]
10,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,1,0
Current State: 96:[88, 102], Operations: ['32-20=12', '90+12=102']
Exploring Operation: 88+102=190, Resulting Numbers: [190]
190,96 unequal: No Solution
Exploring Operation: 88*102=8976, Resulting Numbers: [8976]
8976,96 unequal: No Solution
Exploring Operation: 102-88=14, Resulting Numbers: [14]
14,96 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: 96:[90, 88, 52], Operations: ['32+20=52']
Exploring Operation: 88-52=36, Resulting Numbers: [90, 36]
Generated Node #0,2,0: 96:[90, 36] Operation: 88-52=36
Exploring Operation: 90-88=2, Resulting Numbers: [52, 2]
Generated Node #0,2,1: 96:[52, 2] Operation: 90-88=2
Exploring Operation: 90-52=38, Resulting Numbers: [88, 38]
Generated Node #0,2,2: 96:[88, 38] Operation: 90-52=38
Moving to Node #0,2,1
Current State: 96:[52, 2], Operations: ['32+20=52', '90-88=2']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,96 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[90, 36], Operations: ['32+20=52', '88-52=36']
Exploring Operation: 90*36=3240, Resulting Numbers: [3240]
3240,96 unequal: No Solution
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 90+36=126, Resulting Numbers: [126]
126,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[88, 38], Operations: ['32+20=52', '90-52=38']
Exploring Operation: 88+38=126, Resulting Numbers: [126]
126,96 unequal: No Solution
Exploring Operation: 88*38=3344, Resulting Numbers: [3344]
3344,96 unequal: No Solution
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,96 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
20,
60,
24,
20
] | 16 | [
"20+20=40",
"24*40=960",
"960/60=16"
] | Current State: 16:[20, 60, 24, 20], Operations: []
Exploring Operation: 20+20=40, Resulting Numbers: [60, 24, 40]
Generated Node #2: [60, 24, 40] from Operation: 20+20=40
Current State: 16:[60, 24, 40], Operations: ['20+20=40']
Exploring Operation: 24*40=960, Resulting Numbers: [60, 960]
Generated Node #3: [60, 960] from Operation: 24*40=960
Current State: 16:[60, 960], Operations: ['20+20=40', '24*40=960']
Exploring Operation: 960/60=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[20, 60, 24, 20], Operations: []
Exploring Operation: 60/20=3, Resulting Numbers: [20, 24, 3]
Generated Node #0,0: 16:[20, 24, 3] Operation: 60/20=3
Exploring Operation: 60/20=3, Resulting Numbers: [24, 20, 3]
Generated Node #0,1: 16:[24, 20, 3] Operation: 60/20=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[20, 24, 3], Operations: ['60/20=3']
Exploring Operation: 24/3=8, Resulting Numbers: [20, 8]
Generated Node #0,0,0: 16:[20, 8] Operation: 24/3=8
Exploring Operation: 24-20=4, Resulting Numbers: [3, 4]
Generated Node #0,0,1: 16:[3, 4] Operation: 24-20=4
Moving to Node #0,0,1
Current State: 16:[3, 4], Operations: ['60/20=3', '24-20=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[20, 8], Operations: ['60/20=3', '24/3=8']
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,16 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[24, 20, 3], Operations: ['60/20=3']
Exploring Operation: 24/3=8, Resulting Numbers: [20, 8]
Generated Node #0,1,0: 16:[20, 8] Operation: 24/3=8
Exploring Operation: 24-20=4, Resulting Numbers: [3, 4]
Generated Node #0,1,1: 16:[3, 4] Operation: 24-20=4
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 16:[3, 4], Operations: ['60/20=3', '24-20=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[20, 8], Operations: ['60/20=3', '24/3=8']
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,16 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
45,
65,
72,
99
] | 39 | [
"99-72=27",
"65*27=1755",
"1755/45=39"
] | Current State: 39:[45, 65, 72, 99], Operations: []
Exploring Operation: 99-72=27, Resulting Numbers: [45, 65, 27]
Generated Node #2: [45, 65, 27] from Operation: 99-72=27
Current State: 39:[45, 65, 27], Operations: ['99-72=27']
Exploring Operation: 65*27=1755, Resulting Numbers: [45, 1755]
Generated Node #3: [45, 1755] from Operation: 65*27=1755
Current State: 39:[45, 1755], Operations: ['99-72=27', '65*27=1755']
Exploring Operation: 1755/45=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[45, 65, 72, 99], Operations: []
Exploring Operation: 99-65=34, Resulting Numbers: [45, 72, 34]
Generated Node #0,0: 39:[45, 72, 34] Operation: 99-65=34
Exploring Operation: 72-65=7, Resulting Numbers: [45, 99, 7]
Generated Node #0,1: 39:[45, 99, 7] Operation: 72-65=7
Exploring Operation: 99-72=27, Resulting Numbers: [45, 65, 27]
Generated Node #0,2: 39:[45, 65, 27] Operation: 99-72=27
Exploring Operation: 99-45=54, Resulting Numbers: [65, 72, 54]
Generated Node #0,3: 39:[65, 72, 54] Operation: 99-45=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[45, 72, 34], Operations: ['99-65=34']
Exploring Operation: 45+34=79, Resulting Numbers: [72, 79]
Generated Node #0,0,0: 39:[72, 79] Operation: 45+34=79
Exploring Operation: 72-34=38, Resulting Numbers: [45, 38]
Generated Node #0,0,1: 39:[45, 38] Operation: 72-34=38
Exploring Operation: 72-45=27, Resulting Numbers: [34, 27]
Generated Node #0,0,2: 39:[34, 27] Operation: 72-45=27
Exploring Operation: 45-34=11, Resulting Numbers: [72, 11]
Generated Node #0,0,3: 39:[72, 11] Operation: 45-34=11
Moving to Node #0,0,1
Current State: 39:[45, 38], Operations: ['99-65=34', '72-34=38']
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 45*38=1710, Resulting Numbers: [1710]
1710,39 unequal: No Solution
Exploring Operation: 45+38=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[34, 27], Operations: ['99-65=34', '72-45=27']
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,39 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 34*27=918, Resulting Numbers: [918]
918,39 unequal: No Solution
Moving to Node #0,0,3
Current State: 39:[72, 11], Operations: ['99-65=34', '45-34=11']
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,39 unequal: No Solution
Exploring Operation: 72*11=792, Resulting Numbers: [792]
792,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[72, 79], Operations: ['99-65=34', '45+34=79']
Exploring Operation: 79-72=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 72*79=5688, Resulting Numbers: [5688]
5688,39 unequal: No Solution
Exploring Operation: 72+79=151, Resulting Numbers: [151]
151,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[45, 65, 27], Operations: ['99-72=27']
Exploring Operation: 45-27=18, Resulting Numbers: [65, 18]
Generated Node #0,2,0: 39:[65, 18] Operation: 45-27=18
Exploring Operation: 65-27=38, Resulting Numbers: [45, 38]
Generated Node #0,2,1: 39:[45, 38] Operation: 65-27=38
Exploring Operation: 65-45=20, Resulting Numbers: [27, 20]
Generated Node #0,2,2: 39:[27, 20] Operation: 65-45=20
Exploring Operation: 45+27=72, Resulting Numbers: [65, 72]
Generated Node #0,2,3: 39:[65, 72] Operation: 45+27=72
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 39:[45, 38], Operations: ['99-72=27', '65-27=38']
Exploring Operation: 45+38=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 45*38=1710, Resulting Numbers: [1710]
1710,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 39:[27, 20], Operations: ['99-72=27', '65-45=20']
Exploring Operation: 27*20=540, Resulting Numbers: [540]
540,39 unequal: No Solution
Exploring Operation: 27+20=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 39:[65, 18], Operations: ['99-72=27', '45-27=18']
Exploring Operation: 65*18=1170, Resulting Numbers: [1170]
1170,39 unequal: No Solution
Exploring Operation: 65+18=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 65-18=47, Resulting Numbers: [47]
47,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 39:[65, 72], Operations: ['99-72=27', '45+27=72']
Exploring Operation: 65+72=137, Resulting Numbers: [137]
137,39 unequal: No Solution
Exploring Operation: 72-65=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 65*72=4680, Resulting Numbers: [4680]
4680,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[45, 99, 7], Operations: ['72-65=7']
Exploring Operation: 45+7=52, Resulting Numbers: [99, 52]
Generated Node #0,1,0: 39:[99, 52] Operation: 45+7=52
Exploring Operation: 99-7=92, Resulting Numbers: [45, 92]
Generated Node #0,1,1: 39:[45, 92] Operation: 99-7=92
Exploring Operation: 99-45=54, Resulting Numbers: [7, 54]
Generated Node #0,1,2: 39:[7, 54] Operation: 99-45=54
Exploring Operation: 45-7=38, Resulting Numbers: [99, 38]
Generated Node #0,1,3: 39:[99, 38] Operation: 45-7=38
Moving to Node #0,1,2
Current State: 39:[7, 54], Operations: ['72-65=7', '99-45=54']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 7+54=61, Resulting Numbers: [61]
61,39 unequal: No Solution
Exploring Operation: 7*54=378, Resulting Numbers: [378]
378,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[45, 92], Operations: ['72-65=7', '99-7=92']
Exploring Operation: 45*92=4140, Resulting Numbers: [4140]
4140,39 unequal: No Solution
Exploring Operation: 45+92=137, Resulting Numbers: [137]
137,39 unequal: No Solution
Exploring Operation: 92-45=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Moving to Node #0,1,3
Current State: 39:[99, 38], Operations: ['72-65=7', '45-7=38']
Exploring Operation: 99-38=61, Resulting Numbers: [61]
61,39 unequal: No Solution
Exploring Operation: 99*38=3762, Resulting Numbers: [3762]
3762,39 unequal: No Solution
Exploring Operation: 99+38=137, Resulting Numbers: [137]
137,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[99, 52], Operations: ['72-65=7', '45+7=52']
Exploring Operation: 99+52=151, Resulting Numbers: [151]
151,39 unequal: No Solution
Exploring Operation: 99-52=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 99*52=5148, Resulting Numbers: [5148]
5148,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[65, 72, 54], Operations: ['99-45=54']
Exploring Operation: 65-54=11, Resulting Numbers: [72, 11]
Generated Node #0,3,0: 39:[72, 11] Operation: 65-54=11
Exploring Operation: 72-65=7, Resulting Numbers: [54, 7]
Generated Node #0,3,1: 39:[54, 7] Operation: 72-65=7
Exploring Operation: 72-54=18, Resulting Numbers: [65, 18]
Generated Node #0,3,2: 39:[65, 18] Operation: 72-54=18
Exploring Operation: 65+72=137, Resulting Numbers: [54, 137]
Generated Node #0,3,3: 39:[54, 137] Operation: 65+72=137
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 39:[54, 7], Operations: ['99-45=54', '72-65=7']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,39 unequal: No Solution
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 39:[65, 18], Operations: ['99-45=54', '72-54=18']
Exploring Operation: 65+18=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 65*18=1170, Resulting Numbers: [1170]
1170,39 unequal: No Solution
Exploring Operation: 65-18=47, Resulting Numbers: [47]
47,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 39:[72, 11], Operations: ['99-45=54', '65-54=11']
Exploring Operation: 72*11=792, Resulting Numbers: [792]
792,39 unequal: No Solution
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 39:[54, 137], Operations: ['99-45=54', '65+72=137']
Exploring Operation: 137-54=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 54*137=7398, Resulting Numbers: [7398]
7398,39 unequal: No Solution
Exploring Operation: 54+137=191, Resulting Numbers: [191]
191,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
56,
18,
34,
42
] | 39 | [
"18+34=52",
"42*52=2184",
"2184/56=39"
] | Current State: 39:[56, 18, 34, 42], Operations: []
Exploring Operation: 18+34=52, Resulting Numbers: [56, 42, 52]
Generated Node #2: [56, 42, 52] from Operation: 18+34=52
Current State: 39:[56, 42, 52], Operations: ['18+34=52']
Exploring Operation: 42*52=2184, Resulting Numbers: [56, 2184]
Generated Node #3: [56, 2184] from Operation: 42*52=2184
Current State: 39:[56, 2184], Operations: ['18+34=52', '42*52=2184']
Exploring Operation: 2184/56=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[56, 18, 34, 42], Operations: []
Exploring Operation: 56-42=14, Resulting Numbers: [18, 34, 14]
Generated Node #0,0: 39:[18, 34, 14] Operation: 56-42=14
Exploring Operation: 34-18=16, Resulting Numbers: [56, 42, 16]
Generated Node #0,1: 39:[56, 42, 16] Operation: 34-18=16
Exploring Operation: 56-18=38, Resulting Numbers: [34, 42, 38]
Generated Node #0,2: 39:[34, 42, 38] Operation: 56-18=38
Exploring Operation: 56-34=22, Resulting Numbers: [18, 42, 22]
Generated Node #0,3: 39:[18, 42, 22] Operation: 56-34=22
Exploring Operation: 42-34=8, Resulting Numbers: [56, 18, 8]
Generated Node #0,4: 39:[56, 18, 8] Operation: 42-34=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[34, 42, 38], Operations: ['56-18=38']
Exploring Operation: 42-38=4, Resulting Numbers: [34, 4]
Generated Node #0,2,0: 39:[34, 4] Operation: 42-38=4
Exploring Operation: 34+38=72, Resulting Numbers: [42, 72]
Generated Node #0,2,1: 39:[42, 72] Operation: 34+38=72
Exploring Operation: 38-34=4, Resulting Numbers: [42, 4]
Generated Node #0,2,2: 39:[42, 4] Operation: 38-34=4
Exploring Operation: 34+42=76, Resulting Numbers: [38, 76]
Generated Node #0,2,3: 39:[38, 76] Operation: 34+42=76
Exploring Operation: 42-34=8, Resulting Numbers: [38, 8]
Generated Node #0,2,4: 39:[38, 8] Operation: 42-34=8
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 39:[42, 4], Operations: ['56-18=38', '38-34=4']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 42*4=168, Resulting Numbers: [168]
168,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 39:[34, 4], Operations: ['56-18=38', '42-38=4']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,39 unequal: No Solution
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 39:[38, 8], Operations: ['56-18=38', '42-34=8']
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,39 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 39:[42, 72], Operations: ['56-18=38', '34+38=72']
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 42*72=3024, Resulting Numbers: [3024]
3024,39 unequal: No Solution
Exploring Operation: 42+72=114, Resulting Numbers: [114]
114,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 39:[38, 76], Operations: ['56-18=38', '34+42=76']
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 38+76=114, Resulting Numbers: [114]
114,39 unequal: No Solution
Exploring Operation: 38*76=2888, Resulting Numbers: [2888]
2888,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[18, 34, 14], Operations: ['56-42=14']
Exploring Operation: 18+14=32, Resulting Numbers: [34, 32]
Generated Node #0,0,0: 39:[34, 32] Operation: 18+14=32
Exploring Operation: 34-18=16, Resulting Numbers: [14, 16]
Generated Node #0,0,1: 39:[14, 16] Operation: 34-18=16
Exploring Operation: 18-14=4, Resulting Numbers: [34, 4]
Generated Node #0,0,2: 39:[34, 4] Operation: 18-14=4
Exploring Operation: 34-14=20, Resulting Numbers: [18, 20]
Generated Node #0,0,3: 39:[18, 20] Operation: 34-14=20
Exploring Operation: 18+34=52, Resulting Numbers: [14, 52]
Generated Node #0,0,4: 39:[14, 52] Operation: 18+34=52
Moving to Node #0,0,1
Current State: 39:[14, 16], Operations: ['56-42=14', '34-18=16']
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 14*16=224, Resulting Numbers: [224]
224,39 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[34, 4], Operations: ['56-42=14', '18-14=4']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[34, 32], Operations: ['56-42=14', '18+14=32']
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,39 unequal: No Solution
Exploring Operation: 34*32=1088, Resulting Numbers: [1088]
1088,39 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Moving to Node #0,0,3
Current State: 39:[18, 20], Operations: ['56-42=14', '34-14=20']
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,39 unequal: No Solution
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Moving to Node #0,0,4
Current State: 39:[14, 52], Operations: ['56-42=14', '18+34=52']
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,39 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[18, 42, 22], Operations: ['56-34=22']
Exploring Operation: 42-18=24, Resulting Numbers: [22, 24]
Generated Node #0,3,0: 39:[22, 24] Operation: 42-18=24
Exploring Operation: 42-22=20, Resulting Numbers: [18, 20]
Generated Node #0,3,1: 39:[18, 20] Operation: 42-22=20
Exploring Operation: 22-18=4, Resulting Numbers: [42, 4]
Generated Node #0,3,2: 39:[42, 4] Operation: 22-18=4
Exploring Operation: 18+42=60, Resulting Numbers: [22, 60]
Generated Node #0,3,3: 39:[22, 60] Operation: 18+42=60
Exploring Operation: 18+22=40, Resulting Numbers: [42, 40]
Generated Node #0,3,4: 39:[42, 40] Operation: 18+22=40
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 39:[42, 4], Operations: ['56-34=22', '22-18=4']
Exploring Operation: 42*4=168, Resulting Numbers: [168]
168,39 unequal: No Solution
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 39:[42, 40], Operations: ['56-34=22', '18+22=40']
Exploring Operation: 42*40=1680, Resulting Numbers: [1680]
1680,39 unequal: No Solution
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 39:[18, 20], Operations: ['56-34=22', '42-22=20']
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,39 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 39:[22, 24], Operations: ['56-34=22', '42-18=24']
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 22*24=528, Resulting Numbers: [528]
528,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 39:[22, 60], Operations: ['56-34=22', '18+42=60']
Exploring Operation: 22*60=1320, Resulting Numbers: [1320]
1320,39 unequal: No Solution
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 22+60=82, Resulting Numbers: [82]
82,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[56, 42, 16], Operations: ['34-18=16']
Exploring Operation: 42-16=26, Resulting Numbers: [56, 26]
Generated Node #0,1,0: 39:[56, 26] Operation: 42-16=26
Exploring Operation: 56-16=40, Resulting Numbers: [42, 40]
Generated Node #0,1,1: 39:[42, 40] Operation: 56-16=40
Exploring Operation: 56-42=14, Resulting Numbers: [16, 14]
Generated Node #0,1,2: 39:[16, 14] Operation: 56-42=14
Exploring Operation: 56+16=72, Resulting Numbers: [42, 72]
Generated Node #0,1,3: 39:[42, 72] Operation: 56+16=72
Exploring Operation: 42+16=58, Resulting Numbers: [56, 58]
Generated Node #0,1,4: 39:[56, 58] Operation: 42+16=58
Moving to Node #0,1,1
Current State: 39:[42, 40], Operations: ['34-18=16', '56-16=40']
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 42*40=1680, Resulting Numbers: [1680]
1680,39 unequal: No Solution
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[16, 14], Operations: ['34-18=16', '56-42=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[56, 26], Operations: ['34-18=16', '42-16=26']
Exploring Operation: 56+26=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 56*26=1456, Resulting Numbers: [1456]
1456,39 unequal: No Solution
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Moving to Node #0,1,3
Current State: 39:[42, 72], Operations: ['34-18=16', '56+16=72']
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 42+72=114, Resulting Numbers: [114]
114,39 unequal: No Solution
Exploring Operation: 42*72=3024, Resulting Numbers: [3024]
3024,39 unequal: No Solution
Moving to Node #0,1,4
Current State: 39:[56, 58], Operations: ['34-18=16', '42+16=58']
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 56*58=3248, Resulting Numbers: [3248]
3248,39 unequal: No Solution
Exploring Operation: 56+58=114, Resulting Numbers: [114]
114,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 39:[56, 18, 8], Operations: ['42-34=8']
Exploring Operation: 56-18=38, Resulting Numbers: [8, 38]
Generated Node #0,4,0: 39:[8, 38] Operation: 56-18=38
Exploring Operation: 18-8=10, Resulting Numbers: [56, 10]
Generated Node #0,4,1: 39:[56, 10] Operation: 18-8=10
Exploring Operation: 56/8=7, Resulting Numbers: [18, 7]
Generated Node #0,4,2: 39:[18, 7] Operation: 56/8=7
Exploring Operation: 56-8=48, Resulting Numbers: [18, 48]
Generated Node #0,4,3: 39:[18, 48] Operation: 56-8=48
Exploring Operation: 56+8=64, Resulting Numbers: [18, 64]
Generated Node #0,4,4: 39:[18, 64] Operation: 56+8=64
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 39:[8, 38], Operations: ['42-34=8', '56-18=38']
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 39:[18, 7], Operations: ['42-34=8', '56/8=7']
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,39 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 39:[18, 48], Operations: ['42-34=8', '56-8=48']
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 18*48=864, Resulting Numbers: [864]
864,39 unequal: No Solution
Exploring Operation: 18+48=66, Resulting Numbers: [66]
66,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 39:[56, 10], Operations: ['42-34=8', '18-8=10']
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,39 unequal: No Solution
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,39 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 39:[18, 64], Operations: ['42-34=8', '56+8=64']
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 18*64=1152, Resulting Numbers: [1152]
1152,39 unequal: No Solution
Exploring Operation: 18+64=82, Resulting Numbers: [82]
82,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
44,
84,
21,
3
] | 22 | [
"84-44=40",
"21-3=18",
"40-18=22"
] | Current State: 22:[44, 84, 21, 3], Operations: []
Exploring Operation: 84-44=40, Resulting Numbers: [21, 3, 40]
Generated Node #2: [21, 3, 40] from Operation: 84-44=40
Current State: 22:[21, 3, 40], Operations: ['84-44=40']
Exploring Operation: 21-3=18, Resulting Numbers: [40, 18]
Generated Node #3: [40, 18] from Operation: 21-3=18
Current State: 22:[40, 18], Operations: ['84-44=40', '21-3=18']
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[44, 84, 21, 3], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [44, 21, 28]
Generated Node #0,0: 22:[44, 21, 28] Operation: 84/3=28
Exploring Operation: 84-44=40, Resulting Numbers: [21, 3, 40]
Generated Node #0,1: 22:[21, 3, 40] Operation: 84-44=40
Exploring Operation: 84/21=4, Resulting Numbers: [44, 3, 4]
Generated Node #0,2: 22:[44, 3, 4] Operation: 84/21=4
Moving to Node #0,1
Current State: 22:[21, 3, 40], Operations: ['84-44=40']
Exploring Operation: 40-21=19, Resulting Numbers: [3, 19]
Generated Node #0,1,0: 22:[3, 19] Operation: 40-21=19
Exploring Operation: 21+3=24, Resulting Numbers: [40, 24]
Generated Node #0,1,1: 22:[40, 24] Operation: 21+3=24
Exploring Operation: 40-3=37, Resulting Numbers: [21, 37]
Generated Node #0,1,2: 22:[21, 37] Operation: 40-3=37
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[3, 19], Operations: ['84-44=40', '40-21=19']
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[44, 84, 21, 3], Operations: []
Exploring Operation: 84-44=40, Resulting Numbers: [21, 3, 40]
Generated Node #0,1: 22:[21, 3, 40] Operation: 84-44=40
Moving to Node #0,1
Current State: 22:[21, 3, 40], Operations: ['84-44=40']
Exploring Operation: 40-21=19, Resulting Numbers: [3, 19]
Generated Node #0,1,0: 22:[3, 19] Operation: 40-21=19
Moving to Node #0,1,0
Current State: 22:[3, 19], Operations: ['84-44=40', '40-21=19']
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
45,
67,
69,
21
] | 69 | [
"67-45=22",
"22-21=1",
"69*1=69"
] | Current State: 69:[45, 67, 69, 21], Operations: []
Exploring Operation: 67-45=22, Resulting Numbers: [69, 21, 22]
Generated Node #2: [69, 21, 22] from Operation: 67-45=22
Current State: 69:[69, 21, 22], Operations: ['67-45=22']
Exploring Operation: 22-21=1, Resulting Numbers: [69, 1]
Generated Node #3: [69, 1] from Operation: 22-21=1
Current State: 69:[69, 1], Operations: ['67-45=22', '22-21=1']
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[45, 67, 69, 21], Operations: []
Exploring Operation: 67-45=22, Resulting Numbers: [69, 21, 22]
Generated Node #0,0: 69:[69, 21, 22] Operation: 67-45=22
Exploring Operation: 45-21=24, Resulting Numbers: [67, 69, 24]
Generated Node #0,1: 69:[67, 69, 24] Operation: 45-21=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[69, 21, 22], Operations: ['67-45=22']
Exploring Operation: 22-21=1, Resulting Numbers: [69, 1]
Generated Node #0,0,0: 69:[69, 1] Operation: 22-21=1
Exploring Operation: 21+22=43, Resulting Numbers: [69, 43]
Generated Node #0,0,1: 69:[69, 43] Operation: 21+22=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[69, 1], Operations: ['67-45=22', '22-21=1']
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[45, 67, 69, 21], Operations: []
Exploring Operation: 67-45=22, Resulting Numbers: [69, 21, 22]
Generated Node #0,0: 69:[69, 21, 22] Operation: 67-45=22
Moving to Node #0,0
Current State: 69:[69, 21, 22], Operations: ['67-45=22']
Exploring Operation: 22-21=1, Resulting Numbers: [69, 1]
Generated Node #0,0,0: 69:[69, 1] Operation: 22-21=1
Moving to Node #0,0,0
Current State: 69:[69, 1], Operations: ['67-45=22', '22-21=1']
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
36,
50,
70,
57
] | 99 | [
"36+50=86",
"70-57=13",
"86+13=99"
] | Current State: 99:[36, 50, 70, 57], Operations: []
Exploring Operation: 36+50=86, Resulting Numbers: [70, 57, 86]
Generated Node #2: [70, 57, 86] from Operation: 36+50=86
Current State: 99:[70, 57, 86], Operations: ['36+50=86']
Exploring Operation: 70-57=13, Resulting Numbers: [86, 13]
Generated Node #3: [86, 13] from Operation: 70-57=13
Current State: 99:[86, 13], Operations: ['36+50=86', '70-57=13']
Exploring Operation: 86+13=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[36, 50, 70, 57], Operations: []
Exploring Operation: 70-50=20, Resulting Numbers: [36, 57, 20]
Generated Node #0,0: 99:[36, 57, 20] Operation: 70-50=20
Exploring Operation: 57-50=7, Resulting Numbers: [36, 70, 7]
Generated Node #0,1: 99:[36, 70, 7] Operation: 57-50=7
Exploring Operation: 50+57=107, Resulting Numbers: [36, 70, 107]
Generated Node #0,2: 99:[36, 70, 107] Operation: 50+57=107
Exploring Operation: 70-57=13, Resulting Numbers: [36, 50, 13]
Generated Node #0,3: 99:[36, 50, 13] Operation: 70-57=13
Moving to Node #0,3
Current State: 99:[36, 50, 13], Operations: ['70-57=13']
Exploring Operation: 36-13=23, Resulting Numbers: [50, 23]
Generated Node #0,3,0: 99:[50, 23] Operation: 36-13=23
Exploring Operation: 50-36=14, Resulting Numbers: [13, 14]
Generated Node #0,3,1: 99:[13, 14] Operation: 50-36=14
Exploring Operation: 50-13=37, Resulting Numbers: [36, 37]
Generated Node #0,3,2: 99:[36, 37] Operation: 50-13=37
Exploring Operation: 36+50=86, Resulting Numbers: [13, 86]
Generated Node #0,3,3: 99:[13, 86] Operation: 36+50=86
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 99:[13, 14], Operations: ['70-57=13', '50-36=14']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,99 unequal: No Solution
Exploring Operation: 13*14=182, Resulting Numbers: [182]
182,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 99:[36, 37], Operations: ['70-57=13', '50-13=37']
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 36*37=1332, Resulting Numbers: [1332]
1332,99 unequal: No Solution
Exploring Operation: 36+37=73, Resulting Numbers: [73]
73,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 99:[13, 86], Operations: ['70-57=13', '36+50=86']
Exploring Operation: 86-13=73, Resulting Numbers: [73]
73,99 unequal: No Solution
Exploring Operation: 13*86=1118, Resulting Numbers: [1118]
1118,99 unequal: No Solution
Exploring Operation: 13+86=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[36, 50, 70, 57], Operations: []
Exploring Operation: 70-57=13, Resulting Numbers: [36, 50, 13]
Generated Node #0,3: 99:[36, 50, 13] Operation: 70-57=13
Moving to Node #0,3
Current State: 99:[36, 50, 13], Operations: ['70-57=13']
Exploring Operation: 36+50=86, Resulting Numbers: [13, 86]
Generated Node #0,3,3: 99:[13, 86] Operation: 36+50=86
Moving to Node #0,3,3
Current State: 99:[13, 86], Operations: ['70-57=13', '36+50=86']
Exploring Operation: 13+86=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
22,
10,
70,
98
] | 14 | [
"22-10=12",
"70+98=168",
"168/12=14"
] | Current State: 14:[22, 10, 70, 98], Operations: []
Exploring Operation: 22-10=12, Resulting Numbers: [70, 98, 12]
Generated Node #2: [70, 98, 12] from Operation: 22-10=12
Current State: 14:[70, 98, 12], Operations: ['22-10=12']
Exploring Operation: 70+98=168, Resulting Numbers: [12, 168]
Generated Node #3: [12, 168] from Operation: 70+98=168
Current State: 14:[12, 168], Operations: ['22-10=12', '70+98=168']
Exploring Operation: 168/12=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[22, 10, 70, 98], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [22, 98, 7]
Generated Node #0,0: 14:[22, 98, 7] Operation: 70/10=7
Exploring Operation: 98-70=28, Resulting Numbers: [22, 10, 28]
Generated Node #0,1: 14:[22, 10, 28] Operation: 98-70=28
Exploring Operation: 98-22=76, Resulting Numbers: [10, 70, 76]
Generated Node #0,2: 14:[10, 70, 76] Operation: 98-22=76
Exploring Operation: 70-22=48, Resulting Numbers: [10, 98, 48]
Generated Node #0,3: 14:[10, 98, 48] Operation: 70-22=48
Exploring Operation: 70-10=60, Resulting Numbers: [22, 98, 60]
Generated Node #0,4: 14:[22, 98, 60] Operation: 70-10=60
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[22, 10, 28], Operations: ['98-70=28']
Exploring Operation: 10+28=38, Resulting Numbers: [22, 38]
Generated Node #0,1,0: 14:[22, 38] Operation: 10+28=38
Exploring Operation: 22+10=32, Resulting Numbers: [28, 32]
Generated Node #0,1,1: 14:[28, 32] Operation: 22+10=32
Exploring Operation: 22-10=12, Resulting Numbers: [28, 12]
Generated Node #0,1,2: 14:[28, 12] Operation: 22-10=12
Exploring Operation: 28-22=6, Resulting Numbers: [10, 6]
Generated Node #0,1,3: 14:[10, 6] Operation: 28-22=6
Exploring Operation: 28-10=18, Resulting Numbers: [22, 18]
Generated Node #0,1,4: 14:[22, 18] Operation: 28-10=18
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 14:[10, 6], Operations: ['98-70=28', '28-22=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,14 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 14:[22, 18], Operations: ['98-70=28', '28-10=18']
Exploring Operation: 22*18=396, Resulting Numbers: [396]
396,14 unequal: No Solution
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 14:[28, 12], Operations: ['98-70=28', '22-10=12']
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,14 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,14 unequal: No Solution
No 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: 14:[22, 38], Operations: ['98-70=28', '10+28=38']
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,14 unequal: No Solution
Exploring Operation: 22*38=836, Resulting Numbers: [836]
836,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 14:[28, 32], Operations: ['98-70=28', '22+10=32']
Exploring Operation: 28*32=896, Resulting Numbers: [896]
896,14 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[22, 98, 7], Operations: ['70/10=7']
Exploring Operation: 98-22=76, Resulting Numbers: [7, 76]
Generated Node #0,0,0: 14:[7, 76] Operation: 98-22=76
Exploring Operation: 98/7=14, Resulting Numbers: [22, 14]
Generated Node #0,0,1: 14:[22, 14] Operation: 98/7=14
Exploring Operation: 22+7=29, Resulting Numbers: [98, 29]
Generated Node #0,0,2: 14:[98, 29] Operation: 22+7=29
Exploring Operation: 22-7=15, Resulting Numbers: [98, 15]
Generated Node #0,0,3: 14:[98, 15] Operation: 22-7=15
Exploring Operation: 98-7=91, Resulting Numbers: [22, 91]
Generated Node #0,0,4: 14:[22, 91] Operation: 98-7=91
Moving to Node #0,0,1
Current State: 14:[22, 14], Operations: ['70/10=7', '98/7=14']
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,14 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[7, 76], Operations: ['70/10=7', '98-22=76']
Exploring Operation: 7*76=532, Resulting Numbers: [532]
532,14 unequal: No Solution
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 7+76=83, Resulting Numbers: [83]
83,14 unequal: No Solution
Moving to Node #0,0,3
Current State: 14:[98, 15], Operations: ['70/10=7', '22-7=15']
Exploring Operation: 98*15=1470, Resulting Numbers: [1470]
1470,14 unequal: No Solution
Exploring Operation: 98+15=113, Resulting Numbers: [113]
113,14 unequal: No Solution
Exploring Operation: 98-15=83, Resulting Numbers: [83]
83,14 unequal: No Solution
Moving to Node #0,0,4
Current State: 14:[22, 91], Operations: ['70/10=7', '98-7=91']
Exploring Operation: 22+91=113, Resulting Numbers: [113]
113,14 unequal: No Solution
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 22*91=2002, Resulting Numbers: [2002]
2002,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[98, 29], Operations: ['70/10=7', '22+7=29']
Exploring Operation: 98+29=127, Resulting Numbers: [127]
127,14 unequal: No Solution
Exploring Operation: 98*29=2842, Resulting Numbers: [2842]
2842,14 unequal: No Solution
Exploring Operation: 98-29=69, Resulting Numbers: [69]
69,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[10, 70, 76], Operations: ['98-22=76']
Exploring Operation: 76-70=6, Resulting Numbers: [10, 6]
Generated Node #0,2,0: 14:[10, 6] Operation: 76-70=6
Exploring Operation: 70/10=7, Resulting Numbers: [76, 7]
Generated Node #0,2,1: 14:[76, 7] Operation: 70/10=7
Exploring Operation: 10+70=80, Resulting Numbers: [76, 80]
Generated Node #0,2,2: 14:[76, 80] Operation: 10+70=80
Exploring Operation: 76-10=66, Resulting Numbers: [70, 66]
Generated Node #0,2,3: 14:[70, 66] Operation: 76-10=66
Exploring Operation: 70-10=60, Resulting Numbers: [76, 60]
Generated Node #0,2,4: 14:[76, 60] Operation: 70-10=60
Moving to Node #0,2,0
Current State: 14:[10, 6], Operations: ['98-22=76', '76-70=6']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,14 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[76, 7], Operations: ['98-22=76', '70/10=7']
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 76*7=532, Resulting Numbers: [532]
532,14 unequal: No Solution
Exploring Operation: 76+7=83, Resulting Numbers: [83]
83,14 unequal: No Solution
Moving to Node #0,2,3
Current State: 14:[70, 66], Operations: ['98-22=76', '76-10=66']
Exploring Operation: 70*66=4620, Resulting Numbers: [4620]
4620,14 unequal: No Solution
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 70+66=136, Resulting Numbers: [136]
136,14 unequal: No Solution
Moving to Node #0,2,4
Current State: 14:[76, 60], Operations: ['98-22=76', '70-10=60']
Exploring Operation: 76+60=136, Resulting Numbers: [136]
136,14 unequal: No Solution
Exploring Operation: 76*60=4560, Resulting Numbers: [4560]
4560,14 unequal: No Solution
Exploring Operation: 76-60=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[76, 80], Operations: ['98-22=76', '10+70=80']
Exploring Operation: 76*80=6080, Resulting Numbers: [6080]
6080,14 unequal: No Solution
Exploring Operation: 80-76=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 76+80=156, Resulting Numbers: [156]
156,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:[10, 98, 48], Operations: ['70-22=48']
Exploring Operation: 10+98=108, Resulting Numbers: [48, 108]
Generated Node #0,3,0: 14:[48, 108] Operation: 10+98=108
Exploring Operation: 48-10=38, Resulting Numbers: [98, 38]
Generated Node #0,3,1: 14:[98, 38] Operation: 48-10=38
Exploring Operation: 10+48=58, Resulting Numbers: [98, 58]
Generated Node #0,3,2: 14:[98, 58] Operation: 10+48=58
Exploring Operation: 98-48=50, Resulting Numbers: [10, 50]
Generated Node #0,3,3: 14:[10, 50] Operation: 98-48=50
Exploring Operation: 98-10=88, Resulting Numbers: [48, 88]
Generated Node #0,3,4: 14:[48, 88] Operation: 98-10=88
Moving to Node #0,3,3
Current State: 14:[10, 50], Operations: ['70-22=48', '98-48=50']
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 10+50=60, Resulting Numbers: [60]
60,14 unequal: No Solution
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 10*50=500, Resulting Numbers: [500]
500,14 unequal: No Solution
Moving to Node #0,3,4
Current State: 14:[48, 88], Operations: ['70-22=48', '98-10=88']
Exploring Operation: 88-48=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 48*88=4224, Resulting Numbers: [4224]
4224,14 unequal: No Solution
Exploring Operation: 48+88=136, Resulting Numbers: [136]
136,14 unequal: No Solution
Moving to Node #0,3,1
Current State: 14:[98, 38], Operations: ['70-22=48', '48-10=38']
Exploring Operation: 98*38=3724, Resulting Numbers: [3724]
3724,14 unequal: No Solution
Exploring Operation: 98-38=60, Resulting Numbers: [60]
60,14 unequal: No Solution
Exploring Operation: 98+38=136, Resulting Numbers: [136]
136,14 unequal: No Solution
Moving to Node #0,3,0
Current State: 14:[48, 108], Operations: ['70-22=48', '10+98=108']
Exploring Operation: 108-48=60, Resulting Numbers: [60]
60,14 unequal: No Solution
Exploring Operation: 48+108=156, Resulting Numbers: [156]
156,14 unequal: No Solution
Exploring Operation: 48*108=5184, Resulting Numbers: [5184]
5184,14 unequal: No Solution
Moving to Node #0,3,2
Current State: 14:[98, 58], Operations: ['70-22=48', '10+48=58']
Exploring Operation: 98-58=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 98*58=5684, Resulting Numbers: [5684]
5684,14 unequal: No Solution
Exploring Operation: 98+58=156, Resulting Numbers: [156]
156,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:[22, 98, 60], Operations: ['70-10=60']
Exploring Operation: 98-22=76, Resulting Numbers: [60, 76]
Generated Node #0,4,0: 14:[60, 76] Operation: 98-22=76
Exploring Operation: 60-22=38, Resulting Numbers: [98, 38]
Generated Node #0,4,1: 14:[98, 38] Operation: 60-22=38
Exploring Operation: 22+60=82, Resulting Numbers: [98, 82]
Generated Node #0,4,2: 14:[98, 82] Operation: 22+60=82
Exploring Operation: 22+98=120, Resulting Numbers: [60, 120]
Generated Node #0,4,3: 14:[60, 120] Operation: 22+98=120
Exploring Operation: 98-60=38, Resulting Numbers: [22, 38]
Generated Node #0,4,4: 14:[22, 38] Operation: 98-60=38
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 14:[22, 38], Operations: ['70-10=60', '98-60=38']
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,14 unequal: No Solution
Exploring Operation: 22*38=836, Resulting Numbers: [836]
836,14 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 14:[60, 76], Operations: ['70-10=60', '98-22=76']
Exploring Operation: 76-60=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 60*76=4560, Resulting Numbers: [4560]
4560,14 unequal: No Solution
Exploring Operation: 60+76=136, Resulting Numbers: [136]
136,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 14:[98, 38], Operations: ['70-10=60', '60-22=38']
Exploring Operation: 98+38=136, Resulting Numbers: [136]
136,14 unequal: No Solution
Exploring Operation: 98*38=3724, Resulting Numbers: [3724]
3724,14 unequal: No Solution
Exploring Operation: 98-38=60, Resulting Numbers: [60]
60,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 14:[98, 82], Operations: ['70-10=60', '22+60=82']
Exploring Operation: 98*82=8036, Resulting Numbers: [8036]
8036,14 unequal: No Solution
Exploring Operation: 98-82=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 98+82=180, Resulting Numbers: [180]
180,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 14:[60, 120], Operations: ['70-10=60', '22+98=120']
Exploring Operation: 60*120=7200, Resulting Numbers: [7200]
7200,14 unequal: No Solution
Exploring Operation: 120/60=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 120-60=60, Resulting Numbers: [60]
60,14 unequal: No Solution
Exploring Operation: 60+120=180, Resulting Numbers: [180]
180,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
77,
68,
84,
81
] | 75 | [
"77-68=9",
"81/9=9",
"84-9=75"
] | Current State: 75:[77, 68, 84, 81], Operations: []
Exploring Operation: 77-68=9, Resulting Numbers: [84, 81, 9]
Generated Node #2: [84, 81, 9] from Operation: 77-68=9
Current State: 75:[84, 81, 9], Operations: ['77-68=9']
Exploring Operation: 81/9=9, Resulting Numbers: [84, 9]
Generated Node #3: [84, 9] from Operation: 81/9=9
Current State: 75:[84, 9], Operations: ['77-68=9', '81/9=9']
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[77, 68, 84, 81], Operations: []
Exploring Operation: 84-68=16, Resulting Numbers: [77, 81, 16]
Generated Node #0,0: 75:[77, 81, 16] Operation: 84-68=16
Exploring Operation: 84-81=3, Resulting Numbers: [77, 68, 3]
Generated Node #0,1: 75:[77, 68, 3] Operation: 84-81=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[77, 81, 16], Operations: ['84-68=16']
Exploring Operation: 81-77=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 75:[16, 4] Operation: 81-77=4
Exploring Operation: 81-16=65, Resulting Numbers: [77, 65]
Generated Node #0,0,1: 75:[77, 65] Operation: 81-16=65
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[16, 4], Operations: ['84-68=16', '81-77=4']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,75 unequal: No Solution
No 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: 75:[77, 65], Operations: ['84-68=16', '81-16=65']
Exploring Operation: 77-65=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Exploring Operation: 77+65=142, Resulting Numbers: [142]
142,75 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: 75:[77, 68, 3], Operations: ['84-81=3']
Exploring Operation: 77-68=9, Resulting Numbers: [3, 9]
Generated Node #0,1,0: 75:[3, 9] Operation: 77-68=9
Exploring Operation: 68+3=71, Resulting Numbers: [77, 71]
Generated Node #0,1,1: 75:[77, 71] Operation: 68+3=71
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[3, 9], Operations: ['84-81=3', '77-68=9']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,75 unequal: No Solution
No 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: 75:[77, 71], Operations: ['84-81=3', '68+3=71']
Exploring Operation: 77-71=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 77+71=148, Resulting Numbers: [148]
148,75 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 |
[
5,
66,
91,
47
] | 27 | [
"5+66=71",
"91-47=44",
"71-44=27"
] | Current State: 27:[5, 66, 91, 47], Operations: []
Exploring Operation: 5+66=71, Resulting Numbers: [91, 47, 71]
Generated Node #2: [91, 47, 71] from Operation: 5+66=71
Current State: 27:[91, 47, 71], Operations: ['5+66=71']
Exploring Operation: 91-47=44, Resulting Numbers: [71, 44]
Generated Node #3: [71, 44] from Operation: 91-47=44
Current State: 27:[71, 44], Operations: ['5+66=71', '91-47=44']
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[5, 66, 91, 47], Operations: []
Exploring Operation: 66-5=61, Resulting Numbers: [91, 47, 61]
Generated Node #0,0: 27:[91, 47, 61] Operation: 66-5=61
Exploring Operation: 66-47=19, Resulting Numbers: [5, 91, 19]
Generated Node #0,1: 27:[5, 91, 19] Operation: 66-47=19
Exploring Operation: 91-66=25, Resulting Numbers: [5, 47, 25]
Generated Node #0,2: 27:[5, 47, 25] Operation: 91-66=25
Exploring Operation: 91-47=44, Resulting Numbers: [5, 66, 44]
Generated Node #0,3: 27:[5, 66, 44] Operation: 91-47=44
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[5, 47, 25], Operations: ['91-66=25']
Exploring Operation: 47-5=42, Resulting Numbers: [25, 42]
Generated Node #0,2,0: 27:[25, 42] Operation: 47-5=42
Exploring Operation: 25/5=5, Resulting Numbers: [47, 5]
Generated Node #0,2,1: 27:[47, 5] Operation: 25/5=5
Exploring Operation: 5+25=30, Resulting Numbers: [47, 30]
Generated Node #0,2,2: 27:[47, 30] Operation: 5+25=30
Exploring Operation: 47-25=22, Resulting Numbers: [5, 22]
Generated Node #0,2,3: 27:[5, 22] Operation: 47-25=22
Moving to Node #0,2,3
Current State: 27:[5, 22], Operations: ['91-66=25', '47-25=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[5, 66, 91, 47], Operations: []
Exploring Operation: 91-66=25, Resulting Numbers: [5, 47, 25]
Generated Node #0,2: 27:[5, 47, 25] Operation: 91-66=25
Moving to Node #0,2
Current State: 27:[5, 47, 25], Operations: ['91-66=25']
Exploring Operation: 47-25=22, Resulting Numbers: [5, 22]
Generated Node #0,2,3: 27:[5, 22] Operation: 47-25=22
Moving to Node #0,2,3
Current State: 27:[5, 22], Operations: ['91-66=25', '47-25=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
3,
54,
4,
87
] | 75 | [
"87-3=84",
"84/4=21",
"54+21=75"
] | Current State: 75:[3, 54, 4, 87], Operations: []
Exploring Operation: 87-3=84, Resulting Numbers: [54, 4, 84]
Generated Node #2: [54, 4, 84] from Operation: 87-3=84
Current State: 75:[54, 4, 84], Operations: ['87-3=84']
Exploring Operation: 84/4=21, Resulting Numbers: [54, 21]
Generated Node #3: [54, 21] from Operation: 84/4=21
Current State: 75:[54, 21], Operations: ['87-3=84', '84/4=21']
Exploring Operation: 54+21=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[3, 54, 4, 87], Operations: []
Exploring Operation: 87-54=33, Resulting Numbers: [3, 4, 33]
Generated Node #0,0: 75:[3, 4, 33] Operation: 87-54=33
Exploring Operation: 54/3=18, Resulting Numbers: [4, 87, 18]
Generated Node #0,1: 75:[4, 87, 18] Operation: 54/3=18
Moving to Node #0,0
Current State: 75:[3, 4, 33], Operations: ['87-54=33']
Exploring Operation: 33-4=29, Resulting Numbers: [3, 29]
Generated Node #0,0,0: 75:[3, 29] Operation: 33-4=29
Exploring Operation: 33/3=11, Resulting Numbers: [4, 11]
Generated Node #0,0,1: 75:[4, 11] Operation: 33/3=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[3, 29], Operations: ['87-54=33', '33-4=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,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:[4, 11], Operations: ['87-54=33', '33/3=11']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,75 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: 75:[4, 87, 18], Operations: ['54/3=18']
Exploring Operation: 87-18=69, Resulting Numbers: [4, 69]
Generated Node #0,1,0: 75:[4, 69] Operation: 87-18=69
Exploring Operation: 87-4=83, Resulting Numbers: [18, 83]
Generated Node #0,1,1: 75:[18, 83] Operation: 87-4=83
Moving to Node #0,1,0
Current State: 75:[4, 69], Operations: ['54/3=18', '87-18=69']
Exploring Operation: 4+69=73, Resulting Numbers: [73]
73,75 unequal: No Solution
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[18, 83], Operations: ['54/3=18', '87-4=83']
Exploring Operation: 18+83=101, Resulting Numbers: [101]
101,75 unequal: No Solution
Exploring Operation: 83-18=65, Resulting Numbers: [65]
65,75 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
37,
30,
31,
98
] | 61 | [
"98-37=61",
"31-30=1",
"61*1=61"
] | Current State: 61:[37, 30, 31, 98], Operations: []
Exploring Operation: 98-37=61, Resulting Numbers: [30, 31, 61]
Generated Node #2: [30, 31, 61] from Operation: 98-37=61
Current State: 61:[30, 31, 61], Operations: ['98-37=61']
Exploring Operation: 31-30=1, Resulting Numbers: [61, 1]
Generated Node #3: [61, 1] from Operation: 31-30=1
Current State: 61:[61, 1], Operations: ['98-37=61', '31-30=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[37, 30, 31, 98], Operations: []
Exploring Operation: 98-37=61, Resulting Numbers: [30, 31, 61]
Generated Node #0,0: 61:[30, 31, 61] Operation: 98-37=61
Moving to Node #0,0
Current State: 61:[30, 31, 61], Operations: ['98-37=61']
Exploring Operation: 30+31=61, Resulting Numbers: [61, 61]
Generated Node #0,0,0: 61:[61, 61] Operation: 30+31=61
Moving to Node #0,0,0
Current State: 61:[61, 61], Operations: ['98-37=61', '30+31=61']
Exploring Operation: 61/61=1, Resulting Numbers: [1]
1,61 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
89,
88,
86,
33
] | 99 | [
"89-86=3",
"33/3=11",
"88+11=99"
] | Current State: 99:[89, 88, 86, 33], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [88, 33, 3]
Generated Node #2: [88, 33, 3] from Operation: 89-86=3
Current State: 99:[88, 33, 3], Operations: ['89-86=3']
Exploring Operation: 33/3=11, Resulting Numbers: [88, 11]
Generated Node #3: [88, 11] from Operation: 33/3=11
Current State: 99:[88, 11], Operations: ['89-86=3', '33/3=11']
Exploring Operation: 88+11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[89, 88, 86, 33], Operations: []
Exploring Operation: 86+33=119, Resulting Numbers: [89, 88, 119]
Generated Node #0,0: 99:[89, 88, 119] Operation: 86+33=119
Exploring Operation: 88-86=2, Resulting Numbers: [89, 33, 2]
Generated Node #0,1: 99:[89, 33, 2] Operation: 88-86=2
Exploring Operation: 89-86=3, Resulting Numbers: [88, 33, 3]
Generated Node #0,2: 99:[88, 33, 3] Operation: 89-86=3
Exploring Operation: 89-88=1, Resulting Numbers: [86, 33, 1]
Generated Node #0,3: 99:[86, 33, 1] Operation: 89-88=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[89, 33, 2], Operations: ['88-86=2']
Exploring Operation: 89-2=87, Resulting Numbers: [33, 87]
Generated Node #0,1,0: 99:[33, 87] Operation: 89-2=87
Exploring Operation: 89+2=91, Resulting Numbers: [33, 91]
Generated Node #0,1,1: 99:[33, 91] Operation: 89+2=91
Exploring Operation: 33-2=31, Resulting Numbers: [89, 31]
Generated Node #0,1,2: 99:[89, 31] Operation: 33-2=31
Exploring Operation: 33+2=35, Resulting Numbers: [89, 35]
Generated Node #0,1,3: 99:[89, 35] Operation: 33+2=35
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[33, 91], Operations: ['88-86=2', '89+2=91']
Exploring Operation: 91-33=58, Resulting Numbers: [58]
58,99 unequal: No Solution
Exploring Operation: 33+91=124, Resulting Numbers: [124]
124,99 unequal: No Solution
Exploring Operation: 33*91=3003, Resulting Numbers: [3003]
3003,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[33, 87], Operations: ['88-86=2', '89-2=87']
Exploring Operation: 33*87=2871, Resulting Numbers: [2871]
2871,99 unequal: No Solution
Exploring Operation: 87-33=54, Resulting Numbers: [54]
54,99 unequal: No Solution
Exploring Operation: 33+87=120, Resulting Numbers: [120]
120,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 99:[89, 31], Operations: ['88-86=2', '33-2=31']
Exploring Operation: 89*31=2759, Resulting Numbers: [2759]
2759,99 unequal: No Solution
Exploring Operation: 89+31=120, Resulting Numbers: [120]
120,99 unequal: No Solution
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 99:[89, 35], Operations: ['88-86=2', '33+2=35']
Exploring Operation: 89-35=54, Resulting Numbers: [54]
54,99 unequal: No Solution
Exploring Operation: 89+35=124, Resulting Numbers: [124]
124,99 unequal: No Solution
Exploring Operation: 89*35=3115, Resulting Numbers: [3115]
3115,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[88, 33, 3], Operations: ['89-86=3']
Exploring Operation: 88-3=85, Resulting Numbers: [33, 85]
Generated Node #0,2,0: 99:[33, 85] Operation: 88-3=85
Exploring Operation: 88+3=91, Resulting Numbers: [33, 91]
Generated Node #0,2,1: 99:[33, 91] Operation: 88+3=91
Exploring Operation: 33*3=99, Resulting Numbers: [88, 99]
Generated Node #0,2,2: 99:[88, 99] Operation: 33*3=99
Exploring Operation: 33/3=11, Resulting Numbers: [88, 11]
Generated Node #0,2,3: 99:[88, 11] Operation: 33/3=11
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 99:[33, 91], Operations: ['89-86=3', '88+3=91']
Exploring Operation: 33*91=3003, Resulting Numbers: [3003]
3003,99 unequal: No Solution
Exploring Operation: 33+91=124, Resulting Numbers: [124]
124,99 unequal: No Solution
Exploring Operation: 91-33=58, Resulting Numbers: [58]
58,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 99:[88, 99], Operations: ['89-86=3', '33*3=99']
Exploring Operation: 88+99=187, Resulting Numbers: [187]
187,99 unequal: No Solution
Exploring Operation: 88*99=8712, Resulting Numbers: [8712]
8712,99 unequal: No Solution
Exploring Operation: 99-88=11, Resulting Numbers: [11]
11,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 99:[88, 11], Operations: ['89-86=3', '33/3=11']
Exploring Operation: 88*11=968, Resulting Numbers: [968]
968,99 unequal: No Solution
Exploring Operation: 88-11=77, Resulting Numbers: [77]
77,99 unequal: No Solution
Exploring Operation: 88+11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[89, 88, 86, 33], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [88, 33, 3]
Generated Node #0,2: 99:[88, 33, 3] Operation: 89-86=3
Moving to Node #0,2
Current State: 99:[88, 33, 3], Operations: ['89-86=3']
Exploring Operation: 33/3=11, Resulting Numbers: [88, 11]
Generated Node #0,2,3: 99:[88, 11] Operation: 33/3=11
Moving to Node #0,2,3
Current State: 99:[88, 11], Operations: ['89-86=3', '33/3=11']
Exploring Operation: 88+11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_4 | mult_heuristic |
[
43,
32,
40,
58
] | 57 | [
"43+32=75",
"58-40=18",
"75-18=57"
] | Current State: 57:[43, 32, 40, 58], Operations: []
Exploring Operation: 43+32=75, Resulting Numbers: [40, 58, 75]
Generated Node #2: [40, 58, 75] from Operation: 43+32=75
Current State: 57:[40, 58, 75], Operations: ['43+32=75']
Exploring Operation: 58-40=18, Resulting Numbers: [75, 18]
Generated Node #3: [75, 18] from Operation: 58-40=18
Current State: 57:[75, 18], Operations: ['43+32=75', '58-40=18']
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[43, 32, 40, 58], Operations: []
Exploring Operation: 58-40=18, Resulting Numbers: [43, 32, 18]
Generated Node #0,0: 57:[43, 32, 18] Operation: 58-40=18
Exploring Operation: 43-32=11, Resulting Numbers: [40, 58, 11]
Generated Node #0,1: 57:[40, 58, 11] Operation: 43-32=11
Exploring Operation: 32+40=72, Resulting Numbers: [43, 58, 72]
Generated Node #0,2: 57:[43, 58, 72] Operation: 32+40=72
Exploring Operation: 43-40=3, Resulting Numbers: [32, 58, 3]
Generated Node #0,3: 57:[32, 58, 3] Operation: 43-40=3
Exploring Operation: 40-32=8, Resulting Numbers: [43, 58, 8]
Generated Node #0,4: 57:[43, 58, 8] Operation: 40-32=8
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[32, 58, 3], Operations: ['43-40=3']
Exploring Operation: 32-3=29, Resulting Numbers: [58, 29]
Generated Node #0,3,0: 57:[58, 29] Operation: 32-3=29
Exploring Operation: 58+3=61, Resulting Numbers: [32, 61]
Generated Node #0,3,1: 57:[32, 61] Operation: 58+3=61
Exploring Operation: 32+3=35, Resulting Numbers: [58, 35]
Generated Node #0,3,2: 57:[58, 35] Operation: 32+3=35
Exploring Operation: 58-32=26, Resulting Numbers: [3, 26]
Generated Node #0,3,3: 57:[3, 26] Operation: 58-32=26
Exploring Operation: 58-3=55, Resulting Numbers: [32, 55]
Generated Node #0,3,4: 57:[32, 55] Operation: 58-3=55
Moving to Node #0,3,3
Current State: 57:[3, 26], Operations: ['43-40=3', '58-32=26']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Moving to Node #0,3,0
Current State: 57:[58, 29], Operations: ['43-40=3', '32-3=29']
Exploring Operation: 58+29=87, Resulting Numbers: [87]
87,57 unequal: No Solution
Exploring Operation: 58/29=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 58*29=1682, Resulting Numbers: [1682]
1682,57 unequal: No Solution
Exploring Operation: 58-29=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Moving to Node #0,3,4
Current State: 57:[32, 55], Operations: ['43-40=3', '58-3=55']
Exploring Operation: 32+55=87, Resulting Numbers: [87]
87,57 unequal: No Solution
Exploring Operation: 32*55=1760, Resulting Numbers: [1760]
1760,57 unequal: No Solution
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Moving to Node #0,3,1
Current State: 57:[32, 61], Operations: ['43-40=3', '58+3=61']
Exploring Operation: 32+61=93, Resulting Numbers: [93]
93,57 unequal: No Solution
Exploring Operation: 32*61=1952, Resulting Numbers: [1952]
1952,57 unequal: No Solution
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Moving to Node #0,3,2
Current State: 57:[58, 35], Operations: ['43-40=3', '32+3=35']
Exploring Operation: 58-35=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 58+35=93, Resulting Numbers: [93]
93,57 unequal: No Solution
Exploring Operation: 58*35=2030, Resulting Numbers: [2030]
2030,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 57:[43, 58, 8], Operations: ['40-32=8']
Exploring Operation: 58+8=66, Resulting Numbers: [43, 66]
Generated Node #0,4,0: 57:[43, 66] Operation: 58+8=66
Exploring Operation: 58-8=50, Resulting Numbers: [43, 50]
Generated Node #0,4,1: 57:[43, 50] Operation: 58-8=50
Exploring Operation: 43+8=51, Resulting Numbers: [58, 51]
Generated Node #0,4,2: 57:[58, 51] Operation: 43+8=51
Exploring Operation: 58-43=15, Resulting Numbers: [8, 15]
Generated Node #0,4,3: 57:[8, 15] Operation: 58-43=15
Exploring Operation: 43-8=35, Resulting Numbers: [58, 35]
Generated Node #0,4,4: 57:[58, 35] Operation: 43-8=35
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 57:[58, 51], Operations: ['40-32=8', '43+8=51']
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 58*51=2958, Resulting Numbers: [2958]
2958,57 unequal: No Solution
Exploring Operation: 58+51=109, Resulting Numbers: [109]
109,57 unequal: No Solution
No 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: 57:[8, 15], Operations: ['40-32=8', '58-43=15']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,57 unequal: No Solution
No 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: 57:[58, 35], Operations: ['40-32=8', '43-8=35']
Exploring Operation: 58-35=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 58*35=2030, Resulting Numbers: [2030]
2030,57 unequal: No Solution
Exploring Operation: 58+35=93, Resulting Numbers: [93]
93,57 unequal: No Solution
No 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: 57:[43, 50], Operations: ['40-32=8', '58-8=50']
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,57 unequal: No Solution
Exploring Operation: 43*50=2150, Resulting Numbers: [2150]
2150,57 unequal: No Solution
No 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: 57:[43, 66], Operations: ['40-32=8', '58+8=66']
Exploring Operation: 43*66=2838, Resulting Numbers: [2838]
2838,57 unequal: No Solution
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 43+66=109, Resulting Numbers: [109]
109,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[40, 58, 11], Operations: ['43-32=11']
Exploring Operation: 40+11=51, Resulting Numbers: [58, 51]
Generated Node #0,1,0: 57:[58, 51] Operation: 40+11=51
Exploring Operation: 58-11=47, Resulting Numbers: [40, 47]
Generated Node #0,1,1: 57:[40, 47] Operation: 58-11=47
Exploring Operation: 58+11=69, Resulting Numbers: [40, 69]
Generated Node #0,1,2: 57:[40, 69] Operation: 58+11=69
Exploring Operation: 40-11=29, Resulting Numbers: [58, 29]
Generated Node #0,1,3: 57:[58, 29] Operation: 40-11=29
Exploring Operation: 58-40=18, Resulting Numbers: [11, 18]
Generated Node #0,1,4: 57:[11, 18] Operation: 58-40=18
Moving to Node #0,1,0
Current State: 57:[58, 51], Operations: ['43-32=11', '40+11=51']
Exploring Operation: 58*51=2958, Resulting Numbers: [2958]
2958,57 unequal: No Solution
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 58+51=109, Resulting Numbers: [109]
109,57 unequal: No Solution
Moving to Node #0,1,4
Current State: 57:[11, 18], Operations: ['43-32=11', '58-40=18']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,57 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Moving to Node #0,1,3
Current State: 57:[58, 29], Operations: ['43-32=11', '40-11=29']
Exploring Operation: 58+29=87, Resulting Numbers: [87]
87,57 unequal: No Solution
Exploring Operation: 58/29=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 58*29=1682, Resulting Numbers: [1682]
1682,57 unequal: No Solution
Exploring Operation: 58-29=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[40, 47], Operations: ['43-32=11', '58-11=47']
Exploring Operation: 40*47=1880, Resulting Numbers: [1880]
1880,57 unequal: No Solution
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 40+47=87, Resulting Numbers: [87]
87,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[40, 69], Operations: ['43-32=11', '58+11=69']
Exploring Operation: 40+69=109, Resulting Numbers: [109]
109,57 unequal: No Solution
Exploring Operation: 69-40=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 40*69=2760, Resulting Numbers: [2760]
2760,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[43, 32, 18], Operations: ['58-40=18']
Exploring Operation: 43-32=11, Resulting Numbers: [18, 11]
Generated Node #0,0,0: 57:[18, 11] Operation: 43-32=11
Exploring Operation: 43-18=25, Resulting Numbers: [32, 25]
Generated Node #0,0,1: 57:[32, 25] Operation: 43-18=25
Exploring Operation: 43+32=75, Resulting Numbers: [18, 75]
Generated Node #0,0,2: 57:[18, 75] Operation: 43+32=75
Exploring Operation: 32-18=14, Resulting Numbers: [43, 14]
Generated Node #0,0,3: 57:[43, 14] Operation: 32-18=14
Exploring Operation: 43+18=61, Resulting Numbers: [32, 61]
Generated Node #0,0,4: 57:[32, 61] Operation: 43+18=61
Moving to Node #0,0,0
Current State: 57:[18, 11], Operations: ['58-40=18', '43-32=11']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,57 unequal: No Solution
Moving to Node #0,0,4
Current State: 57:[32, 61], Operations: ['58-40=18', '43+18=61']
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 32*61=1952, Resulting Numbers: [1952]
1952,57 unequal: No Solution
Exploring Operation: 32+61=93, Resulting Numbers: [93]
93,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[32, 25], Operations: ['58-40=18', '43-18=25']
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 32*25=800, Resulting Numbers: [800]
800,57 unequal: No Solution
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[43, 32, 40, 58], Operations: []
Exploring Operation: 58-40=18, Resulting Numbers: [43, 32, 18]
Generated Node #0,0: 57:[43, 32, 18] Operation: 58-40=18
Moving to Node #0,0
Current State: 57:[43, 32, 18], Operations: ['58-40=18']
Exploring Operation: 43-18=25, Resulting Numbers: [32, 25]
Generated Node #0,0,1: 57:[32, 25] Operation: 43-18=25
Moving to Node #0,0,1
Current State: 57:[32, 25], Operations: ['58-40=18', '43-18=25']
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.926215 | hs_5 | mult_heuristic |
[
30,
86,
53,
89
] | 47 | [
"30*86=2580",
"2580-89=2491",
"2491/53=47"
] | Current State: 47:[30, 86, 53, 89], Operations: []
Exploring Operation: 30*86=2580, Resulting Numbers: [53, 89, 2580]
Generated Node #2: [53, 89, 2580] from Operation: 30*86=2580
Current State: 47:[53, 89, 2580], Operations: ['30*86=2580']
Exploring Operation: 2580-89=2491, Resulting Numbers: [53, 2491]
Generated Node #3: [53, 2491] from Operation: 2580-89=2491
Current State: 47:[53, 2491], Operations: ['30*86=2580', '2580-89=2491']
Exploring Operation: 2491/53=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[30, 86, 53, 89], Operations: []
Exploring Operation: 89-53=36, Resulting Numbers: [30, 86, 36]
Generated Node #0,0: 47:[30, 86, 36] Operation: 89-53=36
Exploring Operation: 86-30=56, Resulting Numbers: [53, 89, 56]
Generated Node #0,1: 47:[53, 89, 56] Operation: 86-30=56
Exploring Operation: 89-86=3, Resulting Numbers: [30, 53, 3]
Generated Node #0,2: 47:[30, 53, 3] Operation: 89-86=3
Exploring Operation: 89-30=59, Resulting Numbers: [86, 53, 59]
Generated Node #0,3: 47:[86, 53, 59] Operation: 89-30=59
Moving to Node #0,1
Current State: 47:[53, 89, 56], Operations: ['86-30=56']
Exploring Operation: 53+89=142, Resulting Numbers: [56, 142]
Generated Node #0,1,0: 47:[56, 142] Operation: 53+89=142
Exploring Operation: 89-56=33, Resulting Numbers: [53, 33]
Generated Node #0,1,1: 47:[53, 33] Operation: 89-56=33
Exploring Operation: 56-53=3, Resulting Numbers: [89, 3]
Generated Node #0,1,2: 47:[89, 3] Operation: 56-53=3
Exploring Operation: 89-53=36, Resulting Numbers: [56, 36]
Generated Node #0,1,3: 47:[56, 36] Operation: 89-53=36
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[53, 33], Operations: ['86-30=56', '89-56=33']
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,47 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Exploring Operation: 53*33=1749, Resulting Numbers: [1749]
1749,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 47:[56, 36], Operations: ['86-30=56', '89-53=36']
Exploring Operation: 56*36=2016, Resulting Numbers: [2016]
2016,47 unequal: No Solution
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Exploring Operation: 56+36=92, Resulting Numbers: [92]
92,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 47:[89, 3], Operations: ['86-30=56', '56-53=3']
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,47 unequal: No Solution
Exploring Operation: 89*3=267, Resulting Numbers: [267]
267,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[56, 142], Operations: ['86-30=56', '53+89=142']
Exploring Operation: 56+142=198, Resulting Numbers: [198]
198,47 unequal: No Solution
Exploring Operation: 56*142=7952, Resulting Numbers: [7952]
7952,47 unequal: No Solution
Exploring Operation: 142-56=86, Resulting Numbers: [86]
86,47 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: 47:[86, 53, 59], Operations: ['89-30=59']
Exploring Operation: 59-53=6, Resulting Numbers: [86, 6]
Generated Node #0,3,0: 47:[86, 6] Operation: 59-53=6
Exploring Operation: 86-53=33, Resulting Numbers: [59, 33]
Generated Node #0,3,1: 47:[59, 33] Operation: 86-53=33
Exploring Operation: 86+53=139, Resulting Numbers: [59, 139]
Generated Node #0,3,2: 47:[59, 139] Operation: 86+53=139
Exploring Operation: 86-59=27, Resulting Numbers: [53, 27]
Generated Node #0,3,3: 47:[53, 27] Operation: 86-59=27
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 47:[59, 33], Operations: ['89-30=59', '86-53=33']
Exploring Operation: 59*33=1947, Resulting Numbers: [1947]
1947,47 unequal: No Solution
Exploring Operation: 59-33=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 59+33=92, Resulting Numbers: [92]
92,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 47:[53, 27], Operations: ['89-30=59', '86-59=27']
Exploring Operation: 53*27=1431, Resulting Numbers: [1431]
1431,47 unequal: No Solution
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 53+27=80, Resulting Numbers: [80]
80,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 47:[86, 6], Operations: ['89-30=59', '59-53=6']
Exploring Operation: 86*6=516, Resulting Numbers: [516]
516,47 unequal: No Solution
Exploring Operation: 86+6=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 47:[59, 139], Operations: ['89-30=59', '86+53=139']
Exploring Operation: 139-59=80, Resulting Numbers: [80]
80,47 unequal: No Solution
Exploring Operation: 59+139=198, Resulting Numbers: [198]
198,47 unequal: No Solution
Exploring Operation: 59*139=8201, Resulting Numbers: [8201]
8201,47 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: 47:[30, 53, 3], Operations: ['89-86=3']
Exploring Operation: 30-3=27, Resulting Numbers: [53, 27]
Generated Node #0,2,0: 47:[53, 27] Operation: 30-3=27
Exploring Operation: 53-3=50, Resulting Numbers: [30, 50]
Generated Node #0,2,1: 47:[30, 50] Operation: 53-3=50
Exploring Operation: 53+3=56, Resulting Numbers: [30, 56]
Generated Node #0,2,2: 47:[30, 56] Operation: 53+3=56
Exploring Operation: 30+3=33, Resulting Numbers: [53, 33]
Generated Node #0,2,3: 47:[53, 33] Operation: 30+3=33
Moving to Node #0,0
Current State: 47:[30, 86, 36], Operations: ['89-53=36']
Exploring Operation: 30+36=66, Resulting Numbers: [86, 66]
Generated Node #0,0,0: 47:[86, 66] Operation: 30+36=66
Exploring Operation: 86-36=50, Resulting Numbers: [30, 50]
Generated Node #0,0,1: 47:[30, 50] Operation: 86-36=50
Exploring Operation: 86-30=56, Resulting Numbers: [36, 56]
Generated Node #0,0,2: 47:[36, 56] Operation: 86-30=56
Exploring Operation: 30+86=116, Resulting Numbers: [36, 116]
Generated Node #0,0,3: 47:[36, 116] Operation: 30+86=116
Moving to Node #0,2,1
Current State: 47:[30, 50], Operations: ['89-86=3', '53-3=50']
Exploring Operation: 30+50=80, Resulting Numbers: [80]
80,47 unequal: No Solution
Exploring Operation: 30*50=1500, Resulting Numbers: [1500]
1500,47 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[36, 56], Operations: ['89-53=36', '86-30=56']
Exploring Operation: 36*56=2016, Resulting Numbers: [2016]
2016,47 unequal: No Solution
Exploring Operation: 36+56=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[53, 33], Operations: ['89-86=3', '30+3=33']
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,47 unequal: No Solution
Exploring Operation: 53*33=1749, Resulting Numbers: [1749]
1749,47 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[30, 50], Operations: ['89-53=36', '86-36=50']
Exploring Operation: 30+50=80, Resulting Numbers: [80]
80,47 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Exploring Operation: 30*50=1500, Resulting Numbers: [1500]
1500,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[53, 27], Operations: ['89-86=3', '30-3=27']
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 53+27=80, Resulting Numbers: [80]
80,47 unequal: No Solution
Exploring Operation: 53*27=1431, Resulting Numbers: [1431]
1431,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[30, 56], Operations: ['89-86=3', '53+3=56']
Exploring Operation: 30*56=1680, Resulting Numbers: [1680]
1680,47 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 30+56=86, Resulting Numbers: [86]
86,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[86, 66], Operations: ['89-53=36', '30+36=66']
Exploring Operation: 86*66=5676, Resulting Numbers: [5676]
5676,47 unequal: No Solution
Exploring Operation: 86-66=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Exploring Operation: 86+66=152, Resulting Numbers: [152]
152,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[36, 116], Operations: ['89-53=36', '30+86=116']
Exploring Operation: 36+116=152, Resulting Numbers: [152]
152,47 unequal: No Solution
Exploring Operation: 36*116=4176, Resulting Numbers: [4176]
4176,47 unequal: No Solution
Exploring Operation: 116-36=80, Resulting Numbers: [80]
80,47 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
57,
9,
8,
30
] | 33 | [
"8*30=240",
"57+240=297",
"297/9=33"
] | Current State: 33:[57, 9, 8, 30], Operations: []
Exploring Operation: 8*30=240, Resulting Numbers: [57, 9, 240]
Generated Node #2: [57, 9, 240] from Operation: 8*30=240
Current State: 33:[57, 9, 240], Operations: ['8*30=240']
Exploring Operation: 57+240=297, Resulting Numbers: [9, 297]
Generated Node #3: [9, 297] from Operation: 57+240=297
Current State: 33:[9, 297], Operations: ['8*30=240', '57+240=297']
Exploring Operation: 297/9=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[57, 9, 8, 30], Operations: []
Exploring Operation: 57-30=27, Resulting Numbers: [9, 8, 27]
Generated Node #0,0: 33:[9, 8, 27] Operation: 57-30=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[9, 8, 27], Operations: ['57-30=27']
Exploring Operation: 27/9=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 33:[8, 3] Operation: 27/9=3
Moving to Node #0,0,0
Current State: 33:[8, 3], Operations: ['57-30=27', '27/9=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,33 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 |
[
44,
61,
47,
36
] | 41 | [
"61+47=108",
"108/36=3",
"44-3=41"
] | Current State: 41:[44, 61, 47, 36], Operations: []
Exploring Operation: 61+47=108, Resulting Numbers: [44, 36, 108]
Generated Node #2: [44, 36, 108] from Operation: 61+47=108
Current State: 41:[44, 36, 108], Operations: ['61+47=108']
Exploring Operation: 108/36=3, Resulting Numbers: [44, 3]
Generated Node #3: [44, 3] from Operation: 108/36=3
Current State: 41:[44, 3], Operations: ['61+47=108', '108/36=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[44, 61, 47, 36], Operations: []
Exploring Operation: 47-36=11, Resulting Numbers: [44, 61, 11]
Generated Node #0,0: 41:[44, 61, 11] Operation: 47-36=11
Exploring Operation: 61-44=17, Resulting Numbers: [47, 36, 17]
Generated Node #0,1: 41:[47, 36, 17] Operation: 61-44=17
Exploring Operation: 61-47=14, Resulting Numbers: [44, 36, 14]
Generated Node #0,2: 41:[44, 36, 14] Operation: 61-47=14
Exploring Operation: 61-36=25, Resulting Numbers: [44, 47, 25]
Generated Node #0,3: 41:[44, 47, 25] Operation: 61-36=25
Moving to Node #0,3
Current State: 41:[44, 47, 25], Operations: ['61-36=25']
Exploring Operation: 44-25=19, Resulting Numbers: [47, 19]
Generated Node #0,3,0: 41:[47, 19] Operation: 44-25=19
Exploring Operation: 47+25=72, Resulting Numbers: [44, 72]
Generated Node #0,3,1: 41:[44, 72] Operation: 47+25=72
Exploring Operation: 47-25=22, Resulting Numbers: [44, 22]
Generated Node #0,3,2: 41:[44, 22] Operation: 47-25=22
Exploring Operation: 44+25=69, Resulting Numbers: [47, 69]
Generated Node #0,3,3: 41:[47, 69] Operation: 44+25=69
Moving to Node #0,2
Current State: 41:[44, 36, 14], Operations: ['61-47=14']
Exploring Operation: 44-14=30, Resulting Numbers: [36, 30]
Generated Node #0,2,0: 41:[36, 30] Operation: 44-14=30
Exploring Operation: 44+14=58, Resulting Numbers: [36, 58]
Generated Node #0,2,1: 41:[36, 58] Operation: 44+14=58
Exploring Operation: 36-14=22, Resulting Numbers: [44, 22]
Generated Node #0,2,2: 41:[44, 22] Operation: 36-14=22
Exploring Operation: 36+14=50, Resulting Numbers: [44, 50]
Generated Node #0,2,3: 41:[44, 50] Operation: 36+14=50
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 41:[44, 50], Operations: ['61-47=14', '36+14=50']
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 44*50=2200, Resulting Numbers: [2200]
2200,41 unequal: No Solution
Exploring Operation: 44+50=94, Resulting Numbers: [94]
94,41 unequal: No Solution
No 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: 41:[36, 30], Operations: ['61-47=14', '44-14=30']
Exploring Operation: 36*30=1080, Resulting Numbers: [1080]
1080,41 unequal: No Solution
Exploring Operation: 36+30=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,41 unequal: No Solution
No 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: 41:[36, 58], Operations: ['61-47=14', '44+14=58']
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 36+58=94, Resulting Numbers: [94]
94,41 unequal: No Solution
Exploring Operation: 36*58=2088, Resulting Numbers: [2088]
2088,41 unequal: No Solution
No 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: 41:[44, 22], Operations: ['61-47=14', '36-14=22']
Exploring Operation: 44*22=968, Resulting Numbers: [968]
968,41 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 44+22=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,41 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: 41:[47, 36, 17], Operations: ['61-44=17']
Exploring Operation: 47-17=30, Resulting Numbers: [36, 30]
Generated Node #0,1,0: 41:[36, 30] Operation: 47-17=30
Exploring Operation: 36+17=53, Resulting Numbers: [47, 53]
Generated Node #0,1,1: 41:[47, 53] Operation: 36+17=53
Exploring Operation: 36-17=19, Resulting Numbers: [47, 19]
Generated Node #0,1,2: 41:[47, 19] Operation: 36-17=19
Exploring Operation: 47+17=64, Resulting Numbers: [36, 64]
Generated Node #0,1,3: 41:[36, 64] Operation: 47+17=64
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[36, 30], Operations: ['61-44=17', '47-17=30']
Exploring Operation: 36*30=1080, Resulting Numbers: [1080]
1080,41 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 36+30=66, Resulting Numbers: [66]
66,41 unequal: No Solution
No 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: 41:[47, 53], Operations: ['61-44=17', '36+17=53']
Exploring Operation: 47+53=100, Resulting Numbers: [100]
100,41 unequal: No Solution
Exploring Operation: 47*53=2491, Resulting Numbers: [2491]
2491,41 unequal: No Solution
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,41 unequal: No Solution
No 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: 41:[47, 19], Operations: ['61-44=17', '36-17=19']
Exploring Operation: 47+19=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 47*19=893, Resulting Numbers: [893]
893,41 unequal: No Solution
No 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: 41:[36, 64], Operations: ['61-44=17', '47+17=64']
Exploring Operation: 36*64=2304, Resulting Numbers: [2304]
2304,41 unequal: No Solution
Exploring Operation: 36+64=100, Resulting Numbers: [100]
100,41 unequal: No Solution
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,41 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: 41:[44, 61, 11], Operations: ['47-36=11']
Exploring Operation: 61-11=50, Resulting Numbers: [44, 50]
Generated Node #0,0,0: 41:[44, 50] Operation: 61-11=50
Exploring Operation: 61+11=72, Resulting Numbers: [44, 72]
Generated Node #0,0,1: 41:[44, 72] Operation: 61+11=72
Exploring Operation: 44+11=55, Resulting Numbers: [61, 55]
Generated Node #0,0,2: 41:[61, 55] Operation: 44+11=55
Exploring Operation: 44-11=33, Resulting Numbers: [61, 33]
Generated Node #0,0,3: 41:[61, 33] Operation: 44-11=33
Moving to Node #0,0,0
Current State: 41:[44, 50], Operations: ['47-36=11', '61-11=50']
Exploring Operation: 44+50=94, Resulting Numbers: [94]
94,41 unequal: No Solution
Exploring Operation: 44*50=2200, Resulting Numbers: [2200]
2200,41 unequal: No Solution
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Moving to Node #0,3,2
Current State: 41:[44, 22], Operations: ['61-36=25', '47-25=22']
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 44+22=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 44*22=968, Resulting Numbers: [968]
968,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[61, 33], Operations: ['47-36=11', '44-11=33']
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 61+33=94, Resulting Numbers: [94]
94,41 unequal: No Solution
Exploring Operation: 61*33=2013, Resulting Numbers: [2013]
2013,41 unequal: No Solution
Moving to Node #0,3,0
Current State: 41:[47, 19], Operations: ['61-36=25', '44-25=19']
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 47*19=893, Resulting Numbers: [893]
893,41 unequal: No Solution
Exploring Operation: 47+19=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Moving to Node #0,3,1
Current State: 41:[44, 72], Operations: ['61-36=25', '47+25=72']
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 44*72=3168, Resulting Numbers: [3168]
3168,41 unequal: No Solution
Exploring Operation: 44+72=116, Resulting Numbers: [116]
116,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[44, 72], Operations: ['47-36=11', '61+11=72']
Exploring Operation: 44*72=3168, Resulting Numbers: [3168]
3168,41 unequal: No Solution
Exploring Operation: 44+72=116, Resulting Numbers: [116]
116,41 unequal: No Solution
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[61, 55], Operations: ['47-36=11', '44+11=55']
Exploring Operation: 61-55=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 61+55=116, Resulting Numbers: [116]
116,41 unequal: No Solution
Exploring Operation: 61*55=3355, Resulting Numbers: [3355]
3355,41 unequal: No Solution
Moving to Node #0,3,3
Current State: 41:[47, 69], Operations: ['61-36=25', '44+25=69']
Exploring Operation: 47*69=3243, Resulting Numbers: [3243]
3243,41 unequal: No Solution
Exploring Operation: 69-47=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 47+69=116, Resulting Numbers: [116]
116,41 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
4,
84,
9,
12
] | 29 | [
"4*9=36",
"84/12=7",
"36-7=29"
] | Current State: 29:[4, 84, 9, 12], Operations: []
Exploring Operation: 4*9=36, Resulting Numbers: [84, 12, 36]
Generated Node #2: [84, 12, 36] from Operation: 4*9=36
Current State: 29:[84, 12, 36], Operations: ['4*9=36']
Exploring Operation: 84/12=7, Resulting Numbers: [36, 7]
Generated Node #3: [36, 7] from Operation: 84/12=7
Current State: 29:[36, 7], Operations: ['4*9=36', '84/12=7']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[4, 84, 9, 12], Operations: []
Exploring Operation: 84-4=80, Resulting Numbers: [9, 12, 80]
Generated Node #0,0: 29:[9, 12, 80] Operation: 84-4=80
Exploring Operation: 84/4=21, Resulting Numbers: [9, 12, 21]
Generated Node #0,1: 29:[9, 12, 21] Operation: 84/4=21
Exploring Operation: 84/12=7, Resulting Numbers: [4, 9, 7]
Generated Node #0,2: 29:[4, 9, 7] Operation: 84/12=7
Exploring Operation: 4+9=13, Resulting Numbers: [84, 12, 13]
Generated Node #0,3: 29:[84, 12, 13] Operation: 4+9=13
Exploring Operation: 4*9=36, Resulting Numbers: [84, 12, 36]
Generated Node #0,4: 29:[84, 12, 36] Operation: 4*9=36
Moving to Node #0,1
Current State: 29:[9, 12, 21], Operations: ['84/4=21']
Exploring Operation: 9+12=21, Resulting Numbers: [21, 21]
Generated Node #0,1,0: 29:[21, 21] Operation: 9+12=21
Exploring Operation: 9+21=30, Resulting Numbers: [12, 30]
Generated Node #0,1,1: 29:[12, 30] Operation: 9+21=30
Exploring Operation: 21-9=12, Resulting Numbers: [12, 12]
Generated Node #0,1,2: 29:[12, 12] Operation: 21-9=12
Exploring Operation: 12-9=3, Resulting Numbers: [21, 3]
Generated Node #0,1,3: 29:[21, 3] Operation: 12-9=3
Exploring Operation: 12+21=33, Resulting Numbers: [9, 33]
Generated Node #0,1,4: 29:[9, 33] Operation: 12+21=33
Moving to Node #0,2
Current State: 29:[4, 9, 7], Operations: ['84/12=7']
Exploring Operation: 4+9=13, Resulting Numbers: [7, 13]
Generated Node #0,2,0: 29:[7, 13] Operation: 4+9=13
Exploring Operation: 4+7=11, Resulting Numbers: [9, 11]
Generated Node #0,2,1: 29:[9, 11] Operation: 4+7=11
Exploring Operation: 4*9=36, Resulting Numbers: [7, 36]
Generated Node #0,2,2: 29:[7, 36] Operation: 4*9=36
Exploring Operation: 9+7=16, Resulting Numbers: [4, 16]
Generated Node #0,2,3: 29:[4, 16] Operation: 9+7=16
Exploring Operation: 4*7=28, Resulting Numbers: [9, 28]
Generated Node #0,2,4: 29:[9, 28] Operation: 4*7=28
Moving to Node #0,4
Current State: 29:[84, 12, 36], Operations: ['4*9=36']
Exploring Operation: 84-36=48, Resulting Numbers: [12, 48]
Generated Node #0,4,0: 29:[12, 48] Operation: 84-36=48
Exploring Operation: 36-12=24, Resulting Numbers: [84, 24]
Generated Node #0,4,1: 29:[84, 24] Operation: 36-12=24
Exploring Operation: 84-12=72, Resulting Numbers: [36, 72]
Generated Node #0,4,2: 29:[36, 72] Operation: 84-12=72
Exploring Operation: 84+12=96, Resulting Numbers: [36, 96]
Generated Node #0,4,3: 29:[36, 96] Operation: 84+12=96
Exploring Operation: 84/12=7, Resulting Numbers: [36, 7]
Generated Node #0,4,4: 29:[36, 7] Operation: 84/12=7
Moving to Node #0,0
Current State: 29:[9, 12, 80], Operations: ['84-4=80']
Exploring Operation: 9+80=89, Resulting Numbers: [12, 89]
Generated Node #0,0,0: 29:[12, 89] Operation: 9+80=89
Exploring Operation: 80-12=68, Resulting Numbers: [9, 68]
Generated Node #0,0,1: 29:[9, 68] Operation: 80-12=68
Exploring Operation: 80-9=71, Resulting Numbers: [12, 71]
Generated Node #0,0,2: 29:[12, 71] Operation: 80-9=71
Exploring Operation: 9+12=21, Resulting Numbers: [80, 21]
Generated Node #0,0,3: 29:[80, 21] Operation: 9+12=21
Exploring Operation: 12-9=3, Resulting Numbers: [80, 3]
Generated Node #0,0,4: 29:[80, 3] Operation: 12-9=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[9, 68], Operations: ['84-4=80', '80-12=68']
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,29 unequal: No Solution
Exploring Operation: 9+68=77, Resulting Numbers: [77]
77,29 unequal: No Solution
Exploring Operation: 9*68=612, Resulting Numbers: [612]
612,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:[12, 71], Operations: ['84-4=80', '80-9=71']
Exploring Operation: 12*71=852, Resulting Numbers: [852]
852,29 unequal: No Solution
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,29 unequal: No Solution
Exploring Operation: 12+71=83, Resulting Numbers: [83]
83,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,3
Current State: 29:[80, 21], Operations: ['84-4=80', '9+12=21']
Exploring Operation: 80*21=1680, Resulting Numbers: [1680]
1680,29 unequal: No Solution
Exploring Operation: 80+21=101, Resulting Numbers: [101]
101,29 unequal: No Solution
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,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,0
Current State: 29:[12, 89], Operations: ['84-4=80', '9+80=89']
Exploring Operation: 12*89=1068, Resulting Numbers: [1068]
1068,29 unequal: No Solution
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,29 unequal: No Solution
Exploring Operation: 12+89=101, Resulting Numbers: [101]
101,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,4
Current State: 29:[80, 3], Operations: ['84-4=80', '12-9=3']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,29 unequal: No Solution
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,29 unequal: No Solution
Exploring Operation: 80*3=240, Resulting Numbers: [240]
240,29 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: 29:[84, 12, 13], Operations: ['4+9=13']
Exploring Operation: 12+13=25, Resulting Numbers: [84, 25]
Generated Node #0,3,0: 29:[84, 25] Operation: 12+13=25
Exploring Operation: 84/12=7, Resulting Numbers: [13, 7]
Generated Node #0,3,1: 29:[13, 7] Operation: 84/12=7
Exploring Operation: 84-12=72, Resulting Numbers: [13, 72]
Generated Node #0,3,2: 29:[13, 72] Operation: 84-12=72
Exploring Operation: 84+12=96, Resulting Numbers: [13, 96]
Generated Node #0,3,3: 29:[13, 96] Operation: 84+12=96
Exploring Operation: 84-13=71, Resulting Numbers: [12, 71]
Generated Node #0,3,4: 29:[12, 71] Operation: 84-13=71
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 29:[13, 7], Operations: ['4+9=13', '84/12=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,29 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,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,3,0
Current State: 29:[84, 25], Operations: ['4+9=13', '12+13=25']
Exploring Operation: 84*25=2100, Resulting Numbers: [2100]
2100,29 unequal: No Solution
Exploring Operation: 84+25=109, Resulting Numbers: [109]
109,29 unequal: No Solution
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,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,3,2
Current State: 29:[13, 72], Operations: ['4+9=13', '84-12=72']
Exploring Operation: 13+72=85, Resulting Numbers: [85]
85,29 unequal: No Solution
Exploring Operation: 13*72=936, Resulting Numbers: [936]
936,29 unequal: No Solution
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,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,3,4
Current State: 29:[12, 71], Operations: ['4+9=13', '84-13=71']
Exploring Operation: 12+71=83, Resulting Numbers: [83]
83,29 unequal: No Solution
Exploring Operation: 12*71=852, Resulting Numbers: [852]
852,29 unequal: No Solution
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,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,3,3
Current State: 29:[13, 96], Operations: ['4+9=13', '84+12=96']
Exploring Operation: 13*96=1248, Resulting Numbers: [1248]
1248,29 unequal: No Solution
Exploring Operation: 96-13=83, Resulting Numbers: [83]
83,29 unequal: No Solution
Exploring Operation: 13+96=109, Resulting Numbers: [109]
109,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 29:[21, 21], Operations: ['84/4=21', '9+12=21']
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 21*21=441, Resulting Numbers: [441]
441,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[12, 30], Operations: ['84/4=21', '9+21=30']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 12*30=360, Resulting Numbers: [360]
360,29 unequal: No Solution
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Moving to Node #0,2,4
Current State: 29:[9, 28], Operations: ['84/12=7', '4*7=28']
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,29 unequal: No Solution
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,29 unequal: No Solution
Moving to Node #0,1,4
Current State: 29:[9, 33], Operations: ['84/4=21', '12+21=33']
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Exploring Operation: 9+33=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 9*33=297, Resulting Numbers: [297]
297,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[7, 36], Operations: ['84/12=7', '4*9=36']
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,29 unequal: No Solution
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,29 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[4, 84, 9, 12], Operations: []
Exploring Operation: 84/12=7, Resulting Numbers: [4, 9, 7]
Generated Node #0,2: 29:[4, 9, 7] Operation: 84/12=7
Moving to Node #0,2
Current State: 29:[4, 9, 7], Operations: ['84/12=7']
Exploring Operation: 4*9=36, Resulting Numbers: [7, 36]
Generated Node #0,2,2: 29:[7, 36] Operation: 4*9=36
Moving to Node #0,2,2
Current State: 29:[7, 36], Operations: ['84/12=7', '4*9=36']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 0.930556 | hs_5 | sum_heuristic |
[
14,
31,
61,
77
] | 61 | [
"14+31=45",
"77-61=16",
"45+16=61"
] | Current State: 61:[14, 31, 61, 77], Operations: []
Exploring Operation: 14+31=45, Resulting Numbers: [61, 77, 45]
Generated Node #2: [61, 77, 45] from Operation: 14+31=45
Current State: 61:[61, 77, 45], Operations: ['14+31=45']
Exploring Operation: 77-61=16, Resulting Numbers: [45, 16]
Generated Node #3: [45, 16] from Operation: 77-61=16
Current State: 61:[45, 16], Operations: ['14+31=45', '77-61=16']
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[14, 31, 61, 77], Operations: []
Exploring Operation: 31-14=17, Resulting Numbers: [61, 77, 17]
Generated Node #0,0: 61:[61, 77, 17] Operation: 31-14=17
Exploring Operation: 77-14=63, Resulting Numbers: [31, 61, 63]
Generated Node #0,1: 61:[31, 61, 63] Operation: 77-14=63
Exploring Operation: 61-14=47, Resulting Numbers: [31, 77, 47]
Generated Node #0,2: 61:[31, 77, 47] Operation: 61-14=47
Exploring Operation: 14+31=45, Resulting Numbers: [61, 77, 45]
Generated Node #0,3: 61:[61, 77, 45] Operation: 14+31=45
Exploring Operation: 14+61=75, Resulting Numbers: [31, 77, 75]
Generated Node #0,4: 61:[31, 77, 75] Operation: 14+61=75
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[31, 61, 63], Operations: ['77-14=63']
Exploring Operation: 63-31=32, Resulting Numbers: [61, 32]
Generated Node #0,1,0: 61:[61, 32] Operation: 63-31=32
Exploring Operation: 31+63=94, Resulting Numbers: [61, 94]
Generated Node #0,1,1: 61:[61, 94] Operation: 31+63=94
Exploring Operation: 31+61=92, Resulting Numbers: [63, 92]
Generated Node #0,1,2: 61:[63, 92] Operation: 31+61=92
Exploring Operation: 63-61=2, Resulting Numbers: [31, 2]
Generated Node #0,1,3: 61:[31, 2] Operation: 63-61=2
Exploring Operation: 61-31=30, Resulting Numbers: [63, 30]
Generated Node #0,1,4: 61:[63, 30] Operation: 61-31=30
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[61, 32], Operations: ['77-14=63', '63-31=32']
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 61*32=1952, Resulting Numbers: [1952]
1952,61 unequal: No Solution
Exploring Operation: 61+32=93, Resulting Numbers: [93]
93,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[61, 94], Operations: ['77-14=63', '31+63=94']
Exploring Operation: 94-61=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 61+94=155, Resulting Numbers: [155]
155,61 unequal: No Solution
Exploring Operation: 61*94=5734, Resulting Numbers: [5734]
5734,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 61:[63, 92], Operations: ['77-14=63', '31+61=92']
Exploring Operation: 92-63=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 63*92=5796, Resulting Numbers: [5796]
5796,61 unequal: No Solution
Exploring Operation: 63+92=155, Resulting Numbers: [155]
155,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 61:[63, 30], Operations: ['77-14=63', '61-31=30']
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 63+30=93, Resulting Numbers: [93]
93,61 unequal: No Solution
Exploring Operation: 63*30=1890, Resulting Numbers: [1890]
1890,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 61:[31, 2], Operations: ['77-14=63', '63-61=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[61, 77, 45], Operations: ['14+31=45']
Exploring Operation: 61+45=106, Resulting Numbers: [77, 106]
Generated Node #0,3,0: 61:[77, 106] Operation: 61+45=106
Exploring Operation: 77-45=32, Resulting Numbers: [61, 32]
Generated Node #0,3,1: 61:[61, 32] Operation: 77-45=32
Exploring Operation: 77+45=122, Resulting Numbers: [61, 122]
Generated Node #0,3,2: 61:[61, 122] Operation: 77+45=122
Exploring Operation: 77-61=16, Resulting Numbers: [45, 16]
Generated Node #0,3,3: 61:[45, 16] Operation: 77-61=16
Exploring Operation: 61-45=16, Resulting Numbers: [77, 16]
Generated Node #0,3,4: 61:[77, 16] Operation: 61-45=16
Moving to Node #0,3,1
Current State: 61:[61, 32], Operations: ['14+31=45', '77-45=32']
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 61*32=1952, Resulting Numbers: [1952]
1952,61 unequal: No Solution
Exploring Operation: 61+32=93, Resulting Numbers: [93]
93,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[61, 122], Operations: ['14+31=45', '77+45=122']
Exploring Operation: 61+122=183, Resulting Numbers: [183]
183,61 unequal: No Solution
Exploring Operation: 61*122=7442, Resulting Numbers: [7442]
7442,61 unequal: No Solution
Exploring Operation: 122/61=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 122-61=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[14, 31, 61, 77], Operations: []
Exploring Operation: 14+31=45, Resulting Numbers: [61, 77, 45]
Generated Node #0,3: 61:[61, 77, 45] Operation: 14+31=45
Moving to Node #0,3
Current State: 61:[61, 77, 45], Operations: ['14+31=45']
Exploring Operation: 77+45=122, Resulting Numbers: [61, 122]
Generated Node #0,3,2: 61:[61, 122] Operation: 77+45=122
Moving to Node #0,3,2
Current State: 61:[61, 122], Operations: ['14+31=45', '77+45=122']
Exploring Operation: 122-61=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
53,
63,
8,
11
] | 79 | [
"53*11=583",
"63*8=504",
"583-504=79"
] | Current State: 79:[53, 63, 8, 11], Operations: []
Exploring Operation: 53*11=583, Resulting Numbers: [63, 8, 583]
Generated Node #2: [63, 8, 583] from Operation: 53*11=583
Current State: 79:[63, 8, 583], Operations: ['53*11=583']
Exploring Operation: 63*8=504, Resulting Numbers: [583, 504]
Generated Node #3: [583, 504] from Operation: 63*8=504
Current State: 79:[583, 504], Operations: ['53*11=583', '63*8=504']
Exploring Operation: 583-504=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[53, 63, 8, 11], Operations: []
Exploring Operation: 8*11=88, Resulting Numbers: [53, 63, 88]
Generated Node #0,0: 79:[53, 63, 88] Operation: 8*11=88
Exploring Operation: 53+11=64, Resulting Numbers: [63, 8, 64]
Generated Node #0,1: 79:[63, 8, 64] Operation: 53+11=64
Exploring Operation: 63+11=74, Resulting Numbers: [53, 8, 74]
Generated Node #0,2: 79:[53, 8, 74] Operation: 63+11=74
Exploring Operation: 63+8=71, Resulting Numbers: [53, 11, 71]
Generated Node #0,3: 79:[53, 11, 71] Operation: 63+8=71
Exploring Operation: 53+8=61, Resulting Numbers: [63, 11, 61]
Generated Node #0,4: 79:[63, 11, 61] Operation: 53+8=61
Moving to Node #0,0
Current State: 79:[53, 63, 88], Operations: ['8*11=88']
Exploring Operation: 88-63=25, Resulting Numbers: [53, 25]
Generated Node #0,0,0: 79:[53, 25] Operation: 88-63=25
Exploring Operation: 53+88=141, Resulting Numbers: [63, 141]
Generated Node #0,0,1: 79:[63, 141] Operation: 53+88=141
Exploring Operation: 53+63=116, Resulting Numbers: [88, 116]
Generated Node #0,0,2: 79:[88, 116] Operation: 53+63=116
Exploring Operation: 88-53=35, Resulting Numbers: [63, 35]
Generated Node #0,0,3: 79:[63, 35] Operation: 88-53=35
Exploring Operation: 63-53=10, Resulting Numbers: [88, 10]
Generated Node #0,0,4: 79:[88, 10] Operation: 63-53=10
Moving to Node #0,2
Current State: 79:[53, 8, 74], Operations: ['63+11=74']
Exploring Operation: 8+74=82, Resulting Numbers: [53, 82]
Generated Node #0,2,0: 79:[53, 82] Operation: 8+74=82
Exploring Operation: 53-8=45, Resulting Numbers: [74, 45]
Generated Node #0,2,1: 79:[74, 45] Operation: 53-8=45
Exploring Operation: 53+8=61, Resulting Numbers: [74, 61]
Generated Node #0,2,2: 79:[74, 61] Operation: 53+8=61
Exploring Operation: 74-8=66, Resulting Numbers: [53, 66]
Generated Node #0,2,3: 79:[53, 66] Operation: 74-8=66
Exploring Operation: 53+74=127, Resulting Numbers: [8, 127]
Generated Node #0,2,4: 79:[8, 127] Operation: 53+74=127
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 79:[74, 61], Operations: ['63+11=74', '53+8=61']
Exploring Operation: 74*61=4514, Resulting Numbers: [4514]
4514,79 unequal: No Solution
Exploring Operation: 74+61=135, Resulting Numbers: [135]
135,79 unequal: No Solution
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,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,2,0
Current State: 79:[53, 82], Operations: ['63+11=74', '8+74=82']
Exploring Operation: 82-53=29, Resulting Numbers: [29]
29,79 unequal: No Solution
Exploring Operation: 53+82=135, Resulting Numbers: [135]
135,79 unequal: No Solution
Exploring Operation: 53*82=4346, Resulting Numbers: [4346]
4346,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,2,1
Current State: 79:[74, 45], Operations: ['63+11=74', '53-8=45']
Exploring Operation: 74+45=119, Resulting Numbers: [119]
119,79 unequal: No Solution
Exploring Operation: 74-45=29, Resulting Numbers: [29]
29,79 unequal: No Solution
Exploring Operation: 74*45=3330, Resulting Numbers: [3330]
3330,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,2,3
Current State: 79:[53, 66], Operations: ['63+11=74', '74-8=66']
Exploring Operation: 66-53=13, Resulting Numbers: [13]
13,79 unequal: No Solution
Exploring Operation: 53*66=3498, Resulting Numbers: [3498]
3498,79 unequal: No Solution
Exploring Operation: 53+66=119, Resulting Numbers: [119]
119,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,2,4
Current State: 79:[8, 127], Operations: ['63+11=74', '53+74=127']
Exploring Operation: 127-8=119, Resulting Numbers: [119]
119,79 unequal: No Solution
Exploring Operation: 8*127=1016, Resulting Numbers: [1016]
1016,79 unequal: No Solution
Exploring Operation: 8+127=135, Resulting Numbers: [135]
135,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 79:[63, 11, 61], Operations: ['53+8=61']
Exploring Operation: 63+61=124, Resulting Numbers: [11, 124]
Generated Node #0,4,0: 79:[11, 124] Operation: 63+61=124
Exploring Operation: 63+11=74, Resulting Numbers: [61, 74]
Generated Node #0,4,1: 79:[61, 74] Operation: 63+11=74
Exploring Operation: 11+61=72, Resulting Numbers: [63, 72]
Generated Node #0,4,2: 79:[63, 72] Operation: 11+61=72
Exploring Operation: 61-11=50, Resulting Numbers: [63, 50]
Generated Node #0,4,3: 79:[63, 50] Operation: 61-11=50
Exploring Operation: 63-11=52, Resulting Numbers: [61, 52]
Generated Node #0,4,4: 79:[61, 52] Operation: 63-11=52
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 79:[61, 74], Operations: ['53+8=61', '63+11=74']
Exploring Operation: 61*74=4514, Resulting Numbers: [4514]
4514,79 unequal: No Solution
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,79 unequal: No Solution
Exploring Operation: 61+74=135, Resulting Numbers: [135]
135,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,4,2
Current State: 79:[63, 72], Operations: ['53+8=61', '11+61=72']
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,79 unequal: No Solution
Exploring Operation: 63*72=4536, Resulting Numbers: [4536]
4536,79 unequal: No Solution
Exploring Operation: 63+72=135, Resulting Numbers: [135]
135,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,4,3
Current State: 79:[63, 50], Operations: ['53+8=61', '61-11=50']
Exploring Operation: 63+50=113, Resulting Numbers: [113]
113,79 unequal: No Solution
Exploring Operation: 63*50=3150, Resulting Numbers: [3150]
3150,79 unequal: No Solution
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,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,4,4
Current State: 79:[61, 52], Operations: ['53+8=61', '63-11=52']
Exploring Operation: 61+52=113, Resulting Numbers: [113]
113,79 unequal: No Solution
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,79 unequal: No Solution
Exploring Operation: 61*52=3172, Resulting Numbers: [3172]
3172,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,4,0
Current State: 79:[11, 124], Operations: ['53+8=61', '63+61=124']
Exploring Operation: 11*124=1364, Resulting Numbers: [1364]
1364,79 unequal: No Solution
Exploring Operation: 11+124=135, Resulting Numbers: [135]
135,79 unequal: No Solution
Exploring Operation: 124-11=113, Resulting Numbers: [113]
113,79 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: 79:[63, 8, 64], Operations: ['53+11=64']
Exploring Operation: 64-8=56, Resulting Numbers: [63, 56]
Generated Node #0,1,0: 79:[63, 56] Operation: 64-8=56
Exploring Operation: 64/8=8, Resulting Numbers: [63, 8]
Generated Node #0,1,1: 79:[63, 8] Operation: 64/8=8
Exploring Operation: 63-8=55, Resulting Numbers: [64, 55]
Generated Node #0,1,2: 79:[64, 55] Operation: 63-8=55
Exploring Operation: 8+64=72, Resulting Numbers: [63, 72]
Generated Node #0,1,3: 79:[63, 72] Operation: 8+64=72
Exploring Operation: 63+8=71, Resulting Numbers: [64, 71]
Generated Node #0,1,4: 79:[64, 71] Operation: 63+8=71
Moving to Node #0,3
Current State: 79:[53, 11, 71], Operations: ['63+8=71']
Exploring Operation: 11+71=82, Resulting Numbers: [53, 82]
Generated Node #0,3,0: 79:[53, 82] Operation: 11+71=82
Exploring Operation: 53+71=124, Resulting Numbers: [11, 124]
Generated Node #0,3,1: 79:[11, 124] Operation: 53+71=124
Exploring Operation: 53-11=42, Resulting Numbers: [71, 42]
Generated Node #0,3,2: 79:[71, 42] Operation: 53-11=42
Exploring Operation: 53+11=64, Resulting Numbers: [71, 64]
Generated Node #0,3,3: 79:[71, 64] Operation: 53+11=64
Exploring Operation: 71-11=60, Resulting Numbers: [53, 60]
Generated Node #0,3,4: 79:[53, 60] Operation: 71-11=60
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 79:[71, 64], Operations: ['63+8=71', '53+11=64']
Exploring Operation: 71*64=4544, Resulting Numbers: [4544]
4544,79 unequal: No Solution
Exploring Operation: 71+64=135, Resulting Numbers: [135]
135,79 unequal: No Solution
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,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:[53, 82], Operations: ['63+8=71', '11+71=82']
Exploring Operation: 82-53=29, Resulting Numbers: [29]
29,79 unequal: No Solution
Exploring Operation: 53+82=135, Resulting Numbers: [135]
135,79 unequal: No Solution
Exploring Operation: 53*82=4346, Resulting Numbers: [4346]
4346,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:[71, 42], Operations: ['63+8=71', '53-11=42']
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,79 unequal: No Solution
Exploring Operation: 71+42=113, Resulting Numbers: [113]
113,79 unequal: No Solution
Exploring Operation: 71*42=2982, Resulting Numbers: [2982]
2982,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,4
Current State: 79:[53, 60], Operations: ['63+8=71', '71-11=60']
Exploring Operation: 53*60=3180, Resulting Numbers: [3180]
3180,79 unequal: No Solution
Exploring Operation: 53+60=113, Resulting Numbers: [113]
113,79 unequal: No Solution
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,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:[11, 124], Operations: ['63+8=71', '53+71=124']
Exploring Operation: 124-11=113, Resulting Numbers: [113]
113,79 unequal: No Solution
Exploring Operation: 11+124=135, Resulting Numbers: [135]
135,79 unequal: No Solution
Exploring Operation: 11*124=1364, Resulting Numbers: [1364]
1364,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 79:[63, 72], Operations: ['53+11=64', '8+64=72']
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,79 unequal: No Solution
Exploring Operation: 63+72=135, Resulting Numbers: [135]
135,79 unequal: No Solution
Exploring Operation: 63*72=4536, Resulting Numbers: [4536]
4536,79 unequal: No Solution
Moving to Node #0,1,4
Current State: 79:[64, 71], Operations: ['53+11=64', '63+8=71']
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 64+71=135, Resulting Numbers: [135]
135,79 unequal: No Solution
Exploring Operation: 64*71=4544, Resulting Numbers: [4544]
4544,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[63, 56], Operations: ['53+11=64', '64-8=56']
Exploring Operation: 63+56=119, Resulting Numbers: [119]
119,79 unequal: No Solution
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 63*56=3528, Resulting Numbers: [3528]
3528,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[64, 55], Operations: ['53+11=64', '63-8=55']
Exploring Operation: 64*55=3520, Resulting Numbers: [3520]
3520,79 unequal: No Solution
Exploring Operation: 64+55=119, Resulting Numbers: [119]
119,79 unequal: No Solution
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[88, 116], Operations: ['8*11=88', '53+63=116']
Exploring Operation: 116-88=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Exploring Operation: 88*116=10208, Resulting Numbers: [10208]
10208,79 unequal: No Solution
Exploring Operation: 88+116=204, Resulting Numbers: [204]
204,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[63, 35], Operations: ['8*11=88', '88-53=35']
Exploring Operation: 63+35=98, Resulting Numbers: [98]
98,79 unequal: No Solution
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Exploring Operation: 63*35=2205, Resulting Numbers: [2205]
2205,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[63, 141], Operations: ['8*11=88', '53+88=141']
Exploring Operation: 63*141=8883, Resulting Numbers: [8883]
8883,79 unequal: No Solution
Exploring Operation: 141-63=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 63+141=204, Resulting Numbers: [204]
204,79 unequal: No Solution
Moving to Node #0,0,4
Current State: 79:[88, 10], Operations: ['8*11=88', '63-53=10']
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,79 unequal: No Solution
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[53, 25], Operations: ['8*11=88', '88-63=25']
Exploring Operation: 53*25=1325, Resulting Numbers: [1325]
1325,79 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[63, 8], Operations: ['53+11=64', '64/8=8']
Exploring Operation: 63*8=504, Resulting Numbers: [504]
504,79 unequal: No Solution
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,79 unequal: No Solution
Exploring Operation: 63+8=71, Resulting Numbers: [71]
71,79 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
70,
95,
64,
39
] | 80 | [
"70*64=4480",
"95-39=56",
"4480/56=80"
] | Current State: 80:[70, 95, 64, 39], Operations: []
Exploring Operation: 70*64=4480, Resulting Numbers: [95, 39, 4480]
Generated Node #2: [95, 39, 4480] from Operation: 70*64=4480
Current State: 80:[95, 39, 4480], Operations: ['70*64=4480']
Exploring Operation: 95-39=56, Resulting Numbers: [4480, 56]
Generated Node #3: [4480, 56] from Operation: 95-39=56
Current State: 80:[4480, 56], Operations: ['70*64=4480', '95-39=56']
Exploring Operation: 4480/56=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[70, 95, 64, 39], Operations: []
Exploring Operation: 95-64=31, Resulting Numbers: [70, 39, 31]
Generated Node #0,0: 80:[70, 39, 31] Operation: 95-64=31
Exploring Operation: 70-64=6, Resulting Numbers: [95, 39, 6]
Generated Node #0,1: 80:[95, 39, 6] Operation: 70-64=6
Moving to Node #0,1
Current State: 80:[95, 39, 6], Operations: ['70-64=6']
Exploring Operation: 95-6=89, Resulting Numbers: [39, 89]
Generated Node #0,1,0: 80:[39, 89] Operation: 95-6=89
Exploring Operation: 95-39=56, Resulting Numbers: [6, 56]
Generated Node #0,1,1: 80:[6, 56] Operation: 95-39=56
Moving to Node #0,0
Current State: 80:[70, 39, 31], Operations: ['95-64=31']
Exploring Operation: 70-31=39, Resulting Numbers: [39, 39]
Generated Node #0,0,0: 80:[39, 39] Operation: 70-31=39
Exploring Operation: 39-31=8, Resulting Numbers: [70, 8]
Generated Node #0,0,1: 80:[70, 8] Operation: 39-31=8
Moving to Node #0,0,0
Current State: 80:[39, 39], Operations: ['95-64=31', '70-31=39']
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,80 unequal: No Solution
Exploring Operation: 39/39=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[39, 89], Operations: ['70-64=6', '95-6=89']
Exploring Operation: 39+89=128, Resulting Numbers: [128]
128,80 unequal: No Solution
Exploring Operation: 89-39=50, Resulting Numbers: [50]
50,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[70, 8], Operations: ['95-64=31', '39-31=8']
Exploring Operation: 70+8=78, Resulting Numbers: [78]
78,80 unequal: No Solution
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[6, 56], Operations: ['70-64=6', '95-39=56']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,80 unequal: No Solution
Exploring Operation: 6+56=62, Resulting Numbers: [62]
62,80 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
50,
80,
17,
3
] | 81 | [
"80-50=30",
"17*3=51",
"30+51=81"
] | Current State: 81:[50, 80, 17, 3], Operations: []
Exploring Operation: 80-50=30, Resulting Numbers: [17, 3, 30]
Generated Node #2: [17, 3, 30] from Operation: 80-50=30
Current State: 81:[17, 3, 30], Operations: ['80-50=30']
Exploring Operation: 17*3=51, Resulting Numbers: [30, 51]
Generated Node #3: [30, 51] from Operation: 17*3=51
Current State: 81:[30, 51], Operations: ['80-50=30', '17*3=51']
Exploring Operation: 30+51=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[50, 80, 17, 3], Operations: []
Exploring Operation: 50-17=33, Resulting Numbers: [80, 3, 33]
Generated Node #0,0: 81:[80, 3, 33] Operation: 50-17=33
Exploring Operation: 80-50=30, Resulting Numbers: [17, 3, 30]
Generated Node #0,1: 81:[17, 3, 30] Operation: 80-50=30
Exploring Operation: 50+17=67, Resulting Numbers: [80, 3, 67]
Generated Node #0,2: 81:[80, 3, 67] Operation: 50+17=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[80, 3, 33], Operations: ['50-17=33']
Exploring Operation: 33-3=30, Resulting Numbers: [80, 30]
Generated Node #0,0,0: 81:[80, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [80, 11]
Generated Node #0,0,1: 81:[80, 11] Operation: 33/3=11
Exploring Operation: 80+3=83, Resulting Numbers: [33, 83]
Generated Node #0,0,2: 81:[33, 83] Operation: 80+3=83
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[80, 11], Operations: ['50-17=33', '33/3=11']
Exploring Operation: 80*11=880, Resulting Numbers: [880]
880,81 unequal: No Solution
Exploring Operation: 80+11=91, Resulting Numbers: [91]
91,81 unequal: No Solution
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,81 unequal: No Solution
No 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: 81:[80, 30], Operations: ['50-17=33', '33-3=30']
Exploring Operation: 80+30=110, Resulting Numbers: [110]
110,81 unequal: No Solution
Exploring Operation: 80-30=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Exploring Operation: 80*30=2400, Resulting Numbers: [2400]
2400,81 unequal: No Solution
No 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: 81:[33, 83], Operations: ['50-17=33', '80+3=83']
Exploring Operation: 83-33=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Exploring Operation: 33+83=116, Resulting Numbers: [116]
116,81 unequal: No Solution
Exploring Operation: 33*83=2739, Resulting Numbers: [2739]
2739,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[17, 3, 30], Operations: ['80-50=30']
Exploring Operation: 30-3=27, Resulting Numbers: [17, 27]
Generated Node #0,1,0: 81:[17, 27] Operation: 30-3=27
Exploring Operation: 17-3=14, Resulting Numbers: [30, 14]
Generated Node #0,1,1: 81:[30, 14] Operation: 17-3=14
Exploring Operation: 30-17=13, Resulting Numbers: [3, 13]
Generated Node #0,1,2: 81:[3, 13] Operation: 30-17=13
Moving to Node #0,1,2
Current State: 81:[3, 13], Operations: ['80-50=30', '30-17=13']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[17, 27], Operations: ['80-50=30', '30-3=27']
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,81 unequal: No Solution
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,81 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[30, 14], Operations: ['80-50=30', '17-3=14']
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,81 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[80, 3, 67], Operations: ['50+17=67']
Exploring Operation: 3+67=70, Resulting Numbers: [80, 70]
Generated Node #0,2,0: 81:[80, 70] Operation: 3+67=70
Exploring Operation: 80+3=83, Resulting Numbers: [67, 83]
Generated Node #0,2,1: 81:[67, 83] Operation: 80+3=83
Exploring Operation: 80-67=13, Resulting Numbers: [3, 13]
Generated Node #0,2,2: 81:[3, 13] Operation: 80-67=13
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 81:[3, 13], Operations: ['50+17=67', '80-67=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,81 unequal: No Solution
No 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: 81:[80, 70], Operations: ['50+17=67', '3+67=70']
Exploring Operation: 80-70=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 80+70=150, Resulting Numbers: [150]
150,81 unequal: No Solution
Exploring Operation: 80*70=5600, Resulting Numbers: [5600]
5600,81 unequal: No Solution
No 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: 81:[67, 83], Operations: ['50+17=67', '80+3=83']
Exploring Operation: 83-67=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 67*83=5561, Resulting Numbers: [5561]
5561,81 unequal: No Solution
Exploring Operation: 67+83=150, Resulting Numbers: [150]
150,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
95,
99,
36,
60
] | 51 | [
"99-95=4",
"36/4=9",
"60-9=51"
] | Current State: 51:[95, 99, 36, 60], Operations: []
Exploring Operation: 99-95=4, Resulting Numbers: [36, 60, 4]
Generated Node #2: [36, 60, 4] from Operation: 99-95=4
Current State: 51:[36, 60, 4], Operations: ['99-95=4']
Exploring Operation: 36/4=9, Resulting Numbers: [60, 9]
Generated Node #3: [60, 9] from Operation: 36/4=9
Current State: 51:[60, 9], Operations: ['99-95=4', '36/4=9']
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[95, 99, 36, 60], Operations: []
Exploring Operation: 99-95=4, Resulting Numbers: [36, 60, 4]
Generated Node #0,0: 51:[36, 60, 4] Operation: 99-95=4
Exploring Operation: 95-36=59, Resulting Numbers: [99, 60, 59]
Generated Node #0,1: 51:[99, 60, 59] Operation: 95-36=59
Moving to Node #0,0
Current State: 51:[36, 60, 4], Operations: ['99-95=4']
Exploring Operation: 60-36=24, Resulting Numbers: [4, 24]
Generated Node #0,0,0: 51:[4, 24] Operation: 60-36=24
Exploring Operation: 36/4=9, Resulting Numbers: [60, 9]
Generated Node #0,0,1: 51:[60, 9] Operation: 36/4=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[4, 24], Operations: ['99-95=4', '60-36=24']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[60, 9], Operations: ['99-95=4', '36/4=9']
Exploring Operation: 60+9=69, Resulting Numbers: [69]
69,51 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[95, 99, 36, 60], Operations: []
Exploring Operation: 99-95=4, Resulting Numbers: [36, 60, 4]
Generated Node #0,0: 51:[36, 60, 4] Operation: 99-95=4
Moving to Node #0,0
Current State: 51:[36, 60, 4], Operations: ['99-95=4']
Exploring Operation: 36/4=9, Resulting Numbers: [60, 9]
Generated Node #0,0,1: 51:[60, 9] Operation: 36/4=9
Moving to Node #0,0,1
Current State: 51:[60, 9], Operations: ['99-95=4', '36/4=9']
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
47,
39,
20,
22
] | 16 | [
"47-39=8",
"22-20=2",
"8*2=16"
] | Current State: 16:[47, 39, 20, 22], Operations: []
Exploring Operation: 47-39=8, Resulting Numbers: [20, 22, 8]
Generated Node #2: [20, 22, 8] from Operation: 47-39=8
Current State: 16:[20, 22, 8], Operations: ['47-39=8']
Exploring Operation: 22-20=2, Resulting Numbers: [8, 2]
Generated Node #3: [8, 2] from Operation: 22-20=2
Current State: 16:[8, 2], Operations: ['47-39=8', '22-20=2']
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[47, 39, 20, 22], Operations: []
Exploring Operation: 47-20=27, Resulting Numbers: [39, 22, 27]
Generated Node #0,0: 16:[39, 22, 27] Operation: 47-20=27
Exploring Operation: 47-22=25, Resulting Numbers: [39, 20, 25]
Generated Node #0,1: 16:[39, 20, 25] Operation: 47-22=25
Exploring Operation: 39-22=17, Resulting Numbers: [47, 20, 17]
Generated Node #0,2: 16:[47, 20, 17] Operation: 39-22=17
Exploring Operation: 39-20=19, Resulting Numbers: [47, 22, 19]
Generated Node #0,3: 16:[47, 22, 19] Operation: 39-20=19
Exploring Operation: 47-39=8, Resulting Numbers: [20, 22, 8]
Generated Node #0,4: 16:[20, 22, 8] Operation: 47-39=8
Moving to Node #0,4
Current State: 16:[20, 22, 8], Operations: ['47-39=8']
Exploring Operation: 20-8=12, Resulting Numbers: [22, 12]
Generated Node #0,4,0: 16:[22, 12] Operation: 20-8=12
Exploring Operation: 22+8=30, Resulting Numbers: [20, 30]
Generated Node #0,4,1: 16:[20, 30] Operation: 22+8=30
Exploring Operation: 20+8=28, Resulting Numbers: [22, 28]
Generated Node #0,4,2: 16:[22, 28] Operation: 20+8=28
Exploring Operation: 22-20=2, Resulting Numbers: [8, 2]
Generated Node #0,4,3: 16:[8, 2] Operation: 22-20=2
Exploring Operation: 22-8=14, Resulting Numbers: [20, 14]
Generated Node #0,4,4: 16:[20, 14] Operation: 22-8=14
Moving to Node #0,2
Current State: 16:[47, 20, 17], Operations: ['39-22=17']
Exploring Operation: 47+20=67, Resulting Numbers: [17, 67]
Generated Node #0,2,0: 16:[17, 67] Operation: 47+20=67
Exploring Operation: 47+17=64, Resulting Numbers: [20, 64]
Generated Node #0,2,1: 16:[20, 64] Operation: 47+17=64
Exploring Operation: 47-20=27, Resulting Numbers: [17, 27]
Generated Node #0,2,2: 16:[17, 27] Operation: 47-20=27
Exploring Operation: 47-17=30, Resulting Numbers: [20, 30]
Generated Node #0,2,3: 16:[20, 30] Operation: 47-17=30
Exploring Operation: 20-17=3, Resulting Numbers: [47, 3]
Generated Node #0,2,4: 16:[47, 3] Operation: 20-17=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 16:[17, 27], Operations: ['39-22=17', '47-20=27']
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,16 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 16:[20, 30], Operations: ['39-22=17', '47-17=30']
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 20+30=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 20*30=600, Resulting Numbers: [600]
600,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 16:[47, 3], Operations: ['39-22=17', '20-17=3']
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[17, 67], Operations: ['39-22=17', '47+20=67']
Exploring Operation: 17+67=84, Resulting Numbers: [84]
84,16 unequal: No Solution
Exploring Operation: 17*67=1139, Resulting Numbers: [1139]
1139,16 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 16:[20, 64], Operations: ['39-22=17', '47+17=64']
Exploring Operation: 20+64=84, Resulting Numbers: [84]
84,16 unequal: No Solution
Exploring Operation: 20*64=1280, Resulting Numbers: [1280]
1280,16 unequal: No Solution
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 16:[39, 20, 25], Operations: ['47-22=25']
Exploring Operation: 39-20=19, Resulting Numbers: [25, 19]
Generated Node #0,1,0: 16:[25, 19] Operation: 39-20=19
Exploring Operation: 39+25=64, Resulting Numbers: [20, 64]
Generated Node #0,1,1: 16:[20, 64] Operation: 39+25=64
Exploring Operation: 25-20=5, Resulting Numbers: [39, 5]
Generated Node #0,1,2: 16:[39, 5] Operation: 25-20=5
Exploring Operation: 39-25=14, Resulting Numbers: [20, 14]
Generated Node #0,1,3: 16:[20, 14] Operation: 39-25=14
Exploring Operation: 39+20=59, Resulting Numbers: [25, 59]
Generated Node #0,1,4: 16:[25, 59] Operation: 39+20=59
Moving to Node #0,0
Current State: 16:[39, 22, 27], Operations: ['47-20=27']
Exploring Operation: 39-27=12, Resulting Numbers: [22, 12]
Generated Node #0,0,0: 16:[22, 12] Operation: 39-27=12
Exploring Operation: 39-22=17, Resulting Numbers: [27, 17]
Generated Node #0,0,1: 16:[27, 17] Operation: 39-22=17
Exploring Operation: 39+27=66, Resulting Numbers: [22, 66]
Generated Node #0,0,2: 16:[22, 66] Operation: 39+27=66
Exploring Operation: 27-22=5, Resulting Numbers: [39, 5]
Generated Node #0,0,3: 16:[39, 5] Operation: 27-22=5
Exploring Operation: 39+22=61, Resulting Numbers: [27, 61]
Generated Node #0,0,4: 16:[27, 61] Operation: 39+22=61
Moving to Node #0,3
Current State: 16:[47, 22, 19], Operations: ['39-20=19']
Exploring Operation: 47+19=66, Resulting Numbers: [22, 66]
Generated Node #0,3,0: 16:[22, 66] Operation: 47+19=66
Exploring Operation: 47-22=25, Resulting Numbers: [19, 25]
Generated Node #0,3,1: 16:[19, 25] Operation: 47-22=25
Exploring Operation: 47-19=28, Resulting Numbers: [22, 28]
Generated Node #0,3,2: 16:[22, 28] Operation: 47-19=28
Exploring Operation: 47+22=69, Resulting Numbers: [19, 69]
Generated Node #0,3,3: 16:[19, 69] Operation: 47+22=69
Exploring Operation: 22-19=3, Resulting Numbers: [47, 3]
Generated Node #0,3,4: 16:[47, 3] Operation: 22-19=3
Moving to Node #0,4,3
Current State: 16:[8, 2], Operations: ['47-39=8', '22-20=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[47, 39, 20, 22], Operations: []
Exploring Operation: 47-39=8, Resulting Numbers: [20, 22, 8]
Generated Node #0,4: 16:[20, 22, 8] Operation: 47-39=8
Moving to Node #0,4
Current State: 16:[20, 22, 8], Operations: ['47-39=8']
Exploring Operation: 22-20=2, Resulting Numbers: [8, 2]
Generated Node #0,4,3: 16:[8, 2] Operation: 22-20=2
Moving to Node #0,4,3
Current State: 16:[8, 2], Operations: ['47-39=8', '22-20=2']
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.953993 | hs_5 | sum_heuristic |
[
55,
27,
50,
37
] | 59 | [
"55-27=28",
"50+37=87",
"87-28=59"
] | Current State: 59:[55, 27, 50, 37], Operations: []
Exploring Operation: 55-27=28, Resulting Numbers: [50, 37, 28]
Generated Node #2: [50, 37, 28] from Operation: 55-27=28
Current State: 59:[50, 37, 28], Operations: ['55-27=28']
Exploring Operation: 50+37=87, Resulting Numbers: [28, 87]
Generated Node #3: [28, 87] from Operation: 50+37=87
Current State: 59:[28, 87], Operations: ['55-27=28', '50+37=87']
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[55, 27, 50, 37], Operations: []
Exploring Operation: 27+37=64, Resulting Numbers: [55, 50, 64]
Generated Node #0,0: 59:[55, 50, 64] Operation: 27+37=64
Exploring Operation: 55+27=82, Resulting Numbers: [50, 37, 82]
Generated Node #0,1: 59:[50, 37, 82] Operation: 55+27=82
Exploring Operation: 27+50=77, Resulting Numbers: [55, 37, 77]
Generated Node #0,2: 59:[55, 37, 77] Operation: 27+50=77
Moving to Node #0,0
Current State: 59:[55, 50, 64], Operations: ['27+37=64']
Exploring Operation: 55+50=105, Resulting Numbers: [64, 105]
Generated Node #0,0,0: 59:[64, 105] Operation: 55+50=105
Exploring Operation: 55-50=5, Resulting Numbers: [64, 5]
Generated Node #0,0,1: 59:[64, 5] Operation: 55-50=5
Exploring Operation: 64-50=14, Resulting Numbers: [55, 14]
Generated Node #0,0,2: 59:[55, 14] Operation: 64-50=14
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 59:[55, 14], Operations: ['27+37=64', '64-50=14']
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 55*14=770, Resulting Numbers: [770]
770,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[64, 105], Operations: ['27+37=64', '55+50=105']
Exploring Operation: 64+105=169, Resulting Numbers: [169]
169,59 unequal: No Solution
Exploring Operation: 64*105=6720, Resulting Numbers: [6720]
6720,59 unequal: No Solution
Exploring Operation: 105-64=41, Resulting Numbers: [41]
41,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[64, 5], Operations: ['27+37=64', '55-50=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 64*5=320, Resulting Numbers: [320]
320,59 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[55, 27, 50, 37], Operations: []
Exploring Operation: 27+37=64, Resulting Numbers: [55, 50, 64]
Generated Node #0,0: 59:[55, 50, 64] Operation: 27+37=64
Moving to Node #0,0
Current State: 59:[55, 50, 64], Operations: ['27+37=64']
Exploring Operation: 55-50=5, Resulting Numbers: [64, 5]
Generated Node #0,0,1: 59:[64, 5] Operation: 55-50=5
Moving to Node #0,0,1
Current State: 59:[64, 5], Operations: ['27+37=64', '55-50=5']
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
76,
35,
88,
33
] | 100 | [
"35-33=2",
"88*2=176",
"176-76=100"
] | Current State: 100:[76, 35, 88, 33], Operations: []
Exploring Operation: 35-33=2, Resulting Numbers: [76, 88, 2]
Generated Node #2: [76, 88, 2] from Operation: 35-33=2
Current State: 100:[76, 88, 2], Operations: ['35-33=2']
Exploring Operation: 88*2=176, Resulting Numbers: [76, 176]
Generated Node #3: [76, 176] from Operation: 88*2=176
Current State: 100:[76, 176], Operations: ['35-33=2', '88*2=176']
Exploring Operation: 176-76=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[76, 35, 88, 33], Operations: []
Exploring Operation: 76+35=111, Resulting Numbers: [88, 33, 111]
Generated Node #0,0: 100:[88, 33, 111] Operation: 76+35=111
Exploring Operation: 76-35=41, Resulting Numbers: [88, 33, 41]
Generated Node #0,1: 100:[88, 33, 41] Operation: 76-35=41
Exploring Operation: 76-33=43, Resulting Numbers: [35, 88, 43]
Generated Node #0,2: 100:[35, 88, 43] Operation: 76-33=43
Exploring Operation: 88-76=12, Resulting Numbers: [35, 33, 12]
Generated Node #0,3: 100:[35, 33, 12] Operation: 88-76=12
Moving to Node #0,3
Current State: 100:[35, 33, 12], Operations: ['88-76=12']
Exploring Operation: 35-33=2, Resulting Numbers: [12, 2]
Generated Node #0,3,0: 100:[12, 2] Operation: 35-33=2
Exploring Operation: 33-12=21, Resulting Numbers: [35, 21]
Generated Node #0,3,1: 100:[35, 21] Operation: 33-12=21
Exploring Operation: 35+12=47, Resulting Numbers: [33, 47]
Generated Node #0,3,2: 100:[33, 47] Operation: 35+12=47
Exploring Operation: 35-12=23, Resulting Numbers: [33, 23]
Generated Node #0,3,3: 100:[33, 23] Operation: 35-12=23
Moving to Node #0,2
Current State: 100:[35, 88, 43], Operations: ['76-33=43']
Exploring Operation: 88-35=53, Resulting Numbers: [43, 53]
Generated Node #0,2,0: 100:[43, 53] Operation: 88-35=53
Exploring Operation: 88-43=45, Resulting Numbers: [35, 45]
Generated Node #0,2,1: 100:[35, 45] Operation: 88-43=45
Exploring Operation: 43-35=8, Resulting Numbers: [88, 8]
Generated Node #0,2,2: 100:[88, 8] Operation: 43-35=8
Exploring Operation: 35+88=123, Resulting Numbers: [43, 123]
Generated Node #0,2,3: 100:[43, 123] Operation: 35+88=123
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 100:[43, 53], Operations: ['76-33=43', '88-35=53']
Exploring Operation: 43+53=96, Resulting Numbers: [96]
96,100 unequal: No Solution
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 43*53=2279, Resulting Numbers: [2279]
2279,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 100:[88, 8], Operations: ['76-33=43', '43-35=8']
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,100 unequal: No Solution
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,100 unequal: No Solution
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 100:[35, 45], Operations: ['76-33=43', '88-43=45']
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 35*45=1575, Resulting Numbers: [1575]
1575,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 100:[43, 123], Operations: ['76-33=43', '35+88=123']
Exploring Operation: 123-43=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 43*123=5289, Resulting Numbers: [5289]
5289,100 unequal: No Solution
Exploring Operation: 43+123=166, Resulting Numbers: [166]
166,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 100:[88, 33, 41], Operations: ['76-35=41']
Exploring Operation: 88-33=55, Resulting Numbers: [41, 55]
Generated Node #0,1,0: 100:[41, 55] Operation: 88-33=55
Exploring Operation: 88+33=121, Resulting Numbers: [41, 121]
Generated Node #0,1,1: 100:[41, 121] Operation: 88+33=121
Exploring Operation: 41-33=8, Resulting Numbers: [88, 8]
Generated Node #0,1,2: 100:[88, 8] Operation: 41-33=8
Exploring Operation: 88-41=47, Resulting Numbers: [33, 47]
Generated Node #0,1,3: 100:[33, 47] Operation: 88-41=47
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 100:[33, 47], Operations: ['76-35=41', '88-41=47']
Exploring Operation: 33+47=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 33*47=1551, Resulting Numbers: [1551]
1551,100 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[41, 55], Operations: ['76-35=41', '88-33=55']
Exploring Operation: 41*55=2255, Resulting Numbers: [2255]
2255,100 unequal: No Solution
Exploring Operation: 41+55=96, Resulting Numbers: [96]
96,100 unequal: No Solution
Exploring Operation: 55-41=14, Resulting Numbers: [14]
14,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 100:[88, 8], Operations: ['76-35=41', '41-33=8']
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,100 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[41, 121], Operations: ['76-35=41', '88+33=121']
Exploring Operation: 41*121=4961, Resulting Numbers: [4961]
4961,100 unequal: No Solution
Exploring Operation: 41+121=162, Resulting Numbers: [162]
162,100 unequal: No Solution
Exploring Operation: 121-41=80, Resulting Numbers: [80]
80,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 100:[88, 33, 111], Operations: ['76+35=111']
Exploring Operation: 111-33=78, Resulting Numbers: [88, 78]
Generated Node #0,0,0: 100:[88, 78] Operation: 111-33=78
Exploring Operation: 88+33=121, Resulting Numbers: [111, 121]
Generated Node #0,0,1: 100:[111, 121] Operation: 88+33=121
Exploring Operation: 88-33=55, Resulting Numbers: [111, 55]
Generated Node #0,0,2: 100:[111, 55] Operation: 88-33=55
Exploring Operation: 111-88=23, Resulting Numbers: [33, 23]
Generated Node #0,0,3: 100:[33, 23] Operation: 111-88=23
Moving to Node #0,3,0
Current State: 100:[12, 2], Operations: ['88-76=12', '35-33=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Moving to Node #0,3,3
Current State: 100:[33, 23], Operations: ['88-76=12', '35-12=23']
Exploring Operation: 33*23=759, Resulting Numbers: [759]
759,100 unequal: No Solution
Exploring Operation: 33+23=56, Resulting Numbers: [56]
56,100 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[33, 23], Operations: ['76+35=111', '111-88=23']
Exploring Operation: 33+23=56, Resulting Numbers: [56]
56,100 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 33*23=759, Resulting Numbers: [759]
759,100 unequal: No Solution
Moving to Node #0,3,1
Current State: 100:[35, 21], Operations: ['88-76=12', '33-12=21']
Exploring Operation: 35+21=56, Resulting Numbers: [56]
56,100 unequal: No Solution
Exploring Operation: 35*21=735, Resulting Numbers: [735]
735,100 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Moving to Node #0,3,2
Current State: 100:[33, 47], Operations: ['88-76=12', '35+12=47']
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Exploring Operation: 33+47=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 33*47=1551, Resulting Numbers: [1551]
1551,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[111, 55], Operations: ['76+35=111', '88-33=55']
Exploring Operation: 111-55=56, Resulting Numbers: [56]
56,100 unequal: No Solution
Exploring Operation: 111+55=166, Resulting Numbers: [166]
166,100 unequal: No Solution
Exploring Operation: 111*55=6105, Resulting Numbers: [6105]
6105,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[111, 121], Operations: ['76+35=111', '88+33=121']
Exploring Operation: 111+121=232, Resulting Numbers: [232]
232,100 unequal: No Solution
Exploring Operation: 111*121=13431, Resulting Numbers: [13431]
13431,100 unequal: No Solution
Exploring Operation: 121-111=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[88, 78], Operations: ['76+35=111', '111-33=78']
Exploring Operation: 88*78=6864, Resulting Numbers: [6864]
6864,100 unequal: No Solution
Exploring Operation: 88-78=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 88+78=166, Resulting Numbers: [166]
166,100 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
73,
31,
96,
12
] | 42 | [
"73-31=42",
"96-12=84",
"84-42=42"
] | Current State: 42:[73, 31, 96, 12], Operations: []
Exploring Operation: 73-31=42, Resulting Numbers: [96, 12, 42]
Generated Node #2: [96, 12, 42] from Operation: 73-31=42
Current State: 42:[96, 12, 42], Operations: ['73-31=42']
Exploring Operation: 96-12=84, Resulting Numbers: [42, 84]
Generated Node #3: [42, 84] from Operation: 96-12=84
Current State: 42:[42, 84], Operations: ['73-31=42', '96-12=84']
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[73, 31, 96, 12], Operations: []
Exploring Operation: 96/12=8, Resulting Numbers: [73, 31, 8]
Generated Node #0,0: 42:[73, 31, 8] Operation: 96/12=8
Exploring Operation: 73-31=42, Resulting Numbers: [96, 12, 42]
Generated Node #0,1: 42:[96, 12, 42] Operation: 73-31=42
Exploring Operation: 96-73=23, Resulting Numbers: [31, 12, 23]
Generated Node #0,2: 42:[31, 12, 23] Operation: 96-73=23
Moving to Node #0,2
Current State: 42:[31, 12, 23], Operations: ['96-73=23']
Exploring Operation: 31+12=43, Resulting Numbers: [23, 43]
Generated Node #0,2,0: 42:[23, 43] Operation: 31+12=43
Exploring Operation: 31-23=8, Resulting Numbers: [12, 8]
Generated Node #0,2,1: 42:[12, 8] Operation: 31-23=8
Exploring Operation: 31-12=19, Resulting Numbers: [23, 19]
Generated Node #0,2,2: 42:[23, 19] Operation: 31-12=19
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[23, 43], Operations: ['96-73=23', '31+12=43']
Exploring Operation: 23+43=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Exploring Operation: 23*43=989, Resulting Numbers: [989]
989,42 unequal: No Solution
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,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:[12, 8], Operations: ['96-73=23', '31-23=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 42:[23, 19], Operations: ['96-73=23', '31-12=19']
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[73, 31, 96, 12], Operations: []
Exploring Operation: 96-73=23, Resulting Numbers: [31, 12, 23]
Generated Node #0,2: 42:[31, 12, 23] Operation: 96-73=23
Moving to Node #0,2
Current State: 42:[31, 12, 23], Operations: ['96-73=23']
Exploring Operation: 31-12=19, Resulting Numbers: [23, 19]
Generated Node #0,2,2: 42:[23, 19] Operation: 31-12=19
Moving to Node #0,2,2
Current State: 42:[23, 19], Operations: ['96-73=23', '31-12=19']
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.