nums listlengths 4 4 | target int64 10 100 | solution listlengths 3 3 | optimal_path stringlengths 282 529 | start_size int64 4 4 | search_path stringlengths 505 16.8k | rating float64 0 0.99 | search_type stringclasses 5 values | heuristic stringclasses 2 values |
|---|---|---|---|---|---|---|---|---|
[
15,
2,
68,
80
] | 90 | [
"80-68=12",
"15*12=180",
"180/2=90"
] | Current State: 90:[15, 2, 68, 80], Operations: []
Exploring Operation: 80-68=12, Resulting Numbers: [15, 2, 12]
Generated Node #2: [15, 2, 12] from Operation: 80-68=12
Current State: 90:[15, 2, 12], Operations: ['80-68=12']
Exploring Operation: 15*12=180, Resulting Numbers: [2, 180]
Generated Node #3: [2, 180] from Operation: 15*12=180
Current State: 90:[2, 180], Operations: ['80-68=12', '15*12=180']
Exploring Operation: 180/2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[15, 2, 68, 80], Operations: []
Exploring Operation: 15+68=83, Resulting Numbers: [2, 80, 83]
Generated Node #0,0: 90:[2, 80, 83] Operation: 15+68=83
Exploring Operation: 68/2=34, Resulting Numbers: [15, 80, 34]
Generated Node #0,1: 90:[15, 80, 34] Operation: 68/2=34
Exploring Operation: 80-68=12, Resulting Numbers: [15, 2, 12]
Generated Node #0,2: 90:[15, 2, 12] Operation: 80-68=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[15, 2, 12], Operations: ['80-68=12']
Exploring Operation: 12/2=6, Resulting Numbers: [15, 6]
Generated Node #0,2,0: 90:[15, 6] Operation: 12/2=6
Exploring Operation: 12-2=10, Resulting Numbers: [15, 10]
Generated Node #0,2,1: 90:[15, 10] Operation: 12-2=10
Exploring Operation: 15-12=3, Resulting Numbers: [2, 3]
Generated Node #0,2,2: 90:[2, 3] Operation: 15-12=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 90:[15, 6], Operations: ['80-68=12', '12/2=6']
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[15, 2, 68, 80], Operations: []
Exploring Operation: 80-68=12, Resulting Numbers: [15, 2, 12]
Generated Node #0,2: 90:[15, 2, 12] Operation: 80-68=12
Moving to Node #0,2
Current State: 90:[15, 2, 12], Operations: ['80-68=12']
Exploring Operation: 12/2=6, Resulting Numbers: [15, 6]
Generated Node #0,2,0: 90:[15, 6] Operation: 12/2=6
Moving to Node #0,2,0
Current State: 90:[15, 6], Operations: ['80-68=12', '12/2=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
96,
7,
48,
67
] | 53 | [
"96*7=672",
"672/48=14",
"67-14=53"
] | Current State: 53:[96, 7, 48, 67], Operations: []
Exploring Operation: 96*7=672, Resulting Numbers: [48, 67, 672]
Generated Node #2: [48, 67, 672] from Operation: 96*7=672
Current State: 53:[48, 67, 672], Operations: ['96*7=672']
Exploring Operation: 672/48=14, Resulting Numbers: [67, 14]
Generated Node #3: [67, 14] from Operation: 672/48=14
Current State: 53:[67, 14], Operations: ['96*7=672', '672/48=14']
Exploring Operation: 67-14=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[96, 7, 48, 67], Operations: []
Exploring Operation: 7+48=55, Resulting Numbers: [96, 67, 55]
Generated Node #0,0: 53:[96, 67, 55] Operation: 7+48=55
Exploring Operation: 96-48=48, Resulting Numbers: [7, 67, 48]
Generated Node #0,1: 53:[7, 67, 48] Operation: 96-48=48
Exploring Operation: 67-7=60, Resulting Numbers: [96, 48, 60]
Generated Node #0,2: 53:[96, 48, 60] Operation: 67-7=60
Exploring Operation: 96+7=103, Resulting Numbers: [48, 67, 103]
Generated Node #0,3: 53:[48, 67, 103] Operation: 96+7=103
Exploring Operation: 96-7=89, Resulting Numbers: [48, 67, 89]
Generated Node #0,4: 53:[48, 67, 89] Operation: 96-7=89
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[96, 48, 60], Operations: ['67-7=60']
Exploring Operation: 96+48=144, Resulting Numbers: [60, 144]
Generated Node #0,2,0: 53:[60, 144] Operation: 96+48=144
Exploring Operation: 96-60=36, Resulting Numbers: [48, 36]
Generated Node #0,2,1: 53:[48, 36] Operation: 96-60=36
Exploring Operation: 96/48=2, Resulting Numbers: [60, 2]
Generated Node #0,2,2: 53:[60, 2] Operation: 96/48=2
Exploring Operation: 96-48=48, Resulting Numbers: [60, 48]
Generated Node #0,2,3: 53:[60, 48] Operation: 96-48=48
Exploring Operation: 60-48=12, Resulting Numbers: [96, 12]
Generated Node #0,2,4: 53:[96, 12] Operation: 60-48=12
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 53:[60, 48], Operations: ['67-7=60', '96-48=48']
Exploring Operation: 60+48=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 60*48=2880, Resulting Numbers: [2880]
2880,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 53:[48, 36], Operations: ['67-7=60', '96-60=36']
Exploring Operation: 48*36=1728, Resulting Numbers: [1728]
1728,53 unequal: No Solution
Exploring Operation: 48+36=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 53:[60, 2], Operations: ['67-7=60', '96/48=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,53 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,53 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 53:[96, 12], Operations: ['67-7=60', '60-48=12']
Exploring Operation: 96+12=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 96-12=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 96*12=1152, Resulting Numbers: [1152]
1152,53 unequal: No Solution
Exploring Operation: 96/12=8, Resulting Numbers: [8]
8,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 53:[60, 144], Operations: ['67-7=60', '96+48=144']
Exploring Operation: 144-60=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 60*144=8640, Resulting Numbers: [8640]
8640,53 unequal: No Solution
Exploring Operation: 60+144=204, Resulting Numbers: [204]
204,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 53:[48, 67, 89], Operations: ['96-7=89']
Exploring Operation: 48+67=115, Resulting Numbers: [89, 115]
Generated Node #0,4,0: 53:[89, 115] Operation: 48+67=115
Exploring Operation: 89-67=22, Resulting Numbers: [48, 22]
Generated Node #0,4,1: 53:[48, 22] Operation: 89-67=22
Exploring Operation: 48+89=137, Resulting Numbers: [67, 137]
Generated Node #0,4,2: 53:[67, 137] Operation: 48+89=137
Exploring Operation: 67-48=19, Resulting Numbers: [89, 19]
Generated Node #0,4,3: 53:[89, 19] Operation: 67-48=19
Exploring Operation: 89-48=41, Resulting Numbers: [67, 41]
Generated Node #0,4,4: 53:[67, 41] Operation: 89-48=41
Moving to Node #0,4,4
Current State: 53:[67, 41], Operations: ['96-7=89', '89-48=41']
Exploring Operation: 67*41=2747, Resulting Numbers: [2747]
2747,53 unequal: No Solution
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 67+41=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Moving to Node #0,4,1
Current State: 53:[48, 22], Operations: ['96-7=89', '89-67=22']
Exploring Operation: 48+22=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Exploring Operation: 48*22=1056, Resulting Numbers: [1056]
1056,53 unequal: No Solution
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Moving to Node #0,4,3
Current State: 53:[89, 19], Operations: ['96-7=89', '67-48=19']
Exploring Operation: 89+19=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 89*19=1691, Resulting Numbers: [1691]
1691,53 unequal: No Solution
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Moving to Node #0,4,0
Current State: 53:[89, 115], Operations: ['96-7=89', '48+67=115']
Exploring Operation: 89*115=10235, Resulting Numbers: [10235]
10235,53 unequal: No Solution
Exploring Operation: 89+115=204, Resulting Numbers: [204]
204,53 unequal: No Solution
Exploring Operation: 115-89=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Moving to Node #0,4,2
Current State: 53:[67, 137], Operations: ['96-7=89', '48+89=137']
Exploring Operation: 137-67=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Exploring Operation: 67+137=204, Resulting Numbers: [204]
204,53 unequal: No Solution
Exploring Operation: 67*137=9179, Resulting Numbers: [9179]
9179,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:[96, 67, 55], Operations: ['7+48=55']
Exploring Operation: 96+67=163, Resulting Numbers: [55, 163]
Generated Node #0,0,0: 53:[55, 163] Operation: 96+67=163
Exploring Operation: 96-55=41, Resulting Numbers: [67, 41]
Generated Node #0,0,1: 53:[67, 41] Operation: 96-55=41
Exploring Operation: 67-55=12, Resulting Numbers: [96, 12]
Generated Node #0,0,2: 53:[96, 12] Operation: 67-55=12
Exploring Operation: 96-67=29, Resulting Numbers: [55, 29]
Generated Node #0,0,3: 53:[55, 29] Operation: 96-67=29
Exploring Operation: 96+55=151, Resulting Numbers: [67, 151]
Generated Node #0,0,4: 53:[67, 151] Operation: 96+55=151
Moving to Node #0,0,1
Current State: 53:[67, 41], Operations: ['7+48=55', '96-55=41']
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 67+41=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 67*41=2747, Resulting Numbers: [2747]
2747,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[55, 29], Operations: ['7+48=55', '96-67=29']
Exploring Operation: 55*29=1595, Resulting Numbers: [1595]
1595,53 unequal: No Solution
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 55+29=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[96, 12], Operations: ['7+48=55', '67-55=12']
Exploring Operation: 96+12=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 96/12=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 96-12=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 96*12=1152, Resulting Numbers: [1152]
1152,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[55, 163], Operations: ['7+48=55', '96+67=163']
Exploring Operation: 55+163=218, Resulting Numbers: [218]
218,53 unequal: No Solution
Exploring Operation: 163-55=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 55*163=8965, Resulting Numbers: [8965]
8965,53 unequal: No Solution
Moving to Node #0,0,4
Current State: 53:[67, 151], Operations: ['7+48=55', '96+55=151']
Exploring Operation: 67+151=218, Resulting Numbers: [218]
218,53 unequal: No Solution
Exploring Operation: 67*151=10117, Resulting Numbers: [10117]
10117,53 unequal: No Solution
Exploring Operation: 151-67=84, Resulting Numbers: [84]
84,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
Current State: 53:[7, 67, 48], Operations: ['96-48=48']
Exploring Operation: 67-7=60, Resulting Numbers: [48, 60]
Generated Node #0,1,0: 53:[48, 60] Operation: 67-7=60
Exploring Operation: 7+48=55, Resulting Numbers: [67, 55]
Generated Node #0,1,1: 53:[67, 55] Operation: 7+48=55
Exploring Operation: 67-48=19, Resulting Numbers: [7, 19]
Generated Node #0,1,2: 53:[7, 19] Operation: 67-48=19
Exploring Operation: 7+67=74, Resulting Numbers: [48, 74]
Generated Node #0,1,3: 53:[48, 74] Operation: 7+67=74
Exploring Operation: 48-7=41, Resulting Numbers: [67, 41]
Generated Node #0,1,4: 53:[67, 41] Operation: 48-7=41
Moving to Node #0,1,0
Current State: 53:[48, 60], Operations: ['96-48=48', '67-7=60']
Exploring Operation: 48+60=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 48*60=2880, Resulting Numbers: [2880]
2880,53 unequal: No Solution
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[67, 55], Operations: ['96-48=48', '7+48=55']
Exploring Operation: 67-55=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 67+55=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 67*55=3685, Resulting Numbers: [3685]
3685,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[48, 74], Operations: ['96-48=48', '7+67=74']
Exploring Operation: 48*74=3552, Resulting Numbers: [3552]
3552,53 unequal: No Solution
Exploring Operation: 48+74=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Moving to Node #0,1,4
Current State: 53:[67, 41], Operations: ['96-48=48', '48-7=41']
Exploring Operation: 67+41=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 67*41=2747, Resulting Numbers: [2747]
2747,53 unequal: No Solution
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[7, 19], Operations: ['96-48=48', '67-48=19']
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,53 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,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,3
Current State: 53:[48, 67, 103], Operations: ['96+7=103']
Exploring Operation: 67-48=19, Resulting Numbers: [103, 19]
Generated Node #0,3,0: 53:[103, 19] Operation: 67-48=19
Exploring Operation: 48+67=115, Resulting Numbers: [103, 115]
Generated Node #0,3,1: 53:[103, 115] Operation: 48+67=115
Exploring Operation: 103-48=55, Resulting Numbers: [67, 55]
Generated Node #0,3,2: 53:[67, 55] Operation: 103-48=55
Exploring Operation: 103-67=36, Resulting Numbers: [48, 36]
Generated Node #0,3,3: 53:[48, 36] Operation: 103-67=36
Exploring Operation: 48+103=151, Resulting Numbers: [67, 151]
Generated Node #0,3,4: 53:[67, 151] Operation: 48+103=151
Moving to Node #0,3,2
Current State: 53:[67, 55], Operations: ['96+7=103', '103-48=55']
Exploring Operation: 67+55=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 67*55=3685, Resulting Numbers: [3685]
3685,53 unequal: No Solution
Exploring Operation: 67-55=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[48, 36], Operations: ['96+7=103', '103-67=36']
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 48+36=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 48*36=1728, Resulting Numbers: [1728]
1728,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[103, 19], Operations: ['96+7=103', '67-48=19']
Exploring Operation: 103+19=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 103*19=1957, Resulting Numbers: [1957]
1957,53 unequal: No Solution
Exploring Operation: 103-19=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[103, 115], Operations: ['96+7=103', '48+67=115']
Exploring Operation: 103+115=218, Resulting Numbers: [218]
218,53 unequal: No Solution
Exploring Operation: 115-103=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 103*115=11845, Resulting Numbers: [11845]
11845,53 unequal: No Solution
Moving to Node #0,3,4
Current State: 53:[67, 151], Operations: ['96+7=103', '48+103=151']
Exploring Operation: 151-67=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 67*151=10117, Resulting Numbers: [10117]
10117,53 unequal: No Solution
Exploring Operation: 67+151=218, Resulting Numbers: [218]
218,53 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 |
[
32,
25,
84,
40
] | 52 | [
"32-25=7",
"84/7=12",
"40+12=52"
] | Current State: 52:[32, 25, 84, 40], Operations: []
Exploring Operation: 32-25=7, Resulting Numbers: [84, 40, 7]
Generated Node #2: [84, 40, 7] from Operation: 32-25=7
Current State: 52:[84, 40, 7], Operations: ['32-25=7']
Exploring Operation: 84/7=12, Resulting Numbers: [40, 12]
Generated Node #3: [40, 12] from Operation: 84/7=12
Current State: 52:[40, 12], Operations: ['32-25=7', '84/7=12']
Exploring Operation: 40+12=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[32, 25, 84, 40], Operations: []
Exploring Operation: 84-32=52, Resulting Numbers: [25, 40, 52]
Generated Node #0,0: 52:[25, 40, 52] Operation: 84-32=52
Moving to Node #0,0
Current State: 52:[25, 40, 52], Operations: ['84-32=52']
Exploring Operation: 40-25=15, Resulting Numbers: [52, 15]
Generated Node #0,0,0: 52:[52, 15] Operation: 40-25=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[52, 15], Operations: ['84-32=52', '40-25=15']
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,52 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 |
[
56,
70,
92,
55
] | 21 | [
"56+70=126",
"92+55=147",
"147-126=21"
] | Current State: 21:[56, 70, 92, 55], Operations: []
Exploring Operation: 56+70=126, Resulting Numbers: [92, 55, 126]
Generated Node #2: [92, 55, 126] from Operation: 56+70=126
Current State: 21:[92, 55, 126], Operations: ['56+70=126']
Exploring Operation: 92+55=147, Resulting Numbers: [126, 147]
Generated Node #3: [126, 147] from Operation: 92+55=147
Current State: 21:[126, 147], Operations: ['56+70=126', '92+55=147']
Exploring Operation: 147-126=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[56, 70, 92, 55], Operations: []
Exploring Operation: 92-55=37, Resulting Numbers: [56, 70, 37]
Generated Node #0,0: 21:[56, 70, 37] Operation: 92-55=37
Exploring Operation: 92-56=36, Resulting Numbers: [70, 55, 36]
Generated Node #0,1: 21:[70, 55, 36] Operation: 92-56=36
Exploring Operation: 92-70=22, Resulting Numbers: [56, 55, 22]
Generated Node #0,2: 21:[56, 55, 22] Operation: 92-70=22
Exploring Operation: 70-56=14, Resulting Numbers: [92, 55, 14]
Generated Node #0,3: 21:[92, 55, 14] Operation: 70-56=14
Moving to Node #0,2
Current State: 21:[56, 55, 22], Operations: ['92-70=22']
Exploring Operation: 56+55=111, Resulting Numbers: [22, 111]
Generated Node #0,2,0: 21:[22, 111] Operation: 56+55=111
Exploring Operation: 56-55=1, Resulting Numbers: [22, 1]
Generated Node #0,2,1: 21:[22, 1] Operation: 56-55=1
Exploring Operation: 56-22=34, Resulting Numbers: [55, 34]
Generated Node #0,2,2: 21:[55, 34] Operation: 56-22=34
Exploring Operation: 55-22=33, Resulting Numbers: [56, 33]
Generated Node #0,2,3: 21:[56, 33] Operation: 55-22=33
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 21:[22, 1], Operations: ['92-70=22', '56-55=1']
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[56, 70, 92, 55], Operations: []
Exploring Operation: 92-70=22, Resulting Numbers: [56, 55, 22]
Generated Node #0,2: 21:[56, 55, 22] Operation: 92-70=22
Moving to Node #0,2
Current State: 21:[56, 55, 22], Operations: ['92-70=22']
Exploring Operation: 56-55=1, Resulting Numbers: [22, 1]
Generated Node #0,2,1: 21:[22, 1] Operation: 56-55=1
Moving to Node #0,2,1
Current State: 21:[22, 1], Operations: ['92-70=22', '56-55=1']
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
10,
63,
7,
28
] | 12 | [
"63-7=56",
"56/28=2",
"10+2=12"
] | Current State: 12:[10, 63, 7, 28], Operations: []
Exploring Operation: 63-7=56, Resulting Numbers: [10, 28, 56]
Generated Node #2: [10, 28, 56] from Operation: 63-7=56
Current State: 12:[10, 28, 56], Operations: ['63-7=56']
Exploring Operation: 56/28=2, Resulting Numbers: [10, 2]
Generated Node #3: [10, 2] from Operation: 56/28=2
Current State: 12:[10, 2], Operations: ['63-7=56', '56/28=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[10, 63, 7, 28], Operations: []
Exploring Operation: 63/7=9, Resulting Numbers: [10, 28, 9]
Generated Node #0,0: 12:[10, 28, 9] Operation: 63/7=9
Exploring Operation: 28-10=18, Resulting Numbers: [63, 7, 18]
Generated Node #0,1: 12:[63, 7, 18] Operation: 28-10=18
Exploring Operation: 63-10=53, Resulting Numbers: [7, 28, 53]
Generated Node #0,2: 12:[7, 28, 53] Operation: 63-10=53
Exploring Operation: 63-28=35, Resulting Numbers: [10, 7, 35]
Generated Node #0,3: 12:[10, 7, 35] Operation: 63-28=35
Exploring Operation: 28/7=4, Resulting Numbers: [10, 63, 4]
Generated Node #0,4: 12:[10, 63, 4] Operation: 28/7=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[10, 28, 9], Operations: ['63/7=9']
Exploring Operation: 28-10=18, Resulting Numbers: [9, 18]
Generated Node #0,0,0: 12:[9, 18] Operation: 28-10=18
Exploring Operation: 10-9=1, Resulting Numbers: [28, 1]
Generated Node #0,0,1: 12:[28, 1] Operation: 10-9=1
Exploring Operation: 28+9=37, Resulting Numbers: [10, 37]
Generated Node #0,0,2: 12:[10, 37] Operation: 28+9=37
Exploring Operation: 10+9=19, Resulting Numbers: [28, 19]
Generated Node #0,0,3: 12:[28, 19] Operation: 10+9=19
Exploring Operation: 28-9=19, Resulting Numbers: [10, 19]
Generated Node #0,0,4: 12:[10, 19] Operation: 28-9=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[9, 18], Operations: ['63/7=9', '28-10=18']
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 9*18=162, Resulting Numbers: [162]
162,12 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 12:[10, 19], Operations: ['63/7=9', '28-9=19']
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,12 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,12 unequal: No Solution
No 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: 12:[28, 1], Operations: ['63/7=9', '10-9=1']
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,12 unequal: No Solution
No 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: 12:[28, 19], Operations: ['63/7=9', '10+9=19']
Exploring Operation: 28*19=532, Resulting Numbers: [532]
532,12 unequal: No Solution
Exploring Operation: 28+19=47, Resulting Numbers: [47]
47,12 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,12 unequal: No Solution
No 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: 12:[10, 37], Operations: ['63/7=9', '28+9=37']
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,12 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 10*37=370, Resulting Numbers: [370]
370,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[10, 7, 35], Operations: ['63-28=35']
Exploring Operation: 10-7=3, Resulting Numbers: [35, 3]
Generated Node #0,3,0: 12:[35, 3] Operation: 10-7=3
Exploring Operation: 35-7=28, Resulting Numbers: [10, 28]
Generated Node #0,3,1: 12:[10, 28] Operation: 35-7=28
Exploring Operation: 35-10=25, Resulting Numbers: [7, 25]
Generated Node #0,3,2: 12:[7, 25] Operation: 35-10=25
Exploring Operation: 35/7=5, Resulting Numbers: [10, 5]
Generated Node #0,3,3: 12:[10, 5] Operation: 35/7=5
Exploring Operation: 10+7=17, Resulting Numbers: [35, 17]
Generated Node #0,3,4: 12:[35, 17] Operation: 10+7=17
Moving to Node #0,3,3
Current State: 12:[10, 5], Operations: ['63-28=35', '35/7=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,12 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Moving to Node #0,3,2
Current State: 12:[7, 25], Operations: ['63-28=35', '35-10=25']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Exploring Operation: 7*25=175, Resulting Numbers: [175]
175,12 unequal: No Solution
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Moving to Node #0,3,1
Current State: 12:[10, 28], Operations: ['63-28=35', '35-7=28']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Exploring Operation: 10*28=280, Resulting Numbers: [280]
280,12 unequal: No Solution
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Moving to Node #0,3,0
Current State: 12:[35, 3], Operations: ['63-28=35', '10-7=3']
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,12 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Moving to Node #0,3,4
Current State: 12:[35, 17], Operations: ['63-28=35', '10+7=17']
Exploring Operation: 35*17=595, Resulting Numbers: [595]
595,12 unequal: No Solution
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 12:[10, 63, 4], Operations: ['28/7=4']
Exploring Operation: 63-10=53, Resulting Numbers: [4, 53]
Generated Node #0,4,0: 12:[4, 53] Operation: 63-10=53
Exploring Operation: 10-4=6, Resulting Numbers: [63, 6]
Generated Node #0,4,1: 12:[63, 6] Operation: 10-4=6
Exploring Operation: 63+4=67, Resulting Numbers: [10, 67]
Generated Node #0,4,2: 12:[10, 67] Operation: 63+4=67
Exploring Operation: 63-4=59, Resulting Numbers: [10, 59]
Generated Node #0,4,3: 12:[10, 59] Operation: 63-4=59
Exploring Operation: 10+4=14, Resulting Numbers: [63, 14]
Generated Node #0,4,4: 12:[63, 14] Operation: 10+4=14
Moving to Node #0,4,0
Current State: 12:[4, 53], Operations: ['28/7=4', '63-10=53']
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 4*53=212, Resulting Numbers: [212]
212,12 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,12 unequal: No Solution
Moving to Node #0,4,3
Current State: 12:[10, 59], Operations: ['28/7=4', '63-4=59']
Exploring Operation: 10*59=590, Resulting Numbers: [590]
590,12 unequal: No Solution
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,12 unequal: No Solution
Exploring Operation: 10+59=69, Resulting Numbers: [69]
69,12 unequal: No Solution
Moving to Node #0,4,1
Current State: 12:[63, 6], Operations: ['28/7=4', '10-4=6']
Exploring Operation: 63*6=378, Resulting Numbers: [378]
378,12 unequal: No Solution
Exploring Operation: 63+6=69, Resulting Numbers: [69]
69,12 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Moving to Node #0,4,4
Current State: 12:[63, 14], Operations: ['28/7=4', '10+4=14']
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,12 unequal: No Solution
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,12 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,12 unequal: No Solution
Moving to Node #0,4,2
Current State: 12:[10, 67], Operations: ['28/7=4', '63+4=67']
Exploring Operation: 10+67=77, Resulting Numbers: [77]
77,12 unequal: No Solution
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 10*67=670, Resulting Numbers: [670]
670,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[63, 7, 18], Operations: ['28-10=18']
Exploring Operation: 18-7=11, Resulting Numbers: [63, 11]
Generated Node #0,1,0: 12:[63, 11] Operation: 18-7=11
Exploring Operation: 63-18=45, Resulting Numbers: [7, 45]
Generated Node #0,1,1: 12:[7, 45] Operation: 63-18=45
Exploring Operation: 63+7=70, Resulting Numbers: [18, 70]
Generated Node #0,1,2: 12:[18, 70] Operation: 63+7=70
Exploring Operation: 63/7=9, Resulting Numbers: [18, 9]
Generated Node #0,1,3: 12:[18, 9] Operation: 63/7=9
Exploring Operation: 63-7=56, Resulting Numbers: [18, 56]
Generated Node #0,1,4: 12:[18, 56] Operation: 63-7=56
Moving to Node #0,1,3
Current State: 12:[18, 9], Operations: ['28-10=18', '63/7=9']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Exploring Operation: 18*9=162, Resulting Numbers: [162]
162,12 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[7, 45], Operations: ['28-10=18', '63-18=45']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,12 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Moving to Node #0,1,4
Current State: 12:[18, 56], Operations: ['28-10=18', '63-7=56']
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Exploring Operation: 18*56=1008, Resulting Numbers: [1008]
1008,12 unequal: No Solution
Exploring Operation: 18+56=74, Resulting Numbers: [74]
74,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[63, 11], Operations: ['28-10=18', '18-7=11']
Exploring Operation: 63*11=693, Resulting Numbers: [693]
693,12 unequal: No Solution
Exploring Operation: 63+11=74, Resulting Numbers: [74]
74,12 unequal: No Solution
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[18, 70], Operations: ['28-10=18', '63+7=70']
Exploring Operation: 18*70=1260, Resulting Numbers: [1260]
1260,12 unequal: No Solution
Exploring Operation: 18+70=88, Resulting Numbers: [88]
88,12 unequal: No Solution
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[7, 28, 53], Operations: ['63-10=53']
Exploring Operation: 53-7=46, Resulting Numbers: [28, 46]
Generated Node #0,2,0: 12:[28, 46] Operation: 53-7=46
Exploring Operation: 28/7=4, Resulting Numbers: [53, 4]
Generated Node #0,2,1: 12:[53, 4] Operation: 28/7=4
Exploring Operation: 53-28=25, Resulting Numbers: [7, 25]
Generated Node #0,2,2: 12:[7, 25] Operation: 53-28=25
Exploring Operation: 7+28=35, Resulting Numbers: [53, 35]
Generated Node #0,2,3: 12:[53, 35] Operation: 7+28=35
Exploring Operation: 28-7=21, Resulting Numbers: [53, 21]
Generated Node #0,2,4: 12:[53, 21] Operation: 28-7=21
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 12:[7, 25], Operations: ['63-10=53', '53-28=25']
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Exploring Operation: 7*25=175, Resulting Numbers: [175]
175,12 unequal: No Solution
No 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: 12:[53, 4], Operations: ['63-10=53', '28/7=4']
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,12 unequal: No Solution
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,12 unequal: No Solution
No 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: 12:[28, 46], Operations: ['63-10=53', '53-7=46']
Exploring Operation: 28+46=74, Resulting Numbers: [74]
74,12 unequal: No Solution
Exploring Operation: 28*46=1288, Resulting Numbers: [1288]
1288,12 unequal: No Solution
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,12 unequal: No Solution
No 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: 12:[53, 21], Operations: ['63-10=53', '28-7=21']
Exploring Operation: 53*21=1113, Resulting Numbers: [1113]
1113,12 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 53+21=74, Resulting Numbers: [74]
74,12 unequal: No Solution
No 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: 12:[53, 35], Operations: ['63-10=53', '7+28=35']
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Exploring Operation: 53+35=88, Resulting Numbers: [88]
88,12 unequal: No Solution
Exploring Operation: 53*35=1855, Resulting Numbers: [1855]
1855,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
93,
39,
1,
22
] | 75 | [
"93-39=54",
"22-1=21",
"54+21=75"
] | Current State: 75:[93, 39, 1, 22], Operations: []
Exploring Operation: 93-39=54, Resulting Numbers: [1, 22, 54]
Generated Node #2: [1, 22, 54] from Operation: 93-39=54
Current State: 75:[1, 22, 54], Operations: ['93-39=54']
Exploring Operation: 22-1=21, Resulting Numbers: [54, 21]
Generated Node #3: [54, 21] from Operation: 22-1=21
Current State: 75:[54, 21], Operations: ['93-39=54', '22-1=21']
Exploring Operation: 54+21=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[93, 39, 1, 22], Operations: []
Exploring Operation: 93-39=54, Resulting Numbers: [1, 22, 54]
Generated Node #0,0: 75:[1, 22, 54] Operation: 93-39=54
Exploring Operation: 39-22=17, Resulting Numbers: [93, 1, 17]
Generated Node #0,1: 75:[93, 1, 17] Operation: 39-22=17
Exploring Operation: 93-22=71, Resulting Numbers: [39, 1, 71]
Generated Node #0,2: 75:[39, 1, 71] Operation: 93-22=71
Moving to Node #0,2
Current State: 75:[39, 1, 71], Operations: ['93-22=71']
Exploring Operation: 71-39=32, Resulting Numbers: [1, 32]
Generated Node #0,2,0: 75:[1, 32] Operation: 71-39=32
Exploring Operation: 39-1=38, Resulting Numbers: [71, 38]
Generated Node #0,2,1: 75:[71, 38] Operation: 39-1=38
Exploring Operation: 1+71=72, Resulting Numbers: [39, 72]
Generated Node #0,2,2: 75:[39, 72] Operation: 1+71=72
Moving to Node #0,1
Current State: 75:[93, 1, 17], Operations: ['39-22=17']
Exploring Operation: 17-1=16, Resulting Numbers: [93, 16]
Generated Node #0,1,0: 75:[93, 16] Operation: 17-1=16
Exploring Operation: 93-17=76, Resulting Numbers: [1, 76]
Generated Node #0,1,1: 75:[1, 76] Operation: 93-17=76
Exploring Operation: 93-1=92, Resulting Numbers: [17, 92]
Generated Node #0,1,2: 75:[17, 92] Operation: 93-1=92
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[1, 76], Operations: ['39-22=17', '93-17=76']
Exploring Operation: 1*76=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[93, 39, 1, 22], Operations: []
Exploring Operation: 39-22=17, Resulting Numbers: [93, 1, 17]
Generated Node #0,1: 75:[93, 1, 17] Operation: 39-22=17
Moving to Node #0,1
Current State: 75:[93, 1, 17], Operations: ['39-22=17']
Exploring Operation: 93-17=76, Resulting Numbers: [1, 76]
Generated Node #0,1,1: 75:[1, 76] Operation: 93-17=76
Moving to Node #0,1,1
Current State: 75:[1, 76], Operations: ['39-22=17', '93-17=76']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
48,
1,
99,
33
] | 18 | [
"48*1=48",
"99-33=66",
"66-48=18"
] | Current State: 18:[48, 1, 99, 33], Operations: []
Exploring Operation: 48*1=48, Resulting Numbers: [99, 33, 48]
Generated Node #2: [99, 33, 48] from Operation: 48*1=48
Current State: 18:[99, 33, 48], Operations: ['48*1=48']
Exploring Operation: 99-33=66, Resulting Numbers: [48, 66]
Generated Node #3: [48, 66] from Operation: 99-33=66
Current State: 18:[48, 66], Operations: ['48*1=48', '99-33=66']
Exploring Operation: 66-48=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[48, 1, 99, 33], Operations: []
Exploring Operation: 99-48=51, Resulting Numbers: [1, 33, 51]
Generated Node #0,0: 18:[1, 33, 51] Operation: 99-48=51
Exploring Operation: 99/33=3, Resulting Numbers: [48, 1, 3]
Generated Node #0,1: 18:[48, 1, 3] Operation: 99/33=3
Exploring Operation: 99-33=66, Resulting Numbers: [48, 1, 66]
Generated Node #0,2: 18:[48, 1, 66] Operation: 99-33=66
Moving to Node #0,1
Current State: 18:[48, 1, 3], Operations: ['99/33=3']
Exploring Operation: 48-3=45, Resulting Numbers: [1, 45]
Generated Node #0,1,0: 18:[1, 45] Operation: 48-3=45
Exploring Operation: 48-1=47, Resulting Numbers: [3, 47]
Generated Node #0,1,1: 18:[3, 47] Operation: 48-1=47
Exploring Operation: 48/3=16, Resulting Numbers: [1, 16]
Generated Node #0,1,2: 18:[1, 16] Operation: 48/3=16
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[1, 16], Operations: ['99/33=3', '48/3=16']
Exploring Operation: 1+16=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[1, 45], Operations: ['99/33=3', '48-3=45']
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,18 unequal: No Solution
Exploring Operation: 1*45=45, Resulting Numbers: [45]
45,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[3, 47], Operations: ['99/33=3', '48-1=47']
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,18 unequal: No Solution
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,18 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: 18:[1, 33, 51], Operations: ['99-48=51']
Exploring Operation: 51-33=18, Resulting Numbers: [1, 18]
Generated Node #0,0,0: 18:[1, 18] Operation: 51-33=18
Exploring Operation: 51-1=50, Resulting Numbers: [33, 50]
Generated Node #0,0,1: 18:[33, 50] Operation: 51-1=50
Exploring Operation: 33-1=32, Resulting Numbers: [51, 32]
Generated Node #0,0,2: 18:[51, 32] Operation: 33-1=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[1, 18], Operations: ['99-48=51', '51-33=18']
Exploring Operation: 1+18=19, Resulting Numbers: [19]
19,18 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[48, 1, 99, 33], Operations: []
Exploring Operation: 99-48=51, Resulting Numbers: [1, 33, 51]
Generated Node #0,0: 18:[1, 33, 51] Operation: 99-48=51
Moving to Node #0,0
Current State: 18:[1, 33, 51], Operations: ['99-48=51']
Exploring Operation: 51-33=18, Resulting Numbers: [1, 18]
Generated Node #0,0,0: 18:[1, 18] Operation: 51-33=18
Moving to Node #0,0,0
Current State: 18:[1, 18], Operations: ['99-48=51', '51-33=18']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
2,
46,
61,
36
] | 81 | [
"46-36=10",
"2*10=20",
"61+20=81"
] | Current State: 81:[2, 46, 61, 36], Operations: []
Exploring Operation: 46-36=10, Resulting Numbers: [2, 61, 10]
Generated Node #2: [2, 61, 10] from Operation: 46-36=10
Current State: 81:[2, 61, 10], Operations: ['46-36=10']
Exploring Operation: 2*10=20, Resulting Numbers: [61, 20]
Generated Node #3: [61, 20] from Operation: 2*10=20
Current State: 81:[61, 20], Operations: ['46-36=10', '2*10=20']
Exploring Operation: 61+20=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[2, 46, 61, 36], Operations: []
Exploring Operation: 61-46=15, Resulting Numbers: [2, 36, 15]
Generated Node #0,0: 81:[2, 36, 15] Operation: 61-46=15
Exploring Operation: 46+36=82, Resulting Numbers: [2, 61, 82]
Generated Node #0,1: 81:[2, 61, 82] Operation: 46+36=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[2, 36, 15], Operations: ['61-46=15']
Exploring Operation: 36-15=21, Resulting Numbers: [2, 21]
Generated Node #0,0,0: 81:[2, 21] Operation: 36-15=21
Exploring Operation: 2*15=30, Resulting Numbers: [36, 30]
Generated Node #0,0,1: 81:[36, 30] Operation: 2*15=30
Moving to Node #0,0,0
Current State: 81:[2, 21], Operations: ['61-46=15', '36-15=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[36, 30], Operations: ['61-46=15', '2*15=30']
Exploring Operation: 36+30=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[2, 61, 82], Operations: ['46+36=82']
Exploring Operation: 82-61=21, Resulting Numbers: [2, 21]
Generated Node #0,1,0: 81:[2, 21] Operation: 82-61=21
Exploring Operation: 2+61=63, Resulting Numbers: [82, 63]
Generated Node #0,1,1: 81:[82, 63] Operation: 2+61=63
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[2, 21], Operations: ['46+36=82', '82-61=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,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,1,1
Current State: 81:[82, 63], Operations: ['46+36=82', '2+61=63']
Exploring Operation: 82+63=145, Resulting Numbers: [145]
145,81 unequal: No Solution
Exploring Operation: 82-63=19, Resulting Numbers: [19]
19,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_2 | mult_heuristic |
[
74,
6,
2,
51
] | 17 | [
"74-6=68",
"68/2=34",
"51-34=17"
] | Current State: 17:[74, 6, 2, 51], Operations: []
Exploring Operation: 74-6=68, Resulting Numbers: [2, 51, 68]
Generated Node #2: [2, 51, 68] from Operation: 74-6=68
Current State: 17:[2, 51, 68], Operations: ['74-6=68']
Exploring Operation: 68/2=34, Resulting Numbers: [51, 34]
Generated Node #3: [51, 34] from Operation: 68/2=34
Current State: 17:[51, 34], Operations: ['74-6=68', '68/2=34']
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[74, 6, 2, 51], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [6, 51, 37]
Generated Node #0,0: 17:[6, 51, 37] Operation: 74/2=37
Exploring Operation: 74-6=68, Resulting Numbers: [2, 51, 68]
Generated Node #0,1: 17:[2, 51, 68] Operation: 74-6=68
Exploring Operation: 74-51=23, Resulting Numbers: [6, 2, 23]
Generated Node #0,2: 17:[6, 2, 23] Operation: 74-51=23
Exploring Operation: 6*2=12, Resulting Numbers: [74, 51, 12]
Generated Node #0,3: 17:[74, 51, 12] Operation: 6*2=12
Moving to Node #0,2
Current State: 17:[6, 2, 23], Operations: ['74-51=23']
Exploring Operation: 23-2=21, Resulting Numbers: [6, 21]
Generated Node #0,2,0: 17:[6, 21] Operation: 23-2=21
Exploring Operation: 23-6=17, Resulting Numbers: [2, 17]
Generated Node #0,2,1: 17:[2, 17] Operation: 23-6=17
Exploring Operation: 6+2=8, Resulting Numbers: [23, 8]
Generated Node #0,2,2: 17:[23, 8] Operation: 6+2=8
Exploring Operation: 6*2=12, Resulting Numbers: [23, 12]
Generated Node #0,2,3: 17:[23, 12] Operation: 6*2=12
Moving to Node #0,0
Current State: 17:[6, 51, 37], Operations: ['74/2=37']
Exploring Operation: 51-37=14, Resulting Numbers: [6, 14]
Generated Node #0,0,0: 17:[6, 14] Operation: 51-37=14
Exploring Operation: 6+51=57, Resulting Numbers: [37, 57]
Generated Node #0,0,1: 17:[37, 57] Operation: 6+51=57
Exploring Operation: 37-6=31, Resulting Numbers: [51, 31]
Generated Node #0,0,2: 17:[51, 31] Operation: 37-6=31
Exploring Operation: 51-6=45, Resulting Numbers: [37, 45]
Generated Node #0,0,3: 17:[37, 45] Operation: 51-6=45
Moving to Node #0,3
Current State: 17:[74, 51, 12], Operations: ['6*2=12']
Exploring Operation: 74-12=62, Resulting Numbers: [51, 62]
Generated Node #0,3,0: 17:[51, 62] Operation: 74-12=62
Exploring Operation: 74-51=23, Resulting Numbers: [12, 23]
Generated Node #0,3,1: 17:[12, 23] Operation: 74-51=23
Exploring Operation: 51-12=39, Resulting Numbers: [74, 39]
Generated Node #0,3,2: 17:[74, 39] Operation: 51-12=39
Exploring Operation: 74+12=86, Resulting Numbers: [51, 86]
Generated Node #0,3,3: 17:[51, 86] Operation: 74+12=86
Moving to Node #0,1
Current State: 17:[2, 51, 68], Operations: ['74-6=68']
Exploring Operation: 51-2=49, Resulting Numbers: [68, 49]
Generated Node #0,1,0: 17:[68, 49] Operation: 51-2=49
Exploring Operation: 68-2=66, Resulting Numbers: [51, 66]
Generated Node #0,1,1: 17:[51, 66] Operation: 68-2=66
Exploring Operation: 68/2=34, Resulting Numbers: [51, 34]
Generated Node #0,1,2: 17:[51, 34] Operation: 68/2=34
Exploring Operation: 68-51=17, Resulting Numbers: [2, 17]
Generated Node #0,1,3: 17:[2, 17] Operation: 68-51=17
Moving to Node #0,2,3
Current State: 17:[23, 12], Operations: ['74-51=23', '6*2=12']
Exploring Operation: 23*12=276, Resulting Numbers: [276]
276,17 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,17 unequal: No Solution
Exploring Operation: 23+12=35, Resulting Numbers: [35]
35,17 unequal: No Solution
Moving to Node #0,3,1
Current State: 17:[12, 23], Operations: ['6*2=12', '74-51=23']
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,17 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,17 unequal: No Solution
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[6, 14], Operations: ['74/2=37', '51-37=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,17 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[2, 17], Operations: ['74-51=23', '23-6=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Moving to Node #0,1,3
Current State: 17:[2, 17], Operations: ['74-6=68', '68-51=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Moving to Node #0,2,0
Current State: 17:[6, 21], Operations: ['74-51=23', '23-2=21']
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,17 unequal: No Solution
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,17 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Moving to Node #0,2,2
Current State: 17:[23, 8], Operations: ['74-51=23', '6+2=8']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,17 unequal: No Solution
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Moving to Node #0,0,3
Current State: 17:[37, 45], Operations: ['74/2=37', '51-6=45']
Exploring Operation: 37*45=1665, Resulting Numbers: [1665]
1665,17 unequal: No Solution
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 37+45=82, Resulting Numbers: [82]
82,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[51, 31], Operations: ['74/2=37', '37-6=31']
Exploring Operation: 51-31=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Exploring Operation: 51+31=82, Resulting Numbers: [82]
82,17 unequal: No Solution
Exploring Operation: 51*31=1581, Resulting Numbers: [1581]
1581,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[51, 34], Operations: ['74-6=68', '68/2=34']
Exploring Operation: 51+34=85, Resulting Numbers: [85]
85,17 unequal: No Solution
Exploring Operation: 51*34=1734, Resulting Numbers: [1734]
1734,17 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[74, 6, 2, 51], Operations: []
Exploring Operation: 74-6=68, Resulting Numbers: [2, 51, 68]
Generated Node #0,1: 17:[2, 51, 68] Operation: 74-6=68
Moving to Node #0,1
Current State: 17:[2, 51, 68], Operations: ['74-6=68']
Exploring Operation: 68/2=34, Resulting Numbers: [51, 34]
Generated Node #0,1,2: 17:[51, 34] Operation: 68/2=34
Moving to Node #0,1,2
Current State: 17:[51, 34], Operations: ['74-6=68', '68/2=34']
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 0.953125 | hs_4 | mult_heuristic |
[
17,
9,
18,
84
] | 94 | [
"17-9=8",
"18+84=102",
"102-8=94"
] | Current State: 94:[17, 9, 18, 84], Operations: []
Exploring Operation: 17-9=8, Resulting Numbers: [18, 84, 8]
Generated Node #2: [18, 84, 8] from Operation: 17-9=8
Current State: 94:[18, 84, 8], Operations: ['17-9=8']
Exploring Operation: 18+84=102, Resulting Numbers: [8, 102]
Generated Node #3: [8, 102] from Operation: 18+84=102
Current State: 94:[8, 102], Operations: ['17-9=8', '18+84=102']
Exploring Operation: 102-8=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[17, 9, 18, 84], Operations: []
Exploring Operation: 17+18=35, Resulting Numbers: [9, 84, 35]
Generated Node #0,0: 94:[9, 84, 35] Operation: 17+18=35
Exploring Operation: 18/9=2, Resulting Numbers: [17, 84, 2]
Generated Node #0,1: 94:[17, 84, 2] Operation: 18/9=2
Exploring Operation: 18-17=1, Resulting Numbers: [9, 84, 1]
Generated Node #0,2: 94:[9, 84, 1] Operation: 18-17=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[9, 84, 1], Operations: ['18-17=1']
Exploring Operation: 9-1=8, Resulting Numbers: [84, 8]
Generated Node #0,2,0: 94:[84, 8] Operation: 9-1=8
Exploring Operation: 9+84=93, Resulting Numbers: [1, 93]
Generated Node #0,2,1: 94:[1, 93] Operation: 9+84=93
Exploring Operation: 84+1=85, Resulting Numbers: [9, 85]
Generated Node #0,2,2: 94:[9, 85] Operation: 84+1=85
Moving to Node #0,2,1
Current State: 94:[1, 93], Operations: ['18-17=1', '9+84=93']
Exploring Operation: 1+93=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[17, 9, 18, 84], Operations: []
Exploring Operation: 18-17=1, Resulting Numbers: [9, 84, 1]
Generated Node #0,2: 94:[9, 84, 1] Operation: 18-17=1
Moving to Node #0,2
Current State: 94:[9, 84, 1], Operations: ['18-17=1']
Exploring Operation: 9+84=93, Resulting Numbers: [1, 93]
Generated Node #0,2,1: 94:[1, 93] Operation: 9+84=93
Moving to Node #0,2,1
Current State: 94:[1, 93], Operations: ['18-17=1', '9+84=93']
Exploring Operation: 1+93=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
36,
82,
47,
57
] | 36 | [
"82-36=46",
"57-47=10",
"46-10=36"
] | Current State: 36:[36, 82, 47, 57], Operations: []
Exploring Operation: 82-36=46, Resulting Numbers: [47, 57, 46]
Generated Node #2: [47, 57, 46] from Operation: 82-36=46
Current State: 36:[47, 57, 46], Operations: ['82-36=46']
Exploring Operation: 57-47=10, Resulting Numbers: [46, 10]
Generated Node #3: [46, 10] from Operation: 57-47=10
Current State: 36:[46, 10], Operations: ['82-36=46', '57-47=10']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[36, 82, 47, 57], Operations: []
Exploring Operation: 82-57=25, Resulting Numbers: [36, 47, 25]
Generated Node #0,0: 36:[36, 47, 25] Operation: 82-57=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[36, 47, 25], Operations: ['82-57=25']
Exploring Operation: 47-25=22, Resulting Numbers: [36, 22]
Generated Node #0,0,0: 36:[36, 22] Operation: 47-25=22
Moving to Node #0,0,0
Current State: 36:[36, 22], Operations: ['82-57=25', '47-25=22']
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
77,
59,
47,
60
] | 79 | [
"77*47=3619",
"59*60=3540",
"3619-3540=79"
] | Current State: 79:[77, 59, 47, 60], Operations: []
Exploring Operation: 77*47=3619, Resulting Numbers: [59, 60, 3619]
Generated Node #2: [59, 60, 3619] from Operation: 77*47=3619
Current State: 79:[59, 60, 3619], Operations: ['77*47=3619']
Exploring Operation: 59*60=3540, Resulting Numbers: [3619, 3540]
Generated Node #3: [3619, 3540] from Operation: 59*60=3540
Current State: 79:[3619, 3540], Operations: ['77*47=3619', '59*60=3540']
Exploring Operation: 3619-3540=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[77, 59, 47, 60], Operations: []
Exploring Operation: 77+47=124, Resulting Numbers: [59, 60, 124]
Generated Node #0,0: 79:[59, 60, 124] Operation: 77+47=124
Exploring Operation: 77-47=30, Resulting Numbers: [59, 60, 30]
Generated Node #0,1: 79:[59, 60, 30] Operation: 77-47=30
Exploring Operation: 47+60=107, Resulting Numbers: [77, 59, 107]
Generated Node #0,2: 79:[77, 59, 107] Operation: 47+60=107
Exploring Operation: 59+47=106, Resulting Numbers: [77, 60, 106]
Generated Node #0,3: 79:[77, 60, 106] Operation: 59+47=106
Exploring Operation: 59+60=119, Resulting Numbers: [77, 47, 119]
Generated Node #0,4: 79:[77, 47, 119] Operation: 59+60=119
Moving to Node #0,3
Current State: 79:[77, 60, 106], Operations: ['59+47=106']
Exploring Operation: 77-60=17, Resulting Numbers: [106, 17]
Generated Node #0,3,0: 79:[106, 17] Operation: 77-60=17
Exploring Operation: 60+106=166, Resulting Numbers: [77, 166]
Generated Node #0,3,1: 79:[77, 166] Operation: 60+106=166
Exploring Operation: 106-77=29, Resulting Numbers: [60, 29]
Generated Node #0,3,2: 79:[60, 29] Operation: 106-77=29
Exploring Operation: 106-60=46, Resulting Numbers: [77, 46]
Generated Node #0,3,3: 79:[77, 46] Operation: 106-60=46
Exploring Operation: 77+60=137, Resulting Numbers: [106, 137]
Generated Node #0,3,4: 79:[106, 137] Operation: 77+60=137
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 79:[77, 46], Operations: ['59+47=106', '106-60=46']
Exploring Operation: 77*46=3542, Resulting Numbers: [3542]
3542,79 unequal: No Solution
Exploring Operation: 77+46=123, Resulting Numbers: [123]
123,79 unequal: No Solution
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,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:[60, 29], Operations: ['59+47=106', '106-77=29']
Exploring Operation: 60*29=1740, Resulting Numbers: [1740]
1740,79 unequal: No Solution
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 60+29=89, Resulting Numbers: [89]
89,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:[106, 137], Operations: ['59+47=106', '77+60=137']
Exploring Operation: 106*137=14522, Resulting Numbers: [14522]
14522,79 unequal: No Solution
Exploring Operation: 106+137=243, Resulting Numbers: [243]
243,79 unequal: No Solution
Exploring Operation: 137-106=31, Resulting Numbers: [31]
31,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:[106, 17], Operations: ['59+47=106', '77-60=17']
Exploring Operation: 106-17=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 106+17=123, Resulting Numbers: [123]
123,79 unequal: No Solution
Exploring Operation: 106*17=1802, Resulting Numbers: [1802]
1802,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:[77, 166], Operations: ['59+47=106', '60+106=166']
Exploring Operation: 77*166=12782, Resulting Numbers: [12782]
12782,79 unequal: No Solution
Exploring Operation: 77+166=243, Resulting Numbers: [243]
243,79 unequal: No Solution
Exploring Operation: 166-77=89, Resulting Numbers: [89]
89,79 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: 79:[77, 59, 107], Operations: ['47+60=107']
Exploring Operation: 59+107=166, Resulting Numbers: [77, 166]
Generated Node #0,2,0: 79:[77, 166] Operation: 59+107=166
Exploring Operation: 107-59=48, Resulting Numbers: [77, 48]
Generated Node #0,2,1: 79:[77, 48] Operation: 107-59=48
Exploring Operation: 77-59=18, Resulting Numbers: [107, 18]
Generated Node #0,2,2: 79:[107, 18] Operation: 77-59=18
Exploring Operation: 77+59=136, Resulting Numbers: [107, 136]
Generated Node #0,2,3: 79:[107, 136] Operation: 77+59=136
Exploring Operation: 107-77=30, Resulting Numbers: [59, 30]
Generated Node #0,2,4: 79:[59, 30] Operation: 107-77=30
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 79:[77, 48], Operations: ['47+60=107', '107-59=48']
Exploring Operation: 77+48=125, Resulting Numbers: [125]
125,79 unequal: No Solution
Exploring Operation: 77*48=3696, Resulting Numbers: [3696]
3696,79 unequal: No Solution
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,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:[59, 30], Operations: ['47+60=107', '107-77=30']
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,79 unequal: No Solution
Exploring Operation: 59*30=1770, Resulting Numbers: [1770]
1770,79 unequal: No Solution
Exploring Operation: 59+30=89, Resulting Numbers: [89]
89,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:[107, 136], Operations: ['47+60=107', '77+59=136']
Exploring Operation: 136-107=29, Resulting Numbers: [29]
29,79 unequal: No Solution
Exploring Operation: 107*136=14552, Resulting Numbers: [14552]
14552,79 unequal: No Solution
Exploring Operation: 107+136=243, Resulting Numbers: [243]
243,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:[77, 166], Operations: ['47+60=107', '59+107=166']
Exploring Operation: 77*166=12782, Resulting Numbers: [12782]
12782,79 unequal: No Solution
Exploring Operation: 77+166=243, Resulting Numbers: [243]
243,79 unequal: No Solution
Exploring Operation: 166-77=89, Resulting Numbers: [89]
89,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,2
Current State: 79:[107, 18], Operations: ['47+60=107', '77-59=18']
Exploring Operation: 107-18=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 107+18=125, Resulting Numbers: [125]
125,79 unequal: No Solution
Exploring Operation: 107*18=1926, Resulting Numbers: [1926]
1926,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:[77, 47, 119], Operations: ['59+60=119']
Exploring Operation: 119-77=42, Resulting Numbers: [47, 42]
Generated Node #0,4,0: 79:[47, 42] Operation: 119-77=42
Exploring Operation: 77-47=30, Resulting Numbers: [119, 30]
Generated Node #0,4,1: 79:[119, 30] Operation: 77-47=30
Exploring Operation: 47+119=166, Resulting Numbers: [77, 166]
Generated Node #0,4,2: 79:[77, 166] Operation: 47+119=166
Exploring Operation: 77+47=124, Resulting Numbers: [119, 124]
Generated Node #0,4,3: 79:[119, 124] Operation: 77+47=124
Exploring Operation: 119-47=72, Resulting Numbers: [77, 72]
Generated Node #0,4,4: 79:[77, 72] Operation: 119-47=72
Moving to Node #0,0
Current State: 79:[59, 60, 124], Operations: ['77+47=124']
Exploring Operation: 59+60=119, Resulting Numbers: [124, 119]
Generated Node #0,0,0: 79:[124, 119] Operation: 59+60=119
Exploring Operation: 59+124=183, Resulting Numbers: [60, 183]
Generated Node #0,0,1: 79:[60, 183] Operation: 59+124=183
Exploring Operation: 124-60=64, Resulting Numbers: [59, 64]
Generated Node #0,0,2: 79:[59, 64] Operation: 124-60=64
Exploring Operation: 124-59=65, Resulting Numbers: [60, 65]
Generated Node #0,0,3: 79:[60, 65] Operation: 124-59=65
Exploring Operation: 60-59=1, Resulting Numbers: [124, 1]
Generated Node #0,0,4: 79:[124, 1] Operation: 60-59=1
Moving to Node #0,1
Current State: 79:[59, 60, 30], Operations: ['77-47=30']
Exploring Operation: 59-30=29, Resulting Numbers: [60, 29]
Generated Node #0,1,0: 79:[60, 29] Operation: 59-30=29
Exploring Operation: 59+60=119, Resulting Numbers: [30, 119]
Generated Node #0,1,1: 79:[30, 119] Operation: 59+60=119
Exploring Operation: 60+30=90, Resulting Numbers: [59, 90]
Generated Node #0,1,2: 79:[59, 90] Operation: 60+30=90
Exploring Operation: 60-30=30, Resulting Numbers: [59, 30]
Generated Node #0,1,3: 79:[59, 30] Operation: 60-30=30
Exploring Operation: 59+30=89, Resulting Numbers: [60, 89]
Generated Node #0,1,4: 79:[60, 89] Operation: 59+30=89
Moving to Node #0,4,4
Current State: 79:[77, 72], Operations: ['59+60=119', '119-47=72']
Exploring Operation: 77+72=149, Resulting Numbers: [149]
149,79 unequal: No Solution
Exploring Operation: 77*72=5544, Resulting Numbers: [5544]
5544,79 unequal: No Solution
Exploring Operation: 77-72=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Moving to Node #0,1,4
Current State: 79:[60, 89], Operations: ['77-47=30', '59+30=89']
Exploring Operation: 60*89=5340, Resulting Numbers: [5340]
5340,79 unequal: No Solution
Exploring Operation: 89-60=29, Resulting Numbers: [29]
29,79 unequal: No Solution
Exploring Operation: 60+89=149, Resulting Numbers: [149]
149,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[59, 90], Operations: ['77-47=30', '60+30=90']
Exploring Operation: 59*90=5310, Resulting Numbers: [5310]
5310,79 unequal: No Solution
Exploring Operation: 59+90=149, Resulting Numbers: [149]
149,79 unequal: No Solution
Exploring Operation: 90-59=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[60, 65], Operations: ['77+47=124', '124-59=65']
Exploring Operation: 60*65=3900, Resulting Numbers: [3900]
3900,79 unequal: No Solution
Exploring Operation: 65-60=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 60+65=125, Resulting Numbers: [125]
125,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[59, 64], Operations: ['77+47=124', '124-60=64']
Exploring Operation: 64-59=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 59*64=3776, Resulting Numbers: [3776]
3776,79 unequal: No Solution
Exploring Operation: 59+64=123, Resulting Numbers: [123]
123,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[59, 30], Operations: ['77-47=30', '60-30=30']
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,79 unequal: No Solution
Exploring Operation: 59+30=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 59*30=1770, Resulting Numbers: [1770]
1770,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[60, 29], Operations: ['77-47=30', '59-30=29']
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 60+29=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 60*29=1740, Resulting Numbers: [1740]
1740,79 unequal: No Solution
Moving to Node #0,4,0
Current State: 79:[47, 42], Operations: ['59+60=119', '119-77=42']
Exploring Operation: 47+42=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 47*42=1974, Resulting Numbers: [1974]
1974,79 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Moving to Node #0,4,3
Current State: 79:[119, 124], Operations: ['59+60=119', '77+47=124']
Exploring Operation: 124-119=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 119*124=14756, Resulting Numbers: [14756]
14756,79 unequal: No Solution
Exploring Operation: 119+124=243, Resulting Numbers: [243]
243,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[124, 119], Operations: ['77+47=124', '59+60=119']
Exploring Operation: 124+119=243, Resulting Numbers: [243]
243,79 unequal: No Solution
Exploring Operation: 124*119=14756, Resulting Numbers: [14756]
14756,79 unequal: No Solution
Exploring Operation: 124-119=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[30, 119], Operations: ['77-47=30', '59+60=119']
Exploring Operation: 119-30=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 30+119=149, Resulting Numbers: [149]
149,79 unequal: No Solution
Exploring Operation: 30*119=3570, Resulting Numbers: [3570]
3570,79 unequal: No Solution
Moving to Node #0,4,2
Current State: 79:[77, 166], Operations: ['59+60=119', '47+119=166']
Exploring Operation: 166-77=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 77*166=12782, Resulting Numbers: [12782]
12782,79 unequal: No Solution
Exploring Operation: 77+166=243, Resulting Numbers: [243]
243,79 unequal: No Solution
Moving to Node #0,4,1
Current State: 79:[119, 30], Operations: ['59+60=119', '77-47=30']
Exploring Operation: 119*30=3570, Resulting Numbers: [3570]
3570,79 unequal: No Solution
Exploring Operation: 119+30=149, Resulting Numbers: [149]
149,79 unequal: No Solution
Exploring Operation: 119-30=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Moving to Node #0,0,4
Current State: 79:[124, 1], Operations: ['77+47=124', '60-59=1']
Exploring Operation: 124*1=124, Resulting Numbers: [124]
124,79 unequal: No Solution
Exploring Operation: 124-1=123, Resulting Numbers: [123]
123,79 unequal: No Solution
Exploring Operation: 124/1=124, Resulting Numbers: [124]
124,79 unequal: No Solution
Exploring Operation: 124+1=125, Resulting Numbers: [125]
125,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[60, 183], Operations: ['77+47=124', '59+124=183']
Exploring Operation: 60+183=243, Resulting Numbers: [243]
243,79 unequal: No Solution
Exploring Operation: 60*183=10980, Resulting Numbers: [10980]
10980,79 unequal: No Solution
Exploring Operation: 183-60=123, Resulting Numbers: [123]
123,79 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
15,
20,
74,
14
] | 93 | [
"20-15=5",
"74+14=88",
"5+88=93"
] | Current State: 93:[15, 20, 74, 14], Operations: []
Exploring Operation: 20-15=5, Resulting Numbers: [74, 14, 5]
Generated Node #2: [74, 14, 5] from Operation: 20-15=5
Current State: 93:[74, 14, 5], Operations: ['20-15=5']
Exploring Operation: 74+14=88, Resulting Numbers: [5, 88]
Generated Node #3: [5, 88] from Operation: 74+14=88
Current State: 93:[5, 88], Operations: ['20-15=5', '74+14=88']
Exploring Operation: 5+88=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[15, 20, 74, 14], Operations: []
Exploring Operation: 20+74=94, Resulting Numbers: [15, 14, 94]
Generated Node #0,0: 93:[15, 14, 94] Operation: 20+74=94
Exploring Operation: 15+14=29, Resulting Numbers: [20, 74, 29]
Generated Node #0,1: 93:[20, 74, 29] Operation: 15+14=29
Exploring Operation: 74+14=88, Resulting Numbers: [15, 20, 88]
Generated Node #0,2: 93:[15, 20, 88] Operation: 74+14=88
Exploring Operation: 15+74=89, Resulting Numbers: [20, 14, 89]
Generated Node #0,3: 93:[20, 14, 89] Operation: 15+74=89
Exploring Operation: 20-15=5, Resulting Numbers: [74, 14, 5]
Generated Node #0,4: 93:[74, 14, 5] Operation: 20-15=5
Moving to Node #0,0
Current State: 93:[15, 14, 94], Operations: ['20+74=94']
Exploring Operation: 94-15=79, Resulting Numbers: [14, 79]
Generated Node #0,0,0: 93:[14, 79] Operation: 94-15=79
Exploring Operation: 15+14=29, Resulting Numbers: [94, 29]
Generated Node #0,0,1: 93:[94, 29] Operation: 15+14=29
Exploring Operation: 15+94=109, Resulting Numbers: [14, 109]
Generated Node #0,0,2: 93:[14, 109] Operation: 15+94=109
Exploring Operation: 15-14=1, Resulting Numbers: [94, 1]
Generated Node #0,0,3: 93:[94, 1] Operation: 15-14=1
Exploring Operation: 94-14=80, Resulting Numbers: [15, 80]
Generated Node #0,0,4: 93:[15, 80] Operation: 94-14=80
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[94, 29], Operations: ['20+74=94', '15+14=29']
Exploring Operation: 94*29=2726, Resulting Numbers: [2726]
2726,93 unequal: No Solution
Exploring Operation: 94+29=123, Resulting Numbers: [123]
123,93 unequal: No Solution
Exploring Operation: 94-29=65, Resulting Numbers: [65]
65,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 93:[94, 1], Operations: ['20+74=94', '15-14=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[15, 20, 74, 14], Operations: []
Exploring Operation: 20+74=94, Resulting Numbers: [15, 14, 94]
Generated Node #0,0: 93:[15, 14, 94] Operation: 20+74=94
Moving to Node #0,0
Current State: 93:[15, 14, 94], Operations: ['20+74=94']
Exploring Operation: 15-14=1, Resulting Numbers: [94, 1]
Generated Node #0,0,3: 93:[94, 1] Operation: 15-14=1
Moving to Node #0,0,3
Current State: 93:[94, 1], Operations: ['20+74=94', '15-14=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
84,
19,
74,
13
] | 16 | [
"84+19=103",
"74+13=87",
"103-87=16"
] | Current State: 16:[84, 19, 74, 13], Operations: []
Exploring Operation: 84+19=103, Resulting Numbers: [74, 13, 103]
Generated Node #2: [74, 13, 103] from Operation: 84+19=103
Current State: 16:[74, 13, 103], Operations: ['84+19=103']
Exploring Operation: 74+13=87, Resulting Numbers: [103, 87]
Generated Node #3: [103, 87] from Operation: 74+13=87
Current State: 16:[103, 87], Operations: ['84+19=103', '74+13=87']
Exploring Operation: 103-87=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[84, 19, 74, 13], Operations: []
Exploring Operation: 74-19=55, Resulting Numbers: [84, 13, 55]
Generated Node #0,0: 16:[84, 13, 55] Operation: 74-19=55
Exploring Operation: 74-13=61, Resulting Numbers: [84, 19, 61]
Generated Node #0,1: 16:[84, 19, 61] Operation: 74-13=61
Exploring Operation: 84-13=71, Resulting Numbers: [19, 74, 71]
Generated Node #0,2: 16:[19, 74, 71] Operation: 84-13=71
Exploring Operation: 84-19=65, Resulting Numbers: [74, 13, 65]
Generated Node #0,3: 16:[74, 13, 65] Operation: 84-19=65
Exploring Operation: 84-74=10, Resulting Numbers: [19, 13, 10]
Generated Node #0,4: 16:[19, 13, 10] Operation: 84-74=10
Moving to Node #0,4
Current State: 16:[19, 13, 10], Operations: ['84-74=10']
Exploring Operation: 19-10=9, Resulting Numbers: [13, 9]
Generated Node #0,4,0: 16:[13, 9] Operation: 19-10=9
Exploring Operation: 13-10=3, Resulting Numbers: [19, 3]
Generated Node #0,4,1: 16:[19, 3] Operation: 13-10=3
Exploring Operation: 19+10=29, Resulting Numbers: [13, 29]
Generated Node #0,4,2: 16:[13, 29] Operation: 19+10=29
Exploring Operation: 13+10=23, Resulting Numbers: [19, 23]
Generated Node #0,4,3: 16:[19, 23] Operation: 13+10=23
Exploring Operation: 19-13=6, Resulting Numbers: [10, 6]
Generated Node #0,4,4: 16:[10, 6] Operation: 19-13=6
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 16:[13, 9], Operations: ['84-74=10', '19-10=9']
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,16 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 16:[19, 3], Operations: ['84-74=10', '13-10=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,16 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[84, 19, 74, 13], Operations: []
Exploring Operation: 84-74=10, Resulting Numbers: [19, 13, 10]
Generated Node #0,4: 16:[19, 13, 10] Operation: 84-74=10
Moving to Node #0,4
Current State: 16:[19, 13, 10], Operations: ['84-74=10']
Exploring Operation: 13-10=3, Resulting Numbers: [19, 3]
Generated Node #0,4,1: 16:[19, 3] Operation: 13-10=3
Moving to Node #0,4,1
Current State: 16:[19, 3], Operations: ['84-74=10', '13-10=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
22,
91,
44,
38
] | 31 | [
"22+91=113",
"44+38=82",
"113-82=31"
] | Current State: 31:[22, 91, 44, 38], Operations: []
Exploring Operation: 22+91=113, Resulting Numbers: [44, 38, 113]
Generated Node #2: [44, 38, 113] from Operation: 22+91=113
Current State: 31:[44, 38, 113], Operations: ['22+91=113']
Exploring Operation: 44+38=82, Resulting Numbers: [113, 82]
Generated Node #3: [113, 82] from Operation: 44+38=82
Current State: 31:[113, 82], Operations: ['22+91=113', '44+38=82']
Exploring Operation: 113-82=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[22, 91, 44, 38], Operations: []
Exploring Operation: 91-44=47, Resulting Numbers: [22, 38, 47]
Generated Node #0,0: 31:[22, 38, 47] Operation: 91-44=47
Exploring Operation: 91-38=53, Resulting Numbers: [22, 44, 53]
Generated Node #0,1: 31:[22, 44, 53] Operation: 91-38=53
Exploring Operation: 91-22=69, Resulting Numbers: [44, 38, 69]
Generated Node #0,2: 31:[44, 38, 69] Operation: 91-22=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[22, 38, 47], Operations: ['91-44=47']
Exploring Operation: 47-22=25, Resulting Numbers: [38, 25]
Generated Node #0,0,0: 31:[38, 25] Operation: 47-22=25
Exploring Operation: 47-38=9, Resulting Numbers: [22, 9]
Generated Node #0,0,1: 31:[22, 9] Operation: 47-38=9
Exploring Operation: 38-22=16, Resulting Numbers: [47, 16]
Generated Node #0,0,2: 31:[47, 16] Operation: 38-22=16
Moving to Node #0,0,0
Current State: 31:[38, 25], Operations: ['91-44=47', '47-22=25']
Exploring Operation: 38*25=950, Resulting Numbers: [950]
950,31 unequal: No Solution
Exploring Operation: 38+25=63, Resulting Numbers: [63]
63,31 unequal: No Solution
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[22, 9], Operations: ['91-44=47', '47-38=9']
Exploring Operation: 22+9=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[22, 91, 44, 38], Operations: []
Exploring Operation: 91-44=47, Resulting Numbers: [22, 38, 47]
Generated Node #0,0: 31:[22, 38, 47] Operation: 91-44=47
Moving to Node #0,0
Current State: 31:[22, 38, 47], Operations: ['91-44=47']
Exploring Operation: 47-38=9, Resulting Numbers: [22, 9]
Generated Node #0,0,1: 31:[22, 9] Operation: 47-38=9
Moving to Node #0,0,1
Current State: 31:[22, 9], Operations: ['91-44=47', '47-38=9']
Exploring Operation: 22+9=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
29,
71,
67,
99
] | 17 | [
"71-67=4",
"29*4=116",
"116-99=17"
] | Current State: 17:[29, 71, 67, 99], Operations: []
Exploring Operation: 71-67=4, Resulting Numbers: [29, 99, 4]
Generated Node #2: [29, 99, 4] from Operation: 71-67=4
Current State: 17:[29, 99, 4], Operations: ['71-67=4']
Exploring Operation: 29*4=116, Resulting Numbers: [99, 116]
Generated Node #3: [99, 116] from Operation: 29*4=116
Current State: 17:[99, 116], Operations: ['71-67=4', '29*4=116']
Exploring Operation: 116-99=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[29, 71, 67, 99], Operations: []
Exploring Operation: 99-71=28, Resulting Numbers: [29, 67, 28]
Generated Node #0,0: 17:[29, 67, 28] Operation: 99-71=28
Exploring Operation: 71-67=4, Resulting Numbers: [29, 99, 4]
Generated Node #0,1: 17:[29, 99, 4] Operation: 71-67=4
Exploring Operation: 99-67=32, Resulting Numbers: [29, 71, 32]
Generated Node #0,2: 17:[29, 71, 32] Operation: 99-67=32
Exploring Operation: 71-29=42, Resulting Numbers: [67, 99, 42]
Generated Node #0,3: 17:[67, 99, 42] Operation: 71-29=42
Moving to Node #0,0
Current State: 17:[29, 67, 28], Operations: ['99-71=28']
Exploring Operation: 67-29=38, Resulting Numbers: [28, 38]
Generated Node #0,0,0: 17:[28, 38] Operation: 67-29=38
Exploring Operation: 29-28=1, Resulting Numbers: [67, 1]
Generated Node #0,0,1: 17:[67, 1] Operation: 29-28=1
Exploring Operation: 29+67=96, Resulting Numbers: [28, 96]
Generated Node #0,0,2: 17:[28, 96] Operation: 29+67=96
Exploring Operation: 67-28=39, Resulting Numbers: [29, 39]
Generated Node #0,0,3: 17:[29, 39] Operation: 67-28=39
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[28, 38], Operations: ['99-71=28', '67-29=38']
Exploring Operation: 28+38=66, Resulting Numbers: [66]
66,17 unequal: No Solution
Exploring Operation: 28*38=1064, Resulting Numbers: [1064]
1064,17 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 17:[29, 39], Operations: ['99-71=28', '67-28=39']
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Exploring Operation: 29*39=1131, Resulting Numbers: [1131]
1131,17 unequal: No Solution
Exploring Operation: 29+39=68, Resulting Numbers: [68]
68,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[67, 1], Operations: ['99-71=28', '29-28=1']
Exploring Operation: 67+1=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,17 unequal: No Solution
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,17 unequal: No Solution
Exploring Operation: 67/1=67, Resulting Numbers: [67]
67,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 17:[28, 96], Operations: ['99-71=28', '29+67=96']
Exploring Operation: 28+96=124, Resulting Numbers: [124]
124,17 unequal: No Solution
Exploring Operation: 96-28=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 28*96=2688, Resulting Numbers: [2688]
2688,17 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: 17:[29, 71, 32], Operations: ['99-67=32']
Exploring Operation: 32-29=3, Resulting Numbers: [71, 3]
Generated Node #0,2,0: 17:[71, 3] Operation: 32-29=3
Exploring Operation: 71-29=42, Resulting Numbers: [32, 42]
Generated Node #0,2,1: 17:[32, 42] Operation: 71-29=42
Exploring Operation: 29+71=100, Resulting Numbers: [32, 100]
Generated Node #0,2,2: 17:[32, 100] Operation: 29+71=100
Exploring Operation: 71-32=39, Resulting Numbers: [29, 39]
Generated Node #0,2,3: 17:[29, 39] Operation: 71-32=39
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 17:[29, 39], Operations: ['99-67=32', '71-32=39']
Exploring Operation: 29+39=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 29*39=1131, Resulting Numbers: [1131]
1131,17 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[32, 42], Operations: ['99-67=32', '71-29=42']
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Exploring Operation: 32+42=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 32*42=1344, Resulting Numbers: [1344]
1344,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 17:[71, 3], Operations: ['99-67=32', '32-29=3']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 71*3=213, Resulting Numbers: [213]
213,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 17:[32, 100], Operations: ['99-67=32', '29+71=100']
Exploring Operation: 32*100=3200, Resulting Numbers: [3200]
3200,17 unequal: No Solution
Exploring Operation: 100-32=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 32+100=132, Resulting Numbers: [132]
132,17 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: 17:[29, 99, 4], Operations: ['71-67=4']
Exploring Operation: 29-4=25, Resulting Numbers: [99, 25]
Generated Node #0,1,0: 17:[99, 25] Operation: 29-4=25
Exploring Operation: 99-29=70, Resulting Numbers: [4, 70]
Generated Node #0,1,1: 17:[4, 70] Operation: 99-29=70
Exploring Operation: 29+4=33, Resulting Numbers: [99, 33]
Generated Node #0,1,2: 17:[99, 33] Operation: 29+4=33
Exploring Operation: 99-4=95, Resulting Numbers: [29, 95]
Generated Node #0,1,3: 17:[29, 95] Operation: 99-4=95
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 17:[4, 70], Operations: ['71-67=4', '99-29=70']
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,17 unequal: No Solution
Exploring Operation: 4*70=280, Resulting Numbers: [280]
280,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[99, 25], Operations: ['71-67=4', '29-4=25']
Exploring Operation: 99*25=2475, Resulting Numbers: [2475]
2475,17 unequal: No Solution
Exploring Operation: 99-25=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 99+25=124, Resulting Numbers: [124]
124,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 17:[29, 95], Operations: ['71-67=4', '99-4=95']
Exploring Operation: 29+95=124, Resulting Numbers: [124]
124,17 unequal: No Solution
Exploring Operation: 95-29=66, Resulting Numbers: [66]
66,17 unequal: No Solution
Exploring Operation: 29*95=2755, Resulting Numbers: [2755]
2755,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 17:[99, 33], Operations: ['71-67=4', '29+4=33']
Exploring Operation: 99*33=3267, Resulting Numbers: [3267]
3267,17 unequal: No Solution
Exploring Operation: 99/33=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 99+33=132, Resulting Numbers: [132]
132,17 unequal: No Solution
Exploring Operation: 99-33=66, Resulting Numbers: [66]
66,17 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: 17:[67, 99, 42], Operations: ['71-29=42']
Exploring Operation: 67+99=166, Resulting Numbers: [42, 166]
Generated Node #0,3,0: 17:[42, 166] Operation: 67+99=166
Exploring Operation: 67-42=25, Resulting Numbers: [99, 25]
Generated Node #0,3,1: 17:[99, 25] Operation: 67-42=25
Exploring Operation: 99-67=32, Resulting Numbers: [42, 32]
Generated Node #0,3,2: 17:[42, 32] Operation: 99-67=32
Exploring Operation: 99-42=57, Resulting Numbers: [67, 57]
Generated Node #0,3,3: 17:[67, 57] Operation: 99-42=57
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 17:[42, 32], Operations: ['71-29=42', '99-67=32']
Exploring Operation: 42*32=1344, Resulting Numbers: [1344]
1344,17 unequal: No Solution
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Exploring Operation: 42+32=74, Resulting Numbers: [74]
74,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 17:[99, 25], Operations: ['71-29=42', '67-42=25']
Exploring Operation: 99-25=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 99*25=2475, Resulting Numbers: [2475]
2475,17 unequal: No Solution
Exploring Operation: 99+25=124, Resulting Numbers: [124]
124,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 17:[67, 57], Operations: ['71-29=42', '99-42=57']
Exploring Operation: 67-57=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Exploring Operation: 67+57=124, Resulting Numbers: [124]
124,17 unequal: No Solution
Exploring Operation: 67*57=3819, Resulting Numbers: [3819]
3819,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 17:[42, 166], Operations: ['71-29=42', '67+99=166']
Exploring Operation: 42+166=208, Resulting Numbers: [208]
208,17 unequal: No Solution
Exploring Operation: 166-42=124, Resulting Numbers: [124]
124,17 unequal: No Solution
Exploring Operation: 42*166=6972, Resulting Numbers: [6972]
6972,17 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 |
[
72,
74,
18,
39
] | 30 | [
"74-72=2",
"18/2=9",
"39-9=30"
] | Current State: 30:[72, 74, 18, 39], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [18, 39, 2]
Generated Node #2: [18, 39, 2] from Operation: 74-72=2
Current State: 30:[18, 39, 2], Operations: ['74-72=2']
Exploring Operation: 18/2=9, Resulting Numbers: [39, 9]
Generated Node #3: [39, 9] from Operation: 18/2=9
Current State: 30:[39, 9], Operations: ['74-72=2', '18/2=9']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[72, 74, 18, 39], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [74, 39, 4]
Generated Node #0,0: 30:[74, 39, 4] Operation: 72/18=4
Exploring Operation: 72-39=33, Resulting Numbers: [74, 18, 33]
Generated Node #0,1: 30:[74, 18, 33] Operation: 72-39=33
Exploring Operation: 74-39=35, Resulting Numbers: [72, 18, 35]
Generated Node #0,2: 30:[72, 18, 35] Operation: 74-39=35
Exploring Operation: 74-72=2, Resulting Numbers: [18, 39, 2]
Generated Node #0,3: 30:[18, 39, 2] Operation: 74-72=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[18, 39, 2], Operations: ['74-72=2']
Exploring Operation: 39-2=37, Resulting Numbers: [18, 37]
Generated Node #0,3,0: 30:[18, 37] Operation: 39-2=37
Exploring Operation: 39-18=21, Resulting Numbers: [2, 21]
Generated Node #0,3,1: 30:[2, 21] Operation: 39-18=21
Exploring Operation: 18-2=16, Resulting Numbers: [39, 16]
Generated Node #0,3,2: 30:[39, 16] Operation: 18-2=16
Exploring Operation: 18/2=9, Resulting Numbers: [39, 9]
Generated Node #0,3,3: 30:[39, 9] Operation: 18/2=9
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 30:[2, 21], Operations: ['74-72=2', '39-18=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,30 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,30 unequal: No Solution
No 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: 30:[18, 37], Operations: ['74-72=2', '39-2=37']
Exploring Operation: 18+37=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 18*37=666, Resulting Numbers: [666]
666,30 unequal: No Solution
No 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: 30:[39, 16], Operations: ['74-72=2', '18-2=16']
Exploring Operation: 39*16=624, Resulting Numbers: [624]
624,30 unequal: No Solution
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,30 unequal: No Solution
Exploring Operation: 39+16=55, Resulting Numbers: [55]
55,30 unequal: No Solution
No 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: 30:[39, 9], Operations: ['74-72=2', '18/2=9']
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,30 unequal: No Solution
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,30 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[72, 74, 18, 39], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [18, 39, 2]
Generated Node #0,3: 30:[18, 39, 2] Operation: 74-72=2
Moving to Node #0,3
Current State: 30:[18, 39, 2], Operations: ['74-72=2']
Exploring Operation: 18/2=9, Resulting Numbers: [39, 9]
Generated Node #0,3,3: 30:[39, 9] Operation: 18/2=9
Moving to Node #0,3,3
Current State: 30:[39, 9], Operations: ['74-72=2', '18/2=9']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
2,
77,
5,
55
] | 86 | [
"77-2=75",
"55/5=11",
"75+11=86"
] | Current State: 86:[2, 77, 5, 55], Operations: []
Exploring Operation: 77-2=75, Resulting Numbers: [5, 55, 75]
Generated Node #2: [5, 55, 75] from Operation: 77-2=75
Current State: 86:[5, 55, 75], Operations: ['77-2=75']
Exploring Operation: 55/5=11, Resulting Numbers: [75, 11]
Generated Node #3: [75, 11] from Operation: 55/5=11
Current State: 86:[75, 11], Operations: ['77-2=75', '55/5=11']
Exploring Operation: 75+11=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[2, 77, 5, 55], Operations: []
Exploring Operation: 77+5=82, Resulting Numbers: [2, 55, 82]
Generated Node #0,0: 86:[2, 55, 82] Operation: 77+5=82
Exploring Operation: 2+77=79, Resulting Numbers: [5, 55, 79]
Generated Node #0,1: 86:[5, 55, 79] Operation: 2+77=79
Exploring Operation: 5-2=3, Resulting Numbers: [77, 55, 3]
Generated Node #0,2: 86:[77, 55, 3] Operation: 5-2=3
Exploring Operation: 55/5=11, Resulting Numbers: [2, 77, 11]
Generated Node #0,3: 86:[2, 77, 11] Operation: 55/5=11
Exploring Operation: 55-5=50, Resulting Numbers: [2, 77, 50]
Generated Node #0,4: 86:[2, 77, 50] Operation: 55-5=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[2, 55, 82], Operations: ['77+5=82']
Exploring Operation: 2+55=57, Resulting Numbers: [82, 57]
Generated Node #0,0,0: 86:[82, 57] Operation: 2+55=57
Exploring Operation: 82/2=41, Resulting Numbers: [55, 41]
Generated Node #0,0,1: 86:[55, 41] Operation: 82/2=41
Exploring Operation: 55-2=53, Resulting Numbers: [82, 53]
Generated Node #0,0,2: 86:[82, 53] Operation: 55-2=53
Exploring Operation: 2+82=84, Resulting Numbers: [55, 84]
Generated Node #0,0,3: 86:[55, 84] Operation: 2+82=84
Exploring Operation: 82-55=27, Resulting Numbers: [2, 27]
Generated Node #0,0,4: 86:[2, 27] Operation: 82-55=27
Moving to Node #0,0,1
Current State: 86:[55, 41], Operations: ['77+5=82', '82/2=41']
Exploring Operation: 55-41=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Exploring Operation: 55+41=96, Resulting Numbers: [96]
96,86 unequal: No Solution
Exploring Operation: 55*41=2255, Resulting Numbers: [2255]
2255,86 unequal: No Solution
Moving to Node #0,0,3
Current State: 86:[55, 84], Operations: ['77+5=82', '2+82=84']
Exploring Operation: 84-55=29, Resulting Numbers: [29]
29,86 unequal: No Solution
Exploring Operation: 55*84=4620, Resulting Numbers: [4620]
4620,86 unequal: No Solution
Exploring Operation: 55+84=139, Resulting Numbers: [139]
139,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[82, 53], Operations: ['77+5=82', '55-2=53']
Exploring Operation: 82*53=4346, Resulting Numbers: [4346]
4346,86 unequal: No Solution
Exploring Operation: 82+53=135, Resulting Numbers: [135]
135,86 unequal: No Solution
Exploring Operation: 82-53=29, Resulting Numbers: [29]
29,86 unequal: No Solution
Moving to Node #0,0,4
Current State: 86:[2, 27], Operations: ['77+5=82', '82-55=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,86 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[82, 57], Operations: ['77+5=82', '2+55=57']
Exploring Operation: 82-57=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 82+57=139, Resulting Numbers: [139]
139,86 unequal: No Solution
Exploring Operation: 82*57=4674, Resulting Numbers: [4674]
4674,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 86:[2, 77, 50], Operations: ['55-5=50']
Exploring Operation: 77-2=75, Resulting Numbers: [50, 75]
Generated Node #0,4,0: 86:[50, 75] Operation: 77-2=75
Exploring Operation: 2+77=79, Resulting Numbers: [50, 79]
Generated Node #0,4,1: 86:[50, 79] Operation: 2+77=79
Exploring Operation: 2+50=52, Resulting Numbers: [77, 52]
Generated Node #0,4,2: 86:[77, 52] Operation: 2+50=52
Exploring Operation: 77-50=27, Resulting Numbers: [2, 27]
Generated Node #0,4,3: 86:[2, 27] Operation: 77-50=27
Exploring Operation: 50-2=48, Resulting Numbers: [77, 48]
Generated Node #0,4,4: 86:[77, 48] Operation: 50-2=48
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 86:[50, 79], Operations: ['55-5=50', '2+77=79']
Exploring Operation: 79-50=29, Resulting Numbers: [29]
29,86 unequal: No Solution
Exploring Operation: 50*79=3950, Resulting Numbers: [3950]
3950,86 unequal: No Solution
Exploring Operation: 50+79=129, Resulting Numbers: [129]
129,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 86:[77, 48], Operations: ['55-5=50', '50-2=48']
Exploring Operation: 77*48=3696, Resulting Numbers: [3696]
3696,86 unequal: No Solution
Exploring Operation: 77+48=125, Resulting Numbers: [125]
125,86 unequal: No Solution
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 86:[2, 27], Operations: ['55-5=50', '77-50=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,86 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 86:[50, 75], Operations: ['55-5=50', '77-2=75']
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 50+75=125, Resulting Numbers: [125]
125,86 unequal: No Solution
Exploring Operation: 50*75=3750, Resulting Numbers: [3750]
3750,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 86:[77, 52], Operations: ['55-5=50', '2+50=52']
Exploring Operation: 77-52=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 77*52=4004, Resulting Numbers: [4004]
4004,86 unequal: No Solution
Exploring Operation: 77+52=129, Resulting Numbers: [129]
129,86 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: 86:[2, 77, 11], Operations: ['55/5=11']
Exploring Operation: 11-2=9, Resulting Numbers: [77, 9]
Generated Node #0,3,0: 86:[77, 9] Operation: 11-2=9
Exploring Operation: 2+77=79, Resulting Numbers: [11, 79]
Generated Node #0,3,1: 86:[11, 79] Operation: 2+77=79
Exploring Operation: 77+11=88, Resulting Numbers: [2, 88]
Generated Node #0,3,2: 86:[2, 88] Operation: 77+11=88
Exploring Operation: 77-2=75, Resulting Numbers: [11, 75]
Generated Node #0,3,3: 86:[11, 75] Operation: 77-2=75
Exploring Operation: 77/11=7, Resulting Numbers: [2, 7]
Generated Node #0,3,4: 86:[2, 7] Operation: 77/11=7
Moving to Node #0,3,2
Current State: 86:[2, 88], Operations: ['55/5=11', '77+11=88']
Exploring Operation: 2+88=90, Resulting Numbers: [90]
90,86 unequal: No Solution
Exploring Operation: 2*88=176, Resulting Numbers: [176]
176,86 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[2, 77, 5, 55], Operations: []
Exploring Operation: 55/5=11, Resulting Numbers: [2, 77, 11]
Generated Node #0,3: 86:[2, 77, 11] Operation: 55/5=11
Moving to Node #0,3
Current State: 86:[2, 77, 11], Operations: ['55/5=11']
Exploring Operation: 77+11=88, Resulting Numbers: [2, 88]
Generated Node #0,3,2: 86:[2, 88] Operation: 77+11=88
Moving to Node #0,3,2
Current State: 86:[2, 88], Operations: ['55/5=11', '77+11=88']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.949653 | hs_5 | mult_heuristic |
[
14,
2,
56,
25
] | 19 | [
"14-2=12",
"56-25=31",
"31-12=19"
] | Current State: 19:[14, 2, 56, 25], Operations: []
Exploring Operation: 14-2=12, Resulting Numbers: [56, 25, 12]
Generated Node #2: [56, 25, 12] from Operation: 14-2=12
Current State: 19:[56, 25, 12], Operations: ['14-2=12']
Exploring Operation: 56-25=31, Resulting Numbers: [12, 31]
Generated Node #3: [12, 31] from Operation: 56-25=31
Current State: 19:[12, 31], Operations: ['14-2=12', '56-25=31']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[14, 2, 56, 25], Operations: []
Exploring Operation: 56-25=31, Resulting Numbers: [14, 2, 31]
Generated Node #0,0: 19:[14, 2, 31] Operation: 56-25=31
Exploring Operation: 56/14=4, Resulting Numbers: [2, 25, 4]
Generated Node #0,1: 19:[2, 25, 4] Operation: 56/14=4
Exploring Operation: 56/2=28, Resulting Numbers: [14, 25, 28]
Generated Node #0,2: 19:[14, 25, 28] Operation: 56/2=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[14, 25, 28], Operations: ['56/2=28']
Exploring Operation: 28-25=3, Resulting Numbers: [14, 3]
Generated Node #0,2,0: 19:[14, 3] Operation: 28-25=3
Exploring Operation: 25-14=11, Resulting Numbers: [28, 11]
Generated Node #0,2,1: 19:[28, 11] Operation: 25-14=11
Exploring Operation: 28-14=14, Resulting Numbers: [25, 14]
Generated Node #0,2,2: 19:[25, 14] Operation: 28-14=14
Moving to Node #0,2,2
Current State: 19:[25, 14], Operations: ['56/2=28', '28-14=14']
Exploring Operation: 25+14=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 25*14=350, Resulting Numbers: [350]
350,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[28, 11], Operations: ['56/2=28', '25-14=11']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,19 unequal: No Solution
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[14, 3], Operations: ['56/2=28', '28-25=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[14, 2, 31], Operations: ['56-25=31']
Exploring Operation: 31-2=29, Resulting Numbers: [14, 29]
Generated Node #0,0,0: 19:[14, 29] Operation: 31-2=29
Exploring Operation: 14-2=12, Resulting Numbers: [31, 12]
Generated Node #0,0,1: 19:[31, 12] Operation: 14-2=12
Exploring Operation: 14+2=16, Resulting Numbers: [31, 16]
Generated Node #0,0,2: 19:[31, 16] Operation: 14+2=16
Moving to Node #0,0,0
Current State: 19:[14, 29], Operations: ['56-25=31', '31-2=29']
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 14*29=406, Resulting Numbers: [406]
406,19 unequal: No Solution
Exploring Operation: 14+29=43, Resulting Numbers: [43]
43,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[31, 16], Operations: ['56-25=31', '14+2=16']
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,19 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 31*16=496, Resulting Numbers: [496]
496,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[31, 12], Operations: ['56-25=31', '14-2=12']
Exploring Operation: 31*12=372, Resulting Numbers: [372]
372,19 unequal: No Solution
Exploring Operation: 31+12=43, Resulting Numbers: [43]
43,19 unequal: No Solution
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[14, 2, 56, 25], Operations: []
Exploring Operation: 56-25=31, Resulting Numbers: [14, 2, 31]
Generated Node #0,0: 19:[14, 2, 31] Operation: 56-25=31
Moving to Node #0,0
Current State: 19:[14, 2, 31], Operations: ['56-25=31']
Exploring Operation: 14-2=12, Resulting Numbers: [31, 12]
Generated Node #0,0,1: 19:[31, 12] Operation: 14-2=12
Moving to Node #0,0,1
Current State: 19:[31, 12], Operations: ['56-25=31', '14-2=12']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_3 | mult_heuristic |
[
61,
72,
73,
86
] | 10 | [
"61*86=5246",
"72*73=5256",
"5256-5246=10"
] | Current State: 10:[61, 72, 73, 86], Operations: []
Exploring Operation: 61*86=5246, Resulting Numbers: [72, 73, 5246]
Generated Node #2: [72, 73, 5246] from Operation: 61*86=5246
Current State: 10:[72, 73, 5246], Operations: ['61*86=5246']
Exploring Operation: 72*73=5256, Resulting Numbers: [5246, 5256]
Generated Node #3: [5246, 5256] from Operation: 72*73=5256
Current State: 10:[5246, 5256], Operations: ['61*86=5246', '72*73=5256']
Exploring Operation: 5256-5246=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[61, 72, 73, 86], Operations: []
Exploring Operation: 73-72=1, Resulting Numbers: [61, 86, 1]
Generated Node #0,0: 10:[61, 86, 1] Operation: 73-72=1
Exploring Operation: 86-72=14, Resulting Numbers: [61, 73, 14]
Generated Node #0,1: 10:[61, 73, 14] Operation: 86-72=14
Exploring Operation: 86-73=13, Resulting Numbers: [61, 72, 13]
Generated Node #0,2: 10:[61, 72, 13] Operation: 86-73=13
Moving to Node #0,2
Current State: 10:[61, 72, 13], Operations: ['86-73=13']
Exploring Operation: 61-13=48, Resulting Numbers: [72, 48]
Generated Node #0,2,0: 10:[72, 48] Operation: 61-13=48
Exploring Operation: 72-61=11, Resulting Numbers: [13, 11]
Generated Node #0,2,1: 10:[13, 11] Operation: 72-61=11
Exploring Operation: 72-13=59, Resulting Numbers: [61, 59]
Generated Node #0,2,2: 10:[61, 59] Operation: 72-13=59
Moving to Node #0,1
Current State: 10:[61, 73, 14], Operations: ['86-72=14']
Exploring Operation: 73-61=12, Resulting Numbers: [14, 12]
Generated Node #0,1,0: 10:[14, 12] Operation: 73-61=12
Exploring Operation: 61-14=47, Resulting Numbers: [73, 47]
Generated Node #0,1,1: 10:[73, 47] Operation: 61-14=47
Exploring Operation: 73-14=59, Resulting Numbers: [61, 59]
Generated Node #0,1,2: 10:[61, 59] Operation: 73-14=59
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[14, 12], Operations: ['86-72=14', '73-61=12']
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[73, 47], Operations: ['86-72=14', '61-14=47']
Exploring Operation: 73+47=120, Resulting Numbers: [120]
120,10 unequal: No Solution
Exploring Operation: 73-47=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 73*47=3431, Resulting Numbers: [3431]
3431,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 10:[61, 59], Operations: ['86-72=14', '73-14=59']
Exploring Operation: 61*59=3599, Resulting Numbers: [3599]
3599,10 unequal: No Solution
Exploring Operation: 61-59=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 61+59=120, Resulting Numbers: [120]
120,10 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: 10:[61, 86, 1], Operations: ['73-72=1']
Exploring Operation: 61-1=60, Resulting Numbers: [86, 60]
Generated Node #0,0,0: 10:[86, 60] Operation: 61-1=60
Exploring Operation: 86-61=25, Resulting Numbers: [1, 25]
Generated Node #0,0,1: 10:[1, 25] Operation: 86-61=25
Exploring Operation: 86-1=85, Resulting Numbers: [61, 85]
Generated Node #0,0,2: 10:[61, 85] Operation: 86-1=85
Moving to Node #0,2,1
Current State: 10:[13, 11], Operations: ['86-73=13', '72-61=11']
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,10 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[1, 25], Operations: ['73-72=1', '86-61=25']
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[61, 59], Operations: ['86-73=13', '72-13=59']
Exploring Operation: 61+59=120, Resulting Numbers: [120]
120,10 unequal: No Solution
Exploring Operation: 61*59=3599, Resulting Numbers: [3599]
3599,10 unequal: No Solution
Exploring Operation: 61-59=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[72, 48], Operations: ['86-73=13', '61-13=48']
Exploring Operation: 72*48=3456, Resulting Numbers: [3456]
3456,10 unequal: No Solution
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 72+48=120, Resulting Numbers: [120]
120,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[61, 85], Operations: ['73-72=1', '86-1=85']
Exploring Operation: 61*85=5185, Resulting Numbers: [5185]
5185,10 unequal: No Solution
Exploring Operation: 85-61=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 61+85=146, Resulting Numbers: [146]
146,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[86, 60], Operations: ['73-72=1', '61-1=60']
Exploring Operation: 86+60=146, Resulting Numbers: [146]
146,10 unequal: No Solution
Exploring Operation: 86-60=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 86*60=5160, Resulting Numbers: [5160]
5160,10 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
73,
67,
87,
29
] | 82 | [
"73+67=140",
"87-29=58",
"140-58=82"
] | Current State: 82:[73, 67, 87, 29], Operations: []
Exploring Operation: 73+67=140, Resulting Numbers: [87, 29, 140]
Generated Node #2: [87, 29, 140] from Operation: 73+67=140
Current State: 82:[87, 29, 140], Operations: ['73+67=140']
Exploring Operation: 87-29=58, Resulting Numbers: [140, 58]
Generated Node #3: [140, 58] from Operation: 87-29=58
Current State: 82:[140, 58], Operations: ['73+67=140', '87-29=58']
Exploring Operation: 140-58=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[73, 67, 87, 29], Operations: []
Exploring Operation: 67+29=96, Resulting Numbers: [73, 87, 96]
Generated Node #0,0: 82:[73, 87, 96] Operation: 67+29=96
Exploring Operation: 73-67=6, Resulting Numbers: [87, 29, 6]
Generated Node #0,1: 82:[87, 29, 6] Operation: 73-67=6
Exploring Operation: 73-29=44, Resulting Numbers: [67, 87, 44]
Generated Node #0,2: 82:[67, 87, 44] Operation: 73-29=44
Exploring Operation: 67-29=38, Resulting Numbers: [73, 87, 38]
Generated Node #0,3: 82:[73, 87, 38] Operation: 67-29=38
Exploring Operation: 87/29=3, Resulting Numbers: [73, 67, 3]
Generated Node #0,4: 82:[73, 67, 3] Operation: 87/29=3
Moving to Node #0,3
Current State: 82:[73, 87, 38], Operations: ['67-29=38']
Exploring Operation: 73-38=35, Resulting Numbers: [87, 35]
Generated Node #0,3,0: 82:[87, 35] Operation: 73-38=35
Exploring Operation: 87+38=125, Resulting Numbers: [73, 125]
Generated Node #0,3,1: 82:[73, 125] Operation: 87+38=125
Exploring Operation: 73+38=111, Resulting Numbers: [87, 111]
Generated Node #0,3,2: 82:[87, 111] Operation: 73+38=111
Exploring Operation: 87-38=49, Resulting Numbers: [73, 49]
Generated Node #0,3,3: 82:[73, 49] Operation: 87-38=49
Exploring Operation: 87-73=14, Resulting Numbers: [38, 14]
Generated Node #0,3,4: 82:[38, 14] Operation: 87-73=14
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 82:[87, 35], Operations: ['67-29=38', '73-38=35']
Exploring Operation: 87+35=122, Resulting Numbers: [122]
122,82 unequal: No Solution
Exploring Operation: 87*35=3045, Resulting Numbers: [3045]
3045,82 unequal: No Solution
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 82:[38, 14], Operations: ['67-29=38', '87-73=14']
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,82 unequal: No Solution
Exploring Operation: 38*14=532, Resulting Numbers: [532]
532,82 unequal: No Solution
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 82:[73, 49], Operations: ['67-29=38', '87-38=49']
Exploring Operation: 73-49=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 73*49=3577, Resulting Numbers: [3577]
3577,82 unequal: No Solution
Exploring Operation: 73+49=122, Resulting Numbers: [122]
122,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 82:[87, 111], Operations: ['67-29=38', '73+38=111']
Exploring Operation: 111-87=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 87+111=198, Resulting Numbers: [198]
198,82 unequal: No Solution
Exploring Operation: 87*111=9657, Resulting Numbers: [9657]
9657,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 82:[73, 125], Operations: ['67-29=38', '87+38=125']
Exploring Operation: 73+125=198, Resulting Numbers: [198]
198,82 unequal: No Solution
Exploring Operation: 125-73=52, Resulting Numbers: [52]
52,82 unequal: No Solution
Exploring Operation: 73*125=9125, Resulting Numbers: [9125]
9125,82 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: 82:[87, 29, 6], Operations: ['73-67=6']
Exploring Operation: 87-29=58, Resulting Numbers: [6, 58]
Generated Node #0,1,0: 82:[6, 58] Operation: 87-29=58
Exploring Operation: 29+6=35, Resulting Numbers: [87, 35]
Generated Node #0,1,1: 82:[87, 35] Operation: 29+6=35
Exploring Operation: 87/29=3, Resulting Numbers: [6, 3]
Generated Node #0,1,2: 82:[6, 3] Operation: 87/29=3
Exploring Operation: 87-6=81, Resulting Numbers: [29, 81]
Generated Node #0,1,3: 82:[29, 81] Operation: 87-6=81
Exploring Operation: 87+6=93, Resulting Numbers: [29, 93]
Generated Node #0,1,4: 82:[29, 93] Operation: 87+6=93
Moving to Node #0,2
Current State: 82:[67, 87, 44], Operations: ['73-29=44']
Exploring Operation: 87-44=43, Resulting Numbers: [67, 43]
Generated Node #0,2,0: 82:[67, 43] Operation: 87-44=43
Exploring Operation: 87-67=20, Resulting Numbers: [44, 20]
Generated Node #0,2,1: 82:[44, 20] Operation: 87-67=20
Exploring Operation: 67+44=111, Resulting Numbers: [87, 111]
Generated Node #0,2,2: 82:[87, 111] Operation: 67+44=111
Exploring Operation: 87+44=131, Resulting Numbers: [67, 131]
Generated Node #0,2,3: 82:[67, 131] Operation: 87+44=131
Exploring Operation: 67-44=23, Resulting Numbers: [87, 23]
Generated Node #0,2,4: 82:[87, 23] Operation: 67-44=23
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 82:[67, 43], Operations: ['73-29=44', '87-44=43']
Exploring Operation: 67+43=110, Resulting Numbers: [110]
110,82 unequal: No Solution
Exploring Operation: 67*43=2881, Resulting Numbers: [2881]
2881,82 unequal: No Solution
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 82:[44, 20], Operations: ['73-29=44', '87-67=20']
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 44+20=64, Resulting Numbers: [64]
64,82 unequal: No Solution
Exploring Operation: 44*20=880, Resulting Numbers: [880]
880,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 82:[87, 23], Operations: ['73-29=44', '67-44=23']
Exploring Operation: 87-23=64, Resulting Numbers: [64]
64,82 unequal: No Solution
Exploring Operation: 87*23=2001, Resulting Numbers: [2001]
2001,82 unequal: No Solution
Exploring Operation: 87+23=110, Resulting Numbers: [110]
110,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 82:[87, 111], Operations: ['73-29=44', '67+44=111']
Exploring Operation: 87+111=198, Resulting Numbers: [198]
198,82 unequal: No Solution
Exploring Operation: 111-87=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 87*111=9657, Resulting Numbers: [9657]
9657,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 82:[67, 131], Operations: ['73-29=44', '87+44=131']
Exploring Operation: 67+131=198, Resulting Numbers: [198]
198,82 unequal: No Solution
Exploring Operation: 131-67=64, Resulting Numbers: [64]
64,82 unequal: No Solution
Exploring Operation: 67*131=8777, Resulting Numbers: [8777]
8777,82 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: 82:[73, 67, 3], Operations: ['87/29=3']
Exploring Operation: 73+3=76, Resulting Numbers: [67, 76]
Generated Node #0,4,0: 82:[67, 76] Operation: 73+3=76
Exploring Operation: 73-67=6, Resulting Numbers: [3, 6]
Generated Node #0,4,1: 82:[3, 6] Operation: 73-67=6
Exploring Operation: 67+3=70, Resulting Numbers: [73, 70]
Generated Node #0,4,2: 82:[73, 70] Operation: 67+3=70
Exploring Operation: 67-3=64, Resulting Numbers: [73, 64]
Generated Node #0,4,3: 82:[73, 64] Operation: 67-3=64
Exploring Operation: 73-3=70, Resulting Numbers: [67, 70]
Generated Node #0,4,4: 82:[67, 70] Operation: 73-3=70
Moving to Node #0,0
Current State: 82:[73, 87, 96], Operations: ['67+29=96']
Exploring Operation: 73+96=169, Resulting Numbers: [87, 169]
Generated Node #0,0,0: 82:[87, 169] Operation: 73+96=169
Exploring Operation: 96-73=23, Resulting Numbers: [87, 23]
Generated Node #0,0,1: 82:[87, 23] Operation: 96-73=23
Exploring Operation: 96-87=9, Resulting Numbers: [73, 9]
Generated Node #0,0,2: 82:[73, 9] Operation: 96-87=9
Exploring Operation: 87-73=14, Resulting Numbers: [96, 14]
Generated Node #0,0,3: 82:[96, 14] Operation: 87-73=14
Exploring Operation: 73+87=160, Resulting Numbers: [96, 160]
Generated Node #0,0,4: 82:[96, 160] Operation: 73+87=160
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 82:[73, 9], Operations: ['67+29=96', '96-87=9']
Exploring Operation: 73+9=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[73, 67, 87, 29], Operations: []
Exploring Operation: 67+29=96, Resulting Numbers: [73, 87, 96]
Generated Node #0,0: 82:[73, 87, 96] Operation: 67+29=96
Moving to Node #0,0
Current State: 82:[73, 87, 96], Operations: ['67+29=96']
Exploring Operation: 96-87=9, Resulting Numbers: [73, 9]
Generated Node #0,0,2: 82:[73, 9] Operation: 96-87=9
Moving to Node #0,0,2
Current State: 82:[73, 9], Operations: ['67+29=96', '96-87=9']
Exploring Operation: 73+9=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.943576 | hs_5 | sum_heuristic |
[
89,
49,
20,
8
] | 100 | [
"89-49=40",
"20*40=800",
"800/8=100"
] | Current State: 100:[89, 49, 20, 8], Operations: []
Exploring Operation: 89-49=40, Resulting Numbers: [20, 8, 40]
Generated Node #2: [20, 8, 40] from Operation: 89-49=40
Current State: 100:[20, 8, 40], Operations: ['89-49=40']
Exploring Operation: 20*40=800, Resulting Numbers: [8, 800]
Generated Node #3: [8, 800] from Operation: 20*40=800
Current State: 100:[8, 800], Operations: ['89-49=40', '20*40=800']
Exploring Operation: 800/8=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[89, 49, 20, 8], Operations: []
Exploring Operation: 89-49=40, Resulting Numbers: [20, 8, 40]
Generated Node #0,0: 100:[20, 8, 40] Operation: 89-49=40
Exploring Operation: 89+8=97, Resulting Numbers: [49, 20, 97]
Generated Node #0,1: 100:[49, 20, 97] Operation: 89+8=97
Moving to Node #0,1
Current State: 100:[49, 20, 97], Operations: ['89+8=97']
Exploring Operation: 97-49=48, Resulting Numbers: [20, 48]
Generated Node #0,1,0: 100:[20, 48] Operation: 97-49=48
Exploring Operation: 49-20=29, Resulting Numbers: [97, 29]
Generated Node #0,1,1: 100:[97, 29] Operation: 49-20=29
Moving to Node #0,0
Current State: 100:[20, 8, 40], Operations: ['89-49=40']
Exploring Operation: 40/8=5, Resulting Numbers: [20, 5]
Generated Node #0,0,0: 100:[20, 5] Operation: 40/8=5
Exploring Operation: 40-20=20, Resulting Numbers: [8, 20]
Generated Node #0,0,1: 100:[8, 20] Operation: 40-20=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[20, 5], Operations: ['89-49=40', '40/8=5']
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[89, 49, 20, 8], Operations: []
Exploring Operation: 89-49=40, Resulting Numbers: [20, 8, 40]
Generated Node #0,0: 100:[20, 8, 40] Operation: 89-49=40
Moving to Node #0,0
Current State: 100:[20, 8, 40], Operations: ['89-49=40']
Exploring Operation: 40/8=5, Resulting Numbers: [20, 5]
Generated Node #0,0,0: 100:[20, 5] Operation: 40/8=5
Moving to Node #0,0,0
Current State: 100:[20, 5], Operations: ['89-49=40', '40/8=5']
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
85,
87,
48,
89
] | 35 | [
"85+87=172",
"48+89=137",
"172-137=35"
] | Current State: 35:[85, 87, 48, 89], Operations: []
Exploring Operation: 85+87=172, Resulting Numbers: [48, 89, 172]
Generated Node #2: [48, 89, 172] from Operation: 85+87=172
Current State: 35:[48, 89, 172], Operations: ['85+87=172']
Exploring Operation: 48+89=137, Resulting Numbers: [172, 137]
Generated Node #3: [172, 137] from Operation: 48+89=137
Current State: 35:[172, 137], Operations: ['85+87=172', '48+89=137']
Exploring Operation: 172-137=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[85, 87, 48, 89], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [85, 48, 2]
Generated Node #0,0: 35:[85, 48, 2] Operation: 89-87=2
Exploring Operation: 89-85=4, Resulting Numbers: [87, 48, 4]
Generated Node #0,1: 35:[87, 48, 4] Operation: 89-85=4
Exploring Operation: 85-48=37, Resulting Numbers: [87, 89, 37]
Generated Node #0,2: 35:[87, 89, 37] Operation: 85-48=37
Exploring Operation: 87-85=2, Resulting Numbers: [48, 89, 2]
Generated Node #0,3: 35:[48, 89, 2] Operation: 87-85=2
Moving to Node #0,0
Current State: 35:[85, 48, 2], Operations: ['89-87=2']
Exploring Operation: 48-2=46, Resulting Numbers: [85, 46]
Generated Node #0,0,0: 35:[85, 46] Operation: 48-2=46
Exploring Operation: 85-2=83, Resulting Numbers: [48, 83]
Generated Node #0,0,1: 35:[48, 83] Operation: 85-2=83
Exploring Operation: 85-48=37, Resulting Numbers: [2, 37]
Generated Node #0,0,2: 35:[2, 37] Operation: 85-48=37
Exploring Operation: 48/2=24, Resulting Numbers: [85, 24]
Generated Node #0,0,3: 35:[85, 24] Operation: 48/2=24
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[2, 37], Operations: ['89-87=2', '85-48=37']
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,35 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[85, 87, 48, 89], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [85, 48, 2]
Generated Node #0,0: 35:[85, 48, 2] Operation: 89-87=2
Moving to Node #0,0
Current State: 35:[85, 48, 2], Operations: ['89-87=2']
Exploring Operation: 85-48=37, Resulting Numbers: [2, 37]
Generated Node #0,0,2: 35:[2, 37] Operation: 85-48=37
Moving to Node #0,0,2
Current State: 35:[2, 37], Operations: ['89-87=2', '85-48=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
74,
42,
42,
70
] | 80 | [
"74-42=32",
"42+70=112",
"112-32=80"
] | Current State: 80:[74, 42, 42, 70], Operations: []
Exploring Operation: 74-42=32, Resulting Numbers: [70, 32]
Generated Node #2: [70, 32] from Operation: 74-42=32
Current State: 80:[70, 32], Operations: ['74-42=32']
Exploring Operation: 42+70=112, Resulting Numbers: [32, 112]
Generated Node #3: [32, 112] from Operation: 42+70=112
Current State: 80:[32, 112], Operations: ['74-42=32', '42+70=112']
Exploring Operation: 112-32=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[74, 42, 42, 70], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [42, 42, 4]
Generated Node #0,0: 80:[42, 42, 4] Operation: 74-70=4
Moving to Node #0,0
Current State: 80:[42, 42, 4], Operations: ['74-70=4']
Exploring Operation: 42/42=1, Resulting Numbers: [4, 1]
Generated Node #0,0,0: 80:[4, 1] Operation: 42/42=1
Moving to Node #0,0,0
Current State: 80:[4, 1], Operations: ['74-70=4', '42/42=1']
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,80 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
96,
9,
38,
16
] | 83 | [
"96+9=105",
"38-16=22",
"105-22=83"
] | Current State: 83:[96, 9, 38, 16], Operations: []
Exploring Operation: 96+9=105, Resulting Numbers: [38, 16, 105]
Generated Node #2: [38, 16, 105] from Operation: 96+9=105
Current State: 83:[38, 16, 105], Operations: ['96+9=105']
Exploring Operation: 38-16=22, Resulting Numbers: [105, 22]
Generated Node #3: [105, 22] from Operation: 38-16=22
Current State: 83:[105, 22], Operations: ['96+9=105', '38-16=22']
Exploring Operation: 105-22=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[96, 9, 38, 16], Operations: []
Exploring Operation: 96-9=87, Resulting Numbers: [38, 16, 87]
Generated Node #0,0: 83:[38, 16, 87] Operation: 96-9=87
Moving to Node #0,0
Current State: 83:[38, 16, 87], Operations: ['96-9=87']
Exploring Operation: 38+16=54, Resulting Numbers: [87, 54]
Generated Node #0,0,0: 83:[87, 54] Operation: 38+16=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[87, 54], Operations: ['96-9=87', '38+16=54']
Exploring Operation: 87-54=33, Resulting Numbers: [33]
33,83 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,
13,
84,
12
] | 22 | [
"94+84=178",
"13*12=156",
"178-156=22"
] | Current State: 22:[94, 13, 84, 12], Operations: []
Exploring Operation: 94+84=178, Resulting Numbers: [13, 12, 178]
Generated Node #2: [13, 12, 178] from Operation: 94+84=178
Current State: 22:[13, 12, 178], Operations: ['94+84=178']
Exploring Operation: 13*12=156, Resulting Numbers: [178, 156]
Generated Node #3: [178, 156] from Operation: 13*12=156
Current State: 22:[178, 156], Operations: ['94+84=178', '13*12=156']
Exploring Operation: 178-156=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[94, 13, 84, 12], Operations: []
Exploring Operation: 84/12=7, Resulting Numbers: [94, 13, 7]
Generated Node #0,0: 22:[94, 13, 7] Operation: 84/12=7
Exploring Operation: 94-84=10, Resulting Numbers: [13, 12, 10]
Generated Node #0,1: 22:[13, 12, 10] Operation: 94-84=10
Moving to Node #0,1
Current State: 22:[13, 12, 10], Operations: ['94-84=10']
Exploring Operation: 13+10=23, Resulting Numbers: [12, 23]
Generated Node #0,1,0: 22:[12, 23] Operation: 13+10=23
Exploring Operation: 13-12=1, Resulting Numbers: [10, 1]
Generated Node #0,1,1: 22:[10, 1] Operation: 13-12=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[12, 23], Operations: ['94-84=10', '13+10=23']
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[10, 1], Operations: ['94-84=10', '13-12=1']
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 22:[94, 13, 7], Operations: ['84/12=7']
Exploring Operation: 94-13=81, Resulting Numbers: [7, 81]
Generated Node #0,0,0: 22:[7, 81] Operation: 94-13=81
Exploring Operation: 94-7=87, Resulting Numbers: [13, 87]
Generated Node #0,0,1: 22:[13, 87] Operation: 94-7=87
Moving to Node #0,0,0
Current State: 22:[7, 81], Operations: ['84/12=7', '94-13=81']
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,22 unequal: No Solution
Exploring Operation: 7+81=88, Resulting Numbers: [88]
88,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[13, 87], Operations: ['84/12=7', '94-7=87']
Exploring Operation: 13+87=100, Resulting Numbers: [100]
100,22 unequal: No Solution
Exploring Operation: 87-13=74, Resulting Numbers: [74]
74,22 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
8,
71,
42,
5
] | 21 | [
"71-8=63",
"42+63=105",
"105/5=21"
] | Current State: 21:[8, 71, 42, 5], Operations: []
Exploring Operation: 71-8=63, Resulting Numbers: [42, 5, 63]
Generated Node #2: [42, 5, 63] from Operation: 71-8=63
Current State: 21:[42, 5, 63], Operations: ['71-8=63']
Exploring Operation: 42+63=105, Resulting Numbers: [5, 105]
Generated Node #3: [5, 105] from Operation: 42+63=105
Current State: 21:[5, 105], Operations: ['71-8=63', '42+63=105']
Exploring Operation: 105/5=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[8, 71, 42, 5], Operations: []
Exploring Operation: 71-8=63, Resulting Numbers: [42, 5, 63]
Generated Node #0,0: 21:[42, 5, 63] Operation: 71-8=63
Exploring Operation: 71-42=29, Resulting Numbers: [8, 5, 29]
Generated Node #0,1: 21:[8, 5, 29] Operation: 71-42=29
Moving to Node #0,1
Current State: 21:[8, 5, 29], Operations: ['71-42=29']
Exploring Operation: 29-8=21, Resulting Numbers: [5, 21]
Generated Node #0,1,0: 21:[5, 21] Operation: 29-8=21
Exploring Operation: 29-5=24, Resulting Numbers: [8, 24]
Generated Node #0,1,1: 21:[8, 24] Operation: 29-5=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[5, 21], Operations: ['71-42=29', '29-8=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 21:[8, 24], Operations: ['71-42=29', '29-5=24']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,21 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: 21:[42, 5, 63], Operations: ['71-8=63']
Exploring Operation: 63-42=21, Resulting Numbers: [5, 21]
Generated Node #0,0,0: 21:[5, 21] Operation: 63-42=21
Exploring Operation: 42-5=37, Resulting Numbers: [63, 37]
Generated Node #0,0,1: 21:[63, 37] Operation: 42-5=37
Moving to Node #0,0,0
Current State: 21:[5, 21], Operations: ['71-8=63', '63-42=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[63, 37], Operations: ['71-8=63', '42-5=37']
Exploring Operation: 63-37=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 63+37=100, Resulting Numbers: [100]
100,21 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
57,
23,
87,
28
] | 25 | [
"57-23=34",
"87-28=59",
"59-34=25"
] | Current State: 25:[57, 23, 87, 28], Operations: []
Exploring Operation: 57-23=34, Resulting Numbers: [87, 28, 34]
Generated Node #2: [87, 28, 34] from Operation: 57-23=34
Current State: 25:[87, 28, 34], Operations: ['57-23=34']
Exploring Operation: 87-28=59, Resulting Numbers: [34, 59]
Generated Node #3: [34, 59] from Operation: 87-28=59
Current State: 25:[34, 59], Operations: ['57-23=34', '87-28=59']
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[57, 23, 87, 28], Operations: []
Exploring Operation: 87-57=30, Resulting Numbers: [23, 28, 30]
Generated Node #0,0: 25:[23, 28, 30] Operation: 87-57=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[23, 28, 30], Operations: ['87-57=30']
Exploring Operation: 28-23=5, Resulting Numbers: [30, 5]
Generated Node #0,0,0: 25:[30, 5] Operation: 28-23=5
Moving to Node #0,0,0
Current State: 25:[30, 5], Operations: ['87-57=30', '28-23=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[57, 23, 87, 28], Operations: []
Exploring Operation: 87-57=30, Resulting Numbers: [23, 28, 30]
Generated Node #0,0: 25:[23, 28, 30] Operation: 87-57=30
Moving to Node #0,0
Current State: 25:[23, 28, 30], Operations: ['87-57=30']
Exploring Operation: 28-23=5, Resulting Numbers: [30, 5]
Generated Node #0,0,0: 25:[30, 5] Operation: 28-23=5
Moving to Node #0,0,0
Current State: 25:[30, 5], Operations: ['87-57=30', '28-23=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
25,
24,
68,
91
] | 25 | [
"24+68=92",
"92-91=1",
"25*1=25"
] | Current State: 25:[25, 24, 68, 91], Operations: []
Exploring Operation: 24+68=92, Resulting Numbers: [25, 91, 92]
Generated Node #2: [25, 91, 92] from Operation: 24+68=92
Current State: 25:[25, 91, 92], Operations: ['24+68=92']
Exploring Operation: 92-91=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 92-91=1
Current State: 25:[25, 1], Operations: ['24+68=92', '92-91=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[25, 24, 68, 91], Operations: []
Exploring Operation: 91-25=66, Resulting Numbers: [24, 68, 66]
Generated Node #0,0: 25:[24, 68, 66] Operation: 91-25=66
Exploring Operation: 91-68=23, Resulting Numbers: [25, 24, 23]
Generated Node #0,1: 25:[25, 24, 23] Operation: 91-68=23
Exploring Operation: 68-25=43, Resulting Numbers: [24, 91, 43]
Generated Node #0,2: 25:[24, 91, 43] Operation: 68-25=43
Exploring Operation: 68-24=44, Resulting Numbers: [25, 91, 44]
Generated Node #0,3: 25:[25, 91, 44] Operation: 68-24=44
Moving to Node #0,1
Current State: 25:[25, 24, 23], Operations: ['91-68=23']
Exploring Operation: 25-23=2, Resulting Numbers: [24, 2]
Generated Node #0,1,0: 25:[24, 2] Operation: 25-23=2
Exploring Operation: 24-23=1, Resulting Numbers: [25, 1]
Generated Node #0,1,1: 25:[25, 1] Operation: 24-23=1
Exploring Operation: 25-24=1, Resulting Numbers: [23, 1]
Generated Node #0,1,2: 25:[23, 1] Operation: 25-24=1
Exploring Operation: 24+23=47, Resulting Numbers: [25, 47]
Generated Node #0,1,3: 25:[25, 47] Operation: 24+23=47
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[24, 2], Operations: ['91-68=23', '25-23=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[25, 1], Operations: ['91-68=23', '24-23=1']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[25, 24, 68, 91], Operations: []
Exploring Operation: 91-68=23, Resulting Numbers: [25, 24, 23]
Generated Node #0,1: 25:[25, 24, 23] Operation: 91-68=23
Moving to Node #0,1
Current State: 25:[25, 24, 23], Operations: ['91-68=23']
Exploring Operation: 24-23=1, Resulting Numbers: [25, 1]
Generated Node #0,1,1: 25:[25, 1] Operation: 24-23=1
Moving to Node #0,1,1
Current State: 25:[25, 1], Operations: ['91-68=23', '24-23=1']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
21,
41,
45,
51
] | 16 | [
"21*41=861",
"861-45=816",
"816/51=16"
] | Current State: 16:[21, 41, 45, 51], Operations: []
Exploring Operation: 21*41=861, Resulting Numbers: [45, 51, 861]
Generated Node #2: [45, 51, 861] from Operation: 21*41=861
Current State: 16:[45, 51, 861], Operations: ['21*41=861']
Exploring Operation: 861-45=816, Resulting Numbers: [51, 816]
Generated Node #3: [51, 816] from Operation: 861-45=816
Current State: 16:[51, 816], Operations: ['21*41=861', '861-45=816']
Exploring Operation: 816/51=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[21, 41, 45, 51], Operations: []
Exploring Operation: 45-41=4, Resulting Numbers: [21, 51, 4]
Generated Node #0,0: 16:[21, 51, 4] Operation: 45-41=4
Exploring Operation: 41-21=20, Resulting Numbers: [45, 51, 20]
Generated Node #0,1: 16:[45, 51, 20] Operation: 41-21=20
Exploring Operation: 51-41=10, Resulting Numbers: [21, 45, 10]
Generated Node #0,2: 16:[21, 45, 10] Operation: 51-41=10
Exploring Operation: 51-45=6, Resulting Numbers: [21, 41, 6]
Generated Node #0,3: 16:[21, 41, 6] Operation: 51-45=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 16:[21, 41, 6], Operations: ['51-45=6']
Exploring Operation: 21+6=27, Resulting Numbers: [41, 27]
Generated Node #0,3,0: 16:[41, 27] Operation: 21+6=27
Exploring Operation: 21-6=15, Resulting Numbers: [41, 15]
Generated Node #0,3,1: 16:[41, 15] Operation: 21-6=15
Exploring Operation: 41-6=35, Resulting Numbers: [21, 35]
Generated Node #0,3,2: 16:[21, 35] Operation: 41-6=35
Exploring Operation: 41-21=20, Resulting Numbers: [6, 20]
Generated Node #0,3,3: 16:[6, 20] Operation: 41-21=20
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 16:[6, 20], Operations: ['51-45=6', '41-21=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,16 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,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,3,2
Current State: 16:[21, 35], Operations: ['51-45=6', '41-6=35']
Exploring Operation: 21*35=735, Resulting Numbers: [735]
735,16 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 21+35=56, Resulting Numbers: [56]
56,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,3,1
Current State: 16:[41, 15], Operations: ['51-45=6', '21-6=15']
Exploring Operation: 41*15=615, Resulting Numbers: [615]
615,16 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,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,3,0
Current State: 16:[41, 27], Operations: ['51-45=6', '21+6=27']
Exploring Operation: 41+27=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 41*27=1107, Resulting Numbers: [1107]
1107,16 unequal: No Solution
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[21, 45, 10], Operations: ['51-41=10']
Exploring Operation: 21-10=11, Resulting Numbers: [45, 11]
Generated Node #0,2,0: 16:[45, 11] Operation: 21-10=11
Exploring Operation: 21+10=31, Resulting Numbers: [45, 31]
Generated Node #0,2,1: 16:[45, 31] Operation: 21+10=31
Exploring Operation: 45-10=35, Resulting Numbers: [21, 35]
Generated Node #0,2,2: 16:[21, 35] Operation: 45-10=35
Exploring Operation: 45-21=24, Resulting Numbers: [10, 24]
Generated Node #0,2,3: 16:[10, 24] Operation: 45-21=24
Moving to Node #0,2,3
Current State: 16:[10, 24], Operations: ['51-41=10', '45-21=24']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[21, 35], Operations: ['51-41=10', '45-10=35']
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 21*35=735, Resulting Numbers: [735]
735,16 unequal: No Solution
Exploring Operation: 21+35=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[45, 11], Operations: ['51-41=10', '21-10=11']
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 45+11=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 45*11=495, Resulting Numbers: [495]
495,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[45, 31], Operations: ['51-41=10', '21+10=31']
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 45*31=1395, Resulting Numbers: [1395]
1395,16 unequal: No Solution
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[21, 51, 4], Operations: ['45-41=4']
Exploring Operation: 21-4=17, Resulting Numbers: [51, 17]
Generated Node #0,0,0: 16:[51, 17] Operation: 21-4=17
Exploring Operation: 21+4=25, Resulting Numbers: [51, 25]
Generated Node #0,0,1: 16:[51, 25] Operation: 21+4=25
Exploring Operation: 51-21=30, Resulting Numbers: [4, 30]
Generated Node #0,0,2: 16:[4, 30] Operation: 51-21=30
Exploring Operation: 51-4=47, Resulting Numbers: [21, 47]
Generated Node #0,0,3: 16:[21, 47] Operation: 51-4=47
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 16:[4, 30], Operations: ['45-41=4', '51-21=30']
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,16 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,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,0,0
Current State: 16:[51, 17], Operations: ['45-41=4', '21-4=17']
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,16 unequal: No Solution
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,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,0,3
Current State: 16:[21, 47], Operations: ['45-41=4', '51-4=47']
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,16 unequal: No Solution
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,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,0,1
Current State: 16:[51, 25], Operations: ['45-41=4', '21+4=25']
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,16 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 51*25=1275, Resulting Numbers: [1275]
1275,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[45, 51, 20], Operations: ['41-21=20']
Exploring Operation: 51-45=6, Resulting Numbers: [20, 6]
Generated Node #0,1,0: 16:[20, 6] Operation: 51-45=6
Exploring Operation: 51-20=31, Resulting Numbers: [45, 31]
Generated Node #0,1,1: 16:[45, 31] Operation: 51-20=31
Exploring Operation: 45-20=25, Resulting Numbers: [51, 25]
Generated Node #0,1,2: 16:[51, 25] Operation: 45-20=25
Exploring Operation: 45+51=96, Resulting Numbers: [20, 96]
Generated Node #0,1,3: 16:[20, 96] Operation: 45+51=96
Moving to Node #0,1,0
Current State: 16:[20, 6], Operations: ['41-21=20', '51-45=6']
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,16 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[51, 25], Operations: ['41-21=20', '45-20=25']
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,16 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 51*25=1275, Resulting Numbers: [1275]
1275,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[45, 31], Operations: ['41-21=20', '51-20=31']
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 45*31=1395, Resulting Numbers: [1395]
1395,16 unequal: No Solution
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,16 unequal: No Solution
Moving to Node #0,1,3
Current State: 16:[20, 96], Operations: ['41-21=20', '45+51=96']
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,16 unequal: No Solution
Exploring Operation: 20+96=116, Resulting Numbers: [116]
116,16 unequal: No Solution
Exploring Operation: 20*96=1920, Resulting Numbers: [1920]
1920,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
69,
39,
88,
2
] | 98 | [
"69+39=108",
"88+108=196",
"196/2=98"
] | Current State: 98:[69, 39, 88, 2], Operations: []
Exploring Operation: 69+39=108, Resulting Numbers: [88, 2, 108]
Generated Node #2: [88, 2, 108] from Operation: 69+39=108
Current State: 98:[88, 2, 108], Operations: ['69+39=108']
Exploring Operation: 88+108=196, Resulting Numbers: [2, 196]
Generated Node #3: [2, 196] from Operation: 88+108=196
Current State: 98:[2, 196], Operations: ['69+39=108', '88+108=196']
Exploring Operation: 196/2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[69, 39, 88, 2], Operations: []
Exploring Operation: 88-39=49, Resulting Numbers: [69, 2, 49]
Generated Node #0,0: 98:[69, 2, 49] Operation: 88-39=49
Exploring Operation: 69+39=108, Resulting Numbers: [88, 2, 108]
Generated Node #0,1: 98:[88, 2, 108] Operation: 69+39=108
Exploring Operation: 88-69=19, Resulting Numbers: [39, 2, 19]
Generated Node #0,2: 98:[39, 2, 19] Operation: 88-69=19
Exploring Operation: 88/2=44, Resulting Numbers: [69, 39, 44]
Generated Node #0,3: 98:[69, 39, 44] Operation: 88/2=44
Exploring Operation: 69-39=30, Resulting Numbers: [88, 2, 30]
Generated Node #0,4: 98:[88, 2, 30] Operation: 69-39=30
Moving to Node #0,2
Current State: 98:[39, 2, 19], Operations: ['88-69=19']
Exploring Operation: 39+19=58, Resulting Numbers: [2, 58]
Generated Node #0,2,0: 98:[2, 58] Operation: 39+19=58
Exploring Operation: 39+2=41, Resulting Numbers: [19, 41]
Generated Node #0,2,1: 98:[19, 41] Operation: 39+2=41
Exploring Operation: 39-19=20, Resulting Numbers: [2, 20]
Generated Node #0,2,2: 98:[2, 20] Operation: 39-19=20
Exploring Operation: 19-2=17, Resulting Numbers: [39, 17]
Generated Node #0,2,3: 98:[39, 17] Operation: 19-2=17
Exploring Operation: 39-2=37, Resulting Numbers: [19, 37]
Generated Node #0,2,4: 98:[19, 37] Operation: 39-2=37
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 98:[2, 20], Operations: ['88-69=19', '39-19=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,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,0
Current State: 98:[2, 58], Operations: ['88-69=19', '39+19=58']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,98 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Exploring Operation: 2*58=116, Resulting Numbers: [116]
116,98 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,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,1
Current State: 98:[19, 41], Operations: ['88-69=19', '39+2=41']
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 19*41=779, Resulting Numbers: [779]
779,98 unequal: No Solution
Exploring Operation: 19+41=60, Resulting Numbers: [60]
60,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,3
Current State: 98:[39, 17], Operations: ['88-69=19', '19-2=17']
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 39+17=56, Resulting Numbers: [56]
56,98 unequal: No Solution
Exploring Operation: 39*17=663, Resulting Numbers: [663]
663,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,4
Current State: 98:[19, 37], Operations: ['88-69=19', '39-2=37']
Exploring Operation: 19*37=703, Resulting Numbers: [703]
703,98 unequal: No Solution
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 19+37=56, Resulting Numbers: [56]
56,98 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: 98:[88, 2, 108], Operations: ['69+39=108']
Exploring Operation: 108-88=20, Resulting Numbers: [2, 20]
Generated Node #0,1,0: 98:[2, 20] Operation: 108-88=20
Exploring Operation: 108/2=54, Resulting Numbers: [88, 54]
Generated Node #0,1,1: 98:[88, 54] Operation: 108/2=54
Exploring Operation: 88/2=44, Resulting Numbers: [108, 44]
Generated Node #0,1,2: 98:[108, 44] Operation: 88/2=44
Exploring Operation: 88+2=90, Resulting Numbers: [108, 90]
Generated Node #0,1,3: 98:[108, 90] Operation: 88+2=90
Exploring Operation: 108-2=106, Resulting Numbers: [88, 106]
Generated Node #0,1,4: 98:[88, 106] Operation: 108-2=106
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[2, 20], Operations: ['69+39=108', '108-88=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[88, 54], Operations: ['69+39=108', '108/2=54']
Exploring Operation: 88+54=142, Resulting Numbers: [142]
142,98 unequal: No Solution
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 88*54=4752, Resulting Numbers: [4752]
4752,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 98:[108, 44], Operations: ['69+39=108', '88/2=44']
Exploring Operation: 108-44=64, Resulting Numbers: [64]
64,98 unequal: No Solution
Exploring Operation: 108+44=152, Resulting Numbers: [152]
152,98 unequal: No Solution
Exploring Operation: 108*44=4752, Resulting Numbers: [4752]
4752,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 98:[108, 90], Operations: ['69+39=108', '88+2=90']
Exploring Operation: 108+90=198, Resulting Numbers: [198]
198,98 unequal: No Solution
Exploring Operation: 108-90=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 108*90=9720, Resulting Numbers: [9720]
9720,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 98:[88, 106], Operations: ['69+39=108', '108-2=106']
Exploring Operation: 88*106=9328, Resulting Numbers: [9328]
9328,98 unequal: No Solution
Exploring Operation: 106-88=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 88+106=194, Resulting Numbers: [194]
194,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 98:[69, 2, 49], Operations: ['88-39=49']
Exploring Operation: 69-2=67, Resulting Numbers: [49, 67]
Generated Node #0,0,0: 98:[49, 67] Operation: 69-2=67
Exploring Operation: 69+2=71, Resulting Numbers: [49, 71]
Generated Node #0,0,1: 98:[49, 71] Operation: 69+2=71
Exploring Operation: 69-49=20, Resulting Numbers: [2, 20]
Generated Node #0,0,2: 98:[2, 20] Operation: 69-49=20
Exploring Operation: 2*49=98, Resulting Numbers: [69, 98]
Generated Node #0,0,3: 98:[69, 98] Operation: 2*49=98
Exploring Operation: 69+49=118, Resulting Numbers: [2, 118]
Generated Node #0,0,4: 98:[2, 118] Operation: 69+49=118
Moving to Node #0,4
Current State: 98:[88, 2, 30], Operations: ['69-39=30']
Exploring Operation: 88+30=118, Resulting Numbers: [2, 118]
Generated Node #0,4,0: 98:[2, 118] Operation: 88+30=118
Exploring Operation: 30/2=15, Resulting Numbers: [88, 15]
Generated Node #0,4,1: 98:[88, 15] Operation: 30/2=15
Exploring Operation: 88/2=44, Resulting Numbers: [30, 44]
Generated Node #0,4,2: 98:[30, 44] Operation: 88/2=44
Exploring Operation: 88-30=58, Resulting Numbers: [2, 58]
Generated Node #0,4,3: 98:[2, 58] Operation: 88-30=58
Exploring Operation: 2*30=60, Resulting Numbers: [88, 60]
Generated Node #0,4,4: 98:[88, 60] Operation: 2*30=60
Moving to Node #0,3
Current State: 98:[69, 39, 44], Operations: ['88/2=44']
Exploring Operation: 69-39=30, Resulting Numbers: [44, 30]
Generated Node #0,3,0: 98:[44, 30] Operation: 69-39=30
Exploring Operation: 44-39=5, Resulting Numbers: [69, 5]
Generated Node #0,3,1: 98:[69, 5] Operation: 44-39=5
Exploring Operation: 69-44=25, Resulting Numbers: [39, 25]
Generated Node #0,3,2: 98:[39, 25] Operation: 69-44=25
Exploring Operation: 69+39=108, Resulting Numbers: [44, 108]
Generated Node #0,3,3: 98:[44, 108] Operation: 69+39=108
Exploring Operation: 69+44=113, Resulting Numbers: [39, 113]
Generated Node #0,3,4: 98:[39, 113] Operation: 69+44=113
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 98:[44, 108], Operations: ['88/2=44', '69+39=108']
Exploring Operation: 44*108=4752, Resulting Numbers: [4752]
4752,98 unequal: No Solution
Exploring Operation: 108-44=64, Resulting Numbers: [64]
64,98 unequal: No Solution
Exploring Operation: 44+108=152, Resulting Numbers: [152]
152,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 98:[44, 30], Operations: ['88/2=44', '69-39=30']
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Exploring Operation: 44*30=1320, Resulting Numbers: [1320]
1320,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 98:[39, 25], Operations: ['88/2=44', '69-44=25']
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,98 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 98:[69, 5], Operations: ['88/2=44', '44-39=5']
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,98 unequal: No Solution
Exploring Operation: 69+5=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 69*5=345, Resulting Numbers: [345]
345,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 98:[39, 113], Operations: ['88/2=44', '69+44=113']
Exploring Operation: 39*113=4407, Resulting Numbers: [4407]
4407,98 unequal: No Solution
Exploring Operation: 39+113=152, Resulting Numbers: [152]
152,98 unequal: No Solution
Exploring Operation: 113-39=74, Resulting Numbers: [74]
74,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 98:[2, 20], Operations: ['88-39=49', '69-49=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Moving to Node #0,4,3
Current State: 98:[2, 58], Operations: ['69-39=30', '88-30=58']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,98 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,98 unequal: No Solution
Exploring Operation: 2*58=116, Resulting Numbers: [116]
116,98 unequal: No Solution
Moving to Node #0,4,1
Current State: 98:[88, 15], Operations: ['69-39=30', '30/2=15']
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,98 unequal: No Solution
Exploring Operation: 88*15=1320, Resulting Numbers: [1320]
1320,98 unequal: No Solution
Exploring Operation: 88+15=103, Resulting Numbers: [103]
103,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[49, 67], Operations: ['88-39=49', '69-2=67']
Exploring Operation: 49*67=3283, Resulting Numbers: [3283]
3283,98 unequal: No Solution
Exploring Operation: 67-49=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 49+67=116, Resulting Numbers: [116]
116,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[69, 98], Operations: ['88-39=49', '2*49=98']
Exploring Operation: 98-69=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Exploring Operation: 69*98=6762, Resulting Numbers: [6762]
6762,98 unequal: No Solution
Exploring Operation: 69+98=167, Resulting Numbers: [167]
167,98 unequal: No Solution
Moving to Node #0,0,4
Current State: 98:[2, 118], Operations: ['88-39=49', '69+49=118']
Exploring Operation: 118/2=59, Resulting Numbers: [59]
59,98 unequal: No Solution
Exploring Operation: 2+118=120, Resulting Numbers: [120]
120,98 unequal: No Solution
Exploring Operation: 2*118=236, Resulting Numbers: [236]
236,98 unequal: No Solution
Exploring Operation: 118-2=116, Resulting Numbers: [116]
116,98 unequal: No Solution
Moving to Node #0,4,0
Current State: 98:[2, 118], Operations: ['69-39=30', '88+30=118']
Exploring Operation: 2*118=236, Resulting Numbers: [236]
236,98 unequal: No Solution
Exploring Operation: 118/2=59, Resulting Numbers: [59]
59,98 unequal: No Solution
Exploring Operation: 118-2=116, Resulting Numbers: [116]
116,98 unequal: No Solution
Exploring Operation: 2+118=120, Resulting Numbers: [120]
120,98 unequal: No Solution
Moving to Node #0,4,2
Current State: 98:[30, 44], Operations: ['69-39=30', '88/2=44']
Exploring Operation: 30+44=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 30*44=1320, Resulting Numbers: [1320]
1320,98 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Moving to Node #0,4,4
Current State: 98:[88, 60], Operations: ['69-39=30', '2*30=60']
Exploring Operation: 88*60=5280, Resulting Numbers: [5280]
5280,98 unequal: No Solution
Exploring Operation: 88-60=28, Resulting Numbers: [28]
28,98 unequal: No Solution
Exploring Operation: 88+60=148, Resulting Numbers: [148]
148,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[49, 71], Operations: ['88-39=49', '69+2=71']
Exploring Operation: 71-49=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 49+71=120, Resulting Numbers: [120]
120,98 unequal: No Solution
Exploring Operation: 49*71=3479, Resulting Numbers: [3479]
3479,98 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
75,
64,
25,
99
] | 15 | [
"75+64=139",
"25+99=124",
"139-124=15"
] | Current State: 15:[75, 64, 25, 99], Operations: []
Exploring Operation: 75+64=139, Resulting Numbers: [25, 99, 139]
Generated Node #2: [25, 99, 139] from Operation: 75+64=139
Current State: 15:[25, 99, 139], Operations: ['75+64=139']
Exploring Operation: 25+99=124, Resulting Numbers: [139, 124]
Generated Node #3: [139, 124] from Operation: 25+99=124
Current State: 15:[139, 124], Operations: ['75+64=139', '25+99=124']
Exploring Operation: 139-124=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[75, 64, 25, 99], Operations: []
Exploring Operation: 99-75=24, Resulting Numbers: [64, 25, 24]
Generated Node #0,0: 15:[64, 25, 24] Operation: 99-75=24
Exploring Operation: 75-64=11, Resulting Numbers: [25, 99, 11]
Generated Node #0,1: 15:[25, 99, 11] Operation: 75-64=11
Exploring Operation: 99-64=35, Resulting Numbers: [75, 25, 35]
Generated Node #0,2: 15:[75, 25, 35] Operation: 99-64=35
Moving to Node #0,0
Current State: 15:[64, 25, 24], Operations: ['99-75=24']
Exploring Operation: 64-25=39, Resulting Numbers: [24, 39]
Generated Node #0,0,0: 15:[24, 39] Operation: 64-25=39
Exploring Operation: 25-24=1, Resulting Numbers: [64, 1]
Generated Node #0,0,1: 15:[64, 1] Operation: 25-24=1
Exploring Operation: 64-24=40, Resulting Numbers: [25, 40]
Generated Node #0,0,2: 15:[25, 40] Operation: 64-24=40
Moving to Node #0,2
Current State: 15:[75, 25, 35], Operations: ['99-64=35']
Exploring Operation: 75/25=3, Resulting Numbers: [35, 3]
Generated Node #0,2,0: 15:[35, 3] Operation: 75/25=3
Exploring Operation: 75-35=40, Resulting Numbers: [25, 40]
Generated Node #0,2,1: 15:[25, 40] Operation: 75-35=40
Exploring Operation: 75-25=50, Resulting Numbers: [35, 50]
Generated Node #0,2,2: 15:[35, 50] Operation: 75-25=50
Moving to Node #0,1
Current State: 15:[25, 99, 11], Operations: ['75-64=11']
Exploring Operation: 99/11=9, Resulting Numbers: [25, 9]
Generated Node #0,1,0: 15:[25, 9] Operation: 99/11=9
Exploring Operation: 99-11=88, Resulting Numbers: [25, 88]
Generated Node #0,1,1: 15:[25, 88] Operation: 99-11=88
Exploring Operation: 99-25=74, Resulting Numbers: [11, 74]
Generated Node #0,1,2: 15:[11, 74] Operation: 99-25=74
Moving to Node #0,1,0
Current State: 15:[25, 9], Operations: ['75-64=11', '99/11=9']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,15 unequal: No Solution
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[35, 3], Operations: ['99-64=35', '75/25=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[24, 39], Operations: ['99-75=24', '64-25=39']
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,15 unequal: No Solution
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,15 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[75, 64, 25, 99], Operations: []
Exploring Operation: 99-75=24, Resulting Numbers: [64, 25, 24]
Generated Node #0,0: 15:[64, 25, 24] Operation: 99-75=24
Moving to Node #0,0
Current State: 15:[64, 25, 24], Operations: ['99-75=24']
Exploring Operation: 64-25=39, Resulting Numbers: [24, 39]
Generated Node #0,0,0: 15:[24, 39] Operation: 64-25=39
Moving to Node #0,0,0
Current State: 15:[24, 39], Operations: ['99-75=24', '64-25=39']
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.978299 | hs_3 | mult_heuristic |
[
76,
90,
38,
28
] | 85 | [
"38-28=10",
"90/10=9",
"76+9=85"
] | Current State: 85:[76, 90, 38, 28], Operations: []
Exploring Operation: 38-28=10, Resulting Numbers: [76, 90, 10]
Generated Node #2: [76, 90, 10] from Operation: 38-28=10
Current State: 85:[76, 90, 10], Operations: ['38-28=10']
Exploring Operation: 90/10=9, Resulting Numbers: [76, 9]
Generated Node #3: [76, 9] from Operation: 90/10=9
Current State: 85:[76, 9], Operations: ['38-28=10', '90/10=9']
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[76, 90, 38, 28], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [90, 28, 2]
Generated Node #0,0: 85:[90, 28, 2] Operation: 76/38=2
Moving to Node #0,0
Current State: 85:[90, 28, 2], Operations: ['76/38=2']
Exploring Operation: 28/2=14, Resulting Numbers: [90, 14]
Generated Node #0,0,0: 85:[90, 14] Operation: 28/2=14
Moving to Node #0,0,0
Current State: 85:[90, 14], Operations: ['76/38=2', '28/2=14']
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,85 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
97,
95,
17,
94
] | 30 | [
"97-95=2",
"94/2=47",
"47-17=30"
] | Current State: 30:[97, 95, 17, 94], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [17, 94, 2]
Generated Node #2: [17, 94, 2] from Operation: 97-95=2
Current State: 30:[17, 94, 2], Operations: ['97-95=2']
Exploring Operation: 94/2=47, Resulting Numbers: [17, 47]
Generated Node #3: [17, 47] from Operation: 94/2=47
Current State: 30:[17, 47], Operations: ['97-95=2', '94/2=47']
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[97, 95, 17, 94], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [17, 94, 2]
Generated Node #0,0: 30:[17, 94, 2] Operation: 97-95=2
Exploring Operation: 97-94=3, Resulting Numbers: [95, 17, 3]
Generated Node #0,1: 30:[95, 17, 3] Operation: 97-94=3
Moving to Node #0,0
Current State: 30:[17, 94, 2], Operations: ['97-95=2']
Exploring Operation: 94/2=47, Resulting Numbers: [17, 47]
Generated Node #0,0,0: 30:[17, 47] Operation: 94/2=47
Exploring Operation: 94-17=77, Resulting Numbers: [2, 77]
Generated Node #0,0,1: 30:[2, 77] Operation: 94-17=77
Moving to Node #0,1
Current State: 30:[95, 17, 3], Operations: ['97-94=3']
Exploring Operation: 95-3=92, Resulting Numbers: [17, 92]
Generated Node #0,1,0: 30:[17, 92] Operation: 95-3=92
Exploring Operation: 95-17=78, Resulting Numbers: [3, 78]
Generated Node #0,1,1: 30:[3, 78] Operation: 95-17=78
Moving to Node #0,0,0
Current State: 30:[17, 47], Operations: ['97-95=2', '94/2=47']
Exploring Operation: 17+47=64, Resulting Numbers: [64]
64,30 unequal: No Solution
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[97, 95, 17, 94], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [17, 94, 2]
Generated Node #0,0: 30:[17, 94, 2] Operation: 97-95=2
Moving to Node #0,0
Current State: 30:[17, 94, 2], Operations: ['97-95=2']
Exploring Operation: 94/2=47, Resulting Numbers: [17, 47]
Generated Node #0,0,0: 30:[17, 47] Operation: 94/2=47
Moving to Node #0,0,0
Current State: 30:[17, 47], Operations: ['97-95=2', '94/2=47']
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
65,
75,
23,
14
] | 92 | [
"75-65=10",
"14-10=4",
"23*4=92"
] | Current State: 92:[65, 75, 23, 14], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [23, 14, 10]
Generated Node #2: [23, 14, 10] from Operation: 75-65=10
Current State: 92:[23, 14, 10], Operations: ['75-65=10']
Exploring Operation: 14-10=4, Resulting Numbers: [23, 4]
Generated Node #3: [23, 4] from Operation: 14-10=4
Current State: 92:[23, 4], Operations: ['75-65=10', '14-10=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[65, 75, 23, 14], Operations: []
Exploring Operation: 65-14=51, Resulting Numbers: [75, 23, 51]
Generated Node #0,0: 92:[75, 23, 51] Operation: 65-14=51
Exploring Operation: 75-65=10, Resulting Numbers: [23, 14, 10]
Generated Node #0,1: 92:[23, 14, 10] Operation: 75-65=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[23, 14, 10], Operations: ['75-65=10']
Exploring Operation: 14-10=4, Resulting Numbers: [23, 4]
Generated Node #0,1,0: 92:[23, 4] Operation: 14-10=4
Exploring Operation: 14+10=24, Resulting Numbers: [23, 24]
Generated Node #0,1,1: 92:[23, 24] Operation: 14+10=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[23, 4], Operations: ['75-65=10', '14-10=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[65, 75, 23, 14], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [23, 14, 10]
Generated Node #0,1: 92:[23, 14, 10] Operation: 75-65=10
Moving to Node #0,1
Current State: 92:[23, 14, 10], Operations: ['75-65=10']
Exploring Operation: 14-10=4, Resulting Numbers: [23, 4]
Generated Node #0,1,0: 92:[23, 4] Operation: 14-10=4
Moving to Node #0,1,0
Current State: 92:[23, 4], Operations: ['75-65=10', '14-10=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
66,
59,
36,
24
] | 66 | [
"59-36=23",
"24-23=1",
"66*1=66"
] | Current State: 66:[66, 59, 36, 24], Operations: []
Exploring Operation: 59-36=23, Resulting Numbers: [66, 24, 23]
Generated Node #2: [66, 24, 23] from Operation: 59-36=23
Current State: 66:[66, 24, 23], Operations: ['59-36=23']
Exploring Operation: 24-23=1, Resulting Numbers: [66, 1]
Generated Node #3: [66, 1] from Operation: 24-23=1
Current State: 66:[66, 1], Operations: ['59-36=23', '24-23=1']
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[66, 59, 36, 24], Operations: []
Exploring Operation: 59-24=35, Resulting Numbers: [66, 36, 35]
Generated Node #0,0: 66:[66, 36, 35] Operation: 59-24=35
Exploring Operation: 66-59=7, Resulting Numbers: [36, 24, 7]
Generated Node #0,1: 66:[36, 24, 7] Operation: 66-59=7
Exploring Operation: 66-36=30, Resulting Numbers: [59, 24, 30]
Generated Node #0,2: 66:[59, 24, 30] Operation: 66-36=30
Exploring Operation: 36-24=12, Resulting Numbers: [66, 59, 12]
Generated Node #0,3: 66:[66, 59, 12] Operation: 36-24=12
Exploring Operation: 59-36=23, Resulting Numbers: [66, 24, 23]
Generated Node #0,4: 66:[66, 24, 23] Operation: 59-36=23
Moving to Node #0,4
Current State: 66:[66, 24, 23], Operations: ['59-36=23']
Exploring Operation: 66-23=43, Resulting Numbers: [24, 43]
Generated Node #0,4,0: 66:[24, 43] Operation: 66-23=43
Exploring Operation: 24-23=1, Resulting Numbers: [66, 1]
Generated Node #0,4,1: 66:[66, 1] Operation: 24-23=1
Exploring Operation: 66+24=90, Resulting Numbers: [23, 90]
Generated Node #0,4,2: 66:[23, 90] Operation: 66+24=90
Exploring Operation: 66-24=42, Resulting Numbers: [23, 42]
Generated Node #0,4,3: 66:[23, 42] Operation: 66-24=42
Exploring Operation: 24+23=47, Resulting Numbers: [66, 47]
Generated Node #0,4,4: 66:[66, 47] Operation: 24+23=47
Moving to Node #0,0
Current State: 66:[66, 36, 35], Operations: ['59-24=35']
Exploring Operation: 66-35=31, Resulting Numbers: [36, 31]
Generated Node #0,0,0: 66:[36, 31] Operation: 66-35=31
Exploring Operation: 36+35=71, Resulting Numbers: [66, 71]
Generated Node #0,0,1: 66:[66, 71] Operation: 36+35=71
Exploring Operation: 66+36=102, Resulting Numbers: [35, 102]
Generated Node #0,0,2: 66:[35, 102] Operation: 66+36=102
Exploring Operation: 36-35=1, Resulting Numbers: [66, 1]
Generated Node #0,0,3: 66:[66, 1] Operation: 36-35=1
Exploring Operation: 66-36=30, Resulting Numbers: [35, 30]
Generated Node #0,0,4: 66:[35, 30] Operation: 66-36=30
Moving to Node #0,1
Current State: 66:[36, 24, 7], Operations: ['66-59=7']
Exploring Operation: 36-24=12, Resulting Numbers: [7, 12]
Generated Node #0,1,0: 66:[7, 12] Operation: 36-24=12
Exploring Operation: 24+7=31, Resulting Numbers: [36, 31]
Generated Node #0,1,1: 66:[36, 31] Operation: 24+7=31
Exploring Operation: 24-7=17, Resulting Numbers: [36, 17]
Generated Node #0,1,2: 66:[36, 17] Operation: 24-7=17
Exploring Operation: 36-7=29, Resulting Numbers: [24, 29]
Generated Node #0,1,3: 66:[24, 29] Operation: 36-7=29
Exploring Operation: 36+24=60, Resulting Numbers: [7, 60]
Generated Node #0,1,4: 66:[7, 60] Operation: 36+24=60
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[7, 12], Operations: ['66-59=7', '36-24=12']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,66 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[36, 31], Operations: ['66-59=7', '24+7=31']
Exploring Operation: 36*31=1116, Resulting Numbers: [1116]
1116,66 unequal: No Solution
Exploring Operation: 36+31=67, Resulting Numbers: [67]
67,66 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 66:[24, 29], Operations: ['66-59=7', '36-7=29']
Exploring Operation: 24*29=696, Resulting Numbers: [696]
696,66 unequal: No Solution
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 66:[7, 60], Operations: ['66-59=7', '36+24=60']
Exploring Operation: 7*60=420, Resulting Numbers: [420]
420,66 unequal: No Solution
Exploring Operation: 7+60=67, Resulting Numbers: [67]
67,66 unequal: No Solution
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[36, 17], Operations: ['66-59=7', '24-7=17']
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,66 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,66 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: 66:[66, 59, 12], Operations: ['36-24=12']
Exploring Operation: 59+12=71, Resulting Numbers: [66, 71]
Generated Node #0,3,0: 66:[66, 71] Operation: 59+12=71
Exploring Operation: 66+12=78, Resulting Numbers: [59, 78]
Generated Node #0,3,1: 66:[59, 78] Operation: 66+12=78
Exploring Operation: 66-59=7, Resulting Numbers: [12, 7]
Generated Node #0,3,2: 66:[12, 7] Operation: 66-59=7
Exploring Operation: 59-12=47, Resulting Numbers: [66, 47]
Generated Node #0,3,3: 66:[66, 47] Operation: 59-12=47
Exploring Operation: 66-12=54, Resulting Numbers: [59, 54]
Generated Node #0,3,4: 66:[59, 54] Operation: 66-12=54
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 66:[12, 7], Operations: ['36-24=12', '66-59=7']
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,66 unequal: No Solution
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 66:[66, 71], Operations: ['36-24=12', '59+12=71']
Exploring Operation: 66+71=137, Resulting Numbers: [137]
137,66 unequal: No Solution
Exploring Operation: 71-66=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 66*71=4686, Resulting Numbers: [4686]
4686,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 66:[66, 47], Operations: ['36-24=12', '59-12=47']
Exploring Operation: 66*47=3102, Resulting Numbers: [3102]
3102,66 unequal: No Solution
Exploring Operation: 66-47=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 66+47=113, Resulting Numbers: [113]
113,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 66:[59, 78], Operations: ['36-24=12', '66+12=78']
Exploring Operation: 59*78=4602, Resulting Numbers: [4602]
4602,66 unequal: No Solution
Exploring Operation: 78-59=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 59+78=137, Resulting Numbers: [137]
137,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 66:[59, 54], Operations: ['36-24=12', '66-12=54']
Exploring Operation: 59+54=113, Resulting Numbers: [113]
113,66 unequal: No Solution
Exploring Operation: 59*54=3186, Resulting Numbers: [3186]
3186,66 unequal: No Solution
Exploring Operation: 59-54=5, Resulting Numbers: [5]
5,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 66:[59, 24, 30], Operations: ['66-36=30']
Exploring Operation: 24+30=54, Resulting Numbers: [59, 54]
Generated Node #0,2,0: 66:[59, 54] Operation: 24+30=54
Exploring Operation: 59-24=35, Resulting Numbers: [30, 35]
Generated Node #0,2,1: 66:[30, 35] Operation: 59-24=35
Exploring Operation: 30-24=6, Resulting Numbers: [59, 6]
Generated Node #0,2,2: 66:[59, 6] Operation: 30-24=6
Exploring Operation: 59-30=29, Resulting Numbers: [24, 29]
Generated Node #0,2,3: 66:[24, 29] Operation: 59-30=29
Exploring Operation: 59+24=83, Resulting Numbers: [30, 83]
Generated Node #0,2,4: 66:[30, 83] Operation: 59+24=83
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 66:[30, 35], Operations: ['66-36=30', '59-24=35']
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 30*35=1050, Resulting Numbers: [1050]
1050,66 unequal: No Solution
Exploring Operation: 30+35=65, Resulting Numbers: [65]
65,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 66:[24, 29], Operations: ['66-36=30', '59-30=29']
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Exploring Operation: 24*29=696, Resulting Numbers: [696]
696,66 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 66:[59, 6], Operations: ['66-36=30', '30-24=6']
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Exploring Operation: 59*6=354, Resulting Numbers: [354]
354,66 unequal: No Solution
Exploring Operation: 59+6=65, Resulting Numbers: [65]
65,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 66:[59, 54], Operations: ['66-36=30', '24+30=54']
Exploring Operation: 59-54=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 59+54=113, Resulting Numbers: [113]
113,66 unequal: No Solution
Exploring Operation: 59*54=3186, Resulting Numbers: [3186]
3186,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 66:[30, 83], Operations: ['66-36=30', '59+24=83']
Exploring Operation: 30*83=2490, Resulting Numbers: [2490]
2490,66 unequal: No Solution
Exploring Operation: 83-30=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Exploring Operation: 30+83=113, Resulting Numbers: [113]
113,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,1
Current State: 66:[66, 1], Operations: ['59-36=23', '24-23=1']
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 66+1=67, Resulting Numbers: [67]
67,66 unequal: No Solution
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[66, 59, 36, 24], Operations: []
Exploring Operation: 59-36=23, Resulting Numbers: [66, 24, 23]
Generated Node #0,4: 66:[66, 24, 23] Operation: 59-36=23
Moving to Node #0,4
Current State: 66:[66, 24, 23], Operations: ['59-36=23']
Exploring Operation: 24-23=1, Resulting Numbers: [66, 1]
Generated Node #0,4,1: 66:[66, 1] Operation: 24-23=1
Moving to Node #0,4,1
Current State: 66:[66, 1], Operations: ['59-36=23', '24-23=1']
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 0.928819 | hs_5 | sum_heuristic |
[
71,
36,
33,
5
] | 28 | [
"71+36=107",
"33+107=140",
"140/5=28"
] | Current State: 28:[71, 36, 33, 5], Operations: []
Exploring Operation: 71+36=107, Resulting Numbers: [33, 5, 107]
Generated Node #2: [33, 5, 107] from Operation: 71+36=107
Current State: 28:[33, 5, 107], Operations: ['71+36=107']
Exploring Operation: 33+107=140, Resulting Numbers: [5, 140]
Generated Node #3: [5, 140] from Operation: 33+107=140
Current State: 28:[5, 140], Operations: ['71+36=107', '33+107=140']
Exploring Operation: 140/5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[71, 36, 33, 5], Operations: []
Exploring Operation: 71-33=38, Resulting Numbers: [36, 5, 38]
Generated Node #0,0: 28:[36, 5, 38] Operation: 71-33=38
Exploring Operation: 36-33=3, Resulting Numbers: [71, 5, 3]
Generated Node #0,1: 28:[71, 5, 3] Operation: 36-33=3
Exploring Operation: 71-36=35, Resulting Numbers: [33, 5, 35]
Generated Node #0,2: 28:[33, 5, 35] Operation: 71-36=35
Moving to Node #0,2
Current State: 28:[33, 5, 35], Operations: ['71-36=35']
Exploring Operation: 35-33=2, Resulting Numbers: [5, 2]
Generated Node #0,2,0: 28:[5, 2] Operation: 35-33=2
Exploring Operation: 33-5=28, Resulting Numbers: [35, 28]
Generated Node #0,2,1: 28:[35, 28] Operation: 33-5=28
Exploring Operation: 35/5=7, Resulting Numbers: [33, 7]
Generated Node #0,2,2: 28:[33, 7] Operation: 35/5=7
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 28:[5, 2], Operations: ['71-36=35', '35-33=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 28:[33, 7], Operations: ['71-36=35', '35/5=7']
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,28 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 28:[35, 28], Operations: ['71-36=35', '33-5=28']
Exploring Operation: 35*28=980, Resulting Numbers: [980]
980,28 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,28 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: 28:[36, 5, 38], Operations: ['71-33=38']
Exploring Operation: 36-5=31, Resulting Numbers: [38, 31]
Generated Node #0,0,0: 28:[38, 31] Operation: 36-5=31
Exploring Operation: 38-5=33, Resulting Numbers: [36, 33]
Generated Node #0,0,1: 28:[36, 33] Operation: 38-5=33
Exploring Operation: 38-36=2, Resulting Numbers: [5, 2]
Generated Node #0,0,2: 28:[5, 2] Operation: 38-36=2
Moving to Node #0,1
Current State: 28:[71, 5, 3], Operations: ['36-33=3']
Exploring Operation: 5-3=2, Resulting Numbers: [71, 2]
Generated Node #0,1,0: 28:[71, 2] Operation: 5-3=2
Exploring Operation: 71-5=66, Resulting Numbers: [3, 66]
Generated Node #0,1,1: 28:[3, 66] Operation: 71-5=66
Exploring Operation: 71-3=68, Resulting Numbers: [5, 68]
Generated Node #0,1,2: 28:[5, 68] Operation: 71-3=68
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[3, 66], Operations: ['36-33=3', '71-5=66']
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,28 unequal: No Solution
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[5, 68], Operations: ['36-33=3', '71-3=68']
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 5*68=340, Resulting Numbers: [340]
340,28 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[71, 2], Operations: ['36-33=3', '5-3=2']
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,28 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 28:[5, 2], Operations: ['71-33=38', '38-36=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[38, 31], Operations: ['71-33=38', '36-5=31']
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 38*31=1178, Resulting Numbers: [1178]
1178,28 unequal: No Solution
Exploring Operation: 38+31=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[36, 33], Operations: ['71-33=38', '38-5=33']
Exploring Operation: 36+33=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 36*33=1188, Resulting Numbers: [1188]
1188,28 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,28 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
62,
69,
26,
63
] | 30 | [
"69-62=7",
"63-26=37",
"37-7=30"
] | Current State: 30:[62, 69, 26, 63], Operations: []
Exploring Operation: 69-62=7, Resulting Numbers: [26, 63, 7]
Generated Node #2: [26, 63, 7] from Operation: 69-62=7
Current State: 30:[26, 63, 7], Operations: ['69-62=7']
Exploring Operation: 63-26=37, Resulting Numbers: [7, 37]
Generated Node #3: [7, 37] from Operation: 63-26=37
Current State: 30:[7, 37], Operations: ['69-62=7', '63-26=37']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[62, 69, 26, 63], Operations: []
Exploring Operation: 63-62=1, Resulting Numbers: [69, 26, 1]
Generated Node #0,0: 30:[69, 26, 1] Operation: 63-62=1
Exploring Operation: 69-62=7, Resulting Numbers: [26, 63, 7]
Generated Node #0,1: 30:[26, 63, 7] Operation: 69-62=7
Exploring Operation: 69-63=6, Resulting Numbers: [62, 26, 6]
Generated Node #0,2: 30:[62, 26, 6] Operation: 69-63=6
Exploring Operation: 62-26=36, Resulting Numbers: [69, 63, 36]
Generated Node #0,3: 30:[69, 63, 36] Operation: 62-26=36
Exploring Operation: 69-26=43, Resulting Numbers: [62, 63, 43]
Generated Node #0,4: 30:[62, 63, 43] Operation: 69-26=43
Moving to Node #0,2
Current State: 30:[62, 26, 6], Operations: ['69-63=6']
Exploring Operation: 26-6=20, Resulting Numbers: [62, 20]
Generated Node #0,2,0: 30:[62, 20] Operation: 26-6=20
Exploring Operation: 62-6=56, Resulting Numbers: [26, 56]
Generated Node #0,2,1: 30:[26, 56] Operation: 62-6=56
Exploring Operation: 62+6=68, Resulting Numbers: [26, 68]
Generated Node #0,2,2: 30:[26, 68] Operation: 62+6=68
Exploring Operation: 26+6=32, Resulting Numbers: [62, 32]
Generated Node #0,2,3: 30:[62, 32] Operation: 26+6=32
Exploring Operation: 62-26=36, Resulting Numbers: [6, 36]
Generated Node #0,2,4: 30:[6, 36] Operation: 62-26=36
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 30:[6, 36], Operations: ['69-63=6', '62-26=36']
Exploring Operation: 6*36=216, Resulting Numbers: [216]
216,30 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[62, 69, 26, 63], Operations: []
Exploring Operation: 69-63=6, Resulting Numbers: [62, 26, 6]
Generated Node #0,2: 30:[62, 26, 6] Operation: 69-63=6
Moving to Node #0,2
Current State: 30:[62, 26, 6], Operations: ['69-63=6']
Exploring Operation: 62-26=36, Resulting Numbers: [6, 36]
Generated Node #0,2,4: 30:[6, 36] Operation: 62-26=36
Moving to Node #0,2,4
Current State: 30:[6, 36], Operations: ['69-63=6', '62-26=36']
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
15,
47,
75,
13
] | 29 | [
"75/15=5",
"47-13=34",
"34-5=29"
] | Current State: 29:[15, 47, 75, 13], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [47, 13, 5]
Generated Node #2: [47, 13, 5] from Operation: 75/15=5
Current State: 29:[47, 13, 5], Operations: ['75/15=5']
Exploring Operation: 47-13=34, Resulting Numbers: [5, 34]
Generated Node #3: [5, 34] from Operation: 47-13=34
Current State: 29:[5, 34], Operations: ['75/15=5', '47-13=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[15, 47, 75, 13], Operations: []
Exploring Operation: 75-47=28, Resulting Numbers: [15, 13, 28]
Generated Node #0,0: 29:[15, 13, 28] Operation: 75-47=28
Exploring Operation: 75/15=5, Resulting Numbers: [47, 13, 5]
Generated Node #0,1: 29:[47, 13, 5] Operation: 75/15=5
Exploring Operation: 47-15=32, Resulting Numbers: [75, 13, 32]
Generated Node #0,2: 29:[75, 13, 32] Operation: 47-15=32
Exploring Operation: 15+13=28, Resulting Numbers: [47, 75, 28]
Generated Node #0,3: 29:[47, 75, 28] Operation: 15+13=28
Exploring Operation: 75-15=60, Resulting Numbers: [47, 13, 60]
Generated Node #0,4: 29:[47, 13, 60] Operation: 75-15=60
Moving to Node #0,0
Current State: 29:[15, 13, 28], Operations: ['75-47=28']
Exploring Operation: 15-13=2, Resulting Numbers: [28, 2]
Generated Node #0,0,0: 29:[28, 2] Operation: 15-13=2
Exploring Operation: 13+28=41, Resulting Numbers: [15, 41]
Generated Node #0,0,1: 29:[15, 41] Operation: 13+28=41
Exploring Operation: 28-13=15, Resulting Numbers: [15, 15]
Generated Node #0,0,2: 29:[15, 15] Operation: 28-13=15
Exploring Operation: 15+28=43, Resulting Numbers: [13, 43]
Generated Node #0,0,3: 29:[13, 43] Operation: 15+28=43
Exploring Operation: 15+13=28, Resulting Numbers: [28, 28]
Generated Node #0,0,4: 29:[28, 28] Operation: 15+13=28
Moving to Node #0,1
Current State: 29:[47, 13, 5], Operations: ['75/15=5']
Exploring Operation: 13-5=8, Resulting Numbers: [47, 8]
Generated Node #0,1,0: 29:[47, 8] Operation: 13-5=8
Exploring Operation: 13+5=18, Resulting Numbers: [47, 18]
Generated Node #0,1,1: 29:[47, 18] Operation: 13+5=18
Exploring Operation: 47-5=42, Resulting Numbers: [13, 42]
Generated Node #0,1,2: 29:[13, 42] Operation: 47-5=42
Exploring Operation: 47+5=52, Resulting Numbers: [13, 52]
Generated Node #0,1,3: 29:[13, 52] Operation: 47+5=52
Exploring Operation: 47-13=34, Resulting Numbers: [5, 34]
Generated Node #0,1,4: 29:[5, 34] Operation: 47-13=34
Moving to Node #0,2
Current State: 29:[75, 13, 32], Operations: ['47-15=32']
Exploring Operation: 75-13=62, Resulting Numbers: [32, 62]
Generated Node #0,2,0: 29:[32, 62] Operation: 75-13=62
Exploring Operation: 13+32=45, Resulting Numbers: [75, 45]
Generated Node #0,2,1: 29:[75, 45] Operation: 13+32=45
Exploring Operation: 75-32=43, Resulting Numbers: [13, 43]
Generated Node #0,2,2: 29:[13, 43] Operation: 75-32=43
Exploring Operation: 75+13=88, Resulting Numbers: [32, 88]
Generated Node #0,2,3: 29:[32, 88] Operation: 75+13=88
Exploring Operation: 32-13=19, Resulting Numbers: [75, 19]
Generated Node #0,2,4: 29:[75, 19] Operation: 32-13=19
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 29:[13, 43], Operations: ['47-15=32', '75-32=43']
Exploring Operation: 13+43=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 13*43=559, Resulting Numbers: [559]
559,29 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 29:[32, 62], Operations: ['47-15=32', '75-13=62']
Exploring Operation: 32+62=94, Resulting Numbers: [94]
94,29 unequal: No Solution
Exploring Operation: 32*62=1984, Resulting Numbers: [1984]
1984,29 unequal: No Solution
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 29:[75, 19], Operations: ['47-15=32', '32-13=19']
Exploring Operation: 75-19=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 75+19=94, Resulting Numbers: [94]
94,29 unequal: No Solution
Exploring Operation: 75*19=1425, Resulting Numbers: [1425]
1425,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 29:[75, 45], Operations: ['47-15=32', '13+32=45']
Exploring Operation: 75-45=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 75*45=3375, Resulting Numbers: [3375]
3375,29 unequal: No Solution
Exploring Operation: 75+45=120, Resulting Numbers: [120]
120,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 29:[32, 88], Operations: ['47-15=32', '75+13=88']
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 32*88=2816, Resulting Numbers: [2816]
2816,29 unequal: No Solution
Exploring Operation: 32+88=120, Resulting Numbers: [120]
120,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:[47, 75, 28], Operations: ['15+13=28']
Exploring Operation: 75-28=47, Resulting Numbers: [47, 47]
Generated Node #0,3,0: 29:[47, 47] Operation: 75-28=47
Exploring Operation: 47-28=19, Resulting Numbers: [75, 19]
Generated Node #0,3,1: 29:[75, 19] Operation: 47-28=19
Exploring Operation: 75+28=103, Resulting Numbers: [47, 103]
Generated Node #0,3,2: 29:[47, 103] Operation: 75+28=103
Exploring Operation: 47+28=75, Resulting Numbers: [75, 75]
Generated Node #0,3,3: 29:[75, 75] Operation: 47+28=75
Exploring Operation: 75-47=28, Resulting Numbers: [28, 28]
Generated Node #0,3,4: 29:[28, 28] Operation: 75-47=28
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 29:[28, 28], Operations: ['15+13=28', '75-47=28']
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 28*28=784, Resulting Numbers: [784]
784,29 unequal: No Solution
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,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:[47, 47], Operations: ['15+13=28', '75-28=47']
Exploring Operation: 47-47=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 47*47=2209, Resulting Numbers: [2209]
2209,29 unequal: No Solution
Exploring Operation: 47/47=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,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,1
Current State: 29:[75, 19], Operations: ['15+13=28', '47-28=19']
Exploring Operation: 75*19=1425, Resulting Numbers: [1425]
1425,29 unequal: No Solution
Exploring Operation: 75-19=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 75+19=94, Resulting Numbers: [94]
94,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:[47, 103], Operations: ['15+13=28', '75+28=103']
Exploring Operation: 47+103=150, Resulting Numbers: [150]
150,29 unequal: No Solution
Exploring Operation: 47*103=4841, Resulting Numbers: [4841]
4841,29 unequal: No Solution
Exploring Operation: 103-47=56, Resulting Numbers: [56]
56,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:[75, 75], Operations: ['15+13=28', '47+28=75']
Exploring Operation: 75+75=150, Resulting Numbers: [150]
150,29 unequal: No Solution
Exploring Operation: 75-75=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 75/75=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 75*75=5625, Resulting Numbers: [5625]
5625,29 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: 29:[47, 13, 60], Operations: ['75-15=60']
Exploring Operation: 47+13=60, Resulting Numbers: [60, 60]
Generated Node #0,4,0: 29:[60, 60] Operation: 47+13=60
Exploring Operation: 60-13=47, Resulting Numbers: [47, 47]
Generated Node #0,4,1: 29:[47, 47] Operation: 60-13=47
Exploring Operation: 60-47=13, Resulting Numbers: [13, 13]
Generated Node #0,4,2: 29:[13, 13] Operation: 60-47=13
Exploring Operation: 13+60=73, Resulting Numbers: [47, 73]
Generated Node #0,4,3: 29:[47, 73] Operation: 13+60=73
Exploring Operation: 47-13=34, Resulting Numbers: [60, 34]
Generated Node #0,4,4: 29:[60, 34] Operation: 47-13=34
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 29:[13, 13], Operations: ['75-15=60', '60-47=13']
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 13*13=169, Resulting Numbers: [169]
169,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,4,1
Current State: 29:[47, 47], Operations: ['75-15=60', '60-13=47']
Exploring Operation: 47*47=2209, Resulting Numbers: [2209]
2209,29 unequal: No Solution
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,29 unequal: No Solution
Exploring Operation: 47/47=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 47-47=0, Resulting Numbers: [0]
0,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,4,4
Current State: 29:[60, 34], Operations: ['75-15=60', '47-13=34']
Exploring Operation: 60+34=94, Resulting Numbers: [94]
94,29 unequal: No Solution
Exploring Operation: 60*34=2040, Resulting Numbers: [2040]
2040,29 unequal: No Solution
Exploring Operation: 60-34=26, Resulting Numbers: [26]
26,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,4,0
Current State: 29:[60, 60], Operations: ['75-15=60', '47+13=60']
Exploring Operation: 60/60=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 60-60=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 60+60=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 60*60=3600, Resulting Numbers: [3600]
3600,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,4,3
Current State: 29:[47, 73], Operations: ['75-15=60', '13+60=73']
Exploring Operation: 47*73=3431, Resulting Numbers: [3431]
3431,29 unequal: No Solution
Exploring Operation: 47+73=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 73-47=26, Resulting Numbers: [26]
26,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 29:[28, 28], Operations: ['75-47=28', '15+13=28']
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 28*28=784, Resulting Numbers: [784]
784,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[15, 41], Operations: ['75-47=28', '13+28=41']
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 15*41=615, Resulting Numbers: [615]
615,29 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[28, 2], Operations: ['75-47=28', '15-13=2']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[15, 15], Operations: ['75-47=28', '28-13=15']
Exploring Operation: 15*15=225, Resulting Numbers: [225]
225,29 unequal: No Solution
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 15-15=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[13, 42], Operations: ['75/15=5', '47-5=42']
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,29 unequal: No Solution
Exploring Operation: 13*42=546, Resulting Numbers: [546]
546,29 unequal: No Solution
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[15, 47, 75, 13], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [47, 13, 5]
Generated Node #0,1: 29:[47, 13, 5] Operation: 75/15=5
Moving to Node #0,1
Current State: 29:[47, 13, 5], Operations: ['75/15=5']
Exploring Operation: 47-5=42, Resulting Numbers: [13, 42]
Generated Node #0,1,2: 29:[13, 42] Operation: 47-5=42
Moving to Node #0,1,2
Current State: 29:[13, 42], Operations: ['75/15=5', '47-5=42']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 0.91059 | hs_5 | mult_heuristic |
[
29,
33,
55,
91
] | 26 | [
"29+33=62",
"91-55=36",
"62-36=26"
] | Current State: 26:[29, 33, 55, 91], Operations: []
Exploring Operation: 29+33=62, Resulting Numbers: [55, 91, 62]
Generated Node #2: [55, 91, 62] from Operation: 29+33=62
Current State: 26:[55, 91, 62], Operations: ['29+33=62']
Exploring Operation: 91-55=36, Resulting Numbers: [62, 36]
Generated Node #3: [62, 36] from Operation: 91-55=36
Current State: 26:[62, 36], Operations: ['29+33=62', '91-55=36']
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[29, 33, 55, 91], Operations: []
Exploring Operation: 91-55=36, Resulting Numbers: [29, 33, 36]
Generated Node #0,0: 26:[29, 33, 36] Operation: 91-55=36
Exploring Operation: 55-29=26, Resulting Numbers: [33, 91, 26]
Generated Node #0,1: 26:[33, 91, 26] Operation: 55-29=26
Exploring Operation: 91-33=58, Resulting Numbers: [29, 55, 58]
Generated Node #0,2: 26:[29, 55, 58] Operation: 91-33=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[29, 33, 36], Operations: ['91-55=36']
Exploring Operation: 36-29=7, Resulting Numbers: [33, 7]
Generated Node #0,0,0: 26:[33, 7] Operation: 36-29=7
Exploring Operation: 33-29=4, Resulting Numbers: [36, 4]
Generated Node #0,0,1: 26:[36, 4] Operation: 33-29=4
Exploring Operation: 36-33=3, Resulting Numbers: [29, 3]
Generated Node #0,0,2: 26:[29, 3] Operation: 36-33=3
Moving to Node #0,0,2
Current State: 26:[29, 3], Operations: ['91-55=36', '36-33=3']
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[29, 33, 55, 91], Operations: []
Exploring Operation: 91-55=36, Resulting Numbers: [29, 33, 36]
Generated Node #0,0: 26:[29, 33, 36] Operation: 91-55=36
Moving to Node #0,0
Current State: 26:[29, 33, 36], Operations: ['91-55=36']
Exploring Operation: 36-33=3, Resulting Numbers: [29, 3]
Generated Node #0,0,2: 26:[29, 3] Operation: 36-33=3
Moving to Node #0,0,2
Current State: 26:[29, 3], Operations: ['91-55=36', '36-33=3']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
79,
30,
46,
40
] | 84 | [
"46-40=6",
"30/6=5",
"79+5=84"
] | Current State: 84:[79, 30, 46, 40], Operations: []
Exploring Operation: 46-40=6, Resulting Numbers: [79, 30, 6]
Generated Node #2: [79, 30, 6] from Operation: 46-40=6
Current State: 84:[79, 30, 6], Operations: ['46-40=6']
Exploring Operation: 30/6=5, Resulting Numbers: [79, 5]
Generated Node #3: [79, 5] from Operation: 30/6=5
Current State: 84:[79, 5], Operations: ['46-40=6', '30/6=5']
Exploring Operation: 79+5=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[79, 30, 46, 40], Operations: []
Exploring Operation: 46-40=6, Resulting Numbers: [79, 30, 6]
Generated Node #0,0: 84:[79, 30, 6] Operation: 46-40=6
Exploring Operation: 79-40=39, Resulting Numbers: [30, 46, 39]
Generated Node #0,1: 84:[30, 46, 39] Operation: 79-40=39
Exploring Operation: 79-46=33, Resulting Numbers: [30, 40, 33]
Generated Node #0,2: 84:[30, 40, 33] Operation: 79-46=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[79, 30, 6], Operations: ['46-40=6']
Exploring Operation: 79-30=49, Resulting Numbers: [6, 49]
Generated Node #0,0,0: 84:[6, 49] Operation: 79-30=49
Exploring Operation: 79+6=85, Resulting Numbers: [30, 85]
Generated Node #0,0,1: 84:[30, 85] Operation: 79+6=85
Exploring Operation: 30/6=5, Resulting Numbers: [79, 5]
Generated Node #0,0,2: 84:[79, 5] Operation: 30/6=5
Moving to Node #0,0,1
Current State: 84:[30, 85], Operations: ['46-40=6', '79+6=85']
Exploring Operation: 85-30=55, Resulting Numbers: [55]
55,84 unequal: No Solution
Exploring Operation: 30+85=115, Resulting Numbers: [115]
115,84 unequal: No Solution
Exploring Operation: 30*85=2550, Resulting Numbers: [2550]
2550,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[79, 5], Operations: ['46-40=6', '30/6=5']
Exploring Operation: 79+5=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[79, 30, 46, 40], Operations: []
Exploring Operation: 46-40=6, Resulting Numbers: [79, 30, 6]
Generated Node #0,0: 84:[79, 30, 6] Operation: 46-40=6
Moving to Node #0,0
Current State: 84:[79, 30, 6], Operations: ['46-40=6']
Exploring Operation: 30/6=5, Resulting Numbers: [79, 5]
Generated Node #0,0,2: 84:[79, 5] Operation: 30/6=5
Moving to Node #0,0,2
Current State: 84:[79, 5], Operations: ['46-40=6', '30/6=5']
Exploring Operation: 79+5=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
5,
75,
22,
41
] | 51 | [
"75-5=70",
"41-22=19",
"70-19=51"
] | Current State: 51:[5, 75, 22, 41], Operations: []
Exploring Operation: 75-5=70, Resulting Numbers: [22, 41, 70]
Generated Node #2: [22, 41, 70] from Operation: 75-5=70
Current State: 51:[22, 41, 70], Operations: ['75-5=70']
Exploring Operation: 41-22=19, Resulting Numbers: [70, 19]
Generated Node #3: [70, 19] from Operation: 41-22=19
Current State: 51:[70, 19], Operations: ['75-5=70', '41-22=19']
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[5, 75, 22, 41], Operations: []
Exploring Operation: 75-22=53, Resulting Numbers: [5, 41, 53]
Generated Node #0,0: 51:[5, 41, 53] Operation: 75-22=53
Exploring Operation: 75/5=15, Resulting Numbers: [22, 41, 15]
Generated Node #0,1: 51:[22, 41, 15] Operation: 75/5=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[5, 41, 53], Operations: ['75-22=53']
Exploring Operation: 5+41=46, Resulting Numbers: [53, 46]
Generated Node #0,0,0: 51:[53, 46] Operation: 5+41=46
Exploring Operation: 53-41=12, Resulting Numbers: [5, 12]
Generated Node #0,0,1: 51:[5, 12] Operation: 53-41=12
Moving to Node #0,0,0
Current State: 51:[53, 46], Operations: ['75-22=53', '5+41=46']
Exploring Operation: 53+46=99, Resulting Numbers: [99]
99,51 unequal: No Solution
Exploring Operation: 53-46=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[5, 12], Operations: ['75-22=53', '53-41=12']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,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,1
Current State: 51:[22, 41, 15], Operations: ['75/5=15']
Exploring Operation: 41-22=19, Resulting Numbers: [15, 19]
Generated Node #0,1,0: 51:[15, 19] Operation: 41-22=19
Exploring Operation: 41+15=56, Resulting Numbers: [22, 56]
Generated Node #0,1,1: 51:[22, 56] Operation: 41+15=56
Moving to Node #0,1,0
Current State: 51:[15, 19], Operations: ['75/5=15', '41-22=19']
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[22, 56], Operations: ['75/5=15', '41+15=56']
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 22+56=78, Resulting Numbers: [78]
78,51 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 |
[
43,
17,
51,
50
] | 10 | [
"50-43=7",
"51/17=3",
"7+3=10"
] | Current State: 10:[43, 17, 51, 50], Operations: []
Exploring Operation: 50-43=7, Resulting Numbers: [17, 51, 7]
Generated Node #2: [17, 51, 7] from Operation: 50-43=7
Current State: 10:[17, 51, 7], Operations: ['50-43=7']
Exploring Operation: 51/17=3, Resulting Numbers: [7, 3]
Generated Node #3: [7, 3] from Operation: 51/17=3
Current State: 10:[7, 3], Operations: ['50-43=7', '51/17=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[43, 17, 51, 50], Operations: []
Exploring Operation: 51/17=3, Resulting Numbers: [43, 50, 3]
Generated Node #0,0: 10:[43, 50, 3] Operation: 51/17=3
Exploring Operation: 50-43=7, Resulting Numbers: [17, 51, 7]
Generated Node #0,1: 10:[17, 51, 7] Operation: 50-43=7
Exploring Operation: 51-43=8, Resulting Numbers: [17, 50, 8]
Generated Node #0,2: 10:[17, 50, 8] Operation: 51-43=8
Exploring Operation: 51-50=1, Resulting Numbers: [43, 17, 1]
Generated Node #0,3: 10:[43, 17, 1] Operation: 51-50=1
Moving to Node #0,3
Current State: 10:[43, 17, 1], Operations: ['51-50=1']
Exploring Operation: 43-1=42, Resulting Numbers: [17, 42]
Generated Node #0,3,0: 10:[17, 42] Operation: 43-1=42
Exploring Operation: 43*1=43, Resulting Numbers: [17, 43]
Generated Node #0,3,1: 10:[17, 43] Operation: 43*1=43
Exploring Operation: 43-17=26, Resulting Numbers: [1, 26]
Generated Node #0,3,2: 10:[1, 26] Operation: 43-17=26
Exploring Operation: 17-1=16, Resulting Numbers: [43, 16]
Generated Node #0,3,3: 10:[43, 16] Operation: 17-1=16
Moving to Node #0,2
Current State: 10:[17, 50, 8], Operations: ['51-43=8']
Exploring Operation: 50-8=42, Resulting Numbers: [17, 42]
Generated Node #0,2,0: 10:[17, 42] Operation: 50-8=42
Exploring Operation: 17+8=25, Resulting Numbers: [50, 25]
Generated Node #0,2,1: 10:[50, 25] Operation: 17+8=25
Exploring Operation: 50-17=33, Resulting Numbers: [8, 33]
Generated Node #0,2,2: 10:[8, 33] Operation: 50-17=33
Exploring Operation: 17-8=9, Resulting Numbers: [50, 9]
Generated Node #0,2,3: 10:[50, 9] Operation: 17-8=9
Moving to Node #0,1
Current State: 10:[17, 51, 7], Operations: ['50-43=7']
Exploring Operation: 51/17=3, Resulting Numbers: [7, 3]
Generated Node #0,1,0: 10:[7, 3] Operation: 51/17=3
Exploring Operation: 17-7=10, Resulting Numbers: [51, 10]
Generated Node #0,1,1: 10:[51, 10] Operation: 17-7=10
Exploring Operation: 51-7=44, Resulting Numbers: [17, 44]
Generated Node #0,1,2: 10:[17, 44] Operation: 51-7=44
Exploring Operation: 51-17=34, Resulting Numbers: [7, 34]
Generated Node #0,1,3: 10:[7, 34] Operation: 51-17=34
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[7, 3], Operations: ['50-43=7', '51/17=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[43, 17, 51, 50], Operations: []
Exploring Operation: 50-43=7, Resulting Numbers: [17, 51, 7]
Generated Node #0,1: 10:[17, 51, 7] Operation: 50-43=7
Moving to Node #0,1
Current State: 10:[17, 51, 7], Operations: ['50-43=7']
Exploring Operation: 51/17=3, Resulting Numbers: [7, 3]
Generated Node #0,1,0: 10:[7, 3] Operation: 51/17=3
Moving to Node #0,1,0
Current State: 10:[7, 3], Operations: ['50-43=7', '51/17=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
9,
23,
77,
67
] | 42 | [
"9+23=32",
"77-67=10",
"32+10=42"
] | Current State: 42:[9, 23, 77, 67], Operations: []
Exploring Operation: 9+23=32, Resulting Numbers: [77, 67, 32]
Generated Node #2: [77, 67, 32] from Operation: 9+23=32
Current State: 42:[77, 67, 32], Operations: ['9+23=32']
Exploring Operation: 77-67=10, Resulting Numbers: [32, 10]
Generated Node #3: [32, 10] from Operation: 77-67=10
Current State: 42:[32, 10], Operations: ['9+23=32', '77-67=10']
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[9, 23, 77, 67], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [9, 23, 10]
Generated Node #0,0: 42:[9, 23, 10] Operation: 77-67=10
Exploring Operation: 67-9=58, Resulting Numbers: [23, 77, 58]
Generated Node #0,1: 42:[23, 77, 58] Operation: 67-9=58
Exploring Operation: 67-23=44, Resulting Numbers: [9, 77, 44]
Generated Node #0,2: 42:[9, 77, 44] Operation: 67-23=44
Exploring Operation: 77-9=68, Resulting Numbers: [23, 67, 68]
Generated Node #0,3: 42:[23, 67, 68] Operation: 77-9=68
Exploring Operation: 77-23=54, Resulting Numbers: [9, 67, 54]
Generated Node #0,4: 42:[9, 67, 54] Operation: 77-23=54
Moving to Node #0,0
Current State: 42:[9, 23, 10], Operations: ['77-67=10']
Exploring Operation: 23-9=14, Resulting Numbers: [10, 14]
Generated Node #0,0,0: 42:[10, 14] Operation: 23-9=14
Exploring Operation: 23+10=33, Resulting Numbers: [9, 33]
Generated Node #0,0,1: 42:[9, 33] Operation: 23+10=33
Exploring Operation: 23-10=13, Resulting Numbers: [9, 13]
Generated Node #0,0,2: 42:[9, 13] Operation: 23-10=13
Exploring Operation: 9+10=19, Resulting Numbers: [23, 19]
Generated Node #0,0,3: 42:[23, 19] Operation: 9+10=19
Exploring Operation: 10-9=1, Resulting Numbers: [23, 1]
Generated Node #0,0,4: 42:[23, 1] Operation: 10-9=1
Moving to Node #0,4
Current State: 42:[9, 67, 54], Operations: ['77-23=54']
Exploring Operation: 67-54=13, Resulting Numbers: [9, 13]
Generated Node #0,4,0: 42:[9, 13] Operation: 67-54=13
Exploring Operation: 9+67=76, Resulting Numbers: [54, 76]
Generated Node #0,4,1: 42:[54, 76] Operation: 9+67=76
Exploring Operation: 67-9=58, Resulting Numbers: [54, 58]
Generated Node #0,4,2: 42:[54, 58] Operation: 67-9=58
Exploring Operation: 54/9=6, Resulting Numbers: [67, 6]
Generated Node #0,4,3: 42:[67, 6] Operation: 54/9=6
Exploring Operation: 54-9=45, Resulting Numbers: [67, 45]
Generated Node #0,4,4: 42:[67, 45] Operation: 54-9=45
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 42:[9, 13], Operations: ['77-23=54', '67-54=13']
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,42 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,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,4,3
Current State: 42:[67, 6], Operations: ['77-23=54', '54/9=6']
Exploring Operation: 67+6=73, Resulting Numbers: [73]
73,42 unequal: No Solution
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,42 unequal: No Solution
Exploring Operation: 67*6=402, Resulting Numbers: [402]
402,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,4,2
Current State: 42:[54, 58], Operations: ['77-23=54', '67-9=58']
Exploring Operation: 58-54=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 54+58=112, Resulting Numbers: [112]
112,42 unequal: No Solution
Exploring Operation: 54*58=3132, Resulting Numbers: [3132]
3132,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,4,4
Current State: 42:[67, 45], Operations: ['77-23=54', '54-9=45']
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 67+45=112, Resulting Numbers: [112]
112,42 unequal: No Solution
Exploring Operation: 67*45=3015, Resulting Numbers: [3015]
3015,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,4,1
Current State: 42:[54, 76], Operations: ['77-23=54', '9+67=76']
Exploring Operation: 76-54=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 54*76=4104, Resulting Numbers: [4104]
4104,42 unequal: No Solution
Exploring Operation: 54+76=130, Resulting Numbers: [130]
130,42 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: 42:[9, 77, 44], Operations: ['67-23=44']
Exploring Operation: 9+77=86, Resulting Numbers: [44, 86]
Generated Node #0,2,0: 42:[44, 86] Operation: 9+77=86
Exploring Operation: 44-9=35, Resulting Numbers: [77, 35]
Generated Node #0,2,1: 42:[77, 35] Operation: 44-9=35
Exploring Operation: 77-44=33, Resulting Numbers: [9, 33]
Generated Node #0,2,2: 42:[9, 33] Operation: 77-44=33
Exploring Operation: 77-9=68, Resulting Numbers: [44, 68]
Generated Node #0,2,3: 42:[44, 68] Operation: 77-9=68
Exploring Operation: 9+44=53, Resulting Numbers: [77, 53]
Generated Node #0,2,4: 42:[77, 53] Operation: 9+44=53
Moving to Node #0,1
Current State: 42:[23, 77, 58], Operations: ['67-9=58']
Exploring Operation: 23+58=81, Resulting Numbers: [77, 81]
Generated Node #0,1,0: 42:[77, 81] Operation: 23+58=81
Exploring Operation: 77-58=19, Resulting Numbers: [23, 19]
Generated Node #0,1,1: 42:[23, 19] Operation: 77-58=19
Exploring Operation: 23+77=100, Resulting Numbers: [58, 100]
Generated Node #0,1,2: 42:[58, 100] Operation: 23+77=100
Exploring Operation: 77-23=54, Resulting Numbers: [58, 54]
Generated Node #0,1,3: 42:[58, 54] Operation: 77-23=54
Exploring Operation: 58-23=35, Resulting Numbers: [77, 35]
Generated Node #0,1,4: 42:[77, 35] Operation: 58-23=35
Moving to Node #0,3
Current State: 42:[23, 67, 68], Operations: ['77-9=68']
Exploring Operation: 68-23=45, Resulting Numbers: [67, 45]
Generated Node #0,3,0: 42:[67, 45] Operation: 68-23=45
Exploring Operation: 68-67=1, Resulting Numbers: [23, 1]
Generated Node #0,3,1: 42:[23, 1] Operation: 68-67=1
Exploring Operation: 67-23=44, Resulting Numbers: [68, 44]
Generated Node #0,3,2: 42:[68, 44] Operation: 67-23=44
Exploring Operation: 23+68=91, Resulting Numbers: [67, 91]
Generated Node #0,3,3: 42:[67, 91] Operation: 23+68=91
Exploring Operation: 23+67=90, Resulting Numbers: [68, 90]
Generated Node #0,3,4: 42:[68, 90] Operation: 23+67=90
Moving to Node #0,0,0
Current State: 42:[10, 14], Operations: ['77-67=10', '23-9=14']
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,42 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,42 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Moving to Node #0,0,4
Current State: 42:[23, 1], Operations: ['77-67=10', '10-9=1']
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[9, 13], Operations: ['77-67=10', '23-10=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,42 unequal: No Solution
Moving to Node #0,3,1
Current State: 42:[23, 1], Operations: ['77-9=68', '68-67=1']
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,42 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[23, 19], Operations: ['67-9=58', '77-58=19']
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[9, 23, 77, 67], Operations: []
Exploring Operation: 67-9=58, Resulting Numbers: [23, 77, 58]
Generated Node #0,1: 42:[23, 77, 58] Operation: 67-9=58
Moving to Node #0,1
Current State: 42:[23, 77, 58], Operations: ['67-9=58']
Exploring Operation: 77-58=19, Resulting Numbers: [23, 19]
Generated Node #0,1,1: 42:[23, 19] Operation: 77-58=19
Moving to Node #0,1,1
Current State: 42:[23, 19], Operations: ['67-9=58', '77-58=19']
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.944444 | hs_5 | mult_heuristic |
[
72,
32,
36,
50
] | 88 | [
"72-50=22",
"36-32=4",
"22*4=88"
] | Current State: 88:[72, 32, 36, 50], Operations: []
Exploring Operation: 72-50=22, Resulting Numbers: [32, 36, 22]
Generated Node #2: [32, 36, 22] from Operation: 72-50=22
Current State: 88:[32, 36, 22], Operations: ['72-50=22']
Exploring Operation: 36-32=4, Resulting Numbers: [22, 4]
Generated Node #3: [22, 4] from Operation: 36-32=4
Current State: 88:[22, 4], Operations: ['72-50=22', '36-32=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[72, 32, 36, 50], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [32, 50, 2]
Generated Node #0,0: 88:[32, 50, 2] Operation: 72/36=2
Exploring Operation: 72-32=40, Resulting Numbers: [36, 50, 40]
Generated Node #0,1: 88:[36, 50, 40] Operation: 72-32=40
Exploring Operation: 72-50=22, Resulting Numbers: [32, 36, 22]
Generated Node #0,2: 88:[32, 36, 22] Operation: 72-50=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[32, 50, 2], Operations: ['72/36=2']
Exploring Operation: 32/2=16, Resulting Numbers: [50, 16]
Generated Node #0,0,0: 88:[50, 16] Operation: 32/2=16
Exploring Operation: 50-32=18, Resulting Numbers: [2, 18]
Generated Node #0,0,1: 88:[2, 18] Operation: 50-32=18
Exploring Operation: 32+50=82, Resulting Numbers: [2, 82]
Generated Node #0,0,2: 88:[2, 82] Operation: 32+50=82
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[2, 18], Operations: ['72/36=2', '50-32=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 88:[2, 82], Operations: ['72/36=2', '32+50=82']
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,88 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,88 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[50, 16], Operations: ['72/36=2', '32/2=16']
Exploring Operation: 50*16=800, Resulting Numbers: [800]
800,88 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 50+16=66, Resulting Numbers: [66]
66,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[36, 50, 40], Operations: ['72-32=40']
Exploring Operation: 36+50=86, Resulting Numbers: [40, 86]
Generated Node #0,1,0: 88:[40, 86] Operation: 36+50=86
Exploring Operation: 40-36=4, Resulting Numbers: [50, 4]
Generated Node #0,1,1: 88:[50, 4] Operation: 40-36=4
Exploring Operation: 50-36=14, Resulting Numbers: [40, 14]
Generated Node #0,1,2: 88:[40, 14] Operation: 50-36=14
Moving to Node #0,1,0
Current State: 88:[40, 86], Operations: ['72-32=40', '36+50=86']
Exploring Operation: 40+86=126, Resulting Numbers: [126]
126,88 unequal: No Solution
Exploring Operation: 40*86=3440, Resulting Numbers: [3440]
3440,88 unequal: No Solution
Exploring Operation: 86-40=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[50, 4], Operations: ['72-32=40', '40-36=4']
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Exploring Operation: 50*4=200, Resulting Numbers: [200]
200,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[40, 14], Operations: ['72-32=40', '50-36=14']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,88 unequal: No Solution
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,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
Current State: 88:[32, 36, 22], Operations: ['72-50=22']
Exploring Operation: 32-22=10, Resulting Numbers: [36, 10]
Generated Node #0,2,0: 88:[36, 10] Operation: 32-22=10
Exploring Operation: 36-32=4, Resulting Numbers: [22, 4]
Generated Node #0,2,1: 88:[22, 4] Operation: 36-32=4
Exploring Operation: 36-22=14, Resulting Numbers: [32, 14]
Generated Node #0,2,2: 88:[32, 14] Operation: 36-22=14
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 88:[22, 4], Operations: ['72-50=22', '36-32=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[72, 32, 36, 50], Operations: []
Exploring Operation: 72-50=22, Resulting Numbers: [32, 36, 22]
Generated Node #0,2: 88:[32, 36, 22] Operation: 72-50=22
Moving to Node #0,2
Current State: 88:[32, 36, 22], Operations: ['72-50=22']
Exploring Operation: 36-32=4, Resulting Numbers: [22, 4]
Generated Node #0,2,1: 88:[22, 4] Operation: 36-32=4
Moving to Node #0,2,1
Current State: 88:[22, 4], Operations: ['72-50=22', '36-32=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_3 | mult_heuristic |
[
59,
9,
21,
2
] | 56 | [
"59-21=38",
"9*2=18",
"38+18=56"
] | Current State: 56:[59, 9, 21, 2], Operations: []
Exploring Operation: 59-21=38, Resulting Numbers: [9, 2, 38]
Generated Node #2: [9, 2, 38] from Operation: 59-21=38
Current State: 56:[9, 2, 38], Operations: ['59-21=38']
Exploring Operation: 9*2=18, Resulting Numbers: [38, 18]
Generated Node #3: [38, 18] from Operation: 9*2=18
Current State: 56:[38, 18], Operations: ['59-21=38', '9*2=18']
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[59, 9, 21, 2], Operations: []
Exploring Operation: 21-9=12, Resulting Numbers: [59, 2, 12]
Generated Node #0,0: 56:[59, 2, 12] Operation: 21-9=12
Exploring Operation: 9+21=30, Resulting Numbers: [59, 2, 30]
Generated Node #0,1: 56:[59, 2, 30] Operation: 9+21=30
Moving to Node #0,0
Current State: 56:[59, 2, 12], Operations: ['21-9=12']
Exploring Operation: 59-2=57, Resulting Numbers: [12, 57]
Generated Node #0,0,0: 56:[12, 57] Operation: 59-2=57
Exploring Operation: 2+12=14, Resulting Numbers: [59, 14]
Generated Node #0,0,1: 56:[59, 14] Operation: 2+12=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[12, 57], Operations: ['21-9=12', '59-2=57']
Exploring Operation: 12+57=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[59, 14], Operations: ['21-9=12', '2+12=14']
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Exploring Operation: 59+14=73, Resulting Numbers: [73]
73,56 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: 56:[59, 2, 30], Operations: ['9+21=30']
Exploring Operation: 59-30=29, Resulting Numbers: [2, 29]
Generated Node #0,1,0: 56:[2, 29] Operation: 59-30=29
Exploring Operation: 59-2=57, Resulting Numbers: [30, 57]
Generated Node #0,1,1: 56:[30, 57] Operation: 59-2=57
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[2, 29], Operations: ['9+21=30', '59-30=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[30, 57], Operations: ['9+21=30', '59-2=57']
Exploring Operation: 30+57=87, Resulting Numbers: [87]
87,56 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
57,
19,
50,
34
] | 13 | [
"57/19=3",
"50-34=16",
"16-3=13"
] | Current State: 13:[57, 19, 50, 34], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [50, 34, 3]
Generated Node #2: [50, 34, 3] from Operation: 57/19=3
Current State: 13:[50, 34, 3], Operations: ['57/19=3']
Exploring Operation: 50-34=16, Resulting Numbers: [3, 16]
Generated Node #3: [3, 16] from Operation: 50-34=16
Current State: 13:[3, 16], Operations: ['57/19=3', '50-34=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[57, 19, 50, 34], Operations: []
Exploring Operation: 57-34=23, Resulting Numbers: [19, 50, 23]
Generated Node #0,0: 13:[19, 50, 23] Operation: 57-34=23
Exploring Operation: 57-19=38, Resulting Numbers: [50, 34, 38]
Generated Node #0,1: 13:[50, 34, 38] Operation: 57-19=38
Exploring Operation: 50-34=16, Resulting Numbers: [57, 19, 16]
Generated Node #0,2: 13:[57, 19, 16] Operation: 50-34=16
Exploring Operation: 57-50=7, Resulting Numbers: [19, 34, 7]
Generated Node #0,3: 13:[19, 34, 7] Operation: 57-50=7
Exploring Operation: 57/19=3, Resulting Numbers: [50, 34, 3]
Generated Node #0,4: 13:[50, 34, 3] Operation: 57/19=3
Moving to Node #0,3
Current State: 13:[19, 34, 7], Operations: ['57-50=7']
Exploring Operation: 19+7=26, Resulting Numbers: [34, 26]
Generated Node #0,3,0: 13:[34, 26] Operation: 19+7=26
Exploring Operation: 34-19=15, Resulting Numbers: [7, 15]
Generated Node #0,3,1: 13:[7, 15] Operation: 34-19=15
Exploring Operation: 34-7=27, Resulting Numbers: [19, 27]
Generated Node #0,3,2: 13:[19, 27] Operation: 34-7=27
Exploring Operation: 19-7=12, Resulting Numbers: [34, 12]
Generated Node #0,3,3: 13:[34, 12] Operation: 19-7=12
Exploring Operation: 34+7=41, Resulting Numbers: [19, 41]
Generated Node #0,3,4: 13:[19, 41] Operation: 34+7=41
Moving to Node #0,2
Current State: 13:[57, 19, 16], Operations: ['50-34=16']
Exploring Operation: 19-16=3, Resulting Numbers: [57, 3]
Generated Node #0,2,0: 13:[57, 3] Operation: 19-16=3
Exploring Operation: 57/19=3, Resulting Numbers: [16, 3]
Generated Node #0,2,1: 13:[16, 3] Operation: 57/19=3
Exploring Operation: 57-16=41, Resulting Numbers: [19, 41]
Generated Node #0,2,2: 13:[19, 41] Operation: 57-16=41
Exploring Operation: 57+19=76, Resulting Numbers: [16, 76]
Generated Node #0,2,3: 13:[16, 76] Operation: 57+19=76
Exploring Operation: 57-19=38, Resulting Numbers: [16, 38]
Generated Node #0,2,4: 13:[16, 38] Operation: 57-19=38
Moving to Node #0,0
Current State: 13:[19, 50, 23], Operations: ['57-34=23']
Exploring Operation: 50-19=31, Resulting Numbers: [23, 31]
Generated Node #0,0,0: 13:[23, 31] Operation: 50-19=31
Exploring Operation: 19+23=42, Resulting Numbers: [50, 42]
Generated Node #0,0,1: 13:[50, 42] Operation: 19+23=42
Exploring Operation: 23-19=4, Resulting Numbers: [50, 4]
Generated Node #0,0,2: 13:[50, 4] Operation: 23-19=4
Exploring Operation: 50-23=27, Resulting Numbers: [19, 27]
Generated Node #0,0,3: 13:[19, 27] Operation: 50-23=27
Exploring Operation: 19+50=69, Resulting Numbers: [23, 69]
Generated Node #0,0,4: 13:[23, 69] Operation: 19+50=69
Moving to Node #0,4
Current State: 13:[50, 34, 3], Operations: ['57/19=3']
Exploring Operation: 34-3=31, Resulting Numbers: [50, 31]
Generated Node #0,4,0: 13:[50, 31] Operation: 34-3=31
Exploring Operation: 50-3=47, Resulting Numbers: [34, 47]
Generated Node #0,4,1: 13:[34, 47] Operation: 50-3=47
Exploring Operation: 50+3=53, Resulting Numbers: [34, 53]
Generated Node #0,4,2: 13:[34, 53] Operation: 50+3=53
Exploring Operation: 50-34=16, Resulting Numbers: [3, 16]
Generated Node #0,4,3: 13:[3, 16] Operation: 50-34=16
Exploring Operation: 34+3=37, Resulting Numbers: [50, 37]
Generated Node #0,4,4: 13:[50, 37] Operation: 34+3=37
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 13:[3, 16], Operations: ['57/19=3', '50-34=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[57, 19, 50, 34], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [50, 34, 3]
Generated Node #0,4: 13:[50, 34, 3] Operation: 57/19=3
Moving to Node #0,4
Current State: 13:[50, 34, 3], Operations: ['57/19=3']
Exploring Operation: 50-34=16, Resulting Numbers: [3, 16]
Generated Node #0,4,3: 13:[3, 16] Operation: 50-34=16
Moving to Node #0,4,3
Current State: 13:[3, 16], Operations: ['57/19=3', '50-34=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_5 | mult_heuristic |
[
50,
82,
22,
73
] | 19 | [
"82-50=32",
"73-22=51",
"51-32=19"
] | Current State: 19:[50, 82, 22, 73], Operations: []
Exploring Operation: 82-50=32, Resulting Numbers: [22, 73, 32]
Generated Node #2: [22, 73, 32] from Operation: 82-50=32
Current State: 19:[22, 73, 32], Operations: ['82-50=32']
Exploring Operation: 73-22=51, Resulting Numbers: [32, 51]
Generated Node #3: [32, 51] from Operation: 73-22=51
Current State: 19:[32, 51], Operations: ['82-50=32', '73-22=51']
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[50, 82, 22, 73], Operations: []
Exploring Operation: 73-50=23, Resulting Numbers: [82, 22, 23]
Generated Node #0,0: 19:[82, 22, 23] Operation: 73-50=23
Exploring Operation: 50-22=28, Resulting Numbers: [82, 73, 28]
Generated Node #0,1: 19:[82, 73, 28] Operation: 50-22=28
Exploring Operation: 82-73=9, Resulting Numbers: [50, 22, 9]
Generated Node #0,2: 19:[50, 22, 9] Operation: 82-73=9
Exploring Operation: 82-50=32, Resulting Numbers: [22, 73, 32]
Generated Node #0,3: 19:[22, 73, 32] Operation: 82-50=32
Moving to Node #0,2
Current State: 19:[50, 22, 9], Operations: ['82-73=9']
Exploring Operation: 50+9=59, Resulting Numbers: [22, 59]
Generated Node #0,2,0: 19:[22, 59] Operation: 50+9=59
Exploring Operation: 50-9=41, Resulting Numbers: [22, 41]
Generated Node #0,2,1: 19:[22, 41] Operation: 50-9=41
Exploring Operation: 50-22=28, Resulting Numbers: [9, 28]
Generated Node #0,2,2: 19:[9, 28] Operation: 50-22=28
Exploring Operation: 22-9=13, Resulting Numbers: [50, 13]
Generated Node #0,2,3: 19:[50, 13] Operation: 22-9=13
Moving to Node #0,3
Current State: 19:[22, 73, 32], Operations: ['82-50=32']
Exploring Operation: 73-32=41, Resulting Numbers: [22, 41]
Generated Node #0,3,0: 19:[22, 41] Operation: 73-32=41
Exploring Operation: 32-22=10, Resulting Numbers: [73, 10]
Generated Node #0,3,1: 19:[73, 10] Operation: 32-22=10
Exploring Operation: 73-22=51, Resulting Numbers: [32, 51]
Generated Node #0,3,2: 19:[32, 51] Operation: 73-22=51
Exploring Operation: 22+73=95, Resulting Numbers: [32, 95]
Generated Node #0,3,3: 19:[32, 95] Operation: 22+73=95
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 19:[22, 41], Operations: ['82-50=32', '73-32=41']
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[50, 82, 22, 73], Operations: []
Exploring Operation: 82-50=32, Resulting Numbers: [22, 73, 32]
Generated Node #0,3: 19:[22, 73, 32] Operation: 82-50=32
Moving to Node #0,3
Current State: 19:[22, 73, 32], Operations: ['82-50=32']
Exploring Operation: 73-32=41, Resulting Numbers: [22, 41]
Generated Node #0,3,0: 19:[22, 41] Operation: 73-32=41
Moving to Node #0,3,0
Current State: 19:[22, 41], Operations: ['82-50=32', '73-32=41']
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
30,
34,
48,
10
] | 18 | [
"30/10=3",
"48/3=16",
"34-16=18"
] | Current State: 18:[30, 34, 48, 10], Operations: []
Exploring Operation: 30/10=3, Resulting Numbers: [34, 48, 3]
Generated Node #2: [34, 48, 3] from Operation: 30/10=3
Current State: 18:[34, 48, 3], Operations: ['30/10=3']
Exploring Operation: 48/3=16, Resulting Numbers: [34, 16]
Generated Node #3: [34, 16] from Operation: 48/3=16
Current State: 18:[34, 16], Operations: ['30/10=3', '48/3=16']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[30, 34, 48, 10], Operations: []
Exploring Operation: 48-34=14, Resulting Numbers: [30, 10, 14]
Generated Node #0,0: 18:[30, 10, 14] Operation: 48-34=14
Exploring Operation: 48-30=18, Resulting Numbers: [34, 10, 18]
Generated Node #0,1: 18:[34, 10, 18] Operation: 48-30=18
Moving to Node #0,0
Current State: 18:[30, 10, 14], Operations: ['48-34=14']
Exploring Operation: 30/10=3, Resulting Numbers: [14, 3]
Generated Node #0,0,0: 18:[14, 3] Operation: 30/10=3
Exploring Operation: 30-14=16, Resulting Numbers: [10, 16]
Generated Node #0,0,1: 18:[10, 16] Operation: 30-14=16
Moving to Node #0,1
Current State: 18:[34, 10, 18], Operations: ['48-30=18']
Exploring Operation: 34-18=16, Resulting Numbers: [10, 16]
Generated Node #0,1,0: 18:[10, 16] Operation: 34-18=16
Exploring Operation: 34-10=24, Resulting Numbers: [18, 24]
Generated Node #0,1,1: 18:[18, 24] Operation: 34-10=24
Moving to Node #0,0,1
Current State: 18:[10, 16], Operations: ['48-34=14', '30-14=16']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[10, 16], Operations: ['48-30=18', '34-18=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[14, 3], Operations: ['48-34=14', '30/10=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[18, 24], Operations: ['48-30=18', '34-10=24']
Exploring Operation: 18+24=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,18 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
19,
4,
29,
90
] | 78 | [
"19+29=48",
"48/4=12",
"90-12=78"
] | Current State: 78:[19, 4, 29, 90], Operations: []
Exploring Operation: 19+29=48, Resulting Numbers: [4, 90, 48]
Generated Node #2: [4, 90, 48] from Operation: 19+29=48
Current State: 78:[4, 90, 48], Operations: ['19+29=48']
Exploring Operation: 48/4=12, Resulting Numbers: [90, 12]
Generated Node #3: [90, 12] from Operation: 48/4=12
Current State: 78:[90, 12], Operations: ['19+29=48', '48/4=12']
Exploring Operation: 90-12=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[19, 4, 29, 90], Operations: []
Exploring Operation: 90-19=71, Resulting Numbers: [4, 29, 71]
Generated Node #0,0: 78:[4, 29, 71] Operation: 90-19=71
Moving to Node #0,0
Current State: 78:[4, 29, 71], Operations: ['90-19=71']
Exploring Operation: 71-29=42, Resulting Numbers: [4, 42]
Generated Node #0,0,0: 78:[4, 42] Operation: 71-29=42
Moving to Node #0,0,0
Current State: 78:[4, 42], Operations: ['90-19=71', '71-29=42']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,78 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
45,
12,
43,
35
] | 94 | [
"45-43=2",
"12+35=47",
"2*47=94"
] | Current State: 94:[45, 12, 43, 35], Operations: []
Exploring Operation: 45-43=2, Resulting Numbers: [12, 35, 2]
Generated Node #2: [12, 35, 2] from Operation: 45-43=2
Current State: 94:[12, 35, 2], Operations: ['45-43=2']
Exploring Operation: 12+35=47, Resulting Numbers: [2, 47]
Generated Node #3: [2, 47] from Operation: 12+35=47
Current State: 94:[2, 47], Operations: ['45-43=2', '12+35=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[45, 12, 43, 35], Operations: []
Exploring Operation: 45-35=10, Resulting Numbers: [12, 43, 10]
Generated Node #0,0: 94:[12, 43, 10] Operation: 45-35=10
Exploring Operation: 43-35=8, Resulting Numbers: [45, 12, 8]
Generated Node #0,1: 94:[45, 12, 8] Operation: 43-35=8
Exploring Operation: 12+35=47, Resulting Numbers: [45, 43, 47]
Generated Node #0,2: 94:[45, 43, 47] Operation: 12+35=47
Exploring Operation: 45-43=2, Resulting Numbers: [12, 35, 2]
Generated Node #0,3: 94:[12, 35, 2] Operation: 45-43=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[45, 43, 47], Operations: ['12+35=47']
Exploring Operation: 45+43=88, Resulting Numbers: [47, 88]
Generated Node #0,2,0: 94:[47, 88] Operation: 45+43=88
Exploring Operation: 47-43=4, Resulting Numbers: [45, 4]
Generated Node #0,2,1: 94:[45, 4] Operation: 47-43=4
Exploring Operation: 47-45=2, Resulting Numbers: [43, 2]
Generated Node #0,2,2: 94:[43, 2] Operation: 47-45=2
Exploring Operation: 45-43=2, Resulting Numbers: [47, 2]
Generated Node #0,2,3: 94:[47, 2] Operation: 45-43=2
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 94:[47, 2], Operations: ['12+35=47', '45-43=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[45, 12, 43, 35], Operations: []
Exploring Operation: 12+35=47, Resulting Numbers: [45, 43, 47]
Generated Node #0,2: 94:[45, 43, 47] Operation: 12+35=47
Moving to Node #0,2
Current State: 94:[45, 43, 47], Operations: ['12+35=47']
Exploring Operation: 45-43=2, Resulting Numbers: [47, 2]
Generated Node #0,2,3: 94:[47, 2] Operation: 45-43=2
Moving to Node #0,2,3
Current State: 94:[47, 2], Operations: ['12+35=47', '45-43=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
30,
25,
13,
51
] | 52 | [
"30+25=55",
"55-51=4",
"13*4=52"
] | Current State: 52:[30, 25, 13, 51], Operations: []
Exploring Operation: 30+25=55, Resulting Numbers: [13, 51, 55]
Generated Node #2: [13, 51, 55] from Operation: 30+25=55
Current State: 52:[13, 51, 55], Operations: ['30+25=55']
Exploring Operation: 55-51=4, Resulting Numbers: [13, 4]
Generated Node #3: [13, 4] from Operation: 55-51=4
Current State: 52:[13, 4], Operations: ['30+25=55', '55-51=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[30, 25, 13, 51], Operations: []
Exploring Operation: 30+25=55, Resulting Numbers: [13, 51, 55]
Generated Node #0,0: 52:[13, 51, 55] Operation: 30+25=55
Exploring Operation: 30-25=5, Resulting Numbers: [13, 51, 5]
Generated Node #0,1: 52:[13, 51, 5] Operation: 30-25=5
Exploring Operation: 30-13=17, Resulting Numbers: [25, 51, 17]
Generated Node #0,2: 52:[25, 51, 17] Operation: 30-13=17
Exploring Operation: 51-30=21, Resulting Numbers: [25, 13, 21]
Generated Node #0,3: 52:[25, 13, 21] Operation: 51-30=21
Exploring Operation: 51-25=26, Resulting Numbers: [30, 13, 26]
Generated Node #0,4: 52:[30, 13, 26] Operation: 51-25=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[13, 51, 5], Operations: ['30-25=5']
Exploring Operation: 51+5=56, Resulting Numbers: [13, 56]
Generated Node #0,1,0: 52:[13, 56] Operation: 51+5=56
Exploring Operation: 13+51=64, Resulting Numbers: [5, 64]
Generated Node #0,1,1: 52:[5, 64] Operation: 13+51=64
Exploring Operation: 13-5=8, Resulting Numbers: [51, 8]
Generated Node #0,1,2: 52:[51, 8] Operation: 13-5=8
Exploring Operation: 13+5=18, Resulting Numbers: [51, 18]
Generated Node #0,1,3: 52:[51, 18] Operation: 13+5=18
Exploring Operation: 51-5=46, Resulting Numbers: [13, 46]
Generated Node #0,1,4: 52:[13, 46] Operation: 51-5=46
Moving to Node #0,1,0
Current State: 52:[13, 56], Operations: ['30-25=5', '51+5=56']
Exploring Operation: 13*56=728, Resulting Numbers: [728]
728,52 unequal: No Solution
Exploring Operation: 56-13=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 13+56=69, Resulting Numbers: [69]
69,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[51, 8], Operations: ['30-25=5', '13-5=8']
Exploring Operation: 51*8=408, Resulting Numbers: [408]
408,52 unequal: No Solution
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 51+8=59, Resulting Numbers: [59]
59,52 unequal: No Solution
Moving to Node #0,1,3
Current State: 52:[51, 18], Operations: ['30-25=5', '13+5=18']
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,52 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 51*18=918, Resulting Numbers: [918]
918,52 unequal: No Solution
Moving to Node #0,1,4
Current State: 52:[13, 46], Operations: ['30-25=5', '51-5=46']
Exploring Operation: 13+46=59, Resulting Numbers: [59]
59,52 unequal: No Solution
Exploring Operation: 13*46=598, Resulting Numbers: [598]
598,52 unequal: No Solution
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[5, 64], Operations: ['30-25=5', '13+51=64']
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,52 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,52 unequal: No Solution
Exploring Operation: 5*64=320, Resulting Numbers: [320]
320,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:[13, 51, 55], Operations: ['30+25=55']
Exploring Operation: 13+51=64, Resulting Numbers: [55, 64]
Generated Node #0,0,0: 52:[55, 64] Operation: 13+51=64
Exploring Operation: 55-13=42, Resulting Numbers: [51, 42]
Generated Node #0,0,1: 52:[51, 42] Operation: 55-13=42
Exploring Operation: 55-51=4, Resulting Numbers: [13, 4]
Generated Node #0,0,2: 52:[13, 4] Operation: 55-51=4
Exploring Operation: 51-13=38, Resulting Numbers: [55, 38]
Generated Node #0,0,3: 52:[55, 38] Operation: 51-13=38
Exploring Operation: 13+55=68, Resulting Numbers: [51, 68]
Generated Node #0,0,4: 52:[51, 68] Operation: 13+55=68
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 52:[13, 4], Operations: ['30+25=55', '55-51=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[30, 25, 13, 51], Operations: []
Exploring Operation: 30+25=55, Resulting Numbers: [13, 51, 55]
Generated Node #0,0: 52:[13, 51, 55] Operation: 30+25=55
Moving to Node #0,0
Current State: 52:[13, 51, 55], Operations: ['30+25=55']
Exploring Operation: 55-51=4, Resulting Numbers: [13, 4]
Generated Node #0,0,2: 52:[13, 4] Operation: 55-51=4
Moving to Node #0,0,2
Current State: 52:[13, 4], Operations: ['30+25=55', '55-51=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
56,
30,
68,
71
] | 83 | [
"56+30=86",
"71-68=3",
"86-3=83"
] | Current State: 83:[56, 30, 68, 71], Operations: []
Exploring Operation: 56+30=86, Resulting Numbers: [68, 71, 86]
Generated Node #2: [68, 71, 86] from Operation: 56+30=86
Current State: 83:[68, 71, 86], Operations: ['56+30=86']
Exploring Operation: 71-68=3, Resulting Numbers: [86, 3]
Generated Node #3: [86, 3] from Operation: 71-68=3
Current State: 83:[86, 3], Operations: ['56+30=86', '71-68=3']
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[56, 30, 68, 71], Operations: []
Exploring Operation: 56+30=86, Resulting Numbers: [68, 71, 86]
Generated Node #0,0: 83:[68, 71, 86] Operation: 56+30=86
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[68, 71, 86], Operations: ['56+30=86']
Exploring Operation: 68+71=139, Resulting Numbers: [86, 139]
Generated Node #0,0,0: 83:[86, 139] Operation: 68+71=139
Moving to Node #0,0,0
Current State: 83:[86, 139], Operations: ['56+30=86', '68+71=139']
Exploring Operation: 139-86=53, Resulting Numbers: [53]
53,83 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 |
[
55,
26,
20,
60
] | 45 | [
"26-20=6",
"60/6=10",
"55-10=45"
] | Current State: 45:[55, 26, 20, 60], Operations: []
Exploring Operation: 26-20=6, Resulting Numbers: [55, 60, 6]
Generated Node #2: [55, 60, 6] from Operation: 26-20=6
Current State: 45:[55, 60, 6], Operations: ['26-20=6']
Exploring Operation: 60/6=10, Resulting Numbers: [55, 10]
Generated Node #3: [55, 10] from Operation: 60/6=10
Current State: 45:[55, 10], Operations: ['26-20=6', '60/6=10']
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[55, 26, 20, 60], Operations: []
Exploring Operation: 60/20=3, Resulting Numbers: [55, 26, 3]
Generated Node #0,0: 45:[55, 26, 3] Operation: 60/20=3
Exploring Operation: 60-55=5, Resulting Numbers: [26, 20, 5]
Generated Node #0,1: 45:[26, 20, 5] Operation: 60-55=5
Moving to Node #0,1
Current State: 45:[26, 20, 5], Operations: ['60-55=5']
Exploring Operation: 26+20=46, Resulting Numbers: [5, 46]
Generated Node #0,1,0: 45:[5, 46] Operation: 26+20=46
Exploring Operation: 26-20=6, Resulting Numbers: [5, 6]
Generated Node #0,1,1: 45:[5, 6] Operation: 26-20=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[5, 46], Operations: ['60-55=5', '26+20=46']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,45 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,45 unequal: No Solution
No 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: 45:[5, 6], Operations: ['60-55=5', '26-20=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,45 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: 45:[55, 26, 3], Operations: ['60/20=3']
Exploring Operation: 55-3=52, Resulting Numbers: [26, 52]
Generated Node #0,0,0: 45:[26, 52] Operation: 55-3=52
Exploring Operation: 55-26=29, Resulting Numbers: [3, 29]
Generated Node #0,0,1: 45:[3, 29] Operation: 55-26=29
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[3, 29], Operations: ['60/20=3', '55-26=29']
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,45 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,45 unequal: No Solution
No 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: 45:[26, 52], Operations: ['60/20=3', '55-3=52']
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,45 unequal: No Solution
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,45 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 |
[
49,
92,
5,
74
] | 97 | [
"74-49=25",
"25/5=5",
"92+5=97"
] | Current State: 97:[49, 92, 5, 74], Operations: []
Exploring Operation: 74-49=25, Resulting Numbers: [92, 5, 25]
Generated Node #2: [92, 5, 25] from Operation: 74-49=25
Current State: 97:[92, 5, 25], Operations: ['74-49=25']
Exploring Operation: 25/5=5, Resulting Numbers: [92, 5]
Generated Node #3: [92, 5] from Operation: 25/5=5
Current State: 97:[92, 5], Operations: ['74-49=25', '25/5=5']
Exploring Operation: 92+5=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[49, 92, 5, 74], Operations: []
Exploring Operation: 5+74=79, Resulting Numbers: [49, 92, 79]
Generated Node #0,0: 97:[49, 92, 79] Operation: 5+74=79
Exploring Operation: 49-5=44, Resulting Numbers: [92, 74, 44]
Generated Node #0,1: 97:[92, 74, 44] Operation: 49-5=44
Exploring Operation: 92+5=97, Resulting Numbers: [49, 74, 97]
Generated Node #0,2: 97:[49, 74, 97] Operation: 92+5=97
Exploring Operation: 92-5=87, Resulting Numbers: [49, 74, 87]
Generated Node #0,3: 97:[49, 74, 87] Operation: 92-5=87
Exploring Operation: 49+5=54, Resulting Numbers: [92, 74, 54]
Generated Node #0,4: 97:[92, 74, 54] Operation: 49+5=54
Moving to Node #0,0
Current State: 97:[49, 92, 79], Operations: ['5+74=79']
Exploring Operation: 92-49=43, Resulting Numbers: [79, 43]
Generated Node #0,0,0: 97:[79, 43] Operation: 92-49=43
Exploring Operation: 79-49=30, Resulting Numbers: [92, 30]
Generated Node #0,0,1: 97:[92, 30] Operation: 79-49=30
Exploring Operation: 92+79=171, Resulting Numbers: [49, 171]
Generated Node #0,0,2: 97:[49, 171] Operation: 92+79=171
Exploring Operation: 49+79=128, Resulting Numbers: [92, 128]
Generated Node #0,0,3: 97:[92, 128] Operation: 49+79=128
Exploring Operation: 49+92=141, Resulting Numbers: [79, 141]
Generated Node #0,0,4: 97:[79, 141] Operation: 49+92=141
Moving to Node #0,4
Current State: 97:[92, 74, 54], Operations: ['49+5=54']
Exploring Operation: 74+54=128, Resulting Numbers: [92, 128]
Generated Node #0,4,0: 97:[92, 128] Operation: 74+54=128
Exploring Operation: 92+74=166, Resulting Numbers: [54, 166]
Generated Node #0,4,1: 97:[54, 166] Operation: 92+74=166
Exploring Operation: 74-54=20, Resulting Numbers: [92, 20]
Generated Node #0,4,2: 97:[92, 20] Operation: 74-54=20
Exploring Operation: 92+54=146, Resulting Numbers: [74, 146]
Generated Node #0,4,3: 97:[74, 146] Operation: 92+54=146
Exploring Operation: 92-54=38, Resulting Numbers: [74, 38]
Generated Node #0,4,4: 97:[74, 38] Operation: 92-54=38
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 97:[92, 128], Operations: ['49+5=54', '74+54=128']
Exploring Operation: 92+128=220, Resulting Numbers: [220]
220,97 unequal: No Solution
Exploring Operation: 92*128=11776, Resulting Numbers: [11776]
11776,97 unequal: No Solution
Exploring Operation: 128-92=36, Resulting Numbers: [36]
36,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 97:[74, 146], Operations: ['49+5=54', '92+54=146']
Exploring Operation: 74*146=10804, Resulting Numbers: [10804]
10804,97 unequal: No Solution
Exploring Operation: 74+146=220, Resulting Numbers: [220]
220,97 unequal: No Solution
Exploring Operation: 146-74=72, Resulting Numbers: [72]
72,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 97:[92, 20], Operations: ['49+5=54', '74-54=20']
Exploring Operation: 92+20=112, Resulting Numbers: [112]
112,97 unequal: No Solution
Exploring Operation: 92*20=1840, Resulting Numbers: [1840]
1840,97 unequal: No Solution
Exploring Operation: 92-20=72, Resulting Numbers: [72]
72,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 97:[74, 38], Operations: ['49+5=54', '92-54=38']
Exploring Operation: 74+38=112, Resulting Numbers: [112]
112,97 unequal: No Solution
Exploring Operation: 74*38=2812, Resulting Numbers: [2812]
2812,97 unequal: No Solution
Exploring Operation: 74-38=36, Resulting Numbers: [36]
36,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 97:[54, 166], Operations: ['49+5=54', '92+74=166']
Exploring Operation: 54*166=8964, Resulting Numbers: [8964]
8964,97 unequal: No Solution
Exploring Operation: 54+166=220, Resulting Numbers: [220]
220,97 unequal: No Solution
Exploring Operation: 166-54=112, Resulting Numbers: [112]
112,97 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: 97:[49, 74, 97], Operations: ['92+5=97']
Exploring Operation: 74-49=25, Resulting Numbers: [97, 25]
Generated Node #0,2,0: 97:[97, 25] Operation: 74-49=25
Exploring Operation: 49+74=123, Resulting Numbers: [97, 123]
Generated Node #0,2,1: 97:[97, 123] Operation: 49+74=123
Exploring Operation: 74+97=171, Resulting Numbers: [49, 171]
Generated Node #0,2,2: 97:[49, 171] Operation: 74+97=171
Exploring Operation: 97-49=48, Resulting Numbers: [74, 48]
Generated Node #0,2,3: 97:[74, 48] Operation: 97-49=48
Exploring Operation: 49+97=146, Resulting Numbers: [74, 146]
Generated Node #0,2,4: 97:[74, 146] Operation: 49+97=146
Moving to Node #0,1
Current State: 97:[92, 74, 44], Operations: ['49-5=44']
Exploring Operation: 92+44=136, Resulting Numbers: [74, 136]
Generated Node #0,1,0: 97:[74, 136] Operation: 92+44=136
Exploring Operation: 74-44=30, Resulting Numbers: [92, 30]
Generated Node #0,1,1: 97:[92, 30] Operation: 74-44=30
Exploring Operation: 92-44=48, Resulting Numbers: [74, 48]
Generated Node #0,1,2: 97:[74, 48] Operation: 92-44=48
Exploring Operation: 92+74=166, Resulting Numbers: [44, 166]
Generated Node #0,1,3: 97:[44, 166] Operation: 92+74=166
Exploring Operation: 74+44=118, Resulting Numbers: [92, 118]
Generated Node #0,1,4: 97:[92, 118] Operation: 74+44=118
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 97:[92, 118], Operations: ['49-5=44', '74+44=118']
Exploring Operation: 92+118=210, Resulting Numbers: [210]
210,97 unequal: No Solution
Exploring Operation: 118-92=26, Resulting Numbers: [26]
26,97 unequal: No Solution
Exploring Operation: 92*118=10856, Resulting Numbers: [10856]
10856,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[74, 136], Operations: ['49-5=44', '92+44=136']
Exploring Operation: 74+136=210, Resulting Numbers: [210]
210,97 unequal: No Solution
Exploring Operation: 136-74=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 74*136=10064, Resulting Numbers: [10064]
10064,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[92, 30], Operations: ['49-5=44', '74-44=30']
Exploring Operation: 92-30=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 92+30=122, Resulting Numbers: [122]
122,97 unequal: No Solution
Exploring Operation: 92*30=2760, Resulting Numbers: [2760]
2760,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[74, 48], Operations: ['49-5=44', '92-44=48']
Exploring Operation: 74*48=3552, Resulting Numbers: [3552]
3552,97 unequal: No Solution
Exploring Operation: 74+48=122, Resulting Numbers: [122]
122,97 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,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,3
Current State: 97:[44, 166], Operations: ['49-5=44', '92+74=166']
Exploring Operation: 44*166=7304, Resulting Numbers: [7304]
7304,97 unequal: No Solution
Exploring Operation: 166-44=122, Resulting Numbers: [122]
122,97 unequal: No Solution
Exploring Operation: 44+166=210, Resulting Numbers: [210]
210,97 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: 97:[49, 74, 87], Operations: ['92-5=87']
Exploring Operation: 74+87=161, Resulting Numbers: [49, 161]
Generated Node #0,3,0: 97:[49, 161] Operation: 74+87=161
Exploring Operation: 87-49=38, Resulting Numbers: [74, 38]
Generated Node #0,3,1: 97:[74, 38] Operation: 87-49=38
Exploring Operation: 49+87=136, Resulting Numbers: [74, 136]
Generated Node #0,3,2: 97:[74, 136] Operation: 49+87=136
Exploring Operation: 74-49=25, Resulting Numbers: [87, 25]
Generated Node #0,3,3: 97:[87, 25] Operation: 74-49=25
Exploring Operation: 49+74=123, Resulting Numbers: [87, 123]
Generated Node #0,3,4: 97:[87, 123] Operation: 49+74=123
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 97:[87, 123], Operations: ['92-5=87', '49+74=123']
Exploring Operation: 87*123=10701, Resulting Numbers: [10701]
10701,97 unequal: No Solution
Exploring Operation: 87+123=210, Resulting Numbers: [210]
210,97 unequal: No Solution
Exploring Operation: 123-87=36, Resulting Numbers: [36]
36,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 97:[74, 136], Operations: ['92-5=87', '49+87=136']
Exploring Operation: 74*136=10064, Resulting Numbers: [10064]
10064,97 unequal: No Solution
Exploring Operation: 136-74=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 74+136=210, Resulting Numbers: [210]
210,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 97:[74, 38], Operations: ['92-5=87', '87-49=38']
Exploring Operation: 74-38=36, Resulting Numbers: [36]
36,97 unequal: No Solution
Exploring Operation: 74*38=2812, Resulting Numbers: [2812]
2812,97 unequal: No Solution
Exploring Operation: 74+38=112, Resulting Numbers: [112]
112,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 97:[87, 25], Operations: ['92-5=87', '74-49=25']
Exploring Operation: 87+25=112, Resulting Numbers: [112]
112,97 unequal: No Solution
Exploring Operation: 87*25=2175, Resulting Numbers: [2175]
2175,97 unequal: No Solution
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 97:[49, 161], Operations: ['92-5=87', '74+87=161']
Exploring Operation: 49*161=7889, Resulting Numbers: [7889]
7889,97 unequal: No Solution
Exploring Operation: 49+161=210, Resulting Numbers: [210]
210,97 unequal: No Solution
Exploring Operation: 161-49=112, Resulting Numbers: [112]
112,97 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: 97:[97, 123], Operations: ['92+5=97', '49+74=123']
Exploring Operation: 123-97=26, Resulting Numbers: [26]
26,97 unequal: No Solution
Exploring Operation: 97+123=220, Resulting Numbers: [220]
220,97 unequal: No Solution
Exploring Operation: 97*123=11931, Resulting Numbers: [11931]
11931,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[92, 128], Operations: ['5+74=79', '49+79=128']
Exploring Operation: 92*128=11776, Resulting Numbers: [11776]
11776,97 unequal: No Solution
Exploring Operation: 92+128=220, Resulting Numbers: [220]
220,97 unequal: No Solution
Exploring Operation: 128-92=36, Resulting Numbers: [36]
36,97 unequal: No Solution
Moving to Node #0,0,4
Current State: 97:[79, 141], Operations: ['5+74=79', '49+92=141']
Exploring Operation: 79*141=11139, Resulting Numbers: [11139]
11139,97 unequal: No Solution
Exploring Operation: 79+141=220, Resulting Numbers: [220]
220,97 unequal: No Solution
Exploring Operation: 141-79=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[97, 25], Operations: ['92+5=97', '74-49=25']
Exploring Operation: 97-25=72, Resulting Numbers: [72]
72,97 unequal: No Solution
Exploring Operation: 97+25=122, Resulting Numbers: [122]
122,97 unequal: No Solution
Exploring Operation: 97*25=2425, Resulting Numbers: [2425]
2425,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[79, 43], Operations: ['5+74=79', '92-49=43']
Exploring Operation: 79+43=122, Resulting Numbers: [122]
122,97 unequal: No Solution
Exploring Operation: 79-43=36, Resulting Numbers: [36]
36,97 unequal: No Solution
Exploring Operation: 79*43=3397, Resulting Numbers: [3397]
3397,97 unequal: No Solution
Moving to Node #0,2,4
Current State: 97:[74, 146], Operations: ['92+5=97', '49+97=146']
Exploring Operation: 74+146=220, Resulting Numbers: [220]
220,97 unequal: No Solution
Exploring Operation: 146-74=72, Resulting Numbers: [72]
72,97 unequal: No Solution
Exploring Operation: 74*146=10804, Resulting Numbers: [10804]
10804,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[92, 30], Operations: ['5+74=79', '79-49=30']
Exploring Operation: 92-30=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 92+30=122, Resulting Numbers: [122]
122,97 unequal: No Solution
Exploring Operation: 92*30=2760, Resulting Numbers: [2760]
2760,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[74, 48], Operations: ['92+5=97', '97-49=48']
Exploring Operation: 74*48=3552, Resulting Numbers: [3552]
3552,97 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,97 unequal: No Solution
Exploring Operation: 74+48=122, Resulting Numbers: [122]
122,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[49, 171], Operations: ['5+74=79', '92+79=171']
Exploring Operation: 49*171=8379, Resulting Numbers: [8379]
8379,97 unequal: No Solution
Exploring Operation: 171-49=122, Resulting Numbers: [122]
122,97 unequal: No Solution
Exploring Operation: 49+171=220, Resulting Numbers: [220]
220,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[49, 171], Operations: ['92+5=97', '74+97=171']
Exploring Operation: 49*171=8379, Resulting Numbers: [8379]
8379,97 unequal: No Solution
Exploring Operation: 49+171=220, Resulting Numbers: [220]
220,97 unequal: No Solution
Exploring Operation: 171-49=122, Resulting Numbers: [122]
122,97 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
88,
1,
18,
22
] | 54 | [
"88/22=4",
"4-1=3",
"18*3=54"
] | Current State: 54:[88, 1, 18, 22], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [1, 18, 4]
Generated Node #2: [1, 18, 4] from Operation: 88/22=4
Current State: 54:[1, 18, 4], Operations: ['88/22=4']
Exploring Operation: 4-1=3, Resulting Numbers: [18, 3]
Generated Node #3: [18, 3] from Operation: 4-1=3
Current State: 54:[18, 3], Operations: ['88/22=4', '4-1=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[88, 1, 18, 22], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [1, 18, 4]
Generated Node #0,0: 54:[1, 18, 4] Operation: 88/22=4
Exploring Operation: 88-22=66, Resulting Numbers: [1, 18, 66]
Generated Node #0,1: 54:[1, 18, 66] Operation: 88-22=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[1, 18, 4], Operations: ['88/22=4']
Exploring Operation: 1*18=18, Resulting Numbers: [4, 18]
Generated Node #0,0,0: 54:[4, 18] Operation: 1*18=18
Exploring Operation: 4-1=3, Resulting Numbers: [18, 3]
Generated Node #0,0,1: 54:[18, 3] Operation: 4-1=3
Moving to Node #0,0,1
Current State: 54:[18, 3], Operations: ['88/22=4', '4-1=3']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[88, 1, 18, 22], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [1, 18, 4]
Generated Node #0,0: 54:[1, 18, 4] Operation: 88/22=4
Moving to Node #0,0
Current State: 54:[1, 18, 4], Operations: ['88/22=4']
Exploring Operation: 4-1=3, Resulting Numbers: [18, 3]
Generated Node #0,0,1: 54:[18, 3] Operation: 4-1=3
Moving to Node #0,0,1
Current State: 54:[18, 3], Operations: ['88/22=4', '4-1=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
1,
2,
87,
3
] | 88 | [
"1+2=3",
"3/3=1",
"87+1=88"
] | Current State: 88:[1, 2, 87, 3], Operations: []
Exploring Operation: 1+2=3, Resulting Numbers: [87, 3, 3]
Generated Node #2: [87, 3, 3] from Operation: 1+2=3
Current State: 88:[87, 3, 3], Operations: ['1+2=3']
Exploring Operation: 3/3=1, Resulting Numbers: [87, 1]
Generated Node #3: [87, 1] from Operation: 3/3=1
Current State: 88:[87, 1], Operations: ['1+2=3', '3/3=1']
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[1, 2, 87, 3], Operations: []
Exploring Operation: 1+3=4, Resulting Numbers: [2, 87, 4]
Generated Node #0,0: 88:[2, 87, 4] Operation: 1+3=4
Exploring Operation: 1+87=88, Resulting Numbers: [2, 3, 88]
Generated Node #0,1: 88:[2, 3, 88] Operation: 1+87=88
Exploring Operation: 3-1=2, Resulting Numbers: [2, 87, 2]
Generated Node #0,2: 88:[2, 87, 2] Operation: 3-1=2
Exploring Operation: 1*2=2, Resulting Numbers: [87, 3, 2]
Generated Node #0,3: 88:[87, 3, 2] Operation: 1*2=2
Moving to Node #0,0
Current State: 88:[2, 87, 4], Operations: ['1+3=4']
Exploring Operation: 2*4=8, Resulting Numbers: [87, 8]
Generated Node #0,0,0: 88:[87, 8] Operation: 2*4=8
Exploring Operation: 4/2=2, Resulting Numbers: [87, 2]
Generated Node #0,0,1: 88:[87, 2] Operation: 4/2=2
Exploring Operation: 4-2=2, Resulting Numbers: [87, 2]
Generated Node #0,0,2: 88:[87, 2] Operation: 4-2=2
Exploring Operation: 2+87=89, Resulting Numbers: [4, 89]
Generated Node #0,0,3: 88:[4, 89] Operation: 2+87=89
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[87, 8], Operations: ['1+3=4', '2*4=8']
Exploring Operation: 87*8=696, Resulting Numbers: [696]
696,88 unequal: No Solution
Exploring Operation: 87+8=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[87, 2], Operations: ['1+3=4', '4/2=2']
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 87*2=174, Resulting Numbers: [174]
174,88 unequal: No Solution
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[87, 2], Operations: ['1+3=4', '4-2=2']
Exploring Operation: 87*2=174, Resulting Numbers: [174]
174,88 unequal: No Solution
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 88:[4, 89], Operations: ['1+3=4', '2+87=89']
Exploring Operation: 4+89=93, Resulting Numbers: [93]
93,88 unequal: No Solution
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,88 unequal: No Solution
Exploring Operation: 4*89=356, Resulting Numbers: [356]
356,88 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: 88:[2, 87, 2], Operations: ['3-1=2']
Exploring Operation: 87+2=89, Resulting Numbers: [2, 89]
Generated Node #0,2,0: 88:[2, 89] Operation: 87+2=89
Exploring Operation: 2*2=4, Resulting Numbers: [87, 4]
Generated Node #0,2,1: 88:[87, 4] Operation: 2*2=4
Exploring Operation: 2+2=4, Resulting Numbers: [87, 4]
Generated Node #0,2,2: 88:[87, 4] Operation: 2+2=4
Exploring Operation: 2+87=89, Resulting Numbers: [2, 89]
Generated Node #0,2,3: 88:[2, 89] Operation: 2+87=89
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[2, 89], Operations: ['3-1=2', '87+2=89']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,88 unequal: No Solution
Exploring Operation: 2*89=178, Resulting Numbers: [178]
178,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:[87, 4], Operations: ['3-1=2', '2*2=4']
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,88 unequal: No Solution
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,88 unequal: No Solution
Exploring Operation: 87*4=348, Resulting Numbers: [348]
348,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:[87, 4], Operations: ['3-1=2', '2+2=4']
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,88 unequal: No Solution
Exploring Operation: 87*4=348, Resulting Numbers: [348]
348,88 unequal: No Solution
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,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:[2, 89], Operations: ['3-1=2', '2+87=89']
Exploring Operation: 2*89=178, Resulting Numbers: [178]
178,88 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,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:[2, 3, 88], Operations: ['1+87=88']
Exploring Operation: 2+3=5, Resulting Numbers: [88, 5]
Generated Node #0,1,0: 88:[88, 5] Operation: 2+3=5
Exploring Operation: 2*3=6, Resulting Numbers: [88, 6]
Generated Node #0,1,1: 88:[88, 6] Operation: 2*3=6
Exploring Operation: 88/2=44, Resulting Numbers: [3, 44]
Generated Node #0,1,2: 88:[3, 44] Operation: 88/2=44
Exploring Operation: 3-2=1, Resulting Numbers: [88, 1]
Generated Node #0,1,3: 88:[88, 1] Operation: 3-2=1
Moving to Node #0,3
Current State: 88:[87, 3, 2], Operations: ['1*2=2']
Exploring Operation: 3-2=1, Resulting Numbers: [87, 1]
Generated Node #0,3,0: 88:[87, 1] Operation: 3-2=1
Exploring Operation: 3+2=5, Resulting Numbers: [87, 5]
Generated Node #0,3,1: 88:[87, 5] Operation: 3+2=5
Exploring Operation: 87+3=90, Resulting Numbers: [2, 90]
Generated Node #0,3,2: 88:[2, 90] Operation: 87+3=90
Exploring Operation: 87+2=89, Resulting Numbers: [3, 89]
Generated Node #0,3,3: 88:[3, 89] Operation: 87+2=89
Moving to Node #0,1,0
Current State: 88:[88, 5], Operations: ['1+87=88', '2+3=5']
Exploring Operation: 88*5=440, Resulting Numbers: [440]
440,88 unequal: No Solution
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,88 unequal: No Solution
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,88 unequal: No Solution
Moving to Node #0,1,3
Current State: 88:[88, 1], Operations: ['1+87=88', '3-2=1']
Exploring Operation: 88/1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[1, 2, 87, 3], Operations: []
Exploring Operation: 1+87=88, Resulting Numbers: [2, 3, 88]
Generated Node #0,1: 88:[2, 3, 88] Operation: 1+87=88
Moving to Node #0,1
Current State: 88:[2, 3, 88], Operations: ['1+87=88']
Exploring Operation: 3-2=1, Resulting Numbers: [88, 1]
Generated Node #0,1,3: 88:[88, 1] Operation: 3-2=1
Moving to Node #0,1,3
Current State: 88:[88, 1], Operations: ['1+87=88', '3-2=1']
Exploring Operation: 88/1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.954861 | hs_4 | sum_heuristic |
[
83,
24,
36,
39
] | 75 | [
"39-36=3",
"24/3=8",
"83-8=75"
] | Current State: 75:[83, 24, 36, 39], Operations: []
Exploring Operation: 39-36=3, Resulting Numbers: [83, 24, 3]
Generated Node #2: [83, 24, 3] from Operation: 39-36=3
Current State: 75:[83, 24, 3], Operations: ['39-36=3']
Exploring Operation: 24/3=8, Resulting Numbers: [83, 8]
Generated Node #3: [83, 8] from Operation: 24/3=8
Current State: 75:[83, 8], Operations: ['39-36=3', '24/3=8']
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[83, 24, 36, 39], Operations: []
Exploring Operation: 36+39=75, Resulting Numbers: [83, 24, 75]
Generated Node #0,0: 75:[83, 24, 75] Operation: 36+39=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[83, 24, 75], Operations: ['36+39=75']
Exploring Operation: 83-75=8, Resulting Numbers: [24, 8]
Generated Node #0,0,0: 75:[24, 8] Operation: 83-75=8
Moving to Node #0,0,0
Current State: 75:[24, 8], Operations: ['36+39=75', '83-75=8']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,75 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 |
[
25,
84,
5,
15
] | 92 | [
"25+15=40",
"40/5=8",
"84+8=92"
] | Current State: 92:[25, 84, 5, 15], Operations: []
Exploring Operation: 25+15=40, Resulting Numbers: [84, 5, 40]
Generated Node #2: [84, 5, 40] from Operation: 25+15=40
Current State: 92:[84, 5, 40], Operations: ['25+15=40']
Exploring Operation: 40/5=8, Resulting Numbers: [84, 8]
Generated Node #3: [84, 8] from Operation: 40/5=8
Current State: 92:[84, 8], Operations: ['25+15=40', '40/5=8']
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[25, 84, 5, 15], Operations: []
Exploring Operation: 15/5=3, Resulting Numbers: [25, 84, 3]
Generated Node #0,0: 92:[25, 84, 3] Operation: 15/5=3
Exploring Operation: 84+5=89, Resulting Numbers: [25, 15, 89]
Generated Node #0,1: 92:[25, 15, 89] Operation: 84+5=89
Exploring Operation: 84+15=99, Resulting Numbers: [25, 5, 99]
Generated Node #0,2: 92:[25, 5, 99] Operation: 84+15=99
Moving to Node #0,2
Current State: 92:[25, 5, 99], Operations: ['84+15=99']
Exploring Operation: 99-5=94, Resulting Numbers: [25, 94]
Generated Node #0,2,0: 92:[25, 94] Operation: 99-5=94
Exploring Operation: 25/5=5, Resulting Numbers: [99, 5]
Generated Node #0,2,1: 92:[99, 5] Operation: 25/5=5
Exploring Operation: 25-5=20, Resulting Numbers: [99, 20]
Generated Node #0,2,2: 92:[99, 20] Operation: 25-5=20
Moving to Node #0,0
Current State: 92:[25, 84, 3], Operations: ['15/5=3']
Exploring Operation: 25-3=22, Resulting Numbers: [84, 22]
Generated Node #0,0,0: 92:[84, 22] Operation: 25-3=22
Exploring Operation: 84/3=28, Resulting Numbers: [25, 28]
Generated Node #0,0,1: 92:[25, 28] Operation: 84/3=28
Exploring Operation: 84+3=87, Resulting Numbers: [25, 87]
Generated Node #0,0,2: 92:[25, 87] Operation: 84+3=87
Moving to Node #0,1
Current State: 92:[25, 15, 89], Operations: ['84+5=89']
Exploring Operation: 25-15=10, Resulting Numbers: [89, 10]
Generated Node #0,1,0: 92:[89, 10] Operation: 25-15=10
Exploring Operation: 25+15=40, Resulting Numbers: [89, 40]
Generated Node #0,1,1: 92:[89, 40] Operation: 25+15=40
Exploring Operation: 15+89=104, Resulting Numbers: [25, 104]
Generated Node #0,1,2: 92:[25, 104] Operation: 15+89=104
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[89, 10], Operations: ['84+5=89', '25-15=10']
Exploring Operation: 89+10=99, Resulting Numbers: [99]
99,92 unequal: No Solution
Exploring Operation: 89-10=79, Resulting Numbers: [79]
79,92 unequal: No Solution
Exploring Operation: 89*10=890, Resulting Numbers: [890]
890,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[89, 40], Operations: ['84+5=89', '25+15=40']
Exploring Operation: 89*40=3560, Resulting Numbers: [3560]
3560,92 unequal: No Solution
Exploring Operation: 89+40=129, Resulting Numbers: [129]
129,92 unequal: No Solution
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 92:[25, 104], Operations: ['84+5=89', '15+89=104']
Exploring Operation: 25*104=2600, Resulting Numbers: [2600]
2600,92 unequal: No Solution
Exploring Operation: 25+104=129, Resulting Numbers: [129]
129,92 unequal: No Solution
Exploring Operation: 104-25=79, Resulting Numbers: [79]
79,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 92:[25, 94], Operations: ['84+15=99', '99-5=94']
Exploring Operation: 94-25=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 25*94=2350, Resulting Numbers: [2350]
2350,92 unequal: No Solution
Exploring Operation: 25+94=119, Resulting Numbers: [119]
119,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[25, 28], Operations: ['15/5=3', '84/3=28']
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 25*28=700, Resulting Numbers: [700]
700,92 unequal: No Solution
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[25, 87], Operations: ['15/5=3', '84+3=87']
Exploring Operation: 25+87=112, Resulting Numbers: [112]
112,92 unequal: No Solution
Exploring Operation: 25*87=2175, Resulting Numbers: [2175]
2175,92 unequal: No Solution
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[99, 5], Operations: ['84+15=99', '25/5=5']
Exploring Operation: 99-5=94, Resulting Numbers: [94]
94,92 unequal: No Solution
Exploring Operation: 99*5=495, Resulting Numbers: [495]
495,92 unequal: No Solution
Exploring Operation: 99+5=104, Resulting Numbers: [104]
104,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[84, 22], Operations: ['15/5=3', '25-3=22']
Exploring Operation: 84*22=1848, Resulting Numbers: [1848]
1848,92 unequal: No Solution
Exploring Operation: 84+22=106, Resulting Numbers: [106]
106,92 unequal: No Solution
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[99, 20], Operations: ['84+15=99', '25-5=20']
Exploring Operation: 99*20=1980, Resulting Numbers: [1980]
1980,92 unequal: No Solution
Exploring Operation: 99-20=79, Resulting Numbers: [79]
79,92 unequal: No Solution
Exploring Operation: 99+20=119, Resulting Numbers: [119]
119,92 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
99,
62,
99,
21
] | 42 | [
"99/99=1",
"62-21=41",
"1+41=42"
] | Current State: 42:[99, 62, 99, 21], Operations: []
Exploring Operation: 99/99=1, Resulting Numbers: [62, 21, 1]
Generated Node #2: [62, 21, 1] from Operation: 99/99=1
Current State: 42:[62, 21, 1], Operations: ['99/99=1']
Exploring Operation: 62-21=41, Resulting Numbers: [1, 41]
Generated Node #3: [1, 41] from Operation: 62-21=41
Current State: 42:[1, 41], Operations: ['99/99=1', '62-21=41']
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[99, 62, 99, 21], Operations: []
Exploring Operation: 99-99=0, Resulting Numbers: [62, 21, 0]
Generated Node #0,0: 42:[62, 21, 0] Operation: 99-99=0
Exploring Operation: 99/99=1, Resulting Numbers: [62, 21, 1]
Generated Node #0,1: 42:[62, 21, 1] Operation: 99/99=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[62, 21, 1], Operations: ['99/99=1']
Exploring Operation: 62-21=41, Resulting Numbers: [1, 41]
Generated Node #0,1,0: 42:[1, 41] Operation: 62-21=41
Exploring Operation: 62-1=61, Resulting Numbers: [21, 61]
Generated Node #0,1,1: 42:[21, 61] Operation: 62-1=61
Moving to Node #0,1,0
Current State: 42:[1, 41], Operations: ['99/99=1', '62-21=41']
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[99, 62, 99, 21], Operations: []
Exploring Operation: 99/99=1, Resulting Numbers: [62, 21, 1]
Generated Node #0,1: 42:[62, 21, 1] Operation: 99/99=1
Moving to Node #0,1
Current State: 42:[62, 21, 1], Operations: ['99/99=1']
Exploring Operation: 62-21=41, Resulting Numbers: [1, 41]
Generated Node #0,1,0: 42:[1, 41] Operation: 62-21=41
Moving to Node #0,1,0
Current State: 42:[1, 41], Operations: ['99/99=1', '62-21=41']
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
70,
40,
51,
91
] | 69 | [
"40+51=91",
"91/91=1",
"70-1=69"
] | Current State: 69:[70, 40, 51, 91], Operations: []
Exploring Operation: 40+51=91, Resulting Numbers: [70, 91, 91]
Generated Node #2: [70, 91, 91] from Operation: 40+51=91
Current State: 69:[70, 91, 91], Operations: ['40+51=91']
Exploring Operation: 91/91=1, Resulting Numbers: [70, 1]
Generated Node #3: [70, 1] from Operation: 91/91=1
Current State: 69:[70, 1], Operations: ['40+51=91', '91/91=1']
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[70, 40, 51, 91], Operations: []
Exploring Operation: 51-40=11, Resulting Numbers: [70, 91, 11]
Generated Node #0,0: 69:[70, 91, 11] Operation: 51-40=11
Exploring Operation: 91-51=40, Resulting Numbers: [70, 40, 40]
Generated Node #0,1: 69:[70, 40, 40] Operation: 91-51=40
Exploring Operation: 91-70=21, Resulting Numbers: [40, 51, 21]
Generated Node #0,2: 69:[40, 51, 21] Operation: 91-70=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[70, 91, 11], Operations: ['51-40=11']
Exploring Operation: 70-11=59, Resulting Numbers: [91, 59]
Generated Node #0,0,0: 69:[91, 59] Operation: 70-11=59
Exploring Operation: 91-11=80, Resulting Numbers: [70, 80]
Generated Node #0,0,1: 69:[70, 80] Operation: 91-11=80
Exploring Operation: 91-70=21, Resulting Numbers: [11, 21]
Generated Node #0,0,2: 69:[11, 21] Operation: 91-70=21
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 69:[11, 21], Operations: ['51-40=11', '91-70=21']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,69 unequal: No Solution
No 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: 69:[70, 80], Operations: ['51-40=11', '91-11=80']
Exploring Operation: 80-70=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 70+80=150, Resulting Numbers: [150]
150,69 unequal: No Solution
Exploring Operation: 70*80=5600, Resulting Numbers: [5600]
5600,69 unequal: No Solution
No 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: 69:[91, 59], Operations: ['51-40=11', '70-11=59']
Exploring Operation: 91+59=150, Resulting Numbers: [150]
150,69 unequal: No Solution
Exploring Operation: 91-59=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 91*59=5369, Resulting Numbers: [5369]
5369,69 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: 69:[70, 40, 40], Operations: ['91-51=40']
Exploring Operation: 40/40=1, Resulting Numbers: [70, 1]
Generated Node #0,1,0: 69:[70, 1] Operation: 40/40=1
Exploring Operation: 40-40=0, Resulting Numbers: [70, 0]
Generated Node #0,1,1: 69:[70, 0] Operation: 40-40=0
Exploring Operation: 40+40=80, Resulting Numbers: [70, 80]
Generated Node #0,1,2: 69:[70, 80] Operation: 40+40=80
Moving to Node #0,1,0
Current State: 69:[70, 1], Operations: ['91-51=40', '40/40=1']
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[70, 40, 51, 91], Operations: []
Exploring Operation: 91-51=40, Resulting Numbers: [70, 40, 40]
Generated Node #0,1: 69:[70, 40, 40] Operation: 91-51=40
Moving to Node #0,1
Current State: 69:[70, 40, 40], Operations: ['91-51=40']
Exploring Operation: 40/40=1, Resulting Numbers: [70, 1]
Generated Node #0,1,0: 69:[70, 1] Operation: 40/40=1
Moving to Node #0,1,0
Current State: 69:[70, 1], Operations: ['91-51=40', '40/40=1']
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
69,
4,
56,
32
] | 62 | [
"4*56=224",
"224/32=7",
"69-7=62"
] | Current State: 62:[69, 4, 56, 32], Operations: []
Exploring Operation: 4*56=224, Resulting Numbers: [69, 32, 224]
Generated Node #2: [69, 32, 224] from Operation: 4*56=224
Current State: 62:[69, 32, 224], Operations: ['4*56=224']
Exploring Operation: 224/32=7, Resulting Numbers: [69, 7]
Generated Node #3: [69, 7] from Operation: 224/32=7
Current State: 62:[69, 7], Operations: ['4*56=224', '224/32=7']
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[69, 4, 56, 32], Operations: []
Exploring Operation: 69-4=65, Resulting Numbers: [56, 32, 65]
Generated Node #0,0: 62:[56, 32, 65] Operation: 69-4=65
Exploring Operation: 32-4=28, Resulting Numbers: [69, 56, 28]
Generated Node #0,1: 62:[69, 56, 28] Operation: 32-4=28
Exploring Operation: 69-32=37, Resulting Numbers: [4, 56, 37]
Generated Node #0,2: 62:[4, 56, 37] Operation: 69-32=37
Exploring Operation: 69-56=13, Resulting Numbers: [4, 32, 13]
Generated Node #0,3: 62:[4, 32, 13] Operation: 69-56=13
Exploring Operation: 4+56=60, Resulting Numbers: [69, 32, 60]
Generated Node #0,4: 62:[69, 32, 60] Operation: 4+56=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[56, 32, 65], Operations: ['69-4=65']
Exploring Operation: 65-32=33, Resulting Numbers: [56, 33]
Generated Node #0,0,0: 62:[56, 33] Operation: 65-32=33
Exploring Operation: 32+65=97, Resulting Numbers: [56, 97]
Generated Node #0,0,1: 62:[56, 97] Operation: 32+65=97
Exploring Operation: 56+32=88, Resulting Numbers: [65, 88]
Generated Node #0,0,2: 62:[65, 88] Operation: 56+32=88
Exploring Operation: 65-56=9, Resulting Numbers: [32, 9]
Generated Node #0,0,3: 62:[32, 9] Operation: 65-56=9
Exploring Operation: 56-32=24, Resulting Numbers: [65, 24]
Generated Node #0,0,4: 62:[65, 24] Operation: 56-32=24
Moving to Node #0,0,0
Current State: 62:[56, 33], Operations: ['69-4=65', '65-32=33']
Exploring Operation: 56+33=89, Resulting Numbers: [89]
89,62 unequal: No Solution
Exploring Operation: 56*33=1848, Resulting Numbers: [1848]
1848,62 unequal: No Solution
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[32, 9], Operations: ['69-4=65', '65-56=9']
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,62 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,62 unequal: No Solution
Moving to Node #0,0,4
Current State: 62:[65, 24], Operations: ['69-4=65', '56-32=24']
Exploring Operation: 65*24=1560, Resulting Numbers: [1560]
1560,62 unequal: No Solution
Exploring Operation: 65+24=89, Resulting Numbers: [89]
89,62 unequal: No Solution
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[65, 88], Operations: ['69-4=65', '56+32=88']
Exploring Operation: 65*88=5720, Resulting Numbers: [5720]
5720,62 unequal: No Solution
Exploring Operation: 65+88=153, Resulting Numbers: [153]
153,62 unequal: No Solution
Exploring Operation: 88-65=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[56, 97], Operations: ['69-4=65', '32+65=97']
Exploring Operation: 56+97=153, Resulting Numbers: [153]
153,62 unequal: No Solution
Exploring Operation: 56*97=5432, Resulting Numbers: [5432]
5432,62 unequal: No Solution
Exploring Operation: 97-56=41, Resulting Numbers: [41]
41,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 62:[69, 32, 60], Operations: ['4+56=60']
Exploring Operation: 69+32=101, Resulting Numbers: [60, 101]
Generated Node #0,4,0: 62:[60, 101] Operation: 69+32=101
Exploring Operation: 69-32=37, Resulting Numbers: [60, 37]
Generated Node #0,4,1: 62:[60, 37] Operation: 69-32=37
Exploring Operation: 60-32=28, Resulting Numbers: [69, 28]
Generated Node #0,4,2: 62:[69, 28] Operation: 60-32=28
Exploring Operation: 69-60=9, Resulting Numbers: [32, 9]
Generated Node #0,4,3: 62:[32, 9] Operation: 69-60=9
Exploring Operation: 32+60=92, Resulting Numbers: [69, 92]
Generated Node #0,4,4: 62:[69, 92] Operation: 32+60=92
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 62:[60, 37], Operations: ['4+56=60', '69-32=37']
Exploring Operation: 60*37=2220, Resulting Numbers: [2220]
2220,62 unequal: No Solution
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 60+37=97, Resulting Numbers: [97]
97,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,4,3
Current State: 62:[32, 9], Operations: ['4+56=60', '69-60=9']
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,62 unequal: No Solution
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,62 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,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,4,2
Current State: 62:[69, 28], Operations: ['4+56=60', '60-32=28']
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,62 unequal: No Solution
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,62 unequal: No Solution
Exploring Operation: 69*28=1932, Resulting Numbers: [1932]
1932,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,4,4
Current State: 62:[69, 92], Operations: ['4+56=60', '32+60=92']
Exploring Operation: 69*92=6348, Resulting Numbers: [6348]
6348,62 unequal: No Solution
Exploring Operation: 92-69=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 69+92=161, Resulting Numbers: [161]
161,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,4,0
Current State: 62:[60, 101], Operations: ['4+56=60', '69+32=101']
Exploring Operation: 60+101=161, Resulting Numbers: [161]
161,62 unequal: No Solution
Exploring Operation: 60*101=6060, Resulting Numbers: [6060]
6060,62 unequal: No Solution
Exploring Operation: 101-60=41, Resulting Numbers: [41]
41,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:[4, 56, 37], Operations: ['69-32=37']
Exploring Operation: 56-4=52, Resulting Numbers: [37, 52]
Generated Node #0,2,0: 62:[37, 52] Operation: 56-4=52
Exploring Operation: 37-4=33, Resulting Numbers: [56, 33]
Generated Node #0,2,1: 62:[56, 33] Operation: 37-4=33
Exploring Operation: 56-37=19, Resulting Numbers: [4, 19]
Generated Node #0,2,2: 62:[4, 19] Operation: 56-37=19
Exploring Operation: 4+56=60, Resulting Numbers: [37, 60]
Generated Node #0,2,3: 62:[37, 60] Operation: 4+56=60
Exploring Operation: 4+37=41, Resulting Numbers: [56, 41]
Generated Node #0,2,4: 62:[56, 41] Operation: 4+37=41
Moving to Node #0,2,1
Current State: 62:[56, 33], Operations: ['69-32=37', '37-4=33']
Exploring Operation: 56*33=1848, Resulting Numbers: [1848]
1848,62 unequal: No Solution
Exploring Operation: 56+33=89, Resulting Numbers: [89]
89,62 unequal: No Solution
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Moving to Node #0,2,3
Current State: 62:[37, 60], Operations: ['69-32=37', '4+56=60']
Exploring Operation: 37+60=97, Resulting Numbers: [97]
97,62 unequal: No Solution
Exploring Operation: 37*60=2220, Resulting Numbers: [2220]
2220,62 unequal: No Solution
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[4, 19], Operations: ['69-32=37', '56-37=19']
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[37, 52], Operations: ['69-32=37', '56-4=52']
Exploring Operation: 37*52=1924, Resulting Numbers: [1924]
1924,62 unequal: No Solution
Exploring Operation: 37+52=89, Resulting Numbers: [89]
89,62 unequal: No Solution
Exploring Operation: 52-37=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Moving to Node #0,2,4
Current State: 62:[56, 41], Operations: ['69-32=37', '4+37=41']
Exploring Operation: 56+41=97, Resulting Numbers: [97]
97,62 unequal: No Solution
Exploring Operation: 56-41=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 56*41=2296, Resulting Numbers: [2296]
2296,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[4, 32, 13], Operations: ['69-56=13']
Exploring Operation: 13-4=9, Resulting Numbers: [32, 9]
Generated Node #0,3,0: 62:[32, 9] Operation: 13-4=9
Exploring Operation: 32-4=28, Resulting Numbers: [13, 28]
Generated Node #0,3,1: 62:[13, 28] Operation: 32-4=28
Exploring Operation: 4*13=52, Resulting Numbers: [32, 52]
Generated Node #0,3,2: 62:[32, 52] Operation: 4*13=52
Exploring Operation: 32-13=19, Resulting Numbers: [4, 19]
Generated Node #0,3,3: 62:[4, 19] Operation: 32-13=19
Exploring Operation: 4+13=17, Resulting Numbers: [32, 17]
Generated Node #0,3,4: 62:[32, 17] Operation: 4+13=17
Moving to Node #0,3,0
Current State: 62:[32, 9], Operations: ['69-56=13', '13-4=9']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,62 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[32, 52], Operations: ['69-56=13', '4*13=52']
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 32*52=1664, Resulting Numbers: [1664]
1664,62 unequal: No Solution
Exploring Operation: 32+52=84, Resulting Numbers: [84]
84,62 unequal: No Solution
Moving to Node #0,3,1
Current State: 62:[13, 28], Operations: ['69-56=13', '32-4=28']
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,62 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[4, 19], Operations: ['69-56=13', '32-13=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,62 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Moving to Node #0,3,4
Current State: 62:[32, 17], Operations: ['69-56=13', '4+13=17']
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 32*17=544, Resulting Numbers: [544]
544,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[69, 56, 28], Operations: ['32-4=28']
Exploring Operation: 56/28=2, Resulting Numbers: [69, 2]
Generated Node #0,1,0: 62:[69, 2] Operation: 56/28=2
Exploring Operation: 56-28=28, Resulting Numbers: [69, 28]
Generated Node #0,1,1: 62:[69, 28] Operation: 56-28=28
Exploring Operation: 56+28=84, Resulting Numbers: [69, 84]
Generated Node #0,1,2: 62:[69, 84] Operation: 56+28=84
Exploring Operation: 69-56=13, Resulting Numbers: [28, 13]
Generated Node #0,1,3: 62:[28, 13] Operation: 69-56=13
Exploring Operation: 69-28=41, Resulting Numbers: [56, 41]
Generated Node #0,1,4: 62:[56, 41] Operation: 69-28=41
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 62:[69, 2], Operations: ['32-4=28', '56/28=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,62 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,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,1,1
Current State: 62:[69, 28], Operations: ['32-4=28', '56-28=28']
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,62 unequal: No Solution
Exploring Operation: 69*28=1932, Resulting Numbers: [1932]
1932,62 unequal: No Solution
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,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,1,3
Current State: 62:[28, 13], Operations: ['32-4=28', '69-56=13']
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,62 unequal: No Solution
Exploring Operation: 28*13=364, Resulting Numbers: [364]
364,62 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,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,1,4
Current State: 62:[56, 41], Operations: ['32-4=28', '69-28=41']
Exploring Operation: 56+41=97, Resulting Numbers: [97]
97,62 unequal: No Solution
Exploring Operation: 56*41=2296, Resulting Numbers: [2296]
2296,62 unequal: No Solution
Exploring Operation: 56-41=15, Resulting Numbers: [15]
15,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,1,2
Current State: 62:[69, 84], Operations: ['32-4=28', '56+28=84']
Exploring Operation: 69*84=5796, Resulting Numbers: [5796]
5796,62 unequal: No Solution
Exploring Operation: 84-69=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 69+84=153, Resulting Numbers: [153]
153,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
No solution found.
| 0 | hs_5 | sum_heuristic |
[
63,
62,
25,
68
] | 42 | [
"63*62=3906",
"25+68=93",
"3906/93=42"
] | Current State: 42:[63, 62, 25, 68], Operations: []
Exploring Operation: 63*62=3906, Resulting Numbers: [25, 68, 3906]
Generated Node #2: [25, 68, 3906] from Operation: 63*62=3906
Current State: 42:[25, 68, 3906], Operations: ['63*62=3906']
Exploring Operation: 25+68=93, Resulting Numbers: [3906, 93]
Generated Node #3: [3906, 93] from Operation: 25+68=93
Current State: 42:[3906, 93], Operations: ['63*62=3906', '25+68=93']
Exploring Operation: 3906/93=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[63, 62, 25, 68], Operations: []
Exploring Operation: 68-63=5, Resulting Numbers: [62, 25, 5]
Generated Node #0,0: 42:[62, 25, 5] Operation: 68-63=5
Moving to Node #0,0
Current State: 42:[62, 25, 5], Operations: ['68-63=5']
Exploring Operation: 62-25=37, Resulting Numbers: [5, 37]
Generated Node #0,0,0: 42:[5, 37] Operation: 62-25=37
Moving to Node #0,0,0
Current State: 42:[5, 37], Operations: ['68-63=5', '62-25=37']
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[63, 62, 25, 68], Operations: []
Exploring Operation: 68-63=5, Resulting Numbers: [62, 25, 5]
Generated Node #0,0: 42:[62, 25, 5] Operation: 68-63=5
Moving to Node #0,0
Current State: 42:[62, 25, 5], Operations: ['68-63=5']
Exploring Operation: 62-25=37, Resulting Numbers: [5, 37]
Generated Node #0,0,0: 42:[5, 37] Operation: 62-25=37
Moving to Node #0,0,0
Current State: 42:[5, 37], Operations: ['68-63=5', '62-25=37']
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
44,
48,
64,
7
] | 36 | [
"48-44=4",
"7*4=28",
"64-28=36"
] | Current State: 36:[44, 48, 64, 7], Operations: []
Exploring Operation: 48-44=4, Resulting Numbers: [64, 7, 4]
Generated Node #2: [64, 7, 4] from Operation: 48-44=4
Current State: 36:[64, 7, 4], Operations: ['48-44=4']
Exploring Operation: 7*4=28, Resulting Numbers: [64, 28]
Generated Node #3: [64, 28] from Operation: 7*4=28
Current State: 36:[64, 28], Operations: ['48-44=4', '7*4=28']
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[44, 48, 64, 7], Operations: []
Exploring Operation: 64-44=20, Resulting Numbers: [48, 7, 20]
Generated Node #0,0: 36:[48, 7, 20] Operation: 64-44=20
Exploring Operation: 64-48=16, Resulting Numbers: [44, 7, 16]
Generated Node #0,1: 36:[44, 7, 16] Operation: 64-48=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[44, 7, 16], Operations: ['64-48=16']
Exploring Operation: 16-7=9, Resulting Numbers: [44, 9]
Generated Node #0,1,0: 36:[44, 9] Operation: 16-7=9
Exploring Operation: 44-7=37, Resulting Numbers: [16, 37]
Generated Node #0,1,1: 36:[16, 37] Operation: 44-7=37
Moving to Node #0,1,1
Current State: 36:[16, 37], Operations: ['64-48=16', '44-7=37']
Exploring Operation: 16+37=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[44, 9], Operations: ['64-48=16', '16-7=9']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[48, 7, 20], Operations: ['64-44=20']
Exploring Operation: 48-20=28, Resulting Numbers: [7, 28]
Generated Node #0,0,0: 36:[7, 28] Operation: 48-20=28
Exploring Operation: 48-7=41, Resulting Numbers: [20, 41]
Generated Node #0,0,1: 36:[20, 41] Operation: 48-7=41
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 36:[20, 41], Operations: ['64-44=20', '48-7=41']
Exploring Operation: 20+41=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,36 unequal: No Solution
No 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: 36:[7, 28], Operations: ['64-44=20', '48-20=28']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,36 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 |
[
60,
25,
65,
94
] | 89 | [
"60+65=125",
"125/25=5",
"94-5=89"
] | Current State: 89:[60, 25, 65, 94], Operations: []
Exploring Operation: 60+65=125, Resulting Numbers: [25, 94, 125]
Generated Node #2: [25, 94, 125] from Operation: 60+65=125
Current State: 89:[25, 94, 125], Operations: ['60+65=125']
Exploring Operation: 125/25=5, Resulting Numbers: [94, 5]
Generated Node #3: [94, 5] from Operation: 125/25=5
Current State: 89:[94, 5], Operations: ['60+65=125', '125/25=5']
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[60, 25, 65, 94], Operations: []
Exploring Operation: 60+25=85, Resulting Numbers: [65, 94, 85]
Generated Node #0,0: 89:[65, 94, 85] Operation: 60+25=85
Exploring Operation: 60-25=35, Resulting Numbers: [65, 94, 35]
Generated Node #0,1: 89:[65, 94, 35] Operation: 60-25=35
Exploring Operation: 25+65=90, Resulting Numbers: [60, 94, 90]
Generated Node #0,2: 89:[60, 94, 90] Operation: 25+65=90
Exploring Operation: 94-25=69, Resulting Numbers: [60, 65, 69]
Generated Node #0,3: 89:[60, 65, 69] Operation: 94-25=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[65, 94, 85], Operations: ['60+25=85']
Exploring Operation: 85-65=20, Resulting Numbers: [94, 20]
Generated Node #0,0,0: 89:[94, 20] Operation: 85-65=20
Exploring Operation: 94-65=29, Resulting Numbers: [85, 29]
Generated Node #0,0,1: 89:[85, 29] Operation: 94-65=29
Exploring Operation: 65+85=150, Resulting Numbers: [94, 150]
Generated Node #0,0,2: 89:[94, 150] Operation: 65+85=150
Exploring Operation: 65+94=159, Resulting Numbers: [85, 159]
Generated Node #0,0,3: 89:[85, 159] Operation: 65+94=159
Moving to Node #0,0,1
Current State: 89:[85, 29], Operations: ['60+25=85', '94-65=29']
Exploring Operation: 85*29=2465, Resulting Numbers: [2465]
2465,89 unequal: No Solution
Exploring Operation: 85+29=114, Resulting Numbers: [114]
114,89 unequal: No Solution
Exploring Operation: 85-29=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[94, 150], Operations: ['60+25=85', '65+85=150']
Exploring Operation: 94+150=244, Resulting Numbers: [244]
244,89 unequal: No Solution
Exploring Operation: 150-94=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 94*150=14100, Resulting Numbers: [14100]
14100,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[85, 159], Operations: ['60+25=85', '65+94=159']
Exploring Operation: 85+159=244, Resulting Numbers: [244]
244,89 unequal: No Solution
Exploring Operation: 85*159=13515, Resulting Numbers: [13515]
13515,89 unequal: No Solution
Exploring Operation: 159-85=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[94, 20], Operations: ['60+25=85', '85-65=20']
Exploring Operation: 94-20=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 94*20=1880, Resulting Numbers: [1880]
1880,89 unequal: No Solution
Exploring Operation: 94+20=114, Resulting Numbers: [114]
114,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:[60, 94, 90], Operations: ['25+65=90']
Exploring Operation: 60+90=150, Resulting Numbers: [94, 150]
Generated Node #0,2,0: 89:[94, 150] Operation: 60+90=150
Exploring Operation: 94-60=34, Resulting Numbers: [90, 34]
Generated Node #0,2,1: 89:[90, 34] Operation: 94-60=34
Exploring Operation: 90-60=30, Resulting Numbers: [94, 30]
Generated Node #0,2,2: 89:[94, 30] Operation: 90-60=30
Exploring Operation: 60+94=154, Resulting Numbers: [90, 154]
Generated Node #0,2,3: 89:[90, 154] Operation: 60+94=154
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 89:[90, 34], Operations: ['25+65=90', '94-60=34']
Exploring Operation: 90*34=3060, Resulting Numbers: [3060]
3060,89 unequal: No Solution
Exploring Operation: 90+34=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 90-34=56, Resulting Numbers: [56]
56,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,2,2
Current State: 89:[94, 30], Operations: ['25+65=90', '90-60=30']
Exploring Operation: 94+30=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 94*30=2820, Resulting Numbers: [2820]
2820,89 unequal: No Solution
Exploring Operation: 94-30=64, Resulting Numbers: [64]
64,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,2,0
Current State: 89:[94, 150], Operations: ['25+65=90', '60+90=150']
Exploring Operation: 94+150=244, Resulting Numbers: [244]
244,89 unequal: No Solution
Exploring Operation: 94*150=14100, Resulting Numbers: [14100]
14100,89 unequal: No Solution
Exploring Operation: 150-94=56, Resulting Numbers: [56]
56,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,2,3
Current State: 89:[90, 154], Operations: ['25+65=90', '60+94=154']
Exploring Operation: 90*154=13860, Resulting Numbers: [13860]
13860,89 unequal: No Solution
Exploring Operation: 90+154=244, Resulting Numbers: [244]
244,89 unequal: No Solution
Exploring Operation: 154-90=64, Resulting Numbers: [64]
64,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,3
Current State: 89:[60, 65, 69], Operations: ['94-25=69']
Exploring Operation: 65+69=134, Resulting Numbers: [60, 134]
Generated Node #0,3,0: 89:[60, 134] Operation: 65+69=134
Exploring Operation: 60+65=125, Resulting Numbers: [69, 125]
Generated Node #0,3,1: 89:[69, 125] Operation: 60+65=125
Exploring Operation: 60+69=129, Resulting Numbers: [65, 129]
Generated Node #0,3,2: 89:[65, 129] Operation: 60+69=129
Exploring Operation: 65-60=5, Resulting Numbers: [69, 5]
Generated Node #0,3,3: 89:[69, 5] Operation: 65-60=5
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 89:[69, 125], Operations: ['94-25=69', '60+65=125']
Exploring Operation: 69+125=194, Resulting Numbers: [194]
194,89 unequal: No Solution
Exploring Operation: 125-69=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 69*125=8625, Resulting Numbers: [8625]
8625,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,3,2
Current State: 89:[65, 129], Operations: ['94-25=69', '60+69=129']
Exploring Operation: 65+129=194, Resulting Numbers: [194]
194,89 unequal: No Solution
Exploring Operation: 129-65=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Exploring Operation: 65*129=8385, Resulting Numbers: [8385]
8385,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,3,0
Current State: 89:[60, 134], Operations: ['94-25=69', '65+69=134']
Exploring Operation: 134-60=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 60+134=194, Resulting Numbers: [194]
194,89 unequal: No Solution
Exploring Operation: 60*134=8040, Resulting Numbers: [8040]
8040,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,3,3
Current State: 89:[69, 5], Operations: ['94-25=69', '65-60=5']
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Exploring Operation: 69*5=345, Resulting Numbers: [345]
345,89 unequal: No Solution
Exploring Operation: 69+5=74, Resulting Numbers: [74]
74,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:[65, 94, 35], Operations: ['60-25=35']
Exploring Operation: 94+35=129, Resulting Numbers: [65, 129]
Generated Node #0,1,0: 89:[65, 129] Operation: 94+35=129
Exploring Operation: 94-35=59, Resulting Numbers: [65, 59]
Generated Node #0,1,1: 89:[65, 59] Operation: 94-35=59
Exploring Operation: 65+35=100, Resulting Numbers: [94, 100]
Generated Node #0,1,2: 89:[94, 100] Operation: 65+35=100
Exploring Operation: 65-35=30, Resulting Numbers: [94, 30]
Generated Node #0,1,3: 89:[94, 30] Operation: 65-35=30
Moving to Node #0,1,2
Current State: 89:[94, 100], Operations: ['60-25=35', '65+35=100']
Exploring Operation: 100-94=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Exploring Operation: 94*100=9400, Resulting Numbers: [9400]
9400,89 unequal: No Solution
Exploring Operation: 94+100=194, Resulting Numbers: [194]
194,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[65, 59], Operations: ['60-25=35', '94-35=59']
Exploring Operation: 65*59=3835, Resulting Numbers: [3835]
3835,89 unequal: No Solution
Exploring Operation: 65+59=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 65-59=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[94, 30], Operations: ['60-25=35', '65-35=30']
Exploring Operation: 94+30=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 94-30=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Exploring Operation: 94*30=2820, Resulting Numbers: [2820]
2820,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[65, 129], Operations: ['60-25=35', '94+35=129']
Exploring Operation: 129-65=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Exploring Operation: 65*129=8385, Resulting Numbers: [8385]
8385,89 unequal: No Solution
Exploring Operation: 65+129=194, Resulting Numbers: [194]
194,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
68,
8,
40,
45
] | 81 | [
"68+8=76",
"45-40=5",
"76+5=81"
] | Current State: 81:[68, 8, 40, 45], Operations: []
Exploring Operation: 68+8=76, Resulting Numbers: [40, 45, 76]
Generated Node #2: [40, 45, 76] from Operation: 68+8=76
Current State: 81:[40, 45, 76], Operations: ['68+8=76']
Exploring Operation: 45-40=5, Resulting Numbers: [76, 5]
Generated Node #3: [76, 5] from Operation: 45-40=5
Current State: 81:[76, 5], Operations: ['68+8=76', '45-40=5']
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[68, 8, 40, 45], Operations: []
Exploring Operation: 45-40=5, Resulting Numbers: [68, 8, 5]
Generated Node #0,0: 81:[68, 8, 5] Operation: 45-40=5
Exploring Operation: 68-45=23, Resulting Numbers: [8, 40, 23]
Generated Node #0,1: 81:[8, 40, 23] Operation: 68-45=23
Moving to Node #0,0
Current State: 81:[68, 8, 5], Operations: ['45-40=5']
Exploring Operation: 68+5=73, Resulting Numbers: [8, 73]
Generated Node #0,0,0: 81:[8, 73] Operation: 68+5=73
Exploring Operation: 68+8=76, Resulting Numbers: [5, 76]
Generated Node #0,0,1: 81:[5, 76] Operation: 68+8=76
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[5, 76], Operations: ['45-40=5', '68+8=76']
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[68, 8, 40, 45], Operations: []
Exploring Operation: 45-40=5, Resulting Numbers: [68, 8, 5]
Generated Node #0,0: 81:[68, 8, 5] Operation: 45-40=5
Moving to Node #0,0
Current State: 81:[68, 8, 5], Operations: ['45-40=5']
Exploring Operation: 68+8=76, Resulting Numbers: [5, 76]
Generated Node #0,0,1: 81:[5, 76] Operation: 68+8=76
Moving to Node #0,0,1
Current State: 81:[5, 76], Operations: ['45-40=5', '68+8=76']
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
22,
7,
7,
54
] | 76 | [
"22+7=29",
"54-7=47",
"29+47=76"
] | Current State: 76:[22, 7, 7, 54], Operations: []
Exploring Operation: 22+7=29, Resulting Numbers: [54, 29]
Generated Node #2: [54, 29] from Operation: 22+7=29
Current State: 76:[54, 29], Operations: ['22+7=29']
Exploring Operation: 54-7=47, Resulting Numbers: [29, 47]
Generated Node #3: [29, 47] from Operation: 54-7=47
Current State: 76:[29, 47], Operations: ['22+7=29', '54-7=47']
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[22, 7, 7, 54], Operations: []
Exploring Operation: 7/7=1, Resulting Numbers: [22, 54, 1]
Generated Node #0,0: 76:[22, 54, 1] Operation: 7/7=1
Exploring Operation: 22+54=76, Resulting Numbers: [7, 7, 76]
Generated Node #0,1: 76:[7, 7, 76] Operation: 22+54=76
Exploring Operation: 54-7=47, Resulting Numbers: [22, 7, 47]
Generated Node #0,2: 76:[22, 7, 47] Operation: 54-7=47
Exploring Operation: 54-7=47, Resulting Numbers: [22, 7, 47]
Generated Node #0,3: 76:[22, 7, 47] Operation: 54-7=47
Exploring Operation: 54-22=32, Resulting Numbers: [7, 7, 32]
Generated Node #0,4: 76:[7, 7, 32] Operation: 54-22=32
Moving to Node #0,1
Current State: 76:[7, 7, 76], Operations: ['22+54=76']
Exploring Operation: 7/7=1, Resulting Numbers: [76, 1]
Generated Node #0,1,0: 76:[76, 1] Operation: 7/7=1
Exploring Operation: 7+7=14, Resulting Numbers: [76, 14]
Generated Node #0,1,1: 76:[76, 14] Operation: 7+7=14
Exploring Operation: 7-7=0, Resulting Numbers: [76, 0]
Generated Node #0,1,2: 76:[76, 0] Operation: 7-7=0
Exploring Operation: 76-7=69, Resulting Numbers: [7, 69]
Generated Node #0,1,3: 76:[7, 69] Operation: 76-7=69
Exploring Operation: 7+76=83, Resulting Numbers: [7, 83]
Generated Node #0,1,4: 76:[7, 83] Operation: 7+76=83
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[76, 1], Operations: ['22+54=76', '7/7=1']
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[22, 7, 7, 54], Operations: []
Exploring Operation: 22+54=76, Resulting Numbers: [7, 7, 76]
Generated Node #0,1: 76:[7, 7, 76] Operation: 22+54=76
Moving to Node #0,1
Current State: 76:[7, 7, 76], Operations: ['22+54=76']
Exploring Operation: 7/7=1, Resulting Numbers: [76, 1]
Generated Node #0,1,0: 76:[76, 1] Operation: 7/7=1
Moving to Node #0,1,0
Current State: 76:[76, 1], Operations: ['22+54=76', '7/7=1']
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
26,
64,
13,
27
] | 50 | [
"26+64=90",
"13+27=40",
"90-40=50"
] | Current State: 50:[26, 64, 13, 27], Operations: []
Exploring Operation: 26+64=90, Resulting Numbers: [13, 27, 90]
Generated Node #2: [13, 27, 90] from Operation: 26+64=90
Current State: 50:[13, 27, 90], Operations: ['26+64=90']
Exploring Operation: 13+27=40, Resulting Numbers: [90, 40]
Generated Node #3: [90, 40] from Operation: 13+27=40
Current State: 50:[90, 40], Operations: ['26+64=90', '13+27=40']
Exploring Operation: 90-40=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[26, 64, 13, 27], Operations: []
Exploring Operation: 64-27=37, Resulting Numbers: [26, 13, 37]
Generated Node #0,0: 50:[26, 13, 37] Operation: 64-27=37
Exploring Operation: 64-13=51, Resulting Numbers: [26, 27, 51]
Generated Node #0,1: 50:[26, 27, 51] Operation: 64-13=51
Exploring Operation: 26/13=2, Resulting Numbers: [64, 27, 2]
Generated Node #0,2: 50:[64, 27, 2] Operation: 26/13=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[26, 27, 51], Operations: ['64-13=51']
Exploring Operation: 51-27=24, Resulting Numbers: [26, 24]
Generated Node #0,1,0: 50:[26, 24] Operation: 51-27=24
Exploring Operation: 27-26=1, Resulting Numbers: [51, 1]
Generated Node #0,1,1: 50:[51, 1] Operation: 27-26=1
Exploring Operation: 51-26=25, Resulting Numbers: [27, 25]
Generated Node #0,1,2: 50:[27, 25] Operation: 51-26=25
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 50:[26, 24], Operations: ['64-13=51', '51-27=24']
Exploring Operation: 26*24=624, Resulting Numbers: [624]
624,50 unequal: No Solution
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[26, 64, 13, 27], Operations: []
Exploring Operation: 64-13=51, Resulting Numbers: [26, 27, 51]
Generated Node #0,1: 50:[26, 27, 51] Operation: 64-13=51
Moving to Node #0,1
Current State: 50:[26, 27, 51], Operations: ['64-13=51']
Exploring Operation: 51-27=24, Resulting Numbers: [26, 24]
Generated Node #0,1,0: 50:[26, 24] Operation: 51-27=24
Moving to Node #0,1,0
Current State: 50:[26, 24], Operations: ['64-13=51', '51-27=24']
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
87,
1,
4,
17
] | 67 | [
"87+1=88",
"4+17=21",
"88-21=67"
] | Current State: 67:[87, 1, 4, 17], Operations: []
Exploring Operation: 87+1=88, Resulting Numbers: [4, 17, 88]
Generated Node #2: [4, 17, 88] from Operation: 87+1=88
Current State: 67:[4, 17, 88], Operations: ['87+1=88']
Exploring Operation: 4+17=21, Resulting Numbers: [88, 21]
Generated Node #3: [88, 21] from Operation: 4+17=21
Current State: 67:[88, 21], Operations: ['87+1=88', '4+17=21']
Exploring Operation: 88-21=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[87, 1, 4, 17], Operations: []
Exploring Operation: 87-4=83, Resulting Numbers: [1, 17, 83]
Generated Node #0,0: 67:[1, 17, 83] Operation: 87-4=83
Exploring Operation: 1+4=5, Resulting Numbers: [87, 17, 5]
Generated Node #0,1: 67:[87, 17, 5] Operation: 1+4=5
Exploring Operation: 87-1=86, Resulting Numbers: [4, 17, 86]
Generated Node #0,2: 67:[4, 17, 86] Operation: 87-1=86
Exploring Operation: 4*17=68, Resulting Numbers: [87, 1, 68]
Generated Node #0,3: 67:[87, 1, 68] Operation: 4*17=68
Exploring Operation: 87-17=70, Resulting Numbers: [1, 4, 70]
Generated Node #0,4: 67:[1, 4, 70] Operation: 87-17=70
Start Sub Search at level 1: Moving to Node #0,3
Current State: 67:[87, 1, 68], Operations: ['4*17=68']
Exploring Operation: 87/1=87, Resulting Numbers: [68, 87]
Generated Node #0,3,0: 67:[68, 87] Operation: 87/1=87
Exploring Operation: 87-1=86, Resulting Numbers: [68, 86]
Generated Node #0,3,1: 67:[68, 86] Operation: 87-1=86
Exploring Operation: 87*1=87, Resulting Numbers: [68, 87]
Generated Node #0,3,2: 67:[68, 87] Operation: 87*1=87
Exploring Operation: 68-1=67, Resulting Numbers: [87, 67]
Generated Node #0,3,3: 67:[87, 67] Operation: 68-1=67
Exploring Operation: 1*68=68, Resulting Numbers: [87, 68]
Generated Node #0,3,4: 67:[87, 68] Operation: 1*68=68
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 67:[68, 86], Operations: ['4*17=68', '87-1=86']
Exploring Operation: 68*86=5848, Resulting Numbers: [5848]
5848,67 unequal: No Solution
Exploring Operation: 86-68=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 68+86=154, Resulting Numbers: [154]
154,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 67:[87, 67], Operations: ['4*17=68', '68-1=67']
Exploring Operation: 87-67=20, Resulting Numbers: [20]
20,67 unequal: No Solution
Exploring Operation: 87*67=5829, Resulting Numbers: [5829]
5829,67 unequal: No Solution
Exploring Operation: 87+67=154, Resulting Numbers: [154]
154,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 67:[68, 87], Operations: ['4*17=68', '87/1=87']
Exploring Operation: 68+87=155, Resulting Numbers: [155]
155,67 unequal: No Solution
Exploring Operation: 68*87=5916, Resulting Numbers: [5916]
5916,67 unequal: No Solution
Exploring Operation: 87-68=19, Resulting Numbers: [19]
19,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 67:[68, 87], Operations: ['4*17=68', '87*1=87']
Exploring Operation: 87-68=19, Resulting Numbers: [19]
19,67 unequal: No Solution
Exploring Operation: 68+87=155, Resulting Numbers: [155]
155,67 unequal: No Solution
Exploring Operation: 68*87=5916, Resulting Numbers: [5916]
5916,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 67:[87, 68], Operations: ['4*17=68', '1*68=68']
Exploring Operation: 87+68=155, Resulting Numbers: [155]
155,67 unequal: No Solution
Exploring Operation: 87-68=19, Resulting Numbers: [19]
19,67 unequal: No Solution
Exploring Operation: 87*68=5916, Resulting Numbers: [5916]
5916,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[1, 17, 83], Operations: ['87-4=83']
Exploring Operation: 17/1=17, Resulting Numbers: [83, 17]
Generated Node #0,0,0: 67:[83, 17] Operation: 17/1=17
Exploring Operation: 1*17=17, Resulting Numbers: [83, 17]
Generated Node #0,0,1: 67:[83, 17] Operation: 1*17=17
Exploring Operation: 1+17=18, Resulting Numbers: [83, 18]
Generated Node #0,0,2: 67:[83, 18] Operation: 1+17=18
Exploring Operation: 1*83=83, Resulting Numbers: [17, 83]
Generated Node #0,0,3: 67:[17, 83] Operation: 1*83=83
Exploring Operation: 83-1=82, Resulting Numbers: [17, 82]
Generated Node #0,0,4: 67:[17, 82] Operation: 83-1=82
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 67:[83, 18], Operations: ['87-4=83', '1+17=18']
Exploring Operation: 83*18=1494, Resulting Numbers: [1494]
1494,67 unequal: No Solution
Exploring Operation: 83-18=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Exploring Operation: 83+18=101, Resulting Numbers: [101]
101,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 67:[17, 82], Operations: ['87-4=83', '83-1=82']
Exploring Operation: 17+82=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 82-17=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Exploring Operation: 17*82=1394, Resulting Numbers: [1394]
1394,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[83, 17], Operations: ['87-4=83', '17/1=17']
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,67 unequal: No Solution
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[83, 17], Operations: ['87-4=83', '1*17=17']
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,67 unequal: No Solution
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,67 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 67:[17, 83], Operations: ['87-4=83', '1*83=83']
Exploring Operation: 17+83=100, Resulting Numbers: [100]
100,67 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 17*83=1411, Resulting Numbers: [1411]
1411,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[87, 17, 5], Operations: ['1+4=5']
Exploring Operation: 87-17=70, Resulting Numbers: [5, 70]
Generated Node #0,1,0: 67:[5, 70] Operation: 87-17=70
Exploring Operation: 17*5=85, Resulting Numbers: [87, 85]
Generated Node #0,1,1: 67:[87, 85] Operation: 17*5=85
Exploring Operation: 87-5=82, Resulting Numbers: [17, 82]
Generated Node #0,1,2: 67:[17, 82] Operation: 87-5=82
Exploring Operation: 17+5=22, Resulting Numbers: [87, 22]
Generated Node #0,1,3: 67:[87, 22] Operation: 17+5=22
Exploring Operation: 87+5=92, Resulting Numbers: [17, 92]
Generated Node #0,1,4: 67:[17, 92] Operation: 87+5=92
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[87, 85], Operations: ['1+4=5', '17*5=85']
Exploring Operation: 87+85=172, Resulting Numbers: [172]
172,67 unequal: No Solution
Exploring Operation: 87*85=7395, Resulting Numbers: [7395]
7395,67 unequal: No Solution
Exploring Operation: 87-85=2, Resulting Numbers: [2]
2,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[5, 70], Operations: ['1+4=5', '87-17=70']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 5*70=350, Resulting Numbers: [350]
350,67 unequal: No Solution
Exploring Operation: 5+70=75, Resulting Numbers: [75]
75,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[17, 82], Operations: ['1+4=5', '87-5=82']
Exploring Operation: 17+82=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 17*82=1394, Resulting Numbers: [1394]
1394,67 unequal: No Solution
Exploring Operation: 82-17=65, Resulting Numbers: [65]
65,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 67:[87, 22], Operations: ['1+4=5', '17+5=22']
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Exploring Operation: 87*22=1914, Resulting Numbers: [1914]
1914,67 unequal: No Solution
Exploring Operation: 87+22=109, Resulting Numbers: [109]
109,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 67:[17, 92], Operations: ['1+4=5', '87+5=92']
Exploring Operation: 92-17=75, Resulting Numbers: [75]
75,67 unequal: No Solution
Exploring Operation: 17+92=109, Resulting Numbers: [109]
109,67 unequal: No Solution
Exploring Operation: 17*92=1564, Resulting Numbers: [1564]
1564,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[4, 17, 86], Operations: ['87-1=86']
Exploring Operation: 17-4=13, Resulting Numbers: [86, 13]
Generated Node #0,2,0: 67:[86, 13] Operation: 17-4=13
Exploring Operation: 86-17=69, Resulting Numbers: [4, 69]
Generated Node #0,2,1: 67:[4, 69] Operation: 86-17=69
Exploring Operation: 4*17=68, Resulting Numbers: [86, 68]
Generated Node #0,2,2: 67:[86, 68] Operation: 4*17=68
Exploring Operation: 86-4=82, Resulting Numbers: [17, 82]
Generated Node #0,2,3: 67:[17, 82] Operation: 86-4=82
Exploring Operation: 4+17=21, Resulting Numbers: [86, 21]
Generated Node #0,2,4: 67:[86, 21] Operation: 4+17=21
Moving to Node #0,2,2
Current State: 67:[86, 68], Operations: ['87-1=86', '4*17=68']
Exploring Operation: 86-68=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 86*68=5848, Resulting Numbers: [5848]
5848,67 unequal: No Solution
Exploring Operation: 86+68=154, Resulting Numbers: [154]
154,67 unequal: No Solution
Moving to Node #0,2,3
Current State: 67:[17, 82], Operations: ['87-1=86', '86-4=82']
Exploring Operation: 17*82=1394, Resulting Numbers: [1394]
1394,67 unequal: No Solution
Exploring Operation: 17+82=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 82-17=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[4, 69], Operations: ['87-1=86', '86-17=69']
Exploring Operation: 4+69=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Exploring Operation: 4*69=276, Resulting Numbers: [276]
276,67 unequal: No Solution
Moving to Node #0,2,4
Current State: 67:[86, 21], Operations: ['87-1=86', '4+17=21']
Exploring Operation: 86+21=107, Resulting Numbers: [107]
107,67 unequal: No Solution
Exploring Operation: 86-21=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Exploring Operation: 86*21=1806, Resulting Numbers: [1806]
1806,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[86, 13], Operations: ['87-1=86', '17-4=13']
Exploring Operation: 86-13=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 86+13=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 86*13=1118, Resulting Numbers: [1118]
1118,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 67:[1, 4, 70], Operations: ['87-17=70']
Exploring Operation: 4/1=4, Resulting Numbers: [70, 4]
Generated Node #0,4,0: 67:[70, 4] Operation: 4/1=4
Exploring Operation: 70-1=69, Resulting Numbers: [4, 69]
Generated Node #0,4,1: 67:[4, 69] Operation: 70-1=69
Exploring Operation: 1+4=5, Resulting Numbers: [70, 5]
Generated Node #0,4,2: 67:[70, 5] Operation: 1+4=5
Exploring Operation: 1*70=70, Resulting Numbers: [4, 70]
Generated Node #0,4,3: 67:[4, 70] Operation: 1*70=70
Exploring Operation: 1*4=4, Resulting Numbers: [70, 4]
Generated Node #0,4,4: 67:[70, 4] Operation: 1*4=4
Moving to Node #0,4,1
Current State: 67:[4, 69], Operations: ['87-17=70', '70-1=69']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Exploring Operation: 4*69=276, Resulting Numbers: [276]
276,67 unequal: No Solution
Exploring Operation: 4+69=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Moving to Node #0,4,2
Current State: 67:[70, 5], Operations: ['87-17=70', '1+4=5']
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 70*5=350, Resulting Numbers: [350]
350,67 unequal: No Solution
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,67 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Moving to Node #0,4,0
Current State: 67:[70, 4], Operations: ['87-17=70', '4/1=4']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,67 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,67 unequal: No Solution
Moving to Node #0,4,3
Current State: 67:[4, 70], Operations: ['87-17=70', '1*70=70']
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,67 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 4*70=280, Resulting Numbers: [280]
280,67 unequal: No Solution
Moving to Node #0,4,4
Current State: 67:[70, 4], Operations: ['87-17=70', '1*4=4']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,67 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,67 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 |
[
54,
69,
51,
97
] | 74 | [
"54-51=3",
"69/3=23",
"97-23=74"
] | Current State: 74:[54, 69, 51, 97], Operations: []
Exploring Operation: 54-51=3, Resulting Numbers: [69, 97, 3]
Generated Node #2: [69, 97, 3] from Operation: 54-51=3
Current State: 74:[69, 97, 3], Operations: ['54-51=3']
Exploring Operation: 69/3=23, Resulting Numbers: [97, 23]
Generated Node #3: [97, 23] from Operation: 69/3=23
Current State: 74:[97, 23], Operations: ['54-51=3', '69/3=23']
Exploring Operation: 97-23=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[54, 69, 51, 97], Operations: []
Exploring Operation: 97-69=28, Resulting Numbers: [54, 51, 28]
Generated Node #0,0: 74:[54, 51, 28] Operation: 97-69=28
Exploring Operation: 54-51=3, Resulting Numbers: [69, 97, 3]
Generated Node #0,1: 74:[69, 97, 3] Operation: 54-51=3
Exploring Operation: 97-51=46, Resulting Numbers: [54, 69, 46]
Generated Node #0,2: 74:[54, 69, 46] Operation: 97-51=46
Exploring Operation: 97-54=43, Resulting Numbers: [69, 51, 43]
Generated Node #0,3: 74:[69, 51, 43] Operation: 97-54=43
Moving to Node #0,3
Current State: 74:[69, 51, 43], Operations: ['97-54=43']
Exploring Operation: 51+43=94, Resulting Numbers: [69, 94]
Generated Node #0,3,0: 74:[69, 94] Operation: 51+43=94
Exploring Operation: 69-51=18, Resulting Numbers: [43, 18]
Generated Node #0,3,1: 74:[43, 18] Operation: 69-51=18
Exploring Operation: 69-43=26, Resulting Numbers: [51, 26]
Generated Node #0,3,2: 74:[51, 26] Operation: 69-43=26
Exploring Operation: 51-43=8, Resulting Numbers: [69, 8]
Generated Node #0,3,3: 74:[69, 8] Operation: 51-43=8
Moving to Node #0,1
Current State: 74:[69, 97, 3], Operations: ['54-51=3']
Exploring Operation: 97-69=28, Resulting Numbers: [3, 28]
Generated Node #0,1,0: 74:[3, 28] Operation: 97-69=28
Exploring Operation: 69+3=72, Resulting Numbers: [97, 72]
Generated Node #0,1,1: 74:[97, 72] Operation: 69+3=72
Exploring Operation: 69-3=66, Resulting Numbers: [97, 66]
Generated Node #0,1,2: 74:[97, 66] Operation: 69-3=66
Exploring Operation: 97-3=94, Resulting Numbers: [69, 94]
Generated Node #0,1,3: 74:[69, 94] Operation: 97-3=94
Moving to Node #0,2
Current State: 74:[54, 69, 46], Operations: ['97-51=46']
Exploring Operation: 54+46=100, Resulting Numbers: [69, 100]
Generated Node #0,2,0: 74:[69, 100] Operation: 54+46=100
Exploring Operation: 69-46=23, Resulting Numbers: [54, 23]
Generated Node #0,2,1: 74:[54, 23] Operation: 69-46=23
Exploring Operation: 54-46=8, Resulting Numbers: [69, 8]
Generated Node #0,2,2: 74:[69, 8] Operation: 54-46=8
Exploring Operation: 69-54=15, Resulting Numbers: [46, 15]
Generated Node #0,2,3: 74:[46, 15] Operation: 69-54=15
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 74:[69, 8], Operations: ['97-51=46', '54-46=8']
Exploring Operation: 69*8=552, Resulting Numbers: [552]
552,74 unequal: No Solution
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,74 unequal: No Solution
Exploring Operation: 69+8=77, Resulting Numbers: [77]
77,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 74:[46, 15], Operations: ['97-51=46', '69-54=15']
Exploring Operation: 46*15=690, Resulting Numbers: [690]
690,74 unequal: No Solution
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,74 unequal: No Solution
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 74:[69, 100], Operations: ['97-51=46', '54+46=100']
Exploring Operation: 100-69=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Exploring Operation: 69+100=169, Resulting Numbers: [169]
169,74 unequal: No Solution
Exploring Operation: 69*100=6900, Resulting Numbers: [6900]
6900,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 74:[54, 23], Operations: ['97-51=46', '69-46=23']
Exploring Operation: 54*23=1242, Resulting Numbers: [1242]
1242,74 unequal: No Solution
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 74:[54, 51, 28], Operations: ['97-69=28']
Exploring Operation: 54-51=3, Resulting Numbers: [28, 3]
Generated Node #0,0,0: 74:[28, 3] Operation: 54-51=3
Exploring Operation: 54+28=82, Resulting Numbers: [51, 82]
Generated Node #0,0,1: 74:[51, 82] Operation: 54+28=82
Exploring Operation: 54-28=26, Resulting Numbers: [51, 26]
Generated Node #0,0,2: 74:[51, 26] Operation: 54-28=26
Exploring Operation: 51+28=79, Resulting Numbers: [54, 79]
Generated Node #0,0,3: 74:[54, 79] Operation: 51+28=79
Moving to Node #0,1,0
Current State: 74:[3, 28], Operations: ['54-51=3', '97-69=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[28, 3], Operations: ['97-69=28', '54-51=3']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[69, 8], Operations: ['97-54=43', '51-43=8']
Exploring Operation: 69+8=77, Resulting Numbers: [77]
77,74 unequal: No Solution
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,74 unequal: No Solution
Exploring Operation: 69*8=552, Resulting Numbers: [552]
552,74 unequal: No Solution
Moving to Node #0,3,1
Current State: 74:[43, 18], Operations: ['97-54=43', '69-51=18']
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,74 unequal: No Solution
Exploring Operation: 43*18=774, Resulting Numbers: [774]
774,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[51, 82], Operations: ['97-69=28', '54+28=82']
Exploring Operation: 51+82=133, Resulting Numbers: [133]
133,74 unequal: No Solution
Exploring Operation: 82-51=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Exploring Operation: 51*82=4182, Resulting Numbers: [4182]
4182,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[54, 79], Operations: ['97-69=28', '51+28=79']
Exploring Operation: 54*79=4266, Resulting Numbers: [4266]
4266,74 unequal: No Solution
Exploring Operation: 79-54=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 54+79=133, Resulting Numbers: [133]
133,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[69, 94], Operations: ['97-54=43', '51+43=94']
Exploring Operation: 69+94=163, Resulting Numbers: [163]
163,74 unequal: No Solution
Exploring Operation: 94-69=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 69*94=6486, Resulting Numbers: [6486]
6486,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[97, 72], Operations: ['54-51=3', '69+3=72']
Exploring Operation: 97*72=6984, Resulting Numbers: [6984]
6984,74 unequal: No Solution
Exploring Operation: 97+72=169, Resulting Numbers: [169]
169,74 unequal: No Solution
Exploring Operation: 97-72=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Moving to Node #0,1,3
Current State: 74:[69, 94], Operations: ['54-51=3', '97-3=94']
Exploring Operation: 69+94=163, Resulting Numbers: [163]
163,74 unequal: No Solution
Exploring Operation: 94-69=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 69*94=6486, Resulting Numbers: [6486]
6486,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[51, 26], Operations: ['97-69=28', '54-28=26']
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,74 unequal: No Solution
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[51, 26], Operations: ['97-54=43', '69-43=26']
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,74 unequal: No Solution
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[97, 66], Operations: ['54-51=3', '69-3=66']
Exploring Operation: 97+66=163, Resulting Numbers: [163]
163,74 unequal: No Solution
Exploring Operation: 97-66=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Exploring Operation: 97*66=6402, Resulting Numbers: [6402]
6402,74 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
64,
46,
95,
25
] | 52 | [
"64-46=18",
"95-25=70",
"70-18=52"
] | Current State: 52:[64, 46, 95, 25], Operations: []
Exploring Operation: 64-46=18, Resulting Numbers: [95, 25, 18]
Generated Node #2: [95, 25, 18] from Operation: 64-46=18
Current State: 52:[95, 25, 18], Operations: ['64-46=18']
Exploring Operation: 95-25=70, Resulting Numbers: [18, 70]
Generated Node #3: [18, 70] from Operation: 95-25=70
Current State: 52:[18, 70], Operations: ['64-46=18', '95-25=70']
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[64, 46, 95, 25], Operations: []
Exploring Operation: 95-25=70, Resulting Numbers: [64, 46, 70]
Generated Node #0,0: 52:[64, 46, 70] Operation: 95-25=70
Exploring Operation: 46-25=21, Resulting Numbers: [64, 95, 21]
Generated Node #0,1: 52:[64, 95, 21] Operation: 46-25=21
Exploring Operation: 95-64=31, Resulting Numbers: [46, 25, 31]
Generated Node #0,2: 52:[46, 25, 31] Operation: 95-64=31
Exploring Operation: 64-46=18, Resulting Numbers: [95, 25, 18]
Generated Node #0,3: 52:[95, 25, 18] Operation: 64-46=18
Exploring Operation: 95-46=49, Resulting Numbers: [64, 25, 49]
Generated Node #0,4: 52:[64, 25, 49] Operation: 95-46=49
Moving to Node #0,2
Current State: 52:[46, 25, 31], Operations: ['95-64=31']
Exploring Operation: 46-25=21, Resulting Numbers: [31, 21]
Generated Node #0,2,0: 52:[31, 21] Operation: 46-25=21
Exploring Operation: 31-25=6, Resulting Numbers: [46, 6]
Generated Node #0,2,1: 52:[46, 6] Operation: 31-25=6
Exploring Operation: 25+31=56, Resulting Numbers: [46, 56]
Generated Node #0,2,2: 52:[46, 56] Operation: 25+31=56
Exploring Operation: 46-31=15, Resulting Numbers: [25, 15]
Generated Node #0,2,3: 52:[25, 15] Operation: 46-31=15
Exploring Operation: 46+25=71, Resulting Numbers: [31, 71]
Generated Node #0,2,4: 52:[31, 71] Operation: 46+25=71
Moving to Node #0,4
Current State: 52:[64, 25, 49], Operations: ['95-46=49']
Exploring Operation: 49-25=24, Resulting Numbers: [64, 24]
Generated Node #0,4,0: 52:[64, 24] Operation: 49-25=24
Exploring Operation: 64-49=15, Resulting Numbers: [25, 15]
Generated Node #0,4,1: 52:[25, 15] Operation: 64-49=15
Exploring Operation: 25+49=74, Resulting Numbers: [64, 74]
Generated Node #0,4,2: 52:[64, 74] Operation: 25+49=74
Exploring Operation: 64+25=89, Resulting Numbers: [49, 89]
Generated Node #0,4,3: 52:[49, 89] Operation: 64+25=89
Exploring Operation: 64-25=39, Resulting Numbers: [49, 39]
Generated Node #0,4,4: 52:[49, 39] Operation: 64-25=39
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 52:[25, 15], Operations: ['95-46=49', '64-49=15']
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 25*15=375, Resulting Numbers: [375]
375,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,0
Current State: 52:[64, 24], Operations: ['95-46=49', '49-25=24']
Exploring Operation: 64*24=1536, Resulting Numbers: [1536]
1536,52 unequal: No Solution
Exploring Operation: 64+24=88, Resulting Numbers: [88]
88,52 unequal: No Solution
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,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,4
Current State: 52:[49, 39], Operations: ['95-46=49', '64-25=39']
Exploring Operation: 49+39=88, Resulting Numbers: [88]
88,52 unequal: No Solution
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 49*39=1911, Resulting Numbers: [1911]
1911,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,2
Current State: 52:[64, 74], Operations: ['95-46=49', '25+49=74']
Exploring Operation: 64+74=138, Resulting Numbers: [138]
138,52 unequal: No Solution
Exploring Operation: 74-64=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 64*74=4736, Resulting Numbers: [4736]
4736,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,3
Current State: 52:[49, 89], Operations: ['95-46=49', '64+25=89']
Exploring Operation: 89-49=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 49*89=4361, Resulting Numbers: [4361]
4361,52 unequal: No Solution
Exploring Operation: 49+89=138, Resulting Numbers: [138]
138,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 52:[64, 46, 70], Operations: ['95-25=70']
Exploring Operation: 64+46=110, Resulting Numbers: [70, 110]
Generated Node #0,0,0: 52:[70, 110] Operation: 64+46=110
Exploring Operation: 70-46=24, Resulting Numbers: [64, 24]
Generated Node #0,0,1: 52:[64, 24] Operation: 70-46=24
Exploring Operation: 46+70=116, Resulting Numbers: [64, 116]
Generated Node #0,0,2: 52:[64, 116] Operation: 46+70=116
Exploring Operation: 70-64=6, Resulting Numbers: [46, 6]
Generated Node #0,0,3: 52:[46, 6] Operation: 70-64=6
Exploring Operation: 64-46=18, Resulting Numbers: [70, 18]
Generated Node #0,0,4: 52:[70, 18] Operation: 64-46=18
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 52:[46, 6], Operations: ['95-25=70', '70-64=6']
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 46*6=276, Resulting Numbers: [276]
276,52 unequal: No Solution
Exploring Operation: 46+6=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[64, 46, 95, 25], Operations: []
Exploring Operation: 95-25=70, Resulting Numbers: [64, 46, 70]
Generated Node #0,0: 52:[64, 46, 70] Operation: 95-25=70
Moving to Node #0,0
Current State: 52:[64, 46, 70], Operations: ['95-25=70']
Exploring Operation: 70-64=6, Resulting Numbers: [46, 6]
Generated Node #0,0,3: 52:[46, 6] Operation: 70-64=6
Moving to Node #0,0,3
Current State: 52:[46, 6], Operations: ['95-25=70', '70-64=6']
Exploring Operation: 46+6=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | sum_heuristic |
[
95,
24,
57,
49
] | 63 | [
"95-24=71",
"57-49=8",
"71-8=63"
] | Current State: 63:[95, 24, 57, 49], Operations: []
Exploring Operation: 95-24=71, Resulting Numbers: [57, 49, 71]
Generated Node #2: [57, 49, 71] from Operation: 95-24=71
Current State: 63:[57, 49, 71], Operations: ['95-24=71']
Exploring Operation: 57-49=8, Resulting Numbers: [71, 8]
Generated Node #3: [71, 8] from Operation: 57-49=8
Current State: 63:[71, 8], Operations: ['95-24=71', '57-49=8']
Exploring Operation: 71-8=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[95, 24, 57, 49], Operations: []
Exploring Operation: 95-49=46, Resulting Numbers: [24, 57, 46]
Generated Node #0,0: 63:[24, 57, 46] Operation: 95-49=46
Moving to Node #0,0
Current State: 63:[24, 57, 46], Operations: ['95-49=46']
Exploring Operation: 57-46=11, Resulting Numbers: [24, 11]
Generated Node #0,0,0: 63:[24, 11] Operation: 57-46=11
Moving to Node #0,0,0
Current State: 63:[24, 11], Operations: ['95-49=46', '57-46=11']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,63 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
58,
15,
66,
24
] | 96 | [
"66-58=8",
"15*8=120",
"120-24=96"
] | Current State: 96:[58, 15, 66, 24], Operations: []
Exploring Operation: 66-58=8, Resulting Numbers: [15, 24, 8]
Generated Node #2: [15, 24, 8] from Operation: 66-58=8
Current State: 96:[15, 24, 8], Operations: ['66-58=8']
Exploring Operation: 15*8=120, Resulting Numbers: [24, 120]
Generated Node #3: [24, 120] from Operation: 15*8=120
Current State: 96:[24, 120], Operations: ['66-58=8', '15*8=120']
Exploring Operation: 120-24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[58, 15, 66, 24], Operations: []
Exploring Operation: 66-15=51, Resulting Numbers: [58, 24, 51]
Generated Node #0,0: 96:[58, 24, 51] Operation: 66-15=51
Exploring Operation: 58-24=34, Resulting Numbers: [15, 66, 34]
Generated Node #0,1: 96:[15, 66, 34] Operation: 58-24=34
Exploring Operation: 66-58=8, Resulting Numbers: [15, 24, 8]
Generated Node #0,2: 96:[15, 24, 8] Operation: 66-58=8
Exploring Operation: 66-24=42, Resulting Numbers: [58, 15, 42]
Generated Node #0,3: 96:[58, 15, 42] Operation: 66-24=42
Exploring Operation: 66+24=90, Resulting Numbers: [58, 15, 90]
Generated Node #0,4: 96:[58, 15, 90] Operation: 66+24=90
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[15, 24, 8], Operations: ['66-58=8']
Exploring Operation: 15-8=7, Resulting Numbers: [24, 7]
Generated Node #0,2,0: 96:[24, 7] Operation: 15-8=7
Exploring Operation: 24+8=32, Resulting Numbers: [15, 32]
Generated Node #0,2,1: 96:[15, 32] Operation: 24+8=32
Exploring Operation: 24-8=16, Resulting Numbers: [15, 16]
Generated Node #0,2,2: 96:[15, 16] Operation: 24-8=16
Exploring Operation: 24-15=9, Resulting Numbers: [8, 9]
Generated Node #0,2,3: 96:[8, 9] Operation: 24-15=9
Exploring Operation: 15+8=23, Resulting Numbers: [24, 23]
Generated Node #0,2,4: 96:[24, 23] Operation: 15+8=23
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[24, 7], Operations: ['66-58=8', '15-8=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 96:[15, 32], Operations: ['66-58=8', '24+8=32']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,96 unequal: No Solution
Exploring Operation: 15*32=480, Resulting Numbers: [480]
480,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 96:[15, 16], Operations: ['66-58=8', '24-8=16']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,96 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 96:[8, 9], Operations: ['66-58=8', '24-15=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 96:[24, 23], Operations: ['66-58=8', '15+8=23']
Exploring Operation: 24*23=552, Resulting Numbers: [552]
552,96 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[58, 24, 51], Operations: ['66-15=51']
Exploring Operation: 58-24=34, Resulting Numbers: [51, 34]
Generated Node #0,0,0: 96:[51, 34] Operation: 58-24=34
Exploring Operation: 58+24=82, Resulting Numbers: [51, 82]
Generated Node #0,0,1: 96:[51, 82] Operation: 58+24=82
Exploring Operation: 58-51=7, Resulting Numbers: [24, 7]
Generated Node #0,0,2: 96:[24, 7] Operation: 58-51=7
Exploring Operation: 58+51=109, Resulting Numbers: [24, 109]
Generated Node #0,0,3: 96:[24, 109] Operation: 58+51=109
Exploring Operation: 51-24=27, Resulting Numbers: [58, 27]
Generated Node #0,0,4: 96:[58, 27] Operation: 51-24=27
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 96:[24, 7], Operations: ['66-15=51', '58-51=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[51, 34], Operations: ['66-15=51', '58-24=34']
Exploring Operation: 51*34=1734, Resulting Numbers: [1734]
1734,96 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 51+34=85, Resulting Numbers: [85]
85,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 96:[24, 109], Operations: ['66-15=51', '58+51=109']
Exploring Operation: 24*109=2616, Resulting Numbers: [2616]
2616,96 unequal: No Solution
Exploring Operation: 109-24=85, Resulting Numbers: [85]
85,96 unequal: No Solution
Exploring Operation: 24+109=133, Resulting Numbers: [133]
133,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 96:[58, 27], Operations: ['66-15=51', '51-24=27']
Exploring Operation: 58*27=1566, Resulting Numbers: [1566]
1566,96 unequal: No Solution
Exploring Operation: 58+27=85, Resulting Numbers: [85]
85,96 unequal: No Solution
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[51, 82], Operations: ['66-15=51', '58+24=82']
Exploring Operation: 82-51=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 51*82=4182, Resulting Numbers: [4182]
4182,96 unequal: No Solution
Exploring Operation: 51+82=133, Resulting Numbers: [133]
133,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 96:[58, 15, 42], Operations: ['66-24=42']
Exploring Operation: 42-15=27, Resulting Numbers: [58, 27]
Generated Node #0,3,0: 96:[58, 27] Operation: 42-15=27
Exploring Operation: 58+42=100, Resulting Numbers: [15, 100]
Generated Node #0,3,1: 96:[15, 100] Operation: 58+42=100
Exploring Operation: 58-42=16, Resulting Numbers: [15, 16]
Generated Node #0,3,2: 96:[15, 16] Operation: 58-42=16
Exploring Operation: 58-15=43, Resulting Numbers: [42, 43]
Generated Node #0,3,3: 96:[42, 43] Operation: 58-15=43
Exploring Operation: 15+42=57, Resulting Numbers: [58, 57]
Generated Node #0,3,4: 96:[58, 57] Operation: 15+42=57
Moving to Node #0,3,2
Current State: 96:[15, 16], Operations: ['66-24=42', '58-42=16']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,96 unequal: No Solution
Moving to Node #0,3,1
Current State: 96:[15, 100], Operations: ['66-24=42', '58+42=100']
Exploring Operation: 100-15=85, Resulting Numbers: [85]
85,96 unequal: No Solution
Exploring Operation: 15+100=115, Resulting Numbers: [115]
115,96 unequal: No Solution
Exploring Operation: 15*100=1500, Resulting Numbers: [1500]
1500,96 unequal: No Solution
Moving to Node #0,3,3
Current State: 96:[42, 43], Operations: ['66-24=42', '58-15=43']
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 42*43=1806, Resulting Numbers: [1806]
1806,96 unequal: No Solution
Exploring Operation: 42+43=85, Resulting Numbers: [85]
85,96 unequal: No Solution
Moving to Node #0,3,0
Current State: 96:[58, 27], Operations: ['66-24=42', '42-15=27']
Exploring Operation: 58*27=1566, Resulting Numbers: [1566]
1566,96 unequal: No Solution
Exploring Operation: 58+27=85, Resulting Numbers: [85]
85,96 unequal: No Solution
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Moving to Node #0,3,4
Current State: 96:[58, 57], Operations: ['66-24=42', '15+42=57']
Exploring Operation: 58+57=115, Resulting Numbers: [115]
115,96 unequal: No Solution
Exploring Operation: 58*57=3306, Resulting Numbers: [3306]
3306,96 unequal: No Solution
Exploring Operation: 58-57=1, Resulting Numbers: [1]
1,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,4
Current State: 96:[58, 15, 90], Operations: ['66+24=90']
Exploring Operation: 58+15=73, Resulting Numbers: [90, 73]
Generated Node #0,4,0: 96:[90, 73] Operation: 58+15=73
Exploring Operation: 90-58=32, Resulting Numbers: [15, 32]
Generated Node #0,4,1: 96:[15, 32] Operation: 90-58=32
Exploring Operation: 58-15=43, Resulting Numbers: [90, 43]
Generated Node #0,4,2: 96:[90, 43] Operation: 58-15=43
Exploring Operation: 15+90=105, Resulting Numbers: [58, 105]
Generated Node #0,4,3: 96:[58, 105] Operation: 15+90=105
Exploring Operation: 90/15=6, Resulting Numbers: [58, 6]
Generated Node #0,4,4: 96:[58, 6] Operation: 90/15=6
Moving to Node #0,4,1
Current State: 96:[15, 32], Operations: ['66+24=90', '90-58=32']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,96 unequal: No Solution
Exploring Operation: 15*32=480, Resulting Numbers: [480]
480,96 unequal: No Solution
Moving to Node #0,4,4
Current State: 96:[58, 6], Operations: ['66+24=90', '90/15=6']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,96 unequal: No Solution
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,96 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,96 unequal: No Solution
Moving to Node #0,4,2
Current State: 96:[90, 43], Operations: ['66+24=90', '58-15=43']
Exploring Operation: 90-43=47, Resulting Numbers: [47]
47,96 unequal: No Solution
Exploring Operation: 90+43=133, Resulting Numbers: [133]
133,96 unequal: No Solution
Exploring Operation: 90*43=3870, Resulting Numbers: [3870]
3870,96 unequal: No Solution
Moving to Node #0,4,3
Current State: 96:[58, 105], Operations: ['66+24=90', '15+90=105']
Exploring Operation: 58+105=163, Resulting Numbers: [163]
163,96 unequal: No Solution
Exploring Operation: 58*105=6090, Resulting Numbers: [6090]
6090,96 unequal: No Solution
Exploring Operation: 105-58=47, Resulting Numbers: [47]
47,96 unequal: No Solution
Moving to Node #0,4,0
Current State: 96:[90, 73], Operations: ['66+24=90', '58+15=73']
Exploring Operation: 90+73=163, Resulting Numbers: [163]
163,96 unequal: No Solution
Exploring Operation: 90-73=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 90*73=6570, Resulting Numbers: [6570]
6570,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
Current State: 96:[15, 66, 34], Operations: ['58-24=34']
Exploring Operation: 15+34=49, Resulting Numbers: [66, 49]
Generated Node #0,1,0: 96:[66, 49] Operation: 15+34=49
Exploring Operation: 66-15=51, Resulting Numbers: [34, 51]
Generated Node #0,1,1: 96:[34, 51] Operation: 66-15=51
Exploring Operation: 15+66=81, Resulting Numbers: [34, 81]
Generated Node #0,1,2: 96:[34, 81] Operation: 15+66=81
Exploring Operation: 66+34=100, Resulting Numbers: [15, 100]
Generated Node #0,1,3: 96:[15, 100] Operation: 66+34=100
Exploring Operation: 66-34=32, Resulting Numbers: [15, 32]
Generated Node #0,1,4: 96:[15, 32] Operation: 66-34=32
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 96:[15, 32], Operations: ['58-24=34', '66-34=32']
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,96 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 15*32=480, Resulting Numbers: [480]
480,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[34, 51], Operations: ['58-24=34', '66-15=51']
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 34*51=1734, Resulting Numbers: [1734]
1734,96 unequal: No Solution
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 96:[15, 100], Operations: ['58-24=34', '66+34=100']
Exploring Operation: 15*100=1500, Resulting Numbers: [1500]
1500,96 unequal: No Solution
Exploring Operation: 15+100=115, Resulting Numbers: [115]
115,96 unequal: No Solution
Exploring Operation: 100-15=85, Resulting Numbers: [85]
85,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 96:[34, 81], Operations: ['58-24=34', '15+66=81']
Exploring Operation: 34+81=115, Resulting Numbers: [115]
115,96 unequal: No Solution
Exploring Operation: 34*81=2754, Resulting Numbers: [2754]
2754,96 unequal: No Solution
Exploring Operation: 81-34=47, Resulting Numbers: [47]
47,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[66, 49], Operations: ['58-24=34', '15+34=49']
Exploring Operation: 66-49=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 66*49=3234, Resulting Numbers: [3234]
3234,96 unequal: No Solution
Exploring Operation: 66+49=115, Resulting Numbers: [115]
115,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
57,
17,
29,
58
] | 97 | [
"57*58=3306",
"3306/29=114",
"114-17=97"
] | Current State: 97:[57, 17, 29, 58], Operations: []
Exploring Operation: 57*58=3306, Resulting Numbers: [17, 29, 3306]
Generated Node #2: [17, 29, 3306] from Operation: 57*58=3306
Current State: 97:[17, 29, 3306], Operations: ['57*58=3306']
Exploring Operation: 3306/29=114, Resulting Numbers: [17, 114]
Generated Node #3: [17, 114] from Operation: 3306/29=114
Current State: 97:[17, 114], Operations: ['57*58=3306', '3306/29=114']
Exploring Operation: 114-17=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[57, 17, 29, 58], Operations: []
Exploring Operation: 57+29=86, Resulting Numbers: [17, 58, 86]
Generated Node #0,0: 97:[17, 58, 86] Operation: 57+29=86
Exploring Operation: 57+17=74, Resulting Numbers: [29, 58, 74]
Generated Node #0,1: 97:[29, 58, 74] Operation: 57+17=74
Exploring Operation: 17+29=46, Resulting Numbers: [57, 58, 46]
Generated Node #0,2: 97:[57, 58, 46] Operation: 17+29=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[17, 58, 86], Operations: ['57+29=86']
Exploring Operation: 17+86=103, Resulting Numbers: [58, 103]
Generated Node #0,0,0: 97:[58, 103] Operation: 17+86=103
Exploring Operation: 58-17=41, Resulting Numbers: [86, 41]
Generated Node #0,0,1: 97:[86, 41] Operation: 58-17=41
Exploring Operation: 17+58=75, Resulting Numbers: [86, 75]
Generated Node #0,0,2: 97:[86, 75] Operation: 17+58=75
Moving to Node #0,0,2
Current State: 97:[86, 75], Operations: ['57+29=86', '17+58=75']
Exploring Operation: 86-75=11, Resulting Numbers: [11]
11,97 unequal: No Solution
Exploring Operation: 86+75=161, Resulting Numbers: [161]
161,97 unequal: No Solution
Exploring Operation: 86*75=6450, Resulting Numbers: [6450]
6450,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[58, 103], Operations: ['57+29=86', '17+86=103']
Exploring Operation: 58+103=161, Resulting Numbers: [161]
161,97 unequal: No Solution
Exploring Operation: 103-58=45, Resulting Numbers: [45]
45,97 unequal: No Solution
Exploring Operation: 58*103=5974, Resulting Numbers: [5974]
5974,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[86, 41], Operations: ['57+29=86', '58-17=41']
Exploring Operation: 86+41=127, Resulting Numbers: [127]
127,97 unequal: No Solution
Exploring Operation: 86-41=45, Resulting Numbers: [45]
45,97 unequal: No Solution
Exploring Operation: 86*41=3526, Resulting Numbers: [3526]
3526,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:[29, 58, 74], Operations: ['57+17=74']
Exploring Operation: 29+74=103, Resulting Numbers: [58, 103]
Generated Node #0,1,0: 97:[58, 103] Operation: 29+74=103
Exploring Operation: 29+58=87, Resulting Numbers: [74, 87]
Generated Node #0,1,1: 97:[74, 87] Operation: 29+58=87
Exploring Operation: 58-29=29, Resulting Numbers: [74, 29]
Generated Node #0,1,2: 97:[74, 29] Operation: 58-29=29
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[74, 87], Operations: ['57+17=74', '29+58=87']
Exploring Operation: 87-74=13, Resulting Numbers: [13]
13,97 unequal: No Solution
Exploring Operation: 74+87=161, Resulting Numbers: [161]
161,97 unequal: No Solution
Exploring Operation: 74*87=6438, Resulting Numbers: [6438]
6438,97 unequal: No Solution
No 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: 97:[58, 103], Operations: ['57+17=74', '29+74=103']
Exploring Operation: 58+103=161, Resulting Numbers: [161]
161,97 unequal: No Solution
Exploring Operation: 58*103=5974, Resulting Numbers: [5974]
5974,97 unequal: No Solution
Exploring Operation: 103-58=45, Resulting Numbers: [45]
45,97 unequal: No Solution
No 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: 97:[74, 29], Operations: ['57+17=74', '58-29=29']
Exploring Operation: 74+29=103, Resulting Numbers: [103]
103,97 unequal: No Solution
Exploring Operation: 74*29=2146, Resulting Numbers: [2146]
2146,97 unequal: No Solution
Exploring Operation: 74-29=45, Resulting Numbers: [45]
45,97 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: 97:[57, 58, 46], Operations: ['17+29=46']
Exploring Operation: 57+46=103, Resulting Numbers: [58, 103]
Generated Node #0,2,0: 97:[58, 103] Operation: 57+46=103
Exploring Operation: 57+58=115, Resulting Numbers: [46, 115]
Generated Node #0,2,1: 97:[46, 115] Operation: 57+58=115
Exploring Operation: 58+46=104, Resulting Numbers: [57, 104]
Generated Node #0,2,2: 97:[57, 104] Operation: 58+46=104
Moving to Node #0,2,0
Current State: 97:[58, 103], Operations: ['17+29=46', '57+46=103']
Exploring Operation: 103-58=45, Resulting Numbers: [45]
45,97 unequal: No Solution
Exploring Operation: 58+103=161, Resulting Numbers: [161]
161,97 unequal: No Solution
Exploring Operation: 58*103=5974, Resulting Numbers: [5974]
5974,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[57, 104], Operations: ['17+29=46', '58+46=104']
Exploring Operation: 57*104=5928, Resulting Numbers: [5928]
5928,97 unequal: No Solution
Exploring Operation: 104-57=47, Resulting Numbers: [47]
47,97 unequal: No Solution
Exploring Operation: 57+104=161, Resulting Numbers: [161]
161,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[46, 115], Operations: ['17+29=46', '57+58=115']
Exploring Operation: 115-46=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Exploring Operation: 46+115=161, Resulting Numbers: [161]
161,97 unequal: No Solution
Exploring Operation: 46*115=5290, Resulting Numbers: [5290]
5290,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 |
[
21,
26,
10,
11
] | 13 | [
"26-21=5",
"10/5=2",
"11+2=13"
] | Current State: 13:[21, 26, 10, 11], Operations: []
Exploring Operation: 26-21=5, Resulting Numbers: [10, 11, 5]
Generated Node #2: [10, 11, 5] from Operation: 26-21=5
Current State: 13:[10, 11, 5], Operations: ['26-21=5']
Exploring Operation: 10/5=2, Resulting Numbers: [11, 2]
Generated Node #3: [11, 2] from Operation: 10/5=2
Current State: 13:[11, 2], Operations: ['26-21=5', '10/5=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[21, 26, 10, 11], Operations: []
Exploring Operation: 26-21=5, Resulting Numbers: [10, 11, 5]
Generated Node #0,0: 13:[10, 11, 5] Operation: 26-21=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[10, 11, 5], Operations: ['26-21=5']
Exploring Operation: 10+5=15, Resulting Numbers: [11, 15]
Generated Node #0,0,0: 13:[11, 15] Operation: 10+5=15
Moving to Node #0,0,0
Current State: 13:[11, 15], Operations: ['26-21=5', '10+5=15']
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,13 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 |
[
25,
89,
22,
70
] | 53 | [
"25-22=3",
"89+70=159",
"159/3=53"
] | Current State: 53:[25, 89, 22, 70], Operations: []
Exploring Operation: 25-22=3, Resulting Numbers: [89, 70, 3]
Generated Node #2: [89, 70, 3] from Operation: 25-22=3
Current State: 53:[89, 70, 3], Operations: ['25-22=3']
Exploring Operation: 89+70=159, Resulting Numbers: [3, 159]
Generated Node #3: [3, 159] from Operation: 89+70=159
Current State: 53:[3, 159], Operations: ['25-22=3', '89+70=159']
Exploring Operation: 159/3=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[25, 89, 22, 70], Operations: []
Exploring Operation: 89-25=64, Resulting Numbers: [22, 70, 64]
Generated Node #0,0: 53:[22, 70, 64] Operation: 89-25=64
Exploring Operation: 70-22=48, Resulting Numbers: [25, 89, 48]
Generated Node #0,1: 53:[25, 89, 48] Operation: 70-22=48
Exploring Operation: 25+22=47, Resulting Numbers: [89, 70, 47]
Generated Node #0,2: 53:[89, 70, 47] Operation: 25+22=47
Exploring Operation: 89-22=67, Resulting Numbers: [25, 70, 67]
Generated Node #0,3: 53:[25, 70, 67] Operation: 89-22=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[22, 70, 64], Operations: ['89-25=64']
Exploring Operation: 22+70=92, Resulting Numbers: [64, 92]
Generated Node #0,0,0: 53:[64, 92] Operation: 22+70=92
Exploring Operation: 22+64=86, Resulting Numbers: [70, 86]
Generated Node #0,0,1: 53:[70, 86] Operation: 22+64=86
Exploring Operation: 64-22=42, Resulting Numbers: [70, 42]
Generated Node #0,0,2: 53:[70, 42] Operation: 64-22=42
Exploring Operation: 70-22=48, Resulting Numbers: [64, 48]
Generated Node #0,0,3: 53:[64, 48] Operation: 70-22=48
Moving to Node #0,0,3
Current State: 53:[64, 48], Operations: ['89-25=64', '70-22=48']
Exploring Operation: 64+48=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 64*48=3072, Resulting Numbers: [3072]
3072,53 unequal: No Solution
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[70, 42], Operations: ['89-25=64', '64-22=42']
Exploring Operation: 70+42=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 70*42=2940, Resulting Numbers: [2940]
2940,53 unequal: No Solution
Exploring Operation: 70-42=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[70, 86], Operations: ['89-25=64', '22+64=86']
Exploring Operation: 70+86=156, Resulting Numbers: [156]
156,53 unequal: No Solution
Exploring Operation: 86-70=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 70*86=6020, Resulting Numbers: [6020]
6020,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[64, 92], Operations: ['89-25=64', '22+70=92']
Exploring Operation: 64*92=5888, Resulting Numbers: [5888]
5888,53 unequal: No Solution
Exploring Operation: 92-64=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 64+92=156, Resulting Numbers: [156]
156,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[89, 70, 47], Operations: ['25+22=47']
Exploring Operation: 89+47=136, Resulting Numbers: [70, 136]
Generated Node #0,2,0: 53:[70, 136] Operation: 89+47=136
Exploring Operation: 89-70=19, Resulting Numbers: [47, 19]
Generated Node #0,2,1: 53:[47, 19] Operation: 89-70=19
Exploring Operation: 89-47=42, Resulting Numbers: [70, 42]
Generated Node #0,2,2: 53:[70, 42] Operation: 89-47=42
Exploring Operation: 70-47=23, Resulting Numbers: [89, 23]
Generated Node #0,2,3: 53:[89, 23] Operation: 70-47=23
Moving to Node #0,2,2
Current State: 53:[70, 42], Operations: ['25+22=47', '89-47=42']
Exploring Operation: 70*42=2940, Resulting Numbers: [2940]
2940,53 unequal: No Solution
Exploring Operation: 70-42=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 70+42=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[47, 19], Operations: ['25+22=47', '89-70=19']
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 47*19=893, Resulting Numbers: [893]
893,53 unequal: No Solution
Exploring Operation: 47+19=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[89, 23], Operations: ['25+22=47', '70-47=23']
Exploring Operation: 89-23=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 89+23=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 89*23=2047, Resulting Numbers: [2047]
2047,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[70, 136], Operations: ['25+22=47', '89+47=136']
Exploring Operation: 70+136=206, Resulting Numbers: [206]
206,53 unequal: No Solution
Exploring Operation: 136-70=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 70*136=9520, Resulting Numbers: [9520]
9520,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,3
Current State: 53:[25, 70, 67], Operations: ['89-22=67']
Exploring Operation: 25+70=95, Resulting Numbers: [67, 95]
Generated Node #0,3,0: 53:[67, 95] Operation: 25+70=95
Exploring Operation: 67-25=42, Resulting Numbers: [70, 42]
Generated Node #0,3,1: 53:[70, 42] Operation: 67-25=42
Exploring Operation: 25+67=92, Resulting Numbers: [70, 92]
Generated Node #0,3,2: 53:[70, 92] Operation: 25+67=92
Exploring Operation: 70-25=45, Resulting Numbers: [67, 45]
Generated Node #0,3,3: 53:[67, 45] Operation: 70-25=45
Moving to Node #0,3,3
Current State: 53:[67, 45], Operations: ['89-22=67', '70-25=45']
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Exploring Operation: 67+45=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 67*45=3015, Resulting Numbers: [3015]
3015,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[70, 42], Operations: ['89-22=67', '67-25=42']
Exploring Operation: 70*42=2940, Resulting Numbers: [2940]
2940,53 unequal: No Solution
Exploring Operation: 70+42=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 70-42=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[70, 92], Operations: ['89-22=67', '25+67=92']
Exploring Operation: 70+92=162, Resulting Numbers: [162]
162,53 unequal: No Solution
Exploring Operation: 70*92=6440, Resulting Numbers: [6440]
6440,53 unequal: No Solution
Exploring Operation: 92-70=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[67, 95], Operations: ['89-22=67', '25+70=95']
Exploring Operation: 95-67=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 67+95=162, Resulting Numbers: [162]
162,53 unequal: No Solution
Exploring Operation: 67*95=6365, Resulting Numbers: [6365]
6365,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
Current State: 53:[25, 89, 48], Operations: ['70-22=48']
Exploring Operation: 25+48=73, Resulting Numbers: [89, 73]
Generated Node #0,1,0: 53:[89, 73] Operation: 25+48=73
Exploring Operation: 89-25=64, Resulting Numbers: [48, 64]
Generated Node #0,1,1: 53:[48, 64] Operation: 89-25=64
Exploring Operation: 89-48=41, Resulting Numbers: [25, 41]
Generated Node #0,1,2: 53:[25, 41] Operation: 89-48=41
Exploring Operation: 25+89=114, Resulting Numbers: [48, 114]
Generated Node #0,1,3: 53:[48, 114] Operation: 25+89=114
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[48, 64], Operations: ['70-22=48', '89-25=64']
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 48+64=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 48*64=3072, Resulting Numbers: [3072]
3072,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,1,2
Current State: 53:[25, 41], Operations: ['70-22=48', '89-48=41']
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,53 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,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,1,0
Current State: 53:[89, 73], Operations: ['70-22=48', '25+48=73']
Exploring Operation: 89+73=162, Resulting Numbers: [162]
162,53 unequal: No Solution
Exploring Operation: 89-73=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 89*73=6497, Resulting Numbers: [6497]
6497,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,1,3
Current State: 53:[48, 114], Operations: ['70-22=48', '25+89=114']
Exploring Operation: 48*114=5472, Resulting Numbers: [5472]
5472,53 unequal: No Solution
Exploring Operation: 48+114=162, Resulting Numbers: [162]
162,53 unequal: No Solution
Exploring Operation: 114-48=66, Resulting Numbers: [66]
66,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_4 | sum_heuristic |
[
97,
70,
22,
64
] | 69 | [
"97-70=27",
"64-22=42",
"27+42=69"
] | Current State: 69:[97, 70, 22, 64], Operations: []
Exploring Operation: 97-70=27, Resulting Numbers: [22, 64, 27]
Generated Node #2: [22, 64, 27] from Operation: 97-70=27
Current State: 69:[22, 64, 27], Operations: ['97-70=27']
Exploring Operation: 64-22=42, Resulting Numbers: [27, 42]
Generated Node #3: [27, 42] from Operation: 64-22=42
Current State: 69:[27, 42], Operations: ['97-70=27', '64-22=42']
Exploring Operation: 27+42=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[97, 70, 22, 64], Operations: []
Exploring Operation: 97-64=33, Resulting Numbers: [70, 22, 33]
Generated Node #0,0: 69:[70, 22, 33] Operation: 97-64=33
Exploring Operation: 70-64=6, Resulting Numbers: [97, 22, 6]
Generated Node #0,1: 69:[97, 22, 6] Operation: 70-64=6
Exploring Operation: 97-70=27, Resulting Numbers: [22, 64, 27]
Generated Node #0,2: 69:[22, 64, 27] Operation: 97-70=27
Exploring Operation: 97-22=75, Resulting Numbers: [70, 64, 75]
Generated Node #0,3: 69:[70, 64, 75] Operation: 97-22=75
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[22, 64, 27], Operations: ['97-70=27']
Exploring Operation: 64-27=37, Resulting Numbers: [22, 37]
Generated Node #0,2,0: 69:[22, 37] Operation: 64-27=37
Exploring Operation: 22+64=86, Resulting Numbers: [27, 86]
Generated Node #0,2,1: 69:[27, 86] Operation: 22+64=86
Exploring Operation: 64-22=42, Resulting Numbers: [27, 42]
Generated Node #0,2,2: 69:[27, 42] Operation: 64-22=42
Exploring Operation: 27-22=5, Resulting Numbers: [64, 5]
Generated Node #0,2,3: 69:[64, 5] Operation: 27-22=5
Moving to Node #0,2,3
Current State: 69:[64, 5], Operations: ['97-70=27', '27-22=5']
Exploring Operation: 64*5=320, Resulting Numbers: [320]
320,69 unequal: No Solution
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[97, 70, 22, 64], Operations: []
Exploring Operation: 97-70=27, Resulting Numbers: [22, 64, 27]
Generated Node #0,2: 69:[22, 64, 27] Operation: 97-70=27
Moving to Node #0,2
Current State: 69:[22, 64, 27], Operations: ['97-70=27']
Exploring Operation: 27-22=5, Resulting Numbers: [64, 5]
Generated Node #0,2,3: 69:[64, 5] Operation: 27-22=5
Moving to Node #0,2,3
Current State: 69:[64, 5], Operations: ['97-70=27', '27-22=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
3,
80,
93,
66
] | 45 | [
"93/3=31",
"80-66=14",
"31+14=45"
] | Current State: 45:[3, 80, 93, 66], Operations: []
Exploring Operation: 93/3=31, Resulting Numbers: [80, 66, 31]
Generated Node #2: [80, 66, 31] from Operation: 93/3=31
Current State: 45:[80, 66, 31], Operations: ['93/3=31']
Exploring Operation: 80-66=14, Resulting Numbers: [31, 14]
Generated Node #3: [31, 14] from Operation: 80-66=14
Current State: 45:[31, 14], Operations: ['93/3=31', '80-66=14']
Exploring Operation: 31+14=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[3, 80, 93, 66], Operations: []
Exploring Operation: 93-80=13, Resulting Numbers: [3, 66, 13]
Generated Node #0,0: 45:[3, 66, 13] Operation: 93-80=13
Moving to Node #0,0
Current State: 45:[3, 66, 13], Operations: ['93-80=13']
Exploring Operation: 66-13=53, Resulting Numbers: [3, 53]
Generated Node #0,0,0: 45:[3, 53] Operation: 66-13=53
Moving to Node #0,0,0
Current State: 45:[3, 53], Operations: ['93-80=13', '66-13=53']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,45 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
46,
6,
63,
43
] | 66 | [
"46-6=40",
"63+43=106",
"106-40=66"
] | Current State: 66:[46, 6, 63, 43], Operations: []
Exploring Operation: 46-6=40, Resulting Numbers: [63, 43, 40]
Generated Node #2: [63, 43, 40] from Operation: 46-6=40
Current State: 66:[63, 43, 40], Operations: ['46-6=40']
Exploring Operation: 63+43=106, Resulting Numbers: [40, 106]
Generated Node #3: [40, 106] from Operation: 63+43=106
Current State: 66:[40, 106], Operations: ['46-6=40', '63+43=106']
Exploring Operation: 106-40=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[46, 6, 63, 43], Operations: []
Exploring Operation: 46-43=3, Resulting Numbers: [6, 63, 3]
Generated Node #0,0: 66:[6, 63, 3] Operation: 46-43=3
Moving to Node #0,0
Current State: 66:[6, 63, 3], Operations: ['46-43=3']
Exploring Operation: 63+3=66, Resulting Numbers: [6, 66]
Generated Node #0,0,0: 66:[6, 66] Operation: 63+3=66
Moving to Node #0,0,0
Current State: 66:[6, 66], Operations: ['46-43=3', '63+3=66']
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,66 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
28,
24,
92,
88
] | 65 | [
"28-24=4",
"92/4=23",
"88-23=65"
] | Current State: 65:[28, 24, 92, 88], Operations: []
Exploring Operation: 28-24=4, Resulting Numbers: [92, 88, 4]
Generated Node #2: [92, 88, 4] from Operation: 28-24=4
Current State: 65:[92, 88, 4], Operations: ['28-24=4']
Exploring Operation: 92/4=23, Resulting Numbers: [88, 23]
Generated Node #3: [88, 23] from Operation: 92/4=23
Current State: 65:[88, 23], Operations: ['28-24=4', '92/4=23']
Exploring Operation: 88-23=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[28, 24, 92, 88], Operations: []
Exploring Operation: 88-28=60, Resulting Numbers: [24, 92, 60]
Generated Node #0,0: 65:[24, 92, 60] Operation: 88-28=60
Exploring Operation: 92-28=64, Resulting Numbers: [24, 88, 64]
Generated Node #0,1: 65:[24, 88, 64] Operation: 92-28=64
Exploring Operation: 92-88=4, Resulting Numbers: [28, 24, 4]
Generated Node #0,2: 65:[28, 24, 4] Operation: 92-88=4
Exploring Operation: 92-24=68, Resulting Numbers: [28, 88, 68]
Generated Node #0,3: 65:[28, 88, 68] Operation: 92-24=68
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[28, 24, 4], Operations: ['92-88=4']
Exploring Operation: 28+24=52, Resulting Numbers: [4, 52]
Generated Node #0,2,0: 65:[4, 52] Operation: 28+24=52
Exploring Operation: 28/4=7, Resulting Numbers: [24, 7]
Generated Node #0,2,1: 65:[24, 7] Operation: 28/4=7
Exploring Operation: 28-24=4, Resulting Numbers: [4, 4]
Generated Node #0,2,2: 65:[4, 4] Operation: 28-24=4
Exploring Operation: 24/4=6, Resulting Numbers: [28, 6]
Generated Node #0,2,3: 65:[28, 6] Operation: 24/4=6
Moving to Node #0,2,2
Current State: 65:[4, 4], Operations: ['92-88=4', '28-24=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,65 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[24, 7], Operations: ['92-88=4', '28/4=7']
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,65 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[4, 52], Operations: ['92-88=4', '28+24=52']
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,65 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 4*52=208, Resulting Numbers: [208]
208,65 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[28, 6], Operations: ['92-88=4', '24/4=6']
Exploring Operation: 28*6=168, Resulting Numbers: [168]
168,65 unequal: No Solution
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[24, 88, 64], Operations: ['92-28=64']
Exploring Operation: 24+88=112, Resulting Numbers: [64, 112]
Generated Node #0,1,0: 65:[64, 112] Operation: 24+88=112
Exploring Operation: 88-64=24, Resulting Numbers: [24, 24]
Generated Node #0,1,1: 65:[24, 24] Operation: 88-64=24
Exploring Operation: 24+64=88, Resulting Numbers: [88, 88]
Generated Node #0,1,2: 65:[88, 88] Operation: 24+64=88
Exploring Operation: 88-24=64, Resulting Numbers: [64, 64]
Generated Node #0,1,3: 65:[64, 64] Operation: 88-24=64
Moving to Node #0,1,3
Current State: 65:[64, 64], Operations: ['92-28=64', '88-24=64']
Exploring Operation: 64/64=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 64-64=0, Resulting Numbers: [0]
0,65 unequal: No Solution
Exploring Operation: 64*64=4096, Resulting Numbers: [4096]
4096,65 unequal: No Solution
Exploring Operation: 64+64=128, Resulting Numbers: [128]
128,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[24, 24], Operations: ['92-28=64', '88-64=24']
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,65 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,65 unequal: No Solution
Exploring Operation: 24*24=576, Resulting Numbers: [576]
576,65 unequal: No Solution
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[88, 88], Operations: ['92-28=64', '24+64=88']
Exploring Operation: 88-88=0, Resulting Numbers: [0]
0,65 unequal: No Solution
Exploring Operation: 88+88=176, Resulting Numbers: [176]
176,65 unequal: No Solution
Exploring Operation: 88*88=7744, Resulting Numbers: [7744]
7744,65 unequal: No Solution
Exploring Operation: 88/88=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[64, 112], Operations: ['92-28=64', '24+88=112']
Exploring Operation: 64+112=176, Resulting Numbers: [176]
176,65 unequal: No Solution
Exploring Operation: 112-64=48, Resulting Numbers: [48]
48,65 unequal: No Solution
Exploring Operation: 64*112=7168, Resulting Numbers: [7168]
7168,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[28, 88, 68], Operations: ['92-24=68']
Exploring Operation: 68-28=40, Resulting Numbers: [88, 40]
Generated Node #0,3,0: 65:[88, 40] Operation: 68-28=40
Exploring Operation: 88-28=60, Resulting Numbers: [68, 60]
Generated Node #0,3,1: 65:[68, 60] Operation: 88-28=60
Exploring Operation: 88-68=20, Resulting Numbers: [28, 20]
Generated Node #0,3,2: 65:[28, 20] Operation: 88-68=20
Exploring Operation: 28+88=116, Resulting Numbers: [68, 116]
Generated Node #0,3,3: 65:[68, 116] Operation: 28+88=116
Moving to Node #0,3,1
Current State: 65:[68, 60], Operations: ['92-24=68', '88-28=60']
Exploring Operation: 68*60=4080, Resulting Numbers: [4080]
4080,65 unequal: No Solution
Exploring Operation: 68+60=128, Resulting Numbers: [128]
128,65 unequal: No Solution
Exploring Operation: 68-60=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[28, 20], Operations: ['92-24=68', '88-68=20']
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,65 unequal: No Solution
Exploring Operation: 28*20=560, Resulting Numbers: [560]
560,65 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Moving to Node #0,3,0
Current State: 65:[88, 40], Operations: ['92-24=68', '68-28=40']
Exploring Operation: 88-40=48, Resulting Numbers: [48]
48,65 unequal: No Solution
Exploring Operation: 88*40=3520, Resulting Numbers: [3520]
3520,65 unequal: No Solution
Exploring Operation: 88+40=128, Resulting Numbers: [128]
128,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[68, 116], Operations: ['92-24=68', '28+88=116']
Exploring Operation: 68*116=7888, Resulting Numbers: [7888]
7888,65 unequal: No Solution
Exploring Operation: 68+116=184, Resulting Numbers: [184]
184,65 unequal: No Solution
Exploring Operation: 116-68=48, Resulting Numbers: [48]
48,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[24, 92, 60], Operations: ['88-28=60']
Exploring Operation: 24+60=84, Resulting Numbers: [92, 84]
Generated Node #0,0,0: 65:[92, 84] Operation: 24+60=84
Exploring Operation: 92-60=32, Resulting Numbers: [24, 32]
Generated Node #0,0,1: 65:[24, 32] Operation: 92-60=32
Exploring Operation: 92-24=68, Resulting Numbers: [60, 68]
Generated Node #0,0,2: 65:[60, 68] Operation: 92-24=68
Exploring Operation: 60-24=36, Resulting Numbers: [92, 36]
Generated Node #0,0,3: 65:[92, 36] Operation: 60-24=36
Moving to Node #0,0,2
Current State: 65:[60, 68], Operations: ['88-28=60', '92-24=68']
Exploring Operation: 68-60=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 60*68=4080, Resulting Numbers: [4080]
4080,65 unequal: No Solution
Exploring Operation: 60+68=128, Resulting Numbers: [128]
128,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[24, 32], Operations: ['88-28=60', '92-60=32']
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,65 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[92, 84], Operations: ['88-28=60', '24+60=84']
Exploring Operation: 92*84=7728, Resulting Numbers: [7728]
7728,65 unequal: No Solution
Exploring Operation: 92+84=176, Resulting Numbers: [176]
176,65 unequal: No Solution
Exploring Operation: 92-84=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Moving to Node #0,0,3
Current State: 65:[92, 36], Operations: ['88-28=60', '60-24=36']
Exploring Operation: 92-36=56, Resulting Numbers: [56]
56,65 unequal: No Solution
Exploring Operation: 92*36=3312, Resulting Numbers: [3312]
3312,65 unequal: No Solution
Exploring Operation: 92+36=128, Resulting Numbers: [128]
128,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
46,
18,
3,
14
] | 72 | [
"3*14=42",
"46-42=4",
"18*4=72"
] | Current State: 72:[46, 18, 3, 14], Operations: []
Exploring Operation: 3*14=42, Resulting Numbers: [46, 18, 42]
Generated Node #2: [46, 18, 42] from Operation: 3*14=42
Current State: 72:[46, 18, 42], Operations: ['3*14=42']
Exploring Operation: 46-42=4, Resulting Numbers: [18, 4]
Generated Node #3: [18, 4] from Operation: 46-42=4
Current State: 72:[18, 4], Operations: ['3*14=42', '46-42=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[46, 18, 3, 14], Operations: []
Exploring Operation: 46-18=28, Resulting Numbers: [3, 14, 28]
Generated Node #0,0: 72:[3, 14, 28] Operation: 46-18=28
Exploring Operation: 46-3=43, Resulting Numbers: [18, 14, 43]
Generated Node #0,1: 72:[18, 14, 43] Operation: 46-3=43
Exploring Operation: 46-14=32, Resulting Numbers: [18, 3, 32]
Generated Node #0,2: 72:[18, 3, 32] Operation: 46-14=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[18, 3, 32], Operations: ['46-14=32']
Exploring Operation: 3+32=35, Resulting Numbers: [18, 35]
Generated Node #0,2,0: 72:[18, 35] Operation: 3+32=35
Exploring Operation: 18/3=6, Resulting Numbers: [32, 6]
Generated Node #0,2,1: 72:[32, 6] Operation: 18/3=6
Exploring Operation: 32-18=14, Resulting Numbers: [3, 14]
Generated Node #0,2,2: 72:[3, 14] Operation: 32-18=14
Moving to Node #0,2,0
Current State: 72:[18, 35], Operations: ['46-14=32', '3+32=35']
Exploring Operation: 18*35=630, Resulting Numbers: [630]
630,72 unequal: No Solution
Exploring Operation: 18+35=53, Resulting Numbers: [53]
53,72 unequal: No Solution
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[3, 14], Operations: ['46-14=32', '32-18=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[32, 6], Operations: ['46-14=32', '18/3=6']
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 32*6=192, Resulting Numbers: [192]
192,72 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[3, 14, 28], Operations: ['46-18=28']
Exploring Operation: 28/14=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 72:[3, 2] Operation: 28/14=2
Exploring Operation: 28-3=25, Resulting Numbers: [14, 25]
Generated Node #0,0,1: 72:[14, 25] Operation: 28-3=25
Exploring Operation: 28-14=14, Resulting Numbers: [3, 14]
Generated Node #0,0,2: 72:[3, 14] Operation: 28-14=14
Moving to Node #0,0,0
Current State: 72:[3, 2], Operations: ['46-18=28', '28/14=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Moving to Node #0,0,2
Current State: 72:[3, 14], Operations: ['46-18=28', '28-14=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[14, 25], Operations: ['46-18=28', '28-3=25']
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,72 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 14*25=350, Resulting Numbers: [350]
350,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[18, 14, 43], Operations: ['46-3=43']
Exploring Operation: 43-14=29, Resulting Numbers: [18, 29]
Generated Node #0,1,0: 72:[18, 29] Operation: 43-14=29
Exploring Operation: 18-14=4, Resulting Numbers: [43, 4]
Generated Node #0,1,1: 72:[43, 4] Operation: 18-14=4
Exploring Operation: 43-18=25, Resulting Numbers: [14, 25]
Generated Node #0,1,2: 72:[14, 25] Operation: 43-18=25
Moving to Node #0,1,2
Current State: 72:[14, 25], Operations: ['46-3=43', '43-18=25']
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 14*25=350, Resulting Numbers: [350]
350,72 unequal: No Solution
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[18, 29], Operations: ['46-3=43', '43-14=29']
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,72 unequal: No Solution
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[43, 4], Operations: ['46-3=43', '18-14=4']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,72 unequal: No Solution
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,72 unequal: No Solution
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
79,
86,
77,
10
] | 74 | [
"86-79=7",
"77-10=67",
"7+67=74"
] | Current State: 74:[79, 86, 77, 10], Operations: []
Exploring Operation: 86-79=7, Resulting Numbers: [77, 10, 7]
Generated Node #2: [77, 10, 7] from Operation: 86-79=7
Current State: 74:[77, 10, 7], Operations: ['86-79=7']
Exploring Operation: 77-10=67, Resulting Numbers: [7, 67]
Generated Node #3: [7, 67] from Operation: 77-10=67
Current State: 74:[7, 67], Operations: ['86-79=7', '77-10=67']
Exploring Operation: 7+67=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[79, 86, 77, 10], Operations: []
Exploring Operation: 86-79=7, Resulting Numbers: [77, 10, 7]
Generated Node #0,0: 74:[77, 10, 7] Operation: 86-79=7
Exploring Operation: 86-10=76, Resulting Numbers: [79, 77, 76]
Generated Node #0,1: 74:[79, 77, 76] Operation: 86-10=76
Exploring Operation: 79-77=2, Resulting Numbers: [86, 10, 2]
Generated Node #0,2: 74:[86, 10, 2] Operation: 79-77=2
Moving to Node #0,1
Current State: 74:[79, 77, 76], Operations: ['86-10=76']
Exploring Operation: 77-76=1, Resulting Numbers: [79, 1]
Generated Node #0,1,0: 74:[79, 1] Operation: 77-76=1
Exploring Operation: 79-76=3, Resulting Numbers: [77, 3]
Generated Node #0,1,1: 74:[77, 3] Operation: 79-76=3
Exploring Operation: 79-77=2, Resulting Numbers: [76, 2]
Generated Node #0,1,2: 74:[76, 2] Operation: 79-77=2
Moving to Node #0,0
Current State: 74:[77, 10, 7], Operations: ['86-79=7']
Exploring Operation: 10*7=70, Resulting Numbers: [77, 70]
Generated Node #0,0,0: 74:[77, 70] Operation: 10*7=70
Exploring Operation: 77-10=67, Resulting Numbers: [7, 67]
Generated Node #0,0,1: 74:[7, 67] Operation: 77-10=67
Exploring Operation: 10-7=3, Resulting Numbers: [77, 3]
Generated Node #0,0,2: 74:[77, 3] Operation: 10-7=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 74:[77, 3], Operations: ['86-79=7', '10-7=3']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[79, 86, 77, 10], Operations: []
Exploring Operation: 86-79=7, Resulting Numbers: [77, 10, 7]
Generated Node #0,0: 74:[77, 10, 7] Operation: 86-79=7
Moving to Node #0,0
Current State: 74:[77, 10, 7], Operations: ['86-79=7']
Exploring Operation: 10-7=3, Resulting Numbers: [77, 3]
Generated Node #0,0,2: 74:[77, 3] Operation: 10-7=3
Moving to Node #0,0,2
Current State: 74:[77, 3], Operations: ['86-79=7', '10-7=3']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
31,
16,
4,
27
] | 48 | [
"31-16=15",
"27-15=12",
"4*12=48"
] | Current State: 48:[31, 16, 4, 27], Operations: []
Exploring Operation: 31-16=15, Resulting Numbers: [4, 27, 15]
Generated Node #2: [4, 27, 15] from Operation: 31-16=15
Current State: 48:[4, 27, 15], Operations: ['31-16=15']
Exploring Operation: 27-15=12, Resulting Numbers: [4, 12]
Generated Node #3: [4, 12] from Operation: 27-15=12
Current State: 48:[4, 12], Operations: ['31-16=15', '27-15=12']
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[31, 16, 4, 27], Operations: []
Exploring Operation: 31+16=47, Resulting Numbers: [4, 27, 47]
Generated Node #0,0: 48:[4, 27, 47] Operation: 31+16=47
Exploring Operation: 31-16=15, Resulting Numbers: [4, 27, 15]
Generated Node #0,1: 48:[4, 27, 15] Operation: 31-16=15
Exploring Operation: 31-27=4, Resulting Numbers: [16, 4, 4]
Generated Node #0,2: 48:[16, 4, 4] Operation: 31-27=4
Moving to Node #0,2
Current State: 48:[16, 4, 4], Operations: ['31-27=4']
Exploring Operation: 16-4=12, Resulting Numbers: [4, 12]
Generated Node #0,2,0: 48:[4, 12] Operation: 16-4=12
Exploring Operation: 16-4=12, Resulting Numbers: [4, 12]
Generated Node #0,2,1: 48:[4, 12] Operation: 16-4=12
Exploring Operation: 16/4=4, Resulting Numbers: [4, 4]
Generated Node #0,2,2: 48:[4, 4] Operation: 16/4=4
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 48:[4, 12], Operations: ['31-27=4', '16-4=12']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[31, 16, 4, 27], Operations: []
Exploring Operation: 31-27=4, Resulting Numbers: [16, 4, 4]
Generated Node #0,2: 48:[16, 4, 4] Operation: 31-27=4
Moving to Node #0,2
Current State: 48:[16, 4, 4], Operations: ['31-27=4']
Exploring Operation: 16-4=12, Resulting Numbers: [4, 12]
Generated Node #0,2,0: 48:[4, 12] Operation: 16-4=12
Moving to Node #0,2,0
Current State: 48:[4, 12], Operations: ['31-27=4', '16-4=12']
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
55,
50,
27,
79
] | 56 | [
"55-50=5",
"27*5=135",
"135-79=56"
] | Current State: 56:[55, 50, 27, 79], Operations: []
Exploring Operation: 55-50=5, Resulting Numbers: [27, 79, 5]
Generated Node #2: [27, 79, 5] from Operation: 55-50=5
Current State: 56:[27, 79, 5], Operations: ['55-50=5']
Exploring Operation: 27*5=135, Resulting Numbers: [79, 135]
Generated Node #3: [79, 135] from Operation: 27*5=135
Current State: 56:[79, 135], Operations: ['55-50=5', '27*5=135']
Exploring Operation: 135-79=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[55, 50, 27, 79], Operations: []
Exploring Operation: 79-50=29, Resulting Numbers: [55, 27, 29]
Generated Node #0,0: 56:[55, 27, 29] Operation: 79-50=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[55, 27, 29], Operations: ['79-50=29']
Exploring Operation: 55-27=28, Resulting Numbers: [29, 28]
Generated Node #0,0,0: 56:[29, 28] Operation: 55-27=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[29, 28], Operations: ['79-50=29', '55-27=28']
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
4,
97,
19,
36
] | 15 | [
"4*19=76",
"97-36=61",
"76-61=15"
] | Current State: 15:[4, 97, 19, 36], Operations: []
Exploring Operation: 4*19=76, Resulting Numbers: [97, 36, 76]
Generated Node #2: [97, 36, 76] from Operation: 4*19=76
Current State: 15:[97, 36, 76], Operations: ['4*19=76']
Exploring Operation: 97-36=61, Resulting Numbers: [76, 61]
Generated Node #3: [76, 61] from Operation: 97-36=61
Current State: 15:[76, 61], Operations: ['4*19=76', '97-36=61']
Exploring Operation: 76-61=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[4, 97, 19, 36], Operations: []
Exploring Operation: 97-19=78, Resulting Numbers: [4, 36, 78]
Generated Node #0,0: 15:[4, 36, 78] Operation: 97-19=78
Exploring Operation: 97-36=61, Resulting Numbers: [4, 19, 61]
Generated Node #0,1: 15:[4, 19, 61] Operation: 97-36=61
Exploring Operation: 36-19=17, Resulting Numbers: [4, 97, 17]
Generated Node #0,2: 15:[4, 97, 17] Operation: 36-19=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[4, 19, 61], Operations: ['97-36=61']
Exploring Operation: 61-4=57, Resulting Numbers: [19, 57]
Generated Node #0,1,0: 15:[19, 57] Operation: 61-4=57
Exploring Operation: 19-4=15, Resulting Numbers: [61, 15]
Generated Node #0,1,1: 15:[61, 15] Operation: 19-4=15
Exploring Operation: 61-19=42, Resulting Numbers: [4, 42]
Generated Node #0,1,2: 15:[4, 42] Operation: 61-19=42
Moving to Node #0,1,2
Current State: 15:[4, 42], Operations: ['97-36=61', '61-19=42']
Exploring Operation: 4*42=168, Resulting Numbers: [168]
168,15 unequal: No Solution
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,15 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[19, 57], Operations: ['97-36=61', '61-4=57']
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 19+57=76, Resulting Numbers: [76]
76,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[61, 15], Operations: ['97-36=61', '19-4=15']
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,15 unequal: No Solution
Exploring Operation: 61+15=76, Resulting Numbers: [76]
76,15 unequal: No Solution
Exploring Operation: 61*15=915, Resulting Numbers: [915]
915,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
Current State: 15:[4, 36, 78], Operations: ['97-19=78']
Exploring Operation: 78-36=42, Resulting Numbers: [4, 42]
Generated Node #0,0,0: 15:[4, 42] Operation: 78-36=42
Exploring Operation: 36/4=9, Resulting Numbers: [78, 9]
Generated Node #0,0,1: 15:[78, 9] Operation: 36/4=9
Exploring Operation: 36-4=32, Resulting Numbers: [78, 32]
Generated Node #0,0,2: 15:[78, 32] Operation: 36-4=32
Moving to Node #0,0,0
Current State: 15:[4, 42], Operations: ['97-19=78', '78-36=42']
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,15 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Exploring Operation: 4*42=168, Resulting Numbers: [168]
168,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[78, 9], Operations: ['97-19=78', '36/4=9']
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,15 unequal: No Solution
Exploring Operation: 78+9=87, Resulting Numbers: [87]
87,15 unequal: No Solution
Exploring Operation: 78*9=702, Resulting Numbers: [702]
702,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[78, 32], Operations: ['97-19=78', '36-4=32']
Exploring Operation: 78+32=110, Resulting Numbers: [110]
110,15 unequal: No Solution
Exploring Operation: 78-32=46, Resulting Numbers: [46]
46,15 unequal: No Solution
Exploring Operation: 78*32=2496, Resulting Numbers: [2496]
2496,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,2
Current State: 15:[4, 97, 17], Operations: ['36-19=17']
Exploring Operation: 97-4=93, Resulting Numbers: [17, 93]
Generated Node #0,2,0: 15:[17, 93] Operation: 97-4=93
Exploring Operation: 17-4=13, Resulting Numbers: [97, 13]
Generated Node #0,2,1: 15:[97, 13] Operation: 17-4=13
Exploring Operation: 97-17=80, Resulting Numbers: [4, 80]
Generated Node #0,2,2: 15:[4, 80] Operation: 97-17=80
Moving to Node #0,2,2
Current State: 15:[4, 80], Operations: ['36-19=17', '97-17=80']
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,15 unequal: No Solution
Exploring Operation: 4+80=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[17, 93], Operations: ['36-19=17', '97-4=93']
Exploring Operation: 17*93=1581, Resulting Numbers: [1581]
1581,15 unequal: No Solution
Exploring Operation: 17+93=110, Resulting Numbers: [110]
110,15 unequal: No Solution
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[97, 13], Operations: ['36-19=17', '17-4=13']
Exploring Operation: 97*13=1261, Resulting Numbers: [1261]
1261,15 unequal: No Solution
Exploring Operation: 97+13=110, Resulting Numbers: [110]
110,15 unequal: No Solution
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
44,
59,
33,
22
] | 94 | [
"44/22=2",
"59+33=92",
"2+92=94"
] | Current State: 94:[44, 59, 33, 22], Operations: []
Exploring Operation: 44/22=2, Resulting Numbers: [59, 33, 2]
Generated Node #2: [59, 33, 2] from Operation: 44/22=2
Current State: 94:[59, 33, 2], Operations: ['44/22=2']
Exploring Operation: 59+33=92, Resulting Numbers: [2, 92]
Generated Node #3: [2, 92] from Operation: 59+33=92
Current State: 94:[2, 92], Operations: ['44/22=2', '59+33=92']
Exploring Operation: 2+92=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[44, 59, 33, 22], Operations: []
Exploring Operation: 33-22=11, Resulting Numbers: [44, 59, 11]
Generated Node #0,0: 94:[44, 59, 11] Operation: 33-22=11
Exploring Operation: 33+22=55, Resulting Numbers: [44, 59, 55]
Generated Node #0,1: 94:[44, 59, 55] Operation: 33+22=55
Exploring Operation: 44/22=2, Resulting Numbers: [59, 33, 2]
Generated Node #0,2: 94:[59, 33, 2] Operation: 44/22=2
Exploring Operation: 59+33=92, Resulting Numbers: [44, 22, 92]
Generated Node #0,3: 94:[44, 22, 92] Operation: 59+33=92
Exploring Operation: 59-22=37, Resulting Numbers: [44, 33, 37]
Generated Node #0,4: 94:[44, 33, 37] Operation: 59-22=37
Moving to Node #0,1
Current State: 94:[44, 59, 55], Operations: ['33+22=55']
Exploring Operation: 59-44=15, Resulting Numbers: [55, 15]
Generated Node #0,1,0: 94:[55, 15] Operation: 59-44=15
Exploring Operation: 44+59=103, Resulting Numbers: [55, 103]
Generated Node #0,1,1: 94:[55, 103] Operation: 44+59=103
Exploring Operation: 59-55=4, Resulting Numbers: [44, 4]
Generated Node #0,1,2: 94:[44, 4] Operation: 59-55=4
Exploring Operation: 44+55=99, Resulting Numbers: [59, 99]
Generated Node #0,1,3: 94:[59, 99] Operation: 44+55=99
Exploring Operation: 55-44=11, Resulting Numbers: [59, 11]
Generated Node #0,1,4: 94:[59, 11] Operation: 55-44=11
Moving to Node #0,0
Current State: 94:[44, 59, 11], Operations: ['33-22=11']
Exploring Operation: 59-11=48, Resulting Numbers: [44, 48]
Generated Node #0,0,0: 94:[44, 48] Operation: 59-11=48
Exploring Operation: 44+59=103, Resulting Numbers: [11, 103]
Generated Node #0,0,1: 94:[11, 103] Operation: 44+59=103
Exploring Operation: 44/11=4, Resulting Numbers: [59, 4]
Generated Node #0,0,2: 94:[59, 4] Operation: 44/11=4
Exploring Operation: 44+11=55, Resulting Numbers: [59, 55]
Generated Node #0,0,3: 94:[59, 55] Operation: 44+11=55
Exploring Operation: 59-44=15, Resulting Numbers: [11, 15]
Generated Node #0,0,4: 94:[11, 15] Operation: 59-44=15
Moving to Node #0,3
Current State: 94:[44, 22, 92], Operations: ['59+33=92']
Exploring Operation: 44+22=66, Resulting Numbers: [92, 66]
Generated Node #0,3,0: 94:[92, 66] Operation: 44+22=66
Exploring Operation: 44/22=2, Resulting Numbers: [92, 2]
Generated Node #0,3,1: 94:[92, 2] Operation: 44/22=2
Exploring Operation: 22+92=114, Resulting Numbers: [44, 114]
Generated Node #0,3,2: 94:[44, 114] Operation: 22+92=114
Exploring Operation: 44-22=22, Resulting Numbers: [92, 22]
Generated Node #0,3,3: 94:[92, 22] Operation: 44-22=22
Exploring Operation: 92-44=48, Resulting Numbers: [22, 48]
Generated Node #0,3,4: 94:[22, 48] Operation: 92-44=48
Moving to Node #0,2
Current State: 94:[59, 33, 2], Operations: ['44/22=2']
Exploring Operation: 59-33=26, Resulting Numbers: [2, 26]
Generated Node #0,2,0: 94:[2, 26] Operation: 59-33=26
Exploring Operation: 59+2=61, Resulting Numbers: [33, 61]
Generated Node #0,2,1: 94:[33, 61] Operation: 59+2=61
Exploring Operation: 59+33=92, Resulting Numbers: [2, 92]
Generated Node #0,2,2: 94:[2, 92] Operation: 59+33=92
Exploring Operation: 33+2=35, Resulting Numbers: [59, 35]
Generated Node #0,2,3: 94:[59, 35] Operation: 33+2=35
Exploring Operation: 59-2=57, Resulting Numbers: [33, 57]
Generated Node #0,2,4: 94:[33, 57] Operation: 59-2=57
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[2, 92], Operations: ['44/22=2', '59+33=92']
Exploring Operation: 2*92=184, Resulting Numbers: [184]
184,94 unequal: No Solution
Exploring Operation: 2+92=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[44, 59, 33, 22], Operations: []
Exploring Operation: 44/22=2, Resulting Numbers: [59, 33, 2]
Generated Node #0,2: 94:[59, 33, 2] Operation: 44/22=2
Moving to Node #0,2
Current State: 94:[59, 33, 2], Operations: ['44/22=2']
Exploring Operation: 59+33=92, Resulting Numbers: [2, 92]
Generated Node #0,2,2: 94:[2, 92] Operation: 59+33=92
Moving to Node #0,2,2
Current State: 94:[2, 92], Operations: ['44/22=2', '59+33=92']
Exploring Operation: 2+92=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_5 | mult_heuristic |
[
43,
37,
19,
2
] | 69 | [
"37+19=56",
"2*56=112",
"112-43=69"
] | Current State: 69:[43, 37, 19, 2], Operations: []
Exploring Operation: 37+19=56, Resulting Numbers: [43, 2, 56]
Generated Node #2: [43, 2, 56] from Operation: 37+19=56
Current State: 69:[43, 2, 56], Operations: ['37+19=56']
Exploring Operation: 2*56=112, Resulting Numbers: [43, 112]
Generated Node #3: [43, 112] from Operation: 2*56=112
Current State: 69:[43, 112], Operations: ['37+19=56', '2*56=112']
Exploring Operation: 112-43=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[43, 37, 19, 2], Operations: []
Exploring Operation: 43-37=6, Resulting Numbers: [19, 2, 6]
Generated Node #0,0: 69:[19, 2, 6] Operation: 43-37=6
Exploring Operation: 43+19=62, Resulting Numbers: [37, 2, 62]
Generated Node #0,1: 69:[37, 2, 62] Operation: 43+19=62
Exploring Operation: 43-19=24, Resulting Numbers: [37, 2, 24]
Generated Node #0,2: 69:[37, 2, 24] Operation: 43-19=24
Exploring Operation: 43+37=80, Resulting Numbers: [19, 2, 80]
Generated Node #0,3: 69:[19, 2, 80] Operation: 43+37=80
Moving to Node #0,0
Current State: 69:[19, 2, 6], Operations: ['43-37=6']
Exploring Operation: 6/2=3, Resulting Numbers: [19, 3]
Generated Node #0,0,0: 69:[19, 3] Operation: 6/2=3
Exploring Operation: 19+2=21, Resulting Numbers: [6, 21]
Generated Node #0,0,1: 69:[6, 21] Operation: 19+2=21
Exploring Operation: 6-2=4, Resulting Numbers: [19, 4]
Generated Node #0,0,2: 69:[19, 4] Operation: 6-2=4
Exploring Operation: 19+6=25, Resulting Numbers: [2, 25]
Generated Node #0,0,3: 69:[2, 25] Operation: 19+6=25
Moving to Node #0,3
Current State: 69:[19, 2, 80], Operations: ['43+37=80']
Exploring Operation: 19+2=21, Resulting Numbers: [80, 21]
Generated Node #0,3,0: 69:[80, 21] Operation: 19+2=21
Exploring Operation: 80-19=61, Resulting Numbers: [2, 61]
Generated Node #0,3,1: 69:[2, 61] Operation: 80-19=61
Exploring Operation: 80-2=78, Resulting Numbers: [19, 78]
Generated Node #0,3,2: 69:[19, 78] Operation: 80-2=78
Exploring Operation: 19-2=17, Resulting Numbers: [80, 17]
Generated Node #0,3,3: 69:[80, 17] Operation: 19-2=17
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 69:[2, 61], Operations: ['43+37=80', '80-19=61']
Exploring Operation: 2*61=122, Resulting Numbers: [122]
122,69 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,69 unequal: No Solution
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,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,3,0
Current State: 69:[80, 21], Operations: ['43+37=80', '19+2=21']
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,69 unequal: No Solution
Exploring Operation: 80*21=1680, Resulting Numbers: [1680]
1680,69 unequal: No Solution
Exploring Operation: 80+21=101, Resulting Numbers: [101]
101,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,3,2
Current State: 69:[19, 78], Operations: ['43+37=80', '80-2=78']
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,69 unequal: No Solution
Exploring Operation: 19+78=97, Resulting Numbers: [97]
97,69 unequal: No Solution
Exploring Operation: 19*78=1482, Resulting Numbers: [1482]
1482,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,3,3
Current State: 69:[80, 17], Operations: ['43+37=80', '19-2=17']
Exploring Operation: 80+17=97, Resulting Numbers: [97]
97,69 unequal: No Solution
Exploring Operation: 80*17=1360, Resulting Numbers: [1360]
1360,69 unequal: No Solution
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,69 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: 69:[37, 2, 24], Operations: ['43-19=24']
Exploring Operation: 37-2=35, Resulting Numbers: [24, 35]
Generated Node #0,2,0: 69:[24, 35] Operation: 37-2=35
Exploring Operation: 37+24=61, Resulting Numbers: [2, 61]
Generated Node #0,2,1: 69:[2, 61] Operation: 37+24=61
Exploring Operation: 37*2=74, Resulting Numbers: [24, 74]
Generated Node #0,2,2: 69:[24, 74] Operation: 37*2=74
Exploring Operation: 37-24=13, Resulting Numbers: [2, 13]
Generated Node #0,2,3: 69:[2, 13] Operation: 37-24=13
Moving to Node #0,1
Current State: 69:[37, 2, 62], Operations: ['43+19=62']
Exploring Operation: 37-2=35, Resulting Numbers: [62, 35]
Generated Node #0,1,0: 69:[62, 35] Operation: 37-2=35
Exploring Operation: 62-37=25, Resulting Numbers: [2, 25]
Generated Node #0,1,1: 69:[2, 25] Operation: 62-37=25
Exploring Operation: 37*2=74, Resulting Numbers: [62, 74]
Generated Node #0,1,2: 69:[62, 74] Operation: 37*2=74
Exploring Operation: 2+62=64, Resulting Numbers: [37, 64]
Generated Node #0,1,3: 69:[37, 64] Operation: 2+62=64
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 69:[2, 25], Operations: ['43+19=62', '62-37=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,69 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,69 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 69:[62, 74], Operations: ['43+19=62', '37*2=74']
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,69 unequal: No Solution
Exploring Operation: 62*74=4588, Resulting Numbers: [4588]
4588,69 unequal: No Solution
Exploring Operation: 62+74=136, Resulting Numbers: [136]
136,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 69:[62, 35], Operations: ['43+19=62', '37-2=35']
Exploring Operation: 62*35=2170, Resulting Numbers: [2170]
2170,69 unequal: No Solution
Exploring Operation: 62+35=97, Resulting Numbers: [97]
97,69 unequal: No Solution
Exploring Operation: 62-35=27, Resulting Numbers: [27]
27,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 69:[37, 64], Operations: ['43+19=62', '2+62=64']
Exploring Operation: 37*64=2368, Resulting Numbers: [2368]
2368,69 unequal: No Solution
Exploring Operation: 37+64=101, Resulting Numbers: [101]
101,69 unequal: No Solution
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 69:[2, 25], Operations: ['43-37=6', '19+6=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,69 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,69 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[19, 3], Operations: ['43-37=6', '6/2=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[6, 21], Operations: ['43-37=6', '19+2=21']
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,69 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[19, 4], Operations: ['43-37=6', '6-2=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,69 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[24, 74], Operations: ['43-19=24', '37*2=74']
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Exploring Operation: 24+74=98, Resulting Numbers: [98]
98,69 unequal: No Solution
Exploring Operation: 24*74=1776, Resulting Numbers: [1776]
1776,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[2, 61], Operations: ['43-19=24', '37+24=61']
Exploring Operation: 2*61=122, Resulting Numbers: [122]
122,69 unequal: No Solution
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,69 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,69 unequal: No Solution
Moving to Node #0,2,3
Current State: 69:[2, 13], Operations: ['43-19=24', '37-24=13']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[24, 35], Operations: ['43-19=24', '37-2=35']
Exploring Operation: 24*35=840, Resulting Numbers: [840]
840,69 unequal: No Solution
Exploring Operation: 24+35=59, Resulting Numbers: [59]
59,69 unequal: No Solution
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,69 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
6,
94,
48,
80
] | 19 | [
"94+80=174",
"174/6=29",
"48-29=19"
] | Current State: 19:[6, 94, 48, 80], Operations: []
Exploring Operation: 94+80=174, Resulting Numbers: [6, 48, 174]
Generated Node #2: [6, 48, 174] from Operation: 94+80=174
Current State: 19:[6, 48, 174], Operations: ['94+80=174']
Exploring Operation: 174/6=29, Resulting Numbers: [48, 29]
Generated Node #3: [48, 29] from Operation: 174/6=29
Current State: 19:[48, 29], Operations: ['94+80=174', '174/6=29']
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[6, 94, 48, 80], Operations: []
Exploring Operation: 94-80=14, Resulting Numbers: [6, 48, 14]
Generated Node #0,0: 19:[6, 48, 14] Operation: 94-80=14
Exploring Operation: 94-48=46, Resulting Numbers: [6, 80, 46]
Generated Node #0,1: 19:[6, 80, 46] Operation: 94-48=46
Exploring Operation: 80-48=32, Resulting Numbers: [6, 94, 32]
Generated Node #0,2: 19:[6, 94, 32] Operation: 80-48=32
Moving to Node #0,0
Current State: 19:[6, 48, 14], Operations: ['94-80=14']
Exploring Operation: 48-14=34, Resulting Numbers: [6, 34]
Generated Node #0,0,0: 19:[6, 34] Operation: 48-14=34
Exploring Operation: 48/6=8, Resulting Numbers: [14, 8]
Generated Node #0,0,1: 19:[14, 8] Operation: 48/6=8
Exploring Operation: 48-6=42, Resulting Numbers: [14, 42]
Generated Node #0,0,2: 19:[14, 42] Operation: 48-6=42
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[14, 8], Operations: ['94-80=14', '48/6=8']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 14*8=112, Resulting Numbers: [112]
112,19 unequal: No Solution
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[6, 34], Operations: ['94-80=14', '48-14=34']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[14, 42], Operations: ['94-80=14', '48-6=42']
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 14+42=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 19:[6, 80, 46], Operations: ['94-48=46']
Exploring Operation: 46-6=40, Resulting Numbers: [80, 40]
Generated Node #0,1,0: 19:[80, 40] Operation: 46-6=40
Exploring Operation: 80-46=34, Resulting Numbers: [6, 34]
Generated Node #0,1,1: 19:[6, 34] Operation: 80-46=34
Exploring Operation: 80-6=74, Resulting Numbers: [46, 74]
Generated Node #0,1,2: 19:[46, 74] Operation: 80-6=74
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[6, 34], Operations: ['94-48=46', '80-46=34']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[80, 40], Operations: ['94-48=46', '46-6=40']
Exploring Operation: 80-40=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 80+40=120, Resulting Numbers: [120]
120,19 unequal: No Solution
Exploring Operation: 80/40=2, Resulting Numbers: [2]
2,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 19:[46, 74], Operations: ['94-48=46', '80-6=74']
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 46*74=3404, Resulting Numbers: [3404]
3404,19 unequal: No Solution
Exploring Operation: 46+74=120, Resulting Numbers: [120]
120,19 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: 19:[6, 94, 32], Operations: ['80-48=32']
Exploring Operation: 94-32=62, Resulting Numbers: [6, 62]
Generated Node #0,2,0: 19:[6, 62] Operation: 94-32=62
Exploring Operation: 94-6=88, Resulting Numbers: [32, 88]
Generated Node #0,2,1: 19:[32, 88] Operation: 94-6=88
Exploring Operation: 32-6=26, Resulting Numbers: [94, 26]
Generated Node #0,2,2: 19:[94, 26] Operation: 32-6=26
Moving to Node #0,2,0
Current State: 19:[6, 62], Operations: ['80-48=32', '94-32=62']
Exploring Operation: 6+62=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Exploring Operation: 6*62=372, Resulting Numbers: [372]
372,19 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[32, 88], Operations: ['80-48=32', '94-6=88']
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Exploring Operation: 32*88=2816, Resulting Numbers: [2816]
2816,19 unequal: No Solution
Exploring Operation: 32+88=120, Resulting Numbers: [120]
120,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[94, 26], Operations: ['80-48=32', '32-6=26']
Exploring Operation: 94*26=2444, Resulting Numbers: [2444]
2444,19 unequal: No Solution
Exploring Operation: 94+26=120, Resulting Numbers: [120]
120,19 unequal: No Solution
Exploring Operation: 94-26=68, Resulting Numbers: [68]
68,19 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
91,
38,
84,
87
] | 68 | [
"91-87=4",
"38*4=152",
"152-84=68"
] | Current State: 68:[91, 38, 84, 87], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [38, 84, 4]
Generated Node #2: [38, 84, 4] from Operation: 91-87=4
Current State: 68:[38, 84, 4], Operations: ['91-87=4']
Exploring Operation: 38*4=152, Resulting Numbers: [84, 152]
Generated Node #3: [84, 152] from Operation: 38*4=152
Current State: 68:[84, 152], Operations: ['91-87=4', '38*4=152']
Exploring Operation: 152-84=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[91, 38, 84, 87], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [38, 84, 4]
Generated Node #0,0: 68:[38, 84, 4] Operation: 91-87=4
Exploring Operation: 91-38=53, Resulting Numbers: [84, 87, 53]
Generated Node #0,1: 68:[84, 87, 53] Operation: 91-38=53
Exploring Operation: 91-84=7, Resulting Numbers: [38, 87, 7]
Generated Node #0,2: 68:[38, 87, 7] Operation: 91-84=7
Exploring Operation: 84-38=46, Resulting Numbers: [91, 87, 46]
Generated Node #0,3: 68:[91, 87, 46] Operation: 84-38=46
Exploring Operation: 87-84=3, Resulting Numbers: [91, 38, 3]
Generated Node #0,4: 68:[91, 38, 3] Operation: 87-84=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[38, 84, 4], Operations: ['91-87=4']
Exploring Operation: 38+4=42, Resulting Numbers: [84, 42]
Generated Node #0,0,0: 68:[84, 42] Operation: 38+4=42
Exploring Operation: 84-4=80, Resulting Numbers: [38, 80]
Generated Node #0,0,1: 68:[38, 80] Operation: 84-4=80
Exploring Operation: 84/4=21, Resulting Numbers: [38, 21]
Generated Node #0,0,2: 68:[38, 21] Operation: 84/4=21
Exploring Operation: 38-4=34, Resulting Numbers: [84, 34]
Generated Node #0,0,3: 68:[84, 34] Operation: 38-4=34
Exploring Operation: 84-38=46, Resulting Numbers: [4, 46]
Generated Node #0,0,4: 68:[4, 46] Operation: 84-38=46
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 68:[38, 21], Operations: ['91-87=4', '84/4=21']
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,68 unequal: No Solution
Exploring Operation: 38*21=798, Resulting Numbers: [798]
798,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 68:[4, 46], Operations: ['91-87=4', '84-38=46']
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,68 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,68 unequal: No Solution
No 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: 68:[38, 80], Operations: ['91-87=4', '84-4=80']
Exploring Operation: 80-38=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 38*80=3040, Resulting Numbers: [3040]
3040,68 unequal: No Solution
Exploring Operation: 38+80=118, Resulting Numbers: [118]
118,68 unequal: No Solution
No 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: 68:[84, 34], Operations: ['91-87=4', '38-4=34']
Exploring Operation: 84*34=2856, Resulting Numbers: [2856]
2856,68 unequal: No Solution
Exploring Operation: 84+34=118, Resulting Numbers: [118]
118,68 unequal: No Solution
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,68 unequal: No Solution
No 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: 68:[84, 42], Operations: ['91-87=4', '38+4=42']
Exploring Operation: 84*42=3528, Resulting Numbers: [3528]
3528,68 unequal: No Solution
Exploring Operation: 84/42=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 84+42=126, Resulting Numbers: [126]
126,68 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: 68:[38, 87, 7], Operations: ['91-84=7']
Exploring Operation: 38-7=31, Resulting Numbers: [87, 31]
Generated Node #0,2,0: 68:[87, 31] Operation: 38-7=31
Exploring Operation: 87-38=49, Resulting Numbers: [7, 49]
Generated Node #0,2,1: 68:[7, 49] Operation: 87-38=49
Exploring Operation: 87+7=94, Resulting Numbers: [38, 94]
Generated Node #0,2,2: 68:[38, 94] Operation: 87+7=94
Exploring Operation: 38+7=45, Resulting Numbers: [87, 45]
Generated Node #0,2,3: 68:[87, 45] Operation: 38+7=45
Exploring Operation: 87-7=80, Resulting Numbers: [38, 80]
Generated Node #0,2,4: 68:[38, 80] Operation: 87-7=80
Moving to Node #0,2,4
Current State: 68:[38, 80], Operations: ['91-84=7', '87-7=80']
Exploring Operation: 80-38=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 38*80=3040, Resulting Numbers: [3040]
3040,68 unequal: No Solution
Exploring Operation: 38+80=118, Resulting Numbers: [118]
118,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[7, 49], Operations: ['91-84=7', '87-38=49']
Exploring Operation: 7+49=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 7*49=343, Resulting Numbers: [343]
343,68 unequal: No Solution
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[87, 31], Operations: ['91-84=7', '38-7=31']
Exploring Operation: 87-31=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 87+31=118, Resulting Numbers: [118]
118,68 unequal: No Solution
Exploring Operation: 87*31=2697, Resulting Numbers: [2697]
2697,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[38, 94], Operations: ['91-84=7', '87+7=94']
Exploring Operation: 94-38=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 38+94=132, Resulting Numbers: [132]
132,68 unequal: No Solution
Exploring Operation: 38*94=3572, Resulting Numbers: [3572]
3572,68 unequal: No Solution
Moving to Node #0,2,3
Current State: 68:[87, 45], Operations: ['91-84=7', '38+7=45']
Exploring Operation: 87+45=132, Resulting Numbers: [132]
132,68 unequal: No Solution
Exploring Operation: 87-45=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 87*45=3915, Resulting Numbers: [3915]
3915,68 unequal: No Solution
No 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: 68:[91, 38, 3], Operations: ['87-84=3']
Exploring Operation: 91+3=94, Resulting Numbers: [38, 94]
Generated Node #0,4,0: 68:[38, 94] Operation: 91+3=94
Exploring Operation: 38+3=41, Resulting Numbers: [91, 41]
Generated Node #0,4,1: 68:[91, 41] Operation: 38+3=41
Exploring Operation: 91-38=53, Resulting Numbers: [3, 53]
Generated Node #0,4,2: 68:[3, 53] Operation: 91-38=53
Exploring Operation: 38-3=35, Resulting Numbers: [91, 35]
Generated Node #0,4,3: 68:[91, 35] Operation: 38-3=35
Exploring Operation: 91-3=88, Resulting Numbers: [38, 88]
Generated Node #0,4,4: 68:[38, 88] Operation: 91-3=88
Moving to Node #0,4,2
Current State: 68:[3, 53], Operations: ['87-84=3', '91-38=53']
Exploring Operation: 3+53=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 3*53=159, Resulting Numbers: [159]
159,68 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,68 unequal: No Solution
Moving to Node #0,4,4
Current State: 68:[38, 88], Operations: ['87-84=3', '91-3=88']
Exploring Operation: 38+88=126, Resulting Numbers: [126]
126,68 unequal: No Solution
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,68 unequal: No Solution
Exploring Operation: 38*88=3344, Resulting Numbers: [3344]
3344,68 unequal: No Solution
Moving to Node #0,4,3
Current State: 68:[91, 35], Operations: ['87-84=3', '38-3=35']
Exploring Operation: 91+35=126, Resulting Numbers: [126]
126,68 unequal: No Solution
Exploring Operation: 91-35=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 91*35=3185, Resulting Numbers: [3185]
3185,68 unequal: No Solution
Moving to Node #0,4,0
Current State: 68:[38, 94], Operations: ['87-84=3', '91+3=94']
Exploring Operation: 38*94=3572, Resulting Numbers: [3572]
3572,68 unequal: No Solution
Exploring Operation: 94-38=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 38+94=132, Resulting Numbers: [132]
132,68 unequal: No Solution
Moving to Node #0,4,1
Current State: 68:[91, 41], Operations: ['87-84=3', '38+3=41']
Exploring Operation: 91-41=50, Resulting Numbers: [50]
50,68 unequal: No Solution
Exploring Operation: 91*41=3731, Resulting Numbers: [3731]
3731,68 unequal: No Solution
Exploring Operation: 91+41=132, Resulting Numbers: [132]
132,68 unequal: No Solution
No 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: 68:[84, 87, 53], Operations: ['91-38=53']
Exploring Operation: 87+53=140, Resulting Numbers: [84, 140]
Generated Node #0,1,0: 68:[84, 140] Operation: 87+53=140
Exploring Operation: 87-84=3, Resulting Numbers: [53, 3]
Generated Node #0,1,1: 68:[53, 3] Operation: 87-84=3
Exploring Operation: 84+53=137, Resulting Numbers: [87, 137]
Generated Node #0,1,2: 68:[87, 137] Operation: 84+53=137
Exploring Operation: 87-53=34, Resulting Numbers: [84, 34]
Generated Node #0,1,3: 68:[84, 34] Operation: 87-53=34
Exploring Operation: 84-53=31, Resulting Numbers: [87, 31]
Generated Node #0,1,4: 68:[87, 31] Operation: 84-53=31
Moving to Node #0,1,1
Current State: 68:[53, 3], Operations: ['91-38=53', '87-84=3']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,68 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,68 unequal: No Solution
Moving to Node #0,1,3
Current State: 68:[84, 34], Operations: ['91-38=53', '87-53=34']
Exploring Operation: 84*34=2856, Resulting Numbers: [2856]
2856,68 unequal: No Solution
Exploring Operation: 84+34=118, Resulting Numbers: [118]
118,68 unequal: No Solution
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,68 unequal: No Solution
Moving to Node #0,1,4
Current State: 68:[87, 31], Operations: ['91-38=53', '84-53=31']
Exploring Operation: 87+31=118, Resulting Numbers: [118]
118,68 unequal: No Solution
Exploring Operation: 87*31=2697, Resulting Numbers: [2697]
2697,68 unequal: No Solution
Exploring Operation: 87-31=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[84, 140], Operations: ['91-38=53', '87+53=140']
Exploring Operation: 140-84=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 84*140=11760, Resulting Numbers: [11760]
11760,68 unequal: No Solution
Exploring Operation: 84+140=224, Resulting Numbers: [224]
224,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[87, 137], Operations: ['91-38=53', '84+53=137']
Exploring Operation: 87*137=11919, Resulting Numbers: [11919]
11919,68 unequal: No Solution
Exploring Operation: 87+137=224, Resulting Numbers: [224]
224,68 unequal: No Solution
Exploring Operation: 137-87=50, Resulting Numbers: [50]
50,68 unequal: No Solution
No 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: 68:[91, 87, 46], Operations: ['84-38=46']
Exploring Operation: 91-87=4, Resulting Numbers: [46, 4]
Generated Node #0,3,0: 68:[46, 4] Operation: 91-87=4
Exploring Operation: 87-46=41, Resulting Numbers: [91, 41]
Generated Node #0,3,1: 68:[91, 41] Operation: 87-46=41
Exploring Operation: 91-46=45, Resulting Numbers: [87, 45]
Generated Node #0,3,2: 68:[87, 45] Operation: 91-46=45
Exploring Operation: 91+46=137, Resulting Numbers: [87, 137]
Generated Node #0,3,3: 68:[87, 137] Operation: 91+46=137
Exploring Operation: 87+46=133, Resulting Numbers: [91, 133]
Generated Node #0,3,4: 68:[91, 133] Operation: 87+46=133
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 68:[46, 4], Operations: ['84-38=46', '91-87=4']
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,68 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,68 unequal: No Solution
No 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: 68:[91, 41], Operations: ['84-38=46', '87-46=41']
Exploring Operation: 91+41=132, Resulting Numbers: [132]
132,68 unequal: No Solution
Exploring Operation: 91-41=50, Resulting Numbers: [50]
50,68 unequal: No Solution
Exploring Operation: 91*41=3731, Resulting Numbers: [3731]
3731,68 unequal: No Solution
No 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: 68:[87, 45], Operations: ['84-38=46', '91-46=45']
Exploring Operation: 87+45=132, Resulting Numbers: [132]
132,68 unequal: No Solution
Exploring Operation: 87-45=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 87*45=3915, Resulting Numbers: [3915]
3915,68 unequal: No Solution
No 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: 68:[87, 137], Operations: ['84-38=46', '91+46=137']
Exploring Operation: 137-87=50, Resulting Numbers: [50]
50,68 unequal: No Solution
Exploring Operation: 87+137=224, Resulting Numbers: [224]
224,68 unequal: No Solution
Exploring Operation: 87*137=11919, Resulting Numbers: [11919]
11919,68 unequal: No Solution
No 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: 68:[91, 133], Operations: ['84-38=46', '87+46=133']
Exploring Operation: 91*133=12103, Resulting Numbers: [12103]
12103,68 unequal: No Solution
Exploring Operation: 133-91=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 91+133=224, Resulting Numbers: [224]
224,68 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 |
[
52,
59,
77,
6
] | 35 | [
"59-52=7",
"6*7=42",
"77-42=35"
] | Current State: 35:[52, 59, 77, 6], Operations: []
Exploring Operation: 59-52=7, Resulting Numbers: [77, 6, 7]
Generated Node #2: [77, 6, 7] from Operation: 59-52=7
Current State: 35:[77, 6, 7], Operations: ['59-52=7']
Exploring Operation: 6*7=42, Resulting Numbers: [77, 42]
Generated Node #3: [77, 42] from Operation: 6*7=42
Current State: 35:[77, 42], Operations: ['59-52=7', '6*7=42']
Exploring Operation: 77-42=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[52, 59, 77, 6], Operations: []
Exploring Operation: 77-52=25, Resulting Numbers: [59, 6, 25]
Generated Node #0,0: 35:[59, 6, 25] Operation: 77-52=25
Exploring Operation: 59-52=7, Resulting Numbers: [77, 6, 7]
Generated Node #0,1: 35:[77, 6, 7] Operation: 59-52=7
Exploring Operation: 77-59=18, Resulting Numbers: [52, 6, 18]
Generated Node #0,2: 35:[52, 6, 18] Operation: 77-59=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[52, 6, 18], Operations: ['77-59=18']
Exploring Operation: 52-6=46, Resulting Numbers: [18, 46]
Generated Node #0,2,0: 35:[18, 46] Operation: 52-6=46
Exploring Operation: 18/6=3, Resulting Numbers: [52, 3]
Generated Node #0,2,1: 35:[52, 3] Operation: 18/6=3
Exploring Operation: 52-18=34, Resulting Numbers: [6, 34]
Generated Node #0,2,2: 35:[6, 34] Operation: 52-18=34
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 35:[6, 34], Operations: ['77-59=18', '52-18=34']
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 35:[52, 3], Operations: ['77-59=18', '18/6=3']
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,35 unequal: No Solution
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,35 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 35:[18, 46], Operations: ['77-59=18', '52-6=46']
Exploring Operation: 18+46=64, Resulting Numbers: [64]
64,35 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 18*46=828, Resulting Numbers: [828]
828,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[59, 6, 25], Operations: ['77-52=25']
Exploring Operation: 6+25=31, Resulting Numbers: [59, 31]
Generated Node #0,0,0: 35:[59, 31] Operation: 6+25=31
Exploring Operation: 59-6=53, Resulting Numbers: [25, 53]
Generated Node #0,0,1: 35:[25, 53] Operation: 59-6=53
Exploring Operation: 59-25=34, Resulting Numbers: [6, 34]
Generated Node #0,0,2: 35:[6, 34] Operation: 59-25=34
Moving to Node #0,0,2
Current State: 35:[6, 34], Operations: ['77-52=25', '59-25=34']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[59, 31], Operations: ['77-52=25', '6+25=31']
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 59*31=1829, Resulting Numbers: [1829]
1829,35 unequal: No Solution
Exploring Operation: 59+31=90, Resulting Numbers: [90]
90,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[25, 53], Operations: ['77-52=25', '59-6=53']
Exploring Operation: 25+53=78, Resulting Numbers: [78]
78,35 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 25*53=1325, Resulting Numbers: [1325]
1325,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[77, 6, 7], Operations: ['59-52=7']
Exploring Operation: 77/7=11, Resulting Numbers: [6, 11]
Generated Node #0,1,0: 35:[6, 11] Operation: 77/7=11
Exploring Operation: 77-7=70, Resulting Numbers: [6, 70]
Generated Node #0,1,1: 35:[6, 70] Operation: 77-7=70
Exploring Operation: 77-6=71, Resulting Numbers: [7, 71]
Generated Node #0,1,2: 35:[7, 71] Operation: 77-6=71
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 35:[6, 11], Operations: ['59-52=7', '77/7=11']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 35:[6, 70], Operations: ['59-52=7', '77-7=70']
Exploring Operation: 6*70=420, Resulting Numbers: [420]
420,35 unequal: No Solution
Exploring Operation: 6+70=76, Resulting Numbers: [76]
76,35 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 35:[7, 71], Operations: ['59-52=7', '77-6=71']
Exploring Operation: 7*71=497, Resulting Numbers: [497]
497,35 unequal: No Solution
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,35 unequal: No Solution
Exploring Operation: 7+71=78, Resulting Numbers: [78]
78,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
82,
67,
3,
6
] | 93 | [
"82-67=15",
"6*15=90",
"3+90=93"
] | Current State: 93:[82, 67, 3, 6], Operations: []
Exploring Operation: 82-67=15, Resulting Numbers: [3, 6, 15]
Generated Node #2: [3, 6, 15] from Operation: 82-67=15
Current State: 93:[3, 6, 15], Operations: ['82-67=15']
Exploring Operation: 6*15=90, Resulting Numbers: [3, 90]
Generated Node #3: [3, 90] from Operation: 6*15=90
Current State: 93:[3, 90], Operations: ['82-67=15', '6*15=90']
Exploring Operation: 3+90=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[82, 67, 3, 6], Operations: []
Exploring Operation: 67+6=73, Resulting Numbers: [82, 3, 73]
Generated Node #0,0: 93:[82, 3, 73] Operation: 67+6=73
Exploring Operation: 82+6=88, Resulting Numbers: [67, 3, 88]
Generated Node #0,1: 93:[67, 3, 88] Operation: 82+6=88
Exploring Operation: 82-67=15, Resulting Numbers: [3, 6, 15]
Generated Node #0,2: 93:[3, 6, 15] Operation: 82-67=15
Moving to Node #0,2
Current State: 93:[3, 6, 15], Operations: ['82-67=15']
Exploring Operation: 6*15=90, Resulting Numbers: [3, 90]
Generated Node #0,2,0: 93:[3, 90] Operation: 6*15=90
Exploring Operation: 15-6=9, Resulting Numbers: [3, 9]
Generated Node #0,2,1: 93:[3, 9] Operation: 15-6=9
Exploring Operation: 15/3=5, Resulting Numbers: [6, 5]
Generated Node #0,2,2: 93:[6, 5] Operation: 15/3=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[3, 90], Operations: ['82-67=15', '6*15=90']
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,93 unequal: No Solution
Exploring Operation: 3+90=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[82, 67, 3, 6], Operations: []
Exploring Operation: 82-67=15, Resulting Numbers: [3, 6, 15]
Generated Node #0,2: 93:[3, 6, 15] Operation: 82-67=15
Moving to Node #0,2
Current State: 93:[3, 6, 15], Operations: ['82-67=15']
Exploring Operation: 6*15=90, Resulting Numbers: [3, 90]
Generated Node #0,2,0: 93:[3, 90] Operation: 6*15=90
Moving to Node #0,2,0
Current State: 93:[3, 90], Operations: ['82-67=15', '6*15=90']
Exploring Operation: 3+90=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
94,
92,
31,
77
] | 96 | [
"77-31=46",
"92/46=2",
"94+2=96"
] | Current State: 96:[94, 92, 31, 77], Operations: []
Exploring Operation: 77-31=46, Resulting Numbers: [94, 92, 46]
Generated Node #2: [94, 92, 46] from Operation: 77-31=46
Current State: 96:[94, 92, 46], Operations: ['77-31=46']
Exploring Operation: 92/46=2, Resulting Numbers: [94, 2]
Generated Node #3: [94, 2] from Operation: 92/46=2
Current State: 96:[94, 2], Operations: ['77-31=46', '92/46=2']
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[94, 92, 31, 77], Operations: []
Exploring Operation: 94-77=17, Resulting Numbers: [92, 31, 17]
Generated Node #0,0: 96:[92, 31, 17] Operation: 94-77=17
Exploring Operation: 92-77=15, Resulting Numbers: [94, 31, 15]
Generated Node #0,1: 96:[94, 31, 15] Operation: 92-77=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[94, 31, 15], Operations: ['92-77=15']
Exploring Operation: 31+15=46, Resulting Numbers: [94, 46]
Generated Node #0,1,0: 96:[94, 46] Operation: 31+15=46
Exploring Operation: 31-15=16, Resulting Numbers: [94, 16]
Generated Node #0,1,1: 96:[94, 16] Operation: 31-15=16
Moving to Node #0,1,1
Current State: 96:[94, 16], Operations: ['92-77=15', '31-15=16']
Exploring Operation: 94+16=110, Resulting Numbers: [110]
110,96 unequal: No Solution
Exploring Operation: 94-16=78, Resulting Numbers: [78]
78,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[94, 46], Operations: ['92-77=15', '31+15=46']
Exploring Operation: 94+46=140, Resulting Numbers: [140]
140,96 unequal: No Solution
Exploring Operation: 94-46=48, Resulting Numbers: [48]
48,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[92, 31, 17], Operations: ['94-77=17']
Exploring Operation: 31+17=48, Resulting Numbers: [92, 48]
Generated Node #0,0,0: 96:[92, 48] Operation: 31+17=48
Exploring Operation: 31-17=14, Resulting Numbers: [92, 14]
Generated Node #0,0,1: 96:[92, 14] Operation: 31-17=14
Moving to Node #0,0,0
Current State: 96:[92, 48], Operations: ['94-77=17', '31+17=48']
Exploring Operation: 92+48=140, Resulting Numbers: [140]
140,96 unequal: No Solution
Exploring Operation: 92-48=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[92, 14], Operations: ['94-77=17', '31-17=14']
Exploring Operation: 92-14=78, Resulting Numbers: [78]
78,96 unequal: No Solution
Exploring Operation: 92+14=106, Resulting Numbers: [106]
106,96 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 |
[
97,
24,
89,
2
] | 56 | [
"97-89=8",
"24*2=48",
"8+48=56"
] | Current State: 56:[97, 24, 89, 2], Operations: []
Exploring Operation: 97-89=8, Resulting Numbers: [24, 2, 8]
Generated Node #2: [24, 2, 8] from Operation: 97-89=8
Current State: 56:[24, 2, 8], Operations: ['97-89=8']
Exploring Operation: 24*2=48, Resulting Numbers: [8, 48]
Generated Node #3: [8, 48] from Operation: 24*2=48
Current State: 56:[8, 48], Operations: ['97-89=8', '24*2=48']
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[97, 24, 89, 2], Operations: []
Exploring Operation: 97-89=8, Resulting Numbers: [24, 2, 8]
Generated Node #0,0: 56:[24, 2, 8] Operation: 97-89=8
Exploring Operation: 97-24=73, Resulting Numbers: [89, 2, 73]
Generated Node #0,1: 56:[89, 2, 73] Operation: 97-24=73
Exploring Operation: 89-24=65, Resulting Numbers: [97, 2, 65]
Generated Node #0,2: 56:[97, 2, 65] Operation: 89-24=65
Moving to Node #0,0
Current State: 56:[24, 2, 8], Operations: ['97-89=8']
Exploring Operation: 24/2=12, Resulting Numbers: [8, 12]
Generated Node #0,0,0: 56:[8, 12] Operation: 24/2=12
Exploring Operation: 24/8=3, Resulting Numbers: [2, 3]
Generated Node #0,0,1: 56:[2, 3] Operation: 24/8=3
Exploring Operation: 24+2=26, Resulting Numbers: [8, 26]
Generated Node #0,0,2: 56:[8, 26] Operation: 24+2=26
Moving to Node #0,1
Current State: 56:[89, 2, 73], Operations: ['97-24=73']
Exploring Operation: 73-2=71, Resulting Numbers: [89, 71]
Generated Node #0,1,0: 56:[89, 71] Operation: 73-2=71
Exploring Operation: 89-73=16, Resulting Numbers: [2, 16]
Generated Node #0,1,1: 56:[2, 16] Operation: 89-73=16
Exploring Operation: 89-2=87, Resulting Numbers: [73, 87]
Generated Node #0,1,2: 56:[73, 87] Operation: 89-2=87
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[2, 16], Operations: ['97-24=73', '89-73=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[89, 71], Operations: ['97-24=73', '73-2=71']
Exploring Operation: 89*71=6319, Resulting Numbers: [6319]
6319,56 unequal: No Solution
Exploring Operation: 89-71=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 89+71=160, Resulting Numbers: [160]
160,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 56:[73, 87], Operations: ['97-24=73', '89-2=87']
Exploring Operation: 73+87=160, Resulting Numbers: [160]
160,56 unequal: No Solution
Exploring Operation: 87-73=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 73*87=6351, Resulting Numbers: [6351]
6351,56 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: 56:[97, 2, 65], Operations: ['89-24=65']
Exploring Operation: 97-2=95, Resulting Numbers: [65, 95]
Generated Node #0,2,0: 56:[65, 95] Operation: 97-2=95
Exploring Operation: 97-65=32, Resulting Numbers: [2, 32]
Generated Node #0,2,1: 56:[2, 32] Operation: 97-65=32
Exploring Operation: 65-2=63, Resulting Numbers: [97, 63]
Generated Node #0,2,2: 56:[97, 63] Operation: 65-2=63
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 56:[2, 32], Operations: ['89-24=65', '97-65=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,56 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 56:[65, 95], Operations: ['89-24=65', '97-2=95']
Exploring Operation: 65*95=6175, Resulting Numbers: [6175]
6175,56 unequal: No Solution
Exploring Operation: 65+95=160, Resulting Numbers: [160]
160,56 unequal: No Solution
Exploring Operation: 95-65=30, Resulting Numbers: [30]
30,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 56:[97, 63], Operations: ['89-24=65', '65-2=63']
Exploring Operation: 97+63=160, Resulting Numbers: [160]
160,56 unequal: No Solution
Exploring Operation: 97-63=34, Resulting Numbers: [34]
34,56 unequal: No Solution
Exploring Operation: 97*63=6111, Resulting Numbers: [6111]
6111,56 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: 56:[2, 3], Operations: ['97-89=8', '24/8=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[8, 12], Operations: ['97-89=8', '24/2=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,56 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[8, 26], Operations: ['97-89=8', '24+2=26']
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,56 unequal: No Solution
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,56 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,56 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
77,
21,
3,
76
] | 24 | [
"77-76=1",
"21+3=24",
"1*24=24"
] | Current State: 24:[77, 21, 3, 76], Operations: []
Exploring Operation: 77-76=1, Resulting Numbers: [21, 3, 1]
Generated Node #2: [21, 3, 1] from Operation: 77-76=1
Current State: 24:[21, 3, 1], Operations: ['77-76=1']
Exploring Operation: 21+3=24, Resulting Numbers: [1, 24]
Generated Node #3: [1, 24] from Operation: 21+3=24
Current State: 24:[1, 24], Operations: ['77-76=1', '21+3=24']
Exploring Operation: 1*24=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[77, 21, 3, 76], Operations: []
Exploring Operation: 77-3=74, Resulting Numbers: [21, 76, 74]
Generated Node #0,0: 24:[21, 76, 74] Operation: 77-3=74
Exploring Operation: 77-76=1, Resulting Numbers: [21, 3, 1]
Generated Node #0,1: 24:[21, 3, 1] Operation: 77-76=1
Exploring Operation: 76-21=55, Resulting Numbers: [77, 3, 55]
Generated Node #0,2: 24:[77, 3, 55] Operation: 76-21=55
Exploring Operation: 77-21=56, Resulting Numbers: [3, 76, 56]
Generated Node #0,3: 24:[3, 76, 56] Operation: 77-21=56
Moving to Node #0,1
Current State: 24:[21, 3, 1], Operations: ['77-76=1']
Exploring Operation: 21+3=24, Resulting Numbers: [1, 24]
Generated Node #0,1,0: 24:[1, 24] Operation: 21+3=24
Exploring Operation: 21*1=21, Resulting Numbers: [3, 21]
Generated Node #0,1,1: 24:[3, 21] Operation: 21*1=21
Exploring Operation: 21+1=22, Resulting Numbers: [3, 22]
Generated Node #0,1,2: 24:[3, 22] Operation: 21+1=22
Exploring Operation: 21/3=7, Resulting Numbers: [1, 7]
Generated Node #0,1,3: 24:[1, 7] Operation: 21/3=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[1, 24], Operations: ['77-76=1', '21+3=24']
Exploring Operation: 1+24=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[77, 21, 3, 76], Operations: []
Exploring Operation: 77-76=1, Resulting Numbers: [21, 3, 1]
Generated Node #0,1: 24:[21, 3, 1] Operation: 77-76=1
Moving to Node #0,1
Current State: 24:[21, 3, 1], Operations: ['77-76=1']
Exploring Operation: 21+3=24, Resulting Numbers: [1, 24]
Generated Node #0,1,0: 24:[1, 24] Operation: 21+3=24
Moving to Node #0,1,0
Current State: 24:[1, 24], Operations: ['77-76=1', '21+3=24']
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
35,
68,
39,
30
] | 34 | [
"35+68=103",
"39+30=69",
"103-69=34"
] | Current State: 34:[35, 68, 39, 30], Operations: []
Exploring Operation: 35+68=103, Resulting Numbers: [39, 30, 103]
Generated Node #2: [39, 30, 103] from Operation: 35+68=103
Current State: 34:[39, 30, 103], Operations: ['35+68=103']
Exploring Operation: 39+30=69, Resulting Numbers: [103, 69]
Generated Node #3: [103, 69] from Operation: 39+30=69
Current State: 34:[103, 69], Operations: ['35+68=103', '39+30=69']
Exploring Operation: 103-69=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[35, 68, 39, 30], Operations: []
Exploring Operation: 68-35=33, Resulting Numbers: [39, 30, 33]
Generated Node #0,0: 34:[39, 30, 33] Operation: 68-35=33
Exploring Operation: 68-39=29, Resulting Numbers: [35, 30, 29]
Generated Node #0,1: 34:[35, 30, 29] Operation: 68-39=29
Exploring Operation: 68-30=38, Resulting Numbers: [35, 39, 38]
Generated Node #0,2: 34:[35, 39, 38] Operation: 68-30=38
Exploring Operation: 39-35=4, Resulting Numbers: [68, 30, 4]
Generated Node #0,3: 34:[68, 30, 4] Operation: 39-35=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[39, 30, 33], Operations: ['68-35=33']
Exploring Operation: 39-30=9, Resulting Numbers: [33, 9]
Generated Node #0,0,0: 34:[33, 9] Operation: 39-30=9
Exploring Operation: 39-33=6, Resulting Numbers: [30, 6]
Generated Node #0,0,1: 34:[30, 6] Operation: 39-33=6
Exploring Operation: 33-30=3, Resulting Numbers: [39, 3]
Generated Node #0,0,2: 34:[39, 3] Operation: 33-30=3
Exploring Operation: 30+33=63, Resulting Numbers: [39, 63]
Generated Node #0,0,3: 34:[39, 63] Operation: 30+33=63
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 34:[39, 3], Operations: ['68-35=33', '33-30=3']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,34 unequal: No Solution
Exploring Operation: 39*3=117, Resulting Numbers: [117]
117,34 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[33, 9], Operations: ['68-35=33', '39-30=9']
Exploring Operation: 33*9=297, Resulting Numbers: [297]
297,34 unequal: No Solution
Exploring Operation: 33+9=42, Resulting Numbers: [42]
42,34 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[30, 6], Operations: ['68-35=33', '39-33=6']
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 30*6=180, Resulting Numbers: [180]
180,34 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,34 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 34:[39, 63], Operations: ['68-35=33', '30+33=63']
Exploring Operation: 63-39=24, Resulting Numbers: [24]
24,34 unequal: No Solution
Exploring Operation: 39*63=2457, Resulting Numbers: [2457]
2457,34 unequal: No Solution
Exploring Operation: 39+63=102, Resulting Numbers: [102]
102,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[35, 30, 29], Operations: ['68-39=29']
Exploring Operation: 30-29=1, Resulting Numbers: [35, 1]
Generated Node #0,1,0: 34:[35, 1] Operation: 30-29=1
Exploring Operation: 35-30=5, Resulting Numbers: [29, 5]
Generated Node #0,1,1: 34:[29, 5] Operation: 35-30=5
Exploring Operation: 30+29=59, Resulting Numbers: [35, 59]
Generated Node #0,1,2: 34:[35, 59] Operation: 30+29=59
Exploring Operation: 35-29=6, Resulting Numbers: [30, 6]
Generated Node #0,1,3: 34:[30, 6] Operation: 35-29=6
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[35, 1], Operations: ['68-39=29', '30-29=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[35, 68, 39, 30], Operations: []
Exploring Operation: 68-39=29, Resulting Numbers: [35, 30, 29]
Generated Node #0,1: 34:[35, 30, 29] Operation: 68-39=29
Moving to Node #0,1
Current State: 34:[35, 30, 29], Operations: ['68-39=29']
Exploring Operation: 30-29=1, Resulting Numbers: [35, 1]
Generated Node #0,1,0: 34:[35, 1] Operation: 30-29=1
Moving to Node #0,1,0
Current State: 34:[35, 1], Operations: ['68-39=29', '30-29=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
37,
68,
48,
29
] | 28 | [
"37+68=105",
"48+29=77",
"105-77=28"
] | Current State: 28:[37, 68, 48, 29], Operations: []
Exploring Operation: 37+68=105, Resulting Numbers: [48, 29, 105]
Generated Node #2: [48, 29, 105] from Operation: 37+68=105
Current State: 28:[48, 29, 105], Operations: ['37+68=105']
Exploring Operation: 48+29=77, Resulting Numbers: [105, 77]
Generated Node #3: [105, 77] from Operation: 48+29=77
Current State: 28:[105, 77], Operations: ['37+68=105', '48+29=77']
Exploring Operation: 105-77=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[37, 68, 48, 29], Operations: []
Exploring Operation: 48-37=11, Resulting Numbers: [68, 29, 11]
Generated Node #0,0: 28:[68, 29, 11] Operation: 48-37=11
Exploring Operation: 68-37=31, Resulting Numbers: [48, 29, 31]
Generated Node #0,1: 28:[48, 29, 31] Operation: 68-37=31
Exploring Operation: 68-48=20, Resulting Numbers: [37, 29, 20]
Generated Node #0,2: 28:[37, 29, 20] Operation: 68-48=20
Exploring Operation: 68-29=39, Resulting Numbers: [37, 48, 39]
Generated Node #0,3: 28:[37, 48, 39] Operation: 68-29=39
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[37, 29, 20], Operations: ['68-48=20']
Exploring Operation: 37-20=17, Resulting Numbers: [29, 17]
Generated Node #0,2,0: 28:[29, 17] Operation: 37-20=17
Exploring Operation: 37-29=8, Resulting Numbers: [20, 8]
Generated Node #0,2,1: 28:[20, 8] Operation: 37-29=8
Exploring Operation: 29-20=9, Resulting Numbers: [37, 9]
Generated Node #0,2,2: 28:[37, 9] Operation: 29-20=9
Exploring Operation: 37+20=57, Resulting Numbers: [29, 57]
Generated Node #0,2,3: 28:[29, 57] Operation: 37+20=57
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 28:[29, 17], Operations: ['68-48=20', '37-20=17']
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,28 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 29*17=493, Resulting Numbers: [493]
493,28 unequal: No Solution
No 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: 28:[20, 8], Operations: ['68-48=20', '37-29=8']
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,28 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[37, 68, 48, 29], Operations: []
Exploring Operation: 68-48=20, Resulting Numbers: [37, 29, 20]
Generated Node #0,2: 28:[37, 29, 20] Operation: 68-48=20
Moving to Node #0,2
Current State: 28:[37, 29, 20], Operations: ['68-48=20']
Exploring Operation: 37-29=8, Resulting Numbers: [20, 8]
Generated Node #0,2,1: 28:[20, 8] Operation: 37-29=8
Moving to Node #0,2,1
Current State: 28:[20, 8], Operations: ['68-48=20', '37-29=8']
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
37,
99,
3,
97
] | 43 | [
"99-97=2",
"3*2=6",
"37+6=43"
] | Current State: 43:[37, 99, 3, 97], Operations: []
Exploring Operation: 99-97=2, Resulting Numbers: [37, 3, 2]
Generated Node #2: [37, 3, 2] from Operation: 99-97=2
Current State: 43:[37, 3, 2], Operations: ['99-97=2']
Exploring Operation: 3*2=6, Resulting Numbers: [37, 6]
Generated Node #3: [37, 6] from Operation: 3*2=6
Current State: 43:[37, 6], Operations: ['99-97=2', '3*2=6']
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[37, 99, 3, 97], Operations: []
Exploring Operation: 99/3=33, Resulting Numbers: [37, 97, 33]
Generated Node #0,0: 43:[37, 97, 33] Operation: 99/3=33
Exploring Operation: 97-37=60, Resulting Numbers: [99, 3, 60]
Generated Node #0,1: 43:[99, 3, 60] Operation: 97-37=60
Exploring Operation: 37+3=40, Resulting Numbers: [99, 97, 40]
Generated Node #0,2: 43:[99, 97, 40] Operation: 37+3=40
Exploring Operation: 99-37=62, Resulting Numbers: [3, 97, 62]
Generated Node #0,3: 43:[3, 97, 62] Operation: 99-37=62
Exploring Operation: 99-97=2, Resulting Numbers: [37, 3, 2]
Generated Node #0,4: 43:[37, 3, 2] Operation: 99-97=2
Moving to Node #0,0
Current State: 43:[37, 97, 33], Operations: ['99/3=33']
Exploring Operation: 37+33=70, Resulting Numbers: [97, 70]
Generated Node #0,0,0: 43:[97, 70] Operation: 37+33=70
Exploring Operation: 37-33=4, Resulting Numbers: [97, 4]
Generated Node #0,0,1: 43:[97, 4] Operation: 37-33=4
Exploring Operation: 97-33=64, Resulting Numbers: [37, 64]
Generated Node #0,0,2: 43:[37, 64] Operation: 97-33=64
Exploring Operation: 97-37=60, Resulting Numbers: [33, 60]
Generated Node #0,0,3: 43:[33, 60] Operation: 97-37=60
Exploring Operation: 97+33=130, Resulting Numbers: [37, 130]
Generated Node #0,0,4: 43:[37, 130] Operation: 97+33=130
Moving to Node #0,4
Current State: 43:[37, 3, 2], Operations: ['99-97=2']
Exploring Operation: 37+2=39, Resulting Numbers: [3, 39]
Generated Node #0,4,0: 43:[3, 39] Operation: 37+2=39
Exploring Operation: 37+3=40, Resulting Numbers: [2, 40]
Generated Node #0,4,1: 43:[2, 40] Operation: 37+3=40
Exploring Operation: 3+2=5, Resulting Numbers: [37, 5]
Generated Node #0,4,2: 43:[37, 5] Operation: 3+2=5
Exploring Operation: 37-2=35, Resulting Numbers: [3, 35]
Generated Node #0,4,3: 43:[3, 35] Operation: 37-2=35
Exploring Operation: 3*2=6, Resulting Numbers: [37, 6]
Generated Node #0,4,4: 43:[37, 6] Operation: 3*2=6
Moving to Node #0,1
Current State: 43:[99, 3, 60], Operations: ['97-37=60']
Exploring Operation: 99/3=33, Resulting Numbers: [60, 33]
Generated Node #0,1,0: 43:[60, 33] Operation: 99/3=33
Exploring Operation: 60-3=57, Resulting Numbers: [99, 57]
Generated Node #0,1,1: 43:[99, 57] Operation: 60-3=57
Exploring Operation: 99-60=39, Resulting Numbers: [3, 39]
Generated Node #0,1,2: 43:[3, 39] Operation: 99-60=39
Exploring Operation: 99+3=102, Resulting Numbers: [60, 102]
Generated Node #0,1,3: 43:[60, 102] Operation: 99+3=102
Exploring Operation: 99-3=96, Resulting Numbers: [60, 96]
Generated Node #0,1,4: 43:[60, 96] Operation: 99-3=96
Moving to Node #0,2
Current State: 43:[99, 97, 40], Operations: ['37+3=40']
Exploring Operation: 97+40=137, Resulting Numbers: [99, 137]
Generated Node #0,2,0: 43:[99, 137] Operation: 97+40=137
Exploring Operation: 97-40=57, Resulting Numbers: [99, 57]
Generated Node #0,2,1: 43:[99, 57] Operation: 97-40=57
Exploring Operation: 99-40=59, Resulting Numbers: [97, 59]
Generated Node #0,2,2: 43:[97, 59] Operation: 99-40=59
Exploring Operation: 99-97=2, Resulting Numbers: [40, 2]
Generated Node #0,2,3: 43:[40, 2] Operation: 99-97=2
Exploring Operation: 99+40=139, Resulting Numbers: [97, 139]
Generated Node #0,2,4: 43:[97, 139] Operation: 99+40=139
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 43:[40, 2], Operations: ['37+3=40', '99-97=2']
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,43 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,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,2,1
Current State: 43:[99, 57], Operations: ['37+3=40', '97-40=57']
Exploring Operation: 99+57=156, Resulting Numbers: [156]
156,43 unequal: No Solution
Exploring Operation: 99*57=5643, Resulting Numbers: [5643]
5643,43 unequal: No Solution
Exploring Operation: 99-57=42, Resulting Numbers: [42]
42,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,2,2
Current State: 43:[97, 59], Operations: ['37+3=40', '99-40=59']
Exploring Operation: 97-59=38, Resulting Numbers: [38]
38,43 unequal: No Solution
Exploring Operation: 97+59=156, Resulting Numbers: [156]
156,43 unequal: No Solution
Exploring Operation: 97*59=5723, Resulting Numbers: [5723]
5723,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,2,0
Current State: 43:[99, 137], Operations: ['37+3=40', '97+40=137']
Exploring Operation: 137-99=38, Resulting Numbers: [38]
38,43 unequal: No Solution
Exploring Operation: 99+137=236, Resulting Numbers: [236]
236,43 unequal: No Solution
Exploring Operation: 99*137=13563, Resulting Numbers: [13563]
13563,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,2,4
Current State: 43:[97, 139], Operations: ['37+3=40', '99+40=139']
Exploring Operation: 97+139=236, Resulting Numbers: [236]
236,43 unequal: No Solution
Exploring Operation: 97*139=13483, Resulting Numbers: [13483]
13483,43 unequal: No Solution
Exploring Operation: 139-97=42, Resulting Numbers: [42]
42,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 43:[3, 97, 62], Operations: ['99-37=62']
Exploring Operation: 3+97=100, Resulting Numbers: [62, 100]
Generated Node #0,3,0: 43:[62, 100] Operation: 3+97=100
Exploring Operation: 3+62=65, Resulting Numbers: [97, 65]
Generated Node #0,3,1: 43:[97, 65] Operation: 3+62=65
Exploring Operation: 97-3=94, Resulting Numbers: [62, 94]
Generated Node #0,3,2: 43:[62, 94] Operation: 97-3=94
Exploring Operation: 97-62=35, Resulting Numbers: [3, 35]
Generated Node #0,3,3: 43:[3, 35] Operation: 97-62=35
Exploring Operation: 62-3=59, Resulting Numbers: [97, 59]
Generated Node #0,3,4: 43:[97, 59] Operation: 62-3=59
Moving to Node #0,0,2
Current State: 43:[37, 64], Operations: ['99/3=33', '97-33=64']
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 37*64=2368, Resulting Numbers: [2368]
2368,43 unequal: No Solution
Exploring Operation: 37+64=101, Resulting Numbers: [101]
101,43 unequal: No Solution
Moving to Node #0,0,3
Current State: 43:[33, 60], Operations: ['99/3=33', '97-37=60']
Exploring Operation: 33*60=1980, Resulting Numbers: [1980]
1980,43 unequal: No Solution
Exploring Operation: 33+60=93, Resulting Numbers: [93]
93,43 unequal: No Solution
Exploring Operation: 60-33=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[60, 33], Operations: ['97-37=60', '99/3=33']
Exploring Operation: 60+33=93, Resulting Numbers: [93]
93,43 unequal: No Solution
Exploring Operation: 60*33=1980, Resulting Numbers: [1980]
1980,43 unequal: No Solution
Exploring Operation: 60-33=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Moving to Node #0,4,4
Current State: 43:[37, 6], Operations: ['99-97=2', '3*2=6']
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[37, 99, 3, 97], Operations: []
Exploring Operation: 99-97=2, Resulting Numbers: [37, 3, 2]
Generated Node #0,4: 43:[37, 3, 2] Operation: 99-97=2
Moving to Node #0,4
Current State: 43:[37, 3, 2], Operations: ['99-97=2']
Exploring Operation: 3*2=6, Resulting Numbers: [37, 6]
Generated Node #0,4,4: 43:[37, 6] Operation: 3*2=6
Moving to Node #0,4,4
Current State: 43:[37, 6], Operations: ['99-97=2', '3*2=6']
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 0.947917 | hs_5 | sum_heuristic |
[
84,
19,
42,
55
] | 14 | [
"19+42=61",
"61-55=6",
"84/6=14"
] | Current State: 14:[84, 19, 42, 55], Operations: []
Exploring Operation: 19+42=61, Resulting Numbers: [84, 55, 61]
Generated Node #2: [84, 55, 61] from Operation: 19+42=61
Current State: 14:[84, 55, 61], Operations: ['19+42=61']
Exploring Operation: 61-55=6, Resulting Numbers: [84, 6]
Generated Node #3: [84, 6] from Operation: 61-55=6
Current State: 14:[84, 6], Operations: ['19+42=61', '61-55=6']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[84, 19, 42, 55], Operations: []
Exploring Operation: 84-42=42, Resulting Numbers: [19, 55, 42]
Generated Node #0,0: 14:[19, 55, 42] Operation: 84-42=42
Exploring Operation: 55-42=13, Resulting Numbers: [84, 19, 13]
Generated Node #0,1: 14:[84, 19, 13] Operation: 55-42=13
Exploring Operation: 84/42=2, Resulting Numbers: [19, 55, 2]
Generated Node #0,2: 14:[19, 55, 2] Operation: 84/42=2
Exploring Operation: 84-55=29, Resulting Numbers: [19, 42, 29]
Generated Node #0,3: 14:[19, 42, 29] Operation: 84-55=29
Moving to Node #0,2
Current State: 14:[19, 55, 2], Operations: ['84/42=2']
Exploring Operation: 55-19=36, Resulting Numbers: [2, 36]
Generated Node #0,2,0: 14:[2, 36] Operation: 55-19=36
Exploring Operation: 19+2=21, Resulting Numbers: [55, 21]
Generated Node #0,2,1: 14:[55, 21] Operation: 19+2=21
Exploring Operation: 19-2=17, Resulting Numbers: [55, 17]
Generated Node #0,2,2: 14:[55, 17] Operation: 19-2=17
Exploring Operation: 55-2=53, Resulting Numbers: [19, 53]
Generated Node #0,2,3: 14:[19, 53] Operation: 55-2=53
Moving to Node #0,3
Current State: 14:[19, 42, 29], Operations: ['84-55=29']
Exploring Operation: 29-19=10, Resulting Numbers: [42, 10]
Generated Node #0,3,0: 14:[42, 10] Operation: 29-19=10
Exploring Operation: 19+42=61, Resulting Numbers: [29, 61]
Generated Node #0,3,1: 14:[29, 61] Operation: 19+42=61
Exploring Operation: 42-19=23, Resulting Numbers: [29, 23]
Generated Node #0,3,2: 14:[29, 23] Operation: 42-19=23
Exploring Operation: 42-29=13, Resulting Numbers: [19, 13]
Generated Node #0,3,3: 14:[19, 13] Operation: 42-29=13
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 14:[19, 13], Operations: ['84-55=29', '42-29=13']
Exploring Operation: 19*13=247, Resulting Numbers: [247]
247,14 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,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:[29, 23], Operations: ['84-55=29', '42-19=23']
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Exploring Operation: 29*23=667, Resulting Numbers: [667]
667,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:[42, 10], Operations: ['84-55=29', '29-19=10']
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,14 unequal: No Solution
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 14:[29, 61], Operations: ['84-55=29', '19+42=61']
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,14 unequal: No Solution
Exploring Operation: 29+61=90, Resulting Numbers: [90]
90,14 unequal: No Solution
Exploring Operation: 29*61=1769, Resulting Numbers: [1769]
1769,14 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: 14:[19, 55, 42], Operations: ['84-42=42']
Exploring Operation: 42-19=23, Resulting Numbers: [55, 23]
Generated Node #0,0,0: 14:[55, 23] Operation: 42-19=23
Exploring Operation: 55-19=36, Resulting Numbers: [42, 36]
Generated Node #0,0,1: 14:[42, 36] Operation: 55-19=36
Exploring Operation: 55-42=13, Resulting Numbers: [19, 13]
Generated Node #0,0,2: 14:[19, 13] Operation: 55-42=13
Exploring Operation: 19+55=74, Resulting Numbers: [42, 74]
Generated Node #0,0,3: 14:[42, 74] Operation: 19+55=74
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 14:[19, 13], Operations: ['84-42=42', '55-42=13']
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 19*13=247, Resulting Numbers: [247]
247,14 unequal: No Solution
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[55, 23], Operations: ['84-42=42', '42-19=23']
Exploring Operation: 55*23=1265, Resulting Numbers: [1265]
1265,14 unequal: No Solution
Exploring Operation: 55-23=32, Resulting Numbers: [32]
32,14 unequal: No Solution
Exploring Operation: 55+23=78, Resulting Numbers: [78]
78,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[42, 36], Operations: ['84-42=42', '55-19=36']
Exploring Operation: 42*36=1512, Resulting Numbers: [1512]
1512,14 unequal: No Solution
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 42+36=78, Resulting Numbers: [78]
78,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 14:[42, 74], Operations: ['84-42=42', '19+55=74']
Exploring Operation: 42*74=3108, Resulting Numbers: [3108]
3108,14 unequal: No Solution
Exploring Operation: 42+74=116, Resulting Numbers: [116]
116,14 unequal: No Solution
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 14:[84, 19, 13], Operations: ['55-42=13']
Exploring Operation: 19-13=6, Resulting Numbers: [84, 6]
Generated Node #0,1,0: 14:[84, 6] Operation: 19-13=6
Exploring Operation: 84-13=71, Resulting Numbers: [19, 71]
Generated Node #0,1,1: 14:[19, 71] Operation: 84-13=71
Exploring Operation: 84-19=65, Resulting Numbers: [13, 65]
Generated Node #0,1,2: 14:[13, 65] Operation: 84-19=65
Exploring Operation: 84+13=97, Resulting Numbers: [19, 97]
Generated Node #0,1,3: 14:[19, 97] Operation: 84+13=97
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 14:[13, 65], Operations: ['55-42=13', '84-19=65']
Exploring Operation: 13*65=845, Resulting Numbers: [845]
845,14 unequal: No Solution
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Exploring Operation: 13+65=78, Resulting Numbers: [78]
78,14 unequal: No Solution
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,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:[19, 71], Operations: ['55-42=13', '84-13=71']
Exploring Operation: 19+71=90, Resulting Numbers: [90]
90,14 unequal: No Solution
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Exploring Operation: 19*71=1349, Resulting Numbers: [1349]
1349,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:[84, 6], Operations: ['55-42=13', '19-13=6']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[84, 19, 42, 55], Operations: []
Exploring Operation: 55-42=13, Resulting Numbers: [84, 19, 13]
Generated Node #0,1: 14:[84, 19, 13] Operation: 55-42=13
Moving to Node #0,1
Current State: 14:[84, 19, 13], Operations: ['55-42=13']
Exploring Operation: 19-13=6, Resulting Numbers: [84, 6]
Generated Node #0,1,0: 14:[84, 6] Operation: 19-13=6
Moving to Node #0,1,0
Current State: 14:[84, 6], Operations: ['55-42=13', '19-13=6']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.951389 | hs_4 | sum_heuristic |
[
79,
3,
2,
13
] | 66 | [
"79-13=66",
"3-2=1",
"66*1=66"
] | Current State: 66:[79, 3, 2, 13], Operations: []
Exploring Operation: 79-13=66, Resulting Numbers: [3, 2, 66]
Generated Node #2: [3, 2, 66] from Operation: 79-13=66
Current State: 66:[3, 2, 66], Operations: ['79-13=66']
Exploring Operation: 3-2=1, Resulting Numbers: [66, 1]
Generated Node #3: [66, 1] from Operation: 3-2=1
Current State: 66:[66, 1], Operations: ['79-13=66', '3-2=1']
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[79, 3, 2, 13], Operations: []
Exploring Operation: 79-13=66, Resulting Numbers: [3, 2, 66]
Generated Node #0,0: 66:[3, 2, 66] Operation: 79-13=66
Exploring Operation: 79-3=76, Resulting Numbers: [2, 13, 76]
Generated Node #0,1: 66:[2, 13, 76] Operation: 79-3=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[3, 2, 66], Operations: ['79-13=66']
Exploring Operation: 66/3=22, Resulting Numbers: [2, 22]
Generated Node #0,0,0: 66:[2, 22] Operation: 66/3=22
Exploring Operation: 3*2=6, Resulting Numbers: [66, 6]
Generated Node #0,0,1: 66:[66, 6] Operation: 3*2=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[2, 22], Operations: ['79-13=66', '66/3=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,66 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,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,0,1
Current State: 66:[66, 6], Operations: ['79-13=66', '3*2=6']
Exploring Operation: 66+6=72, Resulting Numbers: [72]
72,66 unequal: No Solution
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,66 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: 66:[2, 13, 76], Operations: ['79-3=76']
Exploring Operation: 76-13=63, Resulting Numbers: [2, 63]
Generated Node #0,1,0: 66:[2, 63] Operation: 76-13=63
Exploring Operation: 76/2=38, Resulting Numbers: [13, 38]
Generated Node #0,1,1: 66:[13, 38] Operation: 76/2=38
Moving to Node #0,1,0
Current State: 66:[2, 63], Operations: ['79-3=76', '76-13=63']
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[13, 38], Operations: ['79-3=76', '76/2=38']
Exploring Operation: 13+38=51, Resulting Numbers: [51]
51,66 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,66 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 |
[
87,
43,
81,
25
] | 62 | [
"87-43=44",
"81+25=106",
"106-44=62"
] | Current State: 62:[87, 43, 81, 25], Operations: []
Exploring Operation: 87-43=44, Resulting Numbers: [81, 25, 44]
Generated Node #2: [81, 25, 44] from Operation: 87-43=44
Current State: 62:[81, 25, 44], Operations: ['87-43=44']
Exploring Operation: 81+25=106, Resulting Numbers: [44, 106]
Generated Node #3: [44, 106] from Operation: 81+25=106
Current State: 62:[44, 106], Operations: ['87-43=44', '81+25=106']
Exploring Operation: 106-44=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[87, 43, 81, 25], Operations: []
Exploring Operation: 87-81=6, Resulting Numbers: [43, 25, 6]
Generated Node #0,0: 62:[43, 25, 6] Operation: 87-81=6
Exploring Operation: 87-25=62, Resulting Numbers: [43, 81, 62]
Generated Node #0,1: 62:[43, 81, 62] Operation: 87-25=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[43, 25, 6], Operations: ['87-81=6']
Exploring Operation: 43-6=37, Resulting Numbers: [25, 37]
Generated Node #0,0,0: 62:[25, 37] Operation: 43-6=37
Exploring Operation: 43+25=68, Resulting Numbers: [6, 68]
Generated Node #0,0,1: 62:[6, 68] Operation: 43+25=68
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 62:[6, 68], Operations: ['87-81=6', '43+25=68']
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[87, 43, 81, 25], Operations: []
Exploring Operation: 87-81=6, Resulting Numbers: [43, 25, 6]
Generated Node #0,0: 62:[43, 25, 6] Operation: 87-81=6
Moving to Node #0,0
Current State: 62:[43, 25, 6], Operations: ['87-81=6']
Exploring Operation: 43+25=68, Resulting Numbers: [6, 68]
Generated Node #0,0,1: 62:[6, 68] Operation: 43+25=68
Moving to Node #0,0,1
Current State: 62:[6, 68], Operations: ['87-81=6', '43+25=68']
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.