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 |
|---|---|---|---|---|---|---|---|---|
[
59,
80,
37,
68
] | 63 | [
"80+68=148",
"148/37=4",
"59+4=63"
] | Current State: 63:[59, 80, 37, 68], Operations: []
Exploring Operation: 80+68=148, Resulting Numbers: [59, 37, 148]
Generated Node #2: [59, 37, 148] from Operation: 80+68=148
Current State: 63:[59, 37, 148], Operations: ['80+68=148']
Exploring Operation: 148/37=4, Resulting Numbers: [59, 4]
Generated Node #3: [59, 4] from Operation: 148/37=4
Current State: 63:[59, 4], Operations: ['80+68=148', '148/37=4']
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[59, 80, 37, 68], Operations: []
Exploring Operation: 80-59=21, Resulting Numbers: [37, 68, 21]
Generated Node #0,0: 63:[37, 68, 21] Operation: 80-59=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[37, 68, 21], Operations: ['80-59=21']
Exploring Operation: 68-37=31, Resulting Numbers: [21, 31]
Generated Node #0,0,0: 63:[21, 31] Operation: 68-37=31
Moving to Node #0,0,0
Current State: 63:[21, 31], Operations: ['80-59=21', '68-37=31']
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,63 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 |
[
69,
71,
60,
41
] | 10 | [
"69+41=110",
"71-60=11",
"110/11=10"
] | Current State: 10:[69, 71, 60, 41], Operations: []
Exploring Operation: 69+41=110, Resulting Numbers: [71, 60, 110]
Generated Node #2: [71, 60, 110] from Operation: 69+41=110
Current State: 10:[71, 60, 110], Operations: ['69+41=110']
Exploring Operation: 71-60=11, Resulting Numbers: [110, 11]
Generated Node #3: [110, 11] from Operation: 71-60=11
Current State: 10:[110, 11], Operations: ['69+41=110', '71-60=11']
Exploring Operation: 110/11=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[69, 71, 60, 41], Operations: []
Exploring Operation: 71-60=11, Resulting Numbers: [69, 41, 11]
Generated Node #0,0: 10:[69, 41, 11] Operation: 71-60=11
Exploring Operation: 71-69=2, Resulting Numbers: [60, 41, 2]
Generated Node #0,1: 10:[60, 41, 2] Operation: 71-69=2
Exploring Operation: 69-60=9, Resulting Numbers: [71, 41, 9]
Generated Node #0,2: 10:[71, 41, 9] Operation: 69-60=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[60, 41, 2], Operations: ['71-69=2']
Exploring Operation: 60/2=30, Resulting Numbers: [41, 30]
Generated Node #0,1,0: 10:[41, 30] Operation: 60/2=30
Exploring Operation: 60-41=19, Resulting Numbers: [2, 19]
Generated Node #0,1,1: 10:[2, 19] Operation: 60-41=19
Exploring Operation: 60-2=58, Resulting Numbers: [41, 58]
Generated Node #0,1,2: 10:[41, 58] Operation: 60-2=58
Moving to Node #0,1,1
Current State: 10:[2, 19], Operations: ['71-69=2', '60-41=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[41, 30], Operations: ['71-69=2', '60/2=30']
Exploring Operation: 41*30=1230, Resulting Numbers: [1230]
1230,10 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[41, 58], Operations: ['71-69=2', '60-2=58']
Exploring Operation: 41*58=2378, Resulting Numbers: [2378]
2378,10 unequal: No Solution
Exploring Operation: 41+58=99, Resulting Numbers: [99]
99,10 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[69, 41, 11], Operations: ['71-60=11']
Exploring Operation: 41-11=30, Resulting Numbers: [69, 30]
Generated Node #0,0,0: 10:[69, 30] Operation: 41-11=30
Exploring Operation: 69-41=28, Resulting Numbers: [11, 28]
Generated Node #0,0,1: 10:[11, 28] Operation: 69-41=28
Exploring Operation: 69-11=58, Resulting Numbers: [41, 58]
Generated Node #0,0,2: 10:[41, 58] Operation: 69-11=58
Moving to Node #0,0,1
Current State: 10:[11, 28], Operations: ['71-60=11', '69-41=28']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 11+28=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 11*28=308, Resulting Numbers: [308]
308,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[69, 30], Operations: ['71-60=11', '41-11=30']
Exploring Operation: 69*30=2070, Resulting Numbers: [2070]
2070,10 unequal: No Solution
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 69+30=99, Resulting Numbers: [99]
99,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[41, 58], Operations: ['71-60=11', '69-11=58']
Exploring Operation: 41*58=2378, Resulting Numbers: [2378]
2378,10 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 41+58=99, Resulting Numbers: [99]
99,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,2
Current State: 10:[71, 41, 9], Operations: ['69-60=9']
Exploring Operation: 41-9=32, Resulting Numbers: [71, 32]
Generated Node #0,2,0: 10:[71, 32] Operation: 41-9=32
Exploring Operation: 71-9=62, Resulting Numbers: [41, 62]
Generated Node #0,2,1: 10:[41, 62] Operation: 71-9=62
Exploring Operation: 71-41=30, Resulting Numbers: [9, 30]
Generated Node #0,2,2: 10:[9, 30] Operation: 71-41=30
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 10:[9, 30], Operations: ['69-60=9', '71-41=30']
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,10 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 10:[71, 32], Operations: ['69-60=9', '41-9=32']
Exploring Operation: 71+32=103, Resulting Numbers: [103]
103,10 unequal: No Solution
Exploring Operation: 71-32=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 71*32=2272, Resulting Numbers: [2272]
2272,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 10:[41, 62], Operations: ['69-60=9', '71-9=62']
Exploring Operation: 41*62=2542, Resulting Numbers: [2542]
2542,10 unequal: No Solution
Exploring Operation: 41+62=103, Resulting Numbers: [103]
103,10 unequal: No Solution
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
67,
20,
94,
72
] | 74 | [
"67-20=47",
"94/47=2",
"72+2=74"
] | Current State: 74:[67, 20, 94, 72], Operations: []
Exploring Operation: 67-20=47, Resulting Numbers: [94, 72, 47]
Generated Node #2: [94, 72, 47] from Operation: 67-20=47
Current State: 74:[94, 72, 47], Operations: ['67-20=47']
Exploring Operation: 94/47=2, Resulting Numbers: [72, 2]
Generated Node #3: [72, 2] from Operation: 94/47=2
Current State: 74:[72, 2], Operations: ['67-20=47', '94/47=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[67, 20, 94, 72], Operations: []
Exploring Operation: 94-20=74, Resulting Numbers: [67, 72, 74]
Generated Node #0,0: 74:[67, 72, 74] Operation: 94-20=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[67, 72, 74], Operations: ['94-20=74']
Exploring Operation: 72-67=5, Resulting Numbers: [74, 5]
Generated Node #0,0,0: 74:[74, 5] Operation: 72-67=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[74, 5], Operations: ['94-20=74', '72-67=5']
Exploring Operation: 74+5=79, Resulting Numbers: [79]
79,74 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 |
[
17,
29,
34,
54
] | 87 | [
"17+34=51",
"54-51=3",
"29*3=87"
] | Current State: 87:[17, 29, 34, 54], Operations: []
Exploring Operation: 17+34=51, Resulting Numbers: [29, 54, 51]
Generated Node #2: [29, 54, 51] from Operation: 17+34=51
Current State: 87:[29, 54, 51], Operations: ['17+34=51']
Exploring Operation: 54-51=3, Resulting Numbers: [29, 3]
Generated Node #3: [29, 3] from Operation: 54-51=3
Current State: 87:[29, 3], Operations: ['17+34=51', '54-51=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[17, 29, 34, 54], Operations: []
Exploring Operation: 17+54=71, Resulting Numbers: [29, 34, 71]
Generated Node #0,0: 87:[29, 34, 71] Operation: 17+54=71
Exploring Operation: 34+54=88, Resulting Numbers: [17, 29, 88]
Generated Node #0,1: 87:[17, 29, 88] Operation: 34+54=88
Exploring Operation: 54-17=37, Resulting Numbers: [29, 34, 37]
Generated Node #0,2: 87:[29, 34, 37] Operation: 54-17=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[17, 29, 88], Operations: ['34+54=88']
Exploring Operation: 29-17=12, Resulting Numbers: [88, 12]
Generated Node #0,1,0: 87:[88, 12] Operation: 29-17=12
Exploring Operation: 17+29=46, Resulting Numbers: [88, 46]
Generated Node #0,1,1: 87:[88, 46] Operation: 17+29=46
Exploring Operation: 88-17=71, Resulting Numbers: [29, 71]
Generated Node #0,1,2: 87:[29, 71] Operation: 88-17=71
Moving to Node #0,1,0
Current State: 87:[88, 12], Operations: ['34+54=88', '29-17=12']
Exploring Operation: 88*12=1056, Resulting Numbers: [1056]
1056,87 unequal: No Solution
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[29, 71], Operations: ['34+54=88', '88-17=71']
Exploring Operation: 29*71=2059, Resulting Numbers: [2059]
2059,87 unequal: No Solution
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 29+71=100, Resulting Numbers: [100]
100,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[88, 46], Operations: ['34+54=88', '17+29=46']
Exploring Operation: 88*46=4048, Resulting Numbers: [4048]
4048,87 unequal: No Solution
Exploring Operation: 88+46=134, Resulting Numbers: [134]
134,87 unequal: No Solution
Exploring Operation: 88-46=42, Resulting Numbers: [42]
42,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[29, 34, 37], Operations: ['54-17=37']
Exploring Operation: 37-29=8, Resulting Numbers: [34, 8]
Generated Node #0,2,0: 87:[34, 8] Operation: 37-29=8
Exploring Operation: 34-29=5, Resulting Numbers: [37, 5]
Generated Node #0,2,1: 87:[37, 5] Operation: 34-29=5
Exploring Operation: 37-34=3, Resulting Numbers: [29, 3]
Generated Node #0,2,2: 87:[29, 3] Operation: 37-34=3
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 87:[29, 3], Operations: ['54-17=37', '37-34=3']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,87 unequal: No Solution
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[17, 29, 34, 54], Operations: []
Exploring Operation: 54-17=37, Resulting Numbers: [29, 34, 37]
Generated Node #0,2: 87:[29, 34, 37] Operation: 54-17=37
Moving to Node #0,2
Current State: 87:[29, 34, 37], Operations: ['54-17=37']
Exploring Operation: 37-34=3, Resulting Numbers: [29, 3]
Generated Node #0,2,2: 87:[29, 3] Operation: 37-34=3
Moving to Node #0,2,2
Current State: 87:[29, 3], Operations: ['54-17=37', '37-34=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
3,
6,
49,
60
] | 99 | [
"3+6=9",
"60-49=11",
"9*11=99"
] | Current State: 99:[3, 6, 49, 60], Operations: []
Exploring Operation: 3+6=9, Resulting Numbers: [49, 60, 9]
Generated Node #2: [49, 60, 9] from Operation: 3+6=9
Current State: 99:[49, 60, 9], Operations: ['3+6=9']
Exploring Operation: 60-49=11, Resulting Numbers: [9, 11]
Generated Node #3: [9, 11] from Operation: 60-49=11
Current State: 99:[9, 11], Operations: ['3+6=9', '60-49=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[3, 6, 49, 60], Operations: []
Exploring Operation: 60/6=10, Resulting Numbers: [3, 49, 10]
Generated Node #0,0: 99:[3, 49, 10] Operation: 60/6=10
Exploring Operation: 60-49=11, Resulting Numbers: [3, 6, 11]
Generated Node #0,1: 99:[3, 6, 11] Operation: 60-49=11
Exploring Operation: 49+60=109, Resulting Numbers: [3, 6, 109]
Generated Node #0,2: 99:[3, 6, 109] Operation: 49+60=109
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[3, 6, 11], Operations: ['60-49=11']
Exploring Operation: 6-3=3, Resulting Numbers: [11, 3]
Generated Node #0,1,0: 99:[11, 3] Operation: 6-3=3
Exploring Operation: 3+6=9, Resulting Numbers: [11, 9]
Generated Node #0,1,1: 99:[11, 9] Operation: 3+6=9
Exploring Operation: 6/3=2, Resulting Numbers: [11, 2]
Generated Node #0,1,2: 99:[11, 2] Operation: 6/3=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[11, 3], Operations: ['60-49=11', '6-3=3']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,99 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[11, 9], Operations: ['60-49=11', '3+6=9']
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[3, 6, 49, 60], Operations: []
Exploring Operation: 60-49=11, Resulting Numbers: [3, 6, 11]
Generated Node #0,1: 99:[3, 6, 11] Operation: 60-49=11
Moving to Node #0,1
Current State: 99:[3, 6, 11], Operations: ['60-49=11']
Exploring Operation: 3+6=9, Resulting Numbers: [11, 9]
Generated Node #0,1,1: 99:[11, 9] Operation: 3+6=9
Moving to Node #0,1,1
Current State: 99:[11, 9], Operations: ['60-49=11', '3+6=9']
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
28,
14,
97,
13
] | 11 | [
"97-13=84",
"84/28=3",
"14-3=11"
] | Current State: 11:[28, 14, 97, 13], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [28, 14, 84]
Generated Node #2: [28, 14, 84] from Operation: 97-13=84
Current State: 11:[28, 14, 84], Operations: ['97-13=84']
Exploring Operation: 84/28=3, Resulting Numbers: [14, 3]
Generated Node #3: [14, 3] from Operation: 84/28=3
Current State: 11:[14, 3], Operations: ['97-13=84', '84/28=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[28, 14, 97, 13], Operations: []
Exploring Operation: 97-14=83, Resulting Numbers: [28, 13, 83]
Generated Node #0,0: 11:[28, 13, 83] Operation: 97-14=83
Exploring Operation: 97-13=84, Resulting Numbers: [28, 14, 84]
Generated Node #0,1: 11:[28, 14, 84] Operation: 97-13=84
Exploring Operation: 28-14=14, Resulting Numbers: [97, 13, 14]
Generated Node #0,2: 11:[97, 13, 14] Operation: 28-14=14
Exploring Operation: 97-28=69, Resulting Numbers: [14, 13, 69]
Generated Node #0,3: 11:[14, 13, 69] Operation: 97-28=69
Exploring Operation: 28-13=15, Resulting Numbers: [14, 97, 15]
Generated Node #0,4: 11:[14, 97, 15] Operation: 28-13=15
Moving to Node #0,3
Current State: 11:[14, 13, 69], Operations: ['97-28=69']
Exploring Operation: 69-13=56, Resulting Numbers: [14, 56]
Generated Node #0,3,0: 11:[14, 56] Operation: 69-13=56
Exploring Operation: 14+69=83, Resulting Numbers: [13, 83]
Generated Node #0,3,1: 11:[13, 83] Operation: 14+69=83
Exploring Operation: 69-14=55, Resulting Numbers: [13, 55]
Generated Node #0,3,2: 11:[13, 55] Operation: 69-14=55
Exploring Operation: 14-13=1, Resulting Numbers: [69, 1]
Generated Node #0,3,3: 11:[69, 1] Operation: 14-13=1
Exploring Operation: 14+13=27, Resulting Numbers: [69, 27]
Generated Node #0,3,4: 11:[69, 27] Operation: 14+13=27
Moving to Node #0,2
Current State: 11:[97, 13, 14], Operations: ['28-14=14']
Exploring Operation: 97+14=111, Resulting Numbers: [13, 111]
Generated Node #0,2,0: 11:[13, 111] Operation: 97+14=111
Exploring Operation: 97-13=84, Resulting Numbers: [14, 84]
Generated Node #0,2,1: 11:[14, 84] Operation: 97-13=84
Exploring Operation: 97-14=83, Resulting Numbers: [13, 83]
Generated Node #0,2,2: 11:[13, 83] Operation: 97-14=83
Exploring Operation: 14-13=1, Resulting Numbers: [97, 1]
Generated Node #0,2,3: 11:[97, 1] Operation: 14-13=1
Exploring Operation: 97+13=110, Resulting Numbers: [14, 110]
Generated Node #0,2,4: 11:[14, 110] Operation: 97+13=110
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 11:[13, 83], Operations: ['28-14=14', '97-14=83']
Exploring Operation: 13*83=1079, Resulting Numbers: [1079]
1079,11 unequal: No Solution
Exploring Operation: 83-13=70, Resulting Numbers: [70]
70,11 unequal: No Solution
Exploring Operation: 13+83=96, Resulting Numbers: [96]
96,11 unequal: No Solution
No 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: 11:[14, 84], Operations: ['28-14=14', '97-13=84']
Exploring Operation: 14*84=1176, Resulting Numbers: [1176]
1176,11 unequal: No Solution
Exploring Operation: 14+84=98, Resulting Numbers: [98]
98,11 unequal: No Solution
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,11 unequal: No Solution
No 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: 11:[97, 1], Operations: ['28-14=14', '14-13=1']
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,11 unequal: No Solution
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,11 unequal: No Solution
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,11 unequal: No Solution
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,11 unequal: No Solution
No 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: 11:[13, 111], Operations: ['28-14=14', '97+14=111']
Exploring Operation: 111-13=98, Resulting Numbers: [98]
98,11 unequal: No Solution
Exploring Operation: 13*111=1443, Resulting Numbers: [1443]
1443,11 unequal: No Solution
Exploring Operation: 13+111=124, Resulting Numbers: [124]
124,11 unequal: No Solution
No 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: 11:[14, 110], Operations: ['28-14=14', '97+13=110']
Exploring Operation: 14+110=124, Resulting Numbers: [124]
124,11 unequal: No Solution
Exploring Operation: 14*110=1540, Resulting Numbers: [1540]
1540,11 unequal: No Solution
Exploring Operation: 110-14=96, Resulting Numbers: [96]
96,11 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: 11:[28, 13, 83], Operations: ['97-14=83']
Exploring Operation: 83-28=55, Resulting Numbers: [13, 55]
Generated Node #0,0,0: 11:[13, 55] Operation: 83-28=55
Exploring Operation: 28+13=41, Resulting Numbers: [83, 41]
Generated Node #0,0,1: 11:[83, 41] Operation: 28+13=41
Exploring Operation: 28-13=15, Resulting Numbers: [83, 15]
Generated Node #0,0,2: 11:[83, 15] Operation: 28-13=15
Exploring Operation: 83-13=70, Resulting Numbers: [28, 70]
Generated Node #0,0,3: 11:[28, 70] Operation: 83-13=70
Exploring Operation: 28+83=111, Resulting Numbers: [13, 111]
Generated Node #0,0,4: 11:[13, 111] Operation: 28+83=111
Moving to Node #0,1
Current State: 11:[28, 14, 84], Operations: ['97-13=84']
Exploring Operation: 28-14=14, Resulting Numbers: [84, 14]
Generated Node #0,1,0: 11:[84, 14] Operation: 28-14=14
Exploring Operation: 84/28=3, Resulting Numbers: [14, 3]
Generated Node #0,1,1: 11:[14, 3] Operation: 84/28=3
Exploring Operation: 84-28=56, Resulting Numbers: [14, 56]
Generated Node #0,1,2: 11:[14, 56] Operation: 84-28=56
Exploring Operation: 84-14=70, Resulting Numbers: [28, 70]
Generated Node #0,1,3: 11:[28, 70] Operation: 84-14=70
Exploring Operation: 84/14=6, Resulting Numbers: [28, 6]
Generated Node #0,1,4: 11:[28, 6] Operation: 84/14=6
Moving to Node #0,4
Current State: 11:[14, 97, 15], Operations: ['28-13=15']
Exploring Operation: 97-14=83, Resulting Numbers: [15, 83]
Generated Node #0,4,0: 11:[15, 83] Operation: 97-14=83
Exploring Operation: 14+15=29, Resulting Numbers: [97, 29]
Generated Node #0,4,1: 11:[97, 29] Operation: 14+15=29
Exploring Operation: 15-14=1, Resulting Numbers: [97, 1]
Generated Node #0,4,2: 11:[97, 1] Operation: 15-14=1
Exploring Operation: 14+97=111, Resulting Numbers: [15, 111]
Generated Node #0,4,3: 11:[15, 111] Operation: 14+97=111
Exploring Operation: 97-15=82, Resulting Numbers: [14, 82]
Generated Node #0,4,4: 11:[14, 82] Operation: 97-15=82
Moving to Node #0,1,1
Current State: 11:[14, 3], Operations: ['97-13=84', '84/28=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[28, 14, 97, 13], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [28, 14, 84]
Generated Node #0,1: 11:[28, 14, 84] Operation: 97-13=84
Moving to Node #0,1
Current State: 11:[28, 14, 84], Operations: ['97-13=84']
Exploring Operation: 84/28=3, Resulting Numbers: [14, 3]
Generated Node #0,1,1: 11:[14, 3] Operation: 84/28=3
Moving to Node #0,1,1
Current State: 11:[14, 3], Operations: ['97-13=84', '84/28=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.954861 | hs_5 | sum_heuristic |
[
80,
54,
3,
6
] | 94 | [
"80*3=240",
"240/6=40",
"54+40=94"
] | Current State: 94:[80, 54, 3, 6], Operations: []
Exploring Operation: 80*3=240, Resulting Numbers: [54, 6, 240]
Generated Node #2: [54, 6, 240] from Operation: 80*3=240
Current State: 94:[54, 6, 240], Operations: ['80*3=240']
Exploring Operation: 240/6=40, Resulting Numbers: [54, 40]
Generated Node #3: [54, 40] from Operation: 240/6=40
Current State: 94:[54, 40], Operations: ['80*3=240', '240/6=40']
Exploring Operation: 54+40=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[80, 54, 3, 6], Operations: []
Exploring Operation: 54-6=48, Resulting Numbers: [80, 3, 48]
Generated Node #0,0: 94:[80, 3, 48] Operation: 54-6=48
Exploring Operation: 6/3=2, Resulting Numbers: [80, 54, 2]
Generated Node #0,1: 94:[80, 54, 2] Operation: 6/3=2
Exploring Operation: 54-3=51, Resulting Numbers: [80, 6, 51]
Generated Node #0,2: 94:[80, 6, 51] Operation: 54-3=51
Exploring Operation: 80+6=86, Resulting Numbers: [54, 3, 86]
Generated Node #0,3: 94:[54, 3, 86] Operation: 80+6=86
Exploring Operation: 80+3=83, Resulting Numbers: [54, 6, 83]
Generated Node #0,4: 94:[54, 6, 83] Operation: 80+3=83
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[80, 3, 48], Operations: ['54-6=48']
Exploring Operation: 48-3=45, Resulting Numbers: [80, 45]
Generated Node #0,0,0: 94:[80, 45] Operation: 48-3=45
Exploring Operation: 80-3=77, Resulting Numbers: [48, 77]
Generated Node #0,0,1: 94:[48, 77] Operation: 80-3=77
Exploring Operation: 80+3=83, Resulting Numbers: [48, 83]
Generated Node #0,0,2: 94:[48, 83] Operation: 80+3=83
Exploring Operation: 80-48=32, Resulting Numbers: [3, 32]
Generated Node #0,0,3: 94:[3, 32] Operation: 80-48=32
Exploring Operation: 3+48=51, Resulting Numbers: [80, 51]
Generated Node #0,0,4: 94:[80, 51] Operation: 3+48=51
Moving to Node #0,0,2
Current State: 94:[48, 83], Operations: ['54-6=48', '80+3=83']
Exploring Operation: 48+83=131, Resulting Numbers: [131]
131,94 unequal: No Solution
Exploring Operation: 83-48=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 48*83=3984, Resulting Numbers: [3984]
3984,94 unequal: No Solution
Moving to Node #0,0,3
Current State: 94:[3, 32], Operations: ['54-6=48', '80-48=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[80, 45], Operations: ['54-6=48', '48-3=45']
Exploring Operation: 80+45=125, Resulting Numbers: [125]
125,94 unequal: No Solution
Exploring Operation: 80-45=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 80*45=3600, Resulting Numbers: [3600]
3600,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[48, 77], Operations: ['54-6=48', '80-3=77']
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Exploring Operation: 48*77=3696, Resulting Numbers: [3696]
3696,94 unequal: No Solution
Exploring Operation: 48+77=125, Resulting Numbers: [125]
125,94 unequal: No Solution
Moving to Node #0,0,4
Current State: 94:[80, 51], Operations: ['54-6=48', '3+48=51']
Exploring Operation: 80-51=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Exploring Operation: 80+51=131, Resulting Numbers: [131]
131,94 unequal: No Solution
Exploring Operation: 80*51=4080, Resulting Numbers: [4080]
4080,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[54, 3, 86], Operations: ['80+6=86']
Exploring Operation: 86-54=32, Resulting Numbers: [3, 32]
Generated Node #0,3,0: 94:[3, 32] Operation: 86-54=32
Exploring Operation: 86-3=83, Resulting Numbers: [54, 83]
Generated Node #0,3,1: 94:[54, 83] Operation: 86-3=83
Exploring Operation: 54+3=57, Resulting Numbers: [86, 57]
Generated Node #0,3,2: 94:[86, 57] Operation: 54+3=57
Exploring Operation: 3+86=89, Resulting Numbers: [54, 89]
Generated Node #0,3,3: 94:[54, 89] Operation: 3+86=89
Exploring Operation: 54-3=51, Resulting Numbers: [86, 51]
Generated Node #0,3,4: 94:[86, 51] Operation: 54-3=51
Moving to Node #0,3,3
Current State: 94:[54, 89], Operations: ['80+6=86', '3+86=89']
Exploring Operation: 54+89=143, Resulting Numbers: [143]
143,94 unequal: No Solution
Exploring Operation: 89-54=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 54*89=4806, Resulting Numbers: [4806]
4806,94 unequal: No Solution
Moving to Node #0,3,4
Current State: 94:[86, 51], Operations: ['80+6=86', '54-3=51']
Exploring Operation: 86*51=4386, Resulting Numbers: [4386]
4386,94 unequal: No Solution
Exploring Operation: 86-51=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 86+51=137, Resulting Numbers: [137]
137,94 unequal: No Solution
Moving to Node #0,3,0
Current State: 94:[3, 32], Operations: ['80+6=86', '86-54=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[54, 83], Operations: ['80+6=86', '86-3=83']
Exploring Operation: 54*83=4482, Resulting Numbers: [4482]
4482,94 unequal: No Solution
Exploring Operation: 54+83=137, Resulting Numbers: [137]
137,94 unequal: No Solution
Exploring Operation: 83-54=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[86, 57], Operations: ['80+6=86', '54+3=57']
Exploring Operation: 86*57=4902, Resulting Numbers: [4902]
4902,94 unequal: No Solution
Exploring Operation: 86-57=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Exploring Operation: 86+57=143, Resulting Numbers: [143]
143,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[80, 54, 2], Operations: ['6/3=2']
Exploring Operation: 54-2=52, Resulting Numbers: [80, 52]
Generated Node #0,1,0: 94:[80, 52] Operation: 54-2=52
Exploring Operation: 80/2=40, Resulting Numbers: [54, 40]
Generated Node #0,1,1: 94:[54, 40] Operation: 80/2=40
Exploring Operation: 80-54=26, Resulting Numbers: [2, 26]
Generated Node #0,1,2: 94:[2, 26] Operation: 80-54=26
Exploring Operation: 80-2=78, Resulting Numbers: [54, 78]
Generated Node #0,1,3: 94:[54, 78] Operation: 80-2=78
Exploring Operation: 80+2=82, Resulting Numbers: [54, 82]
Generated Node #0,1,4: 94:[54, 82] Operation: 80+2=82
Moving to Node #0,1,1
Current State: 94:[54, 40], Operations: ['6/3=2', '80/2=40']
Exploring Operation: 54+40=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[80, 54, 3, 6], Operations: []
Exploring Operation: 6/3=2, Resulting Numbers: [80, 54, 2]
Generated Node #0,1: 94:[80, 54, 2] Operation: 6/3=2
Moving to Node #0,1
Current State: 94:[80, 54, 2], Operations: ['6/3=2']
Exploring Operation: 80/2=40, Resulting Numbers: [54, 40]
Generated Node #0,1,1: 94:[54, 40] Operation: 80/2=40
Moving to Node #0,1,1
Current State: 94:[54, 40], Operations: ['6/3=2', '80/2=40']
Exploring Operation: 54+40=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.952257 | hs_5 | mult_heuristic |
[
54,
76,
1,
96
] | 35 | [
"54+76=130",
"96-1=95",
"130-95=35"
] | Current State: 35:[54, 76, 1, 96], Operations: []
Exploring Operation: 54+76=130, Resulting Numbers: [1, 96, 130]
Generated Node #2: [1, 96, 130] from Operation: 54+76=130
Current State: 35:[1, 96, 130], Operations: ['54+76=130']
Exploring Operation: 96-1=95, Resulting Numbers: [130, 95]
Generated Node #3: [130, 95] from Operation: 96-1=95
Current State: 35:[130, 95], Operations: ['54+76=130', '96-1=95']
Exploring Operation: 130-95=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[54, 76, 1, 96], Operations: []
Exploring Operation: 96-54=42, Resulting Numbers: [76, 1, 42]
Generated Node #0,0: 35:[76, 1, 42] Operation: 96-54=42
Exploring Operation: 96-76=20, Resulting Numbers: [54, 1, 20]
Generated Node #0,1: 35:[54, 1, 20] Operation: 96-76=20
Moving to Node #0,1
Current State: 35:[54, 1, 20], Operations: ['96-76=20']
Exploring Operation: 54-1=53, Resulting Numbers: [20, 53]
Generated Node #0,1,0: 35:[20, 53] Operation: 54-1=53
Exploring Operation: 54-20=34, Resulting Numbers: [1, 34]
Generated Node #0,1,1: 35:[1, 34] Operation: 54-20=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[1, 34], Operations: ['96-76=20', '54-20=34']
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[54, 76, 1, 96], Operations: []
Exploring Operation: 96-76=20, Resulting Numbers: [54, 1, 20]
Generated Node #0,1: 35:[54, 1, 20] Operation: 96-76=20
Moving to Node #0,1
Current State: 35:[54, 1, 20], Operations: ['96-76=20']
Exploring Operation: 54-20=34, Resulting Numbers: [1, 34]
Generated Node #0,1,1: 35:[1, 34] Operation: 54-20=34
Moving to Node #0,1,1
Current State: 35:[1, 34], Operations: ['96-76=20', '54-20=34']
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
5,
2,
41,
46
] | 97 | [
"5*2=10",
"41+46=87",
"10+87=97"
] | Current State: 97:[5, 2, 41, 46], Operations: []
Exploring Operation: 5*2=10, Resulting Numbers: [41, 46, 10]
Generated Node #2: [41, 46, 10] from Operation: 5*2=10
Current State: 97:[41, 46, 10], Operations: ['5*2=10']
Exploring Operation: 41+46=87, Resulting Numbers: [10, 87]
Generated Node #3: [10, 87] from Operation: 41+46=87
Current State: 97:[10, 87], Operations: ['5*2=10', '41+46=87']
Exploring Operation: 10+87=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[5, 2, 41, 46], Operations: []
Exploring Operation: 2*46=92, Resulting Numbers: [5, 41, 92]
Generated Node #0,0: 97:[5, 41, 92] Operation: 2*46=92
Moving to Node #0,0
Current State: 97:[5, 41, 92], Operations: ['2*46=92']
Exploring Operation: 5+41=46, Resulting Numbers: [92, 46]
Generated Node #0,0,0: 97:[92, 46] Operation: 5+41=46
Moving to Node #0,0,0
Current State: 97:[92, 46], Operations: ['2*46=92', '5+41=46']
Exploring Operation: 92+46=138, Resulting Numbers: [138]
138,97 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
63,
76,
6,
2
] | 98 | [
"76-6=70",
"70/2=35",
"63+35=98"
] | Current State: 98:[63, 76, 6, 2], Operations: []
Exploring Operation: 76-6=70, Resulting Numbers: [63, 2, 70]
Generated Node #2: [63, 2, 70] from Operation: 76-6=70
Current State: 98:[63, 2, 70], Operations: ['76-6=70']
Exploring Operation: 70/2=35, Resulting Numbers: [63, 35]
Generated Node #3: [63, 35] from Operation: 70/2=35
Current State: 98:[63, 35], Operations: ['76-6=70', '70/2=35']
Exploring Operation: 63+35=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[63, 76, 6, 2], Operations: []
Exploring Operation: 76/2=38, Resulting Numbers: [63, 6, 38]
Generated Node #0,0: 98:[63, 6, 38] Operation: 76/2=38
Exploring Operation: 63-6=57, Resulting Numbers: [76, 2, 57]
Generated Node #0,1: 98:[76, 2, 57] Operation: 63-6=57
Exploring Operation: 76+6=82, Resulting Numbers: [63, 2, 82]
Generated Node #0,2: 98:[63, 2, 82] Operation: 76+6=82
Exploring Operation: 76-63=13, Resulting Numbers: [6, 2, 13]
Generated Node #0,3: 98:[6, 2, 13] Operation: 76-63=13
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[6, 2, 13], Operations: ['76-63=13']
Exploring Operation: 2+13=15, Resulting Numbers: [6, 15]
Generated Node #0,3,0: 98:[6, 15] Operation: 2+13=15
Exploring Operation: 6/2=3, Resulting Numbers: [13, 3]
Generated Node #0,3,1: 98:[13, 3] Operation: 6/2=3
Exploring Operation: 6+2=8, Resulting Numbers: [13, 8]
Generated Node #0,3,2: 98:[13, 8] Operation: 6+2=8
Exploring Operation: 13-6=7, Resulting Numbers: [2, 7]
Generated Node #0,3,3: 98:[2, 7] Operation: 13-6=7
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 98:[2, 7], Operations: ['76-63=13', '13-6=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,98 unequal: No Solution
No 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: 98:[6, 15], Operations: ['76-63=13', '2+13=15']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,98 unequal: No Solution
No 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: 98:[13, 3], Operations: ['76-63=13', '6/2=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,98 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,98 unequal: No Solution
No 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: 98:[13, 8], Operations: ['76-63=13', '6+2=8']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,98 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,98 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: 98:[63, 6, 38], Operations: ['76/2=38']
Exploring Operation: 63-38=25, Resulting Numbers: [6, 25]
Generated Node #0,0,0: 98:[6, 25] Operation: 63-38=25
Exploring Operation: 63+38=101, Resulting Numbers: [6, 101]
Generated Node #0,0,1: 98:[6, 101] Operation: 63+38=101
Exploring Operation: 63-6=57, Resulting Numbers: [38, 57]
Generated Node #0,0,2: 98:[38, 57] Operation: 63-6=57
Exploring Operation: 6+38=44, Resulting Numbers: [63, 44]
Generated Node #0,0,3: 98:[63, 44] Operation: 6+38=44
Moving to Node #0,0,1
Current State: 98:[6, 101], Operations: ['76/2=38', '63+38=101']
Exploring Operation: 6*101=606, Resulting Numbers: [606]
606,98 unequal: No Solution
Exploring Operation: 101-6=95, Resulting Numbers: [95]
95,98 unequal: No Solution
Exploring Operation: 6+101=107, Resulting Numbers: [107]
107,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[6, 25], Operations: ['76/2=38', '63-38=25']
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,98 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[63, 44], Operations: ['76/2=38', '6+38=44']
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,98 unequal: No Solution
Exploring Operation: 63*44=2772, Resulting Numbers: [2772]
2772,98 unequal: No Solution
Exploring Operation: 63+44=107, Resulting Numbers: [107]
107,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[38, 57], Operations: ['76/2=38', '63-6=57']
Exploring Operation: 57-38=19, Resulting Numbers: [19]
19,98 unequal: No Solution
Exploring Operation: 38*57=2166, Resulting Numbers: [2166]
2166,98 unequal: No Solution
Exploring Operation: 38+57=95, Resulting Numbers: [95]
95,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
Current State: 98:[76, 2, 57], Operations: ['63-6=57']
Exploring Operation: 76/2=38, Resulting Numbers: [57, 38]
Generated Node #0,1,0: 98:[57, 38] Operation: 76/2=38
Exploring Operation: 76-57=19, Resulting Numbers: [2, 19]
Generated Node #0,1,1: 98:[2, 19] Operation: 76-57=19
Exploring Operation: 76+2=78, Resulting Numbers: [57, 78]
Generated Node #0,1,2: 98:[57, 78] Operation: 76+2=78
Exploring Operation: 57-2=55, Resulting Numbers: [76, 55]
Generated Node #0,1,3: 98:[76, 55] Operation: 57-2=55
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[2, 19], Operations: ['63-6=57', '76-57=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,98 unequal: No Solution
No 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: 98:[57, 38], Operations: ['63-6=57', '76/2=38']
Exploring Operation: 57-38=19, Resulting Numbers: [19]
19,98 unequal: No Solution
Exploring Operation: 57+38=95, Resulting Numbers: [95]
95,98 unequal: No Solution
Exploring Operation: 57*38=2166, Resulting Numbers: [2166]
2166,98 unequal: No Solution
No 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: 98:[57, 78], Operations: ['63-6=57', '76+2=78']
Exploring Operation: 57*78=4446, Resulting Numbers: [4446]
4446,98 unequal: No Solution
Exploring Operation: 78-57=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 57+78=135, Resulting Numbers: [135]
135,98 unequal: No Solution
No 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: 98:[76, 55], Operations: ['63-6=57', '57-2=55']
Exploring Operation: 76+55=131, Resulting Numbers: [131]
131,98 unequal: No Solution
Exploring Operation: 76*55=4180, Resulting Numbers: [4180]
4180,98 unequal: No Solution
Exploring Operation: 76-55=21, Resulting Numbers: [21]
21,98 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: 98:[63, 2, 82], Operations: ['76+6=82']
Exploring Operation: 63-2=61, Resulting Numbers: [82, 61]
Generated Node #0,2,0: 98:[82, 61] Operation: 63-2=61
Exploring Operation: 82-63=19, Resulting Numbers: [2, 19]
Generated Node #0,2,1: 98:[2, 19] Operation: 82-63=19
Exploring Operation: 2+82=84, Resulting Numbers: [63, 84]
Generated Node #0,2,2: 98:[63, 84] Operation: 2+82=84
Exploring Operation: 82/2=41, Resulting Numbers: [63, 41]
Generated Node #0,2,3: 98:[63, 41] Operation: 82/2=41
Moving to Node #0,2,1
Current State: 98:[2, 19], Operations: ['76+6=82', '82-63=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[63, 41], Operations: ['76+6=82', '82/2=41']
Exploring Operation: 63+41=104, Resulting Numbers: [104]
104,98 unequal: No Solution
Exploring Operation: 63-41=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 63*41=2583, Resulting Numbers: [2583]
2583,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[63, 84], Operations: ['76+6=82', '2+82=84']
Exploring Operation: 63*84=5292, Resulting Numbers: [5292]
5292,98 unequal: No Solution
Exploring Operation: 63+84=147, Resulting Numbers: [147]
147,98 unequal: No Solution
Exploring Operation: 84-63=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[82, 61], Operations: ['76+6=82', '63-2=61']
Exploring Operation: 82-61=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 82+61=143, Resulting Numbers: [143]
143,98 unequal: No Solution
Exploring Operation: 82*61=5002, Resulting Numbers: [5002]
5002,98 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 |
[
14,
24,
18,
12
] | 48 | [
"18-14=4",
"24-12=12",
"4*12=48"
] | Current State: 48:[14, 24, 18, 12], Operations: []
Exploring Operation: 18-14=4, Resulting Numbers: [24, 12, 4]
Generated Node #2: [24, 12, 4] from Operation: 18-14=4
Current State: 48:[24, 12, 4], Operations: ['18-14=4']
Exploring Operation: 24-12=12, Resulting Numbers: [4, 12]
Generated Node #3: [4, 12] from Operation: 24-12=12
Current State: 48:[4, 12], Operations: ['18-14=4', '24-12=12']
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[14, 24, 18, 12], Operations: []
Exploring Operation: 18-12=6, Resulting Numbers: [14, 24, 6]
Generated Node #0,0: 48:[14, 24, 6] Operation: 18-12=6
Exploring Operation: 14-12=2, Resulting Numbers: [24, 18, 2]
Generated Node #0,1: 48:[24, 18, 2] Operation: 14-12=2
Exploring Operation: 24-18=6, Resulting Numbers: [14, 12, 6]
Generated Node #0,2: 48:[14, 12, 6] Operation: 24-18=6
Exploring Operation: 18-14=4, Resulting Numbers: [24, 12, 4]
Generated Node #0,3: 48:[24, 12, 4] Operation: 18-14=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 48:[24, 12, 4], Operations: ['18-14=4']
Exploring Operation: 24/12=2, Resulting Numbers: [4, 2]
Generated Node #0,3,0: 48:[4, 2] Operation: 24/12=2
Exploring Operation: 24/4=6, Resulting Numbers: [12, 6]
Generated Node #0,3,1: 48:[12, 6] Operation: 24/4=6
Exploring Operation: 24-12=12, Resulting Numbers: [4, 12]
Generated Node #0,3,2: 48:[4, 12] Operation: 24-12=12
Exploring Operation: 12+4=16, Resulting Numbers: [24, 16]
Generated Node #0,3,3: 48:[24, 16] Operation: 12+4=16
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 48:[4, 2], Operations: ['18-14=4', '24/12=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 48:[12, 6], Operations: ['18-14=4', '24/4=6']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 48:[4, 12], Operations: ['18-14=4', '24-12=12']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[14, 24, 18, 12], Operations: []
Exploring Operation: 18-14=4, Resulting Numbers: [24, 12, 4]
Generated Node #0,3: 48:[24, 12, 4] Operation: 18-14=4
Moving to Node #0,3
Current State: 48:[24, 12, 4], Operations: ['18-14=4']
Exploring Operation: 24-12=12, Resulting Numbers: [4, 12]
Generated Node #0,3,2: 48:[4, 12] Operation: 24-12=12
Moving to Node #0,3,2
Current State: 48:[4, 12], Operations: ['18-14=4', '24-12=12']
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
91,
40,
42,
19
] | 28 | [
"91-40=51",
"42-19=23",
"51-23=28"
] | Current State: 28:[91, 40, 42, 19], Operations: []
Exploring Operation: 91-40=51, Resulting Numbers: [42, 19, 51]
Generated Node #2: [42, 19, 51] from Operation: 91-40=51
Current State: 28:[42, 19, 51], Operations: ['91-40=51']
Exploring Operation: 42-19=23, Resulting Numbers: [51, 23]
Generated Node #3: [51, 23] from Operation: 42-19=23
Current State: 28:[51, 23], Operations: ['91-40=51', '42-19=23']
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[91, 40, 42, 19], Operations: []
Exploring Operation: 91-40=51, Resulting Numbers: [42, 19, 51]
Generated Node #0,0: 28:[42, 19, 51] Operation: 91-40=51
Exploring Operation: 91-42=49, Resulting Numbers: [40, 19, 49]
Generated Node #0,1: 28:[40, 19, 49] Operation: 91-42=49
Exploring Operation: 42-40=2, Resulting Numbers: [91, 19, 2]
Generated Node #0,2: 28:[91, 19, 2] Operation: 42-40=2
Moving to Node #0,1
Current State: 28:[40, 19, 49], Operations: ['91-42=49']
Exploring Operation: 40-19=21, Resulting Numbers: [49, 21]
Generated Node #0,1,0: 28:[49, 21] Operation: 40-19=21
Exploring Operation: 49-19=30, Resulting Numbers: [40, 30]
Generated Node #0,1,1: 28:[40, 30] Operation: 49-19=30
Exploring Operation: 49-40=9, Resulting Numbers: [19, 9]
Generated Node #0,1,2: 28:[19, 9] Operation: 49-40=9
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[19, 9], Operations: ['91-42=49', '49-40=9']
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,28 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[91, 40, 42, 19], Operations: []
Exploring Operation: 91-42=49, Resulting Numbers: [40, 19, 49]
Generated Node #0,1: 28:[40, 19, 49] Operation: 91-42=49
Moving to Node #0,1
Current State: 28:[40, 19, 49], Operations: ['91-42=49']
Exploring Operation: 49-40=9, Resulting Numbers: [19, 9]
Generated Node #0,1,2: 28:[19, 9] Operation: 49-40=9
Moving to Node #0,1,2
Current State: 28:[19, 9], Operations: ['91-42=49', '49-40=9']
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
96,
79,
81,
27
] | 51 | [
"96-79=17",
"81/27=3",
"17*3=51"
] | Current State: 51:[96, 79, 81, 27], Operations: []
Exploring Operation: 96-79=17, Resulting Numbers: [81, 27, 17]
Generated Node #2: [81, 27, 17] from Operation: 96-79=17
Current State: 51:[81, 27, 17], Operations: ['96-79=17']
Exploring Operation: 81/27=3, Resulting Numbers: [17, 3]
Generated Node #3: [17, 3] from Operation: 81/27=3
Current State: 51:[17, 3], Operations: ['96-79=17', '81/27=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[96, 79, 81, 27], Operations: []
Exploring Operation: 96-81=15, Resulting Numbers: [79, 27, 15]
Generated Node #0,0: 51:[79, 27, 15] Operation: 96-81=15
Exploring Operation: 96-79=17, Resulting Numbers: [81, 27, 17]
Generated Node #0,1: 51:[81, 27, 17] Operation: 96-79=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[79, 27, 15], Operations: ['96-81=15']
Exploring Operation: 79-15=64, Resulting Numbers: [27, 64]
Generated Node #0,0,0: 51:[27, 64] Operation: 79-15=64
Exploring Operation: 79-27=52, Resulting Numbers: [15, 52]
Generated Node #0,0,1: 51:[15, 52] Operation: 79-27=52
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[15, 52], Operations: ['96-81=15', '79-27=52']
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 15+52=67, Resulting Numbers: [67]
67,51 unequal: No Solution
No 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: 51:[27, 64], Operations: ['96-81=15', '79-15=64']
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 27+64=91, Resulting Numbers: [91]
91,51 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: 51:[81, 27, 17], Operations: ['96-79=17']
Exploring Operation: 81-27=54, Resulting Numbers: [17, 54]
Generated Node #0,1,0: 51:[17, 54] Operation: 81-27=54
Exploring Operation: 81/27=3, Resulting Numbers: [17, 3]
Generated Node #0,1,1: 51:[17, 3] Operation: 81/27=3
Moving to Node #0,1,1
Current State: 51:[17, 3], Operations: ['96-79=17', '81/27=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[96, 79, 81, 27], Operations: []
Exploring Operation: 96-79=17, Resulting Numbers: [81, 27, 17]
Generated Node #0,1: 51:[81, 27, 17] Operation: 96-79=17
Moving to Node #0,1
Current State: 51:[81, 27, 17], Operations: ['96-79=17']
Exploring Operation: 81/27=3, Resulting Numbers: [17, 3]
Generated Node #0,1,1: 51:[17, 3] Operation: 81/27=3
Moving to Node #0,1,1
Current State: 51:[17, 3], Operations: ['96-79=17', '81/27=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
29,
96,
5,
60
] | 85 | [
"29+96=125",
"125/5=25",
"60+25=85"
] | Current State: 85:[29, 96, 5, 60], Operations: []
Exploring Operation: 29+96=125, Resulting Numbers: [5, 60, 125]
Generated Node #2: [5, 60, 125] from Operation: 29+96=125
Current State: 85:[5, 60, 125], Operations: ['29+96=125']
Exploring Operation: 125/5=25, Resulting Numbers: [60, 25]
Generated Node #3: [60, 25] from Operation: 125/5=25
Current State: 85:[60, 25], Operations: ['29+96=125', '125/5=25']
Exploring Operation: 60+25=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[29, 96, 5, 60], Operations: []
Exploring Operation: 60/5=12, Resulting Numbers: [29, 96, 12]
Generated Node #0,0: 85:[29, 96, 12] Operation: 60/5=12
Exploring Operation: 96-60=36, Resulting Numbers: [29, 5, 36]
Generated Node #0,1: 85:[29, 5, 36] Operation: 96-60=36
Exploring Operation: 60-29=31, Resulting Numbers: [96, 5, 31]
Generated Node #0,2: 85:[96, 5, 31] Operation: 60-29=31
Exploring Operation: 29+60=89, Resulting Numbers: [96, 5, 89]
Generated Node #0,3: 85:[96, 5, 89] Operation: 29+60=89
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[96, 5, 89], Operations: ['29+60=89']
Exploring Operation: 96+5=101, Resulting Numbers: [89, 101]
Generated Node #0,3,0: 85:[89, 101] Operation: 96+5=101
Exploring Operation: 96-89=7, Resulting Numbers: [5, 7]
Generated Node #0,3,1: 85:[5, 7] Operation: 96-89=7
Exploring Operation: 89-5=84, Resulting Numbers: [96, 84]
Generated Node #0,3,2: 85:[96, 84] Operation: 89-5=84
Exploring Operation: 96-5=91, Resulting Numbers: [89, 91]
Generated Node #0,3,3: 85:[89, 91] Operation: 96-5=91
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 85:[5, 7], Operations: ['29+60=89', '96-89=7']
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,85 unequal: No Solution
No 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: 85:[89, 91], Operations: ['29+60=89', '96-5=91']
Exploring Operation: 91-89=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 89+91=180, Resulting Numbers: [180]
180,85 unequal: No Solution
Exploring Operation: 89*91=8099, Resulting Numbers: [8099]
8099,85 unequal: No Solution
No 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: 85:[96, 84], Operations: ['29+60=89', '89-5=84']
Exploring Operation: 96+84=180, Resulting Numbers: [180]
180,85 unequal: No Solution
Exploring Operation: 96-84=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 96*84=8064, Resulting Numbers: [8064]
8064,85 unequal: No Solution
No 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: 85:[89, 101], Operations: ['29+60=89', '96+5=101']
Exploring Operation: 89*101=8989, Resulting Numbers: [8989]
8989,85 unequal: No Solution
Exploring Operation: 89+101=190, Resulting Numbers: [190]
190,85 unequal: No Solution
Exploring Operation: 101-89=12, Resulting Numbers: [12]
12,85 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: 85:[96, 5, 31], Operations: ['60-29=31']
Exploring Operation: 31-5=26, Resulting Numbers: [96, 26]
Generated Node #0,2,0: 85:[96, 26] Operation: 31-5=26
Exploring Operation: 96-31=65, Resulting Numbers: [5, 65]
Generated Node #0,2,1: 85:[5, 65] Operation: 96-31=65
Exploring Operation: 96+5=101, Resulting Numbers: [31, 101]
Generated Node #0,2,2: 85:[31, 101] Operation: 96+5=101
Exploring Operation: 96-5=91, Resulting Numbers: [31, 91]
Generated Node #0,2,3: 85:[31, 91] Operation: 96-5=91
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 85:[96, 26], Operations: ['60-29=31', '31-5=26']
Exploring Operation: 96-26=70, Resulting Numbers: [70]
70,85 unequal: No Solution
Exploring Operation: 96*26=2496, Resulting Numbers: [2496]
2496,85 unequal: No Solution
Exploring Operation: 96+26=122, Resulting Numbers: [122]
122,85 unequal: No Solution
No 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: 85:[5, 65], Operations: ['60-29=31', '96-31=65']
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,85 unequal: No Solution
Exploring Operation: 5+65=70, Resulting Numbers: [70]
70,85 unequal: No Solution
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,85 unequal: No Solution
Exploring Operation: 5*65=325, Resulting Numbers: [325]
325,85 unequal: No Solution
No 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: 85:[31, 91], Operations: ['60-29=31', '96-5=91']
Exploring Operation: 31+91=122, Resulting Numbers: [122]
122,85 unequal: No Solution
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,85 unequal: No Solution
Exploring Operation: 31*91=2821, Resulting Numbers: [2821]
2821,85 unequal: No Solution
No 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: 85:[31, 101], Operations: ['60-29=31', '96+5=101']
Exploring Operation: 101-31=70, Resulting Numbers: [70]
70,85 unequal: No Solution
Exploring Operation: 31+101=132, Resulting Numbers: [132]
132,85 unequal: No Solution
Exploring Operation: 31*101=3131, Resulting Numbers: [3131]
3131,85 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: 85:[29, 96, 12], Operations: ['60/5=12']
Exploring Operation: 29-12=17, Resulting Numbers: [96, 17]
Generated Node #0,0,0: 85:[96, 17] Operation: 29-12=17
Exploring Operation: 96-29=67, Resulting Numbers: [12, 67]
Generated Node #0,0,1: 85:[12, 67] Operation: 96-29=67
Exploring Operation: 96-12=84, Resulting Numbers: [29, 84]
Generated Node #0,0,2: 85:[29, 84] Operation: 96-12=84
Exploring Operation: 96/12=8, Resulting Numbers: [29, 8]
Generated Node #0,0,3: 85:[29, 8] Operation: 96/12=8
Moving to Node #0,0,0
Current State: 85:[96, 17], Operations: ['60/5=12', '29-12=17']
Exploring Operation: 96-17=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 96*17=1632, Resulting Numbers: [1632]
1632,85 unequal: No Solution
Exploring Operation: 96+17=113, Resulting Numbers: [113]
113,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[29, 84], Operations: ['60/5=12', '96-12=84']
Exploring Operation: 84-29=55, Resulting Numbers: [55]
55,85 unequal: No Solution
Exploring Operation: 29*84=2436, Resulting Numbers: [2436]
2436,85 unequal: No Solution
Exploring Operation: 29+84=113, Resulting Numbers: [113]
113,85 unequal: No Solution
Moving to Node #0,0,3
Current State: 85:[29, 8], Operations: ['60/5=12', '96/12=8']
Exploring Operation: 29*8=232, Resulting Numbers: [232]
232,85 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 29+8=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[12, 67], Operations: ['60/5=12', '96-29=67']
Exploring Operation: 12*67=804, Resulting Numbers: [804]
804,85 unequal: No Solution
Exploring Operation: 12+67=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[29, 5, 36], Operations: ['96-60=36']
Exploring Operation: 36-29=7, Resulting Numbers: [5, 7]
Generated Node #0,1,0: 85:[5, 7] Operation: 36-29=7
Exploring Operation: 36-5=31, Resulting Numbers: [29, 31]
Generated Node #0,1,1: 85:[29, 31] Operation: 36-5=31
Exploring Operation: 29+36=65, Resulting Numbers: [5, 65]
Generated Node #0,1,2: 85:[5, 65] Operation: 29+36=65
Exploring Operation: 29-5=24, Resulting Numbers: [36, 24]
Generated Node #0,1,3: 85:[36, 24] Operation: 29-5=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[5, 7], Operations: ['96-60=36', '36-29=7']
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,85 unequal: No Solution
No 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: 85:[5, 65], Operations: ['96-60=36', '29+36=65']
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,85 unequal: No Solution
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,85 unequal: No Solution
Exploring Operation: 5*65=325, Resulting Numbers: [325]
325,85 unequal: No Solution
Exploring Operation: 5+65=70, Resulting Numbers: [70]
70,85 unequal: No Solution
No 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: 85:[29, 31], Operations: ['96-60=36', '36-5=31']
Exploring Operation: 29*31=899, Resulting Numbers: [899]
899,85 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,85 unequal: No Solution
No 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: 85:[36, 24], Operations: ['96-60=36', '29-5=24']
Exploring Operation: 36*24=864, Resulting Numbers: [864]
864,85 unequal: No Solution
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,85 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
50,
27,
41,
53
] | 56 | [
"50-41=9",
"27/9=3",
"53+3=56"
] | Current State: 56:[50, 27, 41, 53], Operations: []
Exploring Operation: 50-41=9, Resulting Numbers: [27, 53, 9]
Generated Node #2: [27, 53, 9] from Operation: 50-41=9
Current State: 56:[27, 53, 9], Operations: ['50-41=9']
Exploring Operation: 27/9=3, Resulting Numbers: [53, 3]
Generated Node #3: [53, 3] from Operation: 27/9=3
Current State: 56:[53, 3], Operations: ['50-41=9', '27/9=3']
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[50, 27, 41, 53], Operations: []
Exploring Operation: 50-27=23, Resulting Numbers: [41, 53, 23]
Generated Node #0,0: 56:[41, 53, 23] Operation: 50-27=23
Exploring Operation: 53-50=3, Resulting Numbers: [27, 41, 3]
Generated Node #0,1: 56:[27, 41, 3] Operation: 53-50=3
Exploring Operation: 41-27=14, Resulting Numbers: [50, 53, 14]
Generated Node #0,2: 56:[50, 53, 14] Operation: 41-27=14
Exploring Operation: 50-41=9, Resulting Numbers: [27, 53, 9]
Generated Node #0,3: 56:[27, 53, 9] Operation: 50-41=9
Exploring Operation: 53-41=12, Resulting Numbers: [50, 27, 12]
Generated Node #0,4: 56:[50, 27, 12] Operation: 53-41=12
Moving to Node #0,3
Current State: 56:[27, 53, 9], Operations: ['50-41=9']
Exploring Operation: 27/9=3, Resulting Numbers: [53, 3]
Generated Node #0,3,0: 56:[53, 3] Operation: 27/9=3
Exploring Operation: 27+9=36, Resulting Numbers: [53, 36]
Generated Node #0,3,1: 56:[53, 36] Operation: 27+9=36
Exploring Operation: 53-27=26, Resulting Numbers: [9, 26]
Generated Node #0,3,2: 56:[9, 26] Operation: 53-27=26
Exploring Operation: 27-9=18, Resulting Numbers: [53, 18]
Generated Node #0,3,3: 56:[53, 18] Operation: 27-9=18
Exploring Operation: 53+9=62, Resulting Numbers: [27, 62]
Generated Node #0,3,4: 56:[27, 62] Operation: 53+9=62
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 56:[9, 26], Operations: ['50-41=9', '53-27=26']
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,56 unequal: No Solution
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,56 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,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,3,0
Current State: 56:[53, 3], Operations: ['50-41=9', '27/9=3']
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[50, 27, 41, 53], Operations: []
Exploring Operation: 50-41=9, Resulting Numbers: [27, 53, 9]
Generated Node #0,3: 56:[27, 53, 9] Operation: 50-41=9
Moving to Node #0,3
Current State: 56:[27, 53, 9], Operations: ['50-41=9']
Exploring Operation: 27/9=3, Resulting Numbers: [53, 3]
Generated Node #0,3,0: 56:[53, 3] Operation: 27/9=3
Moving to Node #0,3,0
Current State: 56:[53, 3], Operations: ['50-41=9', '27/9=3']
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
64,
30,
19,
32
] | 68 | [
"64*19=1216",
"1216/32=38",
"30+38=68"
] | Current State: 68:[64, 30, 19, 32], Operations: []
Exploring Operation: 64*19=1216, Resulting Numbers: [30, 32, 1216]
Generated Node #2: [30, 32, 1216] from Operation: 64*19=1216
Current State: 68:[30, 32, 1216], Operations: ['64*19=1216']
Exploring Operation: 1216/32=38, Resulting Numbers: [30, 38]
Generated Node #3: [30, 38] from Operation: 1216/32=38
Current State: 68:[30, 38], Operations: ['64*19=1216', '1216/32=38']
Exploring Operation: 30+38=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[64, 30, 19, 32], Operations: []
Exploring Operation: 30-19=11, Resulting Numbers: [64, 32, 11]
Generated Node #0,0: 68:[64, 32, 11] Operation: 30-19=11
Exploring Operation: 64-30=34, Resulting Numbers: [19, 32, 34]
Generated Node #0,1: 68:[19, 32, 34] Operation: 64-30=34
Exploring Operation: 64-32=32, Resulting Numbers: [30, 19, 32]
Generated Node #0,2: 68:[30, 19, 32] Operation: 64-32=32
Exploring Operation: 64/32=2, Resulting Numbers: [30, 19, 2]
Generated Node #0,3: 68:[30, 19, 2] Operation: 64/32=2
Exploring Operation: 32-30=2, Resulting Numbers: [64, 19, 2]
Generated Node #0,4: 68:[64, 19, 2] Operation: 32-30=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[19, 32, 34], Operations: ['64-30=34']
Exploring Operation: 19+32=51, Resulting Numbers: [34, 51]
Generated Node #0,1,0: 68:[34, 51] Operation: 19+32=51
Exploring Operation: 34-32=2, Resulting Numbers: [19, 2]
Generated Node #0,1,1: 68:[19, 2] Operation: 34-32=2
Exploring Operation: 34-19=15, Resulting Numbers: [32, 15]
Generated Node #0,1,2: 68:[32, 15] Operation: 34-19=15
Exploring Operation: 32+34=66, Resulting Numbers: [19, 66]
Generated Node #0,1,3: 68:[19, 66] Operation: 32+34=66
Exploring Operation: 32-19=13, Resulting Numbers: [34, 13]
Generated Node #0,1,4: 68:[34, 13] Operation: 32-19=13
Moving to Node #0,1,1
Current State: 68:[19, 2], Operations: ['64-30=34', '34-32=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,68 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,68 unequal: No Solution
Moving to Node #0,1,3
Current State: 68:[19, 66], Operations: ['64-30=34', '32+34=66']
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,68 unequal: No Solution
Exploring Operation: 19*66=1254, Resulting Numbers: [1254]
1254,68 unequal: No Solution
Exploring Operation: 19+66=85, Resulting Numbers: [85]
85,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[32, 15], Operations: ['64-30=34', '34-19=15']
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,68 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,68 unequal: No Solution
Moving to Node #0,1,4
Current State: 68:[34, 13], Operations: ['64-30=34', '32-19=13']
Exploring Operation: 34*13=442, Resulting Numbers: [442]
442,68 unequal: No Solution
Exploring Operation: 34+13=47, Resulting Numbers: [47]
47,68 unequal: No Solution
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[34, 51], Operations: ['64-30=34', '19+32=51']
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,68 unequal: No Solution
Exploring Operation: 34*51=1734, Resulting Numbers: [1734]
1734,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:[30, 19, 2], Operations: ['64/32=2']
Exploring Operation: 30+2=32, Resulting Numbers: [19, 32]
Generated Node #0,3,0: 68:[19, 32] Operation: 30+2=32
Exploring Operation: 19-2=17, Resulting Numbers: [30, 17]
Generated Node #0,3,1: 68:[30, 17] Operation: 19-2=17
Exploring Operation: 30-19=11, Resulting Numbers: [2, 11]
Generated Node #0,3,2: 68:[2, 11] Operation: 30-19=11
Exploring Operation: 30-2=28, Resulting Numbers: [19, 28]
Generated Node #0,3,3: 68:[19, 28] Operation: 30-2=28
Exploring Operation: 30/2=15, Resulting Numbers: [19, 15]
Generated Node #0,3,4: 68:[19, 15] Operation: 30/2=15
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 68:[19, 32], Operations: ['64/32=2', '30+2=32']
Exploring Operation: 19*32=608, Resulting Numbers: [608]
608,68 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 19+32=51, Resulting Numbers: [51]
51,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:[30, 17], Operations: ['64/32=2', '19-2=17']
Exploring Operation: 30+17=47, Resulting Numbers: [47]
47,68 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 30*17=510, Resulting Numbers: [510]
510,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:[19, 15], Operations: ['64/32=2', '30/2=15']
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,68 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,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:[2, 11], Operations: ['64/32=2', '30-19=11']
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,68 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,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:[19, 28], Operations: ['64/32=2', '30-2=28']
Exploring Operation: 19*28=532, Resulting Numbers: [532]
532,68 unequal: No Solution
Exploring Operation: 19+28=47, Resulting Numbers: [47]
47,68 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,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,4
Current State: 68:[64, 19, 2], Operations: ['32-30=2']
Exploring Operation: 19+2=21, Resulting Numbers: [64, 21]
Generated Node #0,4,0: 68:[64, 21] Operation: 19+2=21
Exploring Operation: 19-2=17, Resulting Numbers: [64, 17]
Generated Node #0,4,1: 68:[64, 17] Operation: 19-2=17
Exploring Operation: 64-2=62, Resulting Numbers: [19, 62]
Generated Node #0,4,2: 68:[19, 62] Operation: 64-2=62
Exploring Operation: 64/2=32, Resulting Numbers: [19, 32]
Generated Node #0,4,3: 68:[19, 32] Operation: 64/2=32
Exploring Operation: 64+2=66, Resulting Numbers: [19, 66]
Generated Node #0,4,4: 68:[19, 66] Operation: 64+2=66
Moving to Node #0,4,1
Current State: 68:[64, 17], Operations: ['32-30=2', '19-2=17']
Exploring Operation: 64-17=47, Resulting Numbers: [47]
47,68 unequal: No Solution
Exploring Operation: 64*17=1088, Resulting Numbers: [1088]
1088,68 unequal: No Solution
Exploring Operation: 64+17=81, Resulting Numbers: [81]
81,68 unequal: No Solution
Moving to Node #0,4,4
Current State: 68:[19, 66], Operations: ['32-30=2', '64+2=66']
Exploring Operation: 19*66=1254, Resulting Numbers: [1254]
1254,68 unequal: No Solution
Exploring Operation: 19+66=85, Resulting Numbers: [85]
85,68 unequal: No Solution
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,68 unequal: No Solution
Moving to Node #0,4,3
Current State: 68:[19, 32], Operations: ['32-30=2', '64/2=32']
Exploring Operation: 19*32=608, Resulting Numbers: [608]
608,68 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 19+32=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Moving to Node #0,4,0
Current State: 68:[64, 21], Operations: ['32-30=2', '19+2=21']
Exploring Operation: 64*21=1344, Resulting Numbers: [1344]
1344,68 unequal: No Solution
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 64+21=85, Resulting Numbers: [85]
85,68 unequal: No Solution
Moving to Node #0,4,2
Current State: 68:[19, 62], Operations: ['32-30=2', '64-2=62']
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 19*62=1178, Resulting Numbers: [1178]
1178,68 unequal: No Solution
Exploring Operation: 19+62=81, Resulting Numbers: [81]
81,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,2
Current State: 68:[30, 19, 32], Operations: ['64-32=32']
Exploring Operation: 30-19=11, Resulting Numbers: [32, 11]
Generated Node #0,2,0: 68:[32, 11] Operation: 30-19=11
Exploring Operation: 30+32=62, Resulting Numbers: [19, 62]
Generated Node #0,2,1: 68:[19, 62] Operation: 30+32=62
Exploring Operation: 32-30=2, Resulting Numbers: [19, 2]
Generated Node #0,2,2: 68:[19, 2] Operation: 32-30=2
Exploring Operation: 30+19=49, Resulting Numbers: [32, 49]
Generated Node #0,2,3: 68:[32, 49] Operation: 30+19=49
Exploring Operation: 32-19=13, Resulting Numbers: [30, 13]
Generated Node #0,2,4: 68:[30, 13] Operation: 32-19=13
Moving to Node #0,2,2
Current State: 68:[19, 2], Operations: ['64-32=32', '32-30=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,68 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,68 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[19, 62], Operations: ['64-32=32', '30+32=62']
Exploring Operation: 19*62=1178, Resulting Numbers: [1178]
1178,68 unequal: No Solution
Exploring Operation: 19+62=81, Resulting Numbers: [81]
81,68 unequal: No Solution
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[32, 11], Operations: ['64-32=32', '30-19=11']
Exploring Operation: 32+11=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 32*11=352, Resulting Numbers: [352]
352,68 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,68 unequal: No Solution
Moving to Node #0,2,4
Current State: 68:[30, 13], Operations: ['64-32=32', '32-19=13']
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,68 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Moving to Node #0,2,3
Current State: 68:[32, 49], Operations: ['64-32=32', '30+19=49']
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 32*49=1568, Resulting Numbers: [1568]
1568,68 unequal: No Solution
Exploring Operation: 32+49=81, Resulting Numbers: [81]
81,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,0
Current State: 68:[64, 32, 11], Operations: ['30-19=11']
Exploring Operation: 64/32=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 68:[11, 2] Operation: 64/32=2
Exploring Operation: 32+11=43, Resulting Numbers: [64, 43]
Generated Node #0,0,1: 68:[64, 43] Operation: 32+11=43
Exploring Operation: 32-11=21, Resulting Numbers: [64, 21]
Generated Node #0,0,2: 68:[64, 21] Operation: 32-11=21
Exploring Operation: 64+11=75, Resulting Numbers: [32, 75]
Generated Node #0,0,3: 68:[32, 75] Operation: 64+11=75
Exploring Operation: 64-32=32, Resulting Numbers: [11, 32]
Generated Node #0,0,4: 68:[11, 32] Operation: 64-32=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[11, 2], Operations: ['30-19=11', '64/32=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,68 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,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,2
Current State: 68:[64, 21], Operations: ['30-19=11', '32-11=21']
Exploring Operation: 64+21=85, Resulting Numbers: [85]
85,68 unequal: No Solution
Exploring Operation: 64*21=1344, Resulting Numbers: [1344]
1344,68 unequal: No Solution
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,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:[11, 32], Operations: ['30-19=11', '64-32=32']
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,68 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,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:[32, 75], Operations: ['30-19=11', '64+11=75']
Exploring Operation: 32*75=2400, Resulting Numbers: [2400]
2400,68 unequal: No Solution
Exploring Operation: 32+75=107, Resulting Numbers: [107]
107,68 unequal: No Solution
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,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:[64, 43], Operations: ['30-19=11', '32+11=43']
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,68 unequal: No Solution
Exploring Operation: 64*43=2752, Resulting Numbers: [2752]
2752,68 unequal: No Solution
Exploring Operation: 64+43=107, Resulting Numbers: [107]
107,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 |
[
72,
11,
22,
77
] | 93 | [
"72+77=149",
"11*22=242",
"242-149=93"
] | Current State: 93:[72, 11, 22, 77], Operations: []
Exploring Operation: 72+77=149, Resulting Numbers: [11, 22, 149]
Generated Node #2: [11, 22, 149] from Operation: 72+77=149
Current State: 93:[11, 22, 149], Operations: ['72+77=149']
Exploring Operation: 11*22=242, Resulting Numbers: [149, 242]
Generated Node #3: [149, 242] from Operation: 11*22=242
Current State: 93:[149, 242], Operations: ['72+77=149', '11*22=242']
Exploring Operation: 242-149=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[72, 11, 22, 77], Operations: []
Exploring Operation: 77-72=5, Resulting Numbers: [11, 22, 5]
Generated Node #0,0: 93:[11, 22, 5] Operation: 77-72=5
Moving to Node #0,0
Current State: 93:[11, 22, 5], Operations: ['77-72=5']
Exploring Operation: 22/11=2, Resulting Numbers: [5, 2]
Generated Node #0,0,0: 93:[5, 2] Operation: 22/11=2
Moving to Node #0,0,0
Current State: 93:[5, 2], Operations: ['77-72=5', '22/11=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,93 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
85,
88,
33,
22
] | 56 | [
"85-33=52",
"88/22=4",
"52+4=56"
] | Current State: 56:[85, 88, 33, 22], Operations: []
Exploring Operation: 85-33=52, Resulting Numbers: [88, 22, 52]
Generated Node #2: [88, 22, 52] from Operation: 85-33=52
Current State: 56:[88, 22, 52], Operations: ['85-33=52']
Exploring Operation: 88/22=4, Resulting Numbers: [52, 4]
Generated Node #3: [52, 4] from Operation: 88/22=4
Current State: 56:[52, 4], Operations: ['85-33=52', '88/22=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[85, 88, 33, 22], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [33, 22, 3]
Generated Node #0,0: 56:[33, 22, 3] Operation: 88-85=3
Exploring Operation: 85-33=52, Resulting Numbers: [88, 22, 52]
Generated Node #0,1: 56:[88, 22, 52] Operation: 85-33=52
Exploring Operation: 88/22=4, Resulting Numbers: [85, 33, 4]
Generated Node #0,2: 56:[85, 33, 4] Operation: 88/22=4
Exploring Operation: 88-33=55, Resulting Numbers: [85, 22, 55]
Generated Node #0,3: 56:[85, 22, 55] Operation: 88-33=55
Exploring Operation: 85-22=63, Resulting Numbers: [88, 33, 63]
Generated Node #0,4: 56:[88, 33, 63] Operation: 85-22=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[33, 22, 3], Operations: ['88-85=3']
Exploring Operation: 33-22=11, Resulting Numbers: [3, 11]
Generated Node #0,0,0: 56:[3, 11] Operation: 33-22=11
Exploring Operation: 33-3=30, Resulting Numbers: [22, 30]
Generated Node #0,0,1: 56:[22, 30] Operation: 33-3=30
Exploring Operation: 33+22=55, Resulting Numbers: [3, 55]
Generated Node #0,0,2: 56:[3, 55] Operation: 33+22=55
Exploring Operation: 22+3=25, Resulting Numbers: [33, 25]
Generated Node #0,0,3: 56:[33, 25] Operation: 22+3=25
Exploring Operation: 33/3=11, Resulting Numbers: [22, 11]
Generated Node #0,0,4: 56:[22, 11] Operation: 33/3=11
Moving to Node #0,0,2
Current State: 56:[3, 55], Operations: ['88-85=3', '33+22=55']
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,56 unequal: No Solution
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[3, 11], Operations: ['88-85=3', '33-22=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,56 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[22, 30], Operations: ['88-85=3', '33-3=30']
Exploring Operation: 22+30=52, Resulting Numbers: [52]
52,56 unequal: No Solution
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 22*30=660, Resulting Numbers: [660]
660,56 unequal: No Solution
Moving to Node #0,0,3
Current State: 56:[33, 25], Operations: ['88-85=3', '22+3=25']
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 33*25=825, Resulting Numbers: [825]
825,56 unequal: No Solution
Moving to Node #0,0,4
Current State: 56:[22, 11], Operations: ['88-85=3', '33/3=11']
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,56 unequal: No Solution
Exploring Operation: 22*11=242, Resulting Numbers: [242]
242,56 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[85, 33, 4], Operations: ['88/22=4']
Exploring Operation: 33+4=37, Resulting Numbers: [85, 37]
Generated Node #0,2,0: 56:[85, 37] Operation: 33+4=37
Exploring Operation: 85+4=89, Resulting Numbers: [33, 89]
Generated Node #0,2,1: 56:[33, 89] Operation: 85+4=89
Exploring Operation: 85-33=52, Resulting Numbers: [4, 52]
Generated Node #0,2,2: 56:[4, 52] Operation: 85-33=52
Exploring Operation: 33-4=29, Resulting Numbers: [85, 29]
Generated Node #0,2,3: 56:[85, 29] Operation: 33-4=29
Exploring Operation: 85-4=81, Resulting Numbers: [33, 81]
Generated Node #0,2,4: 56:[33, 81] Operation: 85-4=81
Moving to Node #0,2,2
Current State: 56:[4, 52], Operations: ['88/22=4', '85-33=52']
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[85, 88, 33, 22], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [85, 33, 4]
Generated Node #0,2: 56:[85, 33, 4] Operation: 88/22=4
Moving to Node #0,2
Current State: 56:[85, 33, 4], Operations: ['88/22=4']
Exploring Operation: 85-33=52, Resulting Numbers: [4, 52]
Generated Node #0,2,2: 56:[4, 52] Operation: 85-33=52
Moving to Node #0,2,2
Current State: 56:[4, 52], Operations: ['88/22=4', '85-33=52']
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
95,
14,
17,
71
] | 79 | [
"95+17=112",
"112/14=8",
"71+8=79"
] | Current State: 79:[95, 14, 17, 71], Operations: []
Exploring Operation: 95+17=112, Resulting Numbers: [14, 71, 112]
Generated Node #2: [14, 71, 112] from Operation: 95+17=112
Current State: 79:[14, 71, 112], Operations: ['95+17=112']
Exploring Operation: 112/14=8, Resulting Numbers: [71, 8]
Generated Node #3: [71, 8] from Operation: 112/14=8
Current State: 79:[71, 8], Operations: ['95+17=112', '112/14=8']
Exploring Operation: 71+8=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[95, 14, 17, 71], Operations: []
Exploring Operation: 14+17=31, Resulting Numbers: [95, 71, 31]
Generated Node #0,0: 79:[95, 71, 31] Operation: 14+17=31
Exploring Operation: 95-14=81, Resulting Numbers: [17, 71, 81]
Generated Node #0,1: 79:[17, 71, 81] Operation: 95-14=81
Exploring Operation: 95-17=78, Resulting Numbers: [14, 71, 78]
Generated Node #0,2: 79:[14, 71, 78] Operation: 95-17=78
Moving to Node #0,0
Current State: 79:[95, 71, 31], Operations: ['14+17=31']
Exploring Operation: 95-31=64, Resulting Numbers: [71, 64]
Generated Node #0,0,0: 79:[71, 64] Operation: 95-31=64
Exploring Operation: 95+31=126, Resulting Numbers: [71, 126]
Generated Node #0,0,1: 79:[71, 126] Operation: 95+31=126
Exploring Operation: 71+31=102, Resulting Numbers: [95, 102]
Generated Node #0,0,2: 79:[95, 102] Operation: 71+31=102
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[71, 64], Operations: ['14+17=31', '95-31=64']
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 71*64=4544, Resulting Numbers: [4544]
4544,79 unequal: No Solution
Exploring Operation: 71+64=135, Resulting Numbers: [135]
135,79 unequal: No Solution
No 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: 79:[95, 102], Operations: ['14+17=31', '71+31=102']
Exploring Operation: 95*102=9690, Resulting Numbers: [9690]
9690,79 unequal: No Solution
Exploring Operation: 102-95=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 95+102=197, Resulting Numbers: [197]
197,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[71, 126], Operations: ['14+17=31', '95+31=126']
Exploring Operation: 71*126=8946, Resulting Numbers: [8946]
8946,79 unequal: No Solution
Exploring Operation: 126-71=55, Resulting Numbers: [55]
55,79 unequal: No Solution
Exploring Operation: 71+126=197, Resulting Numbers: [197]
197,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 79:[17, 71, 81], Operations: ['95-14=81']
Exploring Operation: 71-17=54, Resulting Numbers: [81, 54]
Generated Node #0,1,0: 79:[81, 54] Operation: 71-17=54
Exploring Operation: 17+71=88, Resulting Numbers: [81, 88]
Generated Node #0,1,1: 79:[81, 88] Operation: 17+71=88
Exploring Operation: 81-17=64, Resulting Numbers: [71, 64]
Generated Node #0,1,2: 79:[71, 64] Operation: 81-17=64
Moving to Node #0,2
Current State: 79:[14, 71, 78], Operations: ['95-17=78']
Exploring Operation: 14+71=85, Resulting Numbers: [78, 85]
Generated Node #0,2,0: 79:[78, 85] Operation: 14+71=85
Exploring Operation: 71-14=57, Resulting Numbers: [78, 57]
Generated Node #0,2,1: 79:[78, 57] Operation: 71-14=57
Exploring Operation: 14+78=92, Resulting Numbers: [71, 92]
Generated Node #0,2,2: 79:[71, 92] Operation: 14+78=92
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 79:[78, 85], Operations: ['95-17=78', '14+71=85']
Exploring Operation: 85-78=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 78+85=163, Resulting Numbers: [163]
163,79 unequal: No Solution
Exploring Operation: 78*85=6630, Resulting Numbers: [6630]
6630,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:[71, 92], Operations: ['95-17=78', '14+78=92']
Exploring Operation: 71+92=163, Resulting Numbers: [163]
163,79 unequal: No Solution
Exploring Operation: 92-71=21, Resulting Numbers: [21]
21,79 unequal: No Solution
Exploring Operation: 71*92=6532, Resulting Numbers: [6532]
6532,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 79:[78, 57], Operations: ['95-17=78', '71-14=57']
Exploring Operation: 78-57=21, Resulting Numbers: [21]
21,79 unequal: No Solution
Exploring Operation: 78+57=135, Resulting Numbers: [135]
135,79 unequal: No Solution
Exploring Operation: 78*57=4446, Resulting Numbers: [4446]
4446,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 79:[81, 88], Operations: ['95-14=81', '17+71=88']
Exploring Operation: 81+88=169, Resulting Numbers: [169]
169,79 unequal: No Solution
Exploring Operation: 88-81=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 81*88=7128, Resulting Numbers: [7128]
7128,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[71, 64], Operations: ['95-14=81', '81-17=64']
Exploring Operation: 71*64=4544, Resulting Numbers: [4544]
4544,79 unequal: No Solution
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 71+64=135, Resulting Numbers: [135]
135,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[81, 54], Operations: ['95-14=81', '71-17=54']
Exploring Operation: 81*54=4374, Resulting Numbers: [4374]
4374,79 unequal: No Solution
Exploring Operation: 81-54=27, Resulting Numbers: [27]
27,79 unequal: No Solution
Exploring Operation: 81+54=135, Resulting Numbers: [135]
135,79 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
25,
39,
14,
64
] | 41 | [
"64-14=50",
"50/25=2",
"39+2=41"
] | Current State: 41:[25, 39, 14, 64], Operations: []
Exploring Operation: 64-14=50, Resulting Numbers: [25, 39, 50]
Generated Node #2: [25, 39, 50] from Operation: 64-14=50
Current State: 41:[25, 39, 50], Operations: ['64-14=50']
Exploring Operation: 50/25=2, Resulting Numbers: [39, 2]
Generated Node #3: [39, 2] from Operation: 50/25=2
Current State: 41:[39, 2], Operations: ['64-14=50', '50/25=2']
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[25, 39, 14, 64], Operations: []
Exploring Operation: 25-14=11, Resulting Numbers: [39, 64, 11]
Generated Node #0,0: 41:[39, 64, 11] Operation: 25-14=11
Exploring Operation: 64-14=50, Resulting Numbers: [25, 39, 50]
Generated Node #0,1: 41:[25, 39, 50] Operation: 64-14=50
Exploring Operation: 64-25=39, Resulting Numbers: [39, 14, 39]
Generated Node #0,2: 41:[39, 14, 39] Operation: 64-25=39
Exploring Operation: 39+14=53, Resulting Numbers: [25, 64, 53]
Generated Node #0,3: 41:[25, 64, 53] Operation: 39+14=53
Exploring Operation: 25+14=39, Resulting Numbers: [39, 64, 39]
Generated Node #0,4: 41:[39, 64, 39] Operation: 25+14=39
Moving to Node #0,1
Current State: 41:[25, 39, 50], Operations: ['64-14=50']
Exploring Operation: 25+50=75, Resulting Numbers: [39, 75]
Generated Node #0,1,0: 41:[39, 75] Operation: 25+50=75
Exploring Operation: 50/25=2, Resulting Numbers: [39, 2]
Generated Node #0,1,1: 41:[39, 2] Operation: 50/25=2
Exploring Operation: 39-25=14, Resulting Numbers: [50, 14]
Generated Node #0,1,2: 41:[50, 14] Operation: 39-25=14
Exploring Operation: 25+39=64, Resulting Numbers: [50, 64]
Generated Node #0,1,3: 41:[50, 64] Operation: 25+39=64
Exploring Operation: 50-25=25, Resulting Numbers: [39, 25]
Generated Node #0,1,4: 41:[39, 25] Operation: 50-25=25
Moving to Node #0,4
Current State: 41:[39, 64, 39], Operations: ['25+14=39']
Exploring Operation: 64-39=25, Resulting Numbers: [39, 25]
Generated Node #0,4,0: 41:[39, 25] Operation: 64-39=25
Exploring Operation: 39/39=1, Resulting Numbers: [64, 1]
Generated Node #0,4,1: 41:[64, 1] Operation: 39/39=1
Exploring Operation: 39+64=103, Resulting Numbers: [39, 103]
Generated Node #0,4,2: 41:[39, 103] Operation: 39+64=103
Exploring Operation: 64-39=25, Resulting Numbers: [39, 25]
Generated Node #0,4,3: 41:[39, 25] Operation: 64-39=25
Exploring Operation: 39+39=78, Resulting Numbers: [64, 78]
Generated Node #0,4,4: 41:[64, 78] Operation: 39+39=78
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 41:[39, 25], Operations: ['25+14=39', '64-39=25']
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,41 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 41:[39, 25], Operations: ['25+14=39', '64-39=25']
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,41 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 41:[64, 78], Operations: ['25+14=39', '39+39=78']
Exploring Operation: 64*78=4992, Resulting Numbers: [4992]
4992,41 unequal: No Solution
Exploring Operation: 64+78=142, Resulting Numbers: [142]
142,41 unequal: No Solution
Exploring Operation: 78-64=14, Resulting Numbers: [14]
14,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 41:[64, 1], Operations: ['25+14=39', '39/39=1']
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 41:[39, 103], Operations: ['25+14=39', '39+64=103']
Exploring Operation: 39+103=142, Resulting Numbers: [142]
142,41 unequal: No Solution
Exploring Operation: 39*103=4017, Resulting Numbers: [4017]
4017,41 unequal: No Solution
Exploring Operation: 103-39=64, Resulting Numbers: [64]
64,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 41:[39, 14, 39], Operations: ['64-25=39']
Exploring Operation: 14+39=53, Resulting Numbers: [39, 53]
Generated Node #0,2,0: 41:[39, 53] Operation: 14+39=53
Exploring Operation: 39-14=25, Resulting Numbers: [39, 25]
Generated Node #0,2,1: 41:[39, 25] Operation: 39-14=25
Exploring Operation: 39+39=78, Resulting Numbers: [14, 78]
Generated Node #0,2,2: 41:[14, 78] Operation: 39+39=78
Exploring Operation: 39+14=53, Resulting Numbers: [39, 53]
Generated Node #0,2,3: 41:[39, 53] Operation: 39+14=53
Exploring Operation: 39-14=25, Resulting Numbers: [39, 25]
Generated Node #0,2,4: 41:[39, 25] Operation: 39-14=25
Moving to Node #0,3
Current State: 41:[25, 64, 53], Operations: ['39+14=53']
Exploring Operation: 53-25=28, Resulting Numbers: [64, 28]
Generated Node #0,3,0: 41:[64, 28] Operation: 53-25=28
Exploring Operation: 64-25=39, Resulting Numbers: [53, 39]
Generated Node #0,3,1: 41:[53, 39] Operation: 64-25=39
Exploring Operation: 25+53=78, Resulting Numbers: [64, 78]
Generated Node #0,3,2: 41:[64, 78] Operation: 25+53=78
Exploring Operation: 64-53=11, Resulting Numbers: [25, 11]
Generated Node #0,3,3: 41:[25, 11] Operation: 64-53=11
Exploring Operation: 25+64=89, Resulting Numbers: [53, 89]
Generated Node #0,3,4: 41:[53, 89] Operation: 25+64=89
Moving to Node #0,0
Current State: 41:[39, 64, 11], Operations: ['25-14=11']
Exploring Operation: 39+11=50, Resulting Numbers: [64, 50]
Generated Node #0,0,0: 41:[64, 50] Operation: 39+11=50
Exploring Operation: 39-11=28, Resulting Numbers: [64, 28]
Generated Node #0,0,1: 41:[64, 28] Operation: 39-11=28
Exploring Operation: 64-39=25, Resulting Numbers: [11, 25]
Generated Node #0,0,2: 41:[11, 25] Operation: 64-39=25
Exploring Operation: 64+11=75, Resulting Numbers: [39, 75]
Generated Node #0,0,3: 41:[39, 75] Operation: 64+11=75
Exploring Operation: 64-11=53, Resulting Numbers: [39, 53]
Generated Node #0,0,4: 41:[39, 53] Operation: 64-11=53
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 41:[39, 53], Operations: ['25-14=11', '64-11=53']
Exploring Operation: 39*53=2067, Resulting Numbers: [2067]
2067,41 unequal: No Solution
Exploring Operation: 39+53=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[64, 50], Operations: ['25-14=11', '39+11=50']
Exploring Operation: 64+50=114, Resulting Numbers: [114]
114,41 unequal: No Solution
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 64*50=3200, Resulting Numbers: [3200]
3200,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[64, 28], Operations: ['25-14=11', '39-11=28']
Exploring Operation: 64+28=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Exploring Operation: 64*28=1792, Resulting Numbers: [1792]
1792,41 unequal: No Solution
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 41:[39, 75], Operations: ['25-14=11', '64+11=75']
Exploring Operation: 39+75=114, Resulting Numbers: [114]
114,41 unequal: No Solution
Exploring Operation: 39*75=2925, Resulting Numbers: [2925]
2925,41 unequal: No Solution
Exploring Operation: 75-39=36, Resulting Numbers: [36]
36,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[11, 25], Operations: ['25-14=11', '64-39=25']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,41 unequal: No Solution
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,41 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: 41:[39, 53], Operations: ['64-25=39', '14+39=53']
Exploring Operation: 39+53=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Exploring Operation: 39*53=2067, Resulting Numbers: [2067]
2067,41 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[39, 53], Operations: ['64-25=39', '39+14=53']
Exploring Operation: 39+53=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Exploring Operation: 39*53=2067, Resulting Numbers: [2067]
2067,41 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Moving to Node #0,3,1
Current State: 41:[53, 39], Operations: ['39+14=53', '64-25=39']
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 53+39=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Exploring Operation: 53*39=2067, Resulting Numbers: [2067]
2067,41 unequal: No Solution
Moving to Node #0,1,4
Current State: 41:[39, 25], Operations: ['64-14=50', '50-25=25']
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[39, 25], Operations: ['64-25=39', '39-14=25']
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,41 unequal: No Solution
Moving to Node #0,2,4
Current State: 41:[39, 25], Operations: ['64-25=39', '39-14=25']
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,41 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Moving to Node #0,1,3
Current State: 41:[50, 64], Operations: ['64-14=50', '25+39=64']
Exploring Operation: 50*64=3200, Resulting Numbers: [3200]
3200,41 unequal: No Solution
Exploring Operation: 50+64=114, Resulting Numbers: [114]
114,41 unequal: No Solution
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[39, 75], Operations: ['64-14=50', '25+50=75']
Exploring Operation: 39*75=2925, Resulting Numbers: [2925]
2925,41 unequal: No Solution
Exploring Operation: 75-39=36, Resulting Numbers: [36]
36,41 unequal: No Solution
Exploring Operation: 39+75=114, Resulting Numbers: [114]
114,41 unequal: No Solution
Moving to Node #0,3,0
Current State: 41:[64, 28], Operations: ['39+14=53', '53-25=28']
Exploring Operation: 64*28=1792, Resulting Numbers: [1792]
1792,41 unequal: No Solution
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,41 unequal: No Solution
Exploring Operation: 64+28=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[50, 14], Operations: ['64-14=50', '39-25=14']
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,41 unequal: No Solution
Exploring Operation: 50+14=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 50*14=700, Resulting Numbers: [700]
700,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[39, 2], Operations: ['64-14=50', '50/25=2']
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[25, 39, 14, 64], Operations: []
Exploring Operation: 64-14=50, Resulting Numbers: [25, 39, 50]
Generated Node #0,1: 41:[25, 39, 50] Operation: 64-14=50
Moving to Node #0,1
Current State: 41:[25, 39, 50], Operations: ['64-14=50']
Exploring Operation: 50/25=2, Resulting Numbers: [39, 2]
Generated Node #0,1,1: 41:[39, 2] Operation: 50/25=2
Moving to Node #0,1,1
Current State: 41:[39, 2], Operations: ['64-14=50', '50/25=2']
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 0.916667 | hs_5 | sum_heuristic |
[
11,
23,
74,
10
] | 77 | [
"23+10=33",
"33/11=3",
"74+3=77"
] | Current State: 77:[11, 23, 74, 10], Operations: []
Exploring Operation: 23+10=33, Resulting Numbers: [11, 74, 33]
Generated Node #2: [11, 74, 33] from Operation: 23+10=33
Current State: 77:[11, 74, 33], Operations: ['23+10=33']
Exploring Operation: 33/11=3, Resulting Numbers: [74, 3]
Generated Node #3: [74, 3] from Operation: 33/11=3
Current State: 77:[74, 3], Operations: ['23+10=33', '33/11=3']
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[11, 23, 74, 10], Operations: []
Exploring Operation: 23-11=12, Resulting Numbers: [74, 10, 12]
Generated Node #0,0: 77:[74, 10, 12] Operation: 23-11=12
Moving to Node #0,0
Current State: 77:[74, 10, 12], Operations: ['23-11=12']
Exploring Operation: 74+10=84, Resulting Numbers: [12, 84]
Generated Node #0,0,0: 77:[12, 84] Operation: 74+10=84
Moving to Node #0,0,0
Current State: 77:[12, 84], Operations: ['23-11=12', '74+10=84']
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,77 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
3,
81,
64,
38
] | 24 | [
"81-3=78",
"64+38=102",
"102-78=24"
] | Current State: 24:[3, 81, 64, 38], Operations: []
Exploring Operation: 81-3=78, Resulting Numbers: [64, 38, 78]
Generated Node #2: [64, 38, 78] from Operation: 81-3=78
Current State: 24:[64, 38, 78], Operations: ['81-3=78']
Exploring Operation: 64+38=102, Resulting Numbers: [78, 102]
Generated Node #3: [78, 102] from Operation: 64+38=102
Current State: 24:[78, 102], Operations: ['81-3=78', '64+38=102']
Exploring Operation: 102-78=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[3, 81, 64, 38], Operations: []
Exploring Operation: 81-38=43, Resulting Numbers: [3, 64, 43]
Generated Node #0,0: 24:[3, 64, 43] Operation: 81-38=43
Exploring Operation: 81-64=17, Resulting Numbers: [3, 38, 17]
Generated Node #0,1: 24:[3, 38, 17] Operation: 81-64=17
Exploring Operation: 64-38=26, Resulting Numbers: [3, 81, 26]
Generated Node #0,2: 24:[3, 81, 26] Operation: 64-38=26
Exploring Operation: 81/3=27, Resulting Numbers: [64, 38, 27]
Generated Node #0,3: 24:[64, 38, 27] Operation: 81/3=27
Moving to Node #0,1
Current State: 24:[3, 38, 17], Operations: ['81-64=17']
Exploring Operation: 38-3=35, Resulting Numbers: [17, 35]
Generated Node #0,1,0: 24:[17, 35] Operation: 38-3=35
Exploring Operation: 17-3=14, Resulting Numbers: [38, 14]
Generated Node #0,1,1: 24:[38, 14] Operation: 17-3=14
Exploring Operation: 3+17=20, Resulting Numbers: [38, 20]
Generated Node #0,1,2: 24:[38, 20] Operation: 3+17=20
Exploring Operation: 38-17=21, Resulting Numbers: [3, 21]
Generated Node #0,1,3: 24:[3, 21] Operation: 38-17=21
Moving to Node #0,3
Current State: 24:[64, 38, 27], Operations: ['81/3=27']
Exploring Operation: 64-27=37, Resulting Numbers: [38, 37]
Generated Node #0,3,0: 24:[38, 37] Operation: 64-27=37
Exploring Operation: 38-27=11, Resulting Numbers: [64, 11]
Generated Node #0,3,1: 24:[64, 11] Operation: 38-27=11
Exploring Operation: 64-38=26, Resulting Numbers: [27, 26]
Generated Node #0,3,2: 24:[27, 26] Operation: 64-38=26
Exploring Operation: 64+38=102, Resulting Numbers: [27, 102]
Generated Node #0,3,3: 24:[27, 102] Operation: 64+38=102
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 24:[27, 26], Operations: ['81/3=27', '64-38=26']
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 24:[38, 37], Operations: ['81/3=27', '64-27=37']
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 38*37=1406, Resulting Numbers: [1406]
1406,24 unequal: No Solution
Exploring Operation: 38+37=75, Resulting Numbers: [75]
75,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 24:[64, 11], Operations: ['81/3=27', '38-27=11']
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 64*11=704, Resulting Numbers: [704]
704,24 unequal: No Solution
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 24:[27, 102], Operations: ['81/3=27', '64+38=102']
Exploring Operation: 102-27=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 27+102=129, Resulting Numbers: [129]
129,24 unequal: No Solution
Exploring Operation: 27*102=2754, Resulting Numbers: [2754]
2754,24 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: 24:[3, 81, 26], Operations: ['64-38=26']
Exploring Operation: 81/3=27, Resulting Numbers: [26, 27]
Generated Node #0,2,0: 24:[26, 27] Operation: 81/3=27
Exploring Operation: 81-26=55, Resulting Numbers: [3, 55]
Generated Node #0,2,1: 24:[3, 55] Operation: 81-26=55
Exploring Operation: 26-3=23, Resulting Numbers: [81, 23]
Generated Node #0,2,2: 24:[81, 23] Operation: 26-3=23
Exploring Operation: 81-3=78, Resulting Numbers: [26, 78]
Generated Node #0,2,3: 24:[26, 78] Operation: 81-3=78
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 24:[26, 27], Operations: ['64-38=26', '81/3=27']
Exploring Operation: 26+27=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 26*27=702, Resulting Numbers: [702]
702,24 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 24:[3, 55], Operations: ['64-38=26', '81-26=55']
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,24 unequal: No Solution
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 24:[26, 78], Operations: ['64-38=26', '81-3=78']
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,24 unequal: No Solution
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 26+78=104, Resulting Numbers: [104]
104,24 unequal: No Solution
Exploring Operation: 26*78=2028, Resulting Numbers: [2028]
2028,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 24:[81, 23], Operations: ['64-38=26', '26-3=23']
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,24 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,24 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: 24:[3, 64, 43], Operations: ['81-38=43']
Exploring Operation: 64-43=21, Resulting Numbers: [3, 21]
Generated Node #0,0,0: 24:[3, 21] Operation: 64-43=21
Exploring Operation: 3+64=67, Resulting Numbers: [43, 67]
Generated Node #0,0,1: 24:[43, 67] Operation: 3+64=67
Exploring Operation: 64-3=61, Resulting Numbers: [43, 61]
Generated Node #0,0,2: 24:[43, 61] Operation: 64-3=61
Exploring Operation: 43-3=40, Resulting Numbers: [64, 40]
Generated Node #0,0,3: 24:[64, 40] Operation: 43-3=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[3, 21], Operations: ['81-38=43', '64-43=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[3, 81, 64, 38], Operations: []
Exploring Operation: 81-38=43, Resulting Numbers: [3, 64, 43]
Generated Node #0,0: 24:[3, 64, 43] Operation: 81-38=43
Moving to Node #0,0
Current State: 24:[3, 64, 43], Operations: ['81-38=43']
Exploring Operation: 64-43=21, Resulting Numbers: [3, 21]
Generated Node #0,0,0: 24:[3, 21] Operation: 64-43=21
Moving to Node #0,0,0
Current State: 24:[3, 21], Operations: ['81-38=43', '64-43=21']
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.955729 | hs_4 | sum_heuristic |
[
98,
34,
68,
16
] | 80 | [
"98+34=132",
"68-16=52",
"132-52=80"
] | Current State: 80:[98, 34, 68, 16], Operations: []
Exploring Operation: 98+34=132, Resulting Numbers: [68, 16, 132]
Generated Node #2: [68, 16, 132] from Operation: 98+34=132
Current State: 80:[68, 16, 132], Operations: ['98+34=132']
Exploring Operation: 68-16=52, Resulting Numbers: [132, 52]
Generated Node #3: [132, 52] from Operation: 68-16=52
Current State: 80:[132, 52], Operations: ['98+34=132', '68-16=52']
Exploring Operation: 132-52=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[98, 34, 68, 16], Operations: []
Exploring Operation: 98-68=30, Resulting Numbers: [34, 16, 30]
Generated Node #0,0: 80:[34, 16, 30] Operation: 98-68=30
Moving to Node #0,0
Current State: 80:[34, 16, 30], Operations: ['98-68=30']
Exploring Operation: 34-30=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 80:[16, 4] Operation: 34-30=4
Moving to Node #0,0,0
Current State: 80:[16, 4], Operations: ['98-68=30', '34-30=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,80 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
11,
4,
18
] | 28 | [
"18-2=16",
"11*4=44",
"44-16=28"
] | Current State: 28:[2, 11, 4, 18], Operations: []
Exploring Operation: 18-2=16, Resulting Numbers: [11, 4, 16]
Generated Node #2: [11, 4, 16] from Operation: 18-2=16
Current State: 28:[11, 4, 16], Operations: ['18-2=16']
Exploring Operation: 11*4=44, Resulting Numbers: [16, 44]
Generated Node #3: [16, 44] from Operation: 11*4=44
Current State: 28:[16, 44], Operations: ['18-2=16', '11*4=44']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[2, 11, 4, 18], Operations: []
Exploring Operation: 11+18=29, Resulting Numbers: [2, 4, 29]
Generated Node #0,0: 28:[2, 4, 29] Operation: 11+18=29
Exploring Operation: 18-4=14, Resulting Numbers: [2, 11, 14]
Generated Node #0,1: 28:[2, 11, 14] Operation: 18-4=14
Exploring Operation: 18-11=7, Resulting Numbers: [2, 4, 7]
Generated Node #0,2: 28:[2, 4, 7] Operation: 18-11=7
Exploring Operation: 11-4=7, Resulting Numbers: [2, 18, 7]
Generated Node #0,3: 28:[2, 18, 7] Operation: 11-4=7
Moving to Node #0,2
Current State: 28:[2, 4, 7], Operations: ['18-11=7']
Exploring Operation: 4/2=2, Resulting Numbers: [7, 2]
Generated Node #0,2,0: 28:[7, 2] Operation: 4/2=2
Exploring Operation: 4*7=28, Resulting Numbers: [2, 28]
Generated Node #0,2,1: 28:[2, 28] Operation: 4*7=28
Exploring Operation: 4-2=2, Resulting Numbers: [7, 2]
Generated Node #0,2,2: 28:[7, 2] Operation: 4-2=2
Exploring Operation: 2*7=14, Resulting Numbers: [4, 14]
Generated Node #0,2,3: 28:[4, 14] Operation: 2*7=14
Moving to Node #0,0
Current State: 28:[2, 4, 29], Operations: ['11+18=29']
Exploring Operation: 4/2=2, Resulting Numbers: [29, 2]
Generated Node #0,0,0: 28:[29, 2] Operation: 4/2=2
Exploring Operation: 2+4=6, Resulting Numbers: [29, 6]
Generated Node #0,0,1: 28:[29, 6] Operation: 2+4=6
Exploring Operation: 29-2=27, Resulting Numbers: [4, 27]
Generated Node #0,0,2: 28:[4, 27] Operation: 29-2=27
Exploring Operation: 4-2=2, Resulting Numbers: [29, 2]
Generated Node #0,0,3: 28:[29, 2] Operation: 4-2=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[29, 2], Operations: ['11+18=29', '4/2=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,28 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,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,0,2
Current State: 28:[4, 27], Operations: ['11+18=29', '29-2=27']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,28 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,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,0,3
Current State: 28:[29, 2], Operations: ['11+18=29', '4-2=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,28 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,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,0,1
Current State: 28:[29, 6], Operations: ['11+18=29', '2+4=6']
Exploring Operation: 29*6=174, Resulting Numbers: [174]
174,28 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,28 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: 28:[2, 11, 14], Operations: ['18-4=14']
Exploring Operation: 2*14=28, Resulting Numbers: [11, 28]
Generated Node #0,1,0: 28:[11, 28] Operation: 2*14=28
Exploring Operation: 2+11=13, Resulting Numbers: [14, 13]
Generated Node #0,1,1: 28:[14, 13] Operation: 2+11=13
Exploring Operation: 14-11=3, Resulting Numbers: [2, 3]
Generated Node #0,1,2: 28:[2, 3] Operation: 14-11=3
Exploring Operation: 11-2=9, Resulting Numbers: [14, 9]
Generated Node #0,1,3: 28:[14, 9] Operation: 11-2=9
Moving to Node #0,3
Current State: 28:[2, 18, 7], Operations: ['11-4=7']
Exploring Operation: 18+7=25, Resulting Numbers: [2, 25]
Generated Node #0,3,0: 28:[2, 25] Operation: 18+7=25
Exploring Operation: 18-2=16, Resulting Numbers: [7, 16]
Generated Node #0,3,1: 28:[7, 16] Operation: 18-2=16
Exploring Operation: 18-7=11, Resulting Numbers: [2, 11]
Generated Node #0,3,2: 28:[2, 11] Operation: 18-7=11
Exploring Operation: 18/2=9, Resulting Numbers: [7, 9]
Generated Node #0,3,3: 28:[7, 9] Operation: 18/2=9
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 28:[7, 16], Operations: ['11-4=7', '18-2=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,28 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,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,3,3
Current State: 28:[7, 9], Operations: ['11-4=7', '18/2=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,28 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,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,3,0
Current State: 28:[2, 25], Operations: ['11-4=7', '18+7=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,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,3,2
Current State: 28:[2, 11], Operations: ['11-4=7', '18-7=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,28 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,28 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: 28:[7, 2], Operations: ['18-11=7', '4/2=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,28 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[7, 2], Operations: ['18-11=7', '4-2=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,28 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[2, 28], Operations: ['18-11=7', '4*7=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,28 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Moving to Node #0,2,3
Current State: 28:[4, 14], Operations: ['18-11=7', '2*7=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[2, 3], Operations: ['18-4=14', '14-11=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[14, 13], Operations: ['18-4=14', '2+11=13']
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,28 unequal: No Solution
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Moving to Node #0,1,3
Current State: 28:[14, 9], Operations: ['18-4=14', '11-2=9']
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Exploring Operation: 14*9=126, Resulting Numbers: [126]
126,28 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Moving to Node #0,1,0
Current State: 28:[11, 28], Operations: ['18-4=14', '2*14=28']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 11+28=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Exploring Operation: 11*28=308, Resulting Numbers: [308]
308,28 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
25,
20,
58,
96
] | 62 | [
"25*96=2400",
"2400/20=120",
"120-58=62"
] | Current State: 62:[25, 20, 58, 96], Operations: []
Exploring Operation: 25*96=2400, Resulting Numbers: [20, 58, 2400]
Generated Node #2: [20, 58, 2400] from Operation: 25*96=2400
Current State: 62:[20, 58, 2400], Operations: ['25*96=2400']
Exploring Operation: 2400/20=120, Resulting Numbers: [58, 120]
Generated Node #3: [58, 120] from Operation: 2400/20=120
Current State: 62:[58, 120], Operations: ['25*96=2400', '2400/20=120']
Exploring Operation: 120-58=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[25, 20, 58, 96], Operations: []
Exploring Operation: 96-25=71, Resulting Numbers: [20, 58, 71]
Generated Node #0,0: 62:[20, 58, 71] Operation: 96-25=71
Exploring Operation: 96-58=38, Resulting Numbers: [25, 20, 38]
Generated Node #0,1: 62:[25, 20, 38] Operation: 96-58=38
Exploring Operation: 25-20=5, Resulting Numbers: [58, 96, 5]
Generated Node #0,2: 62:[58, 96, 5] Operation: 25-20=5
Exploring Operation: 96-20=76, Resulting Numbers: [25, 58, 76]
Generated Node #0,3: 62:[25, 58, 76] Operation: 96-20=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[20, 58, 71], Operations: ['96-25=71']
Exploring Operation: 71-20=51, Resulting Numbers: [58, 51]
Generated Node #0,0,0: 62:[58, 51] Operation: 71-20=51
Exploring Operation: 58-20=38, Resulting Numbers: [71, 38]
Generated Node #0,0,1: 62:[71, 38] Operation: 58-20=38
Exploring Operation: 20+58=78, Resulting Numbers: [71, 78]
Generated Node #0,0,2: 62:[71, 78] Operation: 20+58=78
Exploring Operation: 71-58=13, Resulting Numbers: [20, 13]
Generated Node #0,0,3: 62:[20, 13] Operation: 71-58=13
Moving to Node #0,0,0
Current State: 62:[58, 51], Operations: ['96-25=71', '71-20=51']
Exploring Operation: 58*51=2958, Resulting Numbers: [2958]
2958,62 unequal: No Solution
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 58+51=109, Resulting Numbers: [109]
109,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[71, 38], Operations: ['96-25=71', '58-20=38']
Exploring Operation: 71-38=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 71*38=2698, Resulting Numbers: [2698]
2698,62 unequal: No Solution
Exploring Operation: 71+38=109, Resulting Numbers: [109]
109,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[20, 13], Operations: ['96-25=71', '71-58=13']
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[71, 78], Operations: ['96-25=71', '20+58=78']
Exploring Operation: 71*78=5538, Resulting Numbers: [5538]
5538,62 unequal: No Solution
Exploring Operation: 71+78=149, Resulting Numbers: [149]
149,62 unequal: No Solution
Exploring Operation: 78-71=7, Resulting Numbers: [7]
7,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:[25, 20, 38], Operations: ['96-58=38']
Exploring Operation: 25+38=63, Resulting Numbers: [20, 63]
Generated Node #0,1,0: 62:[20, 63] Operation: 25+38=63
Exploring Operation: 25-20=5, Resulting Numbers: [38, 5]
Generated Node #0,1,1: 62:[38, 5] Operation: 25-20=5
Exploring Operation: 20+38=58, Resulting Numbers: [25, 58]
Generated Node #0,1,2: 62:[25, 58] Operation: 20+38=58
Exploring Operation: 38-20=18, Resulting Numbers: [25, 18]
Generated Node #0,1,3: 62:[25, 18] Operation: 38-20=18
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 62:[38, 5], Operations: ['96-58=38', '25-20=5']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 38*5=190, Resulting Numbers: [190]
190,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:[25, 58], Operations: ['96-58=38', '20+38=58']
Exploring Operation: 25+58=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Exploring Operation: 25*58=1450, Resulting Numbers: [1450]
1450,62 unequal: No Solution
Exploring Operation: 58-25=33, Resulting Numbers: [33]
33,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,0
Current State: 62:[20, 63], Operations: ['96-58=38', '25+38=63']
Exploring Operation: 20*63=1260, Resulting Numbers: [1260]
1260,62 unequal: No Solution
Exploring Operation: 20+63=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,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:[25, 18], Operations: ['96-58=38', '38-20=18']
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 25*18=450, Resulting Numbers: [450]
450,62 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,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,3
Current State: 62:[25, 58, 76], Operations: ['96-20=76']
Exploring Operation: 76-25=51, Resulting Numbers: [58, 51]
Generated Node #0,3,0: 62:[58, 51] Operation: 76-25=51
Exploring Operation: 25+58=83, Resulting Numbers: [76, 83]
Generated Node #0,3,1: 62:[76, 83] Operation: 25+58=83
Exploring Operation: 76-58=18, Resulting Numbers: [25, 18]
Generated Node #0,3,2: 62:[25, 18] Operation: 76-58=18
Exploring Operation: 58-25=33, Resulting Numbers: [76, 33]
Generated Node #0,3,3: 62:[76, 33] Operation: 58-25=33
Moving to Node #0,3,0
Current State: 62:[58, 51], Operations: ['96-20=76', '76-25=51']
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 58+51=109, Resulting Numbers: [109]
109,62 unequal: No Solution
Exploring Operation: 58*51=2958, Resulting Numbers: [2958]
2958,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[76, 33], Operations: ['96-20=76', '58-25=33']
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 76+33=109, Resulting Numbers: [109]
109,62 unequal: No Solution
Exploring Operation: 76*33=2508, Resulting Numbers: [2508]
2508,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[25, 18], Operations: ['96-20=76', '76-58=18']
Exploring Operation: 25*18=450, Resulting Numbers: [450]
450,62 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Moving to Node #0,3,1
Current State: 62:[76, 83], Operations: ['96-20=76', '25+58=83']
Exploring Operation: 76*83=6308, Resulting Numbers: [6308]
6308,62 unequal: No Solution
Exploring Operation: 76+83=159, Resulting Numbers: [159]
159,62 unequal: No Solution
Exploring Operation: 83-76=7, Resulting Numbers: [7]
7,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,2
Current State: 62:[58, 96, 5], Operations: ['25-20=5']
Exploring Operation: 58+5=63, Resulting Numbers: [96, 63]
Generated Node #0,2,0: 62:[96, 63] Operation: 58+5=63
Exploring Operation: 96-5=91, Resulting Numbers: [58, 91]
Generated Node #0,2,1: 62:[58, 91] Operation: 96-5=91
Exploring Operation: 96-58=38, Resulting Numbers: [5, 38]
Generated Node #0,2,2: 62:[5, 38] Operation: 96-58=38
Exploring Operation: 58-5=53, Resulting Numbers: [96, 53]
Generated Node #0,2,3: 62:[96, 53] Operation: 58-5=53
Moving to Node #0,2,2
Current State: 62:[5, 38], Operations: ['25-20=5', '96-58=38']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[58, 91], Operations: ['25-20=5', '96-5=91']
Exploring Operation: 91-58=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 58+91=149, Resulting Numbers: [149]
149,62 unequal: No Solution
Exploring Operation: 58*91=5278, Resulting Numbers: [5278]
5278,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[96, 63], Operations: ['25-20=5', '58+5=63']
Exploring Operation: 96*63=6048, Resulting Numbers: [6048]
6048,62 unequal: No Solution
Exploring Operation: 96+63=159, Resulting Numbers: [159]
159,62 unequal: No Solution
Exploring Operation: 96-63=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Moving to Node #0,2,3
Current State: 62:[96, 53], Operations: ['25-20=5', '58-5=53']
Exploring Operation: 96*53=5088, Resulting Numbers: [5088]
5088,62 unequal: No Solution
Exploring Operation: 96+53=149, Resulting Numbers: [149]
149,62 unequal: No Solution
Exploring Operation: 96-53=43, Resulting Numbers: [43]
43,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
9,
18,
43,
2
] | 86 | [
"9+43=52",
"2*52=104",
"104-18=86"
] | Current State: 86:[9, 18, 43, 2], Operations: []
Exploring Operation: 9+43=52, Resulting Numbers: [18, 2, 52]
Generated Node #2: [18, 2, 52] from Operation: 9+43=52
Current State: 86:[18, 2, 52], Operations: ['9+43=52']
Exploring Operation: 2*52=104, Resulting Numbers: [18, 104]
Generated Node #3: [18, 104] from Operation: 2*52=104
Current State: 86:[18, 104], Operations: ['9+43=52', '2*52=104']
Exploring Operation: 104-18=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[9, 18, 43, 2], Operations: []
Exploring Operation: 18*2=36, Resulting Numbers: [9, 43, 36]
Generated Node #0,0: 86:[9, 43, 36] Operation: 18*2=36
Exploring Operation: 18/2=9, Resulting Numbers: [9, 43, 9]
Generated Node #0,1: 86:[9, 43, 9] Operation: 18/2=9
Exploring Operation: 18-9=9, Resulting Numbers: [43, 2, 9]
Generated Node #0,2: 86:[43, 2, 9] Operation: 18-9=9
Exploring Operation: 18/9=2, Resulting Numbers: [43, 2, 2]
Generated Node #0,3: 86:[43, 2, 2] Operation: 18/9=2
Exploring Operation: 9+18=27, Resulting Numbers: [43, 2, 27]
Generated Node #0,4: 86:[43, 2, 27] Operation: 9+18=27
Moving to Node #0,3
Current State: 86:[43, 2, 2], Operations: ['18/9=2']
Exploring Operation: 43-2=41, Resulting Numbers: [2, 41]
Generated Node #0,3,0: 86:[2, 41] Operation: 43-2=41
Exploring Operation: 43+2=45, Resulting Numbers: [2, 45]
Generated Node #0,3,1: 86:[2, 45] Operation: 43+2=45
Exploring Operation: 43*2=86, Resulting Numbers: [2, 86]
Generated Node #0,3,2: 86:[2, 86] Operation: 43*2=86
Exploring Operation: 43*2=86, Resulting Numbers: [2, 86]
Generated Node #0,3,3: 86:[2, 86] Operation: 43*2=86
Exploring Operation: 2/2=1, Resulting Numbers: [43, 1]
Generated Node #0,3,4: 86:[43, 1] Operation: 2/2=1
Moving to Node #0,2
Current State: 86:[43, 2, 9], Operations: ['18-9=9']
Exploring Operation: 43-2=41, Resulting Numbers: [9, 41]
Generated Node #0,2,0: 86:[9, 41] Operation: 43-2=41
Exploring Operation: 9-2=7, Resulting Numbers: [43, 7]
Generated Node #0,2,1: 86:[43, 7] Operation: 9-2=7
Exploring Operation: 43*2=86, Resulting Numbers: [9, 86]
Generated Node #0,2,2: 86:[9, 86] Operation: 43*2=86
Exploring Operation: 43+2=45, Resulting Numbers: [9, 45]
Generated Node #0,2,3: 86:[9, 45] Operation: 43+2=45
Exploring Operation: 43+9=52, Resulting Numbers: [2, 52]
Generated Node #0,2,4: 86:[2, 52] Operation: 43+9=52
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[43, 7], Operations: ['18-9=9', '9-2=7']
Exploring Operation: 43*7=301, Resulting Numbers: [301]
301,86 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 43+7=50, Resulting Numbers: [50]
50,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,2,2
Current State: 86:[9, 86], Operations: ['18-9=9', '43*2=86']
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,86 unequal: No Solution
Exploring Operation: 9+86=95, Resulting Numbers: [95]
95,86 unequal: No Solution
Exploring Operation: 9*86=774, Resulting Numbers: [774]
774,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,2,0
Current State: 86:[9, 41], Operations: ['18-9=9', '43-2=41']
Exploring Operation: 9*41=369, Resulting Numbers: [369]
369,86 unequal: No Solution
Exploring Operation: 9+41=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,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,2,3
Current State: 86:[9, 45], Operations: ['18-9=9', '43+2=45']
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,86 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 9*45=405, Resulting Numbers: [405]
405,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,2,4
Current State: 86:[2, 52], Operations: ['18-9=9', '43+9=52']
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,86 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,86 unequal: No Solution
Exploring Operation: 2*52=104, Resulting Numbers: [104]
104,86 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,86 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: 86:[9, 43, 36], Operations: ['18*2=36']
Exploring Operation: 36/9=4, Resulting Numbers: [43, 4]
Generated Node #0,0,0: 86:[43, 4] Operation: 36/9=4
Exploring Operation: 43-36=7, Resulting Numbers: [9, 7]
Generated Node #0,0,1: 86:[9, 7] Operation: 43-36=7
Exploring Operation: 9+36=45, Resulting Numbers: [43, 45]
Generated Node #0,0,2: 86:[43, 45] Operation: 9+36=45
Exploring Operation: 43+36=79, Resulting Numbers: [9, 79]
Generated Node #0,0,3: 86:[9, 79] Operation: 43+36=79
Exploring Operation: 9+43=52, Resulting Numbers: [36, 52]
Generated Node #0,0,4: 86:[36, 52] Operation: 9+43=52
Moving to Node #0,1
Current State: 86:[9, 43, 9], Operations: ['18/2=9']
Exploring Operation: 43-9=34, Resulting Numbers: [9, 34]
Generated Node #0,1,0: 86:[9, 34] Operation: 43-9=34
Exploring Operation: 9*9=81, Resulting Numbers: [43, 81]
Generated Node #0,1,1: 86:[43, 81] Operation: 9*9=81
Exploring Operation: 9-9=0, Resulting Numbers: [43, 0]
Generated Node #0,1,2: 86:[43, 0] Operation: 9-9=0
Exploring Operation: 9+43=52, Resulting Numbers: [9, 52]
Generated Node #0,1,3: 86:[9, 52] Operation: 9+43=52
Exploring Operation: 9/9=1, Resulting Numbers: [43, 1]
Generated Node #0,1,4: 86:[43, 1] Operation: 9/9=1
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 86:[43, 1], Operations: ['18/2=9', '9/9=1']
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 43+1=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,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,1,2
Current State: 86:[43, 0], Operations: ['18/2=9', '9-9=0']
Exploring Operation: 43-0=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 43*0=0, Resulting Numbers: [0]
0,86 unequal: No Solution
Exploring Operation: 43+0=43, Resulting Numbers: [43]
43,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,1,1
Current State: 86:[43, 81], Operations: ['18/2=9', '9*9=81']
Exploring Operation: 43+81=124, Resulting Numbers: [124]
124,86 unequal: No Solution
Exploring Operation: 81-43=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Exploring Operation: 43*81=3483, Resulting Numbers: [3483]
3483,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,1,0
Current State: 86:[9, 34], Operations: ['18/2=9', '43-9=34']
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,86 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,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,1,3
Current State: 86:[9, 52], Operations: ['18/2=9', '9+43=52']
Exploring Operation: 9+52=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 9*52=468, Resulting Numbers: [468]
468,86 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: 86:[43, 2, 27], Operations: ['9+18=27']
Exploring Operation: 2+27=29, Resulting Numbers: [43, 29]
Generated Node #0,4,0: 86:[43, 29] Operation: 2+27=29
Exploring Operation: 43*2=86, Resulting Numbers: [27, 86]
Generated Node #0,4,1: 86:[27, 86] Operation: 43*2=86
Exploring Operation: 43-27=16, Resulting Numbers: [2, 16]
Generated Node #0,4,2: 86:[2, 16] Operation: 43-27=16
Exploring Operation: 43+27=70, Resulting Numbers: [2, 70]
Generated Node #0,4,3: 86:[2, 70] Operation: 43+27=70
Exploring Operation: 2*27=54, Resulting Numbers: [43, 54]
Generated Node #0,4,4: 86:[43, 54] Operation: 2*27=54
Moving to Node #0,3,2
Current State: 86:[2, 86], Operations: ['18/9=2', '43*2=86']
Exploring Operation: 2*86=172, Resulting Numbers: [172]
172,86 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,86 unequal: No Solution
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[2, 86], Operations: ['18/9=2', '43*2=86']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,86 unequal: No Solution
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,86 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 2*86=172, Resulting Numbers: [172]
172,86 unequal: No Solution
Moving to Node #0,3,4
Current State: 86:[43, 1], Operations: ['18/9=2', '2/2=1']
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 43+1=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[43, 45], Operations: ['18*2=36', '9+36=45']
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 43*45=1935, Resulting Numbers: [1935]
1935,86 unequal: No Solution
Exploring Operation: 43+45=88, Resulting Numbers: [88]
88,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[43, 4], Operations: ['18*2=36', '36/9=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,86 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Moving to Node #0,3,1
Current State: 86:[2, 45], Operations: ['18/9=2', '43+2=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,86 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[2, 41], Operations: ['18/9=2', '43-2=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,86 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Moving to Node #0,4,4
Current State: 86:[43, 54], Operations: ['9+18=27', '2*27=54']
Exploring Operation: 43+54=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Exploring Operation: 43*54=2322, Resulting Numbers: [2322]
2322,86 unequal: No Solution
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[9, 7], Operations: ['18*2=36', '43-36=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,86 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,86 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Moving to Node #0,4,0
Current State: 86:[43, 29], Operations: ['9+18=27', '2+27=29']
Exploring Operation: 43*29=1247, Resulting Numbers: [1247]
1247,86 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Exploring Operation: 43+29=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Moving to Node #0,4,2
Current State: 86:[2, 16], Operations: ['9+18=27', '43-27=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,86 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,86 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,86 unequal: No Solution
Moving to Node #0,0,3
Current State: 86:[9, 79], Operations: ['18*2=36', '43+36=79']
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,86 unequal: No Solution
Exploring Operation: 9+79=88, Resulting Numbers: [88]
88,86 unequal: No Solution
Exploring Operation: 9*79=711, Resulting Numbers: [711]
711,86 unequal: No Solution
Moving to Node #0,4,1
Current State: 86:[27, 86], Operations: ['9+18=27', '43*2=86']
Exploring Operation: 27*86=2322, Resulting Numbers: [2322]
2322,86 unequal: No Solution
Exploring Operation: 86-27=59, Resulting Numbers: [59]
59,86 unequal: No Solution
Exploring Operation: 27+86=113, Resulting Numbers: [113]
113,86 unequal: No Solution
Moving to Node #0,4,3
Current State: 86:[2, 70], Operations: ['9+18=27', '43+27=70']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,86 unequal: No Solution
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Exploring Operation: 2*70=140, Resulting Numbers: [140]
140,86 unequal: No Solution
Moving to Node #0,0,4
Current State: 86:[36, 52], Operations: ['18*2=36', '9+43=52']
Exploring Operation: 36*52=1872, Resulting Numbers: [1872]
1872,86 unequal: No Solution
Exploring Operation: 36+52=88, Resulting Numbers: [88]
88,86 unequal: No Solution
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,86 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
8,
72,
34,
80
] | 53 | [
"72+80=152",
"152/8=19",
"34+19=53"
] | Current State: 53:[8, 72, 34, 80], Operations: []
Exploring Operation: 72+80=152, Resulting Numbers: [8, 34, 152]
Generated Node #2: [8, 34, 152] from Operation: 72+80=152
Current State: 53:[8, 34, 152], Operations: ['72+80=152']
Exploring Operation: 152/8=19, Resulting Numbers: [34, 19]
Generated Node #3: [34, 19] from Operation: 152/8=19
Current State: 53:[34, 19], Operations: ['72+80=152', '152/8=19']
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[8, 72, 34, 80], Operations: []
Exploring Operation: 8+34=42, Resulting Numbers: [72, 80, 42]
Generated Node #0,0: 53:[72, 80, 42] Operation: 8+34=42
Exploring Operation: 72-8=64, Resulting Numbers: [34, 80, 64]
Generated Node #0,1: 53:[34, 80, 64] Operation: 72-8=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[72, 80, 42], Operations: ['8+34=42']
Exploring Operation: 72-42=30, Resulting Numbers: [80, 30]
Generated Node #0,0,0: 53:[80, 30] Operation: 72-42=30
Exploring Operation: 80-42=38, Resulting Numbers: [72, 38]
Generated Node #0,0,1: 53:[72, 38] Operation: 80-42=38
Moving to Node #0,0,1
Current State: 53:[72, 38], Operations: ['8+34=42', '80-42=38']
Exploring Operation: 72-38=34, Resulting Numbers: [34]
34,53 unequal: No Solution
Exploring Operation: 72+38=110, Resulting Numbers: [110]
110,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[80, 30], Operations: ['8+34=42', '72-42=30']
Exploring Operation: 80+30=110, Resulting Numbers: [110]
110,53 unequal: No Solution
Exploring Operation: 80-30=50, Resulting Numbers: [50]
50,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:[34, 80, 64], Operations: ['72-8=64']
Exploring Operation: 80-34=46, Resulting Numbers: [64, 46]
Generated Node #0,1,0: 53:[64, 46] Operation: 80-34=46
Exploring Operation: 64-34=30, Resulting Numbers: [80, 30]
Generated Node #0,1,1: 53:[80, 30] Operation: 64-34=30
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[64, 46], Operations: ['72-8=64', '80-34=46']
Exploring Operation: 64+46=110, Resulting Numbers: [110]
110,53 unequal: No Solution
Exploring Operation: 64-46=18, Resulting Numbers: [18]
18,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,1
Current State: 53:[80, 30], Operations: ['72-8=64', '64-34=30']
Exploring Operation: 80-30=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 80+30=110, Resulting Numbers: [110]
110,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
38,
83,
52,
26
] | 95 | [
"38+83=121",
"52-26=26",
"121-26=95"
] | Current State: 95:[38, 83, 52, 26], Operations: []
Exploring Operation: 38+83=121, Resulting Numbers: [52, 26, 121]
Generated Node #2: [52, 26, 121] from Operation: 38+83=121
Current State: 95:[52, 26, 121], Operations: ['38+83=121']
Exploring Operation: 52-26=26, Resulting Numbers: [121, 26]
Generated Node #3: [121, 26] from Operation: 52-26=26
Current State: 95:[121, 26], Operations: ['38+83=121', '52-26=26']
Exploring Operation: 121-26=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[38, 83, 52, 26], Operations: []
Exploring Operation: 38+52=90, Resulting Numbers: [83, 26, 90]
Generated Node #0,0: 95:[83, 26, 90] Operation: 38+52=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[83, 26, 90], Operations: ['38+52=90']
Exploring Operation: 90-83=7, Resulting Numbers: [26, 7]
Generated Node #0,0,0: 95:[26, 7] Operation: 90-83=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[26, 7], Operations: ['38+52=90', '90-83=7']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
65,
15,
91,
47
] | 26 | [
"15*91=1365",
"1365/65=21",
"47-21=26"
] | Current State: 26:[65, 15, 91, 47], Operations: []
Exploring Operation: 15*91=1365, Resulting Numbers: [65, 47, 1365]
Generated Node #2: [65, 47, 1365] from Operation: 15*91=1365
Current State: 26:[65, 47, 1365], Operations: ['15*91=1365']
Exploring Operation: 1365/65=21, Resulting Numbers: [47, 21]
Generated Node #3: [47, 21] from Operation: 1365/65=21
Current State: 26:[47, 21], Operations: ['15*91=1365', '1365/65=21']
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[65, 15, 91, 47], Operations: []
Exploring Operation: 91-65=26, Resulting Numbers: [15, 47, 26]
Generated Node #0,0: 26:[15, 47, 26] Operation: 91-65=26
Exploring Operation: 91-47=44, Resulting Numbers: [65, 15, 44]
Generated Node #0,1: 26:[65, 15, 44] Operation: 91-47=44
Moving to Node #0,0
Current State: 26:[15, 47, 26], Operations: ['91-65=26']
Exploring Operation: 47-26=21, Resulting Numbers: [15, 21]
Generated Node #0,0,0: 26:[15, 21] Operation: 47-26=21
Exploring Operation: 47-15=32, Resulting Numbers: [26, 32]
Generated Node #0,0,1: 26:[26, 32] Operation: 47-15=32
Moving to Node #0,1
Current State: 26:[65, 15, 44], Operations: ['91-47=44']
Exploring Operation: 65-44=21, Resulting Numbers: [15, 21]
Generated Node #0,1,0: 26:[15, 21] Operation: 65-44=21
Exploring Operation: 65-15=50, Resulting Numbers: [44, 50]
Generated Node #0,1,1: 26:[44, 50] Operation: 65-15=50
Moving to Node #0,0,1
Current State: 26:[26, 32], Operations: ['91-65=26', '47-15=32']
Exploring Operation: 26+32=58, Resulting Numbers: [58]
58,26 unequal: No Solution
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[15, 21], Operations: ['91-47=44', '65-44=21']
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[15, 21], Operations: ['91-65=26', '47-26=21']
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[44, 50], Operations: ['91-47=44', '65-15=50']
Exploring Operation: 44+50=94, Resulting Numbers: [94]
94,26 unequal: No Solution
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,26 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
36,
35,
80,
97
] | 54 | [
"36+35=71",
"97-80=17",
"71-17=54"
] | Current State: 54:[36, 35, 80, 97], Operations: []
Exploring Operation: 36+35=71, Resulting Numbers: [80, 97, 71]
Generated Node #2: [80, 97, 71] from Operation: 36+35=71
Current State: 54:[80, 97, 71], Operations: ['36+35=71']
Exploring Operation: 97-80=17, Resulting Numbers: [71, 17]
Generated Node #3: [71, 17] from Operation: 97-80=17
Current State: 54:[71, 17], Operations: ['36+35=71', '97-80=17']
Exploring Operation: 71-17=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[36, 35, 80, 97], Operations: []
Exploring Operation: 97-35=62, Resulting Numbers: [36, 80, 62]
Generated Node #0,0: 54:[36, 80, 62] Operation: 97-35=62
Exploring Operation: 80-36=44, Resulting Numbers: [35, 97, 44]
Generated Node #0,1: 54:[35, 97, 44] Operation: 80-36=44
Exploring Operation: 97-36=61, Resulting Numbers: [35, 80, 61]
Generated Node #0,2: 54:[35, 80, 61] Operation: 97-36=61
Exploring Operation: 97-80=17, Resulting Numbers: [36, 35, 17]
Generated Node #0,3: 54:[36, 35, 17] Operation: 97-80=17
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[36, 35, 17], Operations: ['97-80=17']
Exploring Operation: 35-17=18, Resulting Numbers: [36, 18]
Generated Node #0,3,0: 54:[36, 18] Operation: 35-17=18
Exploring Operation: 36-17=19, Resulting Numbers: [35, 19]
Generated Node #0,3,1: 54:[35, 19] Operation: 36-17=19
Exploring Operation: 36-35=1, Resulting Numbers: [17, 1]
Generated Node #0,3,2: 54:[17, 1] Operation: 36-35=1
Exploring Operation: 36+17=53, Resulting Numbers: [35, 53]
Generated Node #0,3,3: 54:[35, 53] Operation: 36+17=53
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 54:[17, 1], Operations: ['97-80=17', '36-35=1']
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 54:[36, 18], Operations: ['97-80=17', '35-17=18']
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[36, 35, 80, 97], Operations: []
Exploring Operation: 97-80=17, Resulting Numbers: [36, 35, 17]
Generated Node #0,3: 54:[36, 35, 17] Operation: 97-80=17
Moving to Node #0,3
Current State: 54:[36, 35, 17], Operations: ['97-80=17']
Exploring Operation: 35-17=18, Resulting Numbers: [36, 18]
Generated Node #0,3,0: 54:[36, 18] Operation: 35-17=18
Moving to Node #0,3,0
Current State: 54:[36, 18], Operations: ['97-80=17', '35-17=18']
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
24,
75,
41,
54
] | 64 | [
"75-24=51",
"54-41=13",
"51+13=64"
] | Current State: 64:[24, 75, 41, 54], Operations: []
Exploring Operation: 75-24=51, Resulting Numbers: [41, 54, 51]
Generated Node #2: [41, 54, 51] from Operation: 75-24=51
Current State: 64:[41, 54, 51], Operations: ['75-24=51']
Exploring Operation: 54-41=13, Resulting Numbers: [51, 13]
Generated Node #3: [51, 13] from Operation: 54-41=13
Current State: 64:[51, 13], Operations: ['75-24=51', '54-41=13']
Exploring Operation: 51+13=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[24, 75, 41, 54], Operations: []
Exploring Operation: 24+41=65, Resulting Numbers: [75, 54, 65]
Generated Node #0,0: 64:[75, 54, 65] Operation: 24+41=65
Exploring Operation: 75-41=34, Resulting Numbers: [24, 54, 34]
Generated Node #0,1: 64:[24, 54, 34] Operation: 75-41=34
Exploring Operation: 41-24=17, Resulting Numbers: [75, 54, 17]
Generated Node #0,2: 64:[75, 54, 17] Operation: 41-24=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[24, 54, 34], Operations: ['75-41=34']
Exploring Operation: 54-34=20, Resulting Numbers: [24, 20]
Generated Node #0,1,0: 64:[24, 20] Operation: 54-34=20
Exploring Operation: 34-24=10, Resulting Numbers: [54, 10]
Generated Node #0,1,1: 64:[54, 10] Operation: 34-24=10
Exploring Operation: 54-24=30, Resulting Numbers: [34, 30]
Generated Node #0,1,2: 64:[34, 30] Operation: 54-24=30
Moving to Node #0,1,2
Current State: 64:[34, 30], Operations: ['75-41=34', '54-24=30']
Exploring Operation: 34*30=1020, Resulting Numbers: [1020]
1020,64 unequal: No Solution
Exploring Operation: 34+30=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[24, 75, 41, 54], Operations: []
Exploring Operation: 75-41=34, Resulting Numbers: [24, 54, 34]
Generated Node #0,1: 64:[24, 54, 34] Operation: 75-41=34
Moving to Node #0,1
Current State: 64:[24, 54, 34], Operations: ['75-41=34']
Exploring Operation: 54-24=30, Resulting Numbers: [34, 30]
Generated Node #0,1,2: 64:[34, 30] Operation: 54-24=30
Moving to Node #0,1,2
Current State: 64:[34, 30], Operations: ['75-41=34', '54-24=30']
Exploring Operation: 34+30=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
27,
86,
90,
76
] | 53 | [
"27+86=113",
"90+76=166",
"166-113=53"
] | Current State: 53:[27, 86, 90, 76], Operations: []
Exploring Operation: 27+86=113, Resulting Numbers: [90, 76, 113]
Generated Node #2: [90, 76, 113] from Operation: 27+86=113
Current State: 53:[90, 76, 113], Operations: ['27+86=113']
Exploring Operation: 90+76=166, Resulting Numbers: [113, 166]
Generated Node #3: [113, 166] from Operation: 90+76=166
Current State: 53:[113, 166], Operations: ['27+86=113', '90+76=166']
Exploring Operation: 166-113=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[27, 86, 90, 76], Operations: []
Exploring Operation: 90-27=63, Resulting Numbers: [86, 76, 63]
Generated Node #0,0: 53:[86, 76, 63] Operation: 90-27=63
Exploring Operation: 90-86=4, Resulting Numbers: [27, 76, 4]
Generated Node #0,1: 53:[27, 76, 4] Operation: 90-86=4
Exploring Operation: 86-27=59, Resulting Numbers: [90, 76, 59]
Generated Node #0,2: 53:[90, 76, 59] Operation: 86-27=59
Exploring Operation: 76-27=49, Resulting Numbers: [86, 90, 49]
Generated Node #0,3: 53:[86, 90, 49] Operation: 76-27=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[86, 76, 63], Operations: ['90-27=63']
Exploring Operation: 86-76=10, Resulting Numbers: [63, 10]
Generated Node #0,0,0: 53:[63, 10] Operation: 86-76=10
Exploring Operation: 86-63=23, Resulting Numbers: [76, 23]
Generated Node #0,0,1: 53:[76, 23] Operation: 86-63=23
Exploring Operation: 76-63=13, Resulting Numbers: [86, 13]
Generated Node #0,0,2: 53:[86, 13] Operation: 76-63=13
Exploring Operation: 86+76=162, Resulting Numbers: [63, 162]
Generated Node #0,0,3: 53:[63, 162] Operation: 86+76=162
Moving to Node #0,0,0
Current State: 53:[63, 10], Operations: ['90-27=63', '86-76=10']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[27, 86, 90, 76], Operations: []
Exploring Operation: 90-27=63, Resulting Numbers: [86, 76, 63]
Generated Node #0,0: 53:[86, 76, 63] Operation: 90-27=63
Moving to Node #0,0
Current State: 53:[86, 76, 63], Operations: ['90-27=63']
Exploring Operation: 86-76=10, Resulting Numbers: [63, 10]
Generated Node #0,0,0: 53:[63, 10] Operation: 86-76=10
Moving to Node #0,0,0
Current State: 53:[63, 10], Operations: ['90-27=63', '86-76=10']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
15,
18,
49,
19
] | 34 | [
"49-15=34",
"19-18=1",
"34*1=34"
] | Current State: 34:[15, 18, 49, 19], Operations: []
Exploring Operation: 49-15=34, Resulting Numbers: [18, 19, 34]
Generated Node #2: [18, 19, 34] from Operation: 49-15=34
Current State: 34:[18, 19, 34], Operations: ['49-15=34']
Exploring Operation: 19-18=1, Resulting Numbers: [34, 1]
Generated Node #3: [34, 1] from Operation: 19-18=1
Current State: 34:[34, 1], Operations: ['49-15=34', '19-18=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[15, 18, 49, 19], Operations: []
Exploring Operation: 49-15=34, Resulting Numbers: [18, 19, 34]
Generated Node #0,0: 34:[18, 19, 34] Operation: 49-15=34
Exploring Operation: 49-18=31, Resulting Numbers: [15, 19, 31]
Generated Node #0,1: 34:[15, 19, 31] Operation: 49-18=31
Moving to Node #0,0
Current State: 34:[18, 19, 34], Operations: ['49-15=34']
Exploring Operation: 18+19=37, Resulting Numbers: [34, 37]
Generated Node #0,0,0: 34:[34, 37] Operation: 18+19=37
Exploring Operation: 19-18=1, Resulting Numbers: [34, 1]
Generated Node #0,0,1: 34:[34, 1] Operation: 19-18=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[34, 1], Operations: ['49-15=34', '19-18=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[15, 18, 49, 19], Operations: []
Exploring Operation: 49-15=34, Resulting Numbers: [18, 19, 34]
Generated Node #0,0: 34:[18, 19, 34] Operation: 49-15=34
Moving to Node #0,0
Current State: 34:[18, 19, 34], Operations: ['49-15=34']
Exploring Operation: 19-18=1, Resulting Numbers: [34, 1]
Generated Node #0,0,1: 34:[34, 1] Operation: 19-18=1
Moving to Node #0,0,1
Current State: 34:[34, 1], Operations: ['49-15=34', '19-18=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
88,
81,
31,
68
] | 92 | [
"88-81=7",
"31+68=99",
"99-7=92"
] | Current State: 92:[88, 81, 31, 68], Operations: []
Exploring Operation: 88-81=7, Resulting Numbers: [31, 68, 7]
Generated Node #2: [31, 68, 7] from Operation: 88-81=7
Current State: 92:[31, 68, 7], Operations: ['88-81=7']
Exploring Operation: 31+68=99, Resulting Numbers: [7, 99]
Generated Node #3: [7, 99] from Operation: 31+68=99
Current State: 92:[7, 99], Operations: ['88-81=7', '31+68=99']
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[88, 81, 31, 68], Operations: []
Exploring Operation: 88-68=20, Resulting Numbers: [81, 31, 20]
Generated Node #0,0: 92:[81, 31, 20] Operation: 88-68=20
Exploring Operation: 81-68=13, Resulting Numbers: [88, 31, 13]
Generated Node #0,1: 92:[88, 31, 13] Operation: 81-68=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[88, 31, 13], Operations: ['81-68=13']
Exploring Operation: 31-13=18, Resulting Numbers: [88, 18]
Generated Node #0,1,0: 92:[88, 18] Operation: 31-13=18
Exploring Operation: 31+13=44, Resulting Numbers: [88, 44]
Generated Node #0,1,1: 92:[88, 44] Operation: 31+13=44
Moving to Node #0,1,1
Current State: 92:[88, 44], Operations: ['81-68=13', '31+13=44']
Exploring Operation: 88-44=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 88/44=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[88, 18], Operations: ['81-68=13', '31-13=18']
Exploring Operation: 88+18=106, Resulting Numbers: [106]
106,92 unequal: No Solution
Exploring Operation: 88-18=70, Resulting Numbers: [70]
70,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[81, 31, 20], Operations: ['88-68=20']
Exploring Operation: 31+20=51, Resulting Numbers: [81, 51]
Generated Node #0,0,0: 92:[81, 51] Operation: 31+20=51
Exploring Operation: 81-31=50, Resulting Numbers: [20, 50]
Generated Node #0,0,1: 92:[20, 50] Operation: 81-31=50
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 92:[20, 50], Operations: ['88-68=20', '81-31=50']
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,92 unequal: No Solution
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[81, 51], Operations: ['88-68=20', '31+20=51']
Exploring Operation: 81-51=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 81+51=132, Resulting Numbers: [132]
132,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
63,
33,
64,
21
] | 75 | [
"63/21=3",
"33/3=11",
"64+11=75"
] | Current State: 75:[63, 33, 64, 21], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [33, 64, 3]
Generated Node #2: [33, 64, 3] from Operation: 63/21=3
Current State: 75:[33, 64, 3], Operations: ['63/21=3']
Exploring Operation: 33/3=11, Resulting Numbers: [64, 11]
Generated Node #3: [64, 11] from Operation: 33/3=11
Current State: 75:[64, 11], Operations: ['63/21=3', '33/3=11']
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[63, 33, 64, 21], Operations: []
Exploring Operation: 64-63=1, Resulting Numbers: [33, 21, 1]
Generated Node #0,0: 75:[33, 21, 1] Operation: 64-63=1
Exploring Operation: 64-33=31, Resulting Numbers: [63, 21, 31]
Generated Node #0,1: 75:[63, 21, 31] Operation: 64-33=31
Exploring Operation: 63/21=3, Resulting Numbers: [33, 64, 3]
Generated Node #0,2: 75:[33, 64, 3] Operation: 63/21=3
Exploring Operation: 63-33=30, Resulting Numbers: [64, 21, 30]
Generated Node #0,3: 75:[64, 21, 30] Operation: 63-33=30
Moving to Node #0,0
Current State: 75:[33, 21, 1], Operations: ['64-63=1']
Exploring Operation: 33-1=32, Resulting Numbers: [21, 32]
Generated Node #0,0,0: 75:[21, 32] Operation: 33-1=32
Exploring Operation: 21+1=22, Resulting Numbers: [33, 22]
Generated Node #0,0,1: 75:[33, 22] Operation: 21+1=22
Exploring Operation: 33-21=12, Resulting Numbers: [1, 12]
Generated Node #0,0,2: 75:[1, 12] Operation: 33-21=12
Exploring Operation: 33*1=33, Resulting Numbers: [21, 33]
Generated Node #0,0,3: 75:[21, 33] Operation: 33*1=33
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 75:[1, 12], Operations: ['64-63=1', '33-21=12']
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[21, 32], Operations: ['64-63=1', '33-1=32']
Exploring Operation: 21+32=53, Resulting Numbers: [53]
53,75 unequal: No Solution
Exploring Operation: 21*32=672, Resulting Numbers: [672]
672,75 unequal: No Solution
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[33, 22], Operations: ['64-63=1', '21+1=22']
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 33+22=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 33*22=726, Resulting Numbers: [726]
726,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 75:[21, 33], Operations: ['64-63=1', '33*1=33']
Exploring Operation: 21+33=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 21*33=693, Resulting Numbers: [693]
693,75 unequal: No Solution
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,75 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: 75:[33, 64, 3], Operations: ['63/21=3']
Exploring Operation: 33-3=30, Resulting Numbers: [64, 30]
Generated Node #0,2,0: 75:[64, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [64, 11]
Generated Node #0,2,1: 75:[64, 11] Operation: 33/3=11
Exploring Operation: 64+3=67, Resulting Numbers: [33, 67]
Generated Node #0,2,2: 75:[33, 67] Operation: 64+3=67
Exploring Operation: 64-33=31, Resulting Numbers: [3, 31]
Generated Node #0,2,3: 75:[3, 31] Operation: 64-33=31
Moving to Node #0,3
Current State: 75:[64, 21, 30], Operations: ['63-33=30']
Exploring Operation: 64+21=85, Resulting Numbers: [30, 85]
Generated Node #0,3,0: 75:[30, 85] Operation: 64+21=85
Exploring Operation: 64-30=34, Resulting Numbers: [21, 34]
Generated Node #0,3,1: 75:[21, 34] Operation: 64-30=34
Exploring Operation: 64-21=43, Resulting Numbers: [30, 43]
Generated Node #0,3,2: 75:[30, 43] Operation: 64-21=43
Exploring Operation: 30-21=9, Resulting Numbers: [64, 9]
Generated Node #0,3,3: 75:[64, 9] Operation: 30-21=9
Moving to Node #0,1
Current State: 75:[63, 21, 31], Operations: ['64-33=31']
Exploring Operation: 63+21=84, Resulting Numbers: [31, 84]
Generated Node #0,1,0: 75:[31, 84] Operation: 63+21=84
Exploring Operation: 63/21=3, Resulting Numbers: [31, 3]
Generated Node #0,1,1: 75:[31, 3] Operation: 63/21=3
Exploring Operation: 31-21=10, Resulting Numbers: [63, 10]
Generated Node #0,1,2: 75:[63, 10] Operation: 31-21=10
Exploring Operation: 63-31=32, Resulting Numbers: [21, 32]
Generated Node #0,1,3: 75:[21, 32] Operation: 63-31=32
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[31, 3], Operations: ['64-33=31', '63/21=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,75 unequal: No Solution
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,75 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 75:[21, 32], Operations: ['64-33=31', '63-31=32']
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 21*32=672, Resulting Numbers: [672]
672,75 unequal: No Solution
Exploring Operation: 21+32=53, Resulting Numbers: [53]
53,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[31, 84], Operations: ['64-33=31', '63+21=84']
Exploring Operation: 31*84=2604, Resulting Numbers: [2604]
2604,75 unequal: No Solution
Exploring Operation: 31+84=115, Resulting Numbers: [115]
115,75 unequal: No Solution
Exploring Operation: 84-31=53, Resulting Numbers: [53]
53,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[63, 10], Operations: ['64-33=31', '31-21=10']
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,75 unequal: No Solution
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,75 unequal: No Solution
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 75:[3, 31], Operations: ['63/21=3', '64-33=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,75 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,75 unequal: No Solution
Moving to Node #0,3,1
Current State: 75:[21, 34], Operations: ['63-33=30', '64-30=34']
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 21*34=714, Resulting Numbers: [714]
714,75 unequal: No Solution
Moving to Node #0,3,0
Current State: 75:[30, 85], Operations: ['63-33=30', '64+21=85']
Exploring Operation: 85-30=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 30*85=2550, Resulting Numbers: [2550]
2550,75 unequal: No Solution
Exploring Operation: 30+85=115, Resulting Numbers: [115]
115,75 unequal: No Solution
Moving to Node #0,3,3
Current State: 75:[64, 9], Operations: ['63-33=30', '30-21=9']
Exploring Operation: 64*9=576, Resulting Numbers: [576]
576,75 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[64, 11], Operations: ['63/21=3', '33/3=11']
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[63, 33, 64, 21], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [33, 64, 3]
Generated Node #0,2: 75:[33, 64, 3] Operation: 63/21=3
Moving to Node #0,2
Current State: 75:[33, 64, 3], Operations: ['63/21=3']
Exploring Operation: 33/3=11, Resulting Numbers: [64, 11]
Generated Node #0,2,1: 75:[64, 11] Operation: 33/3=11
Moving to Node #0,2,1
Current State: 75:[64, 11], Operations: ['63/21=3', '33/3=11']
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.946181 | hs_4 | sum_heuristic |
[
18,
46,
23,
19
] | 24 | [
"46-18=28",
"23-19=4",
"28-4=24"
] | Current State: 24:[18, 46, 23, 19], Operations: []
Exploring Operation: 46-18=28, Resulting Numbers: [23, 19, 28]
Generated Node #2: [23, 19, 28] from Operation: 46-18=28
Current State: 24:[23, 19, 28], Operations: ['46-18=28']
Exploring Operation: 23-19=4, Resulting Numbers: [28, 4]
Generated Node #3: [28, 4] from Operation: 23-19=4
Current State: 24:[28, 4], Operations: ['46-18=28', '23-19=4']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[18, 46, 23, 19], Operations: []
Exploring Operation: 46-18=28, Resulting Numbers: [23, 19, 28]
Generated Node #0,0: 24:[23, 19, 28] Operation: 46-18=28
Exploring Operation: 46-19=27, Resulting Numbers: [18, 23, 27]
Generated Node #0,1: 24:[18, 23, 27] Operation: 46-19=27
Moving to Node #0,0
Current State: 24:[23, 19, 28], Operations: ['46-18=28']
Exploring Operation: 28-19=9, Resulting Numbers: [23, 9]
Generated Node #0,0,0: 24:[23, 9] Operation: 28-19=9
Exploring Operation: 23-19=4, Resulting Numbers: [28, 4]
Generated Node #0,0,1: 24:[28, 4] Operation: 23-19=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[23, 9], Operations: ['46-18=28', '28-19=9']
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[28, 4], Operations: ['46-18=28', '23-19=4']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[18, 46, 23, 19], Operations: []
Exploring Operation: 46-18=28, Resulting Numbers: [23, 19, 28]
Generated Node #0,0: 24:[23, 19, 28] Operation: 46-18=28
Moving to Node #0,0
Current State: 24:[23, 19, 28], Operations: ['46-18=28']
Exploring Operation: 23-19=4, Resulting Numbers: [28, 4]
Generated Node #0,0,1: 24:[28, 4] Operation: 23-19=4
Moving to Node #0,0,1
Current State: 24:[28, 4], Operations: ['46-18=28', '23-19=4']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
91,
30,
22,
40
] | 92 | [
"91-22=69",
"40*69=2760",
"2760/30=92"
] | Current State: 92:[91, 30, 22, 40], Operations: []
Exploring Operation: 91-22=69, Resulting Numbers: [30, 40, 69]
Generated Node #2: [30, 40, 69] from Operation: 91-22=69
Current State: 92:[30, 40, 69], Operations: ['91-22=69']
Exploring Operation: 40*69=2760, Resulting Numbers: [30, 2760]
Generated Node #3: [30, 2760] from Operation: 40*69=2760
Current State: 92:[30, 2760], Operations: ['91-22=69', '40*69=2760']
Exploring Operation: 2760/30=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[91, 30, 22, 40], Operations: []
Exploring Operation: 40-30=10, Resulting Numbers: [91, 22, 10]
Generated Node #0,0: 92:[91, 22, 10] Operation: 40-30=10
Exploring Operation: 30-22=8, Resulting Numbers: [91, 40, 8]
Generated Node #0,1: 92:[91, 40, 8] Operation: 30-22=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[91, 22, 10], Operations: ['40-30=10']
Exploring Operation: 22-10=12, Resulting Numbers: [91, 12]
Generated Node #0,0,0: 92:[91, 12] Operation: 22-10=12
Exploring Operation: 91+10=101, Resulting Numbers: [22, 101]
Generated Node #0,0,1: 92:[22, 101] Operation: 91+10=101
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[91, 12], Operations: ['40-30=10', '22-10=12']
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,92 unequal: No Solution
Exploring Operation: 91+12=103, Resulting Numbers: [103]
103,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 92:[22, 101], Operations: ['40-30=10', '91+10=101']
Exploring Operation: 101-22=79, Resulting Numbers: [79]
79,92 unequal: No Solution
Exploring Operation: 22+101=123, Resulting Numbers: [123]
123,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[91, 40, 8], Operations: ['30-22=8']
Exploring Operation: 40/8=5, Resulting Numbers: [91, 5]
Generated Node #0,1,0: 92:[91, 5] Operation: 40/8=5
Exploring Operation: 40+8=48, Resulting Numbers: [91, 48]
Generated Node #0,1,1: 92:[91, 48] Operation: 40+8=48
Moving to Node #0,1,0
Current State: 92:[91, 5], Operations: ['30-22=8', '40/8=5']
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,92 unequal: No Solution
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[91, 48], Operations: ['30-22=8', '40+8=48']
Exploring Operation: 91-48=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 91+48=139, Resulting Numbers: [139]
139,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
23,
38,
98,
88
] | 25 | [
"38-23=15",
"98-88=10",
"15+10=25"
] | Current State: 25:[23, 38, 98, 88], Operations: []
Exploring Operation: 38-23=15, Resulting Numbers: [98, 88, 15]
Generated Node #2: [98, 88, 15] from Operation: 38-23=15
Current State: 25:[98, 88, 15], Operations: ['38-23=15']
Exploring Operation: 98-88=10, Resulting Numbers: [15, 10]
Generated Node #3: [15, 10] from Operation: 98-88=10
Current State: 25:[15, 10], Operations: ['38-23=15', '98-88=10']
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[23, 38, 98, 88], Operations: []
Exploring Operation: 98-88=10, Resulting Numbers: [23, 38, 10]
Generated Node #0,0: 25:[23, 38, 10] Operation: 98-88=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[23, 38, 10], Operations: ['98-88=10']
Exploring Operation: 38-10=28, Resulting Numbers: [23, 28]
Generated Node #0,0,0: 25:[23, 28] Operation: 38-10=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[23, 28], Operations: ['98-88=10', '38-10=28']
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
31,
26,
88,
39
] | 37 | [
"39-31=8",
"88/8=11",
"26+11=37"
] | Current State: 37:[31, 26, 88, 39], Operations: []
Exploring Operation: 39-31=8, Resulting Numbers: [26, 88, 8]
Generated Node #2: [26, 88, 8] from Operation: 39-31=8
Current State: 37:[26, 88, 8], Operations: ['39-31=8']
Exploring Operation: 88/8=11, Resulting Numbers: [26, 11]
Generated Node #3: [26, 11] from Operation: 88/8=11
Current State: 37:[26, 11], Operations: ['39-31=8', '88/8=11']
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[31, 26, 88, 39], Operations: []
Exploring Operation: 88-39=49, Resulting Numbers: [31, 26, 49]
Generated Node #0,0: 37:[31, 26, 49] Operation: 88-39=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[31, 26, 49], Operations: ['88-39=49']
Exploring Operation: 49-26=23, Resulting Numbers: [31, 23]
Generated Node #0,0,0: 37:[31, 23] Operation: 49-26=23
Moving to Node #0,0,0
Current State: 37:[31, 23], Operations: ['88-39=49', '49-26=23']
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,37 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 |
[
5,
86,
4,
97
] | 63 | [
"97-5=92",
"92/4=23",
"86-23=63"
] | Current State: 63:[5, 86, 4, 97], Operations: []
Exploring Operation: 97-5=92, Resulting Numbers: [86, 4, 92]
Generated Node #2: [86, 4, 92] from Operation: 97-5=92
Current State: 63:[86, 4, 92], Operations: ['97-5=92']
Exploring Operation: 92/4=23, Resulting Numbers: [86, 23]
Generated Node #3: [86, 23] from Operation: 92/4=23
Current State: 63:[86, 23], Operations: ['97-5=92', '92/4=23']
Exploring Operation: 86-23=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[5, 86, 4, 97], Operations: []
Exploring Operation: 97-86=11, Resulting Numbers: [5, 4, 11]
Generated Node #0,0: 63:[5, 4, 11] Operation: 97-86=11
Exploring Operation: 86-4=82, Resulting Numbers: [5, 97, 82]
Generated Node #0,1: 63:[5, 97, 82] Operation: 86-4=82
Exploring Operation: 86-5=81, Resulting Numbers: [4, 97, 81]
Generated Node #0,2: 63:[4, 97, 81] Operation: 86-5=81
Exploring Operation: 97-5=92, Resulting Numbers: [86, 4, 92]
Generated Node #0,3: 63:[86, 4, 92] Operation: 97-5=92
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[5, 4, 11], Operations: ['97-86=11']
Exploring Operation: 11-5=6, Resulting Numbers: [4, 6]
Generated Node #0,0,0: 63:[4, 6] Operation: 11-5=6
Exploring Operation: 5*4=20, Resulting Numbers: [11, 20]
Generated Node #0,0,1: 63:[11, 20] Operation: 5*4=20
Exploring Operation: 11-4=7, Resulting Numbers: [5, 7]
Generated Node #0,0,2: 63:[5, 7] Operation: 11-4=7
Exploring Operation: 5+4=9, Resulting Numbers: [11, 9]
Generated Node #0,0,3: 63:[11, 9] Operation: 5+4=9
Moving to Node #0,0,0
Current State: 63:[4, 6], Operations: ['97-86=11', '11-5=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Moving to Node #0,0,3
Current State: 63:[11, 9], Operations: ['97-86=11', '5+4=9']
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,63 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[5, 7], Operations: ['97-86=11', '11-4=7']
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,63 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[11, 20], Operations: ['97-86=11', '5*4=20']
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[4, 97, 81], Operations: ['86-5=81']
Exploring Operation: 97-4=93, Resulting Numbers: [81, 93]
Generated Node #0,2,0: 63:[81, 93] Operation: 97-4=93
Exploring Operation: 81-4=77, Resulting Numbers: [97, 77]
Generated Node #0,2,1: 63:[97, 77] Operation: 81-4=77
Exploring Operation: 97-81=16, Resulting Numbers: [4, 16]
Generated Node #0,2,2: 63:[4, 16] Operation: 97-81=16
Exploring Operation: 4+97=101, Resulting Numbers: [81, 101]
Generated Node #0,2,3: 63:[81, 101] Operation: 4+97=101
Moving to Node #0,2,2
Current State: 63:[4, 16], Operations: ['86-5=81', '97-81=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[97, 77], Operations: ['86-5=81', '81-4=77']
Exploring Operation: 97-77=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 97+77=174, Resulting Numbers: [174]
174,63 unequal: No Solution
Exploring Operation: 97*77=7469, Resulting Numbers: [7469]
7469,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[81, 93], Operations: ['86-5=81', '97-4=93']
Exploring Operation: 81+93=174, Resulting Numbers: [174]
174,63 unequal: No Solution
Exploring Operation: 93-81=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 81*93=7533, Resulting Numbers: [7533]
7533,63 unequal: No Solution
Moving to Node #0,2,3
Current State: 63:[81, 101], Operations: ['86-5=81', '4+97=101']
Exploring Operation: 81*101=8181, Resulting Numbers: [8181]
8181,63 unequal: No Solution
Exploring Operation: 101-81=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 81+101=182, Resulting Numbers: [182]
182,63 unequal: No Solution
No 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: 63:[86, 4, 92], Operations: ['97-5=92']
Exploring Operation: 92/4=23, Resulting Numbers: [86, 23]
Generated Node #0,3,0: 63:[86, 23] Operation: 92/4=23
Exploring Operation: 92-4=88, Resulting Numbers: [86, 88]
Generated Node #0,3,1: 63:[86, 88] Operation: 92-4=88
Exploring Operation: 86-4=82, Resulting Numbers: [92, 82]
Generated Node #0,3,2: 63:[92, 82] Operation: 86-4=82
Exploring Operation: 92-86=6, Resulting Numbers: [4, 6]
Generated Node #0,3,3: 63:[4, 6] Operation: 92-86=6
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 63:[4, 6], Operations: ['97-5=92', '92-86=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 63:[86, 23], Operations: ['97-5=92', '92/4=23']
Exploring Operation: 86-23=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[5, 86, 4, 97], Operations: []
Exploring Operation: 97-5=92, Resulting Numbers: [86, 4, 92]
Generated Node #0,3: 63:[86, 4, 92] Operation: 97-5=92
Moving to Node #0,3
Current State: 63:[86, 4, 92], Operations: ['97-5=92']
Exploring Operation: 92/4=23, Resulting Numbers: [86, 23]
Generated Node #0,3,0: 63:[86, 23] Operation: 92/4=23
Moving to Node #0,3,0
Current State: 63:[86, 23], Operations: ['97-5=92', '92/4=23']
Exploring Operation: 86-23=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.957465 | hs_4 | sum_heuristic |
[
46,
4,
11,
33
] | 86 | [
"46-4=42",
"11+33=44",
"42+44=86"
] | Current State: 86:[46, 4, 11, 33], Operations: []
Exploring Operation: 46-4=42, Resulting Numbers: [11, 33, 42]
Generated Node #2: [11, 33, 42] from Operation: 46-4=42
Current State: 86:[11, 33, 42], Operations: ['46-4=42']
Exploring Operation: 11+33=44, Resulting Numbers: [42, 44]
Generated Node #3: [42, 44] from Operation: 11+33=44
Current State: 86:[42, 44], Operations: ['46-4=42', '11+33=44']
Exploring Operation: 42+44=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[46, 4, 11, 33], Operations: []
Exploring Operation: 33/11=3, Resulting Numbers: [46, 4, 3]
Generated Node #0,0: 86:[46, 4, 3] Operation: 33/11=3
Exploring Operation: 11+33=44, Resulting Numbers: [46, 4, 44]
Generated Node #0,1: 86:[46, 4, 44] Operation: 11+33=44
Exploring Operation: 46+33=79, Resulting Numbers: [4, 11, 79]
Generated Node #0,2: 86:[4, 11, 79] Operation: 46+33=79
Exploring Operation: 4*11=44, Resulting Numbers: [46, 33, 44]
Generated Node #0,3: 86:[46, 33, 44] Operation: 4*11=44
Moving to Node #0,0
Current State: 86:[46, 4, 3], Operations: ['33/11=3']
Exploring Operation: 46-4=42, Resulting Numbers: [3, 42]
Generated Node #0,0,0: 86:[3, 42] Operation: 46-4=42
Exploring Operation: 46+4=50, Resulting Numbers: [3, 50]
Generated Node #0,0,1: 86:[3, 50] Operation: 46+4=50
Exploring Operation: 46-3=43, Resulting Numbers: [4, 43]
Generated Node #0,0,2: 86:[4, 43] Operation: 46-3=43
Exploring Operation: 4-3=1, Resulting Numbers: [46, 1]
Generated Node #0,0,3: 86:[46, 1] Operation: 4-3=1
Moving to Node #0,1
Current State: 86:[46, 4, 44], Operations: ['11+33=44']
Exploring Operation: 44-4=40, Resulting Numbers: [46, 40]
Generated Node #0,1,0: 86:[46, 40] Operation: 44-4=40
Exploring Operation: 46+44=90, Resulting Numbers: [4, 90]
Generated Node #0,1,1: 86:[4, 90] Operation: 46+44=90
Exploring Operation: 46-44=2, Resulting Numbers: [4, 2]
Generated Node #0,1,2: 86:[4, 2] Operation: 46-44=2
Exploring Operation: 46-4=42, Resulting Numbers: [44, 42]
Generated Node #0,1,3: 86:[44, 42] Operation: 46-4=42
Moving to Node #0,3
Current State: 86:[46, 33, 44], Operations: ['4*11=44']
Exploring Operation: 46-44=2, Resulting Numbers: [33, 2]
Generated Node #0,3,0: 86:[33, 2] Operation: 46-44=2
Exploring Operation: 46+33=79, Resulting Numbers: [44, 79]
Generated Node #0,3,1: 86:[44, 79] Operation: 46+33=79
Exploring Operation: 46-33=13, Resulting Numbers: [44, 13]
Generated Node #0,3,2: 86:[44, 13] Operation: 46-33=13
Exploring Operation: 33+44=77, Resulting Numbers: [46, 77]
Generated Node #0,3,3: 86:[46, 77] Operation: 33+44=77
Moving to Node #0,2
Current State: 86:[4, 11, 79], Operations: ['46+33=79']
Exploring Operation: 4+79=83, Resulting Numbers: [11, 83]
Generated Node #0,2,0: 86:[11, 83] Operation: 4+79=83
Exploring Operation: 4*11=44, Resulting Numbers: [79, 44]
Generated Node #0,2,1: 86:[79, 44] Operation: 4*11=44
Exploring Operation: 11-4=7, Resulting Numbers: [79, 7]
Generated Node #0,2,2: 86:[79, 7] Operation: 11-4=7
Exploring Operation: 11+79=90, Resulting Numbers: [4, 90]
Generated Node #0,2,3: 86:[4, 90] Operation: 11+79=90
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 86:[4, 90], Operations: ['46+33=79', '11+79=90']
Exploring Operation: 4+90=94, Resulting Numbers: [94]
94,86 unequal: No Solution
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[46, 4, 11, 33], Operations: []
Exploring Operation: 46+33=79, Resulting Numbers: [4, 11, 79]
Generated Node #0,2: 86:[4, 11, 79] Operation: 46+33=79
Moving to Node #0,2
Current State: 86:[4, 11, 79], Operations: ['46+33=79']
Exploring Operation: 11+79=90, Resulting Numbers: [4, 90]
Generated Node #0,2,3: 86:[4, 90] Operation: 11+79=90
Moving to Node #0,2,3
Current State: 86:[4, 90], Operations: ['46+33=79', '11+79=90']
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_4 | sum_heuristic |
[
22,
54,
60,
70
] | 10 | [
"22+54=76",
"76-70=6",
"60/6=10"
] | Current State: 10:[22, 54, 60, 70], Operations: []
Exploring Operation: 22+54=76, Resulting Numbers: [60, 70, 76]
Generated Node #2: [60, 70, 76] from Operation: 22+54=76
Current State: 10:[60, 70, 76], Operations: ['22+54=76']
Exploring Operation: 76-70=6, Resulting Numbers: [60, 6]
Generated Node #3: [60, 6] from Operation: 76-70=6
Current State: 10:[60, 6], Operations: ['22+54=76', '76-70=6']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[22, 54, 60, 70], Operations: []
Exploring Operation: 70-60=10, Resulting Numbers: [22, 54, 10]
Generated Node #0,0: 10:[22, 54, 10] Operation: 70-60=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[22, 54, 10], Operations: ['70-60=10']
Exploring Operation: 54-22=32, Resulting Numbers: [10, 32]
Generated Node #0,0,0: 10:[10, 32] Operation: 54-22=32
Moving to Node #0,0,0
Current State: 10:[10, 32], Operations: ['70-60=10', '54-22=32']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
20,
11,
14,
23
] | 19 | [
"23-20=3",
"11*3=33",
"33-14=19"
] | Current State: 19:[20, 11, 14, 23], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [11, 14, 3]
Generated Node #2: [11, 14, 3] from Operation: 23-20=3
Current State: 19:[11, 14, 3], Operations: ['23-20=3']
Exploring Operation: 11*3=33, Resulting Numbers: [14, 33]
Generated Node #3: [14, 33] from Operation: 11*3=33
Current State: 19:[14, 33], Operations: ['23-20=3', '11*3=33']
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[20, 11, 14, 23], Operations: []
Exploring Operation: 11+14=25, Resulting Numbers: [20, 23, 25]
Generated Node #0,0: 19:[20, 23, 25] Operation: 11+14=25
Exploring Operation: 23-11=12, Resulting Numbers: [20, 14, 12]
Generated Node #0,1: 19:[20, 14, 12] Operation: 23-11=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[20, 23, 25], Operations: ['11+14=25']
Exploring Operation: 25-23=2, Resulting Numbers: [20, 2]
Generated Node #0,0,0: 19:[20, 2] Operation: 25-23=2
Exploring Operation: 25-20=5, Resulting Numbers: [23, 5]
Generated Node #0,0,1: 19:[23, 5] Operation: 25-20=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[20, 2], Operations: ['11+14=25', '25-23=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,19 unequal: No Solution
No 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: 19:[23, 5], Operations: ['11+14=25', '25-20=5']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,19 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: 19:[20, 14, 12], Operations: ['23-11=12']
Exploring Operation: 20-12=8, Resulting Numbers: [14, 8]
Generated Node #0,1,0: 19:[14, 8] Operation: 20-12=8
Exploring Operation: 14+12=26, Resulting Numbers: [20, 26]
Generated Node #0,1,1: 19:[20, 26] Operation: 14+12=26
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[20, 26], Operations: ['23-11=12', '14+12=26']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,19 unequal: No Solution
No 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: 19:[14, 8], Operations: ['23-11=12', '20-12=8']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,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 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
62,
94,
80,
96
] | 98 | [
"96-94=2",
"80*2=160",
"160-62=98"
] | Current State: 98:[62, 94, 80, 96], Operations: []
Exploring Operation: 96-94=2, Resulting Numbers: [62, 80, 2]
Generated Node #2: [62, 80, 2] from Operation: 96-94=2
Current State: 98:[62, 80, 2], Operations: ['96-94=2']
Exploring Operation: 80*2=160, Resulting Numbers: [62, 160]
Generated Node #3: [62, 160] from Operation: 80*2=160
Current State: 98:[62, 160], Operations: ['96-94=2', '80*2=160']
Exploring Operation: 160-62=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[62, 94, 80, 96], Operations: []
Exploring Operation: 94-80=14, Resulting Numbers: [62, 96, 14]
Generated Node #0,0: 98:[62, 96, 14] Operation: 94-80=14
Exploring Operation: 94-62=32, Resulting Numbers: [80, 96, 32]
Generated Node #0,1: 98:[80, 96, 32] Operation: 94-62=32
Exploring Operation: 96-80=16, Resulting Numbers: [62, 94, 16]
Generated Node #0,2: 98:[62, 94, 16] Operation: 96-80=16
Exploring Operation: 80-62=18, Resulting Numbers: [94, 96, 18]
Generated Node #0,3: 98:[94, 96, 18] Operation: 80-62=18
Exploring Operation: 96-94=2, Resulting Numbers: [62, 80, 2]
Generated Node #0,4: 98:[62, 80, 2] Operation: 96-94=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[94, 96, 18], Operations: ['80-62=18']
Exploring Operation: 96-94=2, Resulting Numbers: [18, 2]
Generated Node #0,3,0: 98:[18, 2] Operation: 96-94=2
Exploring Operation: 96-18=78, Resulting Numbers: [94, 78]
Generated Node #0,3,1: 98:[94, 78] Operation: 96-18=78
Exploring Operation: 94+18=112, Resulting Numbers: [96, 112]
Generated Node #0,3,2: 98:[96, 112] Operation: 94+18=112
Exploring Operation: 96+18=114, Resulting Numbers: [94, 114]
Generated Node #0,3,3: 98:[94, 114] Operation: 96+18=114
Exploring Operation: 94-18=76, Resulting Numbers: [96, 76]
Generated Node #0,3,4: 98:[96, 76] Operation: 94-18=76
Moving to Node #0,3,0
Current State: 98:[18, 2], Operations: ['80-62=18', '96-94=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Moving to Node #0,3,2
Current State: 98:[96, 112], Operations: ['80-62=18', '94+18=112']
Exploring Operation: 112-96=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 96*112=10752, Resulting Numbers: [10752]
10752,98 unequal: No Solution
Exploring Operation: 96+112=208, Resulting Numbers: [208]
208,98 unequal: No Solution
Moving to Node #0,3,3
Current State: 98:[94, 114], Operations: ['80-62=18', '96+18=114']
Exploring Operation: 94*114=10716, Resulting Numbers: [10716]
10716,98 unequal: No Solution
Exploring Operation: 94+114=208, Resulting Numbers: [208]
208,98 unequal: No Solution
Exploring Operation: 114-94=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Moving to Node #0,3,1
Current State: 98:[94, 78], Operations: ['80-62=18', '96-18=78']
Exploring Operation: 94-78=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 94+78=172, Resulting Numbers: [172]
172,98 unequal: No Solution
Exploring Operation: 94*78=7332, Resulting Numbers: [7332]
7332,98 unequal: No Solution
Moving to Node #0,3,4
Current State: 98:[96, 76], Operations: ['80-62=18', '94-18=76']
Exploring Operation: 96-76=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Exploring Operation: 96+76=172, Resulting Numbers: [172]
172,98 unequal: No Solution
Exploring Operation: 96*76=7296, Resulting Numbers: [7296]
7296,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[62, 96, 14], Operations: ['94-80=14']
Exploring Operation: 62+14=76, Resulting Numbers: [96, 76]
Generated Node #0,0,0: 98:[96, 76] Operation: 62+14=76
Exploring Operation: 62-14=48, Resulting Numbers: [96, 48]
Generated Node #0,0,1: 98:[96, 48] Operation: 62-14=48
Exploring Operation: 96-14=82, Resulting Numbers: [62, 82]
Generated Node #0,0,2: 98:[62, 82] Operation: 96-14=82
Exploring Operation: 96+14=110, Resulting Numbers: [62, 110]
Generated Node #0,0,3: 98:[62, 110] Operation: 96+14=110
Exploring Operation: 96-62=34, Resulting Numbers: [14, 34]
Generated Node #0,0,4: 98:[14, 34] Operation: 96-62=34
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[96, 48], Operations: ['94-80=14', '62-14=48']
Exploring Operation: 96/48=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 96-48=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 96*48=4608, Resulting Numbers: [4608]
4608,98 unequal: No Solution
Exploring Operation: 96+48=144, Resulting Numbers: [144]
144,98 unequal: No Solution
No 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: 98:[14, 34], Operations: ['94-80=14', '96-62=34']
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,98 unequal: No Solution
No 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: 98:[96, 76], Operations: ['94-80=14', '62+14=76']
Exploring Operation: 96+76=172, Resulting Numbers: [172]
172,98 unequal: No Solution
Exploring Operation: 96*76=7296, Resulting Numbers: [7296]
7296,98 unequal: No Solution
Exploring Operation: 96-76=20, Resulting Numbers: [20]
20,98 unequal: No Solution
No 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: 98:[62, 110], Operations: ['94-80=14', '96+14=110']
Exploring Operation: 110-62=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 62+110=172, Resulting Numbers: [172]
172,98 unequal: No Solution
Exploring Operation: 62*110=6820, Resulting Numbers: [6820]
6820,98 unequal: No Solution
No 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: 98:[62, 82], Operations: ['94-80=14', '96-14=82']
Exploring Operation: 62+82=144, Resulting Numbers: [144]
144,98 unequal: No Solution
Exploring Operation: 82-62=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Exploring Operation: 62*82=5084, Resulting Numbers: [5084]
5084,98 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: 98:[62, 94, 16], Operations: ['96-80=16']
Exploring Operation: 94+16=110, Resulting Numbers: [62, 110]
Generated Node #0,2,0: 98:[62, 110] Operation: 94+16=110
Exploring Operation: 94-62=32, Resulting Numbers: [16, 32]
Generated Node #0,2,1: 98:[16, 32] Operation: 94-62=32
Exploring Operation: 62+16=78, Resulting Numbers: [94, 78]
Generated Node #0,2,2: 98:[94, 78] Operation: 62+16=78
Exploring Operation: 62-16=46, Resulting Numbers: [94, 46]
Generated Node #0,2,3: 98:[94, 46] Operation: 62-16=46
Exploring Operation: 94-16=78, Resulting Numbers: [62, 78]
Generated Node #0,2,4: 98:[62, 78] Operation: 94-16=78
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 98:[94, 46], Operations: ['96-80=16', '62-16=46']
Exploring Operation: 94+46=140, Resulting Numbers: [140]
140,98 unequal: No Solution
Exploring Operation: 94-46=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 94*46=4324, Resulting Numbers: [4324]
4324,98 unequal: No Solution
No 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: 98:[16, 32], Operations: ['96-80=16', '94-62=32']
Exploring Operation: 16*32=512, Resulting Numbers: [512]
512,98 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,98 unequal: No Solution
No 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: 98:[94, 78], Operations: ['96-80=16', '62+16=78']
Exploring Operation: 94+78=172, Resulting Numbers: [172]
172,98 unequal: No Solution
Exploring Operation: 94-78=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 94*78=7332, Resulting Numbers: [7332]
7332,98 unequal: No Solution
No 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: 98:[62, 110], Operations: ['96-80=16', '94+16=110']
Exploring Operation: 110-62=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 62+110=172, Resulting Numbers: [172]
172,98 unequal: No Solution
Exploring Operation: 62*110=6820, Resulting Numbers: [6820]
6820,98 unequal: No Solution
No 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: 98:[62, 78], Operations: ['96-80=16', '94-16=78']
Exploring Operation: 62*78=4836, Resulting Numbers: [4836]
4836,98 unequal: No Solution
Exploring Operation: 62+78=140, Resulting Numbers: [140]
140,98 unequal: No Solution
Exploring Operation: 78-62=16, Resulting Numbers: [16]
16,98 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: 98:[62, 80, 2], Operations: ['96-94=2']
Exploring Operation: 62-2=60, Resulting Numbers: [80, 60]
Generated Node #0,4,0: 98:[80, 60] Operation: 62-2=60
Exploring Operation: 80+2=82, Resulting Numbers: [62, 82]
Generated Node #0,4,1: 98:[62, 82] Operation: 80+2=82
Exploring Operation: 80-62=18, Resulting Numbers: [2, 18]
Generated Node #0,4,2: 98:[2, 18] Operation: 80-62=18
Exploring Operation: 62+2=64, Resulting Numbers: [80, 64]
Generated Node #0,4,3: 98:[80, 64] Operation: 62+2=64
Exploring Operation: 80/2=40, Resulting Numbers: [62, 40]
Generated Node #0,4,4: 98:[62, 40] Operation: 80/2=40
Moving to Node #0,4,2
Current State: 98:[2, 18], Operations: ['96-94=2', '80-62=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Moving to Node #0,4,4
Current State: 98:[62, 40], Operations: ['96-94=2', '80/2=40']
Exploring Operation: 62+40=102, Resulting Numbers: [102]
102,98 unequal: No Solution
Exploring Operation: 62-40=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 62*40=2480, Resulting Numbers: [2480]
2480,98 unequal: No Solution
Moving to Node #0,4,0
Current State: 98:[80, 60], Operations: ['96-94=2', '62-2=60']
Exploring Operation: 80-60=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Exploring Operation: 80+60=140, Resulting Numbers: [140]
140,98 unequal: No Solution
Exploring Operation: 80*60=4800, Resulting Numbers: [4800]
4800,98 unequal: No Solution
Moving to Node #0,4,1
Current State: 98:[62, 82], Operations: ['96-94=2', '80+2=82']
Exploring Operation: 62+82=144, Resulting Numbers: [144]
144,98 unequal: No Solution
Exploring Operation: 82-62=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Exploring Operation: 62*82=5084, Resulting Numbers: [5084]
5084,98 unequal: No Solution
Moving to Node #0,4,3
Current State: 98:[80, 64], Operations: ['96-94=2', '62+2=64']
Exploring Operation: 80-64=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 80+64=144, Resulting Numbers: [144]
144,98 unequal: No Solution
Exploring Operation: 80*64=5120, Resulting Numbers: [5120]
5120,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
Current State: 98:[80, 96, 32], Operations: ['94-62=32']
Exploring Operation: 96-32=64, Resulting Numbers: [80, 64]
Generated Node #0,1,0: 98:[80, 64] Operation: 96-32=64
Exploring Operation: 96/32=3, Resulting Numbers: [80, 3]
Generated Node #0,1,1: 98:[80, 3] Operation: 96/32=3
Exploring Operation: 80-32=48, Resulting Numbers: [96, 48]
Generated Node #0,1,2: 98:[96, 48] Operation: 80-32=48
Exploring Operation: 96-80=16, Resulting Numbers: [32, 16]
Generated Node #0,1,3: 98:[32, 16] Operation: 96-80=16
Exploring Operation: 80+32=112, Resulting Numbers: [96, 112]
Generated Node #0,1,4: 98:[96, 112] Operation: 80+32=112
Moving to Node #0,1,2
Current State: 98:[96, 48], Operations: ['94-62=32', '80-32=48']
Exploring Operation: 96-48=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 96/48=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 96*48=4608, Resulting Numbers: [4608]
4608,98 unequal: No Solution
Exploring Operation: 96+48=144, Resulting Numbers: [144]
144,98 unequal: No Solution
Moving to Node #0,1,4
Current State: 98:[96, 112], Operations: ['94-62=32', '80+32=112']
Exploring Operation: 96*112=10752, Resulting Numbers: [10752]
10752,98 unequal: No Solution
Exploring Operation: 96+112=208, Resulting Numbers: [208]
208,98 unequal: No Solution
Exploring Operation: 112-96=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[80, 3], Operations: ['94-62=32', '96/32=3']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,98 unequal: No Solution
Exploring Operation: 80*3=240, Resulting Numbers: [240]
240,98 unequal: No Solution
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[32, 16], Operations: ['94-62=32', '96-80=16']
Exploring Operation: 32*16=512, Resulting Numbers: [512]
512,98 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[80, 64], Operations: ['94-62=32', '96-32=64']
Exploring Operation: 80-64=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 80+64=144, Resulting Numbers: [144]
144,98 unequal: No Solution
Exploring Operation: 80*64=5120, Resulting Numbers: [5120]
5120,98 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 |
[
90,
33,
17,
69
] | 29 | [
"90-33=57",
"17+69=86",
"86-57=29"
] | Current State: 29:[90, 33, 17, 69], Operations: []
Exploring Operation: 90-33=57, Resulting Numbers: [17, 69, 57]
Generated Node #2: [17, 69, 57] from Operation: 90-33=57
Current State: 29:[17, 69, 57], Operations: ['90-33=57']
Exploring Operation: 17+69=86, Resulting Numbers: [57, 86]
Generated Node #3: [57, 86] from Operation: 17+69=86
Current State: 29:[57, 86], Operations: ['90-33=57', '17+69=86']
Exploring Operation: 86-57=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[90, 33, 17, 69], Operations: []
Exploring Operation: 90-33=57, Resulting Numbers: [17, 69, 57]
Generated Node #0,0: 29:[17, 69, 57] Operation: 90-33=57
Exploring Operation: 90-69=21, Resulting Numbers: [33, 17, 21]
Generated Node #0,1: 29:[33, 17, 21] Operation: 90-69=21
Moving to Node #0,1
Current State: 29:[33, 17, 21], Operations: ['90-69=21']
Exploring Operation: 17+21=38, Resulting Numbers: [33, 38]
Generated Node #0,1,0: 29:[33, 38] Operation: 17+21=38
Exploring Operation: 33-17=16, Resulting Numbers: [21, 16]
Generated Node #0,1,1: 29:[21, 16] Operation: 33-17=16
Moving to Node #0,0
Current State: 29:[17, 69, 57], Operations: ['90-33=57']
Exploring Operation: 69-17=52, Resulting Numbers: [57, 52]
Generated Node #0,0,0: 29:[57, 52] Operation: 69-17=52
Exploring Operation: 69-57=12, Resulting Numbers: [17, 12]
Generated Node #0,0,1: 29:[17, 12] Operation: 69-57=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[17, 12], Operations: ['90-33=57', '69-57=12']
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[90, 33, 17, 69], Operations: []
Exploring Operation: 90-33=57, Resulting Numbers: [17, 69, 57]
Generated Node #0,0: 29:[17, 69, 57] Operation: 90-33=57
Moving to Node #0,0
Current State: 29:[17, 69, 57], Operations: ['90-33=57']
Exploring Operation: 69-57=12, Resulting Numbers: [17, 12]
Generated Node #0,0,1: 29:[17, 12] Operation: 69-57=12
Moving to Node #0,0,1
Current State: 29:[17, 12], Operations: ['90-33=57', '69-57=12']
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
25,
15,
51,
4
] | 44 | [
"25+15=40",
"51-40=11",
"4*11=44"
] | Current State: 44:[25, 15, 51, 4], Operations: []
Exploring Operation: 25+15=40, Resulting Numbers: [51, 4, 40]
Generated Node #2: [51, 4, 40] from Operation: 25+15=40
Current State: 44:[51, 4, 40], Operations: ['25+15=40']
Exploring Operation: 51-40=11, Resulting Numbers: [4, 11]
Generated Node #3: [4, 11] from Operation: 51-40=11
Current State: 44:[4, 11], Operations: ['25+15=40', '51-40=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[25, 15, 51, 4], Operations: []
Exploring Operation: 25-15=10, Resulting Numbers: [51, 4, 10]
Generated Node #0,0: 44:[51, 4, 10] Operation: 25-15=10
Moving to Node #0,0
Current State: 44:[51, 4, 10], Operations: ['25-15=10']
Exploring Operation: 51-10=41, Resulting Numbers: [4, 41]
Generated Node #0,0,0: 44:[4, 41] Operation: 51-10=41
Moving to Node #0,0,0
Current State: 44:[4, 41], Operations: ['25-15=10', '51-10=41']
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,44 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
96,
19,
17
] | 92 | [
"96-2=94",
"19-17=2",
"94-2=92"
] | Current State: 92:[2, 96, 19, 17], Operations: []
Exploring Operation: 96-2=94, Resulting Numbers: [19, 17, 94]
Generated Node #2: [19, 17, 94] from Operation: 96-2=94
Current State: 92:[19, 17, 94], Operations: ['96-2=94']
Exploring Operation: 19-17=2, Resulting Numbers: [94, 2]
Generated Node #3: [94, 2] from Operation: 19-17=2
Current State: 92:[94, 2], Operations: ['96-2=94', '19-17=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[2, 96, 19, 17], Operations: []
Exploring Operation: 2+19=21, Resulting Numbers: [96, 17, 21]
Generated Node #0,0: 92:[96, 17, 21] Operation: 2+19=21
Exploring Operation: 2+17=19, Resulting Numbers: [96, 19, 19]
Generated Node #0,1: 92:[96, 19, 19] Operation: 2+17=19
Exploring Operation: 96-2=94, Resulting Numbers: [19, 17, 94]
Generated Node #0,2: 92:[19, 17, 94] Operation: 96-2=94
Exploring Operation: 19-17=2, Resulting Numbers: [2, 96, 2]
Generated Node #0,3: 92:[2, 96, 2] Operation: 19-17=2
Exploring Operation: 96/2=48, Resulting Numbers: [19, 17, 48]
Generated Node #0,4: 92:[19, 17, 48] Operation: 96/2=48
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[2, 96, 2], Operations: ['19-17=2']
Exploring Operation: 96/2=48, Resulting Numbers: [2, 48]
Generated Node #0,3,0: 92:[2, 48] Operation: 96/2=48
Exploring Operation: 2+2=4, Resulting Numbers: [96, 4]
Generated Node #0,3,1: 92:[96, 4] Operation: 2+2=4
Exploring Operation: 96/2=48, Resulting Numbers: [2, 48]
Generated Node #0,3,2: 92:[2, 48] Operation: 96/2=48
Exploring Operation: 96-2=94, Resulting Numbers: [2, 94]
Generated Node #0,3,3: 92:[2, 94] Operation: 96-2=94
Exploring Operation: 96-2=94, Resulting Numbers: [2, 94]
Generated Node #0,3,4: 92:[2, 94] Operation: 96-2=94
Moving to Node #0,3,0
Current State: 92:[2, 48], Operations: ['19-17=2', '96/2=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,92 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Moving to Node #0,3,3
Current State: 92:[2, 94], Operations: ['19-17=2', '96-2=94']
Exploring Operation: 2+94=96, Resulting Numbers: [96]
96,92 unequal: No Solution
Exploring Operation: 2*94=188, Resulting Numbers: [188]
188,92 unequal: No Solution
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[2, 96, 19, 17], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [2, 96, 2]
Generated Node #0,3: 92:[2, 96, 2] Operation: 19-17=2
Moving to Node #0,3
Current State: 92:[2, 96, 2], Operations: ['19-17=2']
Exploring Operation: 96-2=94, Resulting Numbers: [2, 94]
Generated Node #0,3,3: 92:[2, 94] Operation: 96-2=94
Moving to Node #0,3,3
Current State: 92:[2, 94], Operations: ['19-17=2', '96-2=94']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
37,
34,
89,
22
] | 37 | [
"37-34=3",
"89+22=111",
"111/3=37"
] | Current State: 37:[37, 34, 89, 22], Operations: []
Exploring Operation: 37-34=3, Resulting Numbers: [89, 22, 3]
Generated Node #2: [89, 22, 3] from Operation: 37-34=3
Current State: 37:[89, 22, 3], Operations: ['37-34=3']
Exploring Operation: 89+22=111, Resulting Numbers: [3, 111]
Generated Node #3: [3, 111] from Operation: 89+22=111
Current State: 37:[3, 111], Operations: ['37-34=3', '89+22=111']
Exploring Operation: 111/3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[37, 34, 89, 22], Operations: []
Exploring Operation: 89-34=55, Resulting Numbers: [37, 22, 55]
Generated Node #0,0: 37:[37, 22, 55] Operation: 89-34=55
Exploring Operation: 89-37=52, Resulting Numbers: [34, 22, 52]
Generated Node #0,1: 37:[34, 22, 52] Operation: 89-37=52
Exploring Operation: 89-22=67, Resulting Numbers: [37, 34, 67]
Generated Node #0,2: 37:[37, 34, 67] Operation: 89-22=67
Moving to Node #0,0
Current State: 37:[37, 22, 55], Operations: ['89-34=55']
Exploring Operation: 37+22=59, Resulting Numbers: [55, 59]
Generated Node #0,0,0: 37:[55, 59] Operation: 37+22=59
Exploring Operation: 55-22=33, Resulting Numbers: [37, 33]
Generated Node #0,0,1: 37:[37, 33] Operation: 55-22=33
Exploring Operation: 55-37=18, Resulting Numbers: [22, 18]
Generated Node #0,0,2: 37:[22, 18] Operation: 55-37=18
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[37, 33], Operations: ['89-34=55', '55-22=33']
Exploring Operation: 37*33=1221, Resulting Numbers: [1221]
1221,37 unequal: No Solution
Exploring Operation: 37+33=70, Resulting Numbers: [70]
70,37 unequal: No Solution
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 37:[22, 18], Operations: ['89-34=55', '55-37=18']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 22*18=396, Resulting Numbers: [396]
396,37 unequal: No Solution
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[55, 59], Operations: ['89-34=55', '37+22=59']
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 55*59=3245, Resulting Numbers: [3245]
3245,37 unequal: No Solution
Exploring Operation: 55+59=114, Resulting Numbers: [114]
114,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 37:[34, 22, 52], Operations: ['89-37=52']
Exploring Operation: 34+22=56, Resulting Numbers: [52, 56]
Generated Node #0,1,0: 37:[52, 56] Operation: 34+22=56
Exploring Operation: 52-34=18, Resulting Numbers: [22, 18]
Generated Node #0,1,1: 37:[22, 18] Operation: 52-34=18
Exploring Operation: 52-22=30, Resulting Numbers: [34, 30]
Generated Node #0,1,2: 37:[34, 30] Operation: 52-22=30
Moving to Node #0,2
Current State: 37:[37, 34, 67], Operations: ['89-22=67']
Exploring Operation: 67-34=33, Resulting Numbers: [37, 33]
Generated Node #0,2,0: 37:[37, 33] Operation: 67-34=33
Exploring Operation: 37+34=71, Resulting Numbers: [67, 71]
Generated Node #0,2,1: 37:[67, 71] Operation: 37+34=71
Exploring Operation: 67-37=30, Resulting Numbers: [34, 30]
Generated Node #0,2,2: 37:[34, 30] Operation: 67-37=30
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 37:[37, 33], Operations: ['89-22=67', '67-34=33']
Exploring Operation: 37+33=70, Resulting Numbers: [70]
70,37 unequal: No Solution
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 37*33=1221, Resulting Numbers: [1221]
1221,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 37:[34, 30], Operations: ['89-22=67', '67-37=30']
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 34+30=64, Resulting Numbers: [64]
64,37 unequal: No Solution
Exploring Operation: 34*30=1020, Resulting Numbers: [1020]
1020,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 37:[67, 71], Operations: ['89-22=67', '37+34=71']
Exploring Operation: 71-67=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 67+71=138, Resulting Numbers: [138]
138,37 unequal: No Solution
Exploring Operation: 67*71=4757, Resulting Numbers: [4757]
4757,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 37:[34, 30], Operations: ['89-37=52', '52-22=30']
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 34+30=64, Resulting Numbers: [64]
64,37 unequal: No Solution
Exploring Operation: 34*30=1020, Resulting Numbers: [1020]
1020,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[52, 56], Operations: ['89-37=52', '34+22=56']
Exploring Operation: 52*56=2912, Resulting Numbers: [2912]
2912,37 unequal: No Solution
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 52+56=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[22, 18], Operations: ['89-37=52', '52-34=18']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,37 unequal: No Solution
Exploring Operation: 22*18=396, Resulting Numbers: [396]
396,37 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
27,
24,
37,
91
] | 22 | [
"91-37=54",
"54/27=2",
"24-2=22"
] | Current State: 22:[27, 24, 37, 91], Operations: []
Exploring Operation: 91-37=54, Resulting Numbers: [27, 24, 54]
Generated Node #2: [27, 24, 54] from Operation: 91-37=54
Current State: 22:[27, 24, 54], Operations: ['91-37=54']
Exploring Operation: 54/27=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 54/27=2
Current State: 22:[24, 2], Operations: ['91-37=54', '54/27=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[27, 24, 37, 91], Operations: []
Exploring Operation: 91-27=64, Resulting Numbers: [24, 37, 64]
Generated Node #0,0: 22:[24, 37, 64] Operation: 91-27=64
Exploring Operation: 91-37=54, Resulting Numbers: [27, 24, 54]
Generated Node #0,1: 22:[27, 24, 54] Operation: 91-37=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[27, 24, 54], Operations: ['91-37=54']
Exploring Operation: 54/27=2, Resulting Numbers: [24, 2]
Generated Node #0,1,0: 22:[24, 2] Operation: 54/27=2
Exploring Operation: 54-27=27, Resulting Numbers: [24, 27]
Generated Node #0,1,1: 22:[24, 27] Operation: 54-27=27
Moving to Node #0,1,0
Current State: 22:[24, 2], Operations: ['91-37=54', '54/27=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[27, 24, 37, 91], Operations: []
Exploring Operation: 91-37=54, Resulting Numbers: [27, 24, 54]
Generated Node #0,1: 22:[27, 24, 54] Operation: 91-37=54
Moving to Node #0,1
Current State: 22:[27, 24, 54], Operations: ['91-37=54']
Exploring Operation: 54/27=2, Resulting Numbers: [24, 2]
Generated Node #0,1,0: 22:[24, 2] Operation: 54/27=2
Moving to Node #0,1,0
Current State: 22:[24, 2], Operations: ['91-37=54', '54/27=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
56,
60,
30,
5
] | 29 | [
"60-56=4",
"30-5=25",
"4+25=29"
] | Current State: 29:[56, 60, 30, 5], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [30, 5, 4]
Generated Node #2: [30, 5, 4] from Operation: 60-56=4
Current State: 29:[30, 5, 4], Operations: ['60-56=4']
Exploring Operation: 30-5=25, Resulting Numbers: [4, 25]
Generated Node #3: [4, 25] from Operation: 30-5=25
Current State: 29:[4, 25], Operations: ['60-56=4', '30-5=25']
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[56, 60, 30, 5], Operations: []
Exploring Operation: 60/5=12, Resulting Numbers: [56, 30, 12]
Generated Node #0,0: 29:[56, 30, 12] Operation: 60/5=12
Exploring Operation: 60-30=30, Resulting Numbers: [56, 5, 30]
Generated Node #0,1: 29:[56, 5, 30] Operation: 60-30=30
Exploring Operation: 60-56=4, Resulting Numbers: [30, 5, 4]
Generated Node #0,2: 29:[30, 5, 4] Operation: 60-56=4
Exploring Operation: 56-5=51, Resulting Numbers: [60, 30, 51]
Generated Node #0,3: 29:[60, 30, 51] Operation: 56-5=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[56, 30, 12], Operations: ['60/5=12']
Exploring Operation: 56+12=68, Resulting Numbers: [30, 68]
Generated Node #0,0,0: 29:[30, 68] Operation: 56+12=68
Exploring Operation: 30-12=18, Resulting Numbers: [56, 18]
Generated Node #0,0,1: 29:[56, 18] Operation: 30-12=18
Exploring Operation: 56-30=26, Resulting Numbers: [12, 26]
Generated Node #0,0,2: 29:[12, 26] Operation: 56-30=26
Exploring Operation: 56-12=44, Resulting Numbers: [30, 44]
Generated Node #0,0,3: 29:[30, 44] Operation: 56-12=44
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 29:[30, 44], Operations: ['60/5=12', '56-12=44']
Exploring Operation: 30*44=1320, Resulting Numbers: [1320]
1320,29 unequal: No Solution
Exploring Operation: 30+44=74, Resulting Numbers: [74]
74,29 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 29:[12, 26], Operations: ['60/5=12', '56-30=26']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,29 unequal: No Solution
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[56, 18], Operations: ['60/5=12', '30-12=18']
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,29 unequal: No Solution
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[30, 68], Operations: ['60/5=12', '56+12=68']
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 30*68=2040, Resulting Numbers: [2040]
2040,29 unequal: No Solution
Exploring Operation: 30+68=98, Resulting Numbers: [98]
98,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[30, 5, 4], Operations: ['60-56=4']
Exploring Operation: 5+4=9, Resulting Numbers: [30, 9]
Generated Node #0,2,0: 29:[30, 9] Operation: 5+4=9
Exploring Operation: 30-4=26, Resulting Numbers: [5, 26]
Generated Node #0,2,1: 29:[5, 26] Operation: 30-4=26
Exploring Operation: 30-5=25, Resulting Numbers: [4, 25]
Generated Node #0,2,2: 29:[4, 25] Operation: 30-5=25
Exploring Operation: 5*4=20, Resulting Numbers: [30, 20]
Generated Node #0,2,3: 29:[30, 20] Operation: 5*4=20
Moving to Node #0,2,3
Current State: 29:[30, 20], Operations: ['60-56=4', '5*4=20']
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 30*20=600, Resulting Numbers: [600]
600,29 unequal: No Solution
Exploring Operation: 30+20=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[30, 9], Operations: ['60-56=4', '5+4=9']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,29 unequal: No Solution
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[5, 26], Operations: ['60-56=4', '30-4=26']
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,29 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[4, 25], Operations: ['60-56=4', '30-5=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,29 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,29 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[56, 60, 30, 5], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [30, 5, 4]
Generated Node #0,2: 29:[30, 5, 4] Operation: 60-56=4
Moving to Node #0,2
Current State: 29:[30, 5, 4], Operations: ['60-56=4']
Exploring Operation: 30-5=25, Resulting Numbers: [4, 25]
Generated Node #0,2,2: 29:[4, 25] Operation: 30-5=25
Moving to Node #0,2,2
Current State: 29:[4, 25], Operations: ['60-56=4', '30-5=25']
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_4 | mult_heuristic |
[
26,
8,
95,
4
] | 81 | [
"26-8=18",
"95+4=99",
"99-18=81"
] | Current State: 81:[26, 8, 95, 4], Operations: []
Exploring Operation: 26-8=18, Resulting Numbers: [95, 4, 18]
Generated Node #2: [95, 4, 18] from Operation: 26-8=18
Current State: 81:[95, 4, 18], Operations: ['26-8=18']
Exploring Operation: 95+4=99, Resulting Numbers: [18, 99]
Generated Node #3: [18, 99] from Operation: 95+4=99
Current State: 81:[18, 99], Operations: ['26-8=18', '95+4=99']
Exploring Operation: 99-18=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[26, 8, 95, 4], Operations: []
Exploring Operation: 95-4=91, Resulting Numbers: [26, 8, 91]
Generated Node #0,0: 81:[26, 8, 91] Operation: 95-4=91
Exploring Operation: 95-8=87, Resulting Numbers: [26, 4, 87]
Generated Node #0,1: 81:[26, 4, 87] Operation: 95-8=87
Exploring Operation: 95-26=69, Resulting Numbers: [8, 4, 69]
Generated Node #0,2: 81:[8, 4, 69] Operation: 95-26=69
Exploring Operation: 8-4=4, Resulting Numbers: [26, 95, 4]
Generated Node #0,3: 81:[26, 95, 4] Operation: 8-4=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[26, 4, 87], Operations: ['95-8=87']
Exploring Operation: 4+87=91, Resulting Numbers: [26, 91]
Generated Node #0,1,0: 81:[26, 91] Operation: 4+87=91
Exploring Operation: 87-4=83, Resulting Numbers: [26, 83]
Generated Node #0,1,1: 81:[26, 83] Operation: 87-4=83
Exploring Operation: 26+4=30, Resulting Numbers: [87, 30]
Generated Node #0,1,2: 81:[87, 30] Operation: 26+4=30
Exploring Operation: 26-4=22, Resulting Numbers: [87, 22]
Generated Node #0,1,3: 81:[87, 22] Operation: 26-4=22
Moving to Node #0,1,1
Current State: 81:[26, 83], Operations: ['95-8=87', '87-4=83']
Exploring Operation: 26+83=109, Resulting Numbers: [109]
109,81 unequal: No Solution
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Exploring Operation: 26*83=2158, Resulting Numbers: [2158]
2158,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[87, 30], Operations: ['95-8=87', '26+4=30']
Exploring Operation: 87*30=2610, Resulting Numbers: [2610]
2610,81 unequal: No Solution
Exploring Operation: 87+30=117, Resulting Numbers: [117]
117,81 unequal: No Solution
Exploring Operation: 87-30=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[87, 22], Operations: ['95-8=87', '26-4=22']
Exploring Operation: 87+22=109, Resulting Numbers: [109]
109,81 unequal: No Solution
Exploring Operation: 87*22=1914, Resulting Numbers: [1914]
1914,81 unequal: No Solution
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[26, 91], Operations: ['95-8=87', '4+87=91']
Exploring Operation: 91-26=65, Resulting Numbers: [65]
65,81 unequal: No Solution
Exploring Operation: 26*91=2366, Resulting Numbers: [2366]
2366,81 unequal: No Solution
Exploring Operation: 26+91=117, Resulting Numbers: [117]
117,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[26, 8, 91], Operations: ['95-4=91']
Exploring Operation: 91-8=83, Resulting Numbers: [26, 83]
Generated Node #0,0,0: 81:[26, 83] Operation: 91-8=83
Exploring Operation: 91-26=65, Resulting Numbers: [8, 65]
Generated Node #0,0,1: 81:[8, 65] Operation: 91-26=65
Exploring Operation: 26-8=18, Resulting Numbers: [91, 18]
Generated Node #0,0,2: 81:[91, 18] Operation: 26-8=18
Exploring Operation: 26+8=34, Resulting Numbers: [91, 34]
Generated Node #0,0,3: 81:[91, 34] Operation: 26+8=34
Moving to Node #0,0,0
Current State: 81:[26, 83], Operations: ['95-4=91', '91-8=83']
Exploring Operation: 26+83=109, Resulting Numbers: [109]
109,81 unequal: No Solution
Exploring Operation: 26*83=2158, Resulting Numbers: [2158]
2158,81 unequal: No Solution
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Moving to Node #0,0,3
Current State: 81:[91, 34], Operations: ['95-4=91', '26+8=34']
Exploring Operation: 91+34=125, Resulting Numbers: [125]
125,81 unequal: No Solution
Exploring Operation: 91-34=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Exploring Operation: 91*34=3094, Resulting Numbers: [3094]
3094,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[8, 65], Operations: ['95-4=91', '91-26=65']
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Exploring Operation: 8*65=520, Resulting Numbers: [520]
520,81 unequal: No Solution
Exploring Operation: 8+65=73, Resulting Numbers: [73]
73,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[91, 18], Operations: ['95-4=91', '26-8=18']
Exploring Operation: 91+18=109, Resulting Numbers: [109]
109,81 unequal: No Solution
Exploring Operation: 91*18=1638, Resulting Numbers: [1638]
1638,81 unequal: No Solution
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[8, 4, 69], Operations: ['95-26=69']
Exploring Operation: 8-4=4, Resulting Numbers: [69, 4]
Generated Node #0,2,0: 81:[69, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [69, 2]
Generated Node #0,2,1: 81:[69, 2] Operation: 8/4=2
Exploring Operation: 4+69=73, Resulting Numbers: [8, 73]
Generated Node #0,2,2: 81:[8, 73] Operation: 4+69=73
Exploring Operation: 8+69=77, Resulting Numbers: [4, 77]
Generated Node #0,2,3: 81:[4, 77] Operation: 8+69=77
Moving to Node #0,2,3
Current State: 81:[4, 77], Operations: ['95-26=69', '8+69=77']
Exploring Operation: 4*77=308, Resulting Numbers: [308]
308,81 unequal: No Solution
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,81 unequal: No Solution
Exploring Operation: 4+77=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[26, 8, 95, 4], Operations: []
Exploring Operation: 95-26=69, Resulting Numbers: [8, 4, 69]
Generated Node #0,2: 81:[8, 4, 69] Operation: 95-26=69
Moving to Node #0,2
Current State: 81:[8, 4, 69], Operations: ['95-26=69']
Exploring Operation: 8+69=77, Resulting Numbers: [4, 77]
Generated Node #0,2,3: 81:[4, 77] Operation: 8+69=77
Moving to Node #0,2,3
Current State: 81:[4, 77], Operations: ['95-26=69', '8+69=77']
Exploring Operation: 4+77=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_4 | mult_heuristic |
[
55,
97,
11,
91
] | 72 | [
"55+97=152",
"91-11=80",
"152-80=72"
] | Current State: 72:[55, 97, 11, 91], Operations: []
Exploring Operation: 55+97=152, Resulting Numbers: [11, 91, 152]
Generated Node #2: [11, 91, 152] from Operation: 55+97=152
Current State: 72:[11, 91, 152], Operations: ['55+97=152']
Exploring Operation: 91-11=80, Resulting Numbers: [152, 80]
Generated Node #3: [152, 80] from Operation: 91-11=80
Current State: 72:[152, 80], Operations: ['55+97=152', '91-11=80']
Exploring Operation: 152-80=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[55, 97, 11, 91], Operations: []
Exploring Operation: 55/11=5, Resulting Numbers: [97, 91, 5]
Generated Node #0,0: 72:[97, 91, 5] Operation: 55/11=5
Exploring Operation: 91-55=36, Resulting Numbers: [97, 11, 36]
Generated Node #0,1: 72:[97, 11, 36] Operation: 91-55=36
Exploring Operation: 97-91=6, Resulting Numbers: [55, 11, 6]
Generated Node #0,2: 72:[55, 11, 6] Operation: 97-91=6
Exploring Operation: 97-55=42, Resulting Numbers: [11, 91, 42]
Generated Node #0,3: 72:[11, 91, 42] Operation: 97-55=42
Moving to Node #0,2
Current State: 72:[55, 11, 6], Operations: ['97-91=6']
Exploring Operation: 55+6=61, Resulting Numbers: [11, 61]
Generated Node #0,2,0: 72:[11, 61] Operation: 55+6=61
Exploring Operation: 55/11=5, Resulting Numbers: [6, 5]
Generated Node #0,2,1: 72:[6, 5] Operation: 55/11=5
Exploring Operation: 55+11=66, Resulting Numbers: [6, 66]
Generated Node #0,2,2: 72:[6, 66] Operation: 55+11=66
Exploring Operation: 55-11=44, Resulting Numbers: [6, 44]
Generated Node #0,2,3: 72:[6, 44] Operation: 55-11=44
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 72:[6, 5], Operations: ['97-91=6', '55/11=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,72 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 72:[6, 66], Operations: ['97-91=6', '55+11=66']
Exploring Operation: 6+66=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[55, 97, 11, 91], Operations: []
Exploring Operation: 97-91=6, Resulting Numbers: [55, 11, 6]
Generated Node #0,2: 72:[55, 11, 6] Operation: 97-91=6
Moving to Node #0,2
Current State: 72:[55, 11, 6], Operations: ['97-91=6']
Exploring Operation: 55+11=66, Resulting Numbers: [6, 66]
Generated Node #0,2,2: 72:[6, 66] Operation: 55+11=66
Moving to Node #0,2,2
Current State: 72:[6, 66], Operations: ['97-91=6', '55+11=66']
Exploring Operation: 6+66=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
84,
88,
83,
21
] | 68 | [
"84+88=172",
"83+21=104",
"172-104=68"
] | Current State: 68:[84, 88, 83, 21], Operations: []
Exploring Operation: 84+88=172, Resulting Numbers: [83, 21, 172]
Generated Node #2: [83, 21, 172] from Operation: 84+88=172
Current State: 68:[83, 21, 172], Operations: ['84+88=172']
Exploring Operation: 83+21=104, Resulting Numbers: [172, 104]
Generated Node #3: [172, 104] from Operation: 83+21=104
Current State: 68:[172, 104], Operations: ['84+88=172', '83+21=104']
Exploring Operation: 172-104=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[84, 88, 83, 21], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [88, 83, 4]
Generated Node #0,0: 68:[88, 83, 4] Operation: 84/21=4
Exploring Operation: 88-84=4, Resulting Numbers: [83, 21, 4]
Generated Node #0,1: 68:[83, 21, 4] Operation: 88-84=4
Exploring Operation: 88-83=5, Resulting Numbers: [84, 21, 5]
Generated Node #0,2: 68:[84, 21, 5] Operation: 88-83=5
Exploring Operation: 88-21=67, Resulting Numbers: [84, 83, 67]
Generated Node #0,3: 68:[84, 83, 67] Operation: 88-21=67
Exploring Operation: 84-83=1, Resulting Numbers: [88, 21, 1]
Generated Node #0,4: 68:[88, 21, 1] Operation: 84-83=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[83, 21, 4], Operations: ['88-84=4']
Exploring Operation: 21-4=17, Resulting Numbers: [83, 17]
Generated Node #0,1,0: 68:[83, 17] Operation: 21-4=17
Exploring Operation: 83-21=62, Resulting Numbers: [4, 62]
Generated Node #0,1,1: 68:[4, 62] Operation: 83-21=62
Exploring Operation: 21+4=25, Resulting Numbers: [83, 25]
Generated Node #0,1,2: 68:[83, 25] Operation: 21+4=25
Exploring Operation: 83-4=79, Resulting Numbers: [21, 79]
Generated Node #0,1,3: 68:[21, 79] Operation: 83-4=79
Exploring Operation: 83+4=87, Resulting Numbers: [21, 87]
Generated Node #0,1,4: 68:[21, 87] Operation: 83+4=87
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 68:[4, 62], Operations: ['88-84=4', '83-21=62']
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,68 unequal: No Solution
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,68 unequal: No Solution
Exploring Operation: 4*62=248, Resulting Numbers: [248]
248,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,1,0
Current State: 68:[83, 17], Operations: ['88-84=4', '21-4=17']
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,68 unequal: No Solution
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,68 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,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,1,3
Current State: 68:[21, 79], Operations: ['88-84=4', '83-4=79']
Exploring Operation: 79-21=58, Resulting Numbers: [58]
58,68 unequal: No Solution
Exploring Operation: 21*79=1659, Resulting Numbers: [1659]
1659,68 unequal: No Solution
Exploring Operation: 21+79=100, Resulting Numbers: [100]
100,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,1,2
Current State: 68:[83, 25], Operations: ['88-84=4', '21+4=25']
Exploring Operation: 83*25=2075, Resulting Numbers: [2075]
2075,68 unequal: No Solution
Exploring Operation: 83-25=58, Resulting Numbers: [58]
58,68 unequal: No Solution
Exploring Operation: 83+25=108, Resulting Numbers: [108]
108,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,1,4
Current State: 68:[21, 87], Operations: ['88-84=4', '83+4=87']
Exploring Operation: 21+87=108, Resulting Numbers: [108]
108,68 unequal: No Solution
Exploring Operation: 21*87=1827, Resulting Numbers: [1827]
1827,68 unequal: No Solution
Exploring Operation: 87-21=66, Resulting Numbers: [66]
66,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:[84, 21, 5], Operations: ['88-83=5']
Exploring Operation: 84-21=63, Resulting Numbers: [5, 63]
Generated Node #0,2,0: 68:[5, 63] Operation: 84-21=63
Exploring Operation: 84/21=4, Resulting Numbers: [5, 4]
Generated Node #0,2,1: 68:[5, 4] Operation: 84/21=4
Exploring Operation: 84-5=79, Resulting Numbers: [21, 79]
Generated Node #0,2,2: 68:[21, 79] Operation: 84-5=79
Exploring Operation: 21-5=16, Resulting Numbers: [84, 16]
Generated Node #0,2,3: 68:[84, 16] Operation: 21-5=16
Exploring Operation: 21+5=26, Resulting Numbers: [84, 26]
Generated Node #0,2,4: 68:[84, 26] Operation: 21+5=26
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 68:[5, 4], Operations: ['88-83=5', '84/21=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,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,2,0
Current State: 68:[5, 63], Operations: ['88-83=5', '84-21=63']
Exploring Operation: 5+63=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[84, 88, 83, 21], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [84, 21, 5]
Generated Node #0,2: 68:[84, 21, 5] Operation: 88-83=5
Moving to Node #0,2
Current State: 68:[84, 21, 5], Operations: ['88-83=5']
Exploring Operation: 84-21=63, Resulting Numbers: [5, 63]
Generated Node #0,2,0: 68:[5, 63] Operation: 84-21=63
Moving to Node #0,2,0
Current State: 68:[5, 63], Operations: ['88-83=5', '84-21=63']
Exploring Operation: 5+63=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
[
8,
81,
39,
85
] | 71 | [
"85-81=4",
"8*4=32",
"39+32=71"
] | Current State: 71:[8, 81, 39, 85], Operations: []
Exploring Operation: 85-81=4, Resulting Numbers: [8, 39, 4]
Generated Node #2: [8, 39, 4] from Operation: 85-81=4
Current State: 71:[8, 39, 4], Operations: ['85-81=4']
Exploring Operation: 8*4=32, Resulting Numbers: [39, 32]
Generated Node #3: [39, 32] from Operation: 8*4=32
Current State: 71:[39, 32], Operations: ['85-81=4', '8*4=32']
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[8, 81, 39, 85], Operations: []
Exploring Operation: 81-8=73, Resulting Numbers: [39, 85, 73]
Generated Node #0,0: 71:[39, 85, 73] Operation: 81-8=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[39, 85, 73], Operations: ['81-8=73']
Exploring Operation: 85-39=46, Resulting Numbers: [73, 46]
Generated Node #0,0,0: 71:[73, 46] Operation: 85-39=46
Moving to Node #0,0,0
Current State: 71:[73, 46], Operations: ['81-8=73', '85-39=46']
Exploring Operation: 73-46=27, Resulting Numbers: [27]
27,71 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 |
[
78,
25,
15,
6
] | 37 | [
"78-25=53",
"15*6=90",
"90-53=37"
] | Current State: 37:[78, 25, 15, 6], Operations: []
Exploring Operation: 78-25=53, Resulting Numbers: [15, 6, 53]
Generated Node #2: [15, 6, 53] from Operation: 78-25=53
Current State: 37:[15, 6, 53], Operations: ['78-25=53']
Exploring Operation: 15*6=90, Resulting Numbers: [53, 90]
Generated Node #3: [53, 90] from Operation: 15*6=90
Current State: 37:[53, 90], Operations: ['78-25=53', '15*6=90']
Exploring Operation: 90-53=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[78, 25, 15, 6], Operations: []
Exploring Operation: 78/6=13, Resulting Numbers: [25, 15, 13]
Generated Node #0,0: 37:[25, 15, 13] Operation: 78/6=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[25, 15, 13], Operations: ['78/6=13']
Exploring Operation: 15+13=28, Resulting Numbers: [25, 28]
Generated Node #0,0,0: 37:[25, 28] Operation: 15+13=28
Moving to Node #0,0,0
Current State: 37:[25, 28], Operations: ['78/6=13', '15+13=28']
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,37 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 |
[
15,
49,
16,
92
] | 12 | [
"15+49=64",
"92-16=76",
"76-64=12"
] | Current State: 12:[15, 49, 16, 92], Operations: []
Exploring Operation: 15+49=64, Resulting Numbers: [16, 92, 64]
Generated Node #2: [16, 92, 64] from Operation: 15+49=64
Current State: 12:[16, 92, 64], Operations: ['15+49=64']
Exploring Operation: 92-16=76, Resulting Numbers: [64, 76]
Generated Node #3: [64, 76] from Operation: 92-16=76
Current State: 12:[64, 76], Operations: ['15+49=64', '92-16=76']
Exploring Operation: 76-64=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[15, 49, 16, 92], Operations: []
Exploring Operation: 49-15=34, Resulting Numbers: [16, 92, 34]
Generated Node #0,0: 12:[16, 92, 34] Operation: 49-15=34
Exploring Operation: 49-16=33, Resulting Numbers: [15, 92, 33]
Generated Node #0,1: 12:[15, 92, 33] Operation: 49-16=33
Exploring Operation: 92-49=43, Resulting Numbers: [15, 16, 43]
Generated Node #0,2: 12:[15, 16, 43] Operation: 92-49=43
Exploring Operation: 92-16=76, Resulting Numbers: [15, 49, 76]
Generated Node #0,3: 12:[15, 49, 76] Operation: 92-16=76
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[15, 16, 43], Operations: ['92-49=43']
Exploring Operation: 43-16=27, Resulting Numbers: [15, 27]
Generated Node #0,2,0: 12:[15, 27] Operation: 43-16=27
Exploring Operation: 15+16=31, Resulting Numbers: [43, 31]
Generated Node #0,2,1: 12:[43, 31] Operation: 15+16=31
Exploring Operation: 43-15=28, Resulting Numbers: [16, 28]
Generated Node #0,2,2: 12:[16, 28] Operation: 43-15=28
Exploring Operation: 16-15=1, Resulting Numbers: [43, 1]
Generated Node #0,2,3: 12:[43, 1] Operation: 16-15=1
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 12:[15, 27], Operations: ['92-49=43', '43-16=27']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[15, 49, 16, 92], Operations: []
Exploring Operation: 92-49=43, Resulting Numbers: [15, 16, 43]
Generated Node #0,2: 12:[15, 16, 43] Operation: 92-49=43
Moving to Node #0,2
Current State: 12:[15, 16, 43], Operations: ['92-49=43']
Exploring Operation: 43-16=27, Resulting Numbers: [15, 27]
Generated Node #0,2,0: 12:[15, 27] Operation: 43-16=27
Moving to Node #0,2,0
Current State: 12:[15, 27], Operations: ['92-49=43', '43-16=27']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
27,
63,
91,
9
] | 89 | [
"27*9=243",
"63+91=154",
"243-154=89"
] | Current State: 89:[27, 63, 91, 9], Operations: []
Exploring Operation: 27*9=243, Resulting Numbers: [63, 91, 243]
Generated Node #2: [63, 91, 243] from Operation: 27*9=243
Current State: 89:[63, 91, 243], Operations: ['27*9=243']
Exploring Operation: 63+91=154, Resulting Numbers: [243, 154]
Generated Node #3: [243, 154] from Operation: 63+91=154
Current State: 89:[243, 154], Operations: ['27*9=243', '63+91=154']
Exploring Operation: 243-154=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[27, 63, 91, 9], Operations: []
Exploring Operation: 27+9=36, Resulting Numbers: [63, 91, 36]
Generated Node #0,0: 89:[63, 91, 36] Operation: 27+9=36
Moving to Node #0,0
Current State: 89:[63, 91, 36], Operations: ['27+9=36']
Exploring Operation: 63+36=99, Resulting Numbers: [91, 99]
Generated Node #0,0,0: 89:[91, 99] Operation: 63+36=99
Moving to Node #0,0,0
Current State: 89:[91, 99], Operations: ['27+9=36', '63+36=99']
Exploring Operation: 99-91=8, Resulting Numbers: [8]
8,89 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
59,
74,
78,
62
] | 14 | [
"59*78=4602",
"74*62=4588",
"4602-4588=14"
] | Current State: 14:[59, 74, 78, 62], Operations: []
Exploring Operation: 59*78=4602, Resulting Numbers: [74, 62, 4602]
Generated Node #2: [74, 62, 4602] from Operation: 59*78=4602
Current State: 14:[74, 62, 4602], Operations: ['59*78=4602']
Exploring Operation: 74*62=4588, Resulting Numbers: [4602, 4588]
Generated Node #3: [4602, 4588] from Operation: 74*62=4588
Current State: 14:[4602, 4588], Operations: ['59*78=4602', '74*62=4588']
Exploring Operation: 4602-4588=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[59, 74, 78, 62], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [59, 62, 4]
Generated Node #0,0: 14:[59, 62, 4] Operation: 78-74=4
Exploring Operation: 78-62=16, Resulting Numbers: [59, 74, 16]
Generated Node #0,1: 14:[59, 74, 16] Operation: 78-62=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[59, 62, 4], Operations: ['78-74=4']
Exploring Operation: 62-59=3, Resulting Numbers: [4, 3]
Generated Node #0,0,0: 14:[4, 3] Operation: 62-59=3
Exploring Operation: 59-4=55, Resulting Numbers: [62, 55]
Generated Node #0,0,1: 14:[62, 55] Operation: 59-4=55
Moving to Node #0,0,0
Current State: 14:[4, 3], Operations: ['78-74=4', '62-59=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[62, 55], Operations: ['78-74=4', '59-4=55']
Exploring Operation: 62-55=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 62+55=117, Resulting Numbers: [117]
117,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
Current State: 14:[59, 74, 16], Operations: ['78-62=16']
Exploring Operation: 74-59=15, Resulting Numbers: [16, 15]
Generated Node #0,1,0: 14:[16, 15] Operation: 74-59=15
Exploring Operation: 59-16=43, Resulting Numbers: [74, 43]
Generated Node #0,1,1: 14:[74, 43] Operation: 59-16=43
Moving to Node #0,1,0
Current State: 14:[16, 15], Operations: ['78-62=16', '74-59=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,14 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[74, 43], Operations: ['78-62=16', '59-16=43']
Exploring Operation: 74-43=31, Resulting Numbers: [31]
31,14 unequal: No Solution
Exploring Operation: 74+43=117, Resulting Numbers: [117]
117,14 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 |
[
12,
6,
80,
97
] | 57 | [
"12/6=2",
"80/2=40",
"97-40=57"
] | Current State: 57:[12, 6, 80, 97], Operations: []
Exploring Operation: 12/6=2, Resulting Numbers: [80, 97, 2]
Generated Node #2: [80, 97, 2] from Operation: 12/6=2
Current State: 57:[80, 97, 2], Operations: ['12/6=2']
Exploring Operation: 80/2=40, Resulting Numbers: [97, 40]
Generated Node #3: [97, 40] from Operation: 80/2=40
Current State: 57:[97, 40], Operations: ['12/6=2', '80/2=40']
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[12, 6, 80, 97], Operations: []
Exploring Operation: 97-12=85, Resulting Numbers: [6, 80, 85]
Generated Node #0,0: 57:[6, 80, 85] Operation: 97-12=85
Exploring Operation: 97-80=17, Resulting Numbers: [12, 6, 17]
Generated Node #0,1: 57:[12, 6, 17] Operation: 97-80=17
Exploring Operation: 80-12=68, Resulting Numbers: [6, 97, 68]
Generated Node #0,2: 57:[6, 97, 68] Operation: 80-12=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[12, 6, 17], Operations: ['97-80=17']
Exploring Operation: 12-6=6, Resulting Numbers: [17, 6]
Generated Node #0,1,0: 57:[17, 6] Operation: 12-6=6
Exploring Operation: 12+6=18, Resulting Numbers: [17, 18]
Generated Node #0,1,1: 57:[17, 18] Operation: 12+6=18
Exploring Operation: 12/6=2, Resulting Numbers: [17, 2]
Generated Node #0,1,2: 57:[17, 2] Operation: 12/6=2
Moving to Node #0,1,1
Current State: 57:[17, 18], Operations: ['97-80=17', '12+6=18']
Exploring Operation: 17*18=306, Resulting Numbers: [306]
306,57 unequal: No Solution
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,57 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[17, 2], Operations: ['97-80=17', '12/6=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[17, 6], Operations: ['97-80=17', '12-6=6']
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,57 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[6, 80, 85], Operations: ['97-12=85']
Exploring Operation: 85-80=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 57:[6, 5] Operation: 85-80=5
Exploring Operation: 80-6=74, Resulting Numbers: [85, 74]
Generated Node #0,0,1: 57:[85, 74] Operation: 80-6=74
Exploring Operation: 85-6=79, Resulting Numbers: [80, 79]
Generated Node #0,0,2: 57:[80, 79] Operation: 85-6=79
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[6, 5], Operations: ['97-12=85', '85-80=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,57 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[85, 74], Operations: ['97-12=85', '80-6=74']
Exploring Operation: 85*74=6290, Resulting Numbers: [6290]
6290,57 unequal: No Solution
Exploring Operation: 85-74=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 85+74=159, Resulting Numbers: [159]
159,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 57:[80, 79], Operations: ['97-12=85', '85-6=79']
Exploring Operation: 80+79=159, Resulting Numbers: [159]
159,57 unequal: No Solution
Exploring Operation: 80*79=6320, Resulting Numbers: [6320]
6320,57 unequal: No Solution
Exploring Operation: 80-79=1, Resulting Numbers: [1]
1,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[6, 97, 68], Operations: ['80-12=68']
Exploring Operation: 68-6=62, Resulting Numbers: [97, 62]
Generated Node #0,2,0: 57:[97, 62] Operation: 68-6=62
Exploring Operation: 97-6=91, Resulting Numbers: [68, 91]
Generated Node #0,2,1: 57:[68, 91] Operation: 97-6=91
Exploring Operation: 97-68=29, Resulting Numbers: [6, 29]
Generated Node #0,2,2: 57:[6, 29] Operation: 97-68=29
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 57:[6, 29], Operations: ['80-12=68', '97-68=29']
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,57 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 57:[97, 62], Operations: ['80-12=68', '68-6=62']
Exploring Operation: 97-62=35, Resulting Numbers: [35]
35,57 unequal: No Solution
Exploring Operation: 97+62=159, Resulting Numbers: [159]
159,57 unequal: No Solution
Exploring Operation: 97*62=6014, Resulting Numbers: [6014]
6014,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 57:[68, 91], Operations: ['80-12=68', '97-6=91']
Exploring Operation: 68+91=159, Resulting Numbers: [159]
159,57 unequal: No Solution
Exploring Operation: 68*91=6188, Resulting Numbers: [6188]
6188,57 unequal: No Solution
Exploring Operation: 91-68=23, Resulting Numbers: [23]
23,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
89,
90,
89,
4
] | 86 | [
"89+90=179",
"89+4=93",
"179-93=86"
] | Current State: 86:[89, 90, 89, 4], Operations: []
Exploring Operation: 89+90=179, Resulting Numbers: [4, 179]
Generated Node #2: [4, 179] from Operation: 89+90=179
Current State: 86:[4, 179], Operations: ['89+90=179']
Exploring Operation: 89+4=93, Resulting Numbers: [179, 93]
Generated Node #3: [179, 93] from Operation: 89+4=93
Current State: 86:[179, 93], Operations: ['89+90=179', '89+4=93']
Exploring Operation: 179-93=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[89, 90, 89, 4], Operations: []
Exploring Operation: 90-89=1, Resulting Numbers: [89, 4, 1]
Generated Node #0,0: 86:[89, 4, 1] Operation: 90-89=1
Exploring Operation: 90-89=1, Resulting Numbers: [89, 4, 1]
Generated Node #0,1: 86:[89, 4, 1] Operation: 90-89=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[89, 4, 1], Operations: ['90-89=1']
Exploring Operation: 89-1=88, Resulting Numbers: [4, 88]
Generated Node #0,0,0: 86:[4, 88] Operation: 89-1=88
Exploring Operation: 89-4=85, Resulting Numbers: [1, 85]
Generated Node #0,0,1: 86:[1, 85] Operation: 89-4=85
Moving to Node #0,0,1
Current State: 86:[1, 85], Operations: ['90-89=1', '89-4=85']
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[89, 90, 89, 4], Operations: []
Exploring Operation: 90-89=1, Resulting Numbers: [89, 4, 1]
Generated Node #0,0: 86:[89, 4, 1] Operation: 90-89=1
Moving to Node #0,0
Current State: 86:[89, 4, 1], Operations: ['90-89=1']
Exploring Operation: 89-4=85, Resulting Numbers: [1, 85]
Generated Node #0,0,1: 86:[1, 85] Operation: 89-4=85
Moving to Node #0,0,1
Current State: 86:[1, 85], Operations: ['90-89=1', '89-4=85']
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
48,
38,
14,
83
] | 42 | [
"48+38=86",
"86-83=3",
"14*3=42"
] | Current State: 42:[48, 38, 14, 83], Operations: []
Exploring Operation: 48+38=86, Resulting Numbers: [14, 83, 86]
Generated Node #2: [14, 83, 86] from Operation: 48+38=86
Current State: 42:[14, 83, 86], Operations: ['48+38=86']
Exploring Operation: 86-83=3, Resulting Numbers: [14, 3]
Generated Node #3: [14, 3] from Operation: 86-83=3
Current State: 42:[14, 3], Operations: ['48+38=86', '86-83=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[48, 38, 14, 83], Operations: []
Exploring Operation: 38-14=24, Resulting Numbers: [48, 83, 24]
Generated Node #0,0: 42:[48, 83, 24] Operation: 38-14=24
Exploring Operation: 83-38=45, Resulting Numbers: [48, 14, 45]
Generated Node #0,1: 42:[48, 14, 45] Operation: 83-38=45
Exploring Operation: 83-14=69, Resulting Numbers: [48, 38, 69]
Generated Node #0,2: 42:[48, 38, 69] Operation: 83-14=69
Exploring Operation: 48-38=10, Resulting Numbers: [14, 83, 10]
Generated Node #0,3: 42:[14, 83, 10] Operation: 48-38=10
Exploring Operation: 83-48=35, Resulting Numbers: [38, 14, 35]
Generated Node #0,4: 42:[38, 14, 35] Operation: 83-48=35
Moving to Node #0,1
Current State: 42:[48, 14, 45], Operations: ['83-38=45']
Exploring Operation: 45-14=31, Resulting Numbers: [48, 31]
Generated Node #0,1,0: 42:[48, 31] Operation: 45-14=31
Exploring Operation: 48-45=3, Resulting Numbers: [14, 3]
Generated Node #0,1,1: 42:[14, 3] Operation: 48-45=3
Exploring Operation: 48-14=34, Resulting Numbers: [45, 34]
Generated Node #0,1,2: 42:[45, 34] Operation: 48-14=34
Exploring Operation: 48+14=62, Resulting Numbers: [45, 62]
Generated Node #0,1,3: 42:[45, 62] Operation: 48+14=62
Exploring Operation: 14+45=59, Resulting Numbers: [48, 59]
Generated Node #0,1,4: 42:[48, 59] Operation: 14+45=59
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[14, 3], Operations: ['83-38=45', '48-45=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[48, 38, 14, 83], Operations: []
Exploring Operation: 83-38=45, Resulting Numbers: [48, 14, 45]
Generated Node #0,1: 42:[48, 14, 45] Operation: 83-38=45
Moving to Node #0,1
Current State: 42:[48, 14, 45], Operations: ['83-38=45']
Exploring Operation: 48-45=3, Resulting Numbers: [14, 3]
Generated Node #0,1,1: 42:[14, 3] Operation: 48-45=3
Moving to Node #0,1,1
Current State: 42:[14, 3], Operations: ['83-38=45', '48-45=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
61,
83,
91,
44
] | 89 | [
"83-61=22",
"44/22=2",
"91-2=89"
] | Current State: 89:[61, 83, 91, 44], Operations: []
Exploring Operation: 83-61=22, Resulting Numbers: [91, 44, 22]
Generated Node #2: [91, 44, 22] from Operation: 83-61=22
Current State: 89:[91, 44, 22], Operations: ['83-61=22']
Exploring Operation: 44/22=2, Resulting Numbers: [91, 2]
Generated Node #3: [91, 2] from Operation: 44/22=2
Current State: 89:[91, 2], Operations: ['83-61=22', '44/22=2']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[61, 83, 91, 44], Operations: []
Exploring Operation: 91-44=47, Resulting Numbers: [61, 83, 47]
Generated Node #0,0: 89:[61, 83, 47] Operation: 91-44=47
Exploring Operation: 83+44=127, Resulting Numbers: [61, 91, 127]
Generated Node #0,1: 89:[61, 91, 127] Operation: 83+44=127
Exploring Operation: 61+44=105, Resulting Numbers: [83, 91, 105]
Generated Node #0,2: 89:[83, 91, 105] Operation: 61+44=105
Moving to Node #0,2
Current State: 89:[83, 91, 105], Operations: ['61+44=105']
Exploring Operation: 105-91=14, Resulting Numbers: [83, 14]
Generated Node #0,2,0: 89:[83, 14] Operation: 105-91=14
Exploring Operation: 91-83=8, Resulting Numbers: [105, 8]
Generated Node #0,2,1: 89:[105, 8] Operation: 91-83=8
Exploring Operation: 105-83=22, Resulting Numbers: [91, 22]
Generated Node #0,2,2: 89:[91, 22] Operation: 105-83=22
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[91, 22], Operations: ['61+44=105', '105-83=22']
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,89 unequal: No Solution
Exploring Operation: 91*22=2002, Resulting Numbers: [2002]
2002,89 unequal: No Solution
Exploring Operation: 91+22=113, Resulting Numbers: [113]
113,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,0
Current State: 89:[83, 14], Operations: ['61+44=105', '105-91=14']
Exploring Operation: 83*14=1162, Resulting Numbers: [1162]
1162,89 unequal: No Solution
Exploring Operation: 83+14=97, Resulting Numbers: [97]
97,89 unequal: No Solution
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,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,1
Current State: 89:[105, 8], Operations: ['61+44=105', '91-83=8']
Exploring Operation: 105-8=97, Resulting Numbers: [97]
97,89 unequal: No Solution
Exploring Operation: 105*8=840, Resulting Numbers: [840]
840,89 unequal: No Solution
Exploring Operation: 105+8=113, Resulting Numbers: [113]
113,89 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: 89:[61, 91, 127], Operations: ['83+44=127']
Exploring Operation: 91-61=30, Resulting Numbers: [127, 30]
Generated Node #0,1,0: 89:[127, 30] Operation: 91-61=30
Exploring Operation: 127-61=66, Resulting Numbers: [91, 66]
Generated Node #0,1,1: 89:[91, 66] Operation: 127-61=66
Exploring Operation: 127-91=36, Resulting Numbers: [61, 36]
Generated Node #0,1,2: 89:[61, 36] Operation: 127-91=36
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[91, 66], Operations: ['83+44=127', '127-61=66']
Exploring Operation: 91-66=25, Resulting Numbers: [25]
25,89 unequal: No Solution
Exploring Operation: 91+66=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Exploring Operation: 91*66=6006, Resulting Numbers: [6006]
6006,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[61, 36], Operations: ['83+44=127', '127-91=36']
Exploring Operation: 61*36=2196, Resulting Numbers: [2196]
2196,89 unequal: No Solution
Exploring Operation: 61+36=97, Resulting Numbers: [97]
97,89 unequal: No Solution
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[127, 30], Operations: ['83+44=127', '91-61=30']
Exploring Operation: 127+30=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Exploring Operation: 127*30=3810, Resulting Numbers: [3810]
3810,89 unequal: No Solution
Exploring Operation: 127-30=97, Resulting Numbers: [97]
97,89 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: 89:[61, 83, 47], Operations: ['91-44=47']
Exploring Operation: 83+47=130, Resulting Numbers: [61, 130]
Generated Node #0,0,0: 89:[61, 130] Operation: 83+47=130
Exploring Operation: 61-47=14, Resulting Numbers: [83, 14]
Generated Node #0,0,1: 89:[83, 14] Operation: 61-47=14
Exploring Operation: 61+47=108, Resulting Numbers: [83, 108]
Generated Node #0,0,2: 89:[83, 108] Operation: 61+47=108
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[83, 108], Operations: ['91-44=47', '61+47=108']
Exploring Operation: 83*108=8964, Resulting Numbers: [8964]
8964,89 unequal: No Solution
Exploring Operation: 108-83=25, Resulting Numbers: [25]
25,89 unequal: No Solution
Exploring Operation: 83+108=191, Resulting Numbers: [191]
191,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[61, 130], Operations: ['91-44=47', '83+47=130']
Exploring Operation: 61*130=7930, Resulting Numbers: [7930]
7930,89 unequal: No Solution
Exploring Operation: 130-61=69, Resulting Numbers: [69]
69,89 unequal: No Solution
Exploring Operation: 61+130=191, Resulting Numbers: [191]
191,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[83, 14], Operations: ['91-44=47', '61-47=14']
Exploring Operation: 83*14=1162, Resulting Numbers: [1162]
1162,89 unequal: No Solution
Exploring Operation: 83+14=97, Resulting Numbers: [97]
97,89 unequal: No Solution
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
32,
49,
11,
80
] | 95 | [
"49-11=38",
"80*38=3040",
"3040/32=95"
] | Current State: 95:[32, 49, 11, 80], Operations: []
Exploring Operation: 49-11=38, Resulting Numbers: [32, 80, 38]
Generated Node #2: [32, 80, 38] from Operation: 49-11=38
Current State: 95:[32, 80, 38], Operations: ['49-11=38']
Exploring Operation: 80*38=3040, Resulting Numbers: [32, 3040]
Generated Node #3: [32, 3040] from Operation: 80*38=3040
Current State: 95:[32, 3040], Operations: ['49-11=38', '80*38=3040']
Exploring Operation: 3040/32=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[32, 49, 11, 80], Operations: []
Exploring Operation: 80-49=31, Resulting Numbers: [32, 11, 31]
Generated Node #0,0: 95:[32, 11, 31] Operation: 80-49=31
Exploring Operation: 49-32=17, Resulting Numbers: [11, 80, 17]
Generated Node #0,1: 95:[11, 80, 17] Operation: 49-32=17
Exploring Operation: 32+49=81, Resulting Numbers: [11, 80, 81]
Generated Node #0,2: 95:[11, 80, 81] Operation: 32+49=81
Moving to Node #0,1
Current State: 95:[11, 80, 17], Operations: ['49-32=17']
Exploring Operation: 11+80=91, Resulting Numbers: [17, 91]
Generated Node #0,1,0: 95:[17, 91] Operation: 11+80=91
Exploring Operation: 17-11=6, Resulting Numbers: [80, 6]
Generated Node #0,1,1: 95:[80, 6] Operation: 17-11=6
Exploring Operation: 80+17=97, Resulting Numbers: [11, 97]
Generated Node #0,1,2: 95:[11, 97] Operation: 80+17=97
Moving to Node #0,0
Current State: 95:[32, 11, 31], Operations: ['80-49=31']
Exploring Operation: 32-31=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 95:[11, 1] Operation: 32-31=1
Exploring Operation: 31-11=20, Resulting Numbers: [32, 20]
Generated Node #0,0,1: 95:[32, 20] Operation: 31-11=20
Exploring Operation: 32-11=21, Resulting Numbers: [31, 21]
Generated Node #0,0,2: 95:[31, 21] Operation: 32-11=21
Moving to Node #0,2
Current State: 95:[11, 80, 81], Operations: ['32+49=81']
Exploring Operation: 11+80=91, Resulting Numbers: [81, 91]
Generated Node #0,2,0: 95:[81, 91] Operation: 11+80=91
Exploring Operation: 81-80=1, Resulting Numbers: [11, 1]
Generated Node #0,2,1: 95:[11, 1] Operation: 81-80=1
Exploring Operation: 11+81=92, Resulting Numbers: [80, 92]
Generated Node #0,2,2: 95:[80, 92] Operation: 11+81=92
Moving to Node #0,1,0
Current State: 95:[17, 91], Operations: ['49-32=17', '11+80=91']
Exploring Operation: 17+91=108, Resulting Numbers: [108]
108,95 unequal: No Solution
Exploring Operation: 17*91=1547, Resulting Numbers: [1547]
1547,95 unequal: No Solution
Exploring Operation: 91-17=74, Resulting Numbers: [74]
74,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[11, 97], Operations: ['49-32=17', '80+17=97']
Exploring Operation: 11*97=1067, Resulting Numbers: [1067]
1067,95 unequal: No Solution
Exploring Operation: 97-11=86, Resulting Numbers: [86]
86,95 unequal: No Solution
Exploring Operation: 11+97=108, Resulting Numbers: [108]
108,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[11, 1], Operations: ['32+49=81', '81-80=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,95 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[11, 1], Operations: ['80-49=31', '32-31=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[31, 21], Operations: ['80-49=31', '32-11=21']
Exploring Operation: 31+21=52, Resulting Numbers: [52]
52,95 unequal: No Solution
Exploring Operation: 31*21=651, Resulting Numbers: [651]
651,95 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[32, 20], Operations: ['80-49=31', '31-11=20']
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,95 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[80, 6], Operations: ['49-32=17', '17-11=6']
Exploring Operation: 80*6=480, Resulting Numbers: [480]
480,95 unequal: No Solution
Exploring Operation: 80+6=86, Resulting Numbers: [86]
86,95 unequal: No Solution
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[81, 91], Operations: ['32+49=81', '11+80=91']
Exploring Operation: 81+91=172, Resulting Numbers: [172]
172,95 unequal: No Solution
Exploring Operation: 91-81=10, Resulting Numbers: [10]
10,95 unequal: No Solution
Exploring Operation: 81*91=7371, Resulting Numbers: [7371]
7371,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[80, 92], Operations: ['32+49=81', '11+81=92']
Exploring Operation: 80+92=172, Resulting Numbers: [172]
172,95 unequal: No Solution
Exploring Operation: 92-80=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Exploring Operation: 80*92=7360, Resulting Numbers: [7360]
7360,95 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
16,
6,
45,
73
] | 22 | [
"16*6=96",
"45+73=118",
"118-96=22"
] | Current State: 22:[16, 6, 45, 73], Operations: []
Exploring Operation: 16*6=96, Resulting Numbers: [45, 73, 96]
Generated Node #2: [45, 73, 96] from Operation: 16*6=96
Current State: 22:[45, 73, 96], Operations: ['16*6=96']
Exploring Operation: 45+73=118, Resulting Numbers: [96, 118]
Generated Node #3: [96, 118] from Operation: 45+73=118
Current State: 22:[96, 118], Operations: ['16*6=96', '45+73=118']
Exploring Operation: 118-96=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[16, 6, 45, 73], Operations: []
Exploring Operation: 73-45=28, Resulting Numbers: [16, 6, 28]
Generated Node #0,0: 22:[16, 6, 28] Operation: 73-45=28
Exploring Operation: 45-16=29, Resulting Numbers: [6, 73, 29]
Generated Node #0,1: 22:[6, 73, 29] Operation: 45-16=29
Exploring Operation: 73-6=67, Resulting Numbers: [16, 45, 67]
Generated Node #0,2: 22:[16, 45, 67] Operation: 73-6=67
Exploring Operation: 45-6=39, Resulting Numbers: [16, 73, 39]
Generated Node #0,3: 22:[16, 73, 39] Operation: 45-6=39
Exploring Operation: 73-16=57, Resulting Numbers: [6, 45, 57]
Generated Node #0,4: 22:[6, 45, 57] Operation: 73-16=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[16, 6, 28], Operations: ['73-45=28']
Exploring Operation: 6+28=34, Resulting Numbers: [16, 34]
Generated Node #0,0,0: 22:[16, 34] Operation: 6+28=34
Exploring Operation: 28-6=22, Resulting Numbers: [16, 22]
Generated Node #0,0,1: 22:[16, 22] Operation: 28-6=22
Exploring Operation: 16-6=10, Resulting Numbers: [28, 10]
Generated Node #0,0,2: 22:[28, 10] Operation: 16-6=10
Exploring Operation: 16+6=22, Resulting Numbers: [28, 22]
Generated Node #0,0,3: 22:[28, 22] Operation: 16+6=22
Exploring Operation: 28-16=12, Resulting Numbers: [6, 12]
Generated Node #0,0,4: 22:[6, 12] Operation: 28-16=12
Moving to Node #0,0,1
Current State: 22:[16, 22], Operations: ['73-45=28', '28-6=22']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 16*22=352, Resulting Numbers: [352]
352,22 unequal: No Solution
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,22 unequal: No Solution
Moving to Node #0,0,4
Current State: 22:[6, 12], Operations: ['73-45=28', '28-16=12']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,22 unequal: No Solution
Moving to Node #0,0,3
Current State: 22:[28, 22], Operations: ['73-45=28', '16+6=22']
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,22 unequal: No Solution
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[28, 10], Operations: ['73-45=28', '16-6=10']
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,22 unequal: No Solution
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,22 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[16, 34], Operations: ['73-45=28', '6+28=34']
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,22 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,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
Current State: 22:[6, 73, 29], Operations: ['45-16=29']
Exploring Operation: 73-29=44, Resulting Numbers: [6, 44]
Generated Node #0,1,0: 22:[6, 44] Operation: 73-29=44
Exploring Operation: 73-6=67, Resulting Numbers: [29, 67]
Generated Node #0,1,1: 22:[29, 67] Operation: 73-6=67
Exploring Operation: 6+29=35, Resulting Numbers: [73, 35]
Generated Node #0,1,2: 22:[73, 35] Operation: 6+29=35
Exploring Operation: 29-6=23, Resulting Numbers: [73, 23]
Generated Node #0,1,3: 22:[73, 23] Operation: 29-6=23
Exploring Operation: 6+73=79, Resulting Numbers: [29, 79]
Generated Node #0,1,4: 22:[29, 79] Operation: 6+73=79
Moving to Node #0,1,0
Current State: 22:[6, 44], Operations: ['45-16=29', '73-29=44']
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,22 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,22 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,22 unequal: No Solution
Moving to Node #0,1,3
Current State: 22:[73, 23], Operations: ['45-16=29', '29-6=23']
Exploring Operation: 73*23=1679, Resulting Numbers: [1679]
1679,22 unequal: No Solution
Exploring Operation: 73-23=50, Resulting Numbers: [50]
50,22 unequal: No Solution
Exploring Operation: 73+23=96, Resulting Numbers: [96]
96,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[29, 67], Operations: ['45-16=29', '73-6=67']
Exploring Operation: 29*67=1943, Resulting Numbers: [1943]
1943,22 unequal: No Solution
Exploring Operation: 29+67=96, Resulting Numbers: [96]
96,22 unequal: No Solution
Exploring Operation: 67-29=38, Resulting Numbers: [38]
38,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[73, 35], Operations: ['45-16=29', '6+29=35']
Exploring Operation: 73+35=108, Resulting Numbers: [108]
108,22 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,22 unequal: No Solution
Exploring Operation: 73*35=2555, Resulting Numbers: [2555]
2555,22 unequal: No Solution
Moving to Node #0,1,4
Current State: 22:[29, 79], Operations: ['45-16=29', '6+73=79']
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,22 unequal: No Solution
Exploring Operation: 29+79=108, Resulting Numbers: [108]
108,22 unequal: No Solution
Exploring Operation: 29*79=2291, Resulting Numbers: [2291]
2291,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,4
Current State: 22:[6, 45, 57], Operations: ['73-16=57']
Exploring Operation: 57-45=12, Resulting Numbers: [6, 12]
Generated Node #0,4,0: 22:[6, 12] Operation: 57-45=12
Exploring Operation: 6+45=51, Resulting Numbers: [57, 51]
Generated Node #0,4,1: 22:[57, 51] Operation: 6+45=51
Exploring Operation: 45-6=39, Resulting Numbers: [57, 39]
Generated Node #0,4,2: 22:[57, 39] Operation: 45-6=39
Exploring Operation: 6+57=63, Resulting Numbers: [45, 63]
Generated Node #0,4,3: 22:[45, 63] Operation: 6+57=63
Exploring Operation: 57-6=51, Resulting Numbers: [45, 51]
Generated Node #0,4,4: 22:[45, 51] Operation: 57-6=51
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 22:[6, 12], Operations: ['73-16=57', '57-45=12']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,22 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 22:[57, 39], Operations: ['73-16=57', '45-6=39']
Exploring Operation: 57-39=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Exploring Operation: 57+39=96, Resulting Numbers: [96]
96,22 unequal: No Solution
Exploring Operation: 57*39=2223, Resulting Numbers: [2223]
2223,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 22:[45, 51], Operations: ['73-16=57', '57-6=51']
Exploring Operation: 45*51=2295, Resulting Numbers: [2295]
2295,22 unequal: No Solution
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 45+51=96, Resulting Numbers: [96]
96,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 22:[57, 51], Operations: ['73-16=57', '6+45=51']
Exploring Operation: 57-51=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 57*51=2907, Resulting Numbers: [2907]
2907,22 unequal: No Solution
Exploring Operation: 57+51=108, Resulting Numbers: [108]
108,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 22:[45, 63], Operations: ['73-16=57', '6+57=63']
Exploring Operation: 45*63=2835, Resulting Numbers: [2835]
2835,22 unequal: No Solution
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Exploring Operation: 45+63=108, Resulting Numbers: [108]
108,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[16, 45, 67], Operations: ['73-6=67']
Exploring Operation: 16+67=83, Resulting Numbers: [45, 83]
Generated Node #0,2,0: 22:[45, 83] Operation: 16+67=83
Exploring Operation: 45-16=29, Resulting Numbers: [67, 29]
Generated Node #0,2,1: 22:[67, 29] Operation: 45-16=29
Exploring Operation: 16+45=61, Resulting Numbers: [67, 61]
Generated Node #0,2,2: 22:[67, 61] Operation: 16+45=61
Exploring Operation: 67-16=51, Resulting Numbers: [45, 51]
Generated Node #0,2,3: 22:[45, 51] Operation: 67-16=51
Exploring Operation: 67-45=22, Resulting Numbers: [16, 22]
Generated Node #0,2,4: 22:[16, 22] Operation: 67-45=22
Moving to Node #0,2,4
Current State: 22:[16, 22], Operations: ['73-6=67', '67-45=22']
Exploring Operation: 16*22=352, Resulting Numbers: [352]
352,22 unequal: No Solution
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,22 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Moving to Node #0,2,3
Current State: 22:[45, 51], Operations: ['73-6=67', '67-16=51']
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 45*51=2295, Resulting Numbers: [2295]
2295,22 unequal: No Solution
Exploring Operation: 45+51=96, Resulting Numbers: [96]
96,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[67, 29], Operations: ['73-6=67', '45-16=29']
Exploring Operation: 67-29=38, Resulting Numbers: [38]
38,22 unequal: No Solution
Exploring Operation: 67+29=96, Resulting Numbers: [96]
96,22 unequal: No Solution
Exploring Operation: 67*29=1943, Resulting Numbers: [1943]
1943,22 unequal: No Solution
Moving to Node #0,2,0
Current State: 22:[45, 83], Operations: ['73-6=67', '16+67=83']
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,22 unequal: No Solution
Exploring Operation: 45+83=128, Resulting Numbers: [128]
128,22 unequal: No Solution
Exploring Operation: 45*83=3735, Resulting Numbers: [3735]
3735,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[67, 61], Operations: ['73-6=67', '16+45=61']
Exploring Operation: 67+61=128, Resulting Numbers: [128]
128,22 unequal: No Solution
Exploring Operation: 67-61=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 67*61=4087, Resulting Numbers: [4087]
4087,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 22:[16, 73, 39], Operations: ['45-6=39']
Exploring Operation: 39-16=23, Resulting Numbers: [73, 23]
Generated Node #0,3,0: 22:[73, 23] Operation: 39-16=23
Exploring Operation: 73-39=34, Resulting Numbers: [16, 34]
Generated Node #0,3,1: 22:[16, 34] Operation: 73-39=34
Exploring Operation: 73-16=57, Resulting Numbers: [39, 57]
Generated Node #0,3,2: 22:[39, 57] Operation: 73-16=57
Exploring Operation: 16+39=55, Resulting Numbers: [73, 55]
Generated Node #0,3,3: 22:[73, 55] Operation: 16+39=55
Exploring Operation: 16+73=89, Resulting Numbers: [39, 89]
Generated Node #0,3,4: 22:[39, 89] Operation: 16+73=89
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 22:[16, 34], Operations: ['45-6=39', '73-39=34']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,22 unequal: No Solution
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 22:[73, 23], Operations: ['45-6=39', '39-16=23']
Exploring Operation: 73*23=1679, Resulting Numbers: [1679]
1679,22 unequal: No Solution
Exploring Operation: 73+23=96, Resulting Numbers: [96]
96,22 unequal: No Solution
Exploring Operation: 73-23=50, Resulting Numbers: [50]
50,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 22:[39, 57], Operations: ['45-6=39', '73-16=57']
Exploring Operation: 39+57=96, Resulting Numbers: [96]
96,22 unequal: No Solution
Exploring Operation: 39*57=2223, Resulting Numbers: [2223]
2223,22 unequal: No Solution
Exploring Operation: 57-39=18, Resulting Numbers: [18]
18,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 22:[73, 55], Operations: ['45-6=39', '16+39=55']
Exploring Operation: 73+55=128, Resulting Numbers: [128]
128,22 unequal: No Solution
Exploring Operation: 73*55=4015, Resulting Numbers: [4015]
4015,22 unequal: No Solution
Exploring Operation: 73-55=18, Resulting Numbers: [18]
18,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 22:[39, 89], Operations: ['45-6=39', '16+73=89']
Exploring Operation: 39*89=3471, Resulting Numbers: [3471]
3471,22 unequal: No Solution
Exploring Operation: 89-39=50, Resulting Numbers: [50]
50,22 unequal: No Solution
Exploring Operation: 39+89=128, Resulting Numbers: [128]
128,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
97,
96,
15,
92
] | 77 | [
"97-96=1",
"92-15=77",
"1*77=77"
] | Current State: 77:[97, 96, 15, 92], Operations: []
Exploring Operation: 97-96=1, Resulting Numbers: [15, 92, 1]
Generated Node #2: [15, 92, 1] from Operation: 97-96=1
Current State: 77:[15, 92, 1], Operations: ['97-96=1']
Exploring Operation: 92-15=77, Resulting Numbers: [1, 77]
Generated Node #3: [1, 77] from Operation: 92-15=77
Current State: 77:[1, 77], Operations: ['97-96=1', '92-15=77']
Exploring Operation: 1*77=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[97, 96, 15, 92], Operations: []
Exploring Operation: 97-96=1, Resulting Numbers: [15, 92, 1]
Generated Node #0,0: 77:[15, 92, 1] Operation: 97-96=1
Exploring Operation: 97-92=5, Resulting Numbers: [96, 15, 5]
Generated Node #0,1: 77:[96, 15, 5] Operation: 97-92=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[15, 92, 1], Operations: ['97-96=1']
Exploring Operation: 92-15=77, Resulting Numbers: [1, 77]
Generated Node #0,0,0: 77:[1, 77] Operation: 92-15=77
Exploring Operation: 15-1=14, Resulting Numbers: [92, 14]
Generated Node #0,0,1: 77:[92, 14] Operation: 15-1=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[1, 77], Operations: ['97-96=1', '92-15=77']
Exploring Operation: 1*77=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[97, 96, 15, 92], Operations: []
Exploring Operation: 97-96=1, Resulting Numbers: [15, 92, 1]
Generated Node #0,0: 77:[15, 92, 1] Operation: 97-96=1
Moving to Node #0,0
Current State: 77:[15, 92, 1], Operations: ['97-96=1']
Exploring Operation: 92-15=77, Resulting Numbers: [1, 77]
Generated Node #0,0,0: 77:[1, 77] Operation: 92-15=77
Moving to Node #0,0,0
Current State: 77:[1, 77], Operations: ['97-96=1', '92-15=77']
Exploring Operation: 1*77=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
28,
48,
29,
59
] | 16 | [
"28+59=87",
"48*29=1392",
"1392/87=16"
] | Current State: 16:[28, 48, 29, 59], Operations: []
Exploring Operation: 28+59=87, Resulting Numbers: [48, 29, 87]
Generated Node #2: [48, 29, 87] from Operation: 28+59=87
Current State: 16:[48, 29, 87], Operations: ['28+59=87']
Exploring Operation: 48*29=1392, Resulting Numbers: [87, 1392]
Generated Node #3: [87, 1392] from Operation: 48*29=1392
Current State: 16:[87, 1392], Operations: ['28+59=87', '48*29=1392']
Exploring Operation: 1392/87=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[28, 48, 29, 59], Operations: []
Exploring Operation: 48-28=20, Resulting Numbers: [29, 59, 20]
Generated Node #0,0: 16:[29, 59, 20] Operation: 48-28=20
Exploring Operation: 59-48=11, Resulting Numbers: [28, 29, 11]
Generated Node #0,1: 16:[28, 29, 11] Operation: 59-48=11
Exploring Operation: 48-29=19, Resulting Numbers: [28, 59, 19]
Generated Node #0,2: 16:[28, 59, 19] Operation: 48-29=19
Exploring Operation: 59-29=30, Resulting Numbers: [28, 48, 30]
Generated Node #0,3: 16:[28, 48, 30] Operation: 59-29=30
Moving to Node #0,1
Current State: 16:[28, 29, 11], Operations: ['59-48=11']
Exploring Operation: 28-11=17, Resulting Numbers: [29, 17]
Generated Node #0,1,0: 16:[29, 17] Operation: 28-11=17
Exploring Operation: 28+11=39, Resulting Numbers: [29, 39]
Generated Node #0,1,1: 16:[29, 39] Operation: 28+11=39
Exploring Operation: 29-28=1, Resulting Numbers: [11, 1]
Generated Node #0,1,2: 16:[11, 1] Operation: 29-28=1
Exploring Operation: 29-11=18, Resulting Numbers: [28, 18]
Generated Node #0,1,3: 16:[28, 18] Operation: 29-11=18
Moving to Node #0,3
Current State: 16:[28, 48, 30], Operations: ['59-29=30']
Exploring Operation: 28+48=76, Resulting Numbers: [30, 76]
Generated Node #0,3,0: 16:[30, 76] Operation: 28+48=76
Exploring Operation: 48-28=20, Resulting Numbers: [30, 20]
Generated Node #0,3,1: 16:[30, 20] Operation: 48-28=20
Exploring Operation: 30-28=2, Resulting Numbers: [48, 2]
Generated Node #0,3,2: 16:[48, 2] Operation: 30-28=2
Exploring Operation: 48-30=18, Resulting Numbers: [28, 18]
Generated Node #0,3,3: 16:[28, 18] Operation: 48-30=18
Moving to Node #0,2
Current State: 16:[28, 59, 19], Operations: ['48-29=19']
Exploring Operation: 28-19=9, Resulting Numbers: [59, 9]
Generated Node #0,2,0: 16:[59, 9] Operation: 28-19=9
Exploring Operation: 28+59=87, Resulting Numbers: [19, 87]
Generated Node #0,2,1: 16:[19, 87] Operation: 28+59=87
Exploring Operation: 59-19=40, Resulting Numbers: [28, 40]
Generated Node #0,2,2: 16:[28, 40] Operation: 59-19=40
Exploring Operation: 59-28=31, Resulting Numbers: [19, 31]
Generated Node #0,2,3: 16:[19, 31] Operation: 59-28=31
Moving to Node #0,0
Current State: 16:[29, 59, 20], Operations: ['48-28=20']
Exploring Operation: 29+59=88, Resulting Numbers: [20, 88]
Generated Node #0,0,0: 16:[20, 88] Operation: 29+59=88
Exploring Operation: 59-20=39, Resulting Numbers: [29, 39]
Generated Node #0,0,1: 16:[29, 39] Operation: 59-20=39
Exploring Operation: 29-20=9, Resulting Numbers: [59, 9]
Generated Node #0,0,2: 16:[59, 9] Operation: 29-20=9
Exploring Operation: 59-29=30, Resulting Numbers: [20, 30]
Generated Node #0,0,3: 16:[20, 30] Operation: 59-29=30
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 16:[20, 30], Operations: ['48-28=20', '59-29=30']
Exploring Operation: 20*30=600, Resulting Numbers: [600]
600,16 unequal: No Solution
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 20+30=50, Resulting Numbers: [50]
50,16 unequal: No Solution
No 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: 16:[29, 39], Operations: ['48-28=20', '59-20=39']
Exploring Operation: 29*39=1131, Resulting Numbers: [1131]
1131,16 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 29+39=68, Resulting Numbers: [68]
68,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,2
Current State: 16:[59, 9], Operations: ['48-28=20', '29-20=9']
Exploring Operation: 59+9=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 59*9=531, Resulting Numbers: [531]
531,16 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[20, 88], Operations: ['48-28=20', '29+59=88']
Exploring Operation: 20*88=1760, Resulting Numbers: [1760]
1760,16 unequal: No Solution
Exploring Operation: 88-20=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 20+88=108, Resulting Numbers: [108]
108,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 16:[11, 1], Operations: ['59-48=11', '29-28=1']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Moving to Node #0,1,3
Current State: 16:[28, 18], Operations: ['59-48=11', '29-11=18']
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[29, 17], Operations: ['59-48=11', '28-11=17']
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Exploring Operation: 29*17=493, Resulting Numbers: [493]
493,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[28, 18], Operations: ['59-29=30', '48-30=18']
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,16 unequal: No Solution
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Moving to Node #0,3,1
Current State: 16:[30, 20], Operations: ['59-29=30', '48-28=20']
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 30*20=600, Resulting Numbers: [600]
600,16 unequal: No Solution
Exploring Operation: 30+20=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Moving to Node #0,2,3
Current State: 16:[19, 31], Operations: ['48-29=19', '59-28=31']
Exploring Operation: 19*31=589, Resulting Numbers: [589]
589,16 unequal: No Solution
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Moving to Node #0,3,2
Current State: 16:[48, 2], Operations: ['59-29=30', '30-28=2']
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,16 unequal: No Solution
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[28, 40], Operations: ['48-29=19', '59-19=40']
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 28*40=1120, Resulting Numbers: [1120]
1120,16 unequal: No Solution
Exploring Operation: 28+40=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[29, 39], Operations: ['59-48=11', '28+11=39']
Exploring Operation: 29+39=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 29*39=1131, Resulting Numbers: [1131]
1131,16 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[59, 9], Operations: ['48-29=19', '28-19=9']
Exploring Operation: 59+9=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 59*9=531, Resulting Numbers: [531]
531,16 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[19, 87], Operations: ['48-29=19', '28+59=87']
Exploring Operation: 19+87=106, Resulting Numbers: [106]
106,16 unequal: No Solution
Exploring Operation: 87-19=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 19*87=1653, Resulting Numbers: [1653]
1653,16 unequal: No Solution
Moving to Node #0,3,0
Current State: 16:[30, 76], Operations: ['59-29=30', '28+48=76']
Exploring Operation: 30+76=106, Resulting Numbers: [106]
106,16 unequal: No Solution
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Exploring Operation: 30*76=2280, Resulting Numbers: [2280]
2280,16 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
5,
97,
64,
76
] | 89 | [
"97-64=33",
"5*33=165",
"165-76=89"
] | Current State: 89:[5, 97, 64, 76], Operations: []
Exploring Operation: 97-64=33, Resulting Numbers: [5, 76, 33]
Generated Node #2: [5, 76, 33] from Operation: 97-64=33
Current State: 89:[5, 76, 33], Operations: ['97-64=33']
Exploring Operation: 5*33=165, Resulting Numbers: [76, 165]
Generated Node #3: [76, 165] from Operation: 5*33=165
Current State: 89:[76, 165], Operations: ['97-64=33', '5*33=165']
Exploring Operation: 165-76=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[5, 97, 64, 76], Operations: []
Exploring Operation: 5+76=81, Resulting Numbers: [97, 64, 81]
Generated Node #0,0: 89:[97, 64, 81] Operation: 5+76=81
Exploring Operation: 97-5=92, Resulting Numbers: [64, 76, 92]
Generated Node #0,1: 89:[64, 76, 92] Operation: 97-5=92
Exploring Operation: 5+64=69, Resulting Numbers: [97, 76, 69]
Generated Node #0,2: 89:[97, 76, 69] Operation: 5+64=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[97, 64, 81], Operations: ['5+76=81']
Exploring Operation: 97-64=33, Resulting Numbers: [81, 33]
Generated Node #0,0,0: 89:[81, 33] Operation: 97-64=33
Exploring Operation: 97+64=161, Resulting Numbers: [81, 161]
Generated Node #0,0,1: 89:[81, 161] Operation: 97+64=161
Exploring Operation: 64+81=145, Resulting Numbers: [97, 145]
Generated Node #0,0,2: 89:[97, 145] Operation: 64+81=145
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[81, 33], Operations: ['5+76=81', '97-64=33']
Exploring Operation: 81*33=2673, Resulting Numbers: [2673]
2673,89 unequal: No Solution
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 81+33=114, Resulting Numbers: [114]
114,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 89:[97, 145], Operations: ['5+76=81', '64+81=145']
Exploring Operation: 97+145=242, Resulting Numbers: [242]
242,89 unequal: No Solution
Exploring Operation: 145-97=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 97*145=14065, Resulting Numbers: [14065]
14065,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[81, 161], Operations: ['5+76=81', '97+64=161']
Exploring Operation: 81*161=13041, Resulting Numbers: [13041]
13041,89 unequal: No Solution
Exploring Operation: 161-81=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 81+161=242, Resulting Numbers: [242]
242,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:[64, 76, 92], Operations: ['97-5=92']
Exploring Operation: 64+76=140, Resulting Numbers: [92, 140]
Generated Node #0,1,0: 89:[92, 140] Operation: 64+76=140
Exploring Operation: 92-64=28, Resulting Numbers: [76, 28]
Generated Node #0,1,1: 89:[76, 28] Operation: 92-64=28
Exploring Operation: 76-64=12, Resulting Numbers: [92, 12]
Generated Node #0,1,2: 89:[92, 12] Operation: 76-64=12
Moving to Node #0,1,0
Current State: 89:[92, 140], Operations: ['97-5=92', '64+76=140']
Exploring Operation: 140-92=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 92+140=232, Resulting Numbers: [232]
232,89 unequal: No Solution
Exploring Operation: 92*140=12880, Resulting Numbers: [12880]
12880,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[76, 28], Operations: ['97-5=92', '92-64=28']
Exploring Operation: 76+28=104, Resulting Numbers: [104]
104,89 unequal: No Solution
Exploring Operation: 76*28=2128, Resulting Numbers: [2128]
2128,89 unequal: No Solution
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[92, 12], Operations: ['97-5=92', '76-64=12']
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 92*12=1104, Resulting Numbers: [1104]
1104,89 unequal: No Solution
Exploring Operation: 92+12=104, Resulting Numbers: [104]
104,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:[97, 76, 69], Operations: ['5+64=69']
Exploring Operation: 97-76=21, Resulting Numbers: [69, 21]
Generated Node #0,2,0: 89:[69, 21] Operation: 97-76=21
Exploring Operation: 97-69=28, Resulting Numbers: [76, 28]
Generated Node #0,2,1: 89:[76, 28] Operation: 97-69=28
Exploring Operation: 76+69=145, Resulting Numbers: [97, 145]
Generated Node #0,2,2: 89:[97, 145] Operation: 76+69=145
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 89:[97, 145], Operations: ['5+64=69', '76+69=145']
Exploring Operation: 97+145=242, Resulting Numbers: [242]
242,89 unequal: No Solution
Exploring Operation: 145-97=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 97*145=14065, Resulting Numbers: [14065]
14065,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,1
Current State: 89:[76, 28], Operations: ['5+64=69', '97-69=28']
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 76*28=2128, Resulting Numbers: [2128]
2128,89 unequal: No Solution
Exploring Operation: 76+28=104, Resulting Numbers: [104]
104,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:[69, 21], Operations: ['5+64=69', '97-76=21']
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,89 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,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
No solution found.
| 0 | hs_3 | mult_heuristic |
[
38,
76,
2,
40
] | 44 | [
"76/38=2",
"2+40=42",
"2+42=44"
] | Current State: 44:[38, 76, 2, 40], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [2, 40, 2]
Generated Node #2: [2, 40, 2] from Operation: 76/38=2
Current State: 44:[2, 40, 2], Operations: ['76/38=2']
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,44 equal: Goal Reached
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[38, 76, 2, 40], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [2, 40, 2]
Generated Node #0,0: 44:[2, 40, 2] Operation: 76/38=2
Exploring Operation: 76-38=38, Resulting Numbers: [2, 40, 38]
Generated Node #0,1: 44:[2, 40, 38] Operation: 76-38=38
Moving to Node #0,0
Current State: 44:[2, 40, 2], Operations: ['76/38=2']
Exploring Operation: 2+40=42, Resulting Numbers: [2, 42]
Generated Node #0,0,0: 44:[2, 42] Operation: 2+40=42
Exploring Operation: 40/2=20, Resulting Numbers: [2, 20]
Generated Node #0,0,1: 44:[2, 20] Operation: 40/2=20
Moving to Node #0,1
Current State: 44:[2, 40, 38], Operations: ['76-38=38']
Exploring Operation: 38/2=19, Resulting Numbers: [40, 19]
Generated Node #0,1,0: 44:[40, 19] Operation: 38/2=19
Exploring Operation: 40-38=2, Resulting Numbers: [2, 2]
Generated Node #0,1,1: 44:[2, 2] Operation: 40-38=2
Moving to Node #0,1,1
Current State: 44:[2, 2], Operations: ['76-38=38', '40-38=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[2, 42], Operations: ['76/38=2', '2+40=42']
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[38, 76, 2, 40], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [2, 40, 2]
Generated Node #0,0: 44:[2, 40, 2] Operation: 76/38=2
Moving to Node #0,0
Current State: 44:[2, 40, 2], Operations: ['76/38=2']
Exploring Operation: 2+40=42, Resulting Numbers: [2, 42]
Generated Node #0,0,0: 44:[2, 42] Operation: 2+40=42
Moving to Node #0,0,0
Current State: 44:[2, 42], Operations: ['76/38=2', '2+40=42']
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.988715 | hs_2 | sum_heuristic |
[
17,
35,
13,
35
] | 31 | [
"17+35=52",
"52/13=4",
"35-4=31"
] | Current State: 31:[17, 35, 13, 35], Operations: []
Exploring Operation: 17+35=52, Resulting Numbers: [13, 52]
Generated Node #2: [13, 52] from Operation: 17+35=52
Current State: 31:[13, 52], Operations: ['17+35=52']
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,31 equal: Goal Reached
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[17, 35, 13, 35], Operations: []
Exploring Operation: 35-17=18, Resulting Numbers: [13, 35, 18]
Generated Node #0,0: 31:[13, 35, 18] Operation: 35-17=18
Exploring Operation: 35-13=22, Resulting Numbers: [17, 35, 22]
Generated Node #0,1: 31:[17, 35, 22] Operation: 35-13=22
Exploring Operation: 35-13=22, Resulting Numbers: [17, 35, 22]
Generated Node #0,2: 31:[17, 35, 22] Operation: 35-13=22
Exploring Operation: 17-13=4, Resulting Numbers: [35, 35, 4]
Generated Node #0,3: 31:[35, 35, 4] Operation: 17-13=4
Exploring Operation: 17+13=30, Resulting Numbers: [35, 35, 30]
Generated Node #0,4: 31:[35, 35, 30] Operation: 17+13=30
Start Sub Search at level 1: Moving to Node #0,4
Current State: 31:[35, 35, 30], Operations: ['17+13=30']
Exploring Operation: 35-30=5, Resulting Numbers: [35, 5]
Generated Node #0,4,0: 31:[35, 5] Operation: 35-30=5
Exploring Operation: 35-30=5, Resulting Numbers: [35, 5]
Generated Node #0,4,1: 31:[35, 5] Operation: 35-30=5
Exploring Operation: 35-35=0, Resulting Numbers: [30, 0]
Generated Node #0,4,2: 31:[30, 0] Operation: 35-35=0
Exploring Operation: 35+30=65, Resulting Numbers: [35, 65]
Generated Node #0,4,3: 31:[35, 65] Operation: 35+30=65
Exploring Operation: 35/35=1, Resulting Numbers: [30, 1]
Generated Node #0,4,4: 31:[30, 1] Operation: 35/35=1
Moving to Node #0,4,0
Current State: 31:[35, 5], Operations: ['17+13=30', '35-30=5']
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,31 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Moving to Node #0,4,1
Current State: 31:[35, 5], Operations: ['17+13=30', '35-30=5']
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,31 unequal: No Solution
Moving to Node #0,4,4
Current State: 31:[30, 1], Operations: ['17+13=30', '35/35=1']
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[17, 35, 13, 35], Operations: []
Exploring Operation: 17+13=30, Resulting Numbers: [35, 35, 30]
Generated Node #0,4: 31:[35, 35, 30] Operation: 17+13=30
Moving to Node #0,4
Current State: 31:[35, 35, 30], Operations: ['17+13=30']
Exploring Operation: 35/35=1, Resulting Numbers: [30, 1]
Generated Node #0,4,4: 31:[30, 1] Operation: 35/35=1
Moving to Node #0,4,4
Current State: 31:[30, 1], Operations: ['17+13=30', '35/35=1']
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | mult_heuristic |
[
31,
3,
58,
94
] | 19 | [
"94-58=36",
"36/3=12",
"31-12=19"
] | Current State: 19:[31, 3, 58, 94], Operations: []
Exploring Operation: 94-58=36, Resulting Numbers: [31, 3, 36]
Generated Node #2: [31, 3, 36] from Operation: 94-58=36
Current State: 19:[31, 3, 36], Operations: ['94-58=36']
Exploring Operation: 36/3=12, Resulting Numbers: [31, 12]
Generated Node #3: [31, 12] from Operation: 36/3=12
Current State: 19:[31, 12], Operations: ['94-58=36', '36/3=12']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[31, 3, 58, 94], Operations: []
Exploring Operation: 58-3=55, Resulting Numbers: [31, 94, 55]
Generated Node #0,0: 19:[31, 94, 55] Operation: 58-3=55
Exploring Operation: 58-31=27, Resulting Numbers: [3, 94, 27]
Generated Node #0,1: 19:[3, 94, 27] Operation: 58-31=27
Exploring Operation: 94-31=63, Resulting Numbers: [3, 58, 63]
Generated Node #0,2: 19:[3, 58, 63] Operation: 94-31=63
Exploring Operation: 31-3=28, Resulting Numbers: [58, 94, 28]
Generated Node #0,3: 19:[58, 94, 28] Operation: 31-3=28
Exploring Operation: 94-58=36, Resulting Numbers: [31, 3, 36]
Generated Node #0,4: 19:[31, 3, 36] Operation: 94-58=36
Moving to Node #0,4
Current State: 19:[31, 3, 36], Operations: ['94-58=36']
Exploring Operation: 36-3=33, Resulting Numbers: [31, 33]
Generated Node #0,4,0: 19:[31, 33] Operation: 36-3=33
Exploring Operation: 31-3=28, Resulting Numbers: [36, 28]
Generated Node #0,4,1: 19:[36, 28] Operation: 31-3=28
Exploring Operation: 36-31=5, Resulting Numbers: [3, 5]
Generated Node #0,4,2: 19:[3, 5] Operation: 36-31=5
Exploring Operation: 36/3=12, Resulting Numbers: [31, 12]
Generated Node #0,4,3: 19:[31, 12] Operation: 36/3=12
Exploring Operation: 31+3=34, Resulting Numbers: [36, 34]
Generated Node #0,4,4: 19:[36, 34] Operation: 31+3=34
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 19:[31, 12], Operations: ['94-58=36', '36/3=12']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[31, 3, 58, 94], Operations: []
Exploring Operation: 94-58=36, Resulting Numbers: [31, 3, 36]
Generated Node #0,4: 19:[31, 3, 36] Operation: 94-58=36
Moving to Node #0,4
Current State: 19:[31, 3, 36], Operations: ['94-58=36']
Exploring Operation: 36/3=12, Resulting Numbers: [31, 12]
Generated Node #0,4,3: 19:[31, 12] Operation: 36/3=12
Moving to Node #0,4,3
Current State: 19:[31, 12], Operations: ['94-58=36', '36/3=12']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
6,
35,
46,
27
] | 48 | [
"35-6=29",
"46-27=19",
"29+19=48"
] | Current State: 48:[6, 35, 46, 27], Operations: []
Exploring Operation: 35-6=29, Resulting Numbers: [46, 27, 29]
Generated Node #2: [46, 27, 29] from Operation: 35-6=29
Current State: 48:[46, 27, 29], Operations: ['35-6=29']
Exploring Operation: 46-27=19, Resulting Numbers: [29, 19]
Generated Node #3: [29, 19] from Operation: 46-27=19
Current State: 48:[29, 19], Operations: ['35-6=29', '46-27=19']
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[6, 35, 46, 27], Operations: []
Exploring Operation: 35-27=8, Resulting Numbers: [6, 46, 8]
Generated Node #0,0: 48:[6, 46, 8] Operation: 35-27=8
Exploring Operation: 46-35=11, Resulting Numbers: [6, 27, 11]
Generated Node #0,1: 48:[6, 27, 11] Operation: 46-35=11
Exploring Operation: 35-6=29, Resulting Numbers: [46, 27, 29]
Generated Node #0,2: 48:[46, 27, 29] Operation: 35-6=29
Exploring Operation: 6+35=41, Resulting Numbers: [46, 27, 41]
Generated Node #0,3: 48:[46, 27, 41] Operation: 6+35=41
Moving to Node #0,0
Current State: 48:[6, 46, 8], Operations: ['35-27=8']
Exploring Operation: 6+8=14, Resulting Numbers: [46, 14]
Generated Node #0,0,0: 48:[46, 14] Operation: 6+8=14
Exploring Operation: 8-6=2, Resulting Numbers: [46, 2]
Generated Node #0,0,1: 48:[46, 2] Operation: 8-6=2
Exploring Operation: 6*8=48, Resulting Numbers: [46, 48]
Generated Node #0,0,2: 48:[46, 48] Operation: 6*8=48
Exploring Operation: 6+46=52, Resulting Numbers: [8, 52]
Generated Node #0,0,3: 48:[8, 52] Operation: 6+46=52
Moving to Node #0,1
Current State: 48:[6, 27, 11], Operations: ['46-35=11']
Exploring Operation: 27-6=21, Resulting Numbers: [11, 21]
Generated Node #0,1,0: 48:[11, 21] Operation: 27-6=21
Exploring Operation: 11-6=5, Resulting Numbers: [27, 5]
Generated Node #0,1,1: 48:[27, 5] Operation: 11-6=5
Exploring Operation: 6+11=17, Resulting Numbers: [27, 17]
Generated Node #0,1,2: 48:[27, 17] Operation: 6+11=17
Exploring Operation: 27-11=16, Resulting Numbers: [6, 16]
Generated Node #0,1,3: 48:[6, 16] Operation: 27-11=16
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 48:[6, 16], Operations: ['46-35=11', '27-11=16']
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,48 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,48 unequal: No Solution
No 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: 48:[11, 21], Operations: ['46-35=11', '27-6=21']
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,48 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,48 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,48 unequal: No Solution
No 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: 48:[27, 5], Operations: ['46-35=11', '11-6=5']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,48 unequal: No Solution
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,48 unequal: No Solution
No 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: 48:[27, 17], Operations: ['46-35=11', '6+11=17']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,48 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,48 unequal: No Solution
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,48 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: 48:[46, 27, 29], Operations: ['35-6=29']
Exploring Operation: 46-29=17, Resulting Numbers: [27, 17]
Generated Node #0,2,0: 48:[27, 17] Operation: 46-29=17
Exploring Operation: 46-27=19, Resulting Numbers: [29, 19]
Generated Node #0,2,1: 48:[29, 19] Operation: 46-27=19
Exploring Operation: 29-27=2, Resulting Numbers: [46, 2]
Generated Node #0,2,2: 48:[46, 2] Operation: 29-27=2
Exploring Operation: 27+29=56, Resulting Numbers: [46, 56]
Generated Node #0,2,3: 48:[46, 56] Operation: 27+29=56
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 48:[46, 2], Operations: ['35-6=29', '29-27=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,48 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[6, 35, 46, 27], Operations: []
Exploring Operation: 35-6=29, Resulting Numbers: [46, 27, 29]
Generated Node #0,2: 48:[46, 27, 29] Operation: 35-6=29
Moving to Node #0,2
Current State: 48:[46, 27, 29], Operations: ['35-6=29']
Exploring Operation: 29-27=2, Resulting Numbers: [46, 2]
Generated Node #0,2,2: 48:[46, 2] Operation: 29-27=2
Moving to Node #0,2,2
Current State: 48:[46, 2], Operations: ['35-6=29', '29-27=2']
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | mult_heuristic |
[
96,
19,
81,
3
] | 16 | [
"19*81=1539",
"1539-3=1536",
"1536/96=16"
] | Current State: 16:[96, 19, 81, 3], Operations: []
Exploring Operation: 19*81=1539, Resulting Numbers: [96, 3, 1539]
Generated Node #2: [96, 3, 1539] from Operation: 19*81=1539
Current State: 16:[96, 3, 1539], Operations: ['19*81=1539']
Exploring Operation: 1539-3=1536, Resulting Numbers: [96, 1536]
Generated Node #3: [96, 1536] from Operation: 1539-3=1536
Current State: 16:[96, 1536], Operations: ['19*81=1539', '1539-3=1536']
Exploring Operation: 1536/96=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[96, 19, 81, 3], Operations: []
Exploring Operation: 96-81=15, Resulting Numbers: [19, 3, 15]
Generated Node #0,0: 16:[19, 3, 15] Operation: 96-81=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[19, 3, 15], Operations: ['96-81=15']
Exploring Operation: 19-3=16, Resulting Numbers: [15, 16]
Generated Node #0,0,0: 16:[15, 16] Operation: 19-3=16
Moving to Node #0,0,0
Current State: 16:[15, 16], Operations: ['96-81=15', '19-3=16']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,16 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 |
[
81,
59,
59,
25
] | 55 | [
"81-25=56",
"59/59=1",
"56-1=55"
] | Current State: 55:[81, 59, 59, 25], Operations: []
Exploring Operation: 81-25=56, Resulting Numbers: [59, 59, 56]
Generated Node #2: [59, 59, 56] from Operation: 81-25=56
Current State: 55:[59, 59, 56], Operations: ['81-25=56']
Exploring Operation: 59/59=1, Resulting Numbers: [56, 1]
Generated Node #3: [56, 1] from Operation: 59/59=1
Current State: 55:[56, 1], Operations: ['81-25=56', '59/59=1']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[81, 59, 59, 25], Operations: []
Exploring Operation: 81-59=22, Resulting Numbers: [59, 25, 22]
Generated Node #0,0: 55:[59, 25, 22] Operation: 81-59=22
Exploring Operation: 81-59=22, Resulting Numbers: [59, 25, 22]
Generated Node #0,1: 55:[59, 25, 22] Operation: 81-59=22
Exploring Operation: 81-25=56, Resulting Numbers: [59, 59, 56]
Generated Node #0,2: 55:[59, 59, 56] Operation: 81-25=56
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[59, 59, 56], Operations: ['81-25=56']
Exploring Operation: 59-59=0, Resulting Numbers: [56, 0]
Generated Node #0,2,0: 55:[56, 0] Operation: 59-59=0
Exploring Operation: 59-56=3, Resulting Numbers: [59, 3]
Generated Node #0,2,1: 55:[59, 3] Operation: 59-56=3
Exploring Operation: 59/59=1, Resulting Numbers: [56, 1]
Generated Node #0,2,2: 55:[56, 1] Operation: 59/59=1
Moving to Node #0,2,2
Current State: 55:[56, 1], Operations: ['81-25=56', '59/59=1']
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[81, 59, 59, 25], Operations: []
Exploring Operation: 81-25=56, Resulting Numbers: [59, 59, 56]
Generated Node #0,2: 55:[59, 59, 56] Operation: 81-25=56
Moving to Node #0,2
Current State: 55:[59, 59, 56], Operations: ['81-25=56']
Exploring Operation: 59/59=1, Resulting Numbers: [56, 1]
Generated Node #0,2,2: 55:[56, 1] Operation: 59/59=1
Moving to Node #0,2,2
Current State: 55:[56, 1], Operations: ['81-25=56', '59/59=1']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
28,
12,
45,
59
] | 56 | [
"12+45=57",
"59-57=2",
"28*2=56"
] | Current State: 56:[28, 12, 45, 59], Operations: []
Exploring Operation: 12+45=57, Resulting Numbers: [28, 59, 57]
Generated Node #2: [28, 59, 57] from Operation: 12+45=57
Current State: 56:[28, 59, 57], Operations: ['12+45=57']
Exploring Operation: 59-57=2, Resulting Numbers: [28, 2]
Generated Node #3: [28, 2] from Operation: 59-57=2
Current State: 56:[28, 2], Operations: ['12+45=57', '59-57=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[28, 12, 45, 59], Operations: []
Exploring Operation: 12+45=57, Resulting Numbers: [28, 59, 57]
Generated Node #0,0: 56:[28, 59, 57] Operation: 12+45=57
Exploring Operation: 59-45=14, Resulting Numbers: [28, 12, 14]
Generated Node #0,1: 56:[28, 12, 14] Operation: 59-45=14
Exploring Operation: 45-28=17, Resulting Numbers: [12, 59, 17]
Generated Node #0,2: 56:[12, 59, 17] Operation: 45-28=17
Exploring Operation: 28-12=16, Resulting Numbers: [45, 59, 16]
Generated Node #0,3: 56:[45, 59, 16] Operation: 28-12=16
Exploring Operation: 45-12=33, Resulting Numbers: [28, 59, 33]
Generated Node #0,4: 56:[28, 59, 33] Operation: 45-12=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[28, 12, 14], Operations: ['59-45=14']
Exploring Operation: 14-12=2, Resulting Numbers: [28, 2]
Generated Node #0,1,0: 56:[28, 2] Operation: 14-12=2
Exploring Operation: 12+14=26, Resulting Numbers: [28, 26]
Generated Node #0,1,1: 56:[28, 26] Operation: 12+14=26
Exploring Operation: 28-12=16, Resulting Numbers: [14, 16]
Generated Node #0,1,2: 56:[14, 16] Operation: 28-12=16
Exploring Operation: 28-14=14, Resulting Numbers: [12, 14]
Generated Node #0,1,3: 56:[12, 14] Operation: 28-14=14
Exploring Operation: 28/14=2, Resulting Numbers: [12, 2]
Generated Node #0,1,4: 56:[12, 2] Operation: 28/14=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 56:[28, 2], Operations: ['59-45=14', '14-12=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,56 unequal: No Solution
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[28, 12, 45, 59], Operations: []
Exploring Operation: 59-45=14, Resulting Numbers: [28, 12, 14]
Generated Node #0,1: 56:[28, 12, 14] Operation: 59-45=14
Moving to Node #0,1
Current State: 56:[28, 12, 14], Operations: ['59-45=14']
Exploring Operation: 14-12=2, Resulting Numbers: [28, 2]
Generated Node #0,1,0: 56:[28, 2] Operation: 14-12=2
Moving to Node #0,1,0
Current State: 56:[28, 2], Operations: ['59-45=14', '14-12=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
42,
96,
48,
16
] | 100 | [
"42*96=4032",
"4032/48=84",
"16+84=100"
] | Current State: 100:[42, 96, 48, 16], Operations: []
Exploring Operation: 42*96=4032, Resulting Numbers: [48, 16, 4032]
Generated Node #2: [48, 16, 4032] from Operation: 42*96=4032
Current State: 100:[48, 16, 4032], Operations: ['42*96=4032']
Exploring Operation: 4032/48=84, Resulting Numbers: [16, 84]
Generated Node #3: [16, 84] from Operation: 4032/48=84
Current State: 100:[16, 84], Operations: ['42*96=4032', '4032/48=84']
Exploring Operation: 16+84=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[42, 96, 48, 16], Operations: []
Exploring Operation: 42-16=26, Resulting Numbers: [96, 48, 26]
Generated Node #0,0: 100:[96, 48, 26] Operation: 42-16=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[96, 48, 26], Operations: ['42-16=26']
Exploring Operation: 96/48=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 100:[26, 2] Operation: 96/48=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[26, 2], Operations: ['42-16=26', '96/48=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,100 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 |
[
3,
5,
36,
86
] | 26 | [
"36/3=12",
"5*12=60",
"86-60=26"
] | Current State: 26:[3, 5, 36, 86], Operations: []
Exploring Operation: 36/3=12, Resulting Numbers: [5, 86, 12]
Generated Node #2: [5, 86, 12] from Operation: 36/3=12
Current State: 26:[5, 86, 12], Operations: ['36/3=12']
Exploring Operation: 5*12=60, Resulting Numbers: [86, 60]
Generated Node #3: [86, 60] from Operation: 5*12=60
Current State: 26:[86, 60], Operations: ['36/3=12', '5*12=60']
Exploring Operation: 86-60=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[3, 5, 36, 86], Operations: []
Exploring Operation: 86-5=81, Resulting Numbers: [3, 36, 81]
Generated Node #0,0: 26:[3, 36, 81] Operation: 86-5=81
Exploring Operation: 36/3=12, Resulting Numbers: [5, 86, 12]
Generated Node #0,1: 26:[5, 86, 12] Operation: 36/3=12
Exploring Operation: 36-5=31, Resulting Numbers: [3, 86, 31]
Generated Node #0,2: 26:[3, 86, 31] Operation: 36-5=31
Exploring Operation: 86-36=50, Resulting Numbers: [3, 5, 50]
Generated Node #0,3: 26:[3, 5, 50] Operation: 86-36=50
Start Sub Search at level 1: Moving to Node #0,3
Current State: 26:[3, 5, 50], Operations: ['86-36=50']
Exploring Operation: 50-3=47, Resulting Numbers: [5, 47]
Generated Node #0,3,0: 26:[5, 47] Operation: 50-3=47
Exploring Operation: 50/5=10, Resulting Numbers: [3, 10]
Generated Node #0,3,1: 26:[3, 10] Operation: 50/5=10
Exploring Operation: 5-3=2, Resulting Numbers: [50, 2]
Generated Node #0,3,2: 26:[50, 2] Operation: 5-3=2
Exploring Operation: 50-5=45, Resulting Numbers: [3, 45]
Generated Node #0,3,3: 26:[3, 45] Operation: 50-5=45
Moving to Node #0,3,1
Current State: 26:[3, 10], Operations: ['86-36=50', '50/5=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Moving to Node #0,3,3
Current State: 26:[3, 45], Operations: ['86-36=50', '50-5=45']
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,26 unequal: No Solution
Exploring Operation: 3*45=135, Resulting Numbers: [135]
135,26 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Moving to Node #0,3,2
Current State: 26:[50, 2], Operations: ['86-36=50', '5-3=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,26 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Moving to Node #0,3,0
Current State: 26:[5, 47], Operations: ['86-36=50', '50-3=47']
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,26 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[5, 86, 12], Operations: ['36/3=12']
Exploring Operation: 5+12=17, Resulting Numbers: [86, 17]
Generated Node #0,1,0: 26:[86, 17] Operation: 5+12=17
Exploring Operation: 86-12=74, Resulting Numbers: [5, 74]
Generated Node #0,1,1: 26:[5, 74] Operation: 86-12=74
Exploring Operation: 12-5=7, Resulting Numbers: [86, 7]
Generated Node #0,1,2: 26:[86, 7] Operation: 12-5=7
Exploring Operation: 86-5=81, Resulting Numbers: [12, 81]
Generated Node #0,1,3: 26:[12, 81] Operation: 86-5=81
Moving to Node #0,1,1
Current State: 26:[5, 74], Operations: ['36/3=12', '86-12=74']
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Exploring Operation: 5+74=79, Resulting Numbers: [79]
79,26 unequal: No Solution
Exploring Operation: 5*74=370, Resulting Numbers: [370]
370,26 unequal: No Solution
Moving to Node #0,1,3
Current State: 26:[12, 81], Operations: ['36/3=12', '86-5=81']
Exploring Operation: 12*81=972, Resulting Numbers: [972]
972,26 unequal: No Solution
Exploring Operation: 12+81=93, Resulting Numbers: [93]
93,26 unequal: No Solution
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[86, 17], Operations: ['36/3=12', '5+12=17']
Exploring Operation: 86+17=103, Resulting Numbers: [103]
103,26 unequal: No Solution
Exploring Operation: 86*17=1462, Resulting Numbers: [1462]
1462,26 unequal: No Solution
Exploring Operation: 86-17=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[86, 7], Operations: ['36/3=12', '12-5=7']
Exploring Operation: 86-7=79, Resulting Numbers: [79]
79,26 unequal: No Solution
Exploring Operation: 86*7=602, Resulting Numbers: [602]
602,26 unequal: No Solution
Exploring Operation: 86+7=93, Resulting Numbers: [93]
93,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[3, 36, 81], Operations: ['86-5=81']
Exploring Operation: 81-36=45, Resulting Numbers: [3, 45]
Generated Node #0,0,0: 26:[3, 45] Operation: 81-36=45
Exploring Operation: 36-3=33, Resulting Numbers: [81, 33]
Generated Node #0,0,1: 26:[81, 33] Operation: 36-3=33
Exploring Operation: 81/3=27, Resulting Numbers: [36, 27]
Generated Node #0,0,2: 26:[36, 27] Operation: 81/3=27
Exploring Operation: 36/3=12, Resulting Numbers: [81, 12]
Generated Node #0,0,3: 26:[81, 12] Operation: 36/3=12
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 26:[36, 27], Operations: ['86-5=81', '81/3=27']
Exploring Operation: 36+27=63, Resulting Numbers: [63]
63,26 unequal: No Solution
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 36*27=972, Resulting Numbers: [972]
972,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[3, 45], Operations: ['86-5=81', '81-36=45']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 3*45=135, Resulting Numbers: [135]
135,26 unequal: No Solution
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 26:[81, 12], Operations: ['86-5=81', '36/3=12']
Exploring Operation: 81*12=972, Resulting Numbers: [972]
972,26 unequal: No Solution
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 26:[81, 33], Operations: ['86-5=81', '36-3=33']
Exploring Operation: 81*33=2673, Resulting Numbers: [2673]
2673,26 unequal: No Solution
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 81+33=114, Resulting Numbers: [114]
114,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[3, 86, 31], Operations: ['36-5=31']
Exploring Operation: 3+86=89, Resulting Numbers: [31, 89]
Generated Node #0,2,0: 26:[31, 89] Operation: 3+86=89
Exploring Operation: 31-3=28, Resulting Numbers: [86, 28]
Generated Node #0,2,1: 26:[86, 28] Operation: 31-3=28
Exploring Operation: 86-31=55, Resulting Numbers: [3, 55]
Generated Node #0,2,2: 26:[3, 55] Operation: 86-31=55
Exploring Operation: 86-3=83, Resulting Numbers: [31, 83]
Generated Node #0,2,3: 26:[31, 83] Operation: 86-3=83
Moving to Node #0,2,2
Current State: 26:[3, 55], Operations: ['36-5=31', '86-31=55']
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,26 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,26 unequal: No Solution
Moving to Node #0,2,3
Current State: 26:[31, 83], Operations: ['36-5=31', '86-3=83']
Exploring Operation: 83-31=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Exploring Operation: 31+83=114, Resulting Numbers: [114]
114,26 unequal: No Solution
Exploring Operation: 31*83=2573, Resulting Numbers: [2573]
2573,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[86, 28], Operations: ['36-5=31', '31-3=28']
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,26 unequal: No Solution
Exploring Operation: 86+28=114, Resulting Numbers: [114]
114,26 unequal: No Solution
Exploring Operation: 86*28=2408, Resulting Numbers: [2408]
2408,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[31, 89], Operations: ['36-5=31', '3+86=89']
Exploring Operation: 31*89=2759, Resulting Numbers: [2759]
2759,26 unequal: No Solution
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,26 unequal: No Solution
Exploring Operation: 31+89=120, Resulting Numbers: [120]
120,26 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 |
[
49,
20,
22,
8
] | 59 | [
"49-20=29",
"22+8=30",
"29+30=59"
] | Current State: 59:[49, 20, 22, 8], Operations: []
Exploring Operation: 49-20=29, Resulting Numbers: [22, 8, 29]
Generated Node #2: [22, 8, 29] from Operation: 49-20=29
Current State: 59:[22, 8, 29], Operations: ['49-20=29']
Exploring Operation: 22+8=30, Resulting Numbers: [29, 30]
Generated Node #3: [29, 30] from Operation: 22+8=30
Current State: 59:[29, 30], Operations: ['49-20=29', '22+8=30']
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[49, 20, 22, 8], Operations: []
Exploring Operation: 20+8=28, Resulting Numbers: [49, 22, 28]
Generated Node #0,0: 59:[49, 22, 28] Operation: 20+8=28
Exploring Operation: 49+8=57, Resulting Numbers: [20, 22, 57]
Generated Node #0,1: 59:[20, 22, 57] Operation: 49+8=57
Exploring Operation: 22+8=30, Resulting Numbers: [49, 20, 30]
Generated Node #0,2: 59:[49, 20, 30] Operation: 22+8=30
Exploring Operation: 20+22=42, Resulting Numbers: [49, 8, 42]
Generated Node #0,3: 59:[49, 8, 42] Operation: 20+22=42
Moving to Node #0,0
Current State: 59:[49, 22, 28], Operations: ['20+8=28']
Exploring Operation: 49+22=71, Resulting Numbers: [28, 71]
Generated Node #0,0,0: 59:[28, 71] Operation: 49+22=71
Exploring Operation: 22+28=50, Resulting Numbers: [49, 50]
Generated Node #0,0,1: 59:[49, 50] Operation: 22+28=50
Exploring Operation: 49+28=77, Resulting Numbers: [22, 77]
Generated Node #0,0,2: 59:[22, 77] Operation: 49+28=77
Exploring Operation: 49-22=27, Resulting Numbers: [28, 27]
Generated Node #0,0,3: 59:[28, 27] Operation: 49-22=27
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[49, 50], Operations: ['20+8=28', '22+28=50']
Exploring Operation: 49*50=2450, Resulting Numbers: [2450]
2450,59 unequal: No Solution
Exploring Operation: 49+50=99, Resulting Numbers: [99]
99,59 unequal: No Solution
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[28, 71], Operations: ['20+8=28', '49+22=71']
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,59 unequal: No Solution
Exploring Operation: 28*71=1988, Resulting Numbers: [1988]
1988,59 unequal: No Solution
Exploring Operation: 28+71=99, Resulting Numbers: [99]
99,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 59:[22, 77], Operations: ['20+8=28', '49+28=77']
Exploring Operation: 22*77=1694, Resulting Numbers: [1694]
1694,59 unequal: No Solution
Exploring Operation: 77-22=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 22+77=99, Resulting Numbers: [99]
99,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 59:[28, 27], Operations: ['20+8=28', '49-22=27']
Exploring Operation: 28*27=756, Resulting Numbers: [756]
756,59 unequal: No Solution
Exploring Operation: 28+27=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 59:[49, 20, 30], Operations: ['22+8=30']
Exploring Operation: 49+20=69, Resulting Numbers: [30, 69]
Generated Node #0,2,0: 59:[30, 69] Operation: 49+20=69
Exploring Operation: 49-20=29, Resulting Numbers: [30, 29]
Generated Node #0,2,1: 59:[30, 29] Operation: 49-20=29
Exploring Operation: 20+30=50, Resulting Numbers: [49, 50]
Generated Node #0,2,2: 59:[49, 50] Operation: 20+30=50
Exploring Operation: 49+30=79, Resulting Numbers: [20, 79]
Generated Node #0,2,3: 59:[20, 79] Operation: 49+30=79
Moving to Node #0,1
Current State: 59:[20, 22, 57], Operations: ['49+8=57']
Exploring Operation: 22-20=2, Resulting Numbers: [57, 2]
Generated Node #0,1,0: 59:[57, 2] Operation: 22-20=2
Exploring Operation: 20+22=42, Resulting Numbers: [57, 42]
Generated Node #0,1,1: 59:[57, 42] Operation: 20+22=42
Exploring Operation: 20+57=77, Resulting Numbers: [22, 77]
Generated Node #0,1,2: 59:[22, 77] Operation: 20+57=77
Exploring Operation: 57-20=37, Resulting Numbers: [22, 37]
Generated Node #0,1,3: 59:[22, 37] Operation: 57-20=37
Moving to Node #0,3
Current State: 59:[49, 8, 42], Operations: ['20+22=42']
Exploring Operation: 49-8=41, Resulting Numbers: [42, 41]
Generated Node #0,3,0: 59:[42, 41] Operation: 49-8=41
Exploring Operation: 49+8=57, Resulting Numbers: [42, 57]
Generated Node #0,3,1: 59:[42, 57] Operation: 49+8=57
Exploring Operation: 42-8=34, Resulting Numbers: [49, 34]
Generated Node #0,3,2: 59:[49, 34] Operation: 42-8=34
Exploring Operation: 8+42=50, Resulting Numbers: [49, 50]
Generated Node #0,3,3: 59:[49, 50] Operation: 8+42=50
Moving to Node #0,2,2
Current State: 59:[49, 50], Operations: ['22+8=30', '20+30=50']
Exploring Operation: 49+50=99, Resulting Numbers: [99]
99,59 unequal: No Solution
Exploring Operation: 49*50=2450, Resulting Numbers: [2450]
2450,59 unequal: No Solution
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[57, 42], Operations: ['49+8=57', '20+22=42']
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,59 unequal: No Solution
Exploring Operation: 57+42=99, Resulting Numbers: [99]
99,59 unequal: No Solution
Exploring Operation: 57*42=2394, Resulting Numbers: [2394]
2394,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[49, 50], Operations: ['20+22=42', '8+42=50']
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 49*50=2450, Resulting Numbers: [2450]
2450,59 unequal: No Solution
Exploring Operation: 49+50=99, Resulting Numbers: [99]
99,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[42, 57], Operations: ['20+22=42', '49+8=57']
Exploring Operation: 42*57=2394, Resulting Numbers: [2394]
2394,59 unequal: No Solution
Exploring Operation: 42+57=99, Resulting Numbers: [99]
99,59 unequal: No Solution
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[49, 34], Operations: ['20+22=42', '42-8=34']
Exploring Operation: 49+34=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 49*34=1666, Resulting Numbers: [1666]
1666,59 unequal: No Solution
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[42, 41], Operations: ['20+22=42', '49-8=41']
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 42+41=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 42*41=1722, Resulting Numbers: [1722]
1722,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[30, 69], Operations: ['22+8=30', '49+20=69']
Exploring Operation: 30*69=2070, Resulting Numbers: [2070]
2070,59 unequal: No Solution
Exploring Operation: 30+69=99, Resulting Numbers: [99]
99,59 unequal: No Solution
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[22, 77], Operations: ['49+8=57', '20+57=77']
Exploring Operation: 22*77=1694, Resulting Numbers: [1694]
1694,59 unequal: No Solution
Exploring Operation: 77-22=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 22+77=99, Resulting Numbers: [99]
99,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[30, 29], Operations: ['22+8=30', '49-20=29']
Exploring Operation: 30*29=870, Resulting Numbers: [870]
870,59 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[49, 20, 22, 8], Operations: []
Exploring Operation: 22+8=30, Resulting Numbers: [49, 20, 30]
Generated Node #0,2: 59:[49, 20, 30] Operation: 22+8=30
Moving to Node #0,2
Current State: 59:[49, 20, 30], Operations: ['22+8=30']
Exploring Operation: 49-20=29, Resulting Numbers: [30, 29]
Generated Node #0,2,1: 59:[30, 29] Operation: 49-20=29
Moving to Node #0,2,1
Current State: 59:[30, 29], Operations: ['22+8=30', '49-20=29']
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 0.945313 | hs_4 | sum_heuristic |
[
34,
47,
84,
26
] | 23 | [
"34+47=81",
"84-26=58",
"81-58=23"
] | Current State: 23:[34, 47, 84, 26], Operations: []
Exploring Operation: 34+47=81, Resulting Numbers: [84, 26, 81]
Generated Node #2: [84, 26, 81] from Operation: 34+47=81
Current State: 23:[84, 26, 81], Operations: ['34+47=81']
Exploring Operation: 84-26=58, Resulting Numbers: [81, 58]
Generated Node #3: [81, 58] from Operation: 84-26=58
Current State: 23:[81, 58], Operations: ['34+47=81', '84-26=58']
Exploring Operation: 81-58=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[34, 47, 84, 26], Operations: []
Exploring Operation: 84-34=50, Resulting Numbers: [47, 26, 50]
Generated Node #0,0: 23:[47, 26, 50] Operation: 84-34=50
Exploring Operation: 84-26=58, Resulting Numbers: [34, 47, 58]
Generated Node #0,1: 23:[34, 47, 58] Operation: 84-26=58
Exploring Operation: 47-34=13, Resulting Numbers: [84, 26, 13]
Generated Node #0,2: 23:[84, 26, 13] Operation: 47-34=13
Exploring Operation: 47-26=21, Resulting Numbers: [34, 84, 21]
Generated Node #0,3: 23:[34, 84, 21] Operation: 47-26=21
Exploring Operation: 84-47=37, Resulting Numbers: [34, 26, 37]
Generated Node #0,4: 23:[34, 26, 37] Operation: 84-47=37
Moving to Node #0,4
Current State: 23:[34, 26, 37], Operations: ['84-47=37']
Exploring Operation: 37-26=11, Resulting Numbers: [34, 11]
Generated Node #0,4,0: 23:[34, 11] Operation: 37-26=11
Exploring Operation: 34+26=60, Resulting Numbers: [37, 60]
Generated Node #0,4,1: 23:[37, 60] Operation: 34+26=60
Exploring Operation: 34+37=71, Resulting Numbers: [26, 71]
Generated Node #0,4,2: 23:[26, 71] Operation: 34+37=71
Exploring Operation: 34-26=8, Resulting Numbers: [37, 8]
Generated Node #0,4,3: 23:[37, 8] Operation: 34-26=8
Exploring Operation: 37-34=3, Resulting Numbers: [26, 3]
Generated Node #0,4,4: 23:[26, 3] Operation: 37-34=3
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 23:[34, 11], Operations: ['84-47=37', '37-26=11']
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,23 unequal: No Solution
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[34, 47, 84, 26], Operations: []
Exploring Operation: 84-47=37, Resulting Numbers: [34, 26, 37]
Generated Node #0,4: 23:[34, 26, 37] Operation: 84-47=37
Moving to Node #0,4
Current State: 23:[34, 26, 37], Operations: ['84-47=37']
Exploring Operation: 37-26=11, Resulting Numbers: [34, 11]
Generated Node #0,4,0: 23:[34, 11] Operation: 37-26=11
Moving to Node #0,4,0
Current State: 23:[34, 11], Operations: ['84-47=37', '37-26=11']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
87,
73,
81,
12
] | 58 | [
"81-73=8",
"87*8=696",
"696/12=58"
] | Current State: 58:[87, 73, 81, 12], Operations: []
Exploring Operation: 81-73=8, Resulting Numbers: [87, 12, 8]
Generated Node #2: [87, 12, 8] from Operation: 81-73=8
Current State: 58:[87, 12, 8], Operations: ['81-73=8']
Exploring Operation: 87*8=696, Resulting Numbers: [12, 696]
Generated Node #3: [12, 696] from Operation: 87*8=696
Current State: 58:[12, 696], Operations: ['81-73=8', '87*8=696']
Exploring Operation: 696/12=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[87, 73, 81, 12], Operations: []
Exploring Operation: 81-73=8, Resulting Numbers: [87, 12, 8]
Generated Node #0,0: 58:[87, 12, 8] Operation: 81-73=8
Exploring Operation: 87-73=14, Resulting Numbers: [81, 12, 14]
Generated Node #0,1: 58:[81, 12, 14] Operation: 87-73=14
Exploring Operation: 87-81=6, Resulting Numbers: [73, 12, 6]
Generated Node #0,2: 58:[73, 12, 6] Operation: 87-81=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[73, 12, 6], Operations: ['87-81=6']
Exploring Operation: 12/6=2, Resulting Numbers: [73, 2]
Generated Node #0,2,0: 58:[73, 2] Operation: 12/6=2
Exploring Operation: 73-12=61, Resulting Numbers: [6, 61]
Generated Node #0,2,1: 58:[6, 61] Operation: 73-12=61
Exploring Operation: 73-6=67, Resulting Numbers: [12, 67]
Generated Node #0,2,2: 58:[12, 67] Operation: 73-6=67
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 58:[6, 61], Operations: ['87-81=6', '73-12=61']
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,58 unequal: No Solution
Exploring Operation: 6+61=67, Resulting Numbers: [67]
67,58 unequal: No Solution
Exploring Operation: 6*61=366, Resulting Numbers: [366]
366,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 58:[73, 2], Operations: ['87-81=6', '12/6=2']
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,58 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,58 unequal: No Solution
Exploring Operation: 73*2=146, Resulting Numbers: [146]
146,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 58:[12, 67], Operations: ['87-81=6', '73-6=67']
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,58 unequal: No Solution
Exploring Operation: 12+67=79, Resulting Numbers: [79]
79,58 unequal: No Solution
Exploring Operation: 12*67=804, Resulting Numbers: [804]
804,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[87, 12, 8], Operations: ['81-73=8']
Exploring Operation: 87-8=79, Resulting Numbers: [12, 79]
Generated Node #0,0,0: 58:[12, 79] Operation: 87-8=79
Exploring Operation: 87-12=75, Resulting Numbers: [8, 75]
Generated Node #0,0,1: 58:[8, 75] Operation: 87-12=75
Exploring Operation: 12-8=4, Resulting Numbers: [87, 4]
Generated Node #0,0,2: 58:[87, 4] Operation: 12-8=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 58:[8, 75], Operations: ['81-73=8', '87-12=75']
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,58 unequal: No Solution
Exploring Operation: 8+75=83, Resulting Numbers: [83]
83,58 unequal: No Solution
Exploring Operation: 8*75=600, Resulting Numbers: [600]
600,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[12, 79], Operations: ['81-73=8', '87-8=79']
Exploring Operation: 12+79=91, Resulting Numbers: [91]
91,58 unequal: No Solution
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,58 unequal: No Solution
Exploring Operation: 12*79=948, Resulting Numbers: [948]
948,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 58:[87, 4], Operations: ['81-73=8', '12-8=4']
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,58 unequal: No Solution
Exploring Operation: 87*4=348, Resulting Numbers: [348]
348,58 unequal: No Solution
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[81, 12, 14], Operations: ['87-73=14']
Exploring Operation: 81-14=67, Resulting Numbers: [12, 67]
Generated Node #0,1,0: 58:[12, 67] Operation: 81-14=67
Exploring Operation: 81-12=69, Resulting Numbers: [14, 69]
Generated Node #0,1,1: 58:[14, 69] Operation: 81-12=69
Exploring Operation: 14-12=2, Resulting Numbers: [81, 2]
Generated Node #0,1,2: 58:[81, 2] Operation: 14-12=2
Moving to Node #0,1,0
Current State: 58:[12, 67], Operations: ['87-73=14', '81-14=67']
Exploring Operation: 12+67=79, Resulting Numbers: [79]
79,58 unequal: No Solution
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,58 unequal: No Solution
Exploring Operation: 12*67=804, Resulting Numbers: [804]
804,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[14, 69], Operations: ['87-73=14', '81-12=69']
Exploring Operation: 14+69=83, Resulting Numbers: [83]
83,58 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,58 unequal: No Solution
Exploring Operation: 14*69=966, Resulting Numbers: [966]
966,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[81, 2], Operations: ['87-73=14', '14-12=2']
Exploring Operation: 81*2=162, Resulting Numbers: [162]
162,58 unequal: No Solution
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,58 unequal: No Solution
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
16,
23,
54,
40
] | 98 | [
"23-16=7",
"54-40=14",
"7*14=98"
] | Current State: 98:[16, 23, 54, 40], Operations: []
Exploring Operation: 23-16=7, Resulting Numbers: [54, 40, 7]
Generated Node #2: [54, 40, 7] from Operation: 23-16=7
Current State: 98:[54, 40, 7], Operations: ['23-16=7']
Exploring Operation: 54-40=14, Resulting Numbers: [7, 14]
Generated Node #3: [7, 14] from Operation: 54-40=14
Current State: 98:[7, 14], Operations: ['23-16=7', '54-40=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[16, 23, 54, 40], Operations: []
Exploring Operation: 54-40=14, Resulting Numbers: [16, 23, 14]
Generated Node #0,0: 98:[16, 23, 14] Operation: 54-40=14
Exploring Operation: 23-16=7, Resulting Numbers: [54, 40, 7]
Generated Node #0,1: 98:[54, 40, 7] Operation: 23-16=7
Exploring Operation: 40-23=17, Resulting Numbers: [16, 54, 17]
Generated Node #0,2: 98:[16, 54, 17] Operation: 40-23=17
Moving to Node #0,2
Current State: 98:[16, 54, 17], Operations: ['40-23=17']
Exploring Operation: 54-16=38, Resulting Numbers: [17, 38]
Generated Node #0,2,0: 98:[17, 38] Operation: 54-16=38
Exploring Operation: 54-17=37, Resulting Numbers: [16, 37]
Generated Node #0,2,1: 98:[16, 37] Operation: 54-17=37
Exploring Operation: 17-16=1, Resulting Numbers: [54, 1]
Generated Node #0,2,2: 98:[54, 1] Operation: 17-16=1
Moving to Node #0,0
Current State: 98:[16, 23, 14], Operations: ['54-40=14']
Exploring Operation: 16-14=2, Resulting Numbers: [23, 2]
Generated Node #0,0,0: 98:[23, 2] Operation: 16-14=2
Exploring Operation: 23-14=9, Resulting Numbers: [16, 9]
Generated Node #0,0,1: 98:[16, 9] Operation: 23-14=9
Exploring Operation: 23-16=7, Resulting Numbers: [14, 7]
Generated Node #0,0,2: 98:[14, 7] Operation: 23-16=7
Moving to Node #0,1
Current State: 98:[54, 40, 7], Operations: ['23-16=7']
Exploring Operation: 54-40=14, Resulting Numbers: [7, 14]
Generated Node #0,1,0: 98:[7, 14] Operation: 54-40=14
Exploring Operation: 40+7=47, Resulting Numbers: [54, 47]
Generated Node #0,1,1: 98:[54, 47] Operation: 40+7=47
Exploring Operation: 54+40=94, Resulting Numbers: [7, 94]
Generated Node #0,1,2: 98:[7, 94] Operation: 54+40=94
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[7, 14], Operations: ['23-16=7', '54-40=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[16, 23, 54, 40], Operations: []
Exploring Operation: 23-16=7, Resulting Numbers: [54, 40, 7]
Generated Node #0,1: 98:[54, 40, 7] Operation: 23-16=7
Moving to Node #0,1
Current State: 98:[54, 40, 7], Operations: ['23-16=7']
Exploring Operation: 54-40=14, Resulting Numbers: [7, 14]
Generated Node #0,1,0: 98:[7, 14] Operation: 54-40=14
Moving to Node #0,1,0
Current State: 98:[7, 14], Operations: ['23-16=7', '54-40=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
8,
63,
31,
56
] | 16 | [
"8+63=71",
"31+56=87",
"87-71=16"
] | Current State: 16:[8, 63, 31, 56], Operations: []
Exploring Operation: 8+63=71, Resulting Numbers: [31, 56, 71]
Generated Node #2: [31, 56, 71] from Operation: 8+63=71
Current State: 16:[31, 56, 71], Operations: ['8+63=71']
Exploring Operation: 31+56=87, Resulting Numbers: [71, 87]
Generated Node #3: [71, 87] from Operation: 31+56=87
Current State: 16:[71, 87], Operations: ['8+63=71', '31+56=87']
Exploring Operation: 87-71=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[8, 63, 31, 56], Operations: []
Exploring Operation: 63-56=7, Resulting Numbers: [8, 31, 7]
Generated Node #0,0: 16:[8, 31, 7] Operation: 63-56=7
Exploring Operation: 56-31=25, Resulting Numbers: [8, 63, 25]
Generated Node #0,1: 16:[8, 63, 25] Operation: 56-31=25
Exploring Operation: 56/8=7, Resulting Numbers: [63, 31, 7]
Generated Node #0,2: 16:[63, 31, 7] Operation: 56/8=7
Exploring Operation: 63-31=32, Resulting Numbers: [8, 56, 32]
Generated Node #0,3: 16:[8, 56, 32] Operation: 63-31=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[8, 31, 7], Operations: ['63-56=7']
Exploring Operation: 31-8=23, Resulting Numbers: [7, 23]
Generated Node #0,0,0: 16:[7, 23] Operation: 31-8=23
Exploring Operation: 31-7=24, Resulting Numbers: [8, 24]
Generated Node #0,0,1: 16:[8, 24] Operation: 31-7=24
Exploring Operation: 8+7=15, Resulting Numbers: [31, 15]
Generated Node #0,0,2: 16:[31, 15] Operation: 8+7=15
Exploring Operation: 8-7=1, Resulting Numbers: [31, 1]
Generated Node #0,0,3: 16:[31, 1] Operation: 8-7=1
Moving to Node #0,0,0
Current State: 16:[7, 23], Operations: ['63-56=7', '31-8=23']
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,16 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[8, 63, 31, 56], Operations: []
Exploring Operation: 63-56=7, Resulting Numbers: [8, 31, 7]
Generated Node #0,0: 16:[8, 31, 7] Operation: 63-56=7
Moving to Node #0,0
Current State: 16:[8, 31, 7], Operations: ['63-56=7']
Exploring Operation: 31-8=23, Resulting Numbers: [7, 23]
Generated Node #0,0,0: 16:[7, 23] Operation: 31-8=23
Moving to Node #0,0,0
Current State: 16:[7, 23], Operations: ['63-56=7', '31-8=23']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
58,
27,
19,
16
] | 88 | [
"58+27=85",
"19-16=3",
"85+3=88"
] | Current State: 88:[58, 27, 19, 16], Operations: []
Exploring Operation: 58+27=85, Resulting Numbers: [19, 16, 85]
Generated Node #2: [19, 16, 85] from Operation: 58+27=85
Current State: 88:[19, 16, 85], Operations: ['58+27=85']
Exploring Operation: 19-16=3, Resulting Numbers: [85, 3]
Generated Node #3: [85, 3] from Operation: 19-16=3
Current State: 88:[85, 3], Operations: ['58+27=85', '19-16=3']
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[58, 27, 19, 16], Operations: []
Exploring Operation: 58-27=31, Resulting Numbers: [19, 16, 31]
Generated Node #0,0: 88:[19, 16, 31] Operation: 58-27=31
Exploring Operation: 58-19=39, Resulting Numbers: [27, 16, 39]
Generated Node #0,1: 88:[27, 16, 39] Operation: 58-19=39
Exploring Operation: 58+27=85, Resulting Numbers: [19, 16, 85]
Generated Node #0,2: 88:[19, 16, 85] Operation: 58+27=85
Exploring Operation: 58-16=42, Resulting Numbers: [27, 19, 42]
Generated Node #0,3: 88:[27, 19, 42] Operation: 58-16=42
Moving to Node #0,3
Current State: 88:[27, 19, 42], Operations: ['58-16=42']
Exploring Operation: 42-27=15, Resulting Numbers: [19, 15]
Generated Node #0,3,0: 88:[19, 15] Operation: 42-27=15
Exploring Operation: 27-19=8, Resulting Numbers: [42, 8]
Generated Node #0,3,1: 88:[42, 8] Operation: 27-19=8
Exploring Operation: 27+19=46, Resulting Numbers: [42, 46]
Generated Node #0,3,2: 88:[42, 46] Operation: 27+19=46
Exploring Operation: 42-19=23, Resulting Numbers: [27, 23]
Generated Node #0,3,3: 88:[27, 23] Operation: 42-19=23
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 88:[42, 8], Operations: ['58-16=42', '27-19=8']
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,88 unequal: No Solution
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,88 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 88:[42, 46], Operations: ['58-16=42', '27+19=46']
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[58, 27, 19, 16], Operations: []
Exploring Operation: 58-16=42, Resulting Numbers: [27, 19, 42]
Generated Node #0,3: 88:[27, 19, 42] Operation: 58-16=42
Moving to Node #0,3
Current State: 88:[27, 19, 42], Operations: ['58-16=42']
Exploring Operation: 27+19=46, Resulting Numbers: [42, 46]
Generated Node #0,3,2: 88:[42, 46] Operation: 27+19=46
Moving to Node #0,3,2
Current State: 88:[42, 46], Operations: ['58-16=42', '27+19=46']
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
25,
47,
99,
16
] | 53 | [
"25*99=2475",
"16+2475=2491",
"2491/47=53"
] | Current State: 53:[25, 47, 99, 16], Operations: []
Exploring Operation: 25*99=2475, Resulting Numbers: [47, 16, 2475]
Generated Node #2: [47, 16, 2475] from Operation: 25*99=2475
Current State: 53:[47, 16, 2475], Operations: ['25*99=2475']
Exploring Operation: 16+2475=2491, Resulting Numbers: [47, 2491]
Generated Node #3: [47, 2491] from Operation: 16+2475=2491
Current State: 53:[47, 2491], Operations: ['25*99=2475', '16+2475=2491']
Exploring Operation: 2491/47=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[25, 47, 99, 16], Operations: []
Exploring Operation: 99-25=74, Resulting Numbers: [47, 16, 74]
Generated Node #0,0: 53:[47, 16, 74] Operation: 99-25=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[47, 16, 74], Operations: ['99-25=74']
Exploring Operation: 74-16=58, Resulting Numbers: [47, 58]
Generated Node #0,0,0: 53:[47, 58] Operation: 74-16=58
Moving to Node #0,0,0
Current State: 53:[47, 58], Operations: ['99-25=74', '74-16=58']
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,53 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 |
[
72,
72,
6,
34
] | 94 | [
"72/6=12",
"72+34=106",
"106-12=94"
] | Current State: 94:[72, 72, 6, 34], Operations: []
Exploring Operation: 72/6=12, Resulting Numbers: [34, 12]
Generated Node #2: [34, 12] from Operation: 72/6=12
Current State: 94:[34, 12], Operations: ['72/6=12']
Exploring Operation: 72+34=106, Resulting Numbers: [12, 106]
Generated Node #3: [12, 106] from Operation: 72+34=106
Current State: 94:[12, 106], Operations: ['72/6=12', '72+34=106']
Exploring Operation: 106-12=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[72, 72, 6, 34], Operations: []
Exploring Operation: 72-34=38, Resulting Numbers: [72, 6, 38]
Generated Node #0,0: 94:[72, 6, 38] Operation: 72-34=38
Exploring Operation: 72-72=0, Resulting Numbers: [6, 34, 0]
Generated Node #0,1: 94:[6, 34, 0] Operation: 72-72=0
Exploring Operation: 72/72=1, Resulting Numbers: [6, 34, 1]
Generated Node #0,2: 94:[6, 34, 1] Operation: 72/72=1
Exploring Operation: 72-34=38, Resulting Numbers: [72, 6, 38]
Generated Node #0,3: 94:[72, 6, 38] Operation: 72-34=38
Moving to Node #0,2
Current State: 94:[6, 34, 1], Operations: ['72/72=1']
Exploring Operation: 6*1=6, Resulting Numbers: [34, 6]
Generated Node #0,2,0: 94:[34, 6] Operation: 6*1=6
Exploring Operation: 6-1=5, Resulting Numbers: [34, 5]
Generated Node #0,2,1: 94:[34, 5] Operation: 6-1=5
Exploring Operation: 6+34=40, Resulting Numbers: [1, 40]
Generated Node #0,2,2: 94:[1, 40] Operation: 6+34=40
Exploring Operation: 34+1=35, Resulting Numbers: [6, 35]
Generated Node #0,2,3: 94:[6, 35] Operation: 34+1=35
Moving to Node #0,1
Current State: 94:[6, 34, 0], Operations: ['72-72=0']
Exploring Operation: 6*0=0, Resulting Numbers: [34, 0]
Generated Node #0,1,0: 94:[34, 0] Operation: 6*0=0
Exploring Operation: 34*0=0, Resulting Numbers: [6, 0]
Generated Node #0,1,1: 94:[6, 0] Operation: 34*0=0
Exploring Operation: 6+34=40, Resulting Numbers: [0, 40]
Generated Node #0,1,2: 94:[0, 40] Operation: 6+34=40
Exploring Operation: 6+0=6, Resulting Numbers: [34, 6]
Generated Node #0,1,3: 94:[34, 6] Operation: 6+0=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[6, 0], Operations: ['72-72=0', '34*0=0']
Exploring Operation: 6-0=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 6+0=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 6*0=0, Resulting Numbers: [0]
0,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 94:[0, 40], Operations: ['72-72=0', '6+34=40']
Exploring Operation: 0*40=0, Resulting Numbers: [0]
0,94 unequal: No Solution
Exploring Operation: 40-0=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Exploring Operation: 0+40=40, Resulting Numbers: [40]
40,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[34, 0], Operations: ['72-72=0', '6*0=0']
Exploring Operation: 34*0=0, Resulting Numbers: [0]
0,94 unequal: No Solution
Exploring Operation: 34-0=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 34+0=34, Resulting Numbers: [34]
34,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 94:[34, 6], Operations: ['72-72=0', '6+0=6']
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Exploring Operation: 34*6=204, Resulting Numbers: [204]
204,94 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: 94:[72, 6, 38], Operations: ['72-34=38']
Exploring Operation: 72+6=78, Resulting Numbers: [38, 78]
Generated Node #0,3,0: 94:[38, 78] Operation: 72+6=78
Exploring Operation: 72/6=12, Resulting Numbers: [38, 12]
Generated Node #0,3,1: 94:[38, 12] Operation: 72/6=12
Exploring Operation: 72+38=110, Resulting Numbers: [6, 110]
Generated Node #0,3,2: 94:[6, 110] Operation: 72+38=110
Exploring Operation: 72-38=34, Resulting Numbers: [6, 34]
Generated Node #0,3,3: 94:[6, 34] Operation: 72-38=34
Moving to Node #0,0
Current State: 94:[72, 6, 38], Operations: ['72-34=38']
Exploring Operation: 72-38=34, Resulting Numbers: [6, 34]
Generated Node #0,0,0: 94:[6, 34] Operation: 72-38=34
Exploring Operation: 72/6=12, Resulting Numbers: [38, 12]
Generated Node #0,0,1: 94:[38, 12] Operation: 72/6=12
Exploring Operation: 72+6=78, Resulting Numbers: [38, 78]
Generated Node #0,0,2: 94:[38, 78] Operation: 72+6=78
Exploring Operation: 72+38=110, Resulting Numbers: [6, 110]
Generated Node #0,0,3: 94:[6, 110] Operation: 72+38=110
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[6, 34], Operations: ['72-34=38', '72-38=34']
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,94 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[38, 12], Operations: ['72-34=38', '72/6=12']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,94 unequal: No Solution
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 94:[6, 110], Operations: ['72-34=38', '72+38=110']
Exploring Operation: 6+110=116, Resulting Numbers: [116]
116,94 unequal: No Solution
Exploring Operation: 6*110=660, Resulting Numbers: [660]
660,94 unequal: No Solution
Exploring Operation: 110-6=104, Resulting Numbers: [104]
104,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[38, 78], Operations: ['72-34=38', '72+6=78']
Exploring Operation: 38+78=116, Resulting Numbers: [116]
116,94 unequal: No Solution
Exploring Operation: 38*78=2964, Resulting Numbers: [2964]
2964,94 unequal: No Solution
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 94:[1, 40], Operations: ['72/72=1', '6+34=40']
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 1+40=41, Resulting Numbers: [41]
41,94 unequal: No Solution
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Moving to Node #0,2,3
Current State: 94:[6, 35], Operations: ['72/72=1', '34+1=35']
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,94 unequal: No Solution
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,94 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[34, 5], Operations: ['72/72=1', '6-1=5']
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,94 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Moving to Node #0,3,3
Current State: 94:[6, 34], Operations: ['72-34=38', '72-38=34']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,94 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[34, 6], Operations: ['72/72=1', '6*1=6']
Exploring Operation: 34*6=204, Resulting Numbers: [204]
204,94 unequal: No Solution
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[38, 12], Operations: ['72-34=38', '72/6=12']
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[6, 110], Operations: ['72-34=38', '72+38=110']
Exploring Operation: 110-6=104, Resulting Numbers: [104]
104,94 unequal: No Solution
Exploring Operation: 6*110=660, Resulting Numbers: [660]
660,94 unequal: No Solution
Exploring Operation: 6+110=116, Resulting Numbers: [116]
116,94 unequal: No Solution
Moving to Node #0,3,0
Current State: 94:[38, 78], Operations: ['72-34=38', '72+6=78']
Exploring Operation: 38+78=116, Resulting Numbers: [116]
116,94 unequal: No Solution
Exploring Operation: 38*78=2964, Resulting Numbers: [2964]
2964,94 unequal: No Solution
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,94 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
49,
6,
76,
49
] | 28 | [
"49+6=55",
"76-49=27",
"55-27=28"
] | Current State: 28:[49, 6, 76, 49], Operations: []
Exploring Operation: 49+6=55, Resulting Numbers: [76, 55]
Generated Node #2: [76, 55] from Operation: 49+6=55
Current State: 28:[76, 55], Operations: ['49+6=55']
Exploring Operation: 76-49=27, Resulting Numbers: [55, 27]
Generated Node #3: [55, 27] from Operation: 76-49=27
Current State: 28:[55, 27], Operations: ['49+6=55', '76-49=27']
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[49, 6, 76, 49], Operations: []
Exploring Operation: 76-49=27, Resulting Numbers: [6, 49, 27]
Generated Node #0,0: 28:[6, 49, 27] Operation: 76-49=27
Exploring Operation: 76-49=27, Resulting Numbers: [49, 6, 27]
Generated Node #0,1: 28:[49, 6, 27] Operation: 76-49=27
Moving to Node #0,0
Current State: 28:[6, 49, 27], Operations: ['76-49=27']
Exploring Operation: 49-27=22, Resulting Numbers: [6, 22]
Generated Node #0,0,0: 28:[6, 22] Operation: 49-27=22
Exploring Operation: 49-6=43, Resulting Numbers: [27, 43]
Generated Node #0,0,1: 28:[27, 43] Operation: 49-6=43
Moving to Node #0,1
Current State: 28:[49, 6, 27], Operations: ['76-49=27']
Exploring Operation: 49-6=43, Resulting Numbers: [27, 43]
Generated Node #0,1,0: 28:[27, 43] Operation: 49-6=43
Exploring Operation: 49-27=22, Resulting Numbers: [6, 22]
Generated Node #0,1,1: 28:[6, 22] Operation: 49-27=22
Moving to Node #0,0,0
Current State: 28:[6, 22], Operations: ['76-49=27', '49-27=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[49, 6, 76, 49], Operations: []
Exploring Operation: 76-49=27, Resulting Numbers: [6, 49, 27]
Generated Node #0,0: 28:[6, 49, 27] Operation: 76-49=27
Moving to Node #0,0
Current State: 28:[6, 49, 27], Operations: ['76-49=27']
Exploring Operation: 49-27=22, Resulting Numbers: [6, 22]
Generated Node #0,0,0: 28:[6, 22] Operation: 49-27=22
Moving to Node #0,0,0
Current State: 28:[6, 22], Operations: ['76-49=27', '49-27=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
5,
53,
39,
71
] | 71 | [
"5*39=195",
"53+71=124",
"195-124=71"
] | Current State: 71:[5, 53, 39, 71], Operations: []
Exploring Operation: 5*39=195, Resulting Numbers: [53, 71, 195]
Generated Node #2: [53, 71, 195] from Operation: 5*39=195
Current State: 71:[53, 71, 195], Operations: ['5*39=195']
Exploring Operation: 53+71=124, Resulting Numbers: [195, 124]
Generated Node #3: [195, 124] from Operation: 53+71=124
Current State: 71:[195, 124], Operations: ['5*39=195', '53+71=124']
Exploring Operation: 195-124=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[5, 53, 39, 71], Operations: []
Exploring Operation: 5+39=44, Resulting Numbers: [53, 71, 44]
Generated Node #0,0: 71:[53, 71, 44] Operation: 5+39=44
Exploring Operation: 53-5=48, Resulting Numbers: [39, 71, 48]
Generated Node #0,1: 71:[39, 71, 48] Operation: 53-5=48
Exploring Operation: 39-5=34, Resulting Numbers: [53, 71, 34]
Generated Node #0,2: 71:[53, 71, 34] Operation: 39-5=34
Exploring Operation: 5+53=58, Resulting Numbers: [39, 71, 58]
Generated Node #0,3: 71:[39, 71, 58] Operation: 5+53=58
Moving to Node #0,0
Current State: 71:[53, 71, 44], Operations: ['5+39=44']
Exploring Operation: 53-44=9, Resulting Numbers: [71, 9]
Generated Node #0,0,0: 71:[71, 9] Operation: 53-44=9
Exploring Operation: 71+44=115, Resulting Numbers: [53, 115]
Generated Node #0,0,1: 71:[53, 115] Operation: 71+44=115
Exploring Operation: 53+44=97, Resulting Numbers: [71, 97]
Generated Node #0,0,2: 71:[71, 97] Operation: 53+44=97
Exploring Operation: 71-44=27, Resulting Numbers: [53, 27]
Generated Node #0,0,3: 71:[53, 27] Operation: 71-44=27
Moving to Node #0,3
Current State: 71:[39, 71, 58], Operations: ['5+53=58']
Exploring Operation: 39+71=110, Resulting Numbers: [58, 110]
Generated Node #0,3,0: 71:[58, 110] Operation: 39+71=110
Exploring Operation: 58-39=19, Resulting Numbers: [71, 19]
Generated Node #0,3,1: 71:[71, 19] Operation: 58-39=19
Exploring Operation: 71-39=32, Resulting Numbers: [58, 32]
Generated Node #0,3,2: 71:[58, 32] Operation: 71-39=32
Exploring Operation: 39+58=97, Resulting Numbers: [71, 97]
Generated Node #0,3,3: 71:[71, 97] Operation: 39+58=97
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[71, 97], Operations: ['5+53=58', '39+58=97']
Exploring Operation: 71*97=6887, Resulting Numbers: [6887]
6887,71 unequal: No Solution
Exploring Operation: 97-71=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 71+97=168, Resulting Numbers: [168]
168,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[58, 110], Operations: ['5+53=58', '39+71=110']
Exploring Operation: 58+110=168, Resulting Numbers: [168]
168,71 unequal: No Solution
Exploring Operation: 58*110=6380, Resulting Numbers: [6380]
6380,71 unequal: No Solution
Exploring Operation: 110-58=52, Resulting Numbers: [52]
52,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[71, 19], Operations: ['5+53=58', '58-39=19']
Exploring Operation: 71*19=1349, Resulting Numbers: [1349]
1349,71 unequal: No Solution
Exploring Operation: 71+19=90, Resulting Numbers: [90]
90,71 unequal: No Solution
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[58, 32], Operations: ['5+53=58', '71-39=32']
Exploring Operation: 58*32=1856, Resulting Numbers: [1856]
1856,71 unequal: No Solution
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 58+32=90, Resulting Numbers: [90]
90,71 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: 71:[53, 71, 34], Operations: ['39-5=34']
Exploring Operation: 71+34=105, Resulting Numbers: [53, 105]
Generated Node #0,2,0: 71:[53, 105] Operation: 71+34=105
Exploring Operation: 71-34=37, Resulting Numbers: [53, 37]
Generated Node #0,2,1: 71:[53, 37] Operation: 71-34=37
Exploring Operation: 53+34=87, Resulting Numbers: [71, 87]
Generated Node #0,2,2: 71:[71, 87] Operation: 53+34=87
Exploring Operation: 53-34=19, Resulting Numbers: [71, 19]
Generated Node #0,2,3: 71:[71, 19] Operation: 53-34=19
Moving to Node #0,1
Current State: 71:[39, 71, 48], Operations: ['53-5=48']
Exploring Operation: 39+48=87, Resulting Numbers: [71, 87]
Generated Node #0,1,0: 71:[71, 87] Operation: 39+48=87
Exploring Operation: 71-39=32, Resulting Numbers: [48, 32]
Generated Node #0,1,1: 71:[48, 32] Operation: 71-39=32
Exploring Operation: 48-39=9, Resulting Numbers: [71, 9]
Generated Node #0,1,2: 71:[71, 9] Operation: 48-39=9
Exploring Operation: 39+71=110, Resulting Numbers: [48, 110]
Generated Node #0,1,3: 71:[48, 110] Operation: 39+71=110
Moving to Node #0,2,2
Current State: 71:[71, 87], Operations: ['39-5=34', '53+34=87']
Exploring Operation: 87-71=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 71+87=158, Resulting Numbers: [158]
158,71 unequal: No Solution
Exploring Operation: 71*87=6177, Resulting Numbers: [6177]
6177,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[71, 87], Operations: ['53-5=48', '39+48=87']
Exploring Operation: 71+87=158, Resulting Numbers: [158]
158,71 unequal: No Solution
Exploring Operation: 71*87=6177, Resulting Numbers: [6177]
6177,71 unequal: No Solution
Exploring Operation: 87-71=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[71, 97], Operations: ['5+39=44', '53+44=97']
Exploring Operation: 71+97=168, Resulting Numbers: [168]
168,71 unequal: No Solution
Exploring Operation: 71*97=6887, Resulting Numbers: [6887]
6887,71 unequal: No Solution
Exploring Operation: 97-71=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[53, 105], Operations: ['39-5=34', '71+34=105']
Exploring Operation: 105-53=52, Resulting Numbers: [52]
52,71 unequal: No Solution
Exploring Operation: 53+105=158, Resulting Numbers: [158]
158,71 unequal: No Solution
Exploring Operation: 53*105=5565, Resulting Numbers: [5565]
5565,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[53, 37], Operations: ['39-5=34', '71-34=37']
Exploring Operation: 53*37=1961, Resulting Numbers: [1961]
1961,71 unequal: No Solution
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 53+37=90, Resulting Numbers: [90]
90,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[71, 19], Operations: ['39-5=34', '53-34=19']
Exploring Operation: 71*19=1349, Resulting Numbers: [1349]
1349,71 unequal: No Solution
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,71 unequal: No Solution
Exploring Operation: 71+19=90, Resulting Numbers: [90]
90,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[48, 32], Operations: ['53-5=48', '71-39=32']
Exploring Operation: 48*32=1536, Resulting Numbers: [1536]
1536,71 unequal: No Solution
Exploring Operation: 48+32=80, Resulting Numbers: [80]
80,71 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[53, 115], Operations: ['5+39=44', '71+44=115']
Exploring Operation: 53*115=6095, Resulting Numbers: [6095]
6095,71 unequal: No Solution
Exploring Operation: 53+115=168, Resulting Numbers: [168]
168,71 unequal: No Solution
Exploring Operation: 115-53=62, Resulting Numbers: [62]
62,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[71, 9], Operations: ['53-5=48', '48-39=9']
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,71 unequal: No Solution
Exploring Operation: 71*9=639, Resulting Numbers: [639]
639,71 unequal: No Solution
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[53, 27], Operations: ['5+39=44', '71-44=27']
Exploring Operation: 53*27=1431, Resulting Numbers: [1431]
1431,71 unequal: No Solution
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 53+27=80, Resulting Numbers: [80]
80,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[71, 9], Operations: ['5+39=44', '53-44=9']
Exploring Operation: 71*9=639, Resulting Numbers: [639]
639,71 unequal: No Solution
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,71 unequal: No Solution
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[48, 110], Operations: ['53-5=48', '39+71=110']
Exploring Operation: 110-48=62, Resulting Numbers: [62]
62,71 unequal: No Solution
Exploring Operation: 48*110=5280, Resulting Numbers: [5280]
5280,71 unequal: No Solution
Exploring Operation: 48+110=158, Resulting Numbers: [158]
158,71 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
65,
23,
61,
51
] | 78 | [
"65+23=88",
"61-51=10",
"88-10=78"
] | Current State: 78:[65, 23, 61, 51], Operations: []
Exploring Operation: 65+23=88, Resulting Numbers: [61, 51, 88]
Generated Node #2: [61, 51, 88] from Operation: 65+23=88
Current State: 78:[61, 51, 88], Operations: ['65+23=88']
Exploring Operation: 61-51=10, Resulting Numbers: [88, 10]
Generated Node #3: [88, 10] from Operation: 61-51=10
Current State: 78:[88, 10], Operations: ['65+23=88', '61-51=10']
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[65, 23, 61, 51], Operations: []
Exploring Operation: 61-51=10, Resulting Numbers: [65, 23, 10]
Generated Node #0,0: 78:[65, 23, 10] Operation: 61-51=10
Exploring Operation: 65-61=4, Resulting Numbers: [23, 51, 4]
Generated Node #0,1: 78:[23, 51, 4] Operation: 65-61=4
Moving to Node #0,1
Current State: 78:[23, 51, 4], Operations: ['65-61=4']
Exploring Operation: 23+51=74, Resulting Numbers: [4, 74]
Generated Node #0,1,0: 78:[4, 74] Operation: 23+51=74
Exploring Operation: 51-23=28, Resulting Numbers: [4, 28]
Generated Node #0,1,1: 78:[4, 28] Operation: 51-23=28
Moving to Node #0,0
Current State: 78:[65, 23, 10], Operations: ['61-51=10']
Exploring Operation: 65-23=42, Resulting Numbers: [10, 42]
Generated Node #0,0,0: 78:[10, 42] Operation: 65-23=42
Exploring Operation: 65+10=75, Resulting Numbers: [23, 75]
Generated Node #0,0,1: 78:[23, 75] Operation: 65+10=75
Moving to Node #0,1,1
Current State: 78:[4, 28], Operations: ['65-61=4', '51-23=28']
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,78 unequal: No Solution
Moving to Node #0,1,0
Current State: 78:[4, 74], Operations: ['65-61=4', '23+51=74']
Exploring Operation: 4+74=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[65, 23, 61, 51], Operations: []
Exploring Operation: 65-61=4, Resulting Numbers: [23, 51, 4]
Generated Node #0,1: 78:[23, 51, 4] Operation: 65-61=4
Moving to Node #0,1
Current State: 78:[23, 51, 4], Operations: ['65-61=4']
Exploring Operation: 23+51=74, Resulting Numbers: [4, 74]
Generated Node #0,1,0: 78:[4, 74] Operation: 23+51=74
Moving to Node #0,1,0
Current State: 78:[4, 74], Operations: ['65-61=4', '23+51=74']
Exploring Operation: 4+74=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.988715 | hs_2 | sum_heuristic |
[
92,
60,
26,
43
] | 80 | [
"92*60=5520",
"26+43=69",
"5520/69=80"
] | Current State: 80:[92, 60, 26, 43], Operations: []
Exploring Operation: 92*60=5520, Resulting Numbers: [26, 43, 5520]
Generated Node #2: [26, 43, 5520] from Operation: 92*60=5520
Current State: 80:[26, 43, 5520], Operations: ['92*60=5520']
Exploring Operation: 26+43=69, Resulting Numbers: [5520, 69]
Generated Node #3: [5520, 69] from Operation: 26+43=69
Current State: 80:[5520, 69], Operations: ['92*60=5520', '26+43=69']
Exploring Operation: 5520/69=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[92, 60, 26, 43], Operations: []
Exploring Operation: 60-43=17, Resulting Numbers: [92, 26, 17]
Generated Node #0,0: 80:[92, 26, 17] Operation: 60-43=17
Exploring Operation: 92-60=32, Resulting Numbers: [26, 43, 32]
Generated Node #0,1: 80:[26, 43, 32] Operation: 92-60=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[26, 43, 32], Operations: ['92-60=32']
Exploring Operation: 43-32=11, Resulting Numbers: [26, 11]
Generated Node #0,1,0: 80:[26, 11] Operation: 43-32=11
Exploring Operation: 32-26=6, Resulting Numbers: [43, 6]
Generated Node #0,1,1: 80:[43, 6] Operation: 32-26=6
Moving to Node #0,1,1
Current State: 80:[43, 6], Operations: ['92-60=32', '32-26=6']
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[26, 11], Operations: ['92-60=32', '43-32=11']
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,80 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[92, 26, 17], Operations: ['60-43=17']
Exploring Operation: 26-17=9, Resulting Numbers: [92, 9]
Generated Node #0,0,0: 80:[92, 9] Operation: 26-17=9
Exploring Operation: 92-17=75, Resulting Numbers: [26, 75]
Generated Node #0,0,1: 80:[26, 75] Operation: 92-17=75
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[26, 75], Operations: ['60-43=17', '92-17=75']
Exploring Operation: 26+75=101, Resulting Numbers: [101]
101,80 unequal: No Solution
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[92, 9], Operations: ['60-43=17', '26-17=9']
Exploring Operation: 92-9=83, Resulting Numbers: [83]
83,80 unequal: No Solution
Exploring Operation: 92+9=101, Resulting Numbers: [101]
101,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
63,
40,
2,
48
] | 95 | [
"63-48=15",
"40*2=80",
"15+80=95"
] | Current State: 95:[63, 40, 2, 48], Operations: []
Exploring Operation: 63-48=15, Resulting Numbers: [40, 2, 15]
Generated Node #2: [40, 2, 15] from Operation: 63-48=15
Current State: 95:[40, 2, 15], Operations: ['63-48=15']
Exploring Operation: 40*2=80, Resulting Numbers: [15, 80]
Generated Node #3: [15, 80] from Operation: 40*2=80
Current State: 95:[15, 80], Operations: ['63-48=15', '40*2=80']
Exploring Operation: 15+80=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[63, 40, 2, 48], Operations: []
Exploring Operation: 63+40=103, Resulting Numbers: [2, 48, 103]
Generated Node #0,0: 95:[2, 48, 103] Operation: 63+40=103
Exploring Operation: 48-40=8, Resulting Numbers: [63, 2, 8]
Generated Node #0,1: 95:[63, 2, 8] Operation: 48-40=8
Exploring Operation: 63-48=15, Resulting Numbers: [40, 2, 15]
Generated Node #0,2: 95:[40, 2, 15] Operation: 63-48=15
Exploring Operation: 63+48=111, Resulting Numbers: [40, 2, 111]
Generated Node #0,3: 95:[40, 2, 111] Operation: 63+48=111
Exploring Operation: 63-40=23, Resulting Numbers: [2, 48, 23]
Generated Node #0,4: 95:[2, 48, 23] Operation: 63-40=23
Moving to Node #0,2
Current State: 95:[40, 2, 15], Operations: ['63-48=15']
Exploring Operation: 40-2=38, Resulting Numbers: [15, 38]
Generated Node #0,2,0: 95:[15, 38] Operation: 40-2=38
Exploring Operation: 40-15=25, Resulting Numbers: [2, 25]
Generated Node #0,2,1: 95:[2, 25] Operation: 40-15=25
Exploring Operation: 40*2=80, Resulting Numbers: [15, 80]
Generated Node #0,2,2: 95:[15, 80] Operation: 40*2=80
Exploring Operation: 40/2=20, Resulting Numbers: [15, 20]
Generated Node #0,2,3: 95:[15, 20] Operation: 40/2=20
Exploring Operation: 2+15=17, Resulting Numbers: [40, 17]
Generated Node #0,2,4: 95:[40, 17] Operation: 2+15=17
Moving to Node #0,4
Current State: 95:[2, 48, 23], Operations: ['63-40=23']
Exploring Operation: 48-23=25, Resulting Numbers: [2, 25]
Generated Node #0,4,0: 95:[2, 25] Operation: 48-23=25
Exploring Operation: 48+23=71, Resulting Numbers: [2, 71]
Generated Node #0,4,1: 95:[2, 71] Operation: 48+23=71
Exploring Operation: 48/2=24, Resulting Numbers: [23, 24]
Generated Node #0,4,2: 95:[23, 24] Operation: 48/2=24
Exploring Operation: 2*48=96, Resulting Numbers: [23, 96]
Generated Node #0,4,3: 95:[23, 96] Operation: 2*48=96
Exploring Operation: 48-2=46, Resulting Numbers: [23, 46]
Generated Node #0,4,4: 95:[23, 46] Operation: 48-2=46
Moving to Node #0,1
Current State: 95:[63, 2, 8], Operations: ['48-40=8']
Exploring Operation: 63*2=126, Resulting Numbers: [8, 126]
Generated Node #0,1,0: 95:[8, 126] Operation: 63*2=126
Exploring Operation: 8-2=6, Resulting Numbers: [63, 6]
Generated Node #0,1,1: 95:[63, 6] Operation: 8-2=6
Exploring Operation: 63+2=65, Resulting Numbers: [8, 65]
Generated Node #0,1,2: 95:[8, 65] Operation: 63+2=65
Exploring Operation: 63+8=71, Resulting Numbers: [2, 71]
Generated Node #0,1,3: 95:[2, 71] Operation: 63+8=71
Exploring Operation: 8/2=4, Resulting Numbers: [63, 4]
Generated Node #0,1,4: 95:[63, 4] Operation: 8/2=4
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 95:[2, 71], Operations: ['48-40=8', '63+8=71']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,95 unequal: No Solution
Exploring Operation: 2+71=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Exploring Operation: 2*71=142, Resulting Numbers: [142]
142,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[63, 6], Operations: ['48-40=8', '8-2=6']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,95 unequal: No Solution
Exploring Operation: 63+6=69, Resulting Numbers: [69]
69,95 unequal: No Solution
Exploring Operation: 63*6=378, Resulting Numbers: [378]
378,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[8, 65], Operations: ['48-40=8', '63+2=65']
Exploring Operation: 8*65=520, Resulting Numbers: [520]
520,95 unequal: No Solution
Exploring Operation: 8+65=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 95:[63, 4], Operations: ['48-40=8', '8/2=4']
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,95 unequal: No Solution
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[8, 126], Operations: ['48-40=8', '63*2=126']
Exploring Operation: 8+126=134, Resulting Numbers: [134]
134,95 unequal: No Solution
Exploring Operation: 126-8=118, Resulting Numbers: [118]
118,95 unequal: No Solution
Exploring Operation: 8*126=1008, Resulting Numbers: [1008]
1008,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 95:[2, 48, 103], Operations: ['63+40=103']
Exploring Operation: 103-2=101, Resulting Numbers: [48, 101]
Generated Node #0,0,0: 95:[48, 101] Operation: 103-2=101
Exploring Operation: 48-2=46, Resulting Numbers: [103, 46]
Generated Node #0,0,1: 95:[103, 46] Operation: 48-2=46
Exploring Operation: 48/2=24, Resulting Numbers: [103, 24]
Generated Node #0,0,2: 95:[103, 24] Operation: 48/2=24
Exploring Operation: 2*48=96, Resulting Numbers: [103, 96]
Generated Node #0,0,3: 95:[103, 96] Operation: 2*48=96
Exploring Operation: 2+48=50, Resulting Numbers: [103, 50]
Generated Node #0,0,4: 95:[103, 50] Operation: 2+48=50
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 95:[103, 96], Operations: ['63+40=103', '2*48=96']
Exploring Operation: 103+96=199, Resulting Numbers: [199]
199,95 unequal: No Solution
Exploring Operation: 103*96=9888, Resulting Numbers: [9888]
9888,95 unequal: No Solution
Exploring Operation: 103-96=7, Resulting Numbers: [7]
7,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 95:[103, 24], Operations: ['63+40=103', '48/2=24']
Exploring Operation: 103*24=2472, Resulting Numbers: [2472]
2472,95 unequal: No Solution
Exploring Operation: 103+24=127, Resulting Numbers: [127]
127,95 unequal: No Solution
Exploring Operation: 103-24=79, Resulting Numbers: [79]
79,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[48, 101], Operations: ['63+40=103', '103-2=101']
Exploring Operation: 101-48=53, Resulting Numbers: [53]
53,95 unequal: No Solution
Exploring Operation: 48+101=149, Resulting Numbers: [149]
149,95 unequal: No Solution
Exploring Operation: 48*101=4848, Resulting Numbers: [4848]
4848,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[103, 46], Operations: ['63+40=103', '48-2=46']
Exploring Operation: 103*46=4738, Resulting Numbers: [4738]
4738,95 unequal: No Solution
Exploring Operation: 103+46=149, Resulting Numbers: [149]
149,95 unequal: No Solution
Exploring Operation: 103-46=57, Resulting Numbers: [57]
57,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 95:[103, 50], Operations: ['63+40=103', '2+48=50']
Exploring Operation: 103*50=5150, Resulting Numbers: [5150]
5150,95 unequal: No Solution
Exploring Operation: 103-50=53, Resulting Numbers: [53]
53,95 unequal: No Solution
Exploring Operation: 103+50=153, Resulting Numbers: [153]
153,95 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: 95:[40, 2, 111], Operations: ['63+48=111']
Exploring Operation: 111-2=109, Resulting Numbers: [40, 109]
Generated Node #0,3,0: 95:[40, 109] Operation: 111-2=109
Exploring Operation: 40-2=38, Resulting Numbers: [111, 38]
Generated Node #0,3,1: 95:[111, 38] Operation: 40-2=38
Exploring Operation: 40*2=80, Resulting Numbers: [111, 80]
Generated Node #0,3,2: 95:[111, 80] Operation: 40*2=80
Exploring Operation: 40/2=20, Resulting Numbers: [111, 20]
Generated Node #0,3,3: 95:[111, 20] Operation: 40/2=20
Exploring Operation: 111-40=71, Resulting Numbers: [2, 71]
Generated Node #0,3,4: 95:[2, 71] Operation: 111-40=71
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 95:[111, 20], Operations: ['63+48=111', '40/2=20']
Exploring Operation: 111+20=131, Resulting Numbers: [131]
131,95 unequal: No Solution
Exploring Operation: 111-20=91, Resulting Numbers: [91]
91,95 unequal: No Solution
Exploring Operation: 111*20=2220, Resulting Numbers: [2220]
2220,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 95:[2, 71], Operations: ['63+48=111', '111-40=71']
Exploring Operation: 2*71=142, Resulting Numbers: [142]
142,95 unequal: No Solution
Exploring Operation: 2+71=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 95:[111, 80], Operations: ['63+48=111', '40*2=80']
Exploring Operation: 111*80=8880, Resulting Numbers: [8880]
8880,95 unequal: No Solution
Exploring Operation: 111+80=191, Resulting Numbers: [191]
191,95 unequal: No Solution
Exploring Operation: 111-80=31, Resulting Numbers: [31]
31,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 95:[40, 109], Operations: ['63+48=111', '111-2=109']
Exploring Operation: 40*109=4360, Resulting Numbers: [4360]
4360,95 unequal: No Solution
Exploring Operation: 109-40=69, Resulting Numbers: [69]
69,95 unequal: No Solution
Exploring Operation: 40+109=149, Resulting Numbers: [149]
149,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 95:[111, 38], Operations: ['63+48=111', '40-2=38']
Exploring Operation: 111-38=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Exploring Operation: 111*38=4218, Resulting Numbers: [4218]
4218,95 unequal: No Solution
Exploring Operation: 111+38=149, Resulting Numbers: [149]
149,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 95:[15, 20], Operations: ['63-48=15', '40/2=20']
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,95 unequal: No Solution
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 15*20=300, Resulting Numbers: [300]
300,95 unequal: No Solution
Moving to Node #0,4,3
Current State: 95:[23, 96], Operations: ['63-40=23', '2*48=96']
Exploring Operation: 23*96=2208, Resulting Numbers: [2208]
2208,95 unequal: No Solution
Exploring Operation: 23+96=119, Resulting Numbers: [119]
119,95 unequal: No Solution
Exploring Operation: 96-23=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Moving to Node #0,4,0
Current State: 95:[2, 25], Operations: ['63-40=23', '48-23=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[2, 25], Operations: ['63-48=15', '40-15=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,95 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Moving to Node #0,4,2
Current State: 95:[23, 24], Operations: ['63-40=23', '48/2=24']
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,95 unequal: No Solution
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,95 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[15, 80], Operations: ['63-48=15', '40*2=80']
Exploring Operation: 80-15=65, Resulting Numbers: [65]
65,95 unequal: No Solution
Exploring Operation: 15*80=1200, Resulting Numbers: [1200]
1200,95 unequal: No Solution
Exploring Operation: 15+80=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[63, 40, 2, 48], Operations: []
Exploring Operation: 63-48=15, Resulting Numbers: [40, 2, 15]
Generated Node #0,2: 95:[40, 2, 15] Operation: 63-48=15
Moving to Node #0,2
Current State: 95:[40, 2, 15], Operations: ['63-48=15']
Exploring Operation: 40*2=80, Resulting Numbers: [15, 80]
Generated Node #0,2,2: 95:[15, 80] Operation: 40*2=80
Moving to Node #0,2,2
Current State: 95:[15, 80], Operations: ['63-48=15', '40*2=80']
Exploring Operation: 15+80=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 0.915799 | hs_5 | mult_heuristic |
[
89,
8,
47,
71
] | 27 | [
"89+71=160",
"160/8=20",
"47-20=27"
] | Current State: 27:[89, 8, 47, 71], Operations: []
Exploring Operation: 89+71=160, Resulting Numbers: [8, 47, 160]
Generated Node #2: [8, 47, 160] from Operation: 89+71=160
Current State: 27:[8, 47, 160], Operations: ['89+71=160']
Exploring Operation: 160/8=20, Resulting Numbers: [47, 20]
Generated Node #3: [47, 20] from Operation: 160/8=20
Current State: 27:[47, 20], Operations: ['89+71=160', '160/8=20']
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[89, 8, 47, 71], Operations: []
Exploring Operation: 89-47=42, Resulting Numbers: [8, 71, 42]
Generated Node #0,0: 27:[8, 71, 42] Operation: 89-47=42
Exploring Operation: 89-71=18, Resulting Numbers: [8, 47, 18]
Generated Node #0,1: 27:[8, 47, 18] Operation: 89-71=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[8, 47, 18], Operations: ['89-71=18']
Exploring Operation: 47-18=29, Resulting Numbers: [8, 29]
Generated Node #0,1,0: 27:[8, 29] Operation: 47-18=29
Exploring Operation: 47-8=39, Resulting Numbers: [18, 39]
Generated Node #0,1,1: 27:[18, 39] Operation: 47-8=39
Moving to Node #0,1,0
Current State: 27:[8, 29], Operations: ['89-71=18', '47-18=29']
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,27 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[18, 39], Operations: ['89-71=18', '47-8=39']
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[8, 71, 42], Operations: ['89-47=42']
Exploring Operation: 71-8=63, Resulting Numbers: [42, 63]
Generated Node #0,0,0: 27:[42, 63] Operation: 71-8=63
Exploring Operation: 71-42=29, Resulting Numbers: [8, 29]
Generated Node #0,0,1: 27:[8, 29] Operation: 71-42=29
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[8, 29], Operations: ['89-47=42', '71-42=29']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[42, 63], Operations: ['89-47=42', '71-8=63']
Exploring Operation: 42+63=105, Resulting Numbers: [105]
105,27 unequal: No Solution
Exploring Operation: 63-42=21, Resulting Numbers: [21]
21,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
13,
44,
71,
16
] | 93 | [
"13*16=208",
"44+71=115",
"208-115=93"
] | Current State: 93:[13, 44, 71, 16], Operations: []
Exploring Operation: 13*16=208, Resulting Numbers: [44, 71, 208]
Generated Node #2: [44, 71, 208] from Operation: 13*16=208
Current State: 93:[44, 71, 208], Operations: ['13*16=208']
Exploring Operation: 44+71=115, Resulting Numbers: [208, 115]
Generated Node #3: [208, 115] from Operation: 44+71=115
Current State: 93:[208, 115], Operations: ['13*16=208', '44+71=115']
Exploring Operation: 208-115=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[13, 44, 71, 16], Operations: []
Exploring Operation: 71+16=87, Resulting Numbers: [13, 44, 87]
Generated Node #0,0: 93:[13, 44, 87] Operation: 71+16=87
Exploring Operation: 71-44=27, Resulting Numbers: [13, 16, 27]
Generated Node #0,1: 93:[13, 16, 27] Operation: 71-44=27
Moving to Node #0,1
Current State: 93:[13, 16, 27], Operations: ['71-44=27']
Exploring Operation: 16-13=3, Resulting Numbers: [27, 3]
Generated Node #0,1,0: 93:[27, 3] Operation: 16-13=3
Exploring Operation: 13+16=29, Resulting Numbers: [27, 29]
Generated Node #0,1,1: 93:[27, 29] Operation: 13+16=29
Moving to Node #0,0
Current State: 93:[13, 44, 87], Operations: ['71+16=87']
Exploring Operation: 44-13=31, Resulting Numbers: [87, 31]
Generated Node #0,0,0: 93:[87, 31] Operation: 44-13=31
Exploring Operation: 13+87=100, Resulting Numbers: [44, 100]
Generated Node #0,0,1: 93:[44, 100] Operation: 13+87=100
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[87, 31], Operations: ['71+16=87', '44-13=31']
Exploring Operation: 87-31=56, Resulting Numbers: [56]
56,93 unequal: No Solution
Exploring Operation: 87+31=118, Resulting Numbers: [118]
118,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,1
Current State: 93:[44, 100], Operations: ['71+16=87', '13+87=100']
Exploring Operation: 44+100=144, Resulting Numbers: [144]
144,93 unequal: No Solution
Exploring Operation: 100-44=56, Resulting Numbers: [56]
56,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 93:[27, 3], Operations: ['71-44=27', '16-13=3']
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[27, 29], Operations: ['71-44=27', '13+16=29']
Exploring Operation: 27+29=56, Resulting Numbers: [56]
56,93 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,93 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
3,
85,
28,
88
] | 22 | [
"85-3=82",
"88-28=60",
"82-60=22"
] | Current State: 22:[3, 85, 28, 88], Operations: []
Exploring Operation: 85-3=82, Resulting Numbers: [28, 88, 82]
Generated Node #2: [28, 88, 82] from Operation: 85-3=82
Current State: 22:[28, 88, 82], Operations: ['85-3=82']
Exploring Operation: 88-28=60, Resulting Numbers: [82, 60]
Generated Node #3: [82, 60] from Operation: 88-28=60
Current State: 22:[82, 60], Operations: ['85-3=82', '88-28=60']
Exploring Operation: 82-60=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[3, 85, 28, 88], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [3, 28, 3]
Generated Node #0,0: 22:[3, 28, 3] Operation: 88-85=3
Exploring Operation: 85-28=57, Resulting Numbers: [3, 88, 57]
Generated Node #0,1: 22:[3, 88, 57] Operation: 85-28=57
Exploring Operation: 88-28=60, Resulting Numbers: [3, 85, 60]
Generated Node #0,2: 22:[3, 85, 60] Operation: 88-28=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[3, 28, 3], Operations: ['88-85=3']
Exploring Operation: 3/3=1, Resulting Numbers: [28, 1]
Generated Node #0,0,0: 22:[28, 1] Operation: 3/3=1
Exploring Operation: 28-3=25, Resulting Numbers: [3, 25]
Generated Node #0,0,1: 22:[3, 25] Operation: 28-3=25
Exploring Operation: 28-3=25, Resulting Numbers: [3, 25]
Generated Node #0,0,2: 22:[3, 25] Operation: 28-3=25
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 22:[3, 25], Operations: ['88-85=3', '28-3=25']
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,22 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[3, 85, 28, 88], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [3, 28, 3]
Generated Node #0,0: 22:[3, 28, 3] Operation: 88-85=3
Moving to Node #0,0
Current State: 22:[3, 28, 3], Operations: ['88-85=3']
Exploring Operation: 28-3=25, Resulting Numbers: [3, 25]
Generated Node #0,0,1: 22:[3, 25] Operation: 28-3=25
Moving to Node #0,0,1
Current State: 22:[3, 25], Operations: ['88-85=3', '28-3=25']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
32,
85,
23,
66
] | 36 | [
"85-32=53",
"23+66=89",
"89-53=36"
] | Current State: 36:[32, 85, 23, 66], Operations: []
Exploring Operation: 85-32=53, Resulting Numbers: [23, 66, 53]
Generated Node #2: [23, 66, 53] from Operation: 85-32=53
Current State: 36:[23, 66, 53], Operations: ['85-32=53']
Exploring Operation: 23+66=89, Resulting Numbers: [53, 89]
Generated Node #3: [53, 89] from Operation: 23+66=89
Current State: 36:[53, 89], Operations: ['85-32=53', '23+66=89']
Exploring Operation: 89-53=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[32, 85, 23, 66], Operations: []
Exploring Operation: 85-66=19, Resulting Numbers: [32, 23, 19]
Generated Node #0,0: 36:[32, 23, 19] Operation: 85-66=19
Moving to Node #0,0
Current State: 36:[32, 23, 19], Operations: ['85-66=19']
Exploring Operation: 32-23=9, Resulting Numbers: [19, 9]
Generated Node #0,0,0: 36:[19, 9] Operation: 32-23=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[19, 9], Operations: ['85-66=19', '32-23=9']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,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 | sum_heuristic |
[
84,
13,
30,
15
] | 24 | [
"15-13=2",
"30*2=60",
"84-60=24"
] | Current State: 24:[84, 13, 30, 15], Operations: []
Exploring Operation: 15-13=2, Resulting Numbers: [84, 30, 2]
Generated Node #2: [84, 30, 2] from Operation: 15-13=2
Current State: 24:[84, 30, 2], Operations: ['15-13=2']
Exploring Operation: 30*2=60, Resulting Numbers: [84, 60]
Generated Node #3: [84, 60] from Operation: 30*2=60
Current State: 24:[84, 60], Operations: ['15-13=2', '30*2=60']
Exploring Operation: 84-60=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[84, 13, 30, 15], Operations: []
Exploring Operation: 84-30=54, Resulting Numbers: [13, 15, 54]
Generated Node #0,0: 24:[13, 15, 54] Operation: 84-30=54
Exploring Operation: 84-15=69, Resulting Numbers: [13, 30, 69]
Generated Node #0,1: 24:[13, 30, 69] Operation: 84-15=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[13, 15, 54], Operations: ['84-30=54']
Exploring Operation: 54-13=41, Resulting Numbers: [15, 41]
Generated Node #0,0,0: 24:[15, 41] Operation: 54-13=41
Exploring Operation: 54-15=39, Resulting Numbers: [13, 39]
Generated Node #0,0,1: 24:[13, 39] Operation: 54-15=39
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 24:[13, 39], Operations: ['84-30=54', '54-15=39']
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,24 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[15, 41], Operations: ['84-30=54', '54-13=41']
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,24 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[13, 30, 69], Operations: ['84-15=69']
Exploring Operation: 69-13=56, Resulting Numbers: [30, 56]
Generated Node #0,1,0: 24:[30, 56] Operation: 69-13=56
Exploring Operation: 69-30=39, Resulting Numbers: [13, 39]
Generated Node #0,1,1: 24:[13, 39] Operation: 69-30=39
Moving to Node #0,1,1
Current State: 24:[13, 39], Operations: ['84-15=69', '69-30=39']
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[30, 56], Operations: ['84-15=69', '69-13=56']
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,24 unequal: No Solution
Exploring Operation: 30+56=86, Resulting Numbers: [86]
86,24 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 |
[
75,
1,
77,
67
] | 66 | [
"75+1=76",
"77-67=10",
"76-10=66"
] | Current State: 66:[75, 1, 77, 67], Operations: []
Exploring Operation: 75+1=76, Resulting Numbers: [77, 67, 76]
Generated Node #2: [77, 67, 76] from Operation: 75+1=76
Current State: 66:[77, 67, 76], Operations: ['75+1=76']
Exploring Operation: 77-67=10, Resulting Numbers: [76, 10]
Generated Node #3: [76, 10] from Operation: 77-67=10
Current State: 66:[76, 10], Operations: ['75+1=76', '77-67=10']
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[75, 1, 77, 67], Operations: []
Exploring Operation: 77-75=2, Resulting Numbers: [1, 67, 2]
Generated Node #0,0: 66:[1, 67, 2] Operation: 77-75=2
Exploring Operation: 75-67=8, Resulting Numbers: [1, 77, 8]
Generated Node #0,1: 66:[1, 77, 8] Operation: 75-67=8
Exploring Operation: 77-67=10, Resulting Numbers: [75, 1, 10]
Generated Node #0,2: 66:[75, 1, 10] Operation: 77-67=10
Moving to Node #0,0
Current State: 66:[1, 67, 2], Operations: ['77-75=2']
Exploring Operation: 1*67=67, Resulting Numbers: [2, 67]
Generated Node #0,0,0: 66:[2, 67] Operation: 1*67=67
Exploring Operation: 67/1=67, Resulting Numbers: [2, 67]
Generated Node #0,0,1: 66:[2, 67] Operation: 67/1=67
Exploring Operation: 67-1=66, Resulting Numbers: [2, 66]
Generated Node #0,0,2: 66:[2, 66] Operation: 67-1=66
Moving to Node #0,2
Current State: 66:[75, 1, 10], Operations: ['77-67=10']
Exploring Operation: 75-10=65, Resulting Numbers: [1, 65]
Generated Node #0,2,0: 66:[1, 65] Operation: 75-10=65
Exploring Operation: 75-1=74, Resulting Numbers: [10, 74]
Generated Node #0,2,1: 66:[10, 74] Operation: 75-1=74
Exploring Operation: 1+10=11, Resulting Numbers: [75, 11]
Generated Node #0,2,2: 66:[75, 11] Operation: 1+10=11
Moving to Node #0,1
Current State: 66:[1, 77, 8], Operations: ['75-67=8']
Exploring Operation: 8-1=7, Resulting Numbers: [77, 7]
Generated Node #0,1,0: 66:[77, 7] Operation: 8-1=7
Exploring Operation: 77-8=69, Resulting Numbers: [1, 69]
Generated Node #0,1,1: 66:[1, 69] Operation: 77-8=69
Exploring Operation: 77-1=76, Resulting Numbers: [8, 76]
Generated Node #0,1,2: 66:[8, 76] Operation: 77-1=76
Moving to Node #0,0,2
Current State: 66:[2, 66], Operations: ['77-75=2', '67-1=66']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,66 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[2, 67], Operations: ['77-75=2', '67/1=67']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,66 unequal: No Solution
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[2, 67], Operations: ['77-75=2', '1*67=67']
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,66 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,66 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[1, 65], Operations: ['77-67=10', '75-10=65']
Exploring Operation: 1*65=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 1+65=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[75, 1, 77, 67], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [75, 1, 10]
Generated Node #0,2: 66:[75, 1, 10] Operation: 77-67=10
Moving to Node #0,2
Current State: 66:[75, 1, 10], Operations: ['77-67=10']
Exploring Operation: 75-10=65, Resulting Numbers: [1, 65]
Generated Node #0,2,0: 66:[1, 65] Operation: 75-10=65
Moving to Node #0,2,0
Current State: 66:[1, 65], Operations: ['77-67=10', '75-10=65']
Exploring Operation: 1+65=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
78,
81,
29,
95
] | 69 | [
"81-78=3",
"95-29=66",
"3+66=69"
] | Current State: 69:[78, 81, 29, 95], Operations: []
Exploring Operation: 81-78=3, Resulting Numbers: [29, 95, 3]
Generated Node #2: [29, 95, 3] from Operation: 81-78=3
Current State: 69:[29, 95, 3], Operations: ['81-78=3']
Exploring Operation: 95-29=66, Resulting Numbers: [3, 66]
Generated Node #3: [3, 66] from Operation: 95-29=66
Current State: 69:[3, 66], Operations: ['81-78=3', '95-29=66']
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[78, 81, 29, 95], Operations: []
Exploring Operation: 95-81=14, Resulting Numbers: [78, 29, 14]
Generated Node #0,0: 69:[78, 29, 14] Operation: 95-81=14
Exploring Operation: 95-78=17, Resulting Numbers: [81, 29, 17]
Generated Node #0,1: 69:[81, 29, 17] Operation: 95-78=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[78, 29, 14], Operations: ['95-81=14']
Exploring Operation: 78-14=64, Resulting Numbers: [29, 64]
Generated Node #0,0,0: 69:[29, 64] Operation: 78-14=64
Exploring Operation: 29-14=15, Resulting Numbers: [78, 15]
Generated Node #0,0,1: 69:[78, 15] Operation: 29-14=15
Moving to Node #0,0,0
Current State: 69:[29, 64], Operations: ['95-81=14', '78-14=64']
Exploring Operation: 29+64=93, Resulting Numbers: [93]
93,69 unequal: No Solution
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[78, 15], Operations: ['95-81=14', '29-14=15']
Exploring Operation: 78-15=63, Resulting Numbers: [63]
63,69 unequal: No Solution
Exploring Operation: 78+15=93, Resulting Numbers: [93]
93,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[81, 29, 17], Operations: ['95-78=17']
Exploring Operation: 29-17=12, Resulting Numbers: [81, 12]
Generated Node #0,1,0: 69:[81, 12] Operation: 29-17=12
Exploring Operation: 81-17=64, Resulting Numbers: [29, 64]
Generated Node #0,1,1: 69:[29, 64] Operation: 81-17=64
Moving to Node #0,1,1
Current State: 69:[29, 64], Operations: ['95-78=17', '81-17=64']
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,69 unequal: No Solution
Exploring Operation: 29+64=93, Resulting Numbers: [93]
93,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[81, 12], Operations: ['95-78=17', '29-17=12']
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[78, 81, 29, 95], Operations: []
Exploring Operation: 95-78=17, Resulting Numbers: [81, 29, 17]
Generated Node #0,1: 69:[81, 29, 17] Operation: 95-78=17
Moving to Node #0,1
Current State: 69:[81, 29, 17], Operations: ['95-78=17']
Exploring Operation: 29-17=12, Resulting Numbers: [81, 12]
Generated Node #0,1,0: 69:[81, 12] Operation: 29-17=12
Moving to Node #0,1,0
Current State: 69:[81, 12], Operations: ['95-78=17', '29-17=12']
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
96,
22,
12,
6
] | 59 | [
"96+22=118",
"12/6=2",
"118/2=59"
] | Current State: 59:[96, 22, 12, 6], Operations: []
Exploring Operation: 96+22=118, Resulting Numbers: [12, 6, 118]
Generated Node #2: [12, 6, 118] from Operation: 96+22=118
Current State: 59:[12, 6, 118], Operations: ['96+22=118']
Exploring Operation: 12/6=2, Resulting Numbers: [118, 2]
Generated Node #3: [118, 2] from Operation: 12/6=2
Current State: 59:[118, 2], Operations: ['96+22=118', '12/6=2']
Exploring Operation: 118/2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[96, 22, 12, 6], Operations: []
Exploring Operation: 96-6=90, Resulting Numbers: [22, 12, 90]
Generated Node #0,0: 59:[22, 12, 90] Operation: 96-6=90
Exploring Operation: 96-22=74, Resulting Numbers: [12, 6, 74]
Generated Node #0,1: 59:[12, 6, 74] Operation: 96-22=74
Exploring Operation: 96-12=84, Resulting Numbers: [22, 6, 84]
Generated Node #0,2: 59:[22, 6, 84] Operation: 96-12=84
Exploring Operation: 12*6=72, Resulting Numbers: [96, 22, 72]
Generated Node #0,3: 59:[96, 22, 72] Operation: 12*6=72
Moving to Node #0,3
Current State: 59:[96, 22, 72], Operations: ['12*6=72']
Exploring Operation: 72-22=50, Resulting Numbers: [96, 50]
Generated Node #0,3,0: 59:[96, 50] Operation: 72-22=50
Exploring Operation: 96-22=74, Resulting Numbers: [72, 74]
Generated Node #0,3,1: 59:[72, 74] Operation: 96-22=74
Exploring Operation: 96+22=118, Resulting Numbers: [72, 118]
Generated Node #0,3,2: 59:[72, 118] Operation: 96+22=118
Exploring Operation: 96-72=24, Resulting Numbers: [22, 24]
Generated Node #0,3,3: 59:[22, 24] Operation: 96-72=24
Moving to Node #0,1
Current State: 59:[12, 6, 74], Operations: ['96-22=74']
Exploring Operation: 12*6=72, Resulting Numbers: [74, 72]
Generated Node #0,1,0: 59:[74, 72] Operation: 12*6=72
Exploring Operation: 74-12=62, Resulting Numbers: [6, 62]
Generated Node #0,1,1: 59:[6, 62] Operation: 74-12=62
Exploring Operation: 74-6=68, Resulting Numbers: [12, 68]
Generated Node #0,1,2: 59:[12, 68] Operation: 74-6=68
Exploring Operation: 12+6=18, Resulting Numbers: [74, 18]
Generated Node #0,1,3: 59:[74, 18] Operation: 12+6=18
Moving to Node #0,0
Current State: 59:[22, 12, 90], Operations: ['96-6=90']
Exploring Operation: 22+12=34, Resulting Numbers: [90, 34]
Generated Node #0,0,0: 59:[90, 34] Operation: 22+12=34
Exploring Operation: 22-12=10, Resulting Numbers: [90, 10]
Generated Node #0,0,1: 59:[90, 10] Operation: 22-12=10
Exploring Operation: 90-12=78, Resulting Numbers: [22, 78]
Generated Node #0,0,2: 59:[22, 78] Operation: 90-12=78
Exploring Operation: 90-22=68, Resulting Numbers: [12, 68]
Generated Node #0,0,3: 59:[12, 68] Operation: 90-22=68
Moving to Node #0,2
Current State: 59:[22, 6, 84], Operations: ['96-12=84']
Exploring Operation: 22+6=28, Resulting Numbers: [84, 28]
Generated Node #0,2,0: 59:[84, 28] Operation: 22+6=28
Exploring Operation: 22-6=16, Resulting Numbers: [84, 16]
Generated Node #0,2,1: 59:[84, 16] Operation: 22-6=16
Exploring Operation: 84-22=62, Resulting Numbers: [6, 62]
Generated Node #0,2,2: 59:[6, 62] Operation: 84-22=62
Exploring Operation: 84-6=78, Resulting Numbers: [22, 78]
Generated Node #0,2,3: 59:[22, 78] Operation: 84-6=78
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[84, 28], Operations: ['96-12=84', '22+6=28']
Exploring Operation: 84*28=2352, Resulting Numbers: [2352]
2352,59 unequal: No Solution
Exploring Operation: 84+28=112, Resulting Numbers: [112]
112,59 unequal: No Solution
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,59 unequal: No Solution
Exploring Operation: 84/28=3, Resulting Numbers: [3]
3,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 59:[6, 62], Operations: ['96-12=84', '84-22=62']
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,59 unequal: No Solution
Exploring Operation: 6*62=372, Resulting Numbers: [372]
372,59 unequal: No Solution
Exploring Operation: 6+62=68, Resulting Numbers: [68]
68,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 59:[22, 78], Operations: ['96-12=84', '84-6=78']
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,59 unequal: No Solution
Exploring Operation: 22*78=1716, Resulting Numbers: [1716]
1716,59 unequal: No Solution
Exploring Operation: 22+78=100, Resulting Numbers: [100]
100,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[84, 16], Operations: ['96-12=84', '22-6=16']
Exploring Operation: 84+16=100, Resulting Numbers: [100]
100,59 unequal: No Solution
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,59 unequal: No Solution
Exploring Operation: 84*16=1344, Resulting Numbers: [1344]
1344,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 59:[72, 74], Operations: ['12*6=72', '96-22=74']
Exploring Operation: 72*74=5328, Resulting Numbers: [5328]
5328,59 unequal: No Solution
Exploring Operation: 74-72=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 72+74=146, Resulting Numbers: [146]
146,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[74, 72], Operations: ['96-22=74', '12*6=72']
Exploring Operation: 74-72=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 74+72=146, Resulting Numbers: [146]
146,59 unequal: No Solution
Exploring Operation: 74*72=5328, Resulting Numbers: [5328]
5328,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[96, 50], Operations: ['12*6=72', '72-22=50']
Exploring Operation: 96*50=4800, Resulting Numbers: [4800]
4800,59 unequal: No Solution
Exploring Operation: 96+50=146, Resulting Numbers: [146]
146,59 unequal: No Solution
Exploring Operation: 96-50=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[6, 62], Operations: ['96-22=74', '74-12=62']
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,59 unequal: No Solution
Exploring Operation: 6*62=372, Resulting Numbers: [372]
372,59 unequal: No Solution
Exploring Operation: 6+62=68, Resulting Numbers: [68]
68,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[12, 68], Operations: ['96-22=74', '74-6=68']
Exploring Operation: 12+68=80, Resulting Numbers: [80]
80,59 unequal: No Solution
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,59 unequal: No Solution
Exploring Operation: 12*68=816, Resulting Numbers: [816]
816,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[90, 34], Operations: ['96-6=90', '22+12=34']
Exploring Operation: 90+34=124, Resulting Numbers: [124]
124,59 unequal: No Solution
Exploring Operation: 90*34=3060, Resulting Numbers: [3060]
3060,59 unequal: No Solution
Exploring Operation: 90-34=56, Resulting Numbers: [56]
56,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[12, 68], Operations: ['96-6=90', '90-22=68']
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,59 unequal: No Solution
Exploring Operation: 12*68=816, Resulting Numbers: [816]
816,59 unequal: No Solution
Exploring Operation: 12+68=80, Resulting Numbers: [80]
80,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[22, 78], Operations: ['96-6=90', '90-12=78']
Exploring Operation: 22+78=100, Resulting Numbers: [100]
100,59 unequal: No Solution
Exploring Operation: 22*78=1716, Resulting Numbers: [1716]
1716,59 unequal: No Solution
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[74, 18], Operations: ['96-22=74', '12+6=18']
Exploring Operation: 74+18=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 74-18=56, Resulting Numbers: [56]
56,59 unequal: No Solution
Exploring Operation: 74*18=1332, Resulting Numbers: [1332]
1332,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[72, 118], Operations: ['12*6=72', '96+22=118']
Exploring Operation: 72+118=190, Resulting Numbers: [190]
190,59 unequal: No Solution
Exploring Operation: 118-72=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Exploring Operation: 72*118=8496, Resulting Numbers: [8496]
8496,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[22, 24], Operations: ['12*6=72', '96-72=24']
Exploring Operation: 22*24=528, Resulting Numbers: [528]
528,59 unequal: No Solution
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[90, 10], Operations: ['96-6=90', '22-12=10']
Exploring Operation: 90*10=900, Resulting Numbers: [900]
900,59 unequal: No Solution
Exploring Operation: 90/10=9, Resulting Numbers: [9]
9,59 unequal: No Solution
Exploring Operation: 90-10=80, Resulting Numbers: [80]
80,59 unequal: No Solution
Exploring Operation: 90+10=100, Resulting Numbers: [100]
100,59 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
12,
1,
83,
53
] | 42 | [
"12*1=12",
"83-53=30",
"12+30=42"
] | Current State: 42:[12, 1, 83, 53], Operations: []
Exploring Operation: 12*1=12, Resulting Numbers: [83, 53, 12]
Generated Node #2: [83, 53, 12] from Operation: 12*1=12
Current State: 42:[83, 53, 12], Operations: ['12*1=12']
Exploring Operation: 83-53=30, Resulting Numbers: [12, 30]
Generated Node #3: [12, 30] from Operation: 83-53=30
Current State: 42:[12, 30], Operations: ['12*1=12', '83-53=30']
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[12, 1, 83, 53], Operations: []
Exploring Operation: 12+1=13, Resulting Numbers: [83, 53, 13]
Generated Node #0,0: 42:[83, 53, 13] Operation: 12+1=13
Exploring Operation: 83-12=71, Resulting Numbers: [1, 53, 71]
Generated Node #0,1: 42:[1, 53, 71] Operation: 83-12=71
Exploring Operation: 83-53=30, Resulting Numbers: [12, 1, 30]
Generated Node #0,2: 42:[12, 1, 30] Operation: 83-53=30
Exploring Operation: 53-12=41, Resulting Numbers: [1, 83, 41]
Generated Node #0,3: 42:[1, 83, 41] Operation: 53-12=41
Exploring Operation: 83-1=82, Resulting Numbers: [12, 53, 82]
Generated Node #0,4: 42:[12, 53, 82] Operation: 83-1=82
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[12, 1, 30], Operations: ['83-53=30']
Exploring Operation: 30-12=18, Resulting Numbers: [1, 18]
Generated Node #0,2,0: 42:[1, 18] Operation: 30-12=18
Exploring Operation: 12+30=42, Resulting Numbers: [1, 42]
Generated Node #0,2,1: 42:[1, 42] Operation: 12+30=42
Exploring Operation: 12*1=12, Resulting Numbers: [30, 12]
Generated Node #0,2,2: 42:[30, 12] Operation: 12*1=12
Exploring Operation: 30-1=29, Resulting Numbers: [12, 29]
Generated Node #0,2,3: 42:[12, 29] Operation: 30-1=29
Exploring Operation: 12+1=13, Resulting Numbers: [30, 13]
Generated Node #0,2,4: 42:[30, 13] Operation: 12+1=13
Moving to Node #0,2,1
Current State: 42:[1, 42], Operations: ['83-53=30', '12+30=42']
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[12, 1, 83, 53], Operations: []
Exploring Operation: 83-53=30, Resulting Numbers: [12, 1, 30]
Generated Node #0,2: 42:[12, 1, 30] Operation: 83-53=30
Moving to Node #0,2
Current State: 42:[12, 1, 30], Operations: ['83-53=30']
Exploring Operation: 12+30=42, Resulting Numbers: [1, 42]
Generated Node #0,2,1: 42:[1, 42] Operation: 12+30=42
Moving to Node #0,2,1
Current State: 42:[1, 42], Operations: ['83-53=30', '12+30=42']
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
44,
91,
18,
14
] | 73 | [
"91*18=1638",
"1638/14=117",
"117-44=73"
] | Current State: 73:[44, 91, 18, 14], Operations: []
Exploring Operation: 91*18=1638, Resulting Numbers: [44, 14, 1638]
Generated Node #2: [44, 14, 1638] from Operation: 91*18=1638
Current State: 73:[44, 14, 1638], Operations: ['91*18=1638']
Exploring Operation: 1638/14=117, Resulting Numbers: [44, 117]
Generated Node #3: [44, 117] from Operation: 1638/14=117
Current State: 73:[44, 117], Operations: ['91*18=1638', '1638/14=117']
Exploring Operation: 117-44=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[44, 91, 18, 14], Operations: []
Exploring Operation: 44+14=58, Resulting Numbers: [91, 18, 58]
Generated Node #0,0: 73:[91, 18, 58] Operation: 44+14=58
Exploring Operation: 91-18=73, Resulting Numbers: [44, 14, 73]
Generated Node #0,1: 73:[44, 14, 73] Operation: 91-18=73
Exploring Operation: 44+18=62, Resulting Numbers: [91, 14, 62]
Generated Node #0,2: 73:[91, 14, 62] Operation: 44+18=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[91, 18, 58], Operations: ['44+14=58']
Exploring Operation: 91-18=73, Resulting Numbers: [58, 73]
Generated Node #0,0,0: 73:[58, 73] Operation: 91-18=73
Exploring Operation: 91+18=109, Resulting Numbers: [58, 109]
Generated Node #0,0,1: 73:[58, 109] Operation: 91+18=109
Exploring Operation: 18+58=76, Resulting Numbers: [91, 76]
Generated Node #0,0,2: 73:[91, 76] Operation: 18+58=76
Moving to Node #0,0,0
Current State: 73:[58, 73], Operations: ['44+14=58', '91-18=73']
Exploring Operation: 58+73=131, Resulting Numbers: [131]
131,73 unequal: No Solution
Exploring Operation: 58*73=4234, Resulting Numbers: [4234]
4234,73 unequal: No Solution
Exploring Operation: 73-58=15, Resulting Numbers: [15]
15,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[91, 76], Operations: ['44+14=58', '18+58=76']
Exploring Operation: 91-76=15, Resulting Numbers: [15]
15,73 unequal: No Solution
Exploring Operation: 91*76=6916, Resulting Numbers: [6916]
6916,73 unequal: No Solution
Exploring Operation: 91+76=167, Resulting Numbers: [167]
167,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[58, 109], Operations: ['44+14=58', '91+18=109']
Exploring Operation: 109-58=51, Resulting Numbers: [51]
51,73 unequal: No Solution
Exploring Operation: 58+109=167, Resulting Numbers: [167]
167,73 unequal: No Solution
Exploring Operation: 58*109=6322, Resulting Numbers: [6322]
6322,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[44, 14, 73], Operations: ['91-18=73']
Exploring Operation: 44-14=30, Resulting Numbers: [73, 30]
Generated Node #0,1,0: 73:[73, 30] Operation: 44-14=30
Exploring Operation: 14+73=87, Resulting Numbers: [44, 87]
Generated Node #0,1,1: 73:[44, 87] Operation: 14+73=87
Exploring Operation: 44+14=58, Resulting Numbers: [73, 58]
Generated Node #0,1,2: 73:[73, 58] Operation: 44+14=58
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[73, 58], Operations: ['91-18=73', '44+14=58']
Exploring Operation: 73*58=4234, Resulting Numbers: [4234]
4234,73 unequal: No Solution
Exploring Operation: 73-58=15, Resulting Numbers: [15]
15,73 unequal: No Solution
Exploring Operation: 73+58=131, Resulting Numbers: [131]
131,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[73, 30], Operations: ['91-18=73', '44-14=30']
Exploring Operation: 73*30=2190, Resulting Numbers: [2190]
2190,73 unequal: No Solution
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 73+30=103, Resulting Numbers: [103]
103,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[44, 87], Operations: ['91-18=73', '14+73=87']
Exploring Operation: 44+87=131, Resulting Numbers: [131]
131,73 unequal: No Solution
Exploring Operation: 87-44=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 44*87=3828, Resulting Numbers: [3828]
3828,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[91, 14, 62], Operations: ['44+18=62']
Exploring Operation: 91+14=105, Resulting Numbers: [62, 105]
Generated Node #0,2,0: 73:[62, 105] Operation: 91+14=105
Exploring Operation: 91-14=77, Resulting Numbers: [62, 77]
Generated Node #0,2,1: 73:[62, 77] Operation: 91-14=77
Exploring Operation: 14+62=76, Resulting Numbers: [91, 76]
Generated Node #0,2,2: 73:[91, 76] Operation: 14+62=76
Moving to Node #0,2,1
Current State: 73:[62, 77], Operations: ['44+18=62', '91-14=77']
Exploring Operation: 62+77=139, Resulting Numbers: [139]
139,73 unequal: No Solution
Exploring Operation: 77-62=15, Resulting Numbers: [15]
15,73 unequal: No Solution
Exploring Operation: 62*77=4774, Resulting Numbers: [4774]
4774,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[91, 76], Operations: ['44+18=62', '14+62=76']
Exploring Operation: 91*76=6916, Resulting Numbers: [6916]
6916,73 unequal: No Solution
Exploring Operation: 91+76=167, Resulting Numbers: [167]
167,73 unequal: No Solution
Exploring Operation: 91-76=15, Resulting Numbers: [15]
15,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[62, 105], Operations: ['44+18=62', '91+14=105']
Exploring Operation: 62*105=6510, Resulting Numbers: [6510]
6510,73 unequal: No Solution
Exploring Operation: 62+105=167, Resulting Numbers: [167]
167,73 unequal: No Solution
Exploring Operation: 105-62=43, Resulting Numbers: [43]
43,73 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 |
[
34,
6,
35,
3
] | 72 | [
"34+6=40",
"35-3=32",
"40+32=72"
] | Current State: 72:[34, 6, 35, 3], Operations: []
Exploring Operation: 34+6=40, Resulting Numbers: [35, 3, 40]
Generated Node #2: [35, 3, 40] from Operation: 34+6=40
Current State: 72:[35, 3, 40], Operations: ['34+6=40']
Exploring Operation: 35-3=32, Resulting Numbers: [40, 32]
Generated Node #3: [40, 32] from Operation: 35-3=32
Current State: 72:[40, 32], Operations: ['34+6=40', '35-3=32']
Exploring Operation: 40+32=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[34, 6, 35, 3], Operations: []
Exploring Operation: 34+35=69, Resulting Numbers: [6, 3, 69]
Generated Node #0,0: 72:[6, 3, 69] Operation: 34+35=69
Exploring Operation: 34+3=37, Resulting Numbers: [6, 35, 37]
Generated Node #0,1: 72:[6, 35, 37] Operation: 34+3=37
Exploring Operation: 6+3=9, Resulting Numbers: [34, 35, 9]
Generated Node #0,2: 72:[34, 35, 9] Operation: 6+3=9
Exploring Operation: 35-34=1, Resulting Numbers: [6, 3, 1]
Generated Node #0,3: 72:[6, 3, 1] Operation: 35-34=1
Moving to Node #0,3
Current State: 72:[6, 3, 1], Operations: ['35-34=1']
Exploring Operation: 6/1=6, Resulting Numbers: [3, 6]
Generated Node #0,3,0: 72:[3, 6] Operation: 6/1=6
Exploring Operation: 3*1=3, Resulting Numbers: [6, 3]
Generated Node #0,3,1: 72:[6, 3] Operation: 3*1=3
Exploring Operation: 6*1=6, Resulting Numbers: [3, 6]
Generated Node #0,3,2: 72:[3, 6] Operation: 6*1=6
Exploring Operation: 3+1=4, Resulting Numbers: [6, 4]
Generated Node #0,3,3: 72:[6, 4] Operation: 3+1=4
Moving to Node #0,1
Current State: 72:[6, 35, 37], Operations: ['34+3=37']
Exploring Operation: 37-35=2, Resulting Numbers: [6, 2]
Generated Node #0,1,0: 72:[6, 2] Operation: 37-35=2
Exploring Operation: 35-6=29, Resulting Numbers: [37, 29]
Generated Node #0,1,1: 72:[37, 29] Operation: 35-6=29
Exploring Operation: 6+35=41, Resulting Numbers: [37, 41]
Generated Node #0,1,2: 72:[37, 41] Operation: 6+35=41
Exploring Operation: 35+37=72, Resulting Numbers: [6, 72]
Generated Node #0,1,3: 72:[6, 72] Operation: 35+37=72
Moving to Node #0,2
Current State: 72:[34, 35, 9], Operations: ['6+3=9']
Exploring Operation: 34-9=25, Resulting Numbers: [35, 25]
Generated Node #0,2,0: 72:[35, 25] Operation: 34-9=25
Exploring Operation: 34+35=69, Resulting Numbers: [9, 69]
Generated Node #0,2,1: 72:[9, 69] Operation: 34+35=69
Exploring Operation: 35-34=1, Resulting Numbers: [9, 1]
Generated Node #0,2,2: 72:[9, 1] Operation: 35-34=1
Exploring Operation: 35-9=26, Resulting Numbers: [34, 26]
Generated Node #0,2,3: 72:[34, 26] Operation: 35-9=26
Moving to Node #0,0
Current State: 72:[6, 3, 69], Operations: ['34+35=69']
Exploring Operation: 6*3=18, Resulting Numbers: [69, 18]
Generated Node #0,0,0: 72:[69, 18] Operation: 6*3=18
Exploring Operation: 6+3=9, Resulting Numbers: [69, 9]
Generated Node #0,0,1: 72:[69, 9] Operation: 6+3=9
Exploring Operation: 69/3=23, Resulting Numbers: [6, 23]
Generated Node #0,0,2: 72:[6, 23] Operation: 69/3=23
Exploring Operation: 3+69=72, Resulting Numbers: [6, 72]
Generated Node #0,0,3: 72:[6, 72] Operation: 3+69=72
Moving to Node #0,3,0
Current State: 72:[3, 6], Operations: ['35-34=1', '6/1=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Moving to Node #0,3,2
Current State: 72:[3, 6], Operations: ['35-34=1', '6*1=6']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Moving to Node #0,1,3
Current State: 72:[6, 72], Operations: ['34+3=37', '35+37=72']
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,72 unequal: No Solution
Exploring Operation: 6*72=432, Resulting Numbers: [432]
432,72 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,72 unequal: No Solution
Moving to Node #0,0,3
Current State: 72:[6, 72], Operations: ['34+35=69', '3+69=72']
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,72 unequal: No Solution
Exploring Operation: 6*72=432, Resulting Numbers: [432]
432,72 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,72 unequal: No Solution
Moving to Node #0,3,1
Current State: 72:[6, 3], Operations: ['35-34=1', '3*1=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[6, 2], Operations: ['34+3=37', '37-35=2']
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Moving to Node #0,3,3
Current State: 72:[6, 4], Operations: ['35-34=1', '3+1=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Moving to Node #0,0,2
Current State: 72:[6, 23], Operations: ['34+35=69', '69/3=23']
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,72 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[9, 1], Operations: ['6+3=9', '35-34=1']
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[35, 25], Operations: ['6+3=9', '34-9=25']
Exploring Operation: 35*25=875, Resulting Numbers: [875]
875,72 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[69, 18], Operations: ['34+35=69', '6*3=18']
Exploring Operation: 69*18=1242, Resulting Numbers: [1242]
1242,72 unequal: No Solution
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,72 unequal: No Solution
Exploring Operation: 69+18=87, Resulting Numbers: [87]
87,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[69, 9], Operations: ['34+35=69', '6+3=9']
Exploring Operation: 69-9=60, Resulting Numbers: [60]
60,72 unequal: No Solution
Exploring Operation: 69*9=621, Resulting Numbers: [621]
621,72 unequal: No Solution
Exploring Operation: 69+9=78, Resulting Numbers: [78]
78,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[9, 69], Operations: ['6+3=9', '34+35=69']
Exploring Operation: 9+69=78, Resulting Numbers: [78]
78,72 unequal: No Solution
Exploring Operation: 9*69=621, Resulting Numbers: [621]
621,72 unequal: No Solution
Exploring Operation: 69-9=60, Resulting Numbers: [60]
60,72 unequal: No Solution
Moving to Node #0,2,3
Current State: 72:[34, 26], Operations: ['6+3=9', '35-9=26']
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,72 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,72 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[37, 29], Operations: ['34+3=37', '35-6=29']
Exploring Operation: 37*29=1073, Resulting Numbers: [1073]
1073,72 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[37, 41], Operations: ['34+3=37', '6+35=41']
Exploring Operation: 37*41=1517, Resulting Numbers: [1517]
1517,72 unequal: No Solution
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,72 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.