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 |
|---|---|---|---|---|---|---|---|---|
[
48,
44,
71,
24
] | 51 | [
"48-44=4",
"71-24=47",
"4+47=51"
] | Current State: 51:[48, 44, 71, 24], Operations: []
Exploring Operation: 48-44=4, Resulting Numbers: [71, 24, 4]
Generated Node #2: [71, 24, 4] from Operation: 48-44=4
Current State: 51:[71, 24, 4], Operations: ['48-44=4']
Exploring Operation: 71-24=47, Resulting Numbers: [4, 47]
Generated Node #3: [4, 47] from Operation: 71-24=47
Current State: 51:[4, 47], Operations: ['48-44=4', '71-24=47']
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[48, 44, 71, 24], Operations: []
Exploring Operation: 71-48=23, Resulting Numbers: [44, 24, 23]
Generated Node #0,0: 51:[44, 24, 23] Operation: 71-48=23
Exploring Operation: 71-24=47, Resulting Numbers: [48, 44, 47]
Generated Node #0,1: 51:[48, 44, 47] Operation: 71-24=47
Exploring Operation: 71-44=27, Resulting Numbers: [48, 24, 27]
Generated Node #0,2: 51:[48, 24, 27] Operation: 71-44=27
Moving to Node #0,1
Current State: 51:[48, 44, 47], Operations: ['71-24=47']
Exploring Operation: 48-47=1, Resulting Numbers: [44, 1]
Generated Node #0,1,0: 51:[44, 1] Operation: 48-47=1
Exploring Operation: 48-44=4, Resulting Numbers: [47, 4]
Generated Node #0,1,1: 51:[47, 4] Operation: 48-44=4
Exploring Operation: 47-44=3, Resulting Numbers: [48, 3]
Generated Node #0,1,2: 51:[48, 3] Operation: 47-44=3
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[48, 3], Operations: ['71-24=47', '47-44=3']
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[48, 44, 71, 24], Operations: []
Exploring Operation: 71-24=47, Resulting Numbers: [48, 44, 47]
Generated Node #0,1: 51:[48, 44, 47] Operation: 71-24=47
Moving to Node #0,1
Current State: 51:[48, 44, 47], Operations: ['71-24=47']
Exploring Operation: 47-44=3, Resulting Numbers: [48, 3]
Generated Node #0,1,2: 51:[48, 3] Operation: 47-44=3
Moving to Node #0,1,2
Current State: 51:[48, 3], Operations: ['71-24=47', '47-44=3']
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
3,
27,
96,
9
] | 62 | [
"96+9=105",
"105/3=35",
"27+35=62"
] | Current State: 62:[3, 27, 96, 9], Operations: []
Exploring Operation: 96+9=105, Resulting Numbers: [3, 27, 105]
Generated Node #2: [3, 27, 105] from Operation: 96+9=105
Current State: 62:[3, 27, 105], Operations: ['96+9=105']
Exploring Operation: 105/3=35, Resulting Numbers: [27, 35]
Generated Node #3: [27, 35] from Operation: 105/3=35
Current State: 62:[27, 35], Operations: ['96+9=105', '105/3=35']
Exploring Operation: 27+35=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[3, 27, 96, 9], Operations: []
Exploring Operation: 27/9=3, Resulting Numbers: [3, 96, 3]
Generated Node #0,0: 62:[3, 96, 3] Operation: 27/9=3
Exploring Operation: 96/3=32, Resulting Numbers: [27, 9, 32]
Generated Node #0,1: 62:[27, 9, 32] Operation: 96/3=32
Exploring Operation: 9/3=3, Resulting Numbers: [27, 96, 3]
Generated Node #0,2: 62:[27, 96, 3] Operation: 9/3=3
Exploring Operation: 96-27=69, Resulting Numbers: [3, 9, 69]
Generated Node #0,3: 62:[3, 9, 69] Operation: 96-27=69
Exploring Operation: 96-9=87, Resulting Numbers: [3, 27, 87]
Generated Node #0,4: 62:[3, 27, 87] Operation: 96-9=87
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[27, 9, 32], Operations: ['96/3=32']
Exploring Operation: 27+9=36, Resulting Numbers: [32, 36]
Generated Node #0,1,0: 62:[32, 36] Operation: 27+9=36
Exploring Operation: 32-27=5, Resulting Numbers: [9, 5]
Generated Node #0,1,1: 62:[9, 5] Operation: 32-27=5
Exploring Operation: 32-9=23, Resulting Numbers: [27, 23]
Generated Node #0,1,2: 62:[27, 23] Operation: 32-9=23
Exploring Operation: 27+32=59, Resulting Numbers: [9, 59]
Generated Node #0,1,3: 62:[9, 59] Operation: 27+32=59
Exploring Operation: 27/9=3, Resulting Numbers: [32, 3]
Generated Node #0,1,4: 62:[32, 3] Operation: 27/9=3
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 62:[32, 3], Operations: ['96/3=32', '27/9=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,62 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,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:[32, 36], Operations: ['96/3=32', '27+9=36']
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 32*36=1152, Resulting Numbers: [1152]
1152,62 unequal: No Solution
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 62:[9, 5], Operations: ['96/3=32', '32-27=5']
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,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:[9, 59], Operations: ['96/3=32', '27+32=59']
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,62 unequal: No Solution
Exploring Operation: 9+59=68, Resulting Numbers: [68]
68,62 unequal: No Solution
Exploring Operation: 9*59=531, Resulting Numbers: [531]
531,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:[27, 23], Operations: ['96/3=32', '32-9=23']
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,62 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 27*23=621, Resulting Numbers: [621]
621,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:[3, 9, 69], Operations: ['96-27=69']
Exploring Operation: 3*9=27, Resulting Numbers: [69, 27]
Generated Node #0,3,0: 62:[69, 27] Operation: 3*9=27
Exploring Operation: 69-3=66, Resulting Numbers: [9, 66]
Generated Node #0,3,1: 62:[9, 66] Operation: 69-3=66
Exploring Operation: 9/3=3, Resulting Numbers: [69, 3]
Generated Node #0,3,2: 62:[69, 3] Operation: 9/3=3
Exploring Operation: 9-3=6, Resulting Numbers: [69, 6]
Generated Node #0,3,3: 62:[69, 6] Operation: 9-3=6
Exploring Operation: 69-9=60, Resulting Numbers: [3, 60]
Generated Node #0,3,4: 62:[3, 60] Operation: 69-9=60
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 62:[3, 60], Operations: ['96-27=69', '69-9=60']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Exploring Operation: 3*60=180, Resulting Numbers: [180]
180,62 unequal: No Solution
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 62:[69, 3], Operations: ['96-27=69', '9/3=3']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,62 unequal: No Solution
Exploring Operation: 69*3=207, Resulting Numbers: [207]
207,62 unequal: No Solution
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,62 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 62:[69, 27], Operations: ['96-27=69', '3*9=27']
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Exploring Operation: 69*27=1863, Resulting Numbers: [1863]
1863,62 unequal: No Solution
Exploring Operation: 69+27=96, Resulting Numbers: [96]
96,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 62:[9, 66], Operations: ['96-27=69', '69-3=66']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Exploring Operation: 9*66=594, Resulting Numbers: [594]
594,62 unequal: No Solution
Exploring Operation: 9+66=75, Resulting Numbers: [75]
75,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 62:[69, 6], Operations: ['96-27=69', '9-3=6']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Exploring Operation: 69*6=414, Resulting Numbers: [414]
414,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,4
Current State: 62:[3, 27, 87], Operations: ['96-9=87']
Exploring Operation: 27-3=24, Resulting Numbers: [87, 24]
Generated Node #0,4,0: 62:[87, 24] Operation: 27-3=24
Exploring Operation: 87/3=29, Resulting Numbers: [27, 29]
Generated Node #0,4,1: 62:[27, 29] Operation: 87/3=29
Exploring Operation: 87-27=60, Resulting Numbers: [3, 60]
Generated Node #0,4,2: 62:[3, 60] Operation: 87-27=60
Exploring Operation: 3+27=30, Resulting Numbers: [87, 30]
Generated Node #0,4,3: 62:[87, 30] Operation: 3+27=30
Exploring Operation: 87-3=84, Resulting Numbers: [27, 84]
Generated Node #0,4,4: 62:[27, 84] Operation: 87-3=84
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 62:[3, 60], Operations: ['96-9=87', '87-27=60']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 3*60=180, Resulting Numbers: [180]
180,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 62:[27, 29], Operations: ['96-9=87', '87/3=29']
Exploring Operation: 27*29=783, Resulting Numbers: [783]
783,62 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 27+29=56, Resulting Numbers: [56]
56,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 62:[87, 30], Operations: ['96-9=87', '3+27=30']
Exploring Operation: 87*30=2610, Resulting Numbers: [2610]
2610,62 unequal: No Solution
Exploring Operation: 87+30=117, Resulting Numbers: [117]
117,62 unequal: No Solution
Exploring Operation: 87-30=57, Resulting Numbers: [57]
57,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 62:[27, 84], Operations: ['96-9=87', '87-3=84']
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Exploring Operation: 27*84=2268, Resulting Numbers: [2268]
2268,62 unequal: No Solution
Exploring Operation: 27+84=111, Resulting Numbers: [111]
111,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 62:[87, 24], Operations: ['96-9=87', '27-3=24']
Exploring Operation: 87-24=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 87+24=111, Resulting Numbers: [111]
111,62 unequal: No Solution
Exploring Operation: 87*24=2088, Resulting Numbers: [2088]
2088,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,0
Current State: 62:[3, 96, 3], Operations: ['27/9=3']
Exploring Operation: 96/3=32, Resulting Numbers: [3, 32]
Generated Node #0,0,0: 62:[3, 32] Operation: 96/3=32
Exploring Operation: 96-3=93, Resulting Numbers: [3, 93]
Generated Node #0,0,1: 62:[3, 93] Operation: 96-3=93
Exploring Operation: 96-3=93, Resulting Numbers: [3, 93]
Generated Node #0,0,2: 62:[3, 93] Operation: 96-3=93
Exploring Operation: 96/3=32, Resulting Numbers: [3, 32]
Generated Node #0,0,3: 62:[3, 32] Operation: 96/3=32
Exploring Operation: 3/3=1, Resulting Numbers: [96, 1]
Generated Node #0,0,4: 62:[96, 1] Operation: 3/3=1
Moving to Node #0,0,0
Current State: 62:[3, 32], Operations: ['27/9=3', '96/3=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,62 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[3, 32], Operations: ['27/9=3', '96/3=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,62 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[3, 93], Operations: ['27/9=3', '96-3=93']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,62 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Exploring Operation: 3+93=96, Resulting Numbers: [96]
96,62 unequal: No Solution
Exploring Operation: 3*93=279, Resulting Numbers: [279]
279,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[3, 93], Operations: ['27/9=3', '96-3=93']
Exploring Operation: 3+93=96, Resulting Numbers: [96]
96,62 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,62 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Exploring Operation: 3*93=279, Resulting Numbers: [279]
279,62 unequal: No Solution
Moving to Node #0,0,4
Current State: 62:[96, 1], Operations: ['27/9=3', '3/3=1']
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,62 unequal: No Solution
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,62 unequal: No Solution
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,62 unequal: No Solution
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,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:[27, 96, 3], Operations: ['9/3=3']
Exploring Operation: 96/3=32, Resulting Numbers: [27, 32]
Generated Node #0,2,0: 62:[27, 32] Operation: 96/3=32
Exploring Operation: 27+3=30, Resulting Numbers: [96, 30]
Generated Node #0,2,1: 62:[96, 30] Operation: 27+3=30
Exploring Operation: 27-3=24, Resulting Numbers: [96, 24]
Generated Node #0,2,2: 62:[96, 24] Operation: 27-3=24
Exploring Operation: 96-3=93, Resulting Numbers: [27, 93]
Generated Node #0,2,3: 62:[27, 93] Operation: 96-3=93
Exploring Operation: 96-27=69, Resulting Numbers: [3, 69]
Generated Node #0,2,4: 62:[3, 69] Operation: 96-27=69
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 62:[27, 32], Operations: ['9/3=3', '96/3=32']
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 27*32=864, Resulting Numbers: [864]
864,62 unequal: No Solution
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,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,2,4
Current State: 62:[3, 69], Operations: ['9/3=3', '96-27=69']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,62 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 3*69=207, Resulting Numbers: [207]
207,62 unequal: No Solution
Exploring Operation: 3+69=72, Resulting Numbers: [72]
72,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,2,1
Current State: 62:[96, 30], Operations: ['9/3=3', '27+3=30']
Exploring Operation: 96+30=126, Resulting Numbers: [126]
126,62 unequal: No Solution
Exploring Operation: 96-30=66, Resulting Numbers: [66]
66,62 unequal: No Solution
Exploring Operation: 96*30=2880, Resulting Numbers: [2880]
2880,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,2,3
Current State: 62:[27, 93], Operations: ['9/3=3', '96-3=93']
Exploring Operation: 93-27=66, Resulting Numbers: [66]
66,62 unequal: No Solution
Exploring Operation: 27*93=2511, Resulting Numbers: [2511]
2511,62 unequal: No Solution
Exploring Operation: 27+93=120, Resulting Numbers: [120]
120,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,2,2
Current State: 62:[96, 24], Operations: ['9/3=3', '27-3=24']
Exploring Operation: 96/24=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 96+24=120, Resulting Numbers: [120]
120,62 unequal: No Solution
Exploring Operation: 96-24=72, Resulting Numbers: [72]
72,62 unequal: No Solution
Exploring Operation: 96*24=2304, Resulting Numbers: [2304]
2304,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
45,
12,
14,
16
] | 35 | [
"45-12=33",
"16-14=2",
"33+2=35"
] | Current State: 35:[45, 12, 14, 16], Operations: []
Exploring Operation: 45-12=33, Resulting Numbers: [14, 16, 33]
Generated Node #2: [14, 16, 33] from Operation: 45-12=33
Current State: 35:[14, 16, 33], Operations: ['45-12=33']
Exploring Operation: 16-14=2, Resulting Numbers: [33, 2]
Generated Node #3: [33, 2] from Operation: 16-14=2
Current State: 35:[33, 2], Operations: ['45-12=33', '16-14=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[45, 12, 14, 16], Operations: []
Exploring Operation: 45-12=33, Resulting Numbers: [14, 16, 33]
Generated Node #0,0: 35:[14, 16, 33] Operation: 45-12=33
Exploring Operation: 45-14=31, Resulting Numbers: [12, 16, 31]
Generated Node #0,1: 35:[12, 16, 31] Operation: 45-14=31
Exploring Operation: 45-16=29, Resulting Numbers: [12, 14, 29]
Generated Node #0,2: 35:[12, 14, 29] Operation: 45-16=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[14, 16, 33], Operations: ['45-12=33']
Exploring Operation: 14+16=30, Resulting Numbers: [33, 30]
Generated Node #0,0,0: 35:[33, 30] Operation: 14+16=30
Exploring Operation: 33-16=17, Resulting Numbers: [14, 17]
Generated Node #0,0,1: 35:[14, 17] Operation: 33-16=17
Exploring Operation: 16-14=2, Resulting Numbers: [33, 2]
Generated Node #0,0,2: 35:[33, 2] Operation: 16-14=2
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 35:[33, 2], Operations: ['45-12=33', '16-14=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,35 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[45, 12, 14, 16], Operations: []
Exploring Operation: 45-12=33, Resulting Numbers: [14, 16, 33]
Generated Node #0,0: 35:[14, 16, 33] Operation: 45-12=33
Moving to Node #0,0
Current State: 35:[14, 16, 33], Operations: ['45-12=33']
Exploring Operation: 16-14=2, Resulting Numbers: [33, 2]
Generated Node #0,0,2: 35:[33, 2] Operation: 16-14=2
Moving to Node #0,0,2
Current State: 35:[33, 2], Operations: ['45-12=33', '16-14=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
38,
60,
95,
8
] | 80 | [
"95*8=760",
"760/38=20",
"60+20=80"
] | Current State: 80:[38, 60, 95, 8], Operations: []
Exploring Operation: 95*8=760, Resulting Numbers: [38, 60, 760]
Generated Node #2: [38, 60, 760] from Operation: 95*8=760
Current State: 80:[38, 60, 760], Operations: ['95*8=760']
Exploring Operation: 760/38=20, Resulting Numbers: [60, 20]
Generated Node #3: [60, 20] from Operation: 760/38=20
Current State: 80:[60, 20], Operations: ['95*8=760', '760/38=20']
Exploring Operation: 60+20=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[38, 60, 95, 8], Operations: []
Exploring Operation: 60-8=52, Resulting Numbers: [38, 95, 52]
Generated Node #0,0: 80:[38, 95, 52] Operation: 60-8=52
Exploring Operation: 60-38=22, Resulting Numbers: [95, 8, 22]
Generated Node #0,1: 80:[95, 8, 22] Operation: 60-38=22
Exploring Operation: 60+8=68, Resulting Numbers: [38, 95, 68]
Generated Node #0,2: 80:[38, 95, 68] Operation: 60+8=68
Exploring Operation: 95-8=87, Resulting Numbers: [38, 60, 87]
Generated Node #0,3: 80:[38, 60, 87] Operation: 95-8=87
Exploring Operation: 95-60=35, Resulting Numbers: [38, 8, 35]
Generated Node #0,4: 80:[38, 8, 35] Operation: 95-60=35
Moving to Node #0,4
Current State: 80:[38, 8, 35], Operations: ['95-60=35']
Exploring Operation: 38-35=3, Resulting Numbers: [8, 3]
Generated Node #0,4,0: 80:[8, 3] Operation: 38-35=3
Exploring Operation: 38+8=46, Resulting Numbers: [35, 46]
Generated Node #0,4,1: 80:[35, 46] Operation: 38+8=46
Exploring Operation: 38+35=73, Resulting Numbers: [8, 73]
Generated Node #0,4,2: 80:[8, 73] Operation: 38+35=73
Exploring Operation: 8+35=43, Resulting Numbers: [38, 43]
Generated Node #0,4,3: 80:[38, 43] Operation: 8+35=43
Exploring Operation: 35-8=27, Resulting Numbers: [38, 27]
Generated Node #0,4,4: 80:[38, 27] Operation: 35-8=27
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 80:[8, 3], Operations: ['95-60=35', '38-35=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,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,4,3
Current State: 80:[38, 43], Operations: ['95-60=35', '8+35=43']
Exploring Operation: 38+43=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 38*43=1634, Resulting Numbers: [1634]
1634,80 unequal: No Solution
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,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,4,2
Current State: 80:[8, 73], Operations: ['95-60=35', '38+35=73']
Exploring Operation: 8+73=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 8*73=584, Resulting Numbers: [584]
584,80 unequal: No Solution
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,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,4,4
Current State: 80:[38, 27], Operations: ['95-60=35', '35-8=27']
Exploring Operation: 38*27=1026, Resulting Numbers: [1026]
1026,80 unequal: No Solution
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 38+27=65, Resulting Numbers: [65]
65,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,4,1
Current State: 80:[35, 46], Operations: ['95-60=35', '38+8=46']
Exploring Operation: 35+46=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 35*46=1610, Resulting Numbers: [1610]
1610,80 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: 80:[95, 8, 22], Operations: ['60-38=22']
Exploring Operation: 95-8=87, Resulting Numbers: [22, 87]
Generated Node #0,1,0: 80:[22, 87] Operation: 95-8=87
Exploring Operation: 95+8=103, Resulting Numbers: [22, 103]
Generated Node #0,1,1: 80:[22, 103] Operation: 95+8=103
Exploring Operation: 22-8=14, Resulting Numbers: [95, 14]
Generated Node #0,1,2: 80:[95, 14] Operation: 22-8=14
Exploring Operation: 95-22=73, Resulting Numbers: [8, 73]
Generated Node #0,1,3: 80:[8, 73] Operation: 95-22=73
Exploring Operation: 8+22=30, Resulting Numbers: [95, 30]
Generated Node #0,1,4: 80:[95, 30] Operation: 8+22=30
Moving to Node #0,0
Current State: 80:[38, 95, 52], Operations: ['60-8=52']
Exploring Operation: 52-38=14, Resulting Numbers: [95, 14]
Generated Node #0,0,0: 80:[95, 14] Operation: 52-38=14
Exploring Operation: 95-52=43, Resulting Numbers: [38, 43]
Generated Node #0,0,1: 80:[38, 43] Operation: 95-52=43
Exploring Operation: 38+52=90, Resulting Numbers: [95, 90]
Generated Node #0,0,2: 80:[95, 90] Operation: 38+52=90
Exploring Operation: 38+95=133, Resulting Numbers: [52, 133]
Generated Node #0,0,3: 80:[52, 133] Operation: 38+95=133
Exploring Operation: 95-38=57, Resulting Numbers: [52, 57]
Generated Node #0,0,4: 80:[52, 57] Operation: 95-38=57
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[38, 43], Operations: ['60-8=52', '95-52=43']
Exploring Operation: 38+43=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 38*43=1634, Resulting Numbers: [1634]
1634,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,0
Current State: 80:[95, 14], Operations: ['60-8=52', '52-38=14']
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 95+14=109, Resulting Numbers: [109]
109,80 unequal: No Solution
Exploring Operation: 95*14=1330, Resulting Numbers: [1330]
1330,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,2
Current State: 80:[95, 90], Operations: ['60-8=52', '38+52=90']
Exploring Operation: 95-90=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 95*90=8550, Resulting Numbers: [8550]
8550,80 unequal: No Solution
Exploring Operation: 95+90=185, Resulting Numbers: [185]
185,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,4
Current State: 80:[52, 57], Operations: ['60-8=52', '95-38=57']
Exploring Operation: 52+57=109, Resulting Numbers: [109]
109,80 unequal: No Solution
Exploring Operation: 52*57=2964, Resulting Numbers: [2964]
2964,80 unequal: No Solution
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,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,3
Current State: 80:[52, 133], Operations: ['60-8=52', '38+95=133']
Exploring Operation: 52*133=6916, Resulting Numbers: [6916]
6916,80 unequal: No Solution
Exploring Operation: 133-52=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 52+133=185, Resulting Numbers: [185]
185,80 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: 80:[38, 95, 68], Operations: ['60+8=68']
Exploring Operation: 38+95=133, Resulting Numbers: [68, 133]
Generated Node #0,2,0: 80:[68, 133] Operation: 38+95=133
Exploring Operation: 95-68=27, Resulting Numbers: [38, 27]
Generated Node #0,2,1: 80:[38, 27] Operation: 95-68=27
Exploring Operation: 38+68=106, Resulting Numbers: [95, 106]
Generated Node #0,2,2: 80:[95, 106] Operation: 38+68=106
Exploring Operation: 68-38=30, Resulting Numbers: [95, 30]
Generated Node #0,2,3: 80:[95, 30] Operation: 68-38=30
Exploring Operation: 95-38=57, Resulting Numbers: [68, 57]
Generated Node #0,2,4: 80:[68, 57] Operation: 95-38=57
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 80:[38, 27], Operations: ['60+8=68', '95-68=27']
Exploring Operation: 38*27=1026, Resulting Numbers: [1026]
1026,80 unequal: No Solution
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 38+27=65, Resulting Numbers: [65]
65,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,2,3
Current State: 80:[95, 30], Operations: ['60+8=68', '68-38=30']
Exploring Operation: 95*30=2850, Resulting Numbers: [2850]
2850,80 unequal: No Solution
Exploring Operation: 95-30=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Exploring Operation: 95+30=125, Resulting Numbers: [125]
125,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,2,4
Current State: 80:[68, 57], Operations: ['60+8=68', '95-38=57']
Exploring Operation: 68+57=125, Resulting Numbers: [125]
125,80 unequal: No Solution
Exploring Operation: 68-57=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 68*57=3876, Resulting Numbers: [3876]
3876,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,2,2
Current State: 80:[95, 106], Operations: ['60+8=68', '38+68=106']
Exploring Operation: 106-95=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 95+106=201, Resulting Numbers: [201]
201,80 unequal: No Solution
Exploring Operation: 95*106=10070, Resulting Numbers: [10070]
10070,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,2,0
Current State: 80:[68, 133], Operations: ['60+8=68', '38+95=133']
Exploring Operation: 68+133=201, Resulting Numbers: [201]
201,80 unequal: No Solution
Exploring Operation: 68*133=9044, Resulting Numbers: [9044]
9044,80 unequal: No Solution
Exploring Operation: 133-68=65, Resulting Numbers: [65]
65,80 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: 80:[38, 60, 87], Operations: ['95-8=87']
Exploring Operation: 60-38=22, Resulting Numbers: [87, 22]
Generated Node #0,3,0: 80:[87, 22] Operation: 60-38=22
Exploring Operation: 38+60=98, Resulting Numbers: [87, 98]
Generated Node #0,3,1: 80:[87, 98] Operation: 38+60=98
Exploring Operation: 87-38=49, Resulting Numbers: [60, 49]
Generated Node #0,3,2: 80:[60, 49] Operation: 87-38=49
Exploring Operation: 38+87=125, Resulting Numbers: [60, 125]
Generated Node #0,3,3: 80:[60, 125] Operation: 38+87=125
Exploring Operation: 87-60=27, Resulting Numbers: [38, 27]
Generated Node #0,3,4: 80:[38, 27] Operation: 87-60=27
Moving to Node #0,1,3
Current State: 80:[8, 73], Operations: ['60-38=22', '95-22=73']
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Exploring Operation: 8+73=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 8*73=584, Resulting Numbers: [584]
584,80 unequal: No Solution
Moving to Node #0,3,0
Current State: 80:[87, 22], Operations: ['95-8=87', '60-38=22']
Exploring Operation: 87*22=1914, Resulting Numbers: [1914]
1914,80 unequal: No Solution
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Exploring Operation: 87+22=109, Resulting Numbers: [109]
109,80 unequal: No Solution
Moving to Node #0,3,4
Current State: 80:[38, 27], Operations: ['95-8=87', '87-60=27']
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 38+27=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Exploring Operation: 38*27=1026, Resulting Numbers: [1026]
1026,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[22, 87], Operations: ['60-38=22', '95-8=87']
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Exploring Operation: 22*87=1914, Resulting Numbers: [1914]
1914,80 unequal: No Solution
Exploring Operation: 22+87=109, Resulting Numbers: [109]
109,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[95, 14], Operations: ['60-38=22', '22-8=14']
Exploring Operation: 95+14=109, Resulting Numbers: [109]
109,80 unequal: No Solution
Exploring Operation: 95*14=1330, Resulting Numbers: [1330]
1330,80 unequal: No Solution
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Moving to Node #0,1,4
Current State: 80:[95, 30], Operations: ['60-38=22', '8+22=30']
Exploring Operation: 95*30=2850, Resulting Numbers: [2850]
2850,80 unequal: No Solution
Exploring Operation: 95+30=125, Resulting Numbers: [125]
125,80 unequal: No Solution
Exploring Operation: 95-30=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Moving to Node #0,3,1
Current State: 80:[87, 98], Operations: ['95-8=87', '38+60=98']
Exploring Operation: 87*98=8526, Resulting Numbers: [8526]
8526,80 unequal: No Solution
Exploring Operation: 87+98=185, Resulting Numbers: [185]
185,80 unequal: No Solution
Exploring Operation: 98-87=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[22, 103], Operations: ['60-38=22', '95+8=103']
Exploring Operation: 22*103=2266, Resulting Numbers: [2266]
2266,80 unequal: No Solution
Exploring Operation: 103-22=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 22+103=125, Resulting Numbers: [125]
125,80 unequal: No Solution
Moving to Node #0,3,2
Current State: 80:[60, 49], Operations: ['95-8=87', '87-38=49']
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 60*49=2940, Resulting Numbers: [2940]
2940,80 unequal: No Solution
Exploring Operation: 60+49=109, Resulting Numbers: [109]
109,80 unequal: No Solution
Moving to Node #0,3,3
Current State: 80:[60, 125], Operations: ['95-8=87', '38+87=125']
Exploring Operation: 60+125=185, Resulting Numbers: [185]
185,80 unequal: No Solution
Exploring Operation: 125-60=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Exploring Operation: 60*125=7500, Resulting Numbers: [7500]
7500,80 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
45,
76,
51,
87
] | 95 | [
"45*76=3420",
"87-51=36",
"3420/36=95"
] | Current State: 95:[45, 76, 51, 87], Operations: []
Exploring Operation: 45*76=3420, Resulting Numbers: [51, 87, 3420]
Generated Node #2: [51, 87, 3420] from Operation: 45*76=3420
Current State: 95:[51, 87, 3420], Operations: ['45*76=3420']
Exploring Operation: 87-51=36, Resulting Numbers: [3420, 36]
Generated Node #3: [3420, 36] from Operation: 87-51=36
Current State: 95:[3420, 36], Operations: ['45*76=3420', '87-51=36']
Exploring Operation: 3420/36=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[45, 76, 51, 87], Operations: []
Exploring Operation: 51-45=6, Resulting Numbers: [76, 87, 6]
Generated Node #0,0: 95:[76, 87, 6] Operation: 51-45=6
Exploring Operation: 76-45=31, Resulting Numbers: [51, 87, 31]
Generated Node #0,1: 95:[51, 87, 31] Operation: 76-45=31
Exploring Operation: 45+51=96, Resulting Numbers: [76, 87, 96]
Generated Node #0,2: 95:[76, 87, 96] Operation: 45+51=96
Exploring Operation: 76-51=25, Resulting Numbers: [45, 87, 25]
Generated Node #0,3: 95:[45, 87, 25] Operation: 76-51=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[76, 87, 6], Operations: ['51-45=6']
Exploring Operation: 87-76=11, Resulting Numbers: [6, 11]
Generated Node #0,0,0: 95:[6, 11] Operation: 87-76=11
Exploring Operation: 76+6=82, Resulting Numbers: [87, 82]
Generated Node #0,0,1: 95:[87, 82] Operation: 76+6=82
Exploring Operation: 87+6=93, Resulting Numbers: [76, 93]
Generated Node #0,0,2: 95:[76, 93] Operation: 87+6=93
Exploring Operation: 76-6=70, Resulting Numbers: [87, 70]
Generated Node #0,0,3: 95:[87, 70] Operation: 76-6=70
Moving to Node #0,0,0
Current State: 95:[6, 11], Operations: ['51-45=6', '87-76=11']
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[76, 93], Operations: ['51-45=6', '87+6=93']
Exploring Operation: 93-76=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Exploring Operation: 76*93=7068, Resulting Numbers: [7068]
7068,95 unequal: No Solution
Exploring Operation: 76+93=169, Resulting Numbers: [169]
169,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[87, 82], Operations: ['51-45=6', '76+6=82']
Exploring Operation: 87*82=7134, Resulting Numbers: [7134]
7134,95 unequal: No Solution
Exploring Operation: 87-82=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 87+82=169, Resulting Numbers: [169]
169,95 unequal: No Solution
Moving to Node #0,0,3
Current State: 95:[87, 70], Operations: ['51-45=6', '76-6=70']
Exploring Operation: 87*70=6090, Resulting Numbers: [6090]
6090,95 unequal: No Solution
Exploring Operation: 87-70=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Exploring Operation: 87+70=157, Resulting Numbers: [157]
157,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,2
Current State: 95:[76, 87, 96], Operations: ['45+51=96']
Exploring Operation: 87-76=11, Resulting Numbers: [96, 11]
Generated Node #0,2,0: 95:[96, 11] Operation: 87-76=11
Exploring Operation: 76+87=163, Resulting Numbers: [96, 163]
Generated Node #0,2,1: 95:[96, 163] Operation: 76+87=163
Exploring Operation: 96-76=20, Resulting Numbers: [87, 20]
Generated Node #0,2,2: 95:[87, 20] Operation: 96-76=20
Exploring Operation: 96-87=9, Resulting Numbers: [76, 9]
Generated Node #0,2,3: 95:[76, 9] Operation: 96-87=9
Moving to Node #0,2,0
Current State: 95:[96, 11], Operations: ['45+51=96', '87-76=11']
Exploring Operation: 96+11=107, Resulting Numbers: [107]
107,95 unequal: No Solution
Exploring Operation: 96-11=85, Resulting Numbers: [85]
85,95 unequal: No Solution
Exploring Operation: 96*11=1056, Resulting Numbers: [1056]
1056,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[87, 20], Operations: ['45+51=96', '96-76=20']
Exploring Operation: 87-20=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Exploring Operation: 87*20=1740, Resulting Numbers: [1740]
1740,95 unequal: No Solution
Exploring Operation: 87+20=107, Resulting Numbers: [107]
107,95 unequal: No Solution
Moving to Node #0,2,3
Current State: 95:[76, 9], Operations: ['45+51=96', '96-87=9']
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,95 unequal: No Solution
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Exploring Operation: 76*9=684, Resulting Numbers: [684]
684,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[96, 163], Operations: ['45+51=96', '76+87=163']
Exploring Operation: 96*163=15648, Resulting Numbers: [15648]
15648,95 unequal: No Solution
Exploring Operation: 163-96=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Exploring Operation: 96+163=259, Resulting Numbers: [259]
259,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[45, 87, 25], Operations: ['76-51=25']
Exploring Operation: 45-25=20, Resulting Numbers: [87, 20]
Generated Node #0,3,0: 95:[87, 20] Operation: 45-25=20
Exploring Operation: 87-45=42, Resulting Numbers: [25, 42]
Generated Node #0,3,1: 95:[25, 42] Operation: 87-45=42
Exploring Operation: 45+25=70, Resulting Numbers: [87, 70]
Generated Node #0,3,2: 95:[87, 70] Operation: 45+25=70
Exploring Operation: 45+87=132, Resulting Numbers: [25, 132]
Generated Node #0,3,3: 95:[25, 132] Operation: 45+87=132
Moving to Node #0,3,0
Current State: 95:[87, 20], Operations: ['76-51=25', '45-25=20']
Exploring Operation: 87+20=107, Resulting Numbers: [107]
107,95 unequal: No Solution
Exploring Operation: 87-20=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Exploring Operation: 87*20=1740, Resulting Numbers: [1740]
1740,95 unequal: No Solution
Moving to Node #0,3,1
Current State: 95:[25, 42], Operations: ['76-51=25', '87-45=42']
Exploring Operation: 25*42=1050, Resulting Numbers: [1050]
1050,95 unequal: No Solution
Exploring Operation: 25+42=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Moving to Node #0,3,2
Current State: 95:[87, 70], Operations: ['76-51=25', '45+25=70']
Exploring Operation: 87+70=157, Resulting Numbers: [157]
157,95 unequal: No Solution
Exploring Operation: 87*70=6090, Resulting Numbers: [6090]
6090,95 unequal: No Solution
Exploring Operation: 87-70=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Moving to Node #0,3,3
Current State: 95:[25, 132], Operations: ['76-51=25', '45+87=132']
Exploring Operation: 132-25=107, Resulting Numbers: [107]
107,95 unequal: No Solution
Exploring Operation: 25*132=3300, Resulting Numbers: [3300]
3300,95 unequal: No Solution
Exploring Operation: 25+132=157, Resulting Numbers: [157]
157,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
Current State: 95:[51, 87, 31], Operations: ['76-45=31']
Exploring Operation: 51+87=138, Resulting Numbers: [31, 138]
Generated Node #0,1,0: 95:[31, 138] Operation: 51+87=138
Exploring Operation: 87-51=36, Resulting Numbers: [31, 36]
Generated Node #0,1,1: 95:[31, 36] Operation: 87-51=36
Exploring Operation: 51-31=20, Resulting Numbers: [87, 20]
Generated Node #0,1,2: 95:[87, 20] Operation: 51-31=20
Exploring Operation: 51+31=82, Resulting Numbers: [87, 82]
Generated Node #0,1,3: 95:[87, 82] Operation: 51+31=82
Moving to Node #0,1,2
Current State: 95:[87, 20], Operations: ['76-45=31', '51-31=20']
Exploring Operation: 87*20=1740, Resulting Numbers: [1740]
1740,95 unequal: No Solution
Exploring Operation: 87-20=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Exploring Operation: 87+20=107, Resulting Numbers: [107]
107,95 unequal: No Solution
Moving to Node #0,1,3
Current State: 95:[87, 82], Operations: ['76-45=31', '51+31=82']
Exploring Operation: 87*82=7134, Resulting Numbers: [7134]
7134,95 unequal: No Solution
Exploring Operation: 87+82=169, Resulting Numbers: [169]
169,95 unequal: No Solution
Exploring Operation: 87-82=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[31, 36], Operations: ['76-45=31', '87-51=36']
Exploring Operation: 31*36=1116, Resulting Numbers: [1116]
1116,95 unequal: No Solution
Exploring Operation: 31+36=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[31, 138], Operations: ['76-45=31', '51+87=138']
Exploring Operation: 31+138=169, Resulting Numbers: [169]
169,95 unequal: No Solution
Exploring Operation: 31*138=4278, Resulting Numbers: [4278]
4278,95 unequal: No Solution
Exploring Operation: 138-31=107, Resulting Numbers: [107]
107,95 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 |
[
50,
11,
47,
62
] | 17 | [
"50-47=3",
"62-11=51",
"51/3=17"
] | Current State: 17:[50, 11, 47, 62], Operations: []
Exploring Operation: 50-47=3, Resulting Numbers: [11, 62, 3]
Generated Node #2: [11, 62, 3] from Operation: 50-47=3
Current State: 17:[11, 62, 3], Operations: ['50-47=3']
Exploring Operation: 62-11=51, Resulting Numbers: [3, 51]
Generated Node #3: [3, 51] from Operation: 62-11=51
Current State: 17:[3, 51], Operations: ['50-47=3', '62-11=51']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[50, 11, 47, 62], Operations: []
Exploring Operation: 62-50=12, Resulting Numbers: [11, 47, 12]
Generated Node #0,0: 17:[11, 47, 12] Operation: 62-50=12
Exploring Operation: 50-47=3, Resulting Numbers: [11, 62, 3]
Generated Node #0,1: 17:[11, 62, 3] Operation: 50-47=3
Exploring Operation: 50-11=39, Resulting Numbers: [47, 62, 39]
Generated Node #0,2: 17:[47, 62, 39] Operation: 50-11=39
Exploring Operation: 62-47=15, Resulting Numbers: [50, 11, 15]
Generated Node #0,3: 17:[50, 11, 15] Operation: 62-47=15
Moving to Node #0,0
Current State: 17:[11, 47, 12], Operations: ['62-50=12']
Exploring Operation: 47-11=36, Resulting Numbers: [12, 36]
Generated Node #0,0,0: 17:[12, 36] Operation: 47-11=36
Exploring Operation: 11+47=58, Resulting Numbers: [12, 58]
Generated Node #0,0,1: 17:[12, 58] Operation: 11+47=58
Exploring Operation: 47-12=35, Resulting Numbers: [11, 35]
Generated Node #0,0,2: 17:[11, 35] Operation: 47-12=35
Exploring Operation: 11+12=23, Resulting Numbers: [47, 23]
Generated Node #0,0,3: 17:[47, 23] Operation: 11+12=23
Moving to Node #0,3
Current State: 17:[50, 11, 15], Operations: ['62-47=15']
Exploring Operation: 50+11=61, Resulting Numbers: [15, 61]
Generated Node #0,3,0: 17:[15, 61] Operation: 50+11=61
Exploring Operation: 50-15=35, Resulting Numbers: [11, 35]
Generated Node #0,3,1: 17:[11, 35] Operation: 50-15=35
Exploring Operation: 50-11=39, Resulting Numbers: [15, 39]
Generated Node #0,3,2: 17:[15, 39] Operation: 50-11=39
Exploring Operation: 11+15=26, Resulting Numbers: [50, 26]
Generated Node #0,3,3: 17:[50, 26] Operation: 11+15=26
Moving to Node #0,1
Current State: 17:[11, 62, 3], Operations: ['50-47=3']
Exploring Operation: 62-3=59, Resulting Numbers: [11, 59]
Generated Node #0,1,0: 17:[11, 59] Operation: 62-3=59
Exploring Operation: 11-3=8, Resulting Numbers: [62, 8]
Generated Node #0,1,1: 17:[62, 8] Operation: 11-3=8
Exploring Operation: 62-11=51, Resulting Numbers: [3, 51]
Generated Node #0,1,2: 17:[3, 51] Operation: 62-11=51
Exploring Operation: 11+3=14, Resulting Numbers: [62, 14]
Generated Node #0,1,3: 17:[62, 14] Operation: 11+3=14
Moving to Node #0,2
Current State: 17:[47, 62, 39], Operations: ['50-11=39']
Exploring Operation: 47-39=8, Resulting Numbers: [62, 8]
Generated Node #0,2,0: 17:[62, 8] Operation: 47-39=8
Exploring Operation: 47+62=109, Resulting Numbers: [39, 109]
Generated Node #0,2,1: 17:[39, 109] Operation: 47+62=109
Exploring Operation: 62-47=15, Resulting Numbers: [39, 15]
Generated Node #0,2,2: 17:[39, 15] Operation: 62-47=15
Exploring Operation: 62-39=23, Resulting Numbers: [47, 23]
Generated Node #0,2,3: 17:[47, 23] Operation: 62-39=23
Moving to Node #0,0,0
Current State: 17:[12, 36], Operations: ['62-50=12', '47-11=36']
Exploring Operation: 12*36=432, Resulting Numbers: [432]
432,17 unequal: No Solution
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Moving to Node #0,3,2
Current State: 17:[15, 39], Operations: ['62-47=15', '50-11=39']
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,17 unequal: No Solution
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Moving to Node #0,2,2
Current State: 17:[39, 15], Operations: ['50-11=39', '62-47=15']
Exploring Operation: 39*15=585, Resulting Numbers: [585]
585,17 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 39+15=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[11, 35], Operations: ['62-50=12', '47-12=35']
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 11*35=385, Resulting Numbers: [385]
385,17 unequal: No Solution
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,17 unequal: No Solution
Moving to Node #0,3,1
Current State: 17:[11, 35], Operations: ['62-47=15', '50-15=35']
Exploring Operation: 11*35=385, Resulting Numbers: [385]
385,17 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,17 unequal: No Solution
Moving to Node #0,2,3
Current State: 17:[47, 23], Operations: ['50-11=39', '62-39=23']
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 47*23=1081, Resulting Numbers: [1081]
1081,17 unequal: No Solution
Exploring Operation: 47+23=70, Resulting Numbers: [70]
70,17 unequal: No Solution
Moving to Node #0,0,3
Current State: 17:[47, 23], Operations: ['62-50=12', '11+12=23']
Exploring Operation: 47+23=70, Resulting Numbers: [70]
70,17 unequal: No Solution
Exploring Operation: 47*23=1081, Resulting Numbers: [1081]
1081,17 unequal: No Solution
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Moving to Node #0,3,3
Current State: 17:[50, 26], Operations: ['62-47=15', '11+15=26']
Exploring Operation: 50+26=76, Resulting Numbers: [76]
76,17 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 50*26=1300, Resulting Numbers: [1300]
1300,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[12, 58], Operations: ['62-50=12', '11+47=58']
Exploring Operation: 12*58=696, Resulting Numbers: [696]
696,17 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,17 unequal: No Solution
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,17 unequal: No Solution
Moving to Node #0,3,0
Current State: 17:[15, 61], Operations: ['62-47=15', '50+11=61']
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,17 unequal: No Solution
Exploring Operation: 15+61=76, Resulting Numbers: [76]
76,17 unequal: No Solution
Exploring Operation: 15*61=915, Resulting Numbers: [915]
915,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[3, 51], Operations: ['50-47=3', '62-11=51']
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[50, 11, 47, 62], Operations: []
Exploring Operation: 50-47=3, Resulting Numbers: [11, 62, 3]
Generated Node #0,1: 17:[11, 62, 3] Operation: 50-47=3
Moving to Node #0,1
Current State: 17:[11, 62, 3], Operations: ['50-47=3']
Exploring Operation: 62-11=51, Resulting Numbers: [3, 51]
Generated Node #0,1,2: 17:[3, 51] Operation: 62-11=51
Moving to Node #0,1,2
Current State: 17:[3, 51], Operations: ['50-47=3', '62-11=51']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 0.950521 | hs_4 | sum_heuristic |
[
60,
38,
80,
18
] | 42 | [
"38+18=56",
"60*56=3360",
"3360/80=42"
] | Current State: 42:[60, 38, 80, 18], Operations: []
Exploring Operation: 38+18=56, Resulting Numbers: [60, 80, 56]
Generated Node #2: [60, 80, 56] from Operation: 38+18=56
Current State: 42:[60, 80, 56], Operations: ['38+18=56']
Exploring Operation: 60*56=3360, Resulting Numbers: [80, 3360]
Generated Node #3: [80, 3360] from Operation: 60*56=3360
Current State: 42:[80, 3360], Operations: ['38+18=56', '60*56=3360']
Exploring Operation: 3360/80=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[60, 38, 80, 18], Operations: []
Exploring Operation: 80-60=20, Resulting Numbers: [38, 18, 20]
Generated Node #0,0: 42:[38, 18, 20] Operation: 80-60=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[38, 18, 20], Operations: ['80-60=20']
Exploring Operation: 38-18=20, Resulting Numbers: [20, 20]
Generated Node #0,0,0: 42:[20, 20] Operation: 38-18=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[20, 20], Operations: ['80-60=20', '38-18=20']
Exploring Operation: 20/20=1, Resulting Numbers: [1]
1,42 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 |
[
41,
83,
59,
70
] | 31 | [
"83-41=42",
"70-59=11",
"42-11=31"
] | Current State: 31:[41, 83, 59, 70], Operations: []
Exploring Operation: 83-41=42, Resulting Numbers: [59, 70, 42]
Generated Node #2: [59, 70, 42] from Operation: 83-41=42
Current State: 31:[59, 70, 42], Operations: ['83-41=42']
Exploring Operation: 70-59=11, Resulting Numbers: [42, 11]
Generated Node #3: [42, 11] from Operation: 70-59=11
Current State: 31:[42, 11], Operations: ['83-41=42', '70-59=11']
Exploring Operation: 42-11=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[41, 83, 59, 70], Operations: []
Exploring Operation: 83-59=24, Resulting Numbers: [41, 70, 24]
Generated Node #0,0: 31:[41, 70, 24] Operation: 83-59=24
Exploring Operation: 70-41=29, Resulting Numbers: [83, 59, 29]
Generated Node #0,1: 31:[83, 59, 29] Operation: 70-41=29
Exploring Operation: 83-41=42, Resulting Numbers: [59, 70, 42]
Generated Node #0,2: 31:[59, 70, 42] Operation: 83-41=42
Exploring Operation: 83-70=13, Resulting Numbers: [41, 59, 13]
Generated Node #0,3: 31:[41, 59, 13] Operation: 83-70=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[41, 70, 24], Operations: ['83-59=24']
Exploring Operation: 41+24=65, Resulting Numbers: [70, 65]
Generated Node #0,0,0: 31:[70, 65] Operation: 41+24=65
Exploring Operation: 70-24=46, Resulting Numbers: [41, 46]
Generated Node #0,0,1: 31:[41, 46] Operation: 70-24=46
Exploring Operation: 41-24=17, Resulting Numbers: [70, 17]
Generated Node #0,0,2: 31:[70, 17] Operation: 41-24=17
Exploring Operation: 70-41=29, Resulting Numbers: [24, 29]
Generated Node #0,0,3: 31:[24, 29] Operation: 70-41=29
Moving to Node #0,0,3
Current State: 31:[24, 29], Operations: ['83-59=24', '70-41=29']
Exploring Operation: 24*29=696, Resulting Numbers: [696]
696,31 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[41, 46], Operations: ['83-59=24', '70-24=46']
Exploring Operation: 41*46=1886, Resulting Numbers: [1886]
1886,31 unequal: No Solution
Exploring Operation: 41+46=87, Resulting Numbers: [87]
87,31 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[70, 17], Operations: ['83-59=24', '41-24=17']
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,31 unequal: No Solution
Exploring Operation: 70+17=87, Resulting Numbers: [87]
87,31 unequal: No Solution
Exploring Operation: 70*17=1190, Resulting Numbers: [1190]
1190,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[70, 65], Operations: ['83-59=24', '41+24=65']
Exploring Operation: 70+65=135, Resulting Numbers: [135]
135,31 unequal: No Solution
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 70*65=4550, Resulting Numbers: [4550]
4550,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 31:[41, 59, 13], Operations: ['83-70=13']
Exploring Operation: 59-41=18, Resulting Numbers: [13, 18]
Generated Node #0,3,0: 31:[13, 18] Operation: 59-41=18
Exploring Operation: 41-13=28, Resulting Numbers: [59, 28]
Generated Node #0,3,1: 31:[59, 28] Operation: 41-13=28
Exploring Operation: 59-13=46, Resulting Numbers: [41, 46]
Generated Node #0,3,2: 31:[41, 46] Operation: 59-13=46
Exploring Operation: 41+13=54, Resulting Numbers: [59, 54]
Generated Node #0,3,3: 31:[59, 54] Operation: 41+13=54
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 31:[41, 46], Operations: ['83-70=13', '59-13=46']
Exploring Operation: 41+46=87, Resulting Numbers: [87]
87,31 unequal: No Solution
Exploring Operation: 41*46=1886, Resulting Numbers: [1886]
1886,31 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 31:[13, 18], Operations: ['83-70=13', '59-41=18']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,31 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[41, 83, 59, 70], Operations: []
Exploring Operation: 83-70=13, Resulting Numbers: [41, 59, 13]
Generated Node #0,3: 31:[41, 59, 13] Operation: 83-70=13
Moving to Node #0,3
Current State: 31:[41, 59, 13], Operations: ['83-70=13']
Exploring Operation: 59-41=18, Resulting Numbers: [13, 18]
Generated Node #0,3,0: 31:[13, 18] Operation: 59-41=18
Moving to Node #0,3,0
Current State: 31:[13, 18], Operations: ['83-70=13', '59-41=18']
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.970486 | hs_4 | mult_heuristic |
[
1,
29,
1,
30
] | 58 | [
"1*29=29",
"30-1=29",
"29+29=58"
] | Current State: 58:[1, 29, 1, 30], Operations: []
Exploring Operation: 1*29=29, Resulting Numbers: [30, 29]
Generated Node #2: [30, 29] from Operation: 1*29=29
Current State: 58:[30, 29], Operations: ['1*29=29']
Exploring Operation: 30-1=29, Resulting Numbers: [29, 29]
Generated Node #3: [29, 29] from Operation: 30-1=29
Current State: 58:[29, 29], Operations: ['1*29=29', '30-1=29']
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[1, 29, 1, 30], Operations: []
Exploring Operation: 30-1=29, Resulting Numbers: [29, 1, 29]
Generated Node #0,0: 58:[29, 1, 29] Operation: 30-1=29
Exploring Operation: 1*29=29, Resulting Numbers: [1, 30, 29]
Generated Node #0,1: 58:[1, 30, 29] Operation: 1*29=29
Exploring Operation: 1+1=2, Resulting Numbers: [29, 30, 2]
Generated Node #0,2: 58:[29, 30, 2] Operation: 1+1=2
Exploring Operation: 30-1=29, Resulting Numbers: [1, 29, 29]
Generated Node #0,3: 58:[1, 29, 29] Operation: 30-1=29
Moving to Node #0,0
Current State: 58:[29, 1, 29], Operations: ['30-1=29']
Exploring Operation: 29*1=29, Resulting Numbers: [29, 29]
Generated Node #0,0,0: 58:[29, 29] Operation: 29*1=29
Exploring Operation: 29/1=29, Resulting Numbers: [29, 29]
Generated Node #0,0,1: 58:[29, 29] Operation: 29/1=29
Exploring Operation: 1*29=29, Resulting Numbers: [29, 29]
Generated Node #0,0,2: 58:[29, 29] Operation: 1*29=29
Exploring Operation: 29/1=29, Resulting Numbers: [29, 29]
Generated Node #0,0,3: 58:[29, 29] Operation: 29/1=29
Moving to Node #0,3
Current State: 58:[1, 29, 29], Operations: ['30-1=29']
Exploring Operation: 1*29=29, Resulting Numbers: [29, 29]
Generated Node #0,3,0: 58:[29, 29] Operation: 1*29=29
Exploring Operation: 29/1=29, Resulting Numbers: [29, 29]
Generated Node #0,3,1: 58:[29, 29] Operation: 29/1=29
Exploring Operation: 1*29=29, Resulting Numbers: [29, 29]
Generated Node #0,3,2: 58:[29, 29] Operation: 1*29=29
Exploring Operation: 29/1=29, Resulting Numbers: [29, 29]
Generated Node #0,3,3: 58:[29, 29] Operation: 29/1=29
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 58:[29, 29], Operations: ['30-1=29', '1*29=29']
Exploring Operation: 29/29=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 29*29=841, Resulting Numbers: [841]
841,58 unequal: No Solution
Exploring Operation: 29-29=0, Resulting Numbers: [0]
0,58 unequal: No Solution
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[1, 29, 1, 30], Operations: []
Exploring Operation: 30-1=29, Resulting Numbers: [1, 29, 29]
Generated Node #0,3: 58:[1, 29, 29] Operation: 30-1=29
Moving to Node #0,3
Current State: 58:[1, 29, 29], Operations: ['30-1=29']
Exploring Operation: 1*29=29, Resulting Numbers: [29, 29]
Generated Node #0,3,0: 58:[29, 29] Operation: 1*29=29
Moving to Node #0,3,0
Current State: 58:[29, 29], Operations: ['30-1=29', '1*29=29']
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
91,
93,
17,
31
] | 12 | [
"93-91=2",
"31-17=14",
"14-2=12"
] | Current State: 12:[91, 93, 17, 31], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [17, 31, 2]
Generated Node #2: [17, 31, 2] from Operation: 93-91=2
Current State: 12:[17, 31, 2], Operations: ['93-91=2']
Exploring Operation: 31-17=14, Resulting Numbers: [2, 14]
Generated Node #3: [2, 14] from Operation: 31-17=14
Current State: 12:[2, 14], Operations: ['93-91=2', '31-17=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[91, 93, 17, 31], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [17, 31, 2]
Generated Node #0,0: 12:[17, 31, 2] Operation: 93-91=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[17, 31, 2], Operations: ['93-91=2']
Exploring Operation: 31-17=14, Resulting Numbers: [2, 14]
Generated Node #0,0,0: 12:[2, 14] Operation: 31-17=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[2, 14], Operations: ['93-91=2', '31-17=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[91, 93, 17, 31], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [17, 31, 2]
Generated Node #0,0: 12:[17, 31, 2] Operation: 93-91=2
Moving to Node #0,0
Current State: 12:[17, 31, 2], Operations: ['93-91=2']
Exploring Operation: 31-17=14, Resulting Numbers: [2, 14]
Generated Node #0,0,0: 12:[2, 14] Operation: 31-17=14
Moving to Node #0,0,0
Current State: 12:[2, 14], Operations: ['93-91=2', '31-17=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
7,
89,
4,
72
] | 64 | [
"89-7=82",
"72/4=18",
"82-18=64"
] | Current State: 64:[7, 89, 4, 72], Operations: []
Exploring Operation: 89-7=82, Resulting Numbers: [4, 72, 82]
Generated Node #2: [4, 72, 82] from Operation: 89-7=82
Current State: 64:[4, 72, 82], Operations: ['89-7=82']
Exploring Operation: 72/4=18, Resulting Numbers: [82, 18]
Generated Node #3: [82, 18] from Operation: 72/4=18
Current State: 64:[82, 18], Operations: ['89-7=82', '72/4=18']
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[7, 89, 4, 72], Operations: []
Exploring Operation: 89-72=17, Resulting Numbers: [7, 4, 17]
Generated Node #0,0: 64:[7, 4, 17] Operation: 89-72=17
Exploring Operation: 89-7=82, Resulting Numbers: [4, 72, 82]
Generated Node #0,1: 64:[4, 72, 82] Operation: 89-7=82
Exploring Operation: 72-7=65, Resulting Numbers: [89, 4, 65]
Generated Node #0,2: 64:[89, 4, 65] Operation: 72-7=65
Moving to Node #0,0
Current State: 64:[7, 4, 17], Operations: ['89-72=17']
Exploring Operation: 17-7=10, Resulting Numbers: [4, 10]
Generated Node #0,0,0: 64:[4, 10] Operation: 17-7=10
Exploring Operation: 7-4=3, Resulting Numbers: [17, 3]
Generated Node #0,0,1: 64:[17, 3] Operation: 7-4=3
Exploring Operation: 7+4=11, Resulting Numbers: [17, 11]
Generated Node #0,0,2: 64:[17, 11] Operation: 7+4=11
Moving to Node #0,1
Current State: 64:[4, 72, 82], Operations: ['89-7=82']
Exploring Operation: 72-4=68, Resulting Numbers: [82, 68]
Generated Node #0,1,0: 64:[82, 68] Operation: 72-4=68
Exploring Operation: 72/4=18, Resulting Numbers: [82, 18]
Generated Node #0,1,1: 64:[82, 18] Operation: 72/4=18
Exploring Operation: 82-72=10, Resulting Numbers: [4, 10]
Generated Node #0,1,2: 64:[4, 10] Operation: 82-72=10
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[4, 10], Operations: ['89-7=82', '82-72=10']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[82, 18], Operations: ['89-7=82', '72/4=18']
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[7, 89, 4, 72], Operations: []
Exploring Operation: 89-7=82, Resulting Numbers: [4, 72, 82]
Generated Node #0,1: 64:[4, 72, 82] Operation: 89-7=82
Moving to Node #0,1
Current State: 64:[4, 72, 82], Operations: ['89-7=82']
Exploring Operation: 72/4=18, Resulting Numbers: [82, 18]
Generated Node #0,1,1: 64:[82, 18] Operation: 72/4=18
Moving to Node #0,1,1
Current State: 64:[82, 18], Operations: ['89-7=82', '72/4=18']
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
64,
62,
52,
58
] | 29 | [
"64+52=116",
"62-58=4",
"116/4=29"
] | Current State: 29:[64, 62, 52, 58], Operations: []
Exploring Operation: 64+52=116, Resulting Numbers: [62, 58, 116]
Generated Node #2: [62, 58, 116] from Operation: 64+52=116
Current State: 29:[62, 58, 116], Operations: ['64+52=116']
Exploring Operation: 62-58=4, Resulting Numbers: [116, 4]
Generated Node #3: [116, 4] from Operation: 62-58=4
Current State: 29:[116, 4], Operations: ['64+52=116', '62-58=4']
Exploring Operation: 116/4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[64, 62, 52, 58], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [64, 52, 4]
Generated Node #0,0: 29:[64, 52, 4] Operation: 62-58=4
Exploring Operation: 64-58=6, Resulting Numbers: [62, 52, 6]
Generated Node #0,1: 29:[62, 52, 6] Operation: 64-58=6
Exploring Operation: 64-62=2, Resulting Numbers: [52, 58, 2]
Generated Node #0,2: 29:[52, 58, 2] Operation: 64-62=2
Exploring Operation: 62-52=10, Resulting Numbers: [64, 58, 10]
Generated Node #0,3: 29:[64, 58, 10] Operation: 62-52=10
Exploring Operation: 64-52=12, Resulting Numbers: [62, 58, 12]
Generated Node #0,4: 29:[62, 58, 12] Operation: 64-52=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[62, 52, 6], Operations: ['64-58=6']
Exploring Operation: 62+6=68, Resulting Numbers: [52, 68]
Generated Node #0,1,0: 29:[52, 68] Operation: 62+6=68
Exploring Operation: 52-6=46, Resulting Numbers: [62, 46]
Generated Node #0,1,1: 29:[62, 46] Operation: 52-6=46
Exploring Operation: 62-52=10, Resulting Numbers: [6, 10]
Generated Node #0,1,2: 29:[6, 10] Operation: 62-52=10
Exploring Operation: 52+6=58, Resulting Numbers: [62, 58]
Generated Node #0,1,3: 29:[62, 58] Operation: 52+6=58
Exploring Operation: 62-6=56, Resulting Numbers: [52, 56]
Generated Node #0,1,4: 29:[52, 56] Operation: 62-6=56
Moving to Node #0,1,2
Current State: 29:[6, 10], Operations: ['64-58=6', '62-52=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Moving to Node #0,1,4
Current State: 29:[52, 56], Operations: ['64-58=6', '62-6=56']
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 52+56=108, Resulting Numbers: [108]
108,29 unequal: No Solution
Exploring Operation: 52*56=2912, Resulting Numbers: [2912]
2912,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[62, 46], Operations: ['64-58=6', '52-6=46']
Exploring Operation: 62+46=108, Resulting Numbers: [108]
108,29 unequal: No Solution
Exploring Operation: 62*46=2852, Resulting Numbers: [2852]
2852,29 unequal: No Solution
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[52, 68], Operations: ['64-58=6', '62+6=68']
Exploring Operation: 52+68=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 52*68=3536, Resulting Numbers: [3536]
3536,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[62, 58], Operations: ['64-58=6', '52+6=58']
Exploring Operation: 62-58=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 62*58=3596, Resulting Numbers: [3596]
3596,29 unequal: No Solution
Exploring Operation: 62+58=120, Resulting Numbers: [120]
120,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[52, 58, 2], Operations: ['64-62=2']
Exploring Operation: 58-2=56, Resulting Numbers: [52, 56]
Generated Node #0,2,0: 29:[52, 56] Operation: 58-2=56
Exploring Operation: 52-2=50, Resulting Numbers: [58, 50]
Generated Node #0,2,1: 29:[58, 50] Operation: 52-2=50
Exploring Operation: 52/2=26, Resulting Numbers: [58, 26]
Generated Node #0,2,2: 29:[58, 26] Operation: 52/2=26
Exploring Operation: 58/2=29, Resulting Numbers: [52, 29]
Generated Node #0,2,3: 29:[52, 29] Operation: 58/2=29
Exploring Operation: 58-52=6, Resulting Numbers: [2, 6]
Generated Node #0,2,4: 29:[2, 6] Operation: 58-52=6
Moving to Node #0,2,3
Current State: 29:[52, 29], Operations: ['64-62=2', '58/2=29']
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,29 unequal: No Solution
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 52*29=1508, Resulting Numbers: [1508]
1508,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[58, 26], Operations: ['64-62=2', '52/2=26']
Exploring Operation: 58*26=1508, Resulting Numbers: [1508]
1508,29 unequal: No Solution
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 58+26=84, Resulting Numbers: [84]
84,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[52, 56], Operations: ['64-62=2', '58-2=56']
Exploring Operation: 52*56=2912, Resulting Numbers: [2912]
2912,29 unequal: No Solution
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 52+56=108, Resulting Numbers: [108]
108,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[58, 50], Operations: ['64-62=2', '52-2=50']
Exploring Operation: 58-50=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 58+50=108, Resulting Numbers: [108]
108,29 unequal: No Solution
Exploring Operation: 58*50=2900, Resulting Numbers: [2900]
2900,29 unequal: No Solution
Moving to Node #0,2,4
Current State: 29:[2, 6], Operations: ['64-62=2', '58-52=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 29:[62, 58, 12], Operations: ['64-52=12']
Exploring Operation: 58-12=46, Resulting Numbers: [62, 46]
Generated Node #0,4,0: 29:[62, 46] Operation: 58-12=46
Exploring Operation: 62-58=4, Resulting Numbers: [12, 4]
Generated Node #0,4,1: 29:[12, 4] Operation: 62-58=4
Exploring Operation: 62-12=50, Resulting Numbers: [58, 50]
Generated Node #0,4,2: 29:[58, 50] Operation: 62-12=50
Exploring Operation: 62+12=74, Resulting Numbers: [58, 74]
Generated Node #0,4,3: 29:[58, 74] Operation: 62+12=74
Exploring Operation: 58+12=70, Resulting Numbers: [62, 70]
Generated Node #0,4,4: 29:[62, 70] Operation: 58+12=70
Moving to Node #0,4,1
Current State: 29:[12, 4], Operations: ['64-52=12', '62-58=4']
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Moving to Node #0,4,2
Current State: 29:[58, 50], Operations: ['64-52=12', '62-12=50']
Exploring Operation: 58+50=108, Resulting Numbers: [108]
108,29 unequal: No Solution
Exploring Operation: 58*50=2900, Resulting Numbers: [2900]
2900,29 unequal: No Solution
Exploring Operation: 58-50=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Moving to Node #0,4,0
Current State: 29:[62, 46], Operations: ['64-52=12', '58-12=46']
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 62+46=108, Resulting Numbers: [108]
108,29 unequal: No Solution
Exploring Operation: 62*46=2852, Resulting Numbers: [2852]
2852,29 unequal: No Solution
Moving to Node #0,4,3
Current State: 29:[58, 74], Operations: ['64-52=12', '62+12=74']
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 58+74=132, Resulting Numbers: [132]
132,29 unequal: No Solution
Exploring Operation: 58*74=4292, Resulting Numbers: [4292]
4292,29 unequal: No Solution
Moving to Node #0,4,4
Current State: 29:[62, 70], Operations: ['64-52=12', '58+12=70']
Exploring Operation: 62+70=132, Resulting Numbers: [132]
132,29 unequal: No Solution
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 62*70=4340, Resulting Numbers: [4340]
4340,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[64, 52, 4], Operations: ['62-58=4']
Exploring Operation: 64-4=60, Resulting Numbers: [52, 60]
Generated Node #0,0,0: 29:[52, 60] Operation: 64-4=60
Exploring Operation: 64-52=12, Resulting Numbers: [4, 12]
Generated Node #0,0,1: 29:[4, 12] Operation: 64-52=12
Exploring Operation: 52/4=13, Resulting Numbers: [64, 13]
Generated Node #0,0,2: 29:[64, 13] Operation: 52/4=13
Exploring Operation: 64/4=16, Resulting Numbers: [52, 16]
Generated Node #0,0,3: 29:[52, 16] Operation: 64/4=16
Exploring Operation: 52-4=48, Resulting Numbers: [64, 48]
Generated Node #0,0,4: 29:[64, 48] Operation: 52-4=48
Moving to Node #0,0,3
Current State: 29:[52, 16], Operations: ['62-58=4', '64/4=16']
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 52*16=832, Resulting Numbers: [832]
832,29 unequal: No Solution
Exploring Operation: 52+16=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[4, 12], Operations: ['62-58=4', '64-52=12']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[64, 13], Operations: ['62-58=4', '52/4=13']
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,29 unequal: No Solution
Exploring Operation: 64+13=77, Resulting Numbers: [77]
77,29 unequal: No Solution
Exploring Operation: 64*13=832, Resulting Numbers: [832]
832,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[52, 60], Operations: ['62-58=4', '64-4=60']
Exploring Operation: 52+60=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 60-52=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 52*60=3120, Resulting Numbers: [3120]
3120,29 unequal: No Solution
Moving to Node #0,0,4
Current State: 29:[64, 48], Operations: ['62-58=4', '52-4=48']
Exploring Operation: 64*48=3072, Resulting Numbers: [3072]
3072,29 unequal: No Solution
Exploring Operation: 64+48=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[64, 58, 10], Operations: ['62-52=10']
Exploring Operation: 64+10=74, Resulting Numbers: [58, 74]
Generated Node #0,3,0: 29:[58, 74] Operation: 64+10=74
Exploring Operation: 58-10=48, Resulting Numbers: [64, 48]
Generated Node #0,3,1: 29:[64, 48] Operation: 58-10=48
Exploring Operation: 64-58=6, Resulting Numbers: [10, 6]
Generated Node #0,3,2: 29:[10, 6] Operation: 64-58=6
Exploring Operation: 58+10=68, Resulting Numbers: [64, 68]
Generated Node #0,3,3: 29:[64, 68] Operation: 58+10=68
Exploring Operation: 64-10=54, Resulting Numbers: [58, 54]
Generated Node #0,3,4: 29:[58, 54] Operation: 64-10=54
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 29:[10, 6], Operations: ['62-52=10', '64-58=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,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,3,1
Current State: 29:[64, 48], Operations: ['62-52=10', '58-10=48']
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 64*48=3072, Resulting Numbers: [3072]
3072,29 unequal: No Solution
Exploring Operation: 64+48=112, Resulting Numbers: [112]
112,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,3,4
Current State: 29:[58, 54], Operations: ['62-52=10', '64-10=54']
Exploring Operation: 58+54=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 58*54=3132, Resulting Numbers: [3132]
3132,29 unequal: No Solution
Exploring Operation: 58-54=4, Resulting Numbers: [4]
4,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,3,0
Current State: 29:[58, 74], Operations: ['62-52=10', '64+10=74']
Exploring Operation: 58+74=132, Resulting Numbers: [132]
132,29 unequal: No Solution
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 58*74=4292, Resulting Numbers: [4292]
4292,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,3,3
Current State: 29:[64, 68], Operations: ['62-52=10', '58+10=68']
Exploring Operation: 64*68=4352, Resulting Numbers: [4352]
4352,29 unequal: No Solution
Exploring Operation: 64+68=132, Resulting Numbers: [132]
132,29 unequal: No Solution
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,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
No solution found.
| 0 | hs_5 | mult_heuristic |
[
91,
33,
20,
34
] | 70 | [
"91+33=124",
"20+34=54",
"124-54=70"
] | Current State: 70:[91, 33, 20, 34], Operations: []
Exploring Operation: 91+33=124, Resulting Numbers: [20, 34, 124]
Generated Node #2: [20, 34, 124] from Operation: 91+33=124
Current State: 70:[20, 34, 124], Operations: ['91+33=124']
Exploring Operation: 20+34=54, Resulting Numbers: [124, 54]
Generated Node #3: [124, 54] from Operation: 20+34=54
Current State: 70:[124, 54], Operations: ['91+33=124', '20+34=54']
Exploring Operation: 124-54=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[91, 33, 20, 34], Operations: []
Exploring Operation: 33-20=13, Resulting Numbers: [91, 34, 13]
Generated Node #0,0: 70:[91, 34, 13] Operation: 33-20=13
Exploring Operation: 91-33=58, Resulting Numbers: [20, 34, 58]
Generated Node #0,1: 70:[20, 34, 58] Operation: 91-33=58
Exploring Operation: 91-34=57, Resulting Numbers: [33, 20, 57]
Generated Node #0,2: 70:[33, 20, 57] Operation: 91-34=57
Exploring Operation: 91-20=71, Resulting Numbers: [33, 34, 71]
Generated Node #0,3: 70:[33, 34, 71] Operation: 91-20=71
Exploring Operation: 34-20=14, Resulting Numbers: [91, 33, 14]
Generated Node #0,4: 70:[91, 33, 14] Operation: 34-20=14
Moving to Node #0,3
Current State: 70:[33, 34, 71], Operations: ['91-20=71']
Exploring Operation: 33+71=104, Resulting Numbers: [34, 104]
Generated Node #0,3,0: 70:[34, 104] Operation: 33+71=104
Exploring Operation: 71-33=38, Resulting Numbers: [34, 38]
Generated Node #0,3,1: 70:[34, 38] Operation: 71-33=38
Exploring Operation: 33+34=67, Resulting Numbers: [71, 67]
Generated Node #0,3,2: 70:[71, 67] Operation: 33+34=67
Exploring Operation: 34-33=1, Resulting Numbers: [71, 1]
Generated Node #0,3,3: 70:[71, 1] Operation: 34-33=1
Exploring Operation: 71-34=37, Resulting Numbers: [33, 37]
Generated Node #0,3,4: 70:[33, 37] Operation: 71-34=37
Moving to Node #0,1
Current State: 70:[20, 34, 58], Operations: ['91-33=58']
Exploring Operation: 20+34=54, Resulting Numbers: [58, 54]
Generated Node #0,1,0: 70:[58, 54] Operation: 20+34=54
Exploring Operation: 58-34=24, Resulting Numbers: [20, 24]
Generated Node #0,1,1: 70:[20, 24] Operation: 58-34=24
Exploring Operation: 34-20=14, Resulting Numbers: [58, 14]
Generated Node #0,1,2: 70:[58, 14] Operation: 34-20=14
Exploring Operation: 58-20=38, Resulting Numbers: [34, 38]
Generated Node #0,1,3: 70:[34, 38] Operation: 58-20=38
Exploring Operation: 20+58=78, Resulting Numbers: [34, 78]
Generated Node #0,1,4: 70:[34, 78] Operation: 20+58=78
Moving to Node #0,2
Current State: 70:[33, 20, 57], Operations: ['91-34=57']
Exploring Operation: 20+57=77, Resulting Numbers: [33, 77]
Generated Node #0,2,0: 70:[33, 77] Operation: 20+57=77
Exploring Operation: 57-33=24, Resulting Numbers: [20, 24]
Generated Node #0,2,1: 70:[20, 24] Operation: 57-33=24
Exploring Operation: 57-20=37, Resulting Numbers: [33, 37]
Generated Node #0,2,2: 70:[33, 37] Operation: 57-20=37
Exploring Operation: 33-20=13, Resulting Numbers: [57, 13]
Generated Node #0,2,3: 70:[57, 13] Operation: 33-20=13
Exploring Operation: 33+57=90, Resulting Numbers: [20, 90]
Generated Node #0,2,4: 70:[20, 90] Operation: 33+57=90
Moving to Node #0,0
Current State: 70:[91, 34, 13], Operations: ['33-20=13']
Exploring Operation: 91/13=7, Resulting Numbers: [34, 7]
Generated Node #0,0,0: 70:[34, 7] Operation: 91/13=7
Exploring Operation: 34-13=21, Resulting Numbers: [91, 21]
Generated Node #0,0,1: 70:[91, 21] Operation: 34-13=21
Exploring Operation: 91-34=57, Resulting Numbers: [13, 57]
Generated Node #0,0,2: 70:[13, 57] Operation: 91-34=57
Exploring Operation: 91-13=78, Resulting Numbers: [34, 78]
Generated Node #0,0,3: 70:[34, 78] Operation: 91-13=78
Exploring Operation: 34+13=47, Resulting Numbers: [91, 47]
Generated Node #0,0,4: 70:[91, 47] Operation: 34+13=47
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[34, 7], Operations: ['33-20=13', '91/13=7']
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,70 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,70 unequal: No Solution
No 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: 70:[34, 78], Operations: ['33-20=13', '91-13=78']
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 34*78=2652, Resulting Numbers: [2652]
2652,70 unequal: No Solution
Exploring Operation: 34+78=112, Resulting Numbers: [112]
112,70 unequal: No Solution
No 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: 70:[13, 57], Operations: ['33-20=13', '91-34=57']
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 13+57=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[91, 33, 20, 34], Operations: []
Exploring Operation: 33-20=13, Resulting Numbers: [91, 34, 13]
Generated Node #0,0: 70:[91, 34, 13] Operation: 33-20=13
Moving to Node #0,0
Current State: 70:[91, 34, 13], Operations: ['33-20=13']
Exploring Operation: 91-34=57, Resulting Numbers: [13, 57]
Generated Node #0,0,2: 70:[13, 57] Operation: 91-34=57
Moving to Node #0,0,2
Current State: 70:[13, 57], Operations: ['33-20=13', '91-34=57']
Exploring Operation: 13+57=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
94,
23,
79,
92
] | 60 | [
"94-79=15",
"92/23=4",
"15*4=60"
] | Current State: 60:[94, 23, 79, 92], Operations: []
Exploring Operation: 94-79=15, Resulting Numbers: [23, 92, 15]
Generated Node #2: [23, 92, 15] from Operation: 94-79=15
Current State: 60:[23, 92, 15], Operations: ['94-79=15']
Exploring Operation: 92/23=4, Resulting Numbers: [15, 4]
Generated Node #3: [15, 4] from Operation: 92/23=4
Current State: 60:[15, 4], Operations: ['94-79=15', '92/23=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[94, 23, 79, 92], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [23, 79, 2]
Generated Node #0,0: 60:[23, 79, 2] Operation: 94-92=2
Exploring Operation: 94-79=15, Resulting Numbers: [23, 92, 15]
Generated Node #0,1: 60:[23, 92, 15] Operation: 94-79=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[23, 79, 2], Operations: ['94-92=2']
Exploring Operation: 23-2=21, Resulting Numbers: [79, 21]
Generated Node #0,0,0: 60:[79, 21] Operation: 23-2=21
Exploring Operation: 79-23=56, Resulting Numbers: [2, 56]
Generated Node #0,0,1: 60:[2, 56] Operation: 79-23=56
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[2, 56], Operations: ['94-92=2', '79-23=56']
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[79, 21], Operations: ['94-92=2', '23-2=21']
Exploring Operation: 79+21=100, Resulting Numbers: [100]
100,60 unequal: No Solution
Exploring Operation: 79-21=58, Resulting Numbers: [58]
58,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[23, 92, 15], Operations: ['94-79=15']
Exploring Operation: 92/23=4, Resulting Numbers: [15, 4]
Generated Node #0,1,0: 60:[15, 4] Operation: 92/23=4
Exploring Operation: 92-23=69, Resulting Numbers: [15, 69]
Generated Node #0,1,1: 60:[15, 69] Operation: 92-23=69
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[15, 4], Operations: ['94-79=15', '92/23=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[94, 23, 79, 92], Operations: []
Exploring Operation: 94-79=15, Resulting Numbers: [23, 92, 15]
Generated Node #0,1: 60:[23, 92, 15] Operation: 94-79=15
Moving to Node #0,1
Current State: 60:[23, 92, 15], Operations: ['94-79=15']
Exploring Operation: 92/23=4, Resulting Numbers: [15, 4]
Generated Node #0,1,0: 60:[15, 4] Operation: 92/23=4
Moving to Node #0,1,0
Current State: 60:[15, 4], Operations: ['94-79=15', '92/23=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
49,
78,
79,
53
] | 52 | [
"79-53=26",
"78/26=3",
"49+3=52"
] | Current State: 52:[49, 78, 79, 53], Operations: []
Exploring Operation: 79-53=26, Resulting Numbers: [49, 78, 26]
Generated Node #2: [49, 78, 26] from Operation: 79-53=26
Current State: 52:[49, 78, 26], Operations: ['79-53=26']
Exploring Operation: 78/26=3, Resulting Numbers: [49, 3]
Generated Node #3: [49, 3] from Operation: 78/26=3
Current State: 52:[49, 3], Operations: ['79-53=26', '78/26=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[49, 78, 79, 53], Operations: []
Exploring Operation: 79-78=1, Resulting Numbers: [49, 53, 1]
Generated Node #0,0: 52:[49, 53, 1] Operation: 79-78=1
Moving to Node #0,0
Current State: 52:[49, 53, 1], Operations: ['79-78=1']
Exploring Operation: 53-49=4, Resulting Numbers: [1, 4]
Generated Node #0,0,0: 52:[1, 4] Operation: 53-49=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[1, 4], Operations: ['79-78=1', '53-49=4']
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
62,
17,
20
] | 89 | [
"20/2=10",
"62+17=79",
"10+79=89"
] | Current State: 89:[2, 62, 17, 20], Operations: []
Exploring Operation: 20/2=10, Resulting Numbers: [62, 17, 10]
Generated Node #2: [62, 17, 10] from Operation: 20/2=10
Current State: 89:[62, 17, 10], Operations: ['20/2=10']
Exploring Operation: 62+17=79, Resulting Numbers: [10, 79]
Generated Node #3: [10, 79] from Operation: 62+17=79
Current State: 89:[10, 79], Operations: ['20/2=10', '62+17=79']
Exploring Operation: 10+79=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[2, 62, 17, 20], Operations: []
Exploring Operation: 2*20=40, Resulting Numbers: [62, 17, 40]
Generated Node #0,0: 89:[62, 17, 40] Operation: 2*20=40
Exploring Operation: 2+17=19, Resulting Numbers: [62, 20, 19]
Generated Node #0,1: 89:[62, 20, 19] Operation: 2+17=19
Exploring Operation: 2*17=34, Resulting Numbers: [62, 20, 34]
Generated Node #0,2: 89:[62, 20, 34] Operation: 2*17=34
Exploring Operation: 2+62=64, Resulting Numbers: [17, 20, 64]
Generated Node #0,3: 89:[17, 20, 64] Operation: 2+62=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[62, 17, 40], Operations: ['2*20=40']
Exploring Operation: 62+40=102, Resulting Numbers: [17, 102]
Generated Node #0,0,0: 89:[17, 102] Operation: 62+40=102
Exploring Operation: 17+40=57, Resulting Numbers: [62, 57]
Generated Node #0,0,1: 89:[62, 57] Operation: 17+40=57
Exploring Operation: 62+17=79, Resulting Numbers: [40, 79]
Generated Node #0,0,2: 89:[40, 79] Operation: 62+17=79
Exploring Operation: 62-17=45, Resulting Numbers: [40, 45]
Generated Node #0,0,3: 89:[40, 45] Operation: 62-17=45
Moving to Node #0,0,1
Current State: 89:[62, 57], Operations: ['2*20=40', '17+40=57']
Exploring Operation: 62+57=119, Resulting Numbers: [119]
119,89 unequal: No Solution
Exploring Operation: 62-57=5, Resulting Numbers: [5]
5,89 unequal: No Solution
Exploring Operation: 62*57=3534, Resulting Numbers: [3534]
3534,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[40, 79], Operations: ['2*20=40', '62+17=79']
Exploring Operation: 79-40=39, Resulting Numbers: [39]
39,89 unequal: No Solution
Exploring Operation: 40*79=3160, Resulting Numbers: [3160]
3160,89 unequal: No Solution
Exploring Operation: 40+79=119, Resulting Numbers: [119]
119,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[17, 102], Operations: ['2*20=40', '62+40=102']
Exploring Operation: 17*102=1734, Resulting Numbers: [1734]
1734,89 unequal: No Solution
Exploring Operation: 17+102=119, Resulting Numbers: [119]
119,89 unequal: No Solution
Exploring Operation: 102/17=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Exploring Operation: 102-17=85, Resulting Numbers: [85]
85,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[40, 45], Operations: ['2*20=40', '62-17=45']
Exploring Operation: 45-40=5, Resulting Numbers: [5]
5,89 unequal: No Solution
Exploring Operation: 40*45=1800, Resulting Numbers: [1800]
1800,89 unequal: No Solution
Exploring Operation: 40+45=85, Resulting Numbers: [85]
85,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:[62, 20, 34], Operations: ['2*17=34']
Exploring Operation: 62+34=96, Resulting Numbers: [20, 96]
Generated Node #0,2,0: 89:[20, 96] Operation: 62+34=96
Exploring Operation: 62-20=42, Resulting Numbers: [34, 42]
Generated Node #0,2,1: 89:[34, 42] Operation: 62-20=42
Exploring Operation: 62+20=82, Resulting Numbers: [34, 82]
Generated Node #0,2,2: 89:[34, 82] Operation: 62+20=82
Exploring Operation: 20+34=54, Resulting Numbers: [62, 54]
Generated Node #0,2,3: 89:[62, 54] Operation: 20+34=54
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 89:[34, 82], Operations: ['2*17=34', '62+20=82']
Exploring Operation: 34*82=2788, Resulting Numbers: [2788]
2788,89 unequal: No Solution
Exploring Operation: 34+82=116, Resulting Numbers: [116]
116,89 unequal: No Solution
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 89:[62, 54], Operations: ['2*17=34', '20+34=54']
Exploring Operation: 62+54=116, Resulting Numbers: [116]
116,89 unequal: No Solution
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,89 unequal: No Solution
Exploring Operation: 62*54=3348, Resulting Numbers: [3348]
3348,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:[20, 96], Operations: ['2*17=34', '62+34=96']
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,89 unequal: No Solution
Exploring Operation: 20+96=116, Resulting Numbers: [116]
116,89 unequal: No Solution
Exploring Operation: 20*96=1920, Resulting Numbers: [1920]
1920,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:[34, 42], Operations: ['2*17=34', '62-20=42']
Exploring Operation: 42-34=8, Resulting Numbers: [8]
8,89 unequal: No Solution
Exploring Operation: 34+42=76, Resulting Numbers: [76]
76,89 unequal: No Solution
Exploring Operation: 34*42=1428, Resulting Numbers: [1428]
1428,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:[62, 20, 19], Operations: ['2+17=19']
Exploring Operation: 62+20=82, Resulting Numbers: [19, 82]
Generated Node #0,1,0: 89:[19, 82] Operation: 62+20=82
Exploring Operation: 62-19=43, Resulting Numbers: [20, 43]
Generated Node #0,1,1: 89:[20, 43] Operation: 62-19=43
Exploring Operation: 62+19=81, Resulting Numbers: [20, 81]
Generated Node #0,1,2: 89:[20, 81] Operation: 62+19=81
Exploring Operation: 20+19=39, Resulting Numbers: [62, 39]
Generated Node #0,1,3: 89:[62, 39] Operation: 20+19=39
Moving to Node #0,1,0
Current State: 89:[19, 82], Operations: ['2+17=19', '62+20=82']
Exploring Operation: 19+82=101, Resulting Numbers: [101]
101,89 unequal: No Solution
Exploring Operation: 19*82=1558, Resulting Numbers: [1558]
1558,89 unequal: No Solution
Exploring Operation: 82-19=63, Resulting Numbers: [63]
63,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[62, 39], Operations: ['2+17=19', '20+19=39']
Exploring Operation: 62*39=2418, Resulting Numbers: [2418]
2418,89 unequal: No Solution
Exploring Operation: 62+39=101, Resulting Numbers: [101]
101,89 unequal: No Solution
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[20, 81], Operations: ['2+17=19', '62+19=81']
Exploring Operation: 20*81=1620, Resulting Numbers: [1620]
1620,89 unequal: No Solution
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 20+81=101, Resulting Numbers: [101]
101,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[20, 43], Operations: ['2+17=19', '62-19=43']
Exploring Operation: 20+43=63, Resulting Numbers: [63]
63,89 unequal: No Solution
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,89 unequal: No Solution
Exploring Operation: 20*43=860, Resulting Numbers: [860]
860,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[17, 20, 64], Operations: ['2+62=64']
Exploring Operation: 17+20=37, Resulting Numbers: [64, 37]
Generated Node #0,3,0: 89:[64, 37] Operation: 17+20=37
Exploring Operation: 17+64=81, Resulting Numbers: [20, 81]
Generated Node #0,3,1: 89:[20, 81] Operation: 17+64=81
Exploring Operation: 20+64=84, Resulting Numbers: [17, 84]
Generated Node #0,3,2: 89:[17, 84] Operation: 20+64=84
Exploring Operation: 20-17=3, Resulting Numbers: [64, 3]
Generated Node #0,3,3: 89:[64, 3] Operation: 20-17=3
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 89:[64, 37], Operations: ['2+62=64', '17+20=37']
Exploring Operation: 64+37=101, Resulting Numbers: [101]
101,89 unequal: No Solution
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,89 unequal: No Solution
Exploring Operation: 64*37=2368, Resulting Numbers: [2368]
2368,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 89:[20, 81], Operations: ['2+62=64', '17+64=81']
Exploring Operation: 20*81=1620, Resulting Numbers: [1620]
1620,89 unequal: No Solution
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 20+81=101, Resulting Numbers: [101]
101,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 89:[17, 84], Operations: ['2+62=64', '20+64=84']
Exploring Operation: 17+84=101, Resulting Numbers: [101]
101,89 unequal: No Solution
Exploring Operation: 17*84=1428, Resulting Numbers: [1428]
1428,89 unequal: No Solution
Exploring Operation: 84-17=67, Resulting Numbers: [67]
67,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 89:[64, 3], Operations: ['2+62=64', '20-17=3']
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Exploring Operation: 64*3=192, Resulting Numbers: [192]
192,89 unequal: No Solution
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,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_4 | mult_heuristic |
[
52,
99,
85,
41
] | 76 | [
"52-41=11",
"99/11=9",
"85-9=76"
] | Current State: 76:[52, 99, 85, 41], Operations: []
Exploring Operation: 52-41=11, Resulting Numbers: [99, 85, 11]
Generated Node #2: [99, 85, 11] from Operation: 52-41=11
Current State: 76:[99, 85, 11], Operations: ['52-41=11']
Exploring Operation: 99/11=9, Resulting Numbers: [85, 9]
Generated Node #3: [85, 9] from Operation: 99/11=9
Current State: 76:[85, 9], Operations: ['52-41=11', '99/11=9']
Exploring Operation: 85-9=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[52, 99, 85, 41], Operations: []
Exploring Operation: 99-52=47, Resulting Numbers: [85, 41, 47]
Generated Node #0,0: 76:[85, 41, 47] Operation: 99-52=47
Exploring Operation: 99-85=14, Resulting Numbers: [52, 41, 14]
Generated Node #0,1: 76:[52, 41, 14] Operation: 99-85=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[85, 41, 47], Operations: ['99-52=47']
Exploring Operation: 85-47=38, Resulting Numbers: [41, 38]
Generated Node #0,0,0: 76:[41, 38] Operation: 85-47=38
Exploring Operation: 47-41=6, Resulting Numbers: [85, 6]
Generated Node #0,0,1: 76:[85, 6] Operation: 47-41=6
Moving to Node #0,0,0
Current State: 76:[41, 38], Operations: ['99-52=47', '85-47=38']
Exploring Operation: 41+38=79, Resulting Numbers: [79]
79,76 unequal: No Solution
Exploring Operation: 41-38=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[85, 6], Operations: ['99-52=47', '47-41=6']
Exploring Operation: 85+6=91, Resulting Numbers: [91]
91,76 unequal: No Solution
Exploring Operation: 85-6=79, Resulting Numbers: [79]
79,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[52, 41, 14], Operations: ['99-85=14']
Exploring Operation: 52-14=38, Resulting Numbers: [41, 38]
Generated Node #0,1,0: 76:[41, 38] Operation: 52-14=38
Exploring Operation: 52-41=11, Resulting Numbers: [14, 11]
Generated Node #0,1,1: 76:[14, 11] Operation: 52-41=11
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[41, 38], Operations: ['99-85=14', '52-14=38']
Exploring Operation: 41-38=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 41+38=79, Resulting Numbers: [79]
79,76 unequal: No Solution
No 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: 76:[14, 11], Operations: ['99-85=14', '52-41=11']
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,76 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 |
[
70,
15,
20,
94
] | 19 | [
"70-15=55",
"94-20=74",
"74-55=19"
] | Current State: 19:[70, 15, 20, 94], Operations: []
Exploring Operation: 70-15=55, Resulting Numbers: [20, 94, 55]
Generated Node #2: [20, 94, 55] from Operation: 70-15=55
Current State: 19:[20, 94, 55], Operations: ['70-15=55']
Exploring Operation: 94-20=74, Resulting Numbers: [55, 74]
Generated Node #3: [55, 74] from Operation: 94-20=74
Current State: 19:[55, 74], Operations: ['70-15=55', '94-20=74']
Exploring Operation: 74-55=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[70, 15, 20, 94], Operations: []
Exploring Operation: 94-20=74, Resulting Numbers: [70, 15, 74]
Generated Node #0,0: 19:[70, 15, 74] Operation: 94-20=74
Exploring Operation: 70-20=50, Resulting Numbers: [15, 94, 50]
Generated Node #0,1: 19:[15, 94, 50] Operation: 70-20=50
Exploring Operation: 94-70=24, Resulting Numbers: [15, 20, 24]
Generated Node #0,2: 19:[15, 20, 24] Operation: 94-70=24
Exploring Operation: 94-15=79, Resulting Numbers: [70, 20, 79]
Generated Node #0,3: 19:[70, 20, 79] Operation: 94-15=79
Exploring Operation: 70-15=55, Resulting Numbers: [20, 94, 55]
Generated Node #0,4: 19:[20, 94, 55] Operation: 70-15=55
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[15, 20, 24], Operations: ['94-70=24']
Exploring Operation: 20-15=5, Resulting Numbers: [24, 5]
Generated Node #0,2,0: 19:[24, 5] Operation: 20-15=5
Exploring Operation: 24-20=4, Resulting Numbers: [15, 4]
Generated Node #0,2,1: 19:[15, 4] Operation: 24-20=4
Exploring Operation: 15+24=39, Resulting Numbers: [20, 39]
Generated Node #0,2,2: 19:[20, 39] Operation: 15+24=39
Exploring Operation: 24-15=9, Resulting Numbers: [20, 9]
Generated Node #0,2,3: 19:[20, 9] Operation: 24-15=9
Exploring Operation: 15+20=35, Resulting Numbers: [24, 35]
Generated Node #0,2,4: 19:[24, 35] Operation: 15+20=35
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 19:[20, 9], Operations: ['94-70=24', '24-15=9']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 20*9=180, Resulting Numbers: [180]
180,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,2,0
Current State: 19:[24, 5], Operations: ['94-70=24', '20-15=5']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[70, 15, 20, 94], Operations: []
Exploring Operation: 94-70=24, Resulting Numbers: [15, 20, 24]
Generated Node #0,2: 19:[15, 20, 24] Operation: 94-70=24
Moving to Node #0,2
Current State: 19:[15, 20, 24], Operations: ['94-70=24']
Exploring Operation: 20-15=5, Resulting Numbers: [24, 5]
Generated Node #0,2,0: 19:[24, 5] Operation: 20-15=5
Moving to Node #0,2,0
Current State: 19:[24, 5], Operations: ['94-70=24', '20-15=5']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
75,
93,
81,
9
] | 86 | [
"75*93=6975",
"6975-9=6966",
"6966/81=86"
] | Current State: 86:[75, 93, 81, 9], Operations: []
Exploring Operation: 75*93=6975, Resulting Numbers: [81, 9, 6975]
Generated Node #2: [81, 9, 6975] from Operation: 75*93=6975
Current State: 86:[81, 9, 6975], Operations: ['75*93=6975']
Exploring Operation: 6975-9=6966, Resulting Numbers: [81, 6966]
Generated Node #3: [81, 6966] from Operation: 6975-9=6966
Current State: 86:[81, 6966], Operations: ['75*93=6975', '6975-9=6966']
Exploring Operation: 6966/81=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[75, 93, 81, 9], Operations: []
Exploring Operation: 81-75=6, Resulting Numbers: [93, 9, 6]
Generated Node #0,0: 86:[93, 9, 6] Operation: 81-75=6
Exploring Operation: 93-9=84, Resulting Numbers: [75, 81, 84]
Generated Node #0,1: 86:[75, 81, 84] Operation: 93-9=84
Exploring Operation: 75+9=84, Resulting Numbers: [93, 81, 84]
Generated Node #0,2: 86:[93, 81, 84] Operation: 75+9=84
Moving to Node #0,2
Current State: 86:[93, 81, 84], Operations: ['75+9=84']
Exploring Operation: 93-81=12, Resulting Numbers: [84, 12]
Generated Node #0,2,0: 86:[84, 12] Operation: 93-81=12
Exploring Operation: 84-81=3, Resulting Numbers: [93, 3]
Generated Node #0,2,1: 86:[93, 3] Operation: 84-81=3
Exploring Operation: 93-84=9, Resulting Numbers: [81, 9]
Generated Node #0,2,2: 86:[81, 9] Operation: 93-84=9
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[93, 3], Operations: ['75+9=84', '84-81=3']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,86 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,86 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,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:[84, 12], Operations: ['75+9=84', '93-81=12']
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 84+12=96, Resulting Numbers: [96]
96,86 unequal: No Solution
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,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:[81, 9], Operations: ['75+9=84', '93-84=9']
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,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:[93, 9, 6], Operations: ['81-75=6']
Exploring Operation: 93-9=84, Resulting Numbers: [6, 84]
Generated Node #0,0,0: 86:[6, 84] Operation: 93-9=84
Exploring Operation: 93-6=87, Resulting Numbers: [9, 87]
Generated Node #0,0,1: 86:[9, 87] Operation: 93-6=87
Exploring Operation: 9-6=3, Resulting Numbers: [93, 3]
Generated Node #0,0,2: 86:[93, 3] Operation: 9-6=3
Moving to Node #0,1
Current State: 86:[75, 81, 84], Operations: ['93-9=84']
Exploring Operation: 84-81=3, Resulting Numbers: [75, 3]
Generated Node #0,1,0: 86:[75, 3] Operation: 84-81=3
Exploring Operation: 84-75=9, Resulting Numbers: [81, 9]
Generated Node #0,1,1: 86:[81, 9] Operation: 84-75=9
Exploring Operation: 81-75=6, Resulting Numbers: [84, 6]
Generated Node #0,1,2: 86:[84, 6] Operation: 81-75=6
Moving to Node #0,0,0
Current State: 86:[6, 84], Operations: ['81-75=6', '93-9=84']
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,86 unequal: No Solution
Exploring Operation: 6+84=90, Resulting Numbers: [90]
90,86 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[84, 6], Operations: ['93-9=84', '81-75=6']
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,86 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[93, 3], Operations: ['81-75=6', '9-6=3']
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,86 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[9, 87], Operations: ['81-75=6', '93-6=87']
Exploring Operation: 9*87=783, Resulting Numbers: [783]
783,86 unequal: No Solution
Exploring Operation: 9+87=96, Resulting Numbers: [96]
96,86 unequal: No Solution
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[81, 9], Operations: ['93-9=84', '84-75=9']
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[75, 3], Operations: ['93-9=84', '84-81=3']
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,86 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,86 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
91,
56,
64,
88
] | 14 | [
"56*88=4928",
"4928/64=77",
"91-77=14"
] | Current State: 14:[91, 56, 64, 88], Operations: []
Exploring Operation: 56*88=4928, Resulting Numbers: [91, 64, 4928]
Generated Node #2: [91, 64, 4928] from Operation: 56*88=4928
Current State: 14:[91, 64, 4928], Operations: ['56*88=4928']
Exploring Operation: 4928/64=77, Resulting Numbers: [91, 77]
Generated Node #3: [91, 77] from Operation: 4928/64=77
Current State: 14:[91, 77], Operations: ['56*88=4928', '4928/64=77']
Exploring Operation: 91-77=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[91, 56, 64, 88], Operations: []
Exploring Operation: 91-88=3, Resulting Numbers: [56, 64, 3]
Generated Node #0,0: 14:[56, 64, 3] Operation: 91-88=3
Exploring Operation: 91-64=27, Resulting Numbers: [56, 88, 27]
Generated Node #0,1: 14:[56, 88, 27] Operation: 91-64=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[56, 64, 3], Operations: ['91-88=3']
Exploring Operation: 56-3=53, Resulting Numbers: [64, 53]
Generated Node #0,0,0: 14:[64, 53] Operation: 56-3=53
Exploring Operation: 64-56=8, Resulting Numbers: [3, 8]
Generated Node #0,0,1: 14:[3, 8] Operation: 64-56=8
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 14:[3, 8], Operations: ['91-88=3', '64-56=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[64, 53], Operations: ['91-88=3', '56-3=53']
Exploring Operation: 64-53=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 64+53=117, Resulting Numbers: [117]
117,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[56, 88, 27], Operations: ['91-64=27']
Exploring Operation: 88-56=32, Resulting Numbers: [27, 32]
Generated Node #0,1,0: 14:[27, 32] Operation: 88-56=32
Exploring Operation: 56-27=29, Resulting Numbers: [88, 29]
Generated Node #0,1,1: 14:[88, 29] Operation: 56-27=29
Moving to Node #0,1,0
Current State: 14:[27, 32], Operations: ['91-64=27', '88-56=32']
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[88, 29], Operations: ['91-64=27', '56-27=29']
Exploring Operation: 88+29=117, Resulting Numbers: [117]
117,14 unequal: No Solution
Exploring Operation: 88-29=59, Resulting Numbers: [59]
59,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 | mult_heuristic |
[
7,
28,
9,
97
] | 83 | [
"9-7=2",
"28/2=14",
"97-14=83"
] | Current State: 83:[7, 28, 9, 97], Operations: []
Exploring Operation: 9-7=2, Resulting Numbers: [28, 97, 2]
Generated Node #2: [28, 97, 2] from Operation: 9-7=2
Current State: 83:[28, 97, 2], Operations: ['9-7=2']
Exploring Operation: 28/2=14, Resulting Numbers: [97, 14]
Generated Node #3: [97, 14] from Operation: 28/2=14
Current State: 83:[97, 14], Operations: ['9-7=2', '28/2=14']
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[7, 28, 9, 97], Operations: []
Exploring Operation: 7*9=63, Resulting Numbers: [28, 97, 63]
Generated Node #0,0: 83:[28, 97, 63] Operation: 7*9=63
Exploring Operation: 7+28=35, Resulting Numbers: [9, 97, 35]
Generated Node #0,1: 83:[9, 97, 35] Operation: 7+28=35
Exploring Operation: 7+9=16, Resulting Numbers: [28, 97, 16]
Generated Node #0,2: 83:[28, 97, 16] Operation: 7+9=16
Moving to Node #0,0
Current State: 83:[28, 97, 63], Operations: ['7*9=63']
Exploring Operation: 28+63=91, Resulting Numbers: [97, 91]
Generated Node #0,0,0: 83:[97, 91] Operation: 28+63=91
Exploring Operation: 97-28=69, Resulting Numbers: [63, 69]
Generated Node #0,0,1: 83:[63, 69] Operation: 97-28=69
Exploring Operation: 28+97=125, Resulting Numbers: [63, 125]
Generated Node #0,0,2: 83:[63, 125] Operation: 28+97=125
Moving to Node #0,1
Current State: 83:[9, 97, 35], Operations: ['7+28=35']
Exploring Operation: 9+35=44, Resulting Numbers: [97, 44]
Generated Node #0,1,0: 83:[97, 44] Operation: 9+35=44
Exploring Operation: 9+97=106, Resulting Numbers: [35, 106]
Generated Node #0,1,1: 83:[35, 106] Operation: 9+97=106
Exploring Operation: 97-9=88, Resulting Numbers: [35, 88]
Generated Node #0,1,2: 83:[35, 88] Operation: 97-9=88
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[97, 44], Operations: ['7+28=35', '9+35=44']
Exploring Operation: 97-44=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 97*44=4268, Resulting Numbers: [4268]
4268,83 unequal: No Solution
Exploring Operation: 97+44=141, Resulting Numbers: [141]
141,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[35, 88], Operations: ['7+28=35', '97-9=88']
Exploring Operation: 35+88=123, Resulting Numbers: [123]
123,83 unequal: No Solution
Exploring Operation: 35*88=3080, Resulting Numbers: [3080]
3080,83 unequal: No Solution
Exploring Operation: 88-35=53, Resulting Numbers: [53]
53,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[35, 106], Operations: ['7+28=35', '9+97=106']
Exploring Operation: 106-35=71, Resulting Numbers: [71]
71,83 unequal: No Solution
Exploring Operation: 35+106=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Exploring Operation: 35*106=3710, Resulting Numbers: [3710]
3710,83 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: 83:[28, 97, 16], Operations: ['7+9=16']
Exploring Operation: 97-16=81, Resulting Numbers: [28, 81]
Generated Node #0,2,0: 83:[28, 81] Operation: 97-16=81
Exploring Operation: 97-28=69, Resulting Numbers: [16, 69]
Generated Node #0,2,1: 83:[16, 69] Operation: 97-28=69
Exploring Operation: 28+16=44, Resulting Numbers: [97, 44]
Generated Node #0,2,2: 83:[97, 44] Operation: 28+16=44
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[97, 44], Operations: ['7+9=16', '28+16=44']
Exploring Operation: 97+44=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Exploring Operation: 97-44=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 97*44=4268, Resulting Numbers: [4268]
4268,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[28, 81], Operations: ['7+9=16', '97-16=81']
Exploring Operation: 28+81=109, Resulting Numbers: [109]
109,83 unequal: No Solution
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 28*81=2268, Resulting Numbers: [2268]
2268,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[16, 69], Operations: ['7+9=16', '97-28=69']
Exploring Operation: 16*69=1104, Resulting Numbers: [1104]
1104,83 unequal: No Solution
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 16+69=85, Resulting Numbers: [85]
85,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 83:[97, 91], Operations: ['7*9=63', '28+63=91']
Exploring Operation: 97+91=188, Resulting Numbers: [188]
188,83 unequal: No Solution
Exploring Operation: 97-91=6, Resulting Numbers: [6]
6,83 unequal: No Solution
Exploring Operation: 97*91=8827, Resulting Numbers: [8827]
8827,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[63, 69], Operations: ['7*9=63', '97-28=69']
Exploring Operation: 63+69=132, Resulting Numbers: [132]
132,83 unequal: No Solution
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,83 unequal: No Solution
Exploring Operation: 63*69=4347, Resulting Numbers: [4347]
4347,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[63, 125], Operations: ['7*9=63', '28+97=125']
Exploring Operation: 63+125=188, Resulting Numbers: [188]
188,83 unequal: No Solution
Exploring Operation: 63*125=7875, Resulting Numbers: [7875]
7875,83 unequal: No Solution
Exploring Operation: 125-63=62, Resulting Numbers: [62]
62,83 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
18,
23,
44,
50
] | 66 | [
"50-23=27",
"44*27=1188",
"1188/18=66"
] | Current State: 66:[18, 23, 44, 50], Operations: []
Exploring Operation: 50-23=27, Resulting Numbers: [18, 44, 27]
Generated Node #2: [18, 44, 27] from Operation: 50-23=27
Current State: 66:[18, 44, 27], Operations: ['50-23=27']
Exploring Operation: 44*27=1188, Resulting Numbers: [18, 1188]
Generated Node #3: [18, 1188] from Operation: 44*27=1188
Current State: 66:[18, 1188], Operations: ['50-23=27', '44*27=1188']
Exploring Operation: 1188/18=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[18, 23, 44, 50], Operations: []
Exploring Operation: 50-44=6, Resulting Numbers: [18, 23, 6]
Generated Node #0,0: 66:[18, 23, 6] Operation: 50-44=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[18, 23, 6], Operations: ['50-44=6']
Exploring Operation: 23-18=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 66:[6, 5] Operation: 23-18=5
Moving to Node #0,0,0
Current State: 66:[6, 5], Operations: ['50-44=6', '23-18=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,66 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 |
[
82,
31,
83,
19
] | 13 | [
"82-31=51",
"83-19=64",
"64-51=13"
] | Current State: 13:[82, 31, 83, 19], Operations: []
Exploring Operation: 82-31=51, Resulting Numbers: [83, 19, 51]
Generated Node #2: [83, 19, 51] from Operation: 82-31=51
Current State: 13:[83, 19, 51], Operations: ['82-31=51']
Exploring Operation: 83-19=64, Resulting Numbers: [51, 64]
Generated Node #3: [51, 64] from Operation: 83-19=64
Current State: 13:[51, 64], Operations: ['82-31=51', '83-19=64']
Exploring Operation: 64-51=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[82, 31, 83, 19], Operations: []
Exploring Operation: 83-82=1, Resulting Numbers: [31, 19, 1]
Generated Node #0,0: 13:[31, 19, 1] Operation: 83-82=1
Exploring Operation: 82-31=51, Resulting Numbers: [83, 19, 51]
Generated Node #0,1: 13:[83, 19, 51] Operation: 82-31=51
Exploring Operation: 82-19=63, Resulting Numbers: [31, 83, 63]
Generated Node #0,2: 13:[31, 83, 63] Operation: 82-19=63
Exploring Operation: 83-19=64, Resulting Numbers: [82, 31, 64]
Generated Node #0,3: 13:[82, 31, 64] Operation: 83-19=64
Exploring Operation: 83-31=52, Resulting Numbers: [82, 19, 52]
Generated Node #0,4: 13:[82, 19, 52] Operation: 83-31=52
Moving to Node #0,0
Current State: 13:[31, 19, 1], Operations: ['83-82=1']
Exploring Operation: 31-19=12, Resulting Numbers: [1, 12]
Generated Node #0,0,0: 13:[1, 12] Operation: 31-19=12
Exploring Operation: 31-1=30, Resulting Numbers: [19, 30]
Generated Node #0,0,1: 13:[19, 30] Operation: 31-1=30
Exploring Operation: 19-1=18, Resulting Numbers: [31, 18]
Generated Node #0,0,2: 13:[31, 18] Operation: 19-1=18
Exploring Operation: 31*1=31, Resulting Numbers: [19, 31]
Generated Node #0,0,3: 13:[19, 31] Operation: 31*1=31
Exploring Operation: 31/1=31, Resulting Numbers: [19, 31]
Generated Node #0,0,4: 13:[19, 31] Operation: 31/1=31
Moving to Node #0,4
Current State: 13:[82, 19, 52], Operations: ['83-31=52']
Exploring Operation: 52-19=33, Resulting Numbers: [82, 33]
Generated Node #0,4,0: 13:[82, 33] Operation: 52-19=33
Exploring Operation: 82+19=101, Resulting Numbers: [52, 101]
Generated Node #0,4,1: 13:[52, 101] Operation: 82+19=101
Exploring Operation: 82-19=63, Resulting Numbers: [52, 63]
Generated Node #0,4,2: 13:[52, 63] Operation: 82-19=63
Exploring Operation: 82-52=30, Resulting Numbers: [19, 30]
Generated Node #0,4,3: 13:[19, 30] Operation: 82-52=30
Exploring Operation: 82+52=134, Resulting Numbers: [19, 134]
Generated Node #0,4,4: 13:[19, 134] Operation: 82+52=134
Moving to Node #0,1
Current State: 13:[83, 19, 51], Operations: ['82-31=51']
Exploring Operation: 83+51=134, Resulting Numbers: [19, 134]
Generated Node #0,1,0: 13:[19, 134] Operation: 83+51=134
Exploring Operation: 51-19=32, Resulting Numbers: [83, 32]
Generated Node #0,1,1: 13:[83, 32] Operation: 51-19=32
Exploring Operation: 83-19=64, Resulting Numbers: [51, 64]
Generated Node #0,1,2: 13:[51, 64] Operation: 83-19=64
Exploring Operation: 83-51=32, Resulting Numbers: [19, 32]
Generated Node #0,1,3: 13:[19, 32] Operation: 83-51=32
Exploring Operation: 83+19=102, Resulting Numbers: [51, 102]
Generated Node #0,1,4: 13:[51, 102] Operation: 83+19=102
Moving to Node #0,2
Current State: 13:[31, 83, 63], Operations: ['82-19=63']
Exploring Operation: 31+63=94, Resulting Numbers: [83, 94]
Generated Node #0,2,0: 13:[83, 94] Operation: 31+63=94
Exploring Operation: 31+83=114, Resulting Numbers: [63, 114]
Generated Node #0,2,1: 13:[63, 114] Operation: 31+83=114
Exploring Operation: 83-31=52, Resulting Numbers: [63, 52]
Generated Node #0,2,2: 13:[63, 52] Operation: 83-31=52
Exploring Operation: 63-31=32, Resulting Numbers: [83, 32]
Generated Node #0,2,3: 13:[83, 32] Operation: 63-31=32
Exploring Operation: 83-63=20, Resulting Numbers: [31, 20]
Generated Node #0,2,4: 13:[31, 20] Operation: 83-63=20
Moving to Node #0,3
Current State: 13:[82, 31, 64], Operations: ['83-19=64']
Exploring Operation: 82+64=146, Resulting Numbers: [31, 146]
Generated Node #0,3,0: 13:[31, 146] Operation: 82+64=146
Exploring Operation: 82-64=18, Resulting Numbers: [31, 18]
Generated Node #0,3,1: 13:[31, 18] Operation: 82-64=18
Exploring Operation: 82+31=113, Resulting Numbers: [64, 113]
Generated Node #0,3,2: 13:[64, 113] Operation: 82+31=113
Exploring Operation: 82-31=51, Resulting Numbers: [64, 51]
Generated Node #0,3,3: 13:[64, 51] Operation: 82-31=51
Exploring Operation: 64-31=33, Resulting Numbers: [82, 33]
Generated Node #0,3,4: 13:[82, 33] Operation: 64-31=33
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 13:[31, 18], Operations: ['83-19=64', '82-64=18']
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[82, 31, 83, 19], Operations: []
Exploring Operation: 83-19=64, Resulting Numbers: [82, 31, 64]
Generated Node #0,3: 13:[82, 31, 64] Operation: 83-19=64
Moving to Node #0,3
Current State: 13:[82, 31, 64], Operations: ['83-19=64']
Exploring Operation: 82-64=18, Resulting Numbers: [31, 18]
Generated Node #0,3,1: 13:[31, 18] Operation: 82-64=18
Moving to Node #0,3,1
Current State: 13:[31, 18], Operations: ['83-19=64', '82-64=18']
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | mult_heuristic |
[
51,
21,
17,
5
] | 35 | [
"51/17=3",
"21*5=105",
"105/3=35"
] | Current State: 35:[51, 21, 17, 5], Operations: []
Exploring Operation: 51/17=3, Resulting Numbers: [21, 5, 3]
Generated Node #2: [21, 5, 3] from Operation: 51/17=3
Current State: 35:[21, 5, 3], Operations: ['51/17=3']
Exploring Operation: 21*5=105, Resulting Numbers: [3, 105]
Generated Node #3: [3, 105] from Operation: 21*5=105
Current State: 35:[3, 105], Operations: ['51/17=3', '21*5=105']
Exploring Operation: 105/3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[51, 21, 17, 5], Operations: []
Exploring Operation: 51-21=30, Resulting Numbers: [17, 5, 30]
Generated Node #0,0: 35:[17, 5, 30] Operation: 51-21=30
Exploring Operation: 51-17=34, Resulting Numbers: [21, 5, 34]
Generated Node #0,1: 35:[21, 5, 34] Operation: 51-17=34
Moving to Node #0,0
Current State: 35:[17, 5, 30], Operations: ['51-21=30']
Exploring Operation: 17-5=12, Resulting Numbers: [30, 12]
Generated Node #0,0,0: 35:[30, 12] Operation: 17-5=12
Exploring Operation: 30-17=13, Resulting Numbers: [5, 13]
Generated Node #0,0,1: 35:[5, 13] Operation: 30-17=13
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[5, 13], Operations: ['51-21=30', '30-17=13']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[30, 12], Operations: ['51-21=30', '17-5=12']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 35:[21, 5, 34], Operations: ['51-17=34']
Exploring Operation: 34-21=13, Resulting Numbers: [5, 13]
Generated Node #0,1,0: 35:[5, 13] Operation: 34-21=13
Exploring Operation: 21+5=26, Resulting Numbers: [34, 26]
Generated Node #0,1,1: 35:[34, 26] Operation: 21+5=26
Moving to Node #0,1,0
Current State: 35:[5, 13], Operations: ['51-17=34', '34-21=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[34, 26], Operations: ['51-17=34', '21+5=26']
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,35 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
9,
12,
18,
5
] | 75 | [
"12-9=3",
"18-3=15",
"5*15=75"
] | Current State: 75:[9, 12, 18, 5], Operations: []
Exploring Operation: 12-9=3, Resulting Numbers: [18, 5, 3]
Generated Node #2: [18, 5, 3] from Operation: 12-9=3
Current State: 75:[18, 5, 3], Operations: ['12-9=3']
Exploring Operation: 18-3=15, Resulting Numbers: [5, 15]
Generated Node #3: [5, 15] from Operation: 18-3=15
Current State: 75:[5, 15], Operations: ['12-9=3', '18-3=15']
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[9, 12, 18, 5], Operations: []
Exploring Operation: 12-9=3, Resulting Numbers: [18, 5, 3]
Generated Node #0,0: 75:[18, 5, 3] Operation: 12-9=3
Exploring Operation: 18/9=2, Resulting Numbers: [12, 5, 2]
Generated Node #0,1: 75:[12, 5, 2] Operation: 18/9=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[18, 5, 3], Operations: ['12-9=3']
Exploring Operation: 18-3=15, Resulting Numbers: [5, 15]
Generated Node #0,0,0: 75:[5, 15] Operation: 18-3=15
Exploring Operation: 18/3=6, Resulting Numbers: [5, 6]
Generated Node #0,0,1: 75:[5, 6] Operation: 18/3=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[5, 15], Operations: ['12-9=3', '18-3=15']
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[9, 12, 18, 5], Operations: []
Exploring Operation: 12-9=3, Resulting Numbers: [18, 5, 3]
Generated Node #0,0: 75:[18, 5, 3] Operation: 12-9=3
Moving to Node #0,0
Current State: 75:[18, 5, 3], Operations: ['12-9=3']
Exploring Operation: 18-3=15, Resulting Numbers: [5, 15]
Generated Node #0,0,0: 75:[5, 15] Operation: 18-3=15
Moving to Node #0,0,0
Current State: 75:[5, 15], Operations: ['12-9=3', '18-3=15']
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
91,
70,
90,
99
] | 30 | [
"91-70=21",
"99-90=9",
"21+9=30"
] | Current State: 30:[91, 70, 90, 99], Operations: []
Exploring Operation: 91-70=21, Resulting Numbers: [90, 99, 21]
Generated Node #2: [90, 99, 21] from Operation: 91-70=21
Current State: 30:[90, 99, 21], Operations: ['91-70=21']
Exploring Operation: 99-90=9, Resulting Numbers: [21, 9]
Generated Node #3: [21, 9] from Operation: 99-90=9
Current State: 30:[21, 9], Operations: ['91-70=21', '99-90=9']
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[91, 70, 90, 99], Operations: []
Exploring Operation: 99-90=9, Resulting Numbers: [91, 70, 9]
Generated Node #0,0: 30:[91, 70, 9] Operation: 99-90=9
Exploring Operation: 91-70=21, Resulting Numbers: [90, 99, 21]
Generated Node #0,1: 30:[90, 99, 21] Operation: 91-70=21
Exploring Operation: 99-91=8, Resulting Numbers: [70, 90, 8]
Generated Node #0,2: 30:[70, 90, 8] Operation: 99-91=8
Exploring Operation: 91-90=1, Resulting Numbers: [70, 99, 1]
Generated Node #0,3: 30:[70, 99, 1] Operation: 91-90=1
Exploring Operation: 99-70=29, Resulting Numbers: [91, 90, 29]
Generated Node #0,4: 30:[91, 90, 29] Operation: 99-70=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[91, 70, 9], Operations: ['99-90=9']
Exploring Operation: 91-70=21, Resulting Numbers: [9, 21]
Generated Node #0,0,0: 30:[9, 21] Operation: 91-70=21
Exploring Operation: 91-9=82, Resulting Numbers: [70, 82]
Generated Node #0,0,1: 30:[70, 82] Operation: 91-9=82
Exploring Operation: 70-9=61, Resulting Numbers: [91, 61]
Generated Node #0,0,2: 30:[91, 61] Operation: 70-9=61
Exploring Operation: 70+9=79, Resulting Numbers: [91, 79]
Generated Node #0,0,3: 30:[91, 79] Operation: 70+9=79
Exploring Operation: 91+9=100, Resulting Numbers: [70, 100]
Generated Node #0,0,4: 30:[70, 100] Operation: 91+9=100
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[9, 21], Operations: ['99-90=9', '91-70=21']
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[91, 70, 90, 99], Operations: []
Exploring Operation: 99-90=9, Resulting Numbers: [91, 70, 9]
Generated Node #0,0: 30:[91, 70, 9] Operation: 99-90=9
Moving to Node #0,0
Current State: 30:[91, 70, 9], Operations: ['99-90=9']
Exploring Operation: 91-70=21, Resulting Numbers: [9, 21]
Generated Node #0,0,0: 30:[9, 21] Operation: 91-70=21
Moving to Node #0,0,0
Current State: 30:[9, 21], Operations: ['99-90=9', '91-70=21']
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
38,
35,
75,
17
] | 89 | [
"38-35=3",
"75+17=92",
"92-3=89"
] | Current State: 89:[38, 35, 75, 17], Operations: []
Exploring Operation: 38-35=3, Resulting Numbers: [75, 17, 3]
Generated Node #2: [75, 17, 3] from Operation: 38-35=3
Current State: 89:[75, 17, 3], Operations: ['38-35=3']
Exploring Operation: 75+17=92, Resulting Numbers: [3, 92]
Generated Node #3: [3, 92] from Operation: 75+17=92
Current State: 89:[3, 92], Operations: ['38-35=3', '75+17=92']
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[38, 35, 75, 17], Operations: []
Exploring Operation: 38+35=73, Resulting Numbers: [75, 17, 73]
Generated Node #0,0: 89:[75, 17, 73] Operation: 38+35=73
Moving to Node #0,0
Current State: 89:[75, 17, 73], Operations: ['38+35=73']
Exploring Operation: 17+73=90, Resulting Numbers: [75, 90]
Generated Node #0,0,0: 89:[75, 90] Operation: 17+73=90
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[75, 90], Operations: ['38+35=73', '17+73=90']
Exploring Operation: 90-75=15, Resulting Numbers: [15]
15,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
1,
16,
64,
7
] | 88 | [
"1+16=17",
"64+7=71",
"17+71=88"
] | Current State: 88:[1, 16, 64, 7], Operations: []
Exploring Operation: 1+16=17, Resulting Numbers: [64, 7, 17]
Generated Node #2: [64, 7, 17] from Operation: 1+16=17
Current State: 88:[64, 7, 17], Operations: ['1+16=17']
Exploring Operation: 64+7=71, Resulting Numbers: [17, 71]
Generated Node #3: [17, 71] from Operation: 64+7=71
Current State: 88:[17, 71], Operations: ['1+16=17', '64+7=71']
Exploring Operation: 17+71=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[1, 16, 64, 7], Operations: []
Exploring Operation: 64/16=4, Resulting Numbers: [1, 7, 4]
Generated Node #0,0: 88:[1, 7, 4] Operation: 64/16=4
Exploring Operation: 64-16=48, Resulting Numbers: [1, 7, 48]
Generated Node #0,1: 88:[1, 7, 48] Operation: 64-16=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[1, 7, 4], Operations: ['64/16=4']
Exploring Operation: 1+7=8, Resulting Numbers: [4, 8]
Generated Node #0,0,0: 88:[4, 8] Operation: 1+7=8
Exploring Operation: 1*7=7, Resulting Numbers: [4, 7]
Generated Node #0,0,1: 88:[4, 7] Operation: 1*7=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[4, 8], Operations: ['64/16=4', '1+7=8']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[4, 7], Operations: ['64/16=4', '1*7=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[1, 7, 48], Operations: ['64-16=48']
Exploring Operation: 48-1=47, Resulting Numbers: [7, 47]
Generated Node #0,1,0: 88:[7, 47] Operation: 48-1=47
Exploring Operation: 1+7=8, Resulting Numbers: [48, 8]
Generated Node #0,1,1: 88:[48, 8] Operation: 1+7=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[7, 47], Operations: ['64-16=48', '48-1=47']
Exploring Operation: 7+47=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[48, 8], Operations: ['64-16=48', '1+7=8']
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
58,
18,
91,
45
] | 96 | [
"58-18=40",
"91+45=136",
"136-40=96"
] | Current State: 96:[58, 18, 91, 45], Operations: []
Exploring Operation: 58-18=40, Resulting Numbers: [91, 45, 40]
Generated Node #2: [91, 45, 40] from Operation: 58-18=40
Current State: 96:[91, 45, 40], Operations: ['58-18=40']
Exploring Operation: 91+45=136, Resulting Numbers: [40, 136]
Generated Node #3: [40, 136] from Operation: 91+45=136
Current State: 96:[40, 136], Operations: ['58-18=40', '91+45=136']
Exploring Operation: 136-40=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[58, 18, 91, 45], Operations: []
Exploring Operation: 58-45=13, Resulting Numbers: [18, 91, 13]
Generated Node #0,0: 96:[18, 91, 13] Operation: 58-45=13
Exploring Operation: 91-58=33, Resulting Numbers: [18, 45, 33]
Generated Node #0,1: 96:[18, 45, 33] Operation: 91-58=33
Moving to Node #0,1
Current State: 96:[18, 45, 33], Operations: ['91-58=33']
Exploring Operation: 45-33=12, Resulting Numbers: [18, 12]
Generated Node #0,1,0: 96:[18, 12] Operation: 45-33=12
Exploring Operation: 45-18=27, Resulting Numbers: [33, 27]
Generated Node #0,1,1: 96:[33, 27] Operation: 45-18=27
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[18, 12], Operations: ['91-58=33', '45-33=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[33, 27], Operations: ['91-58=33', '45-18=27']
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,96 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: 96:[18, 91, 13], Operations: ['58-45=13']
Exploring Operation: 18+13=31, Resulting Numbers: [91, 31]
Generated Node #0,0,0: 96:[91, 31] Operation: 18+13=31
Exploring Operation: 91/13=7, Resulting Numbers: [18, 7]
Generated Node #0,0,1: 96:[18, 7] Operation: 91/13=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[18, 7], Operations: ['58-45=13', '91/13=7']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[91, 31], Operations: ['58-45=13', '18+13=31']
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 91+31=122, Resulting Numbers: [122]
122,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
73,
51,
15,
71
] | 81 | [
"73-71=2",
"15*2=30",
"51+30=81"
] | Current State: 81:[73, 51, 15, 71], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [51, 15, 2]
Generated Node #2: [51, 15, 2] from Operation: 73-71=2
Current State: 81:[51, 15, 2], Operations: ['73-71=2']
Exploring Operation: 15*2=30, Resulting Numbers: [51, 30]
Generated Node #3: [51, 30] from Operation: 15*2=30
Current State: 81:[51, 30], Operations: ['73-71=2', '15*2=30']
Exploring Operation: 51+30=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[73, 51, 15, 71], Operations: []
Exploring Operation: 51-15=36, Resulting Numbers: [73, 71, 36]
Generated Node #0,0: 81:[73, 71, 36] Operation: 51-15=36
Exploring Operation: 71-51=20, Resulting Numbers: [73, 15, 20]
Generated Node #0,1: 81:[73, 15, 20] Operation: 71-51=20
Exploring Operation: 73-71=2, Resulting Numbers: [51, 15, 2]
Generated Node #0,2: 81:[51, 15, 2] Operation: 73-71=2
Exploring Operation: 73-51=22, Resulting Numbers: [15, 71, 22]
Generated Node #0,3: 81:[15, 71, 22] Operation: 73-51=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[73, 15, 20], Operations: ['71-51=20']
Exploring Operation: 15+20=35, Resulting Numbers: [73, 35]
Generated Node #0,1,0: 81:[73, 35] Operation: 15+20=35
Exploring Operation: 73+20=93, Resulting Numbers: [15, 93]
Generated Node #0,1,1: 81:[15, 93] Operation: 73+20=93
Exploring Operation: 20-15=5, Resulting Numbers: [73, 5]
Generated Node #0,1,2: 81:[73, 5] Operation: 20-15=5
Exploring Operation: 73+15=88, Resulting Numbers: [20, 88]
Generated Node #0,1,3: 81:[20, 88] Operation: 73+15=88
Moving to Node #0,1,2
Current State: 81:[73, 5], Operations: ['71-51=20', '20-15=5']
Exploring Operation: 73*5=365, Resulting Numbers: [365]
365,81 unequal: No Solution
Exploring Operation: 73+5=78, Resulting Numbers: [78]
78,81 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[20, 88], Operations: ['71-51=20', '73+15=88']
Exploring Operation: 88-20=68, Resulting Numbers: [68]
68,81 unequal: No Solution
Exploring Operation: 20*88=1760, Resulting Numbers: [1760]
1760,81 unequal: No Solution
Exploring Operation: 20+88=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[73, 35], Operations: ['71-51=20', '15+20=35']
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 73*35=2555, Resulting Numbers: [2555]
2555,81 unequal: No Solution
Exploring Operation: 73+35=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[15, 93], Operations: ['71-51=20', '73+20=93']
Exploring Operation: 15*93=1395, Resulting Numbers: [1395]
1395,81 unequal: No Solution
Exploring Operation: 15+93=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,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,3
Current State: 81:[15, 71, 22], Operations: ['73-51=22']
Exploring Operation: 15+22=37, Resulting Numbers: [71, 37]
Generated Node #0,3,0: 81:[71, 37] Operation: 15+22=37
Exploring Operation: 71+22=93, Resulting Numbers: [15, 93]
Generated Node #0,3,1: 81:[15, 93] Operation: 71+22=93
Exploring Operation: 15+71=86, Resulting Numbers: [22, 86]
Generated Node #0,3,2: 81:[22, 86] Operation: 15+71=86
Exploring Operation: 22-15=7, Resulting Numbers: [71, 7]
Generated Node #0,3,3: 81:[71, 7] Operation: 22-15=7
Moving to Node #0,3,2
Current State: 81:[22, 86], Operations: ['73-51=22', '15+71=86']
Exploring Operation: 22+86=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Exploring Operation: 22*86=1892, Resulting Numbers: [1892]
1892,81 unequal: No Solution
Exploring Operation: 86-22=64, Resulting Numbers: [64]
64,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[71, 7], Operations: ['73-51=22', '22-15=7']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,81 unequal: No Solution
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,81 unequal: No Solution
Exploring Operation: 71*7=497, Resulting Numbers: [497]
497,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[15, 93], Operations: ['73-51=22', '71+22=93']
Exploring Operation: 15+93=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,81 unequal: No Solution
Exploring Operation: 15*93=1395, Resulting Numbers: [1395]
1395,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[71, 37], Operations: ['73-51=22', '15+22=37']
Exploring Operation: 71-37=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Exploring Operation: 71*37=2627, Resulting Numbers: [2627]
2627,81 unequal: No Solution
Exploring Operation: 71+37=108, Resulting Numbers: [108]
108,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:[73, 71, 36], Operations: ['51-15=36']
Exploring Operation: 73-71=2, Resulting Numbers: [36, 2]
Generated Node #0,0,0: 81:[36, 2] Operation: 73-71=2
Exploring Operation: 73-36=37, Resulting Numbers: [71, 37]
Generated Node #0,0,1: 81:[71, 37] Operation: 73-36=37
Exploring Operation: 71-36=35, Resulting Numbers: [73, 35]
Generated Node #0,0,2: 81:[73, 35] Operation: 71-36=35
Exploring Operation: 71+36=107, Resulting Numbers: [73, 107]
Generated Node #0,0,3: 81:[73, 107] Operation: 71+36=107
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[36, 2], Operations: ['51-15=36', '73-71=2']
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 81:[73, 35], Operations: ['51-15=36', '71-36=35']
Exploring Operation: 73*35=2555, Resulting Numbers: [2555]
2555,81 unequal: No Solution
Exploring Operation: 73+35=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[71, 37], Operations: ['51-15=36', '73-36=37']
Exploring Operation: 71-37=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Exploring Operation: 71*37=2627, Resulting Numbers: [2627]
2627,81 unequal: No Solution
Exploring Operation: 71+37=108, Resulting Numbers: [108]
108,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 81:[73, 107], Operations: ['51-15=36', '71+36=107']
Exploring Operation: 73*107=7811, Resulting Numbers: [7811]
7811,81 unequal: No Solution
Exploring Operation: 107-73=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Exploring Operation: 73+107=180, Resulting Numbers: [180]
180,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[51, 15, 2], Operations: ['73-71=2']
Exploring Operation: 15*2=30, Resulting Numbers: [51, 30]
Generated Node #0,2,0: 81:[51, 30] Operation: 15*2=30
Exploring Operation: 51*2=102, Resulting Numbers: [15, 102]
Generated Node #0,2,1: 81:[15, 102] Operation: 51*2=102
Exploring Operation: 51+15=66, Resulting Numbers: [2, 66]
Generated Node #0,2,2: 81:[2, 66] Operation: 51+15=66
Exploring Operation: 51-15=36, Resulting Numbers: [2, 36]
Generated Node #0,2,3: 81:[2, 36] Operation: 51-15=36
Moving to Node #0,2,3
Current State: 81:[2, 36], Operations: ['73-71=2', '51-15=36']
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[2, 66], Operations: ['73-71=2', '51+15=66']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,81 unequal: No Solution
Exploring Operation: 2*66=132, Resulting Numbers: [132]
132,81 unequal: No Solution
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,81 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[15, 102], Operations: ['73-71=2', '51*2=102']
Exploring Operation: 15*102=1530, Resulting Numbers: [1530]
1530,81 unequal: No Solution
Exploring Operation: 102-15=87, Resulting Numbers: [87]
87,81 unequal: No Solution
Exploring Operation: 15+102=117, Resulting Numbers: [117]
117,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[51, 30], Operations: ['73-71=2', '15*2=30']
Exploring Operation: 51*30=1530, Resulting Numbers: [1530]
1530,81 unequal: No Solution
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Exploring Operation: 51+30=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[73, 51, 15, 71], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [51, 15, 2]
Generated Node #0,2: 81:[51, 15, 2] Operation: 73-71=2
Moving to Node #0,2
Current State: 81:[51, 15, 2], Operations: ['73-71=2']
Exploring Operation: 15*2=30, Resulting Numbers: [51, 30]
Generated Node #0,2,0: 81:[51, 30] Operation: 15*2=30
Moving to Node #0,2,0
Current State: 81:[51, 30], Operations: ['73-71=2', '15*2=30']
Exploring Operation: 51+30=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.934896 | hs_4 | sum_heuristic |
[
86,
70,
78,
18
] | 74 | [
"86-78=8",
"18*8=144",
"144-70=74"
] | Current State: 74:[86, 70, 78, 18], Operations: []
Exploring Operation: 86-78=8, Resulting Numbers: [70, 18, 8]
Generated Node #2: [70, 18, 8] from Operation: 86-78=8
Current State: 74:[70, 18, 8], Operations: ['86-78=8']
Exploring Operation: 18*8=144, Resulting Numbers: [70, 144]
Generated Node #3: [70, 144] from Operation: 18*8=144
Current State: 74:[70, 144], Operations: ['86-78=8', '18*8=144']
Exploring Operation: 144-70=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[86, 70, 78, 18], Operations: []
Exploring Operation: 86-18=68, Resulting Numbers: [70, 78, 68]
Generated Node #0,0: 74:[70, 78, 68] Operation: 86-18=68
Exploring Operation: 86-78=8, Resulting Numbers: [70, 18, 8]
Generated Node #0,1: 74:[70, 18, 8] Operation: 86-78=8
Exploring Operation: 70+18=88, Resulting Numbers: [86, 78, 88]
Generated Node #0,2: 74:[86, 78, 88] Operation: 70+18=88
Exploring Operation: 78-18=60, Resulting Numbers: [86, 70, 60]
Generated Node #0,3: 74:[86, 70, 60] Operation: 78-18=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[70, 78, 68], Operations: ['86-18=68']
Exploring Operation: 70-68=2, Resulting Numbers: [78, 2]
Generated Node #0,0,0: 74:[78, 2] Operation: 70-68=2
Exploring Operation: 78-68=10, Resulting Numbers: [70, 10]
Generated Node #0,0,1: 74:[70, 10] Operation: 78-68=10
Exploring Operation: 78-70=8, Resulting Numbers: [68, 8]
Generated Node #0,0,2: 74:[68, 8] Operation: 78-70=8
Exploring Operation: 70+68=138, Resulting Numbers: [78, 138]
Generated Node #0,0,3: 74:[78, 138] Operation: 70+68=138
Moving to Node #0,0,0
Current State: 74:[78, 2], Operations: ['86-18=68', '70-68=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,74 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[68, 8], Operations: ['86-18=68', '78-70=8']
Exploring Operation: 68*8=544, Resulting Numbers: [544]
544,74 unequal: No Solution
Exploring Operation: 68+8=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 68-8=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[70, 10], Operations: ['86-18=68', '78-68=10']
Exploring Operation: 70+10=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 70*10=700, Resulting Numbers: [700]
700,74 unequal: No Solution
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[78, 138], Operations: ['86-18=68', '70+68=138']
Exploring Operation: 78*138=10764, Resulting Numbers: [10764]
10764,74 unequal: No Solution
Exploring Operation: 138-78=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 78+138=216, Resulting Numbers: [216]
216,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[70, 18, 8], Operations: ['86-78=8']
Exploring Operation: 18+8=26, Resulting Numbers: [70, 26]
Generated Node #0,1,0: 74:[70, 26] Operation: 18+8=26
Exploring Operation: 70+8=78, Resulting Numbers: [18, 78]
Generated Node #0,1,1: 74:[18, 78] Operation: 70+8=78
Exploring Operation: 18-8=10, Resulting Numbers: [70, 10]
Generated Node #0,1,2: 74:[70, 10] Operation: 18-8=10
Exploring Operation: 70+18=88, Resulting Numbers: [8, 88]
Generated Node #0,1,3: 74:[8, 88] Operation: 70+18=88
Moving to Node #0,1,2
Current State: 74:[70, 10], Operations: ['86-78=8', '18-8=10']
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 70+10=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 70*10=700, Resulting Numbers: [700]
700,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[70, 26], Operations: ['86-78=8', '18+8=26']
Exploring Operation: 70*26=1820, Resulting Numbers: [1820]
1820,74 unequal: No Solution
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 70+26=96, Resulting Numbers: [96]
96,74 unequal: No Solution
Moving to Node #0,1,3
Current State: 74:[8, 88], Operations: ['86-78=8', '70+18=88']
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 8+88=96, Resulting Numbers: [96]
96,74 unequal: No Solution
Exploring Operation: 8*88=704, Resulting Numbers: [704]
704,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[18, 78], Operations: ['86-78=8', '70+8=78']
Exploring Operation: 18+78=96, Resulting Numbers: [96]
96,74 unequal: No Solution
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 18*78=1404, Resulting Numbers: [1404]
1404,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[86, 78, 88], Operations: ['70+18=88']
Exploring Operation: 86+78=164, Resulting Numbers: [88, 164]
Generated Node #0,2,0: 74:[88, 164] Operation: 86+78=164
Exploring Operation: 86-78=8, Resulting Numbers: [88, 8]
Generated Node #0,2,1: 74:[88, 8] Operation: 86-78=8
Exploring Operation: 88-78=10, Resulting Numbers: [86, 10]
Generated Node #0,2,2: 74:[86, 10] Operation: 88-78=10
Exploring Operation: 88-86=2, Resulting Numbers: [78, 2]
Generated Node #0,2,3: 74:[78, 2] Operation: 88-86=2
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 74:[78, 2], Operations: ['70+18=88', '88-86=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,74 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,74 unequal: No Solution
No 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: 74:[88, 8], Operations: ['70+18=88', '86-78=8']
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,74 unequal: No Solution
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,74 unequal: No Solution
No 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: 74:[86, 10], Operations: ['70+18=88', '88-78=10']
Exploring Operation: 86*10=860, Resulting Numbers: [860]
860,74 unequal: No Solution
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 86+10=96, Resulting Numbers: [96]
96,74 unequal: No Solution
No 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: 74:[88, 164], Operations: ['70+18=88', '86+78=164']
Exploring Operation: 88+164=252, Resulting Numbers: [252]
252,74 unequal: No Solution
Exploring Operation: 164-88=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 88*164=14432, Resulting Numbers: [14432]
14432,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
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[86, 70, 60], Operations: ['78-18=60']
Exploring Operation: 86-70=16, Resulting Numbers: [60, 16]
Generated Node #0,3,0: 74:[60, 16] Operation: 86-70=16
Exploring Operation: 86-60=26, Resulting Numbers: [70, 26]
Generated Node #0,3,1: 74:[70, 26] Operation: 86-60=26
Exploring Operation: 70-60=10, Resulting Numbers: [86, 10]
Generated Node #0,3,2: 74:[86, 10] Operation: 70-60=10
Exploring Operation: 70+60=130, Resulting Numbers: [86, 130]
Generated Node #0,3,3: 74:[86, 130] Operation: 70+60=130
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 74:[70, 26], Operations: ['78-18=60', '86-60=26']
Exploring Operation: 70+26=96, Resulting Numbers: [96]
96,74 unequal: No Solution
Exploring Operation: 70*26=1820, Resulting Numbers: [1820]
1820,74 unequal: No Solution
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,74 unequal: No Solution
No 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: 74:[86, 10], Operations: ['78-18=60', '70-60=10']
Exploring Operation: 86+10=96, Resulting Numbers: [96]
96,74 unequal: No Solution
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 86*10=860, Resulting Numbers: [860]
860,74 unequal: No Solution
No 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: 74:[60, 16], Operations: ['78-18=60', '86-70=16']
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 60*16=960, Resulting Numbers: [960]
960,74 unequal: No Solution
Exploring Operation: 60+16=76, Resulting Numbers: [76]
76,74 unequal: No Solution
No 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: 74:[86, 130], Operations: ['78-18=60', '70+60=130']
Exploring Operation: 86*130=11180, Resulting Numbers: [11180]
11180,74 unequal: No Solution
Exploring Operation: 86+130=216, Resulting Numbers: [216]
216,74 unequal: No Solution
Exploring Operation: 130-86=44, Resulting Numbers: [44]
44,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_4 | sum_heuristic |
[
3,
1,
89,
75
] | 41 | [
"3+1=4",
"89+75=164",
"164/4=41"
] | Current State: 41:[3, 1, 89, 75], Operations: []
Exploring Operation: 3+1=4, Resulting Numbers: [89, 75, 4]
Generated Node #2: [89, 75, 4] from Operation: 3+1=4
Current State: 41:[89, 75, 4], Operations: ['3+1=4']
Exploring Operation: 89+75=164, Resulting Numbers: [4, 164]
Generated Node #3: [4, 164] from Operation: 89+75=164
Current State: 41:[4, 164], Operations: ['3+1=4', '89+75=164']
Exploring Operation: 164/4=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[3, 1, 89, 75], Operations: []
Exploring Operation: 89-75=14, Resulting Numbers: [3, 1, 14]
Generated Node #0,0: 41:[3, 1, 14] Operation: 89-75=14
Exploring Operation: 89-3=86, Resulting Numbers: [1, 75, 86]
Generated Node #0,1: 41:[1, 75, 86] Operation: 89-3=86
Exploring Operation: 3+1=4, Resulting Numbers: [89, 75, 4]
Generated Node #0,2: 41:[89, 75, 4] Operation: 3+1=4
Exploring Operation: 75/3=25, Resulting Numbers: [1, 89, 25]
Generated Node #0,3: 41:[1, 89, 25] Operation: 75/3=25
Exploring Operation: 75-3=72, Resulting Numbers: [1, 89, 72]
Generated Node #0,4: 41:[1, 89, 72] Operation: 75-3=72
Start Sub Search at level 1: Moving to Node #0,3
Current State: 41:[1, 89, 25], Operations: ['75/3=25']
Exploring Operation: 89-1=88, Resulting Numbers: [25, 88]
Generated Node #0,3,0: 41:[25, 88] Operation: 89-1=88
Exploring Operation: 1+25=26, Resulting Numbers: [89, 26]
Generated Node #0,3,1: 41:[89, 26] Operation: 1+25=26
Exploring Operation: 1*89=89, Resulting Numbers: [25, 89]
Generated Node #0,3,2: 41:[25, 89] Operation: 1*89=89
Exploring Operation: 89-25=64, Resulting Numbers: [1, 64]
Generated Node #0,3,3: 41:[1, 64] Operation: 89-25=64
Exploring Operation: 89/1=89, Resulting Numbers: [25, 89]
Generated Node #0,3,4: 41:[25, 89] Operation: 89/1=89
Moving to Node #0,3,0
Current State: 41:[25, 88], Operations: ['75/3=25', '89-1=88']
Exploring Operation: 25*88=2200, Resulting Numbers: [2200]
2200,41 unequal: No Solution
Exploring Operation: 25+88=113, Resulting Numbers: [113]
113,41 unequal: No Solution
Exploring Operation: 88-25=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Moving to Node #0,3,3
Current State: 41:[1, 64], Operations: ['75/3=25', '89-25=64']
Exploring Operation: 1+64=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 1*64=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Moving to Node #0,3,1
Current State: 41:[89, 26], Operations: ['75/3=25', '1+25=26']
Exploring Operation: 89-26=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Exploring Operation: 89*26=2314, Resulting Numbers: [2314]
2314,41 unequal: No Solution
Exploring Operation: 89+26=115, Resulting Numbers: [115]
115,41 unequal: No Solution
Moving to Node #0,3,2
Current State: 41:[25, 89], Operations: ['75/3=25', '1*89=89']
Exploring Operation: 25*89=2225, Resulting Numbers: [2225]
2225,41 unequal: No Solution
Exploring Operation: 89-25=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 25+89=114, Resulting Numbers: [114]
114,41 unequal: No Solution
Moving to Node #0,3,4
Current State: 41:[25, 89], Operations: ['75/3=25', '89/1=89']
Exploring Operation: 25*89=2225, Resulting Numbers: [2225]
2225,41 unequal: No Solution
Exploring Operation: 89-25=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 25+89=114, Resulting Numbers: [114]
114,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
Current State: 41:[3, 1, 14], Operations: ['89-75=14']
Exploring Operation: 3+1=4, Resulting Numbers: [14, 4]
Generated Node #0,0,0: 41:[14, 4] Operation: 3+1=4
Exploring Operation: 3*1=3, Resulting Numbers: [14, 3]
Generated Node #0,0,1: 41:[14, 3] Operation: 3*1=3
Exploring Operation: 1+14=15, Resulting Numbers: [3, 15]
Generated Node #0,0,2: 41:[3, 15] Operation: 1+14=15
Exploring Operation: 3*14=42, Resulting Numbers: [1, 42]
Generated Node #0,0,3: 41:[1, 42] Operation: 3*14=42
Exploring Operation: 3+14=17, Resulting Numbers: [1, 17]
Generated Node #0,0,4: 41:[1, 17] Operation: 3+14=17
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 41:[1, 42], Operations: ['89-75=14', '3*14=42']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[3, 1, 89, 75], Operations: []
Exploring Operation: 89-75=14, Resulting Numbers: [3, 1, 14]
Generated Node #0,0: 41:[3, 1, 14] Operation: 89-75=14
Moving to Node #0,0
Current State: 41:[3, 1, 14], Operations: ['89-75=14']
Exploring Operation: 3*14=42, Resulting Numbers: [1, 42]
Generated Node #0,0,3: 41:[1, 42] Operation: 3*14=42
Moving to Node #0,0,3
Current State: 41:[1, 42], Operations: ['89-75=14', '3*14=42']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
94,
2,
45,
86
] | 82 | [
"94-86=8",
"2*45=90",
"90-8=82"
] | Current State: 82:[94, 2, 45, 86], Operations: []
Exploring Operation: 94-86=8, Resulting Numbers: [2, 45, 8]
Generated Node #2: [2, 45, 8] from Operation: 94-86=8
Current State: 82:[2, 45, 8], Operations: ['94-86=8']
Exploring Operation: 2*45=90, Resulting Numbers: [8, 90]
Generated Node #3: [8, 90] from Operation: 2*45=90
Current State: 82:[8, 90], Operations: ['94-86=8', '2*45=90']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[94, 2, 45, 86], Operations: []
Exploring Operation: 94-86=8, Resulting Numbers: [2, 45, 8]
Generated Node #0,0: 82:[2, 45, 8] Operation: 94-86=8
Exploring Operation: 86-45=41, Resulting Numbers: [94, 2, 41]
Generated Node #0,1: 82:[94, 2, 41] Operation: 86-45=41
Exploring Operation: 94-45=49, Resulting Numbers: [2, 86, 49]
Generated Node #0,2: 82:[2, 86, 49] Operation: 94-45=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[2, 45, 8], Operations: ['94-86=8']
Exploring Operation: 45-8=37, Resulting Numbers: [2, 37]
Generated Node #0,0,0: 82:[2, 37] Operation: 45-8=37
Exploring Operation: 8/2=4, Resulting Numbers: [45, 4]
Generated Node #0,0,1: 82:[45, 4] Operation: 8/2=4
Exploring Operation: 45-2=43, Resulting Numbers: [8, 43]
Generated Node #0,0,2: 82:[8, 43] Operation: 45-2=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[2, 37], Operations: ['94-86=8', '45-8=37']
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,82 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[45, 4], Operations: ['94-86=8', '8/2=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[8, 43], Operations: ['94-86=8', '45-2=43']
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,82 unequal: No Solution
Exploring Operation: 8*43=344, Resulting Numbers: [344]
344,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[94, 2, 41], Operations: ['86-45=41']
Exploring Operation: 94-2=92, Resulting Numbers: [41, 92]
Generated Node #0,1,0: 82:[41, 92] Operation: 94-2=92
Exploring Operation: 94-41=53, Resulting Numbers: [2, 53]
Generated Node #0,1,1: 82:[2, 53] Operation: 94-41=53
Exploring Operation: 94/2=47, Resulting Numbers: [41, 47]
Generated Node #0,1,2: 82:[41, 47] Operation: 94/2=47
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 82:[41, 47], Operations: ['86-45=41', '94/2=47']
Exploring Operation: 41*47=1927, Resulting Numbers: [1927]
1927,82 unequal: No Solution
Exploring Operation: 41+47=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 47-41=6, Resulting Numbers: [6]
6,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[41, 92], Operations: ['86-45=41', '94-2=92']
Exploring Operation: 41*92=3772, Resulting Numbers: [3772]
3772,82 unequal: No Solution
Exploring Operation: 41+92=133, Resulting Numbers: [133]
133,82 unequal: No Solution
Exploring Operation: 92-41=51, Resulting Numbers: [51]
51,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[2, 53], Operations: ['86-45=41', '94-41=53']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,82 unequal: No Solution
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,82 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[2, 86, 49], Operations: ['94-45=49']
Exploring Operation: 86-49=37, Resulting Numbers: [2, 37]
Generated Node #0,2,0: 82:[2, 37] Operation: 86-49=37
Exploring Operation: 86-2=84, Resulting Numbers: [49, 84]
Generated Node #0,2,1: 82:[49, 84] Operation: 86-2=84
Exploring Operation: 86/2=43, Resulting Numbers: [49, 43]
Generated Node #0,2,2: 82:[49, 43] Operation: 86/2=43
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[2, 37], Operations: ['94-45=49', '86-49=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 82:[49, 84], Operations: ['94-45=49', '86-2=84']
Exploring Operation: 49+84=133, Resulting Numbers: [133]
133,82 unequal: No Solution
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Exploring Operation: 49*84=4116, Resulting Numbers: [4116]
4116,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 82:[49, 43], Operations: ['94-45=49', '86/2=43']
Exploring Operation: 49*43=2107, Resulting Numbers: [2107]
2107,82 unequal: No Solution
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,82 unequal: No Solution
Exploring Operation: 49+43=92, Resulting Numbers: [92]
92,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
30,
25,
43,
50
] | 11 | [
"43-30=13",
"50/25=2",
"13-2=11"
] | Current State: 11:[30, 25, 43, 50], Operations: []
Exploring Operation: 43-30=13, Resulting Numbers: [25, 50, 13]
Generated Node #2: [25, 50, 13] from Operation: 43-30=13
Current State: 11:[25, 50, 13], Operations: ['43-30=13']
Exploring Operation: 50/25=2, Resulting Numbers: [13, 2]
Generated Node #3: [13, 2] from Operation: 50/25=2
Current State: 11:[13, 2], Operations: ['43-30=13', '50/25=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[30, 25, 43, 50], Operations: []
Exploring Operation: 50-43=7, Resulting Numbers: [30, 25, 7]
Generated Node #0,0: 11:[30, 25, 7] Operation: 50-43=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[30, 25, 7], Operations: ['50-43=7']
Exploring Operation: 30-25=5, Resulting Numbers: [7, 5]
Generated Node #0,0,0: 11:[7, 5] Operation: 30-25=5
Moving to Node #0,0,0
Current State: 11:[7, 5], Operations: ['50-43=7', '30-25=5']
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
43,
12,
92,
95
] | 52 | [
"43+12=55",
"95-92=3",
"55-3=52"
] | Current State: 52:[43, 12, 92, 95], Operations: []
Exploring Operation: 43+12=55, Resulting Numbers: [92, 95, 55]
Generated Node #2: [92, 95, 55] from Operation: 43+12=55
Current State: 52:[92, 95, 55], Operations: ['43+12=55']
Exploring Operation: 95-92=3, Resulting Numbers: [55, 3]
Generated Node #3: [55, 3] from Operation: 95-92=3
Current State: 52:[55, 3], Operations: ['43+12=55', '95-92=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[43, 12, 92, 95], Operations: []
Exploring Operation: 95-92=3, Resulting Numbers: [43, 12, 3]
Generated Node #0,0: 52:[43, 12, 3] Operation: 95-92=3
Exploring Operation: 95-43=52, Resulting Numbers: [12, 92, 52]
Generated Node #0,1: 52:[12, 92, 52] Operation: 95-43=52
Exploring Operation: 92-43=49, Resulting Numbers: [12, 95, 49]
Generated Node #0,2: 52:[12, 95, 49] Operation: 92-43=49
Exploring Operation: 92-12=80, Resulting Numbers: [43, 95, 80]
Generated Node #0,3: 52:[43, 95, 80] Operation: 92-12=80
Moving to Node #0,0
Current State: 52:[43, 12, 3], Operations: ['95-92=3']
Exploring Operation: 43+12=55, Resulting Numbers: [3, 55]
Generated Node #0,0,0: 52:[3, 55] Operation: 43+12=55
Exploring Operation: 43-12=31, Resulting Numbers: [3, 31]
Generated Node #0,0,1: 52:[3, 31] Operation: 43-12=31
Exploring Operation: 12/3=4, Resulting Numbers: [43, 4]
Generated Node #0,0,2: 52:[43, 4] Operation: 12/3=4
Exploring Operation: 43+3=46, Resulting Numbers: [12, 46]
Generated Node #0,0,3: 52:[12, 46] Operation: 43+3=46
Moving to Node #0,1
Current State: 52:[12, 92, 52], Operations: ['95-43=52']
Exploring Operation: 92-12=80, Resulting Numbers: [52, 80]
Generated Node #0,1,0: 52:[52, 80] Operation: 92-12=80
Exploring Operation: 12+92=104, Resulting Numbers: [52, 104]
Generated Node #0,1,1: 52:[52, 104] Operation: 12+92=104
Exploring Operation: 92-52=40, Resulting Numbers: [12, 40]
Generated Node #0,1,2: 52:[12, 40] Operation: 92-52=40
Exploring Operation: 12+52=64, Resulting Numbers: [92, 64]
Generated Node #0,1,3: 52:[92, 64] Operation: 12+52=64
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 52:[12, 40], Operations: ['95-43=52', '92-52=40']
Exploring Operation: 12*40=480, Resulting Numbers: [480]
480,52 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[43, 12, 92, 95], Operations: []
Exploring Operation: 95-43=52, Resulting Numbers: [12, 92, 52]
Generated Node #0,1: 52:[12, 92, 52] Operation: 95-43=52
Moving to Node #0,1
Current State: 52:[12, 92, 52], Operations: ['95-43=52']
Exploring Operation: 92-52=40, Resulting Numbers: [12, 40]
Generated Node #0,1,2: 52:[12, 40] Operation: 92-52=40
Moving to Node #0,1,2
Current State: 52:[12, 40], Operations: ['95-43=52', '92-52=40']
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
65,
16,
38,
40
] | 64 | [
"65*16=1040",
"1040/40=26",
"38+26=64"
] | Current State: 64:[65, 16, 38, 40], Operations: []
Exploring Operation: 65*16=1040, Resulting Numbers: [38, 40, 1040]
Generated Node #2: [38, 40, 1040] from Operation: 65*16=1040
Current State: 64:[38, 40, 1040], Operations: ['65*16=1040']
Exploring Operation: 1040/40=26, Resulting Numbers: [38, 26]
Generated Node #3: [38, 26] from Operation: 1040/40=26
Current State: 64:[38, 26], Operations: ['65*16=1040', '1040/40=26']
Exploring Operation: 38+26=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[65, 16, 38, 40], Operations: []
Exploring Operation: 65-40=25, Resulting Numbers: [16, 38, 25]
Generated Node #0,0: 64:[16, 38, 25] Operation: 65-40=25
Exploring Operation: 40-38=2, Resulting Numbers: [65, 16, 2]
Generated Node #0,1: 64:[65, 16, 2] Operation: 40-38=2
Exploring Operation: 65-38=27, Resulting Numbers: [16, 40, 27]
Generated Node #0,2: 64:[16, 40, 27] Operation: 65-38=27
Exploring Operation: 38-16=22, Resulting Numbers: [65, 40, 22]
Generated Node #0,3: 64:[65, 40, 22] Operation: 38-16=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[65, 16, 2], Operations: ['40-38=2']
Exploring Operation: 16/2=8, Resulting Numbers: [65, 8]
Generated Node #0,1,0: 64:[65, 8] Operation: 16/2=8
Exploring Operation: 65+2=67, Resulting Numbers: [16, 67]
Generated Node #0,1,1: 64:[16, 67] Operation: 65+2=67
Exploring Operation: 65-2=63, Resulting Numbers: [16, 63]
Generated Node #0,1,2: 64:[16, 63] Operation: 65-2=63
Exploring Operation: 16*2=32, Resulting Numbers: [65, 32]
Generated Node #0,1,3: 64:[65, 32] Operation: 16*2=32
Moving to Node #0,1,0
Current State: 64:[65, 8], Operations: ['40-38=2', '16/2=8']
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,64 unequal: No Solution
Exploring Operation: 65*8=520, Resulting Numbers: [520]
520,64 unequal: No Solution
Exploring Operation: 65+8=73, Resulting Numbers: [73]
73,64 unequal: No Solution
Moving to Node #0,1,3
Current State: 64:[65, 32], Operations: ['40-38=2', '16*2=32']
Exploring Operation: 65*32=2080, Resulting Numbers: [2080]
2080,64 unequal: No Solution
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 65+32=97, Resulting Numbers: [97]
97,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[16, 63], Operations: ['40-38=2', '65-2=63']
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 16+63=79, Resulting Numbers: [79]
79,64 unequal: No Solution
Exploring Operation: 16*63=1008, Resulting Numbers: [1008]
1008,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[16, 67], Operations: ['40-38=2', '65+2=67']
Exploring Operation: 16*67=1072, Resulting Numbers: [1072]
1072,64 unequal: No Solution
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 16+67=83, Resulting Numbers: [83]
83,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[16, 38, 25], Operations: ['65-40=25']
Exploring Operation: 38+25=63, Resulting Numbers: [16, 63]
Generated Node #0,0,0: 64:[16, 63] Operation: 38+25=63
Exploring Operation: 38-25=13, Resulting Numbers: [16, 13]
Generated Node #0,0,1: 64:[16, 13] Operation: 38-25=13
Exploring Operation: 38-16=22, Resulting Numbers: [25, 22]
Generated Node #0,0,2: 64:[25, 22] Operation: 38-16=22
Exploring Operation: 25-16=9, Resulting Numbers: [38, 9]
Generated Node #0,0,3: 64:[38, 9] Operation: 25-16=9
Moving to Node #0,0,0
Current State: 64:[16, 63], Operations: ['65-40=25', '38+25=63']
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 16+63=79, Resulting Numbers: [79]
79,64 unequal: No Solution
Exploring Operation: 16*63=1008, Resulting Numbers: [1008]
1008,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[16, 13], Operations: ['65-40=25', '38-25=13']
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,64 unequal: No Solution
Moving to Node #0,0,3
Current State: 64:[38, 9], Operations: ['65-40=25', '25-16=9']
Exploring Operation: 38+9=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 38*9=342, Resulting Numbers: [342]
342,64 unequal: No Solution
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[25, 22], Operations: ['65-40=25', '38-16=22']
Exploring Operation: 25+22=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 25*22=550, Resulting Numbers: [550]
550,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[16, 40, 27], Operations: ['65-38=27']
Exploring Operation: 40-27=13, Resulting Numbers: [16, 13]
Generated Node #0,2,0: 64:[16, 13] Operation: 40-27=13
Exploring Operation: 27-16=11, Resulting Numbers: [40, 11]
Generated Node #0,2,1: 64:[40, 11] Operation: 27-16=11
Exploring Operation: 16+40=56, Resulting Numbers: [27, 56]
Generated Node #0,2,2: 64:[27, 56] Operation: 16+40=56
Exploring Operation: 40+27=67, Resulting Numbers: [16, 67]
Generated Node #0,2,3: 64:[16, 67] Operation: 40+27=67
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 64:[16, 13], Operations: ['65-38=27', '40-27=13']
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,64 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 64:[16, 67], Operations: ['65-38=27', '40+27=67']
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 16*67=1072, Resulting Numbers: [1072]
1072,64 unequal: No Solution
Exploring Operation: 16+67=83, Resulting Numbers: [83]
83,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 64:[40, 11], Operations: ['65-38=27', '27-16=11']
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,64 unequal: No Solution
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 64:[27, 56], Operations: ['65-38=27', '16+40=56']
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 27*56=1512, Resulting Numbers: [1512]
1512,64 unequal: No Solution
Exploring Operation: 27+56=83, Resulting Numbers: [83]
83,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[65, 40, 22], Operations: ['38-16=22']
Exploring Operation: 40-22=18, Resulting Numbers: [65, 18]
Generated Node #0,3,0: 64:[65, 18] Operation: 40-22=18
Exploring Operation: 40+22=62, Resulting Numbers: [65, 62]
Generated Node #0,3,1: 64:[65, 62] Operation: 40+22=62
Exploring Operation: 65-22=43, Resulting Numbers: [40, 43]
Generated Node #0,3,2: 64:[40, 43] Operation: 65-22=43
Exploring Operation: 65-40=25, Resulting Numbers: [22, 25]
Generated Node #0,3,3: 64:[22, 25] Operation: 65-40=25
Moving to Node #0,3,0
Current State: 64:[65, 18], Operations: ['38-16=22', '40-22=18']
Exploring Operation: 65*18=1170, Resulting Numbers: [1170]
1170,64 unequal: No Solution
Exploring Operation: 65+18=83, Resulting Numbers: [83]
83,64 unequal: No Solution
Exploring Operation: 65-18=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[65, 62], Operations: ['38-16=22', '40+22=62']
Exploring Operation: 65-62=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 65*62=4030, Resulting Numbers: [4030]
4030,64 unequal: No Solution
Exploring Operation: 65+62=127, Resulting Numbers: [127]
127,64 unequal: No Solution
Moving to Node #0,3,3
Current State: 64:[22, 25], Operations: ['38-16=22', '65-40=25']
Exploring Operation: 22+25=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 22*25=550, Resulting Numbers: [550]
550,64 unequal: No Solution
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[40, 43], Operations: ['38-16=22', '65-22=43']
Exploring Operation: 40+43=83, Resulting Numbers: [83]
83,64 unequal: No Solution
Exploring Operation: 40*43=1720, Resulting Numbers: [1720]
1720,64 unequal: No Solution
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,64 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 |
[
32,
24,
51,
66
] | 20 | [
"66-51=15",
"32*15=480",
"480/24=20"
] | Current State: 20:[32, 24, 51, 66], Operations: []
Exploring Operation: 66-51=15, Resulting Numbers: [32, 24, 15]
Generated Node #2: [32, 24, 15] from Operation: 66-51=15
Current State: 20:[32, 24, 15], Operations: ['66-51=15']
Exploring Operation: 32*15=480, Resulting Numbers: [24, 480]
Generated Node #3: [24, 480] from Operation: 32*15=480
Current State: 20:[24, 480], Operations: ['66-51=15', '32*15=480']
Exploring Operation: 480/24=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[32, 24, 51, 66], Operations: []
Exploring Operation: 66-32=34, Resulting Numbers: [24, 51, 34]
Generated Node #0,0: 20:[24, 51, 34] Operation: 66-32=34
Exploring Operation: 66-51=15, Resulting Numbers: [32, 24, 15]
Generated Node #0,1: 20:[32, 24, 15] Operation: 66-51=15
Exploring Operation: 66-24=42, Resulting Numbers: [32, 51, 42]
Generated Node #0,2: 20:[32, 51, 42] Operation: 66-24=42
Exploring Operation: 51-24=27, Resulting Numbers: [32, 66, 27]
Generated Node #0,3: 20:[32, 66, 27] Operation: 51-24=27
Exploring Operation: 51-32=19, Resulting Numbers: [24, 66, 19]
Generated Node #0,4: 20:[24, 66, 19] Operation: 51-32=19
Moving to Node #0,1
Current State: 20:[32, 24, 15], Operations: ['66-51=15']
Exploring Operation: 24-15=9, Resulting Numbers: [32, 9]
Generated Node #0,1,0: 20:[32, 9] Operation: 24-15=9
Exploring Operation: 32-15=17, Resulting Numbers: [24, 17]
Generated Node #0,1,1: 20:[24, 17] Operation: 32-15=17
Exploring Operation: 32-24=8, Resulting Numbers: [15, 8]
Generated Node #0,1,2: 20:[15, 8] Operation: 32-24=8
Exploring Operation: 32+15=47, Resulting Numbers: [24, 47]
Generated Node #0,1,3: 20:[24, 47] Operation: 32+15=47
Exploring Operation: 24+15=39, Resulting Numbers: [32, 39]
Generated Node #0,1,4: 20:[32, 39] Operation: 24+15=39
Moving to Node #0,0
Current State: 20:[24, 51, 34], Operations: ['66-32=34']
Exploring Operation: 51-34=17, Resulting Numbers: [24, 17]
Generated Node #0,0,0: 20:[24, 17] Operation: 51-34=17
Exploring Operation: 51-24=27, Resulting Numbers: [34, 27]
Generated Node #0,0,1: 20:[34, 27] Operation: 51-24=27
Exploring Operation: 24+51=75, Resulting Numbers: [34, 75]
Generated Node #0,0,2: 20:[34, 75] Operation: 24+51=75
Exploring Operation: 34-24=10, Resulting Numbers: [51, 10]
Generated Node #0,0,3: 20:[51, 10] Operation: 34-24=10
Exploring Operation: 24+34=58, Resulting Numbers: [51, 58]
Generated Node #0,0,4: 20:[51, 58] Operation: 24+34=58
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[24, 17], Operations: ['66-32=34', '51-34=17']
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,20 unequal: No Solution
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,20 unequal: No Solution
No 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: 20:[34, 27], Operations: ['66-32=34', '51-24=27']
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 34*27=918, Resulting Numbers: [918]
918,20 unequal: No Solution
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,20 unequal: No Solution
No 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: 20:[51, 10], Operations: ['66-32=34', '34-24=10']
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 51+10=61, Resulting Numbers: [61]
61,20 unequal: No Solution
Exploring Operation: 51*10=510, Resulting Numbers: [510]
510,20 unequal: No Solution
No 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: 20:[34, 75], Operations: ['66-32=34', '24+51=75']
Exploring Operation: 34*75=2550, Resulting Numbers: [2550]
2550,20 unequal: No Solution
Exploring Operation: 75-34=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 34+75=109, Resulting Numbers: [109]
109,20 unequal: No Solution
No 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: 20:[51, 58], Operations: ['66-32=34', '24+34=58']
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 51*58=2958, Resulting Numbers: [2958]
2958,20 unequal: No Solution
Exploring Operation: 51+58=109, Resulting Numbers: [109]
109,20 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: 20:[24, 66, 19], Operations: ['51-32=19']
Exploring Operation: 24-19=5, Resulting Numbers: [66, 5]
Generated Node #0,4,0: 20:[66, 5] Operation: 24-19=5
Exploring Operation: 66-19=47, Resulting Numbers: [24, 47]
Generated Node #0,4,1: 20:[24, 47] Operation: 66-19=47
Exploring Operation: 66+19=85, Resulting Numbers: [24, 85]
Generated Node #0,4,2: 20:[24, 85] Operation: 66+19=85
Exploring Operation: 24+19=43, Resulting Numbers: [66, 43]
Generated Node #0,4,3: 20:[66, 43] Operation: 24+19=43
Exploring Operation: 66-24=42, Resulting Numbers: [19, 42]
Generated Node #0,4,4: 20:[19, 42] Operation: 66-24=42
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 20:[19, 42], Operations: ['51-32=19', '66-24=42']
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 19*42=798, Resulting Numbers: [798]
798,20 unequal: No Solution
Exploring Operation: 19+42=61, Resulting Numbers: [61]
61,20 unequal: No Solution
No 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: 20:[24, 47], Operations: ['51-32=19', '66-19=47']
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 24+47=71, Resulting Numbers: [71]
71,20 unequal: No Solution
Exploring Operation: 24*47=1128, Resulting Numbers: [1128]
1128,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 20:[66, 5], Operations: ['51-32=19', '24-19=5']
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,20 unequal: No Solution
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,20 unequal: No Solution
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,20 unequal: No Solution
No 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: 20:[24, 85], Operations: ['51-32=19', '66+19=85']
Exploring Operation: 24+85=109, Resulting Numbers: [109]
109,20 unequal: No Solution
Exploring Operation: 24*85=2040, Resulting Numbers: [2040]
2040,20 unequal: No Solution
Exploring Operation: 85-24=61, Resulting Numbers: [61]
61,20 unequal: No Solution
No 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: 20:[66, 43], Operations: ['51-32=19', '24+19=43']
Exploring Operation: 66+43=109, Resulting Numbers: [109]
109,20 unequal: No Solution
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 66*43=2838, Resulting Numbers: [2838]
2838,20 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: 20:[32, 51, 42], Operations: ['66-24=42']
Exploring Operation: 42-32=10, Resulting Numbers: [51, 10]
Generated Node #0,2,0: 20:[51, 10] Operation: 42-32=10
Exploring Operation: 51-32=19, Resulting Numbers: [42, 19]
Generated Node #0,2,1: 20:[42, 19] Operation: 51-32=19
Exploring Operation: 32+42=74, Resulting Numbers: [51, 74]
Generated Node #0,2,2: 20:[51, 74] Operation: 32+42=74
Exploring Operation: 51-42=9, Resulting Numbers: [32, 9]
Generated Node #0,2,3: 20:[32, 9] Operation: 51-42=9
Exploring Operation: 32+51=83, Resulting Numbers: [42, 83]
Generated Node #0,2,4: 20:[42, 83] Operation: 32+51=83
Moving to Node #0,3
Current State: 20:[32, 66, 27], Operations: ['51-24=27']
Exploring Operation: 66-27=39, Resulting Numbers: [32, 39]
Generated Node #0,3,0: 20:[32, 39] Operation: 66-27=39
Exploring Operation: 32+27=59, Resulting Numbers: [66, 59]
Generated Node #0,3,1: 20:[66, 59] Operation: 32+27=59
Exploring Operation: 32-27=5, Resulting Numbers: [66, 5]
Generated Node #0,3,2: 20:[66, 5] Operation: 32-27=5
Exploring Operation: 66-32=34, Resulting Numbers: [27, 34]
Generated Node #0,3,3: 20:[27, 34] Operation: 66-32=34
Exploring Operation: 32+66=98, Resulting Numbers: [27, 98]
Generated Node #0,3,4: 20:[27, 98] Operation: 32+66=98
Moving to Node #0,1,1
Current State: 20:[24, 17], Operations: ['66-51=15', '32-15=17']
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,20 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[15, 8], Operations: ['66-51=15', '32-24=8']
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[32, 9], Operations: ['66-51=15', '24-15=9']
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,20 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[32, 9], Operations: ['66-24=42', '51-42=9']
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[27, 34], Operations: ['51-24=27', '66-32=34']
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,20 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[42, 19], Operations: ['66-24=42', '51-32=19']
Exploring Operation: 42+19=61, Resulting Numbers: [61]
61,20 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 42*19=798, Resulting Numbers: [798]
798,20 unequal: No Solution
Moving to Node #0,3,0
Current State: 20:[32, 39], Operations: ['51-24=27', '66-27=39']
Exploring Operation: 32+39=71, Resulting Numbers: [71]
71,20 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 32*39=1248, Resulting Numbers: [1248]
1248,20 unequal: No Solution
Moving to Node #0,1,4
Current State: 20:[32, 39], Operations: ['66-51=15', '24+15=39']
Exploring Operation: 32+39=71, Resulting Numbers: [71]
71,20 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 32*39=1248, Resulting Numbers: [1248]
1248,20 unequal: No Solution
Moving to Node #0,1,3
Current State: 20:[24, 47], Operations: ['66-51=15', '32+15=47']
Exploring Operation: 24*47=1128, Resulting Numbers: [1128]
1128,20 unequal: No Solution
Exploring Operation: 24+47=71, Resulting Numbers: [71]
71,20 unequal: No Solution
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[51, 10], Operations: ['66-24=42', '42-32=10']
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 51+10=61, Resulting Numbers: [61]
61,20 unequal: No Solution
Exploring Operation: 51*10=510, Resulting Numbers: [510]
510,20 unequal: No Solution
Moving to Node #0,3,2
Current State: 20:[66, 5], Operations: ['51-24=27', '32-27=5']
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,20 unequal: No Solution
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,20 unequal: No Solution
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,20 unequal: No Solution
Moving to Node #0,3,1
Current State: 20:[66, 59], Operations: ['51-24=27', '32+27=59']
Exploring Operation: 66+59=125, Resulting Numbers: [125]
125,20 unequal: No Solution
Exploring Operation: 66*59=3894, Resulting Numbers: [3894]
3894,20 unequal: No Solution
Exploring Operation: 66-59=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Moving to Node #0,2,4
Current State: 20:[42, 83], Operations: ['66-24=42', '32+51=83']
Exploring Operation: 42+83=125, Resulting Numbers: [125]
125,20 unequal: No Solution
Exploring Operation: 42*83=3486, Resulting Numbers: [3486]
3486,20 unequal: No Solution
Exploring Operation: 83-42=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Moving to Node #0,3,4
Current State: 20:[27, 98], Operations: ['51-24=27', '32+66=98']
Exploring Operation: 98-27=71, Resulting Numbers: [71]
71,20 unequal: No Solution
Exploring Operation: 27+98=125, Resulting Numbers: [125]
125,20 unequal: No Solution
Exploring Operation: 27*98=2646, Resulting Numbers: [2646]
2646,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[51, 74], Operations: ['66-24=42', '32+42=74']
Exploring Operation: 51+74=125, Resulting Numbers: [125]
125,20 unequal: No Solution
Exploring Operation: 74-51=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 51*74=3774, Resulting Numbers: [3774]
3774,20 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
15,
11,
16,
89
] | 100 | [
"16-15=1",
"11+89=100",
"1*100=100"
] | Current State: 100:[15, 11, 16, 89], Operations: []
Exploring Operation: 16-15=1, Resulting Numbers: [11, 89, 1]
Generated Node #2: [11, 89, 1] from Operation: 16-15=1
Current State: 100:[11, 89, 1], Operations: ['16-15=1']
Exploring Operation: 11+89=100, Resulting Numbers: [1, 100]
Generated Node #3: [1, 100] from Operation: 11+89=100
Current State: 100:[1, 100], Operations: ['16-15=1', '11+89=100']
Exploring Operation: 1*100=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[15, 11, 16, 89], Operations: []
Exploring Operation: 16+89=105, Resulting Numbers: [15, 11, 105]
Generated Node #0,0: 100:[15, 11, 105] Operation: 16+89=105
Exploring Operation: 16-15=1, Resulting Numbers: [11, 89, 1]
Generated Node #0,1: 100:[11, 89, 1] Operation: 16-15=1
Exploring Operation: 11+89=100, Resulting Numbers: [15, 16, 100]
Generated Node #0,2: 100:[15, 16, 100] Operation: 11+89=100
Exploring Operation: 15+89=104, Resulting Numbers: [11, 16, 104]
Generated Node #0,3: 100:[11, 16, 104] Operation: 15+89=104
Moving to Node #0,2
Current State: 100:[15, 16, 100], Operations: ['11+89=100']
Exploring Operation: 15+100=115, Resulting Numbers: [16, 115]
Generated Node #0,2,0: 100:[16, 115] Operation: 15+100=115
Exploring Operation: 15+16=31, Resulting Numbers: [100, 31]
Generated Node #0,2,1: 100:[100, 31] Operation: 15+16=31
Exploring Operation: 100-15=85, Resulting Numbers: [16, 85]
Generated Node #0,2,2: 100:[16, 85] Operation: 100-15=85
Exploring Operation: 16-15=1, Resulting Numbers: [100, 1]
Generated Node #0,2,3: 100:[100, 1] Operation: 16-15=1
Moving to Node #0,3
Current State: 100:[11, 16, 104], Operations: ['15+89=104']
Exploring Operation: 104-11=93, Resulting Numbers: [16, 93]
Generated Node #0,3,0: 100:[16, 93] Operation: 104-11=93
Exploring Operation: 11+16=27, Resulting Numbers: [104, 27]
Generated Node #0,3,1: 100:[104, 27] Operation: 11+16=27
Exploring Operation: 16-11=5, Resulting Numbers: [104, 5]
Generated Node #0,3,2: 100:[104, 5] Operation: 16-11=5
Exploring Operation: 104-16=88, Resulting Numbers: [11, 88]
Generated Node #0,3,3: 100:[11, 88] Operation: 104-16=88
Moving to Node #0,0
Current State: 100:[15, 11, 105], Operations: ['16+89=105']
Exploring Operation: 105-15=90, Resulting Numbers: [11, 90]
Generated Node #0,0,0: 100:[11, 90] Operation: 105-15=90
Exploring Operation: 105/15=7, Resulting Numbers: [11, 7]
Generated Node #0,0,1: 100:[11, 7] Operation: 105/15=7
Exploring Operation: 15-11=4, Resulting Numbers: [105, 4]
Generated Node #0,0,2: 100:[105, 4] Operation: 15-11=4
Exploring Operation: 15+11=26, Resulting Numbers: [105, 26]
Generated Node #0,0,3: 100:[105, 26] Operation: 15+11=26
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 100:[11, 7], Operations: ['16+89=105', '105/15=7']
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 100:[105, 4], Operations: ['16+89=105', '15-11=4']
Exploring Operation: 105-4=101, Resulting Numbers: [101]
101,100 unequal: No Solution
Exploring Operation: 105*4=420, Resulting Numbers: [420]
420,100 unequal: No Solution
Exploring Operation: 105+4=109, Resulting Numbers: [109]
109,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 100:[105, 26], Operations: ['16+89=105', '15+11=26']
Exploring Operation: 105*26=2730, Resulting Numbers: [2730]
2730,100 unequal: No Solution
Exploring Operation: 105-26=79, Resulting Numbers: [79]
79,100 unequal: No Solution
Exploring Operation: 105+26=131, Resulting Numbers: [131]
131,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[11, 90], Operations: ['16+89=105', '105-15=90']
Exploring Operation: 11*90=990, Resulting Numbers: [990]
990,100 unequal: No Solution
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,100 unequal: No Solution
Exploring Operation: 11+90=101, Resulting Numbers: [101]
101,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 100:[11, 89, 1], Operations: ['16-15=1']
Exploring Operation: 11-1=10, Resulting Numbers: [89, 10]
Generated Node #0,1,0: 100:[89, 10] Operation: 11-1=10
Exploring Operation: 89+1=90, Resulting Numbers: [11, 90]
Generated Node #0,1,1: 100:[11, 90] Operation: 89+1=90
Exploring Operation: 11*1=11, Resulting Numbers: [89, 11]
Generated Node #0,1,2: 100:[89, 11] Operation: 11*1=11
Exploring Operation: 11+89=100, Resulting Numbers: [1, 100]
Generated Node #0,1,3: 100:[1, 100] Operation: 11+89=100
Moving to Node #0,2,3
Current State: 100:[100, 1], Operations: ['11+89=100', '16-15=1']
Exploring Operation: 100+1=101, Resulting Numbers: [101]
101,100 unequal: No Solution
Exploring Operation: 100*1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[15, 11, 16, 89], Operations: []
Exploring Operation: 11+89=100, Resulting Numbers: [15, 16, 100]
Generated Node #0,2: 100:[15, 16, 100] Operation: 11+89=100
Moving to Node #0,2
Current State: 100:[15, 16, 100], Operations: ['11+89=100']
Exploring Operation: 16-15=1, Resulting Numbers: [100, 1]
Generated Node #0,2,3: 100:[100, 1] Operation: 16-15=1
Moving to Node #0,2,3
Current State: 100:[100, 1], Operations: ['11+89=100', '16-15=1']
Exploring Operation: 100*1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 0.967014 | hs_4 | sum_heuristic |
[
12,
56,
48,
34
] | 94 | [
"48/12=4",
"56+34=90",
"4+90=94"
] | Current State: 94:[12, 56, 48, 34], Operations: []
Exploring Operation: 48/12=4, Resulting Numbers: [56, 34, 4]
Generated Node #2: [56, 34, 4] from Operation: 48/12=4
Current State: 94:[56, 34, 4], Operations: ['48/12=4']
Exploring Operation: 56+34=90, Resulting Numbers: [4, 90]
Generated Node #3: [4, 90] from Operation: 56+34=90
Current State: 94:[4, 90], Operations: ['48/12=4', '56+34=90']
Exploring Operation: 4+90=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[12, 56, 48, 34], Operations: []
Exploring Operation: 56-12=44, Resulting Numbers: [48, 34, 44]
Generated Node #0,0: 94:[48, 34, 44] Operation: 56-12=44
Exploring Operation: 56-48=8, Resulting Numbers: [12, 34, 8]
Generated Node #0,1: 94:[12, 34, 8] Operation: 56-48=8
Exploring Operation: 56+34=90, Resulting Numbers: [12, 48, 90]
Generated Node #0,2: 94:[12, 48, 90] Operation: 56+34=90
Exploring Operation: 12+34=46, Resulting Numbers: [56, 48, 46]
Generated Node #0,3: 94:[56, 48, 46] Operation: 12+34=46
Exploring Operation: 48/12=4, Resulting Numbers: [56, 34, 4]
Generated Node #0,4: 94:[56, 34, 4] Operation: 48/12=4
Moving to Node #0,3
Current State: 94:[56, 48, 46], Operations: ['12+34=46']
Exploring Operation: 56-48=8, Resulting Numbers: [46, 8]
Generated Node #0,3,0: 94:[46, 8] Operation: 56-48=8
Exploring Operation: 48-46=2, Resulting Numbers: [56, 2]
Generated Node #0,3,1: 94:[56, 2] Operation: 48-46=2
Exploring Operation: 56-46=10, Resulting Numbers: [48, 10]
Generated Node #0,3,2: 94:[48, 10] Operation: 56-46=10
Exploring Operation: 48+46=94, Resulting Numbers: [56, 94]
Generated Node #0,3,3: 94:[56, 94] Operation: 48+46=94
Exploring Operation: 56+46=102, Resulting Numbers: [48, 102]
Generated Node #0,3,4: 94:[48, 102] Operation: 56+46=102
Moving to Node #0,2
Current State: 94:[12, 48, 90], Operations: ['56+34=90']
Exploring Operation: 90-48=42, Resulting Numbers: [12, 42]
Generated Node #0,2,0: 94:[12, 42] Operation: 90-48=42
Exploring Operation: 48-12=36, Resulting Numbers: [90, 36]
Generated Node #0,2,1: 94:[90, 36] Operation: 48-12=36
Exploring Operation: 12+90=102, Resulting Numbers: [48, 102]
Generated Node #0,2,2: 94:[48, 102] Operation: 12+90=102
Exploring Operation: 48/12=4, Resulting Numbers: [90, 4]
Generated Node #0,2,3: 94:[90, 4] Operation: 48/12=4
Exploring Operation: 12+48=60, Resulting Numbers: [90, 60]
Generated Node #0,2,4: 94:[90, 60] Operation: 12+48=60
Moving to Node #0,0
Current State: 94:[48, 34, 44], Operations: ['56-12=44']
Exploring Operation: 48-44=4, Resulting Numbers: [34, 4]
Generated Node #0,0,0: 94:[34, 4] Operation: 48-44=4
Exploring Operation: 48+34=82, Resulting Numbers: [44, 82]
Generated Node #0,0,1: 94:[44, 82] Operation: 48+34=82
Exploring Operation: 48-34=14, Resulting Numbers: [44, 14]
Generated Node #0,0,2: 94:[44, 14] Operation: 48-34=14
Exploring Operation: 48+44=92, Resulting Numbers: [34, 92]
Generated Node #0,0,3: 94:[34, 92] Operation: 48+44=92
Exploring Operation: 44-34=10, Resulting Numbers: [48, 10]
Generated Node #0,0,4: 94:[48, 10] Operation: 44-34=10
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 94:[48, 10], Operations: ['56-12=44', '44-34=10']
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 48*10=480, Resulting Numbers: [480]
480,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,0
Current State: 94:[34, 4], Operations: ['56-12=44', '48-44=4']
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,94 unequal: No Solution
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,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:[44, 82], Operations: ['56-12=44', '48+34=82']
Exploring Operation: 82-44=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 44*82=3608, Resulting Numbers: [3608]
3608,94 unequal: No Solution
Exploring Operation: 44+82=126, Resulting Numbers: [126]
126,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:[44, 14], Operations: ['56-12=44', '48-34=14']
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,94 unequal: No Solution
Exploring Operation: 44+14=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Exploring Operation: 44*14=616, Resulting Numbers: [616]
616,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:[34, 92], Operations: ['56-12=44', '48+44=92']
Exploring Operation: 92-34=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Exploring Operation: 34+92=126, Resulting Numbers: [126]
126,94 unequal: No Solution
Exploring Operation: 34*92=3128, Resulting Numbers: [3128]
3128,94 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: 94:[56, 34, 4], Operations: ['48/12=4']
Exploring Operation: 56-34=22, Resulting Numbers: [4, 22]
Generated Node #0,4,0: 94:[4, 22] Operation: 56-34=22
Exploring Operation: 56/4=14, Resulting Numbers: [34, 14]
Generated Node #0,4,1: 94:[34, 14] Operation: 56/4=14
Exploring Operation: 56+34=90, Resulting Numbers: [4, 90]
Generated Node #0,4,2: 94:[4, 90] Operation: 56+34=90
Exploring Operation: 56-4=52, Resulting Numbers: [34, 52]
Generated Node #0,4,3: 94:[34, 52] Operation: 56-4=52
Exploring Operation: 34+4=38, Resulting Numbers: [56, 38]
Generated Node #0,4,4: 94:[56, 38] Operation: 34+4=38
Moving to Node #0,1
Current State: 94:[12, 34, 8], Operations: ['56-48=8']
Exploring Operation: 12*8=96, Resulting Numbers: [34, 96]
Generated Node #0,1,0: 94:[34, 96] Operation: 12*8=96
Exploring Operation: 12-8=4, Resulting Numbers: [34, 4]
Generated Node #0,1,1: 94:[34, 4] Operation: 12-8=4
Exploring Operation: 34+8=42, Resulting Numbers: [12, 42]
Generated Node #0,1,2: 94:[12, 42] Operation: 34+8=42
Exploring Operation: 12+34=46, Resulting Numbers: [8, 46]
Generated Node #0,1,3: 94:[8, 46] Operation: 12+34=46
Exploring Operation: 34-12=22, Resulting Numbers: [8, 22]
Generated Node #0,1,4: 94:[8, 22] Operation: 34-12=22
Moving to Node #0,2,3
Current State: 94:[90, 4], Operations: ['56+34=90', '48/12=4']
Exploring Operation: 90*4=360, Resulting Numbers: [360]
360,94 unequal: No Solution
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[12, 56, 48, 34], Operations: []
Exploring Operation: 56+34=90, Resulting Numbers: [12, 48, 90]
Generated Node #0,2: 94:[12, 48, 90] Operation: 56+34=90
Moving to Node #0,2
Current State: 94:[12, 48, 90], Operations: ['56+34=90']
Exploring Operation: 48/12=4, Resulting Numbers: [90, 4]
Generated Node #0,2,3: 94:[90, 4] Operation: 48/12=4
Moving to Node #0,2,3
Current State: 94:[90, 4], Operations: ['56+34=90', '48/12=4']
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.955729 | hs_5 | sum_heuristic |
[
12,
53,
68,
46
] | 87 | [
"12+53=65",
"68-46=22",
"65+22=87"
] | Current State: 87:[12, 53, 68, 46], Operations: []
Exploring Operation: 12+53=65, Resulting Numbers: [68, 46, 65]
Generated Node #2: [68, 46, 65] from Operation: 12+53=65
Current State: 87:[68, 46, 65], Operations: ['12+53=65']
Exploring Operation: 68-46=22, Resulting Numbers: [65, 22]
Generated Node #3: [65, 22] from Operation: 68-46=22
Current State: 87:[65, 22], Operations: ['12+53=65', '68-46=22']
Exploring Operation: 65+22=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[12, 53, 68, 46], Operations: []
Exploring Operation: 68-46=22, Resulting Numbers: [12, 53, 22]
Generated Node #0,0: 87:[12, 53, 22] Operation: 68-46=22
Exploring Operation: 53+46=99, Resulting Numbers: [12, 68, 99]
Generated Node #0,1: 87:[12, 68, 99] Operation: 53+46=99
Exploring Operation: 53-46=7, Resulting Numbers: [12, 68, 7]
Generated Node #0,2: 87:[12, 68, 7] Operation: 53-46=7
Exploring Operation: 68-53=15, Resulting Numbers: [12, 46, 15]
Generated Node #0,3: 87:[12, 46, 15] Operation: 68-53=15
Moving to Node #0,2
Current State: 87:[12, 68, 7], Operations: ['53-46=7']
Exploring Operation: 12-7=5, Resulting Numbers: [68, 5]
Generated Node #0,2,0: 87:[68, 5] Operation: 12-7=5
Exploring Operation: 12+68=80, Resulting Numbers: [7, 80]
Generated Node #0,2,1: 87:[7, 80] Operation: 12+68=80
Exploring Operation: 68+7=75, Resulting Numbers: [12, 75]
Generated Node #0,2,2: 87:[12, 75] Operation: 68+7=75
Exploring Operation: 12*7=84, Resulting Numbers: [68, 84]
Generated Node #0,2,3: 87:[68, 84] Operation: 12*7=84
Moving to Node #0,3
Current State: 87:[12, 46, 15], Operations: ['68-53=15']
Exploring Operation: 46-15=31, Resulting Numbers: [12, 31]
Generated Node #0,3,0: 87:[12, 31] Operation: 46-15=31
Exploring Operation: 46-12=34, Resulting Numbers: [15, 34]
Generated Node #0,3,1: 87:[15, 34] Operation: 46-12=34
Exploring Operation: 15-12=3, Resulting Numbers: [46, 3]
Generated Node #0,3,2: 87:[46, 3] Operation: 15-12=3
Exploring Operation: 12+15=27, Resulting Numbers: [46, 27]
Generated Node #0,3,3: 87:[46, 27] Operation: 12+15=27
Moving to Node #0,1
Current State: 87:[12, 68, 99], Operations: ['53+46=99']
Exploring Operation: 99-12=87, Resulting Numbers: [68, 87]
Generated Node #0,1,0: 87:[68, 87] Operation: 99-12=87
Exploring Operation: 99-68=31, Resulting Numbers: [12, 31]
Generated Node #0,1,1: 87:[12, 31] Operation: 99-68=31
Exploring Operation: 68-12=56, Resulting Numbers: [99, 56]
Generated Node #0,1,2: 87:[99, 56] Operation: 68-12=56
Exploring Operation: 12+68=80, Resulting Numbers: [99, 80]
Generated Node #0,1,3: 87:[99, 80] Operation: 12+68=80
Moving to Node #0,0
Current State: 87:[12, 53, 22], Operations: ['68-46=22']
Exploring Operation: 53-12=41, Resulting Numbers: [22, 41]
Generated Node #0,0,0: 87:[22, 41] Operation: 53-12=41
Exploring Operation: 53-22=31, Resulting Numbers: [12, 31]
Generated Node #0,0,1: 87:[12, 31] Operation: 53-22=31
Exploring Operation: 12+53=65, Resulting Numbers: [22, 65]
Generated Node #0,0,2: 87:[22, 65] Operation: 12+53=65
Exploring Operation: 53+22=75, Resulting Numbers: [12, 75]
Generated Node #0,0,3: 87:[12, 75] Operation: 53+22=75
Moving to Node #0,2,1
Current State: 87:[7, 80], Operations: ['53-46=7', '12+68=80']
Exploring Operation: 7*80=560, Resulting Numbers: [560]
560,87 unequal: No Solution
Exploring Operation: 7+80=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[12, 53, 68, 46], Operations: []
Exploring Operation: 53-46=7, Resulting Numbers: [12, 68, 7]
Generated Node #0,2: 87:[12, 68, 7] Operation: 53-46=7
Moving to Node #0,2
Current State: 87:[12, 68, 7], Operations: ['53-46=7']
Exploring Operation: 12+68=80, Resulting Numbers: [7, 80]
Generated Node #0,2,1: 87:[7, 80] Operation: 12+68=80
Moving to Node #0,2,1
Current State: 87:[7, 80], Operations: ['53-46=7', '12+68=80']
Exploring Operation: 7+80=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.977431 | hs_4 | mult_heuristic |
[
16,
92,
63,
44
] | 95 | [
"92-16=76",
"63-44=19",
"76+19=95"
] | Current State: 95:[16, 92, 63, 44], Operations: []
Exploring Operation: 92-16=76, Resulting Numbers: [63, 44, 76]
Generated Node #2: [63, 44, 76] from Operation: 92-16=76
Current State: 95:[63, 44, 76], Operations: ['92-16=76']
Exploring Operation: 63-44=19, Resulting Numbers: [76, 19]
Generated Node #3: [76, 19] from Operation: 63-44=19
Current State: 95:[76, 19], Operations: ['92-16=76', '63-44=19']
Exploring Operation: 76+19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[16, 92, 63, 44], Operations: []
Exploring Operation: 63-44=19, Resulting Numbers: [16, 92, 19]
Generated Node #0,0: 95:[16, 92, 19] Operation: 63-44=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[16, 92, 19], Operations: ['63-44=19']
Exploring Operation: 19-16=3, Resulting Numbers: [92, 3]
Generated Node #0,0,0: 95:[92, 3] Operation: 19-16=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[92, 3], Operations: ['63-44=19', '19-16=3']
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[16, 92, 63, 44], Operations: []
Exploring Operation: 63-44=19, Resulting Numbers: [16, 92, 19]
Generated Node #0,0: 95:[16, 92, 19] Operation: 63-44=19
Moving to Node #0,0
Current State: 95:[16, 92, 19], Operations: ['63-44=19']
Exploring Operation: 19-16=3, Resulting Numbers: [92, 3]
Generated Node #0,0,0: 95:[92, 3] Operation: 19-16=3
Moving to Node #0,0,0
Current State: 95:[92, 3], Operations: ['63-44=19', '19-16=3']
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
15,
27,
58,
90
] | 91 | [
"90/15=6",
"27+58=85",
"6+85=91"
] | Current State: 91:[15, 27, 58, 90], Operations: []
Exploring Operation: 90/15=6, Resulting Numbers: [27, 58, 6]
Generated Node #2: [27, 58, 6] from Operation: 90/15=6
Current State: 91:[27, 58, 6], Operations: ['90/15=6']
Exploring Operation: 27+58=85, Resulting Numbers: [6, 85]
Generated Node #3: [6, 85] from Operation: 27+58=85
Current State: 91:[6, 85], Operations: ['90/15=6', '27+58=85']
Exploring Operation: 6+85=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[15, 27, 58, 90], Operations: []
Exploring Operation: 27-15=12, Resulting Numbers: [58, 90, 12]
Generated Node #0,0: 91:[58, 90, 12] Operation: 27-15=12
Exploring Operation: 15+58=73, Resulting Numbers: [27, 90, 73]
Generated Node #0,1: 91:[27, 90, 73] Operation: 15+58=73
Exploring Operation: 58-27=31, Resulting Numbers: [15, 90, 31]
Generated Node #0,2: 91:[15, 90, 31] Operation: 58-27=31
Exploring Operation: 27+58=85, Resulting Numbers: [15, 90, 85]
Generated Node #0,3: 91:[15, 90, 85] Operation: 27+58=85
Start Sub Search at level 1: Moving to Node #0,3
Current State: 91:[15, 90, 85], Operations: ['27+58=85']
Exploring Operation: 15+85=100, Resulting Numbers: [90, 100]
Generated Node #0,3,0: 91:[90, 100] Operation: 15+85=100
Exploring Operation: 90/15=6, Resulting Numbers: [85, 6]
Generated Node #0,3,1: 91:[85, 6] Operation: 90/15=6
Exploring Operation: 90-85=5, Resulting Numbers: [15, 5]
Generated Node #0,3,2: 91:[15, 5] Operation: 90-85=5
Exploring Operation: 15+90=105, Resulting Numbers: [85, 105]
Generated Node #0,3,3: 91:[85, 105] Operation: 15+90=105
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 91:[15, 5], Operations: ['27+58=85', '90-85=5']
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,91 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 91:[85, 6], Operations: ['27+58=85', '90/15=6']
Exploring Operation: 85+6=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[15, 27, 58, 90], Operations: []
Exploring Operation: 27+58=85, Resulting Numbers: [15, 90, 85]
Generated Node #0,3: 91:[15, 90, 85] Operation: 27+58=85
Moving to Node #0,3
Current State: 91:[15, 90, 85], Operations: ['27+58=85']
Exploring Operation: 90/15=6, Resulting Numbers: [85, 6]
Generated Node #0,3,1: 91:[85, 6] Operation: 90/15=6
Moving to Node #0,3,1
Current State: 91:[85, 6], Operations: ['27+58=85', '90/15=6']
Exploring Operation: 85+6=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
41,
38,
90,
2
] | 30 | [
"90-41=49",
"38/2=19",
"49-19=30"
] | Current State: 30:[41, 38, 90, 2], Operations: []
Exploring Operation: 90-41=49, Resulting Numbers: [38, 2, 49]
Generated Node #2: [38, 2, 49] from Operation: 90-41=49
Current State: 30:[38, 2, 49], Operations: ['90-41=49']
Exploring Operation: 38/2=19, Resulting Numbers: [49, 19]
Generated Node #3: [49, 19] from Operation: 38/2=19
Current State: 30:[49, 19], Operations: ['90-41=49', '38/2=19']
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[41, 38, 90, 2], Operations: []
Exploring Operation: 90-38=52, Resulting Numbers: [41, 2, 52]
Generated Node #0,0: 30:[41, 2, 52] Operation: 90-38=52
Exploring Operation: 90-41=49, Resulting Numbers: [38, 2, 49]
Generated Node #0,1: 30:[38, 2, 49] Operation: 90-41=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[38, 2, 49], Operations: ['90-41=49']
Exploring Operation: 49-38=11, Resulting Numbers: [2, 11]
Generated Node #0,1,0: 30:[2, 11] Operation: 49-38=11
Exploring Operation: 38/2=19, Resulting Numbers: [49, 19]
Generated Node #0,1,1: 30:[49, 19] Operation: 38/2=19
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 30:[2, 11], Operations: ['90-41=49', '49-38=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 30:[49, 19], Operations: ['90-41=49', '38/2=19']
Exploring Operation: 49+19=68, Resulting Numbers: [68]
68,30 unequal: No Solution
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[41, 38, 90, 2], Operations: []
Exploring Operation: 90-41=49, Resulting Numbers: [38, 2, 49]
Generated Node #0,1: 30:[38, 2, 49] Operation: 90-41=49
Moving to Node #0,1
Current State: 30:[38, 2, 49], Operations: ['90-41=49']
Exploring Operation: 38/2=19, Resulting Numbers: [49, 19]
Generated Node #0,1,1: 30:[49, 19] Operation: 38/2=19
Moving to Node #0,1,1
Current State: 30:[49, 19], Operations: ['90-41=49', '38/2=19']
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
82,
52,
2,
35
] | 24 | [
"82/2=41",
"52-35=17",
"41-17=24"
] | Current State: 24:[82, 52, 2, 35], Operations: []
Exploring Operation: 82/2=41, Resulting Numbers: [52, 35, 41]
Generated Node #2: [52, 35, 41] from Operation: 82/2=41
Current State: 24:[52, 35, 41], Operations: ['82/2=41']
Exploring Operation: 52-35=17, Resulting Numbers: [41, 17]
Generated Node #3: [41, 17] from Operation: 52-35=17
Current State: 24:[41, 17], Operations: ['82/2=41', '52-35=17']
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[82, 52, 2, 35], Operations: []
Exploring Operation: 82-52=30, Resulting Numbers: [2, 35, 30]
Generated Node #0,0: 24:[2, 35, 30] Operation: 82-52=30
Exploring Operation: 82/2=41, Resulting Numbers: [52, 35, 41]
Generated Node #0,1: 24:[52, 35, 41] Operation: 82/2=41
Exploring Operation: 82-35=47, Resulting Numbers: [52, 2, 47]
Generated Node #0,2: 24:[52, 2, 47] Operation: 82-35=47
Exploring Operation: 52/2=26, Resulting Numbers: [82, 35, 26]
Generated Node #0,3: 24:[82, 35, 26] Operation: 52/2=26
Exploring Operation: 52-35=17, Resulting Numbers: [82, 2, 17]
Generated Node #0,4: 24:[82, 2, 17] Operation: 52-35=17
Moving to Node #0,0
Current State: 24:[2, 35, 30], Operations: ['82-52=30']
Exploring Operation: 35-30=5, Resulting Numbers: [2, 5]
Generated Node #0,0,0: 24:[2, 5] Operation: 35-30=5
Exploring Operation: 30/2=15, Resulting Numbers: [35, 15]
Generated Node #0,0,1: 24:[35, 15] Operation: 30/2=15
Exploring Operation: 30-2=28, Resulting Numbers: [35, 28]
Generated Node #0,0,2: 24:[35, 28] Operation: 30-2=28
Exploring Operation: 35-2=33, Resulting Numbers: [30, 33]
Generated Node #0,0,3: 24:[30, 33] Operation: 35-2=33
Exploring Operation: 2+35=37, Resulting Numbers: [30, 37]
Generated Node #0,0,4: 24:[30, 37] Operation: 2+35=37
Moving to Node #0,2
Current State: 24:[52, 2, 47], Operations: ['82-35=47']
Exploring Operation: 52-2=50, Resulting Numbers: [47, 50]
Generated Node #0,2,0: 24:[47, 50] Operation: 52-2=50
Exploring Operation: 52+2=54, Resulting Numbers: [47, 54]
Generated Node #0,2,1: 24:[47, 54] Operation: 52+2=54
Exploring Operation: 52-47=5, Resulting Numbers: [2, 5]
Generated Node #0,2,2: 24:[2, 5] Operation: 52-47=5
Exploring Operation: 47-2=45, Resulting Numbers: [52, 45]
Generated Node #0,2,3: 24:[52, 45] Operation: 47-2=45
Exploring Operation: 52/2=26, Resulting Numbers: [47, 26]
Generated Node #0,2,4: 24:[47, 26] Operation: 52/2=26
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 24:[2, 5], Operations: ['82-35=47', '52-47=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,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,4
Current State: 24:[47, 26], Operations: ['82-35=47', '52/2=26']
Exploring Operation: 47+26=73, Resulting Numbers: [73]
73,24 unequal: No Solution
Exploring Operation: 47*26=1222, Resulting Numbers: [1222]
1222,24 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,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,0
Current State: 24:[47, 50], Operations: ['82-35=47', '52-2=50']
Exploring Operation: 50-47=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 47+50=97, Resulting Numbers: [97]
97,24 unequal: No Solution
Exploring Operation: 47*50=2350, Resulting Numbers: [2350]
2350,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:[52, 45], Operations: ['82-35=47', '47-2=45']
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 52*45=2340, Resulting Numbers: [2340]
2340,24 unequal: No Solution
Exploring Operation: 52+45=97, Resulting Numbers: [97]
97,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:[47, 54], Operations: ['82-35=47', '52+2=54']
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 47+54=101, Resulting Numbers: [101]
101,24 unequal: No Solution
Exploring Operation: 47*54=2538, Resulting Numbers: [2538]
2538,24 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: 24:[52, 35, 41], Operations: ['82/2=41']
Exploring Operation: 52-41=11, Resulting Numbers: [35, 11]
Generated Node #0,1,0: 24:[35, 11] Operation: 52-41=11
Exploring Operation: 41-35=6, Resulting Numbers: [52, 6]
Generated Node #0,1,1: 24:[52, 6] Operation: 41-35=6
Exploring Operation: 52+35=87, Resulting Numbers: [41, 87]
Generated Node #0,1,2: 24:[41, 87] Operation: 52+35=87
Exploring Operation: 52+41=93, Resulting Numbers: [35, 93]
Generated Node #0,1,3: 24:[35, 93] Operation: 52+41=93
Exploring Operation: 52-35=17, Resulting Numbers: [41, 17]
Generated Node #0,1,4: 24:[41, 17] Operation: 52-35=17
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[35, 11], Operations: ['82/2=41', '52-41=11']
Exploring Operation: 35+11=46, Resulting Numbers: [46]
46,24 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[82, 52, 2, 35], Operations: []
Exploring Operation: 82/2=41, Resulting Numbers: [52, 35, 41]
Generated Node #0,1: 24:[52, 35, 41] Operation: 82/2=41
Moving to Node #0,1
Current State: 24:[52, 35, 41], Operations: ['82/2=41']
Exploring Operation: 52-41=11, Resulting Numbers: [35, 11]
Generated Node #0,1,0: 24:[35, 11] Operation: 52-41=11
Moving to Node #0,1,0
Current State: 24:[35, 11], Operations: ['82/2=41', '52-41=11']
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
36,
51,
41,
59
] | 13 | [
"36+51=87",
"41+59=100",
"100-87=13"
] | Current State: 13:[36, 51, 41, 59], Operations: []
Exploring Operation: 36+51=87, Resulting Numbers: [41, 59, 87]
Generated Node #2: [41, 59, 87] from Operation: 36+51=87
Current State: 13:[41, 59, 87], Operations: ['36+51=87']
Exploring Operation: 41+59=100, Resulting Numbers: [87, 100]
Generated Node #3: [87, 100] from Operation: 41+59=100
Current State: 13:[87, 100], Operations: ['36+51=87', '41+59=100']
Exploring Operation: 100-87=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[36, 51, 41, 59], Operations: []
Exploring Operation: 51-36=15, Resulting Numbers: [41, 59, 15]
Generated Node #0,0: 13:[41, 59, 15] Operation: 51-36=15
Exploring Operation: 59-51=8, Resulting Numbers: [36, 41, 8]
Generated Node #0,1: 13:[36, 41, 8] Operation: 59-51=8
Exploring Operation: 59-41=18, Resulting Numbers: [36, 51, 18]
Generated Node #0,2: 13:[36, 51, 18] Operation: 59-41=18
Exploring Operation: 51-41=10, Resulting Numbers: [36, 59, 10]
Generated Node #0,3: 13:[36, 59, 10] Operation: 51-41=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[36, 41, 8], Operations: ['59-51=8']
Exploring Operation: 36+8=44, Resulting Numbers: [41, 44]
Generated Node #0,1,0: 13:[41, 44] Operation: 36+8=44
Exploring Operation: 36-8=28, Resulting Numbers: [41, 28]
Generated Node #0,1,1: 13:[41, 28] Operation: 36-8=28
Exploring Operation: 41-8=33, Resulting Numbers: [36, 33]
Generated Node #0,1,2: 13:[36, 33] Operation: 41-8=33
Exploring Operation: 41-36=5, Resulting Numbers: [8, 5]
Generated Node #0,1,3: 13:[8, 5] Operation: 41-36=5
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 13:[8, 5], Operations: ['59-51=8', '41-36=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[36, 51, 41, 59], Operations: []
Exploring Operation: 59-51=8, Resulting Numbers: [36, 41, 8]
Generated Node #0,1: 13:[36, 41, 8] Operation: 59-51=8
Moving to Node #0,1
Current State: 13:[36, 41, 8], Operations: ['59-51=8']
Exploring Operation: 41-36=5, Resulting Numbers: [8, 5]
Generated Node #0,1,3: 13:[8, 5] Operation: 41-36=5
Moving to Node #0,1,3
Current State: 13:[8, 5], Operations: ['59-51=8', '41-36=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
73,
81,
50,
17
] | 87 | [
"73+81=154",
"50+17=67",
"154-67=87"
] | Current State: 87:[73, 81, 50, 17], Operations: []
Exploring Operation: 73+81=154, Resulting Numbers: [50, 17, 154]
Generated Node #2: [50, 17, 154] from Operation: 73+81=154
Current State: 87:[50, 17, 154], Operations: ['73+81=154']
Exploring Operation: 50+17=67, Resulting Numbers: [154, 67]
Generated Node #3: [154, 67] from Operation: 50+17=67
Current State: 87:[154, 67], Operations: ['73+81=154', '50+17=67']
Exploring Operation: 154-67=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[73, 81, 50, 17], Operations: []
Exploring Operation: 50-17=33, Resulting Numbers: [73, 81, 33]
Generated Node #0,0: 87:[73, 81, 33] Operation: 50-17=33
Exploring Operation: 73-50=23, Resulting Numbers: [81, 17, 23]
Generated Node #0,1: 87:[81, 17, 23] Operation: 73-50=23
Exploring Operation: 73+17=90, Resulting Numbers: [81, 50, 90]
Generated Node #0,2: 87:[81, 50, 90] Operation: 73+17=90
Exploring Operation: 81-50=31, Resulting Numbers: [73, 17, 31]
Generated Node #0,3: 87:[73, 17, 31] Operation: 81-50=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[73, 81, 33], Operations: ['50-17=33']
Exploring Operation: 81-33=48, Resulting Numbers: [73, 48]
Generated Node #0,0,0: 87:[73, 48] Operation: 81-33=48
Exploring Operation: 81-73=8, Resulting Numbers: [33, 8]
Generated Node #0,0,1: 87:[33, 8] Operation: 81-73=8
Exploring Operation: 73-33=40, Resulting Numbers: [81, 40]
Generated Node #0,0,2: 87:[81, 40] Operation: 73-33=40
Exploring Operation: 73+33=106, Resulting Numbers: [81, 106]
Generated Node #0,0,3: 87:[81, 106] Operation: 73+33=106
Moving to Node #0,0,1
Current State: 87:[33, 8], Operations: ['50-17=33', '81-73=8']
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,87 unequal: No Solution
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,87 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[81, 40], Operations: ['50-17=33', '73-33=40']
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,87 unequal: No Solution
Exploring Operation: 81*40=3240, Resulting Numbers: [3240]
3240,87 unequal: No Solution
Exploring Operation: 81+40=121, Resulting Numbers: [121]
121,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[81, 106], Operations: ['50-17=33', '73+33=106']
Exploring Operation: 81*106=8586, Resulting Numbers: [8586]
8586,87 unequal: No Solution
Exploring Operation: 81+106=187, Resulting Numbers: [187]
187,87 unequal: No Solution
Exploring Operation: 106-81=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[73, 48], Operations: ['50-17=33', '81-33=48']
Exploring Operation: 73+48=121, Resulting Numbers: [121]
121,87 unequal: No Solution
Exploring Operation: 73-48=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Exploring Operation: 73*48=3504, Resulting Numbers: [3504]
3504,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[81, 17, 23], Operations: ['73-50=23']
Exploring Operation: 81-17=64, Resulting Numbers: [23, 64]
Generated Node #0,1,0: 87:[23, 64] Operation: 81-17=64
Exploring Operation: 23-17=6, Resulting Numbers: [81, 6]
Generated Node #0,1,1: 87:[81, 6] Operation: 23-17=6
Exploring Operation: 81+17=98, Resulting Numbers: [23, 98]
Generated Node #0,1,2: 87:[23, 98] Operation: 81+17=98
Exploring Operation: 17+23=40, Resulting Numbers: [81, 40]
Generated Node #0,1,3: 87:[81, 40] Operation: 17+23=40
Moving to Node #0,1,1
Current State: 87:[81, 6], Operations: ['73-50=23', '23-17=6']
Exploring Operation: 81+6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[73, 81, 50, 17], Operations: []
Exploring Operation: 73-50=23, Resulting Numbers: [81, 17, 23]
Generated Node #0,1: 87:[81, 17, 23] Operation: 73-50=23
Moving to Node #0,1
Current State: 87:[81, 17, 23], Operations: ['73-50=23']
Exploring Operation: 23-17=6, Resulting Numbers: [81, 6]
Generated Node #0,1,1: 87:[81, 6] Operation: 23-17=6
Moving to Node #0,1,1
Current State: 87:[81, 6], Operations: ['73-50=23', '23-17=6']
Exploring Operation: 81+6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
28,
57,
24,
33
] | 75 | [
"28-24=4",
"33*4=132",
"132-57=75"
] | Current State: 75:[28, 57, 24, 33], Operations: []
Exploring Operation: 28-24=4, Resulting Numbers: [57, 33, 4]
Generated Node #2: [57, 33, 4] from Operation: 28-24=4
Current State: 75:[57, 33, 4], Operations: ['28-24=4']
Exploring Operation: 33*4=132, Resulting Numbers: [57, 132]
Generated Node #3: [57, 132] from Operation: 33*4=132
Current State: 75:[57, 132], Operations: ['28-24=4', '33*4=132']
Exploring Operation: 132-57=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[28, 57, 24, 33], Operations: []
Exploring Operation: 57+24=81, Resulting Numbers: [28, 33, 81]
Generated Node #0,0: 75:[28, 33, 81] Operation: 57+24=81
Exploring Operation: 57-33=24, Resulting Numbers: [28, 24, 24]
Generated Node #0,1: 75:[28, 24, 24] Operation: 57-33=24
Exploring Operation: 57-28=29, Resulting Numbers: [24, 33, 29]
Generated Node #0,2: 75:[24, 33, 29] Operation: 57-28=29
Exploring Operation: 28+57=85, Resulting Numbers: [24, 33, 85]
Generated Node #0,3: 75:[24, 33, 85] Operation: 28+57=85
Moving to Node #0,1
Current State: 75:[28, 24, 24], Operations: ['57-33=24']
Exploring Operation: 28-24=4, Resulting Numbers: [24, 4]
Generated Node #0,1,0: 75:[24, 4] Operation: 28-24=4
Exploring Operation: 24/24=1, Resulting Numbers: [28, 1]
Generated Node #0,1,1: 75:[28, 1] Operation: 24/24=1
Exploring Operation: 24-24=0, Resulting Numbers: [28, 0]
Generated Node #0,1,2: 75:[28, 0] Operation: 24-24=0
Exploring Operation: 28-24=4, Resulting Numbers: [24, 4]
Generated Node #0,1,3: 75:[24, 4] Operation: 28-24=4
Moving to Node #0,2
Current State: 75:[24, 33, 29], Operations: ['57-28=29']
Exploring Operation: 33+29=62, Resulting Numbers: [24, 62]
Generated Node #0,2,0: 75:[24, 62] Operation: 33+29=62
Exploring Operation: 33-29=4, Resulting Numbers: [24, 4]
Generated Node #0,2,1: 75:[24, 4] Operation: 33-29=4
Exploring Operation: 29-24=5, Resulting Numbers: [33, 5]
Generated Node #0,2,2: 75:[33, 5] Operation: 29-24=5
Exploring Operation: 33-24=9, Resulting Numbers: [29, 9]
Generated Node #0,2,3: 75:[29, 9] Operation: 33-24=9
Moving to Node #0,0
Current State: 75:[28, 33, 81], Operations: ['57+24=81']
Exploring Operation: 28+33=61, Resulting Numbers: [81, 61]
Generated Node #0,0,0: 75:[81, 61] Operation: 28+33=61
Exploring Operation: 81-28=53, Resulting Numbers: [33, 53]
Generated Node #0,0,1: 75:[33, 53] Operation: 81-28=53
Exploring Operation: 33-28=5, Resulting Numbers: [81, 5]
Generated Node #0,0,2: 75:[81, 5] Operation: 33-28=5
Exploring Operation: 81-33=48, Resulting Numbers: [28, 48]
Generated Node #0,0,3: 75:[28, 48] Operation: 81-33=48
Moving to Node #0,3
Current State: 75:[24, 33, 85], Operations: ['28+57=85']
Exploring Operation: 24+33=57, Resulting Numbers: [85, 57]
Generated Node #0,3,0: 75:[85, 57] Operation: 24+33=57
Exploring Operation: 85-24=61, Resulting Numbers: [33, 61]
Generated Node #0,3,1: 75:[33, 61] Operation: 85-24=61
Exploring Operation: 85-33=52, Resulting Numbers: [24, 52]
Generated Node #0,3,2: 75:[24, 52] Operation: 85-33=52
Exploring Operation: 33-24=9, Resulting Numbers: [85, 9]
Generated Node #0,3,3: 75:[85, 9] Operation: 33-24=9
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 75:[85, 9], Operations: ['28+57=85', '33-24=9']
Exploring Operation: 85*9=765, Resulting Numbers: [765]
765,75 unequal: No Solution
Exploring Operation: 85-9=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 85+9=94, Resulting Numbers: [94]
94,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 75:[33, 61], Operations: ['28+57=85', '85-24=61']
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,75 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 33*61=2013, Resulting Numbers: [2013]
2013,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,3,2
Current State: 75:[24, 52], Operations: ['28+57=85', '85-33=52']
Exploring Operation: 24+52=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 24*52=1248, Resulting Numbers: [1248]
1248,75 unequal: No Solution
Exploring Operation: 52-24=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,3,0
Current State: 75:[85, 57], Operations: ['28+57=85', '24+33=57']
Exploring Operation: 85+57=142, Resulting Numbers: [142]
142,75 unequal: No Solution
Exploring Operation: 85-57=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 85*57=4845, Resulting Numbers: [4845]
4845,75 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: 75:[24, 4], Operations: ['57-33=24', '28-24=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,75 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Moving to Node #0,1,3
Current State: 75:[24, 4], Operations: ['57-33=24', '28-24=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,75 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[24, 4], Operations: ['57-28=29', '33-29=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[28, 1], Operations: ['57-33=24', '24/24=1']
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,75 unequal: No Solution
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[28, 0], Operations: ['57-33=24', '24-24=0']
Exploring Operation: 28-0=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 28*0=0, Resulting Numbers: [0]
0,75 unequal: No Solution
Exploring Operation: 28+0=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[81, 5], Operations: ['57+24=81', '33-28=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[29, 9], Operations: ['57-28=29', '33-24=9']
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 29*9=261, Resulting Numbers: [261]
261,75 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[33, 5], Operations: ['57-28=29', '29-24=5']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[24, 62], Operations: ['57-28=29', '33+29=62']
Exploring Operation: 24+62=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Exploring Operation: 24*62=1488, Resulting Numbers: [1488]
1488,75 unequal: No Solution
Exploring Operation: 62-24=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[81, 61], Operations: ['57+24=81', '28+33=61']
Exploring Operation: 81*61=4941, Resulting Numbers: [4941]
4941,75 unequal: No Solution
Exploring Operation: 81+61=142, Resulting Numbers: [142]
142,75 unequal: No Solution
Exploring Operation: 81-61=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Moving to Node #0,0,3
Current State: 75:[28, 48], Operations: ['57+24=81', '81-33=48']
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 28*48=1344, Resulting Numbers: [1344]
1344,75 unequal: No Solution
Exploring Operation: 28+48=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[33, 53], Operations: ['57+24=81', '81-28=53']
Exploring Operation: 33*53=1749, Resulting Numbers: [1749]
1749,75 unequal: No Solution
Exploring Operation: 33+53=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,75 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
11,
97,
17,
31
] | 100 | [
"97-11=86",
"31-17=14",
"86+14=100"
] | Current State: 100:[11, 97, 17, 31], Operations: []
Exploring Operation: 97-11=86, Resulting Numbers: [17, 31, 86]
Generated Node #2: [17, 31, 86] from Operation: 97-11=86
Current State: 100:[17, 31, 86], Operations: ['97-11=86']
Exploring Operation: 31-17=14, Resulting Numbers: [86, 14]
Generated Node #3: [86, 14] from Operation: 31-17=14
Current State: 100:[86, 14], Operations: ['97-11=86', '31-17=14']
Exploring Operation: 86+14=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[11, 97, 17, 31], Operations: []
Exploring Operation: 31-11=20, Resulting Numbers: [97, 17, 20]
Generated Node #0,0: 100:[97, 17, 20] Operation: 31-11=20
Moving to Node #0,0
Current State: 100:[97, 17, 20], Operations: ['31-11=20']
Exploring Operation: 20-17=3, Resulting Numbers: [97, 3]
Generated Node #0,0,0: 100:[97, 3] Operation: 20-17=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[97, 3], Operations: ['31-11=20', '20-17=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[11, 97, 17, 31], Operations: []
Exploring Operation: 31-11=20, Resulting Numbers: [97, 17, 20]
Generated Node #0,0: 100:[97, 17, 20] Operation: 31-11=20
Moving to Node #0,0
Current State: 100:[97, 17, 20], Operations: ['31-11=20']
Exploring Operation: 20-17=3, Resulting Numbers: [97, 3]
Generated Node #0,0,0: 100:[97, 3] Operation: 20-17=3
Moving to Node #0,0,0
Current State: 100:[97, 3], Operations: ['31-11=20', '20-17=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
17,
38,
1,
78
] | 22 | [
"17+38=55",
"78-1=77",
"77-55=22"
] | Current State: 22:[17, 38, 1, 78], Operations: []
Exploring Operation: 17+38=55, Resulting Numbers: [1, 78, 55]
Generated Node #2: [1, 78, 55] from Operation: 17+38=55
Current State: 22:[1, 78, 55], Operations: ['17+38=55']
Exploring Operation: 78-1=77, Resulting Numbers: [55, 77]
Generated Node #3: [55, 77] from Operation: 78-1=77
Current State: 22:[55, 77], Operations: ['17+38=55', '78-1=77']
Exploring Operation: 77-55=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[17, 38, 1, 78], Operations: []
Exploring Operation: 78-17=61, Resulting Numbers: [38, 1, 61]
Generated Node #0,0: 22:[38, 1, 61] Operation: 78-17=61
Exploring Operation: 38-1=37, Resulting Numbers: [17, 78, 37]
Generated Node #0,1: 22:[17, 78, 37] Operation: 38-1=37
Exploring Operation: 78-38=40, Resulting Numbers: [17, 1, 40]
Generated Node #0,2: 22:[17, 1, 40] Operation: 78-38=40
Exploring Operation: 17+1=18, Resulting Numbers: [38, 78, 18]
Generated Node #0,3: 22:[38, 78, 18] Operation: 17+1=18
Exploring Operation: 38-17=21, Resulting Numbers: [1, 78, 21]
Generated Node #0,4: 22:[1, 78, 21] Operation: 38-17=21
Moving to Node #0,2
Current State: 22:[17, 1, 40], Operations: ['78-38=40']
Exploring Operation: 40-1=39, Resulting Numbers: [17, 39]
Generated Node #0,2,0: 22:[17, 39] Operation: 40-1=39
Exploring Operation: 17+1=18, Resulting Numbers: [40, 18]
Generated Node #0,2,1: 22:[40, 18] Operation: 17+1=18
Exploring Operation: 40-17=23, Resulting Numbers: [1, 23]
Generated Node #0,2,2: 22:[1, 23] Operation: 40-17=23
Exploring Operation: 17-1=16, Resulting Numbers: [40, 16]
Generated Node #0,2,3: 22:[40, 16] Operation: 17-1=16
Exploring Operation: 17*1=17, Resulting Numbers: [40, 17]
Generated Node #0,2,4: 22:[40, 17] Operation: 17*1=17
Moving to Node #0,0
Current State: 22:[38, 1, 61], Operations: ['78-17=61']
Exploring Operation: 61-1=60, Resulting Numbers: [38, 60]
Generated Node #0,0,0: 22:[38, 60] Operation: 61-1=60
Exploring Operation: 38/1=38, Resulting Numbers: [61, 38]
Generated Node #0,0,1: 22:[61, 38] Operation: 38/1=38
Exploring Operation: 38-1=37, Resulting Numbers: [61, 37]
Generated Node #0,0,2: 22:[61, 37] Operation: 38-1=37
Exploring Operation: 38*1=38, Resulting Numbers: [61, 38]
Generated Node #0,0,3: 22:[61, 38] Operation: 38*1=38
Exploring Operation: 61-38=23, Resulting Numbers: [1, 23]
Generated Node #0,0,4: 22:[1, 23] Operation: 61-38=23
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 22:[1, 23], Operations: ['78-17=61', '61-38=23']
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[17, 38, 1, 78], Operations: []
Exploring Operation: 78-17=61, Resulting Numbers: [38, 1, 61]
Generated Node #0,0: 22:[38, 1, 61] Operation: 78-17=61
Moving to Node #0,0
Current State: 22:[38, 1, 61], Operations: ['78-17=61']
Exploring Operation: 61-38=23, Resulting Numbers: [1, 23]
Generated Node #0,0,4: 22:[1, 23] Operation: 61-38=23
Moving to Node #0,0,4
Current State: 22:[1, 23], Operations: ['78-17=61', '61-38=23']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
90,
7,
7,
6
] | 84 | [
"90+7=97",
"7+6=13",
"97-13=84"
] | Current State: 84:[90, 7, 7, 6], Operations: []
Exploring Operation: 90+7=97, Resulting Numbers: [6, 97]
Generated Node #2: [6, 97] from Operation: 90+7=97
Current State: 84:[6, 97], Operations: ['90+7=97']
Exploring Operation: 7+6=13, Resulting Numbers: [97, 13]
Generated Node #3: [97, 13] from Operation: 7+6=13
Current State: 84:[97, 13], Operations: ['90+7=97', '7+6=13']
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[90, 7, 7, 6], Operations: []
Exploring Operation: 90-7=83, Resulting Numbers: [7, 6, 83]
Generated Node #0,0: 84:[7, 6, 83] Operation: 90-7=83
Exploring Operation: 90-6=84, Resulting Numbers: [7, 7, 84]
Generated Node #0,1: 84:[7, 7, 84] Operation: 90-6=84
Exploring Operation: 90-7=83, Resulting Numbers: [7, 6, 83]
Generated Node #0,2: 84:[7, 6, 83] Operation: 90-7=83
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[7, 7, 84], Operations: ['90-6=84']
Exploring Operation: 84/7=12, Resulting Numbers: [7, 12]
Generated Node #0,1,0: 84:[7, 12] Operation: 84/7=12
Exploring Operation: 7+7=14, Resulting Numbers: [84, 14]
Generated Node #0,1,1: 84:[84, 14] Operation: 7+7=14
Exploring Operation: 84/7=12, Resulting Numbers: [7, 12]
Generated Node #0,1,2: 84:[7, 12] Operation: 84/7=12
Moving to Node #0,1,0
Current State: 84:[7, 12], Operations: ['90-6=84', '84/7=12']
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[90, 7, 7, 6], Operations: []
Exploring Operation: 90-6=84, Resulting Numbers: [7, 7, 84]
Generated Node #0,1: 84:[7, 7, 84] Operation: 90-6=84
Moving to Node #0,1
Current State: 84:[7, 7, 84], Operations: ['90-6=84']
Exploring Operation: 84/7=12, Resulting Numbers: [7, 12]
Generated Node #0,1,0: 84:[7, 12] Operation: 84/7=12
Moving to Node #0,1,0
Current State: 84:[7, 12], Operations: ['90-6=84', '84/7=12']
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
13,
45,
14,
2
] | 86 | [
"13+45=58",
"14*2=28",
"58+28=86"
] | Current State: 86:[13, 45, 14, 2], Operations: []
Exploring Operation: 13+45=58, Resulting Numbers: [14, 2, 58]
Generated Node #2: [14, 2, 58] from Operation: 13+45=58
Current State: 86:[14, 2, 58], Operations: ['13+45=58']
Exploring Operation: 14*2=28, Resulting Numbers: [58, 28]
Generated Node #3: [58, 28] from Operation: 14*2=28
Current State: 86:[58, 28], Operations: ['13+45=58', '14*2=28']
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[13, 45, 14, 2], Operations: []
Exploring Operation: 45-13=32, Resulting Numbers: [14, 2, 32]
Generated Node #0,0: 86:[14, 2, 32] Operation: 45-13=32
Exploring Operation: 13+14=27, Resulting Numbers: [45, 2, 27]
Generated Node #0,1: 86:[45, 2, 27] Operation: 13+14=27
Exploring Operation: 13-2=11, Resulting Numbers: [45, 14, 11]
Generated Node #0,2: 86:[45, 14, 11] Operation: 13-2=11
Exploring Operation: 14-13=1, Resulting Numbers: [45, 2, 1]
Generated Node #0,3: 86:[45, 2, 1] Operation: 14-13=1
Exploring Operation: 14/2=7, Resulting Numbers: [13, 45, 7]
Generated Node #0,4: 86:[13, 45, 7] Operation: 14/2=7
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[45, 2, 1], Operations: ['14-13=1']
Exploring Operation: 45/1=45, Resulting Numbers: [2, 45]
Generated Node #0,3,0: 86:[2, 45] Operation: 45/1=45
Exploring Operation: 45-2=43, Resulting Numbers: [1, 43]
Generated Node #0,3,1: 86:[1, 43] Operation: 45-2=43
Exploring Operation: 2*1=2, Resulting Numbers: [45, 2]
Generated Node #0,3,2: 86:[45, 2] Operation: 2*1=2
Exploring Operation: 45-1=44, Resulting Numbers: [2, 44]
Generated Node #0,3,3: 86:[2, 44] Operation: 45-1=44
Exploring Operation: 45*1=45, Resulting Numbers: [2, 45]
Generated Node #0,3,4: 86:[2, 45] Operation: 45*1=45
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 86:[1, 43], Operations: ['14-13=1', '45-2=43']
Exploring Operation: 1+43=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 1*43=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,86 unequal: No Solution
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 86:[2, 44], Operations: ['14-13=1', '45-1=44']
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,86 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,86 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 86:[2, 45], Operations: ['14-13=1', '45/1=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,86 unequal: No Solution
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 86:[45, 2], Operations: ['14-13=1', '2*1=2']
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 86:[2, 45], Operations: ['14-13=1', '45*1=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[45, 2, 27], Operations: ['13+14=27']
Exploring Operation: 45-27=18, Resulting Numbers: [2, 18]
Generated Node #0,1,0: 86:[2, 18] Operation: 45-27=18
Exploring Operation: 2+27=29, Resulting Numbers: [45, 29]
Generated Node #0,1,1: 86:[45, 29] Operation: 2+27=29
Exploring Operation: 2*27=54, Resulting Numbers: [45, 54]
Generated Node #0,1,2: 86:[45, 54] Operation: 2*27=54
Exploring Operation: 45-2=43, Resulting Numbers: [27, 43]
Generated Node #0,1,3: 86:[27, 43] Operation: 45-2=43
Exploring Operation: 45+27=72, Resulting Numbers: [2, 72]
Generated Node #0,1,4: 86:[2, 72] Operation: 45+27=72
Moving to Node #0,1,2
Current State: 86:[45, 54], Operations: ['13+14=27', '2*27=54']
Exploring Operation: 54-45=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 45+54=99, Resulting Numbers: [99]
99,86 unequal: No Solution
Exploring Operation: 45*54=2430, Resulting Numbers: [2430]
2430,86 unequal: No Solution
Moving to Node #0,1,4
Current State: 86:[2, 72], Operations: ['13+14=27', '45+27=72']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,86 unequal: No Solution
Exploring Operation: 2*72=144, Resulting Numbers: [144]
144,86 unequal: No Solution
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,86 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[2, 18], Operations: ['13+14=27', '45-27=18']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,86 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[45, 29], Operations: ['13+14=27', '2+27=29']
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,86 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,86 unequal: No Solution
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,86 unequal: No Solution
Moving to Node #0,1,3
Current State: 86:[27, 43], Operations: ['13+14=27', '45-2=43']
Exploring Operation: 27*43=1161, Resulting Numbers: [1161]
1161,86 unequal: No Solution
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,86 unequal: No Solution
Exploring Operation: 27+43=70, Resulting Numbers: [70]
70,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 86:[13, 45, 7], Operations: ['14/2=7']
Exploring Operation: 13*7=91, Resulting Numbers: [45, 91]
Generated Node #0,4,0: 86:[45, 91] Operation: 13*7=91
Exploring Operation: 13+45=58, Resulting Numbers: [7, 58]
Generated Node #0,4,1: 86:[7, 58] Operation: 13+45=58
Exploring Operation: 45-7=38, Resulting Numbers: [13, 38]
Generated Node #0,4,2: 86:[13, 38] Operation: 45-7=38
Exploring Operation: 13-7=6, Resulting Numbers: [45, 6]
Generated Node #0,4,3: 86:[45, 6] Operation: 13-7=6
Exploring Operation: 45-13=32, Resulting Numbers: [7, 32]
Generated Node #0,4,4: 86:[7, 32] Operation: 45-13=32
Moving to Node #0,4,3
Current State: 86:[45, 6], Operations: ['14/2=7', '13-7=6']
Exploring Operation: 45+6=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 45*6=270, Resulting Numbers: [270]
270,86 unequal: No Solution
Moving to Node #0,4,0
Current State: 86:[45, 91], Operations: ['14/2=7', '13*7=91']
Exploring Operation: 45*91=4095, Resulting Numbers: [4095]
4095,86 unequal: No Solution
Exploring Operation: 45+91=136, Resulting Numbers: [136]
136,86 unequal: No Solution
Exploring Operation: 91-45=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Moving to Node #0,4,2
Current State: 86:[13, 38], Operations: ['14/2=7', '45-7=38']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 13*38=494, Resulting Numbers: [494]
494,86 unequal: No Solution
Exploring Operation: 13+38=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Moving to Node #0,4,4
Current State: 86:[7, 32], Operations: ['14/2=7', '45-13=32']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,86 unequal: No Solution
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Moving to Node #0,4,1
Current State: 86:[7, 58], Operations: ['14/2=7', '13+45=58']
Exploring Operation: 7*58=406, Resulting Numbers: [406]
406,86 unequal: No Solution
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,86 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,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,0
Current State: 86:[14, 2, 32], Operations: ['45-13=32']
Exploring Operation: 14/2=7, Resulting Numbers: [32, 7]
Generated Node #0,0,0: 86:[32, 7] Operation: 14/2=7
Exploring Operation: 32-14=18, Resulting Numbers: [2, 18]
Generated Node #0,0,1: 86:[2, 18] Operation: 32-14=18
Exploring Operation: 14-2=12, Resulting Numbers: [32, 12]
Generated Node #0,0,2: 86:[32, 12] Operation: 14-2=12
Exploring Operation: 2+32=34, Resulting Numbers: [14, 34]
Generated Node #0,0,3: 86:[14, 34] Operation: 2+32=34
Exploring Operation: 14+32=46, Resulting Numbers: [2, 46]
Generated Node #0,0,4: 86:[2, 46] Operation: 14+32=46
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 86:[2, 46], Operations: ['45-13=32', '14+32=46']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,86 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,86 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[32, 7], Operations: ['45-13=32', '14/2=7']
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[2, 18], Operations: ['45-13=32', '32-14=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 86:[32, 12], Operations: ['45-13=32', '14-2=12']
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,86 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 86:[14, 34], Operations: ['45-13=32', '2+32=34']
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,86 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[45, 14, 11], Operations: ['13-2=11']
Exploring Operation: 45+14=59, Resulting Numbers: [11, 59]
Generated Node #0,2,0: 86:[11, 59] Operation: 45+14=59
Exploring Operation: 14-11=3, Resulting Numbers: [45, 3]
Generated Node #0,2,1: 86:[45, 3] Operation: 14-11=3
Exploring Operation: 45-14=31, Resulting Numbers: [11, 31]
Generated Node #0,2,2: 86:[11, 31] Operation: 45-14=31
Exploring Operation: 14+11=25, Resulting Numbers: [45, 25]
Generated Node #0,2,3: 86:[45, 25] Operation: 14+11=25
Exploring Operation: 45-11=34, Resulting Numbers: [14, 34]
Generated Node #0,2,4: 86:[14, 34] Operation: 45-11=34
Moving to Node #0,2,1
Current State: 86:[45, 3], Operations: ['13-2=11', '14-11=3']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,86 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 45*3=135, Resulting Numbers: [135]
135,86 unequal: No Solution
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Moving to Node #0,2,3
Current State: 86:[45, 25], Operations: ['13-2=11', '14+11=25']
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,86 unequal: No Solution
Exploring Operation: 45*25=1125, Resulting Numbers: [1125]
1125,86 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[11, 31], Operations: ['13-2=11', '45-14=31']
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,86 unequal: No Solution
Exploring Operation: 11*31=341, Resulting Numbers: [341]
341,86 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Moving to Node #0,2,4
Current State: 86:[14, 34], Operations: ['13-2=11', '45-11=34']
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,86 unequal: No Solution
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[11, 59], Operations: ['13-2=11', '45+14=59']
Exploring Operation: 11+59=70, Resulting Numbers: [70]
70,86 unequal: No Solution
Exploring Operation: 11*59=649, Resulting Numbers: [649]
649,86 unequal: No Solution
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,86 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 |
[
66,
63,
28,
3
] | 34 | [
"66-63=3",
"28+3=31",
"3+31=34"
] | Current State: 34:[66, 63, 28, 3], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [28, 3, 3]
Generated Node #2: [28, 3, 3] from Operation: 66-63=3
Current State: 34:[28, 3, 3], Operations: ['66-63=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,34 equal: Goal Reached
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[66, 63, 28, 3], Operations: []
Exploring Operation: 66-28=38, Resulting Numbers: [63, 3, 38]
Generated Node #0,0: 34:[63, 3, 38] Operation: 66-28=38
Exploring Operation: 66-63=3, Resulting Numbers: [28, 3, 3]
Generated Node #0,1: 34:[28, 3, 3] Operation: 66-63=3
Exploring Operation: 63-28=35, Resulting Numbers: [66, 3, 35]
Generated Node #0,2: 34:[66, 3, 35] Operation: 63-28=35
Exploring Operation: 63/3=21, Resulting Numbers: [66, 28, 21]
Generated Node #0,3: 34:[66, 28, 21] Operation: 63/3=21
Exploring Operation: 66/3=22, Resulting Numbers: [63, 28, 22]
Generated Node #0,4: 34:[63, 28, 22] Operation: 66/3=22
Moving to Node #0,1
Current State: 34:[28, 3, 3], Operations: ['66-63=3']
Exploring Operation: 3-3=0, Resulting Numbers: [28, 0]
Generated Node #0,1,0: 34:[28, 0] Operation: 3-3=0
Exploring Operation: 3/3=1, Resulting Numbers: [28, 1]
Generated Node #0,1,1: 34:[28, 1] Operation: 3/3=1
Exploring Operation: 28-3=25, Resulting Numbers: [3, 25]
Generated Node #0,1,2: 34:[3, 25] Operation: 28-3=25
Exploring Operation: 28+3=31, Resulting Numbers: [3, 31]
Generated Node #0,1,3: 34:[3, 31] Operation: 28+3=31
Exploring Operation: 28+3=31, Resulting Numbers: [3, 31]
Generated Node #0,1,4: 34:[3, 31] Operation: 28+3=31
Moving to Node #0,2
Current State: 34:[66, 3, 35], Operations: ['63-28=35']
Exploring Operation: 66+3=69, Resulting Numbers: [35, 69]
Generated Node #0,2,0: 34:[35, 69] Operation: 66+3=69
Exploring Operation: 66/3=22, Resulting Numbers: [35, 22]
Generated Node #0,2,1: 34:[35, 22] Operation: 66/3=22
Exploring Operation: 66-35=31, Resulting Numbers: [3, 31]
Generated Node #0,2,2: 34:[3, 31] Operation: 66-35=31
Exploring Operation: 66-3=63, Resulting Numbers: [35, 63]
Generated Node #0,2,3: 34:[35, 63] Operation: 66-3=63
Exploring Operation: 35-3=32, Resulting Numbers: [66, 32]
Generated Node #0,2,4: 34:[66, 32] Operation: 35-3=32
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[3, 31], Operations: ['63-28=35', '66-35=31']
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[66, 63, 28, 3], Operations: []
Exploring Operation: 63-28=35, Resulting Numbers: [66, 3, 35]
Generated Node #0,2: 34:[66, 3, 35] Operation: 63-28=35
Moving to Node #0,2
Current State: 34:[66, 3, 35], Operations: ['63-28=35']
Exploring Operation: 66-35=31, Resulting Numbers: [3, 31]
Generated Node #0,2,2: 34:[3, 31] Operation: 66-35=31
Moving to Node #0,2,2
Current State: 34:[3, 31], Operations: ['63-28=35', '66-35=31']
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
31,
87,
93,
96
] | 90 | [
"93-87=6",
"31*6=186",
"186-96=90"
] | Current State: 90:[31, 87, 93, 96], Operations: []
Exploring Operation: 93-87=6, Resulting Numbers: [31, 96, 6]
Generated Node #2: [31, 96, 6] from Operation: 93-87=6
Current State: 90:[31, 96, 6], Operations: ['93-87=6']
Exploring Operation: 31*6=186, Resulting Numbers: [96, 186]
Generated Node #3: [96, 186] from Operation: 31*6=186
Current State: 90:[96, 186], Operations: ['93-87=6', '31*6=186']
Exploring Operation: 186-96=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[31, 87, 93, 96], Operations: []
Exploring Operation: 96-87=9, Resulting Numbers: [31, 93, 9]
Generated Node #0,0: 90:[31, 93, 9] Operation: 96-87=9
Exploring Operation: 93-87=6, Resulting Numbers: [31, 96, 6]
Generated Node #0,1: 90:[31, 96, 6] Operation: 93-87=6
Exploring Operation: 93/31=3, Resulting Numbers: [87, 96, 3]
Generated Node #0,2: 90:[87, 96, 3] Operation: 93/31=3
Exploring Operation: 96-93=3, Resulting Numbers: [31, 87, 3]
Generated Node #0,3: 90:[31, 87, 3] Operation: 96-93=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[31, 93, 9], Operations: ['96-87=9']
Exploring Operation: 31+9=40, Resulting Numbers: [93, 40]
Generated Node #0,0,0: 90:[93, 40] Operation: 31+9=40
Exploring Operation: 31-9=22, Resulting Numbers: [93, 22]
Generated Node #0,0,1: 90:[93, 22] Operation: 31-9=22
Exploring Operation: 93/31=3, Resulting Numbers: [9, 3]
Generated Node #0,0,2: 90:[9, 3] Operation: 93/31=3
Exploring Operation: 93-9=84, Resulting Numbers: [31, 84]
Generated Node #0,0,3: 90:[31, 84] Operation: 93-9=84
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[9, 3], Operations: ['96-87=9', '93/31=3']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[93, 22], Operations: ['96-87=9', '31-9=22']
Exploring Operation: 93+22=115, Resulting Numbers: [115]
115,90 unequal: No Solution
Exploring Operation: 93*22=2046, Resulting Numbers: [2046]
2046,90 unequal: No Solution
Exploring Operation: 93-22=71, Resulting Numbers: [71]
71,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 90:[31, 84], Operations: ['96-87=9', '93-9=84']
Exploring Operation: 31*84=2604, Resulting Numbers: [2604]
2604,90 unequal: No Solution
Exploring Operation: 84-31=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 31+84=115, Resulting Numbers: [115]
115,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[93, 40], Operations: ['96-87=9', '31+9=40']
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 93+40=133, Resulting Numbers: [133]
133,90 unequal: No Solution
Exploring Operation: 93*40=3720, Resulting Numbers: [3720]
3720,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[31, 87, 3], Operations: ['96-93=3']
Exploring Operation: 31*3=93, Resulting Numbers: [87, 93]
Generated Node #0,3,0: 90:[87, 93] Operation: 31*3=93
Exploring Operation: 87/3=29, Resulting Numbers: [31, 29]
Generated Node #0,3,1: 90:[31, 29] Operation: 87/3=29
Exploring Operation: 87+3=90, Resulting Numbers: [31, 90]
Generated Node #0,3,2: 90:[31, 90] Operation: 87+3=90
Exploring Operation: 31-3=28, Resulting Numbers: [87, 28]
Generated Node #0,3,3: 90:[87, 28] Operation: 31-3=28
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 90:[31, 90], Operations: ['96-93=3', '87+3=90']
Exploring Operation: 31*90=2790, Resulting Numbers: [2790]
2790,90 unequal: No Solution
Exploring Operation: 31+90=121, Resulting Numbers: [121]
121,90 unequal: No Solution
Exploring Operation: 90-31=59, Resulting Numbers: [59]
59,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 90:[31, 29], Operations: ['96-93=3', '87/3=29']
Exploring Operation: 31+29=60, Resulting Numbers: [60]
60,90 unequal: No Solution
Exploring Operation: 31*29=899, Resulting Numbers: [899]
899,90 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 90:[87, 28], Operations: ['96-93=3', '31-3=28']
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 87*28=2436, Resulting Numbers: [2436]
2436,90 unequal: No Solution
Exploring Operation: 87+28=115, Resulting Numbers: [115]
115,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 90:[87, 93], Operations: ['96-93=3', '31*3=93']
Exploring Operation: 93-87=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 87+93=180, Resulting Numbers: [180]
180,90 unequal: No Solution
Exploring Operation: 87*93=8091, Resulting Numbers: [8091]
8091,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[31, 96, 6], Operations: ['93-87=6']
Exploring Operation: 31+6=37, Resulting Numbers: [96, 37]
Generated Node #0,1,0: 90:[96, 37] Operation: 31+6=37
Exploring Operation: 96/6=16, Resulting Numbers: [31, 16]
Generated Node #0,1,1: 90:[31, 16] Operation: 96/6=16
Exploring Operation: 31-6=25, Resulting Numbers: [96, 25]
Generated Node #0,1,2: 90:[96, 25] Operation: 31-6=25
Exploring Operation: 96-6=90, Resulting Numbers: [31, 90]
Generated Node #0,1,3: 90:[31, 90] Operation: 96-6=90
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 90:[31, 90], Operations: ['93-87=6', '96-6=90']
Exploring Operation: 90-31=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 31+90=121, Resulting Numbers: [121]
121,90 unequal: No Solution
Exploring Operation: 31*90=2790, Resulting Numbers: [2790]
2790,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[31, 16], Operations: ['93-87=6', '96/6=16']
Exploring Operation: 31*16=496, Resulting Numbers: [496]
496,90 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 90:[96, 25], Operations: ['93-87=6', '31-6=25']
Exploring Operation: 96+25=121, Resulting Numbers: [121]
121,90 unequal: No Solution
Exploring Operation: 96*25=2400, Resulting Numbers: [2400]
2400,90 unequal: No Solution
Exploring Operation: 96-25=71, Resulting Numbers: [71]
71,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[96, 37], Operations: ['93-87=6', '31+6=37']
Exploring Operation: 96-37=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 96*37=3552, Resulting Numbers: [3552]
3552,90 unequal: No Solution
Exploring Operation: 96+37=133, Resulting Numbers: [133]
133,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[87, 96, 3], Operations: ['93/31=3']
Exploring Operation: 96-87=9, Resulting Numbers: [3, 9]
Generated Node #0,2,0: 90:[3, 9] Operation: 96-87=9
Exploring Operation: 87+3=90, Resulting Numbers: [96, 90]
Generated Node #0,2,1: 90:[96, 90] Operation: 87+3=90
Exploring Operation: 96-3=93, Resulting Numbers: [87, 93]
Generated Node #0,2,2: 90:[87, 93] Operation: 96-3=93
Exploring Operation: 96/3=32, Resulting Numbers: [87, 32]
Generated Node #0,2,3: 90:[87, 32] Operation: 96/3=32
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 90:[3, 9], Operations: ['93/31=3', '96-87=9']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 90:[87, 32], Operations: ['93/31=3', '96/3=32']
Exploring Operation: 87+32=119, Resulting Numbers: [119]
119,90 unequal: No Solution
Exploring Operation: 87-32=55, Resulting Numbers: [55]
55,90 unequal: No Solution
Exploring Operation: 87*32=2784, Resulting Numbers: [2784]
2784,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 90:[96, 90], Operations: ['93/31=3', '87+3=90']
Exploring Operation: 96*90=8640, Resulting Numbers: [8640]
8640,90 unequal: No Solution
Exploring Operation: 96-90=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 96+90=186, Resulting Numbers: [186]
186,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 90:[87, 93], Operations: ['93/31=3', '96-3=93']
Exploring Operation: 87*93=8091, Resulting Numbers: [8091]
8091,90 unequal: No Solution
Exploring Operation: 87+93=180, Resulting Numbers: [180]
180,90 unequal: No Solution
Exploring Operation: 93-87=6, Resulting Numbers: [6]
6,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
84,
42,
23,
96
] | 14 | [
"84*23=1932",
"42+96=138",
"1932/138=14"
] | Current State: 14:[84, 42, 23, 96], Operations: []
Exploring Operation: 84*23=1932, Resulting Numbers: [42, 96, 1932]
Generated Node #2: [42, 96, 1932] from Operation: 84*23=1932
Current State: 14:[42, 96, 1932], Operations: ['84*23=1932']
Exploring Operation: 42+96=138, Resulting Numbers: [1932, 138]
Generated Node #3: [1932, 138] from Operation: 42+96=138
Current State: 14:[1932, 138], Operations: ['84*23=1932', '42+96=138']
Exploring Operation: 1932/138=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[84, 42, 23, 96], Operations: []
Exploring Operation: 96-42=54, Resulting Numbers: [84, 23, 54]
Generated Node #0,0: 14:[84, 23, 54] Operation: 96-42=54
Exploring Operation: 84-42=42, Resulting Numbers: [23, 96, 42]
Generated Node #0,1: 14:[23, 96, 42] Operation: 84-42=42
Exploring Operation: 84/42=2, Resulting Numbers: [23, 96, 2]
Generated Node #0,2: 14:[23, 96, 2] Operation: 84/42=2
Exploring Operation: 96-84=12, Resulting Numbers: [42, 23, 12]
Generated Node #0,3: 14:[42, 23, 12] Operation: 96-84=12
Exploring Operation: 84-23=61, Resulting Numbers: [42, 96, 61]
Generated Node #0,4: 14:[42, 96, 61] Operation: 84-23=61
Moving to Node #0,3
Current State: 14:[42, 23, 12], Operations: ['96-84=12']
Exploring Operation: 23-12=11, Resulting Numbers: [42, 11]
Generated Node #0,3,0: 14:[42, 11] Operation: 23-12=11
Exploring Operation: 42-23=19, Resulting Numbers: [12, 19]
Generated Node #0,3,1: 14:[12, 19] Operation: 42-23=19
Exploring Operation: 42+12=54, Resulting Numbers: [23, 54]
Generated Node #0,3,2: 14:[23, 54] Operation: 42+12=54
Exploring Operation: 23+12=35, Resulting Numbers: [42, 35]
Generated Node #0,3,3: 14:[42, 35] Operation: 23+12=35
Exploring Operation: 42-12=30, Resulting Numbers: [23, 30]
Generated Node #0,3,4: 14:[23, 30] Operation: 42-12=30
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 14:[12, 19], Operations: ['96-84=12', '42-23=19']
Exploring Operation: 12*19=228, Resulting Numbers: [228]
228,14 unequal: No Solution
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,14 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 14:[23, 30], Operations: ['96-84=12', '42-12=30']
Exploring Operation: 23*30=690, Resulting Numbers: [690]
690,14 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 23+30=53, Resulting Numbers: [53]
53,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 14:[42, 11], Operations: ['96-84=12', '23-12=11']
Exploring Operation: 42+11=53, Resulting Numbers: [53]
53,14 unequal: No Solution
Exploring Operation: 42*11=462, Resulting Numbers: [462]
462,14 unequal: No Solution
Exploring Operation: 42-11=31, Resulting Numbers: [31]
31,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 14:[23, 54], Operations: ['96-84=12', '42+12=54']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,14 unequal: No Solution
Exploring Operation: 23+54=77, Resulting Numbers: [77]
77,14 unequal: No Solution
Exploring Operation: 23*54=1242, Resulting Numbers: [1242]
1242,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 14:[42, 35], Operations: ['96-84=12', '23+12=35']
Exploring Operation: 42*35=1470, Resulting Numbers: [1470]
1470,14 unequal: No Solution
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 42+35=77, Resulting Numbers: [77]
77,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 14:[23, 96, 2], Operations: ['84/42=2']
Exploring Operation: 23-2=21, Resulting Numbers: [96, 21]
Generated Node #0,2,0: 14:[96, 21] Operation: 23-2=21
Exploring Operation: 96-23=73, Resulting Numbers: [2, 73]
Generated Node #0,2,1: 14:[2, 73] Operation: 96-23=73
Exploring Operation: 23+2=25, Resulting Numbers: [96, 25]
Generated Node #0,2,2: 14:[96, 25] Operation: 23+2=25
Exploring Operation: 96-2=94, Resulting Numbers: [23, 94]
Generated Node #0,2,3: 14:[23, 94] Operation: 96-2=94
Exploring Operation: 96/2=48, Resulting Numbers: [23, 48]
Generated Node #0,2,4: 14:[23, 48] Operation: 96/2=48
Moving to Node #0,0
Current State: 14:[84, 23, 54], Operations: ['96-42=54']
Exploring Operation: 54-23=31, Resulting Numbers: [84, 31]
Generated Node #0,0,0: 14:[84, 31] Operation: 54-23=31
Exploring Operation: 84-23=61, Resulting Numbers: [54, 61]
Generated Node #0,0,1: 14:[54, 61] Operation: 84-23=61
Exploring Operation: 84-54=30, Resulting Numbers: [23, 30]
Generated Node #0,0,2: 14:[23, 30] Operation: 84-54=30
Exploring Operation: 84+54=138, Resulting Numbers: [23, 138]
Generated Node #0,0,3: 14:[23, 138] Operation: 84+54=138
Exploring Operation: 84+23=107, Resulting Numbers: [54, 107]
Generated Node #0,0,4: 14:[54, 107] Operation: 84+23=107
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 14:[23, 30], Operations: ['96-42=54', '84-54=30']
Exploring Operation: 23*30=690, Resulting Numbers: [690]
690,14 unequal: No Solution
Exploring Operation: 23+30=53, Resulting Numbers: [53]
53,14 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[84, 31], Operations: ['96-42=54', '54-23=31']
Exploring Operation: 84*31=2604, Resulting Numbers: [2604]
2604,14 unequal: No Solution
Exploring Operation: 84-31=53, Resulting Numbers: [53]
53,14 unequal: No Solution
Exploring Operation: 84+31=115, Resulting Numbers: [115]
115,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[54, 61], Operations: ['96-42=54', '84-23=61']
Exploring Operation: 54+61=115, Resulting Numbers: [115]
115,14 unequal: No Solution
Exploring Operation: 54*61=3294, Resulting Numbers: [3294]
3294,14 unequal: No Solution
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 14:[23, 138], Operations: ['96-42=54', '84+54=138']
Exploring Operation: 23+138=161, Resulting Numbers: [161]
161,14 unequal: No Solution
Exploring Operation: 138/23=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 23*138=3174, Resulting Numbers: [3174]
3174,14 unequal: No Solution
Exploring Operation: 138-23=115, Resulting Numbers: [115]
115,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 14:[54, 107], Operations: ['96-42=54', '84+23=107']
Exploring Operation: 54+107=161, Resulting Numbers: [161]
161,14 unequal: No Solution
Exploring Operation: 54*107=5778, Resulting Numbers: [5778]
5778,14 unequal: No Solution
Exploring Operation: 107-54=53, Resulting Numbers: [53]
53,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 14:[23, 96, 42], Operations: ['84-42=42']
Exploring Operation: 42-23=19, Resulting Numbers: [96, 19]
Generated Node #0,1,0: 14:[96, 19] Operation: 42-23=19
Exploring Operation: 23+42=65, Resulting Numbers: [96, 65]
Generated Node #0,1,1: 14:[96, 65] Operation: 23+42=65
Exploring Operation: 96-42=54, Resulting Numbers: [23, 54]
Generated Node #0,1,2: 14:[23, 54] Operation: 96-42=54
Exploring Operation: 23+96=119, Resulting Numbers: [42, 119]
Generated Node #0,1,3: 14:[42, 119] Operation: 23+96=119
Exploring Operation: 96-23=73, Resulting Numbers: [42, 73]
Generated Node #0,1,4: 14:[42, 73] Operation: 96-23=73
Moving to Node #0,4
Current State: 14:[42, 96, 61], Operations: ['84-23=61']
Exploring Operation: 61-42=19, Resulting Numbers: [96, 19]
Generated Node #0,4,0: 14:[96, 19] Operation: 61-42=19
Exploring Operation: 96-61=35, Resulting Numbers: [42, 35]
Generated Node #0,4,1: 14:[42, 35] Operation: 96-61=35
Exploring Operation: 42+61=103, Resulting Numbers: [96, 103]
Generated Node #0,4,2: 14:[96, 103] Operation: 42+61=103
Exploring Operation: 96-42=54, Resulting Numbers: [61, 54]
Generated Node #0,4,3: 14:[61, 54] Operation: 96-42=54
Exploring Operation: 42+96=138, Resulting Numbers: [61, 138]
Generated Node #0,4,4: 14:[61, 138] Operation: 42+96=138
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 14:[42, 35], Operations: ['84-23=61', '96-61=35']
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 42+35=77, Resulting Numbers: [77]
77,14 unequal: No Solution
Exploring Operation: 42*35=1470, Resulting Numbers: [1470]
1470,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 14:[96, 19], Operations: ['84-23=61', '61-42=19']
Exploring Operation: 96-19=77, Resulting Numbers: [77]
77,14 unequal: No Solution
Exploring Operation: 96+19=115, Resulting Numbers: [115]
115,14 unequal: No Solution
Exploring Operation: 96*19=1824, Resulting Numbers: [1824]
1824,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 14:[61, 54], Operations: ['84-23=61', '96-42=54']
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 61*54=3294, Resulting Numbers: [3294]
3294,14 unequal: No Solution
Exploring Operation: 61+54=115, Resulting Numbers: [115]
115,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 14:[96, 103], Operations: ['84-23=61', '42+61=103']
Exploring Operation: 103-96=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 96+103=199, Resulting Numbers: [199]
199,14 unequal: No Solution
Exploring Operation: 96*103=9888, Resulting Numbers: [9888]
9888,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 14:[61, 138], Operations: ['84-23=61', '42+96=138']
Exploring Operation: 61+138=199, Resulting Numbers: [199]
199,14 unequal: No Solution
Exploring Operation: 138-61=77, Resulting Numbers: [77]
77,14 unequal: No Solution
Exploring Operation: 61*138=8418, Resulting Numbers: [8418]
8418,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,4
Current State: 14:[23, 48], Operations: ['84/42=2', '96/2=48']
Exploring Operation: 23*48=1104, Resulting Numbers: [1104]
1104,14 unequal: No Solution
Exploring Operation: 23+48=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[23, 54], Operations: ['84-42=42', '96-42=54']
Exploring Operation: 23*54=1242, Resulting Numbers: [1242]
1242,14 unequal: No Solution
Exploring Operation: 23+54=77, Resulting Numbers: [77]
77,14 unequal: No Solution
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[2, 73], Operations: ['84/42=2', '96-23=73']
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,14 unequal: No Solution
Exploring Operation: 2*73=146, Resulting Numbers: [146]
146,14 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[96, 19], Operations: ['84-42=42', '42-23=19']
Exploring Operation: 96*19=1824, Resulting Numbers: [1824]
1824,14 unequal: No Solution
Exploring Operation: 96+19=115, Resulting Numbers: [115]
115,14 unequal: No Solution
Exploring Operation: 96-19=77, Resulting Numbers: [77]
77,14 unequal: No Solution
Moving to Node #0,1,4
Current State: 14:[42, 73], Operations: ['84-42=42', '96-23=73']
Exploring Operation: 42+73=115, Resulting Numbers: [115]
115,14 unequal: No Solution
Exploring Operation: 42*73=3066, Resulting Numbers: [3066]
3066,14 unequal: No Solution
Exploring Operation: 73-42=31, Resulting Numbers: [31]
31,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[96, 21], Operations: ['84/42=2', '23-2=21']
Exploring Operation: 96*21=2016, Resulting Numbers: [2016]
2016,14 unequal: No Solution
Exploring Operation: 96+21=117, Resulting Numbers: [117]
117,14 unequal: No Solution
Exploring Operation: 96-21=75, Resulting Numbers: [75]
75,14 unequal: No Solution
Moving to Node #0,2,3
Current State: 14:[23, 94], Operations: ['84/42=2', '96-2=94']
Exploring Operation: 23*94=2162, Resulting Numbers: [2162]
2162,14 unequal: No Solution
Exploring Operation: 94-23=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Exploring Operation: 23+94=117, Resulting Numbers: [117]
117,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[96, 25], Operations: ['84/42=2', '23+2=25']
Exploring Operation: 96+25=121, Resulting Numbers: [121]
121,14 unequal: No Solution
Exploring Operation: 96-25=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Exploring Operation: 96*25=2400, Resulting Numbers: [2400]
2400,14 unequal: No Solution
Moving to Node #0,1,3
Current State: 14:[42, 119], Operations: ['84-42=42', '23+96=119']
Exploring Operation: 119-42=77, Resulting Numbers: [77]
77,14 unequal: No Solution
Exploring Operation: 42*119=4998, Resulting Numbers: [4998]
4998,14 unequal: No Solution
Exploring Operation: 42+119=161, Resulting Numbers: [161]
161,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[96, 65], Operations: ['84-42=42', '23+42=65']
Exploring Operation: 96*65=6240, Resulting Numbers: [6240]
6240,14 unequal: No Solution
Exploring Operation: 96+65=161, Resulting Numbers: [161]
161,14 unequal: No Solution
Exploring Operation: 96-65=31, Resulting Numbers: [31]
31,14 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
19,
88,
85,
3
] | 89 | [
"19+3=22",
"88/22=4",
"85+4=89"
] | Current State: 89:[19, 88, 85, 3], Operations: []
Exploring Operation: 19+3=22, Resulting Numbers: [88, 85, 22]
Generated Node #2: [88, 85, 22] from Operation: 19+3=22
Current State: 89:[88, 85, 22], Operations: ['19+3=22']
Exploring Operation: 88/22=4, Resulting Numbers: [85, 4]
Generated Node #3: [85, 4] from Operation: 88/22=4
Current State: 89:[85, 4], Operations: ['19+3=22', '88/22=4']
Exploring Operation: 85+4=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[19, 88, 85, 3], Operations: []
Exploring Operation: 19*3=57, Resulting Numbers: [88, 85, 57]
Generated Node #0,0: 89:[88, 85, 57] Operation: 19*3=57
Exploring Operation: 19+3=22, Resulting Numbers: [88, 85, 22]
Generated Node #0,1: 89:[88, 85, 22] Operation: 19+3=22
Exploring Operation: 85+3=88, Resulting Numbers: [19, 88, 88]
Generated Node #0,2: 89:[19, 88, 88] Operation: 85+3=88
Moving to Node #0,0
Current State: 89:[88, 85, 57], Operations: ['19*3=57']
Exploring Operation: 88-57=31, Resulting Numbers: [85, 31]
Generated Node #0,0,0: 89:[85, 31] Operation: 88-57=31
Exploring Operation: 88+57=145, Resulting Numbers: [85, 145]
Generated Node #0,0,1: 89:[85, 145] Operation: 88+57=145
Exploring Operation: 85+57=142, Resulting Numbers: [88, 142]
Generated Node #0,0,2: 89:[88, 142] Operation: 85+57=142
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[88, 142], Operations: ['19*3=57', '85+57=142']
Exploring Operation: 88+142=230, Resulting Numbers: [230]
230,89 unequal: No Solution
Exploring Operation: 142-88=54, Resulting Numbers: [54]
54,89 unequal: No Solution
Exploring Operation: 88*142=12496, Resulting Numbers: [12496]
12496,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:[85, 145], Operations: ['19*3=57', '88+57=145']
Exploring Operation: 145-85=60, Resulting Numbers: [60]
60,89 unequal: No Solution
Exploring Operation: 85*145=12325, Resulting Numbers: [12325]
12325,89 unequal: No Solution
Exploring Operation: 85+145=230, Resulting Numbers: [230]
230,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:[85, 31], Operations: ['19*3=57', '88-57=31']
Exploring Operation: 85+31=116, Resulting Numbers: [116]
116,89 unequal: No Solution
Exploring Operation: 85-31=54, Resulting Numbers: [54]
54,89 unequal: No Solution
Exploring Operation: 85*31=2635, Resulting Numbers: [2635]
2635,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:[88, 85, 22], Operations: ['19+3=22']
Exploring Operation: 85+22=107, Resulting Numbers: [88, 107]
Generated Node #0,1,0: 89:[88, 107] Operation: 85+22=107
Exploring Operation: 88-22=66, Resulting Numbers: [85, 66]
Generated Node #0,1,1: 89:[85, 66] Operation: 88-22=66
Exploring Operation: 88+22=110, Resulting Numbers: [85, 110]
Generated Node #0,1,2: 89:[85, 110] Operation: 88+22=110
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[88, 107], Operations: ['19+3=22', '85+22=107']
Exploring Operation: 88*107=9416, Resulting Numbers: [9416]
9416,89 unequal: No Solution
Exploring Operation: 88+107=195, Resulting Numbers: [195]
195,89 unequal: No Solution
Exploring Operation: 107-88=19, Resulting Numbers: [19]
19,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:[85, 110], Operations: ['19+3=22', '88+22=110']
Exploring Operation: 85*110=9350, Resulting Numbers: [9350]
9350,89 unequal: No Solution
Exploring Operation: 110-85=25, Resulting Numbers: [25]
25,89 unequal: No Solution
Exploring Operation: 85+110=195, Resulting Numbers: [195]
195,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[85, 66], Operations: ['19+3=22', '88-22=66']
Exploring Operation: 85*66=5610, Resulting Numbers: [5610]
5610,89 unequal: No Solution
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,89 unequal: No Solution
Exploring Operation: 85+66=151, Resulting Numbers: [151]
151,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 89:[19, 88, 88], Operations: ['85+3=88']
Exploring Operation: 88-19=69, Resulting Numbers: [88, 69]
Generated Node #0,2,0: 89:[88, 69] Operation: 88-19=69
Exploring Operation: 19+88=107, Resulting Numbers: [88, 107]
Generated Node #0,2,1: 89:[88, 107] Operation: 19+88=107
Exploring Operation: 19+88=107, Resulting Numbers: [88, 107]
Generated Node #0,2,2: 89:[88, 107] Operation: 19+88=107
Moving to Node #0,2,1
Current State: 89:[88, 107], Operations: ['85+3=88', '19+88=107']
Exploring Operation: 88+107=195, Resulting Numbers: [195]
195,89 unequal: No Solution
Exploring Operation: 88*107=9416, Resulting Numbers: [9416]
9416,89 unequal: No Solution
Exploring Operation: 107-88=19, Resulting Numbers: [19]
19,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[88, 107], Operations: ['85+3=88', '19+88=107']
Exploring Operation: 88+107=195, Resulting Numbers: [195]
195,89 unequal: No Solution
Exploring Operation: 107-88=19, Resulting Numbers: [19]
19,89 unequal: No Solution
Exploring Operation: 88*107=9416, Resulting Numbers: [9416]
9416,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[88, 69], Operations: ['85+3=88', '88-19=69']
Exploring Operation: 88-69=19, Resulting Numbers: [19]
19,89 unequal: No Solution
Exploring Operation: 88*69=6072, Resulting Numbers: [6072]
6072,89 unequal: No Solution
Exploring Operation: 88+69=157, Resulting Numbers: [157]
157,89 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
94,
78,
62,
90
] | 35 | [
"94-90=4",
"78+62=140",
"140/4=35"
] | Current State: 35:[94, 78, 62, 90], Operations: []
Exploring Operation: 94-90=4, Resulting Numbers: [78, 62, 4]
Generated Node #2: [78, 62, 4] from Operation: 94-90=4
Current State: 35:[78, 62, 4], Operations: ['94-90=4']
Exploring Operation: 78+62=140, Resulting Numbers: [4, 140]
Generated Node #3: [4, 140] from Operation: 78+62=140
Current State: 35:[4, 140], Operations: ['94-90=4', '78+62=140']
Exploring Operation: 140/4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[94, 78, 62, 90], Operations: []
Exploring Operation: 94-90=4, Resulting Numbers: [78, 62, 4]
Generated Node #0,0: 35:[78, 62, 4] Operation: 94-90=4
Exploring Operation: 94-62=32, Resulting Numbers: [78, 90, 32]
Generated Node #0,1: 35:[78, 90, 32] Operation: 94-62=32
Exploring Operation: 94-78=16, Resulting Numbers: [62, 90, 16]
Generated Node #0,2: 35:[62, 90, 16] Operation: 94-78=16
Exploring Operation: 90-78=12, Resulting Numbers: [94, 62, 12]
Generated Node #0,3: 35:[94, 62, 12] Operation: 90-78=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[78, 62, 4], Operations: ['94-90=4']
Exploring Operation: 62-4=58, Resulting Numbers: [78, 58]
Generated Node #0,0,0: 35:[78, 58] Operation: 62-4=58
Exploring Operation: 78-62=16, Resulting Numbers: [4, 16]
Generated Node #0,0,1: 35:[4, 16] Operation: 78-62=16
Exploring Operation: 78+4=82, Resulting Numbers: [62, 82]
Generated Node #0,0,2: 35:[62, 82] Operation: 78+4=82
Exploring Operation: 78-4=74, Resulting Numbers: [62, 74]
Generated Node #0,0,3: 35:[62, 74] Operation: 78-4=74
Moving to Node #0,0,1
Current State: 35:[4, 16], Operations: ['94-90=4', '78-62=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,35 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Moving to Node #0,0,3
Current State: 35:[62, 74], Operations: ['94-90=4', '78-4=74']
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 62+74=136, Resulting Numbers: [136]
136,35 unequal: No Solution
Exploring Operation: 62*74=4588, Resulting Numbers: [4588]
4588,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[78, 58], Operations: ['94-90=4', '62-4=58']
Exploring Operation: 78*58=4524, Resulting Numbers: [4524]
4524,35 unequal: No Solution
Exploring Operation: 78+58=136, Resulting Numbers: [136]
136,35 unequal: No Solution
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[62, 82], Operations: ['94-90=4', '78+4=82']
Exploring Operation: 82-62=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 62+82=144, Resulting Numbers: [144]
144,35 unequal: No Solution
Exploring Operation: 62*82=5084, Resulting Numbers: [5084]
5084,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[62, 90, 16], Operations: ['94-78=16']
Exploring Operation: 62-16=46, Resulting Numbers: [90, 46]
Generated Node #0,2,0: 35:[90, 46] Operation: 62-16=46
Exploring Operation: 90-16=74, Resulting Numbers: [62, 74]
Generated Node #0,2,1: 35:[62, 74] Operation: 90-16=74
Exploring Operation: 90-62=28, Resulting Numbers: [16, 28]
Generated Node #0,2,2: 35:[16, 28] Operation: 90-62=28
Exploring Operation: 62+16=78, Resulting Numbers: [90, 78]
Generated Node #0,2,3: 35:[90, 78] Operation: 62+16=78
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 35:[16, 28], Operations: ['94-78=16', '90-62=28']
Exploring Operation: 16*28=448, Resulting Numbers: [448]
448,35 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 35:[90, 46], Operations: ['94-78=16', '62-16=46']
Exploring Operation: 90*46=4140, Resulting Numbers: [4140]
4140,35 unequal: No Solution
Exploring Operation: 90+46=136, Resulting Numbers: [136]
136,35 unequal: No Solution
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 35:[62, 74], Operations: ['94-78=16', '90-16=74']
Exploring Operation: 62*74=4588, Resulting Numbers: [4588]
4588,35 unequal: No Solution
Exploring Operation: 62+74=136, Resulting Numbers: [136]
136,35 unequal: No Solution
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 35:[90, 78], Operations: ['94-78=16', '62+16=78']
Exploring Operation: 90-78=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 90+78=168, Resulting Numbers: [168]
168,35 unequal: No Solution
Exploring Operation: 90*78=7020, Resulting Numbers: [7020]
7020,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[94, 62, 12], Operations: ['90-78=12']
Exploring Operation: 62-12=50, Resulting Numbers: [94, 50]
Generated Node #0,3,0: 35:[94, 50] Operation: 62-12=50
Exploring Operation: 94-12=82, Resulting Numbers: [62, 82]
Generated Node #0,3,1: 35:[62, 82] Operation: 94-12=82
Exploring Operation: 94+12=106, Resulting Numbers: [62, 106]
Generated Node #0,3,2: 35:[62, 106] Operation: 94+12=106
Exploring Operation: 94-62=32, Resulting Numbers: [12, 32]
Generated Node #0,3,3: 35:[12, 32] Operation: 94-62=32
Moving to Node #0,3,3
Current State: 35:[12, 32], Operations: ['90-78=12', '94-62=32']
Exploring Operation: 12*32=384, Resulting Numbers: [384]
384,35 unequal: No Solution
Exploring Operation: 12+32=44, Resulting Numbers: [44]
44,35 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Moving to Node #0,3,1
Current State: 35:[62, 82], Operations: ['90-78=12', '94-12=82']
Exploring Operation: 62*82=5084, Resulting Numbers: [5084]
5084,35 unequal: No Solution
Exploring Operation: 62+82=144, Resulting Numbers: [144]
144,35 unequal: No Solution
Exploring Operation: 82-62=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Moving to Node #0,3,0
Current State: 35:[94, 50], Operations: ['90-78=12', '62-12=50']
Exploring Operation: 94+50=144, Resulting Numbers: [144]
144,35 unequal: No Solution
Exploring Operation: 94-50=44, Resulting Numbers: [44]
44,35 unequal: No Solution
Exploring Operation: 94*50=4700, Resulting Numbers: [4700]
4700,35 unequal: No Solution
Moving to Node #0,3,2
Current State: 35:[62, 106], Operations: ['90-78=12', '94+12=106']
Exploring Operation: 62*106=6572, Resulting Numbers: [6572]
6572,35 unequal: No Solution
Exploring Operation: 106-62=44, Resulting Numbers: [44]
44,35 unequal: No Solution
Exploring Operation: 62+106=168, Resulting Numbers: [168]
168,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[78, 90, 32], Operations: ['94-62=32']
Exploring Operation: 78-32=46, Resulting Numbers: [90, 46]
Generated Node #0,1,0: 35:[90, 46] Operation: 78-32=46
Exploring Operation: 90-78=12, Resulting Numbers: [32, 12]
Generated Node #0,1,1: 35:[32, 12] Operation: 90-78=12
Exploring Operation: 78+32=110, Resulting Numbers: [90, 110]
Generated Node #0,1,2: 35:[90, 110] Operation: 78+32=110
Exploring Operation: 90-32=58, Resulting Numbers: [78, 58]
Generated Node #0,1,3: 35:[78, 58] Operation: 90-32=58
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 35:[32, 12], Operations: ['94-62=32', '90-78=12']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,35 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 35:[90, 46], Operations: ['94-62=32', '78-32=46']
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,35 unequal: No Solution
Exploring Operation: 90+46=136, Resulting Numbers: [136]
136,35 unequal: No Solution
Exploring Operation: 90*46=4140, Resulting Numbers: [4140]
4140,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 35:[78, 58], Operations: ['94-62=32', '90-32=58']
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 78*58=4524, Resulting Numbers: [4524]
4524,35 unequal: No Solution
Exploring Operation: 78+58=136, Resulting Numbers: [136]
136,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 35:[90, 110], Operations: ['94-62=32', '78+32=110']
Exploring Operation: 90*110=9900, Resulting Numbers: [9900]
9900,35 unequal: No Solution
Exploring Operation: 90+110=200, Resulting Numbers: [200]
200,35 unequal: No Solution
Exploring Operation: 110-90=20, Resulting Numbers: [20]
20,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
29,
40,
93,
6
] | 41 | [
"29*6=174",
"40+93=133",
"174-133=41"
] | Current State: 41:[29, 40, 93, 6], Operations: []
Exploring Operation: 29*6=174, Resulting Numbers: [40, 93, 174]
Generated Node #2: [40, 93, 174] from Operation: 29*6=174
Current State: 41:[40, 93, 174], Operations: ['29*6=174']
Exploring Operation: 40+93=133, Resulting Numbers: [174, 133]
Generated Node #3: [174, 133] from Operation: 40+93=133
Current State: 41:[174, 133], Operations: ['29*6=174', '40+93=133']
Exploring Operation: 174-133=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[29, 40, 93, 6], Operations: []
Exploring Operation: 93-40=53, Resulting Numbers: [29, 6, 53]
Generated Node #0,0: 41:[29, 6, 53] Operation: 93-40=53
Exploring Operation: 29+6=35, Resulting Numbers: [40, 93, 35]
Generated Node #0,1: 41:[40, 93, 35] Operation: 29+6=35
Exploring Operation: 93-6=87, Resulting Numbers: [29, 40, 87]
Generated Node #0,2: 41:[29, 40, 87] Operation: 93-6=87
Exploring Operation: 93-29=64, Resulting Numbers: [40, 6, 64]
Generated Node #0,3: 41:[40, 6, 64] Operation: 93-29=64
Moving to Node #0,0
Current State: 41:[29, 6, 53], Operations: ['93-40=53']
Exploring Operation: 29-6=23, Resulting Numbers: [53, 23]
Generated Node #0,0,0: 41:[53, 23] Operation: 29-6=23
Exploring Operation: 6+53=59, Resulting Numbers: [29, 59]
Generated Node #0,0,1: 41:[29, 59] Operation: 6+53=59
Exploring Operation: 53-6=47, Resulting Numbers: [29, 47]
Generated Node #0,0,2: 41:[29, 47] Operation: 53-6=47
Exploring Operation: 29+6=35, Resulting Numbers: [53, 35]
Generated Node #0,0,3: 41:[53, 35] Operation: 29+6=35
Moving to Node #0,2
Current State: 41:[29, 40, 87], Operations: ['93-6=87']
Exploring Operation: 87-40=47, Resulting Numbers: [29, 47]
Generated Node #0,2,0: 41:[29, 47] Operation: 87-40=47
Exploring Operation: 87/29=3, Resulting Numbers: [40, 3]
Generated Node #0,2,1: 41:[40, 3] Operation: 87/29=3
Exploring Operation: 87-29=58, Resulting Numbers: [40, 58]
Generated Node #0,2,2: 41:[40, 58] Operation: 87-29=58
Exploring Operation: 29+40=69, Resulting Numbers: [87, 69]
Generated Node #0,2,3: 41:[87, 69] Operation: 29+40=69
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[29, 47], Operations: ['93-6=87', '87-40=47']
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 29*47=1363, Resulting Numbers: [1363]
1363,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[40, 58], Operations: ['93-6=87', '87-29=58']
Exploring Operation: 40*58=2320, Resulting Numbers: [2320]
2320,41 unequal: No Solution
Exploring Operation: 40+58=98, Resulting Numbers: [98]
98,41 unequal: No Solution
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[40, 3], Operations: ['93-6=87', '87/29=3']
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,41 unequal: No Solution
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 41:[87, 69], Operations: ['93-6=87', '29+40=69']
Exploring Operation: 87*69=6003, Resulting Numbers: [6003]
6003,41 unequal: No Solution
Exploring Operation: 87-69=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 87+69=156, Resulting Numbers: [156]
156,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 41:[40, 93, 35], Operations: ['29+6=35']
Exploring Operation: 40-35=5, Resulting Numbers: [93, 5]
Generated Node #0,1,0: 41:[93, 5] Operation: 40-35=5
Exploring Operation: 93-40=53, Resulting Numbers: [35, 53]
Generated Node #0,1,1: 41:[35, 53] Operation: 93-40=53
Exploring Operation: 93-35=58, Resulting Numbers: [40, 58]
Generated Node #0,1,2: 41:[40, 58] Operation: 93-35=58
Exploring Operation: 40+35=75, Resulting Numbers: [93, 75]
Generated Node #0,1,3: 41:[93, 75] Operation: 40+35=75
Moving to Node #0,3
Current State: 41:[40, 6, 64], Operations: ['93-29=64']
Exploring Operation: 40+6=46, Resulting Numbers: [64, 46]
Generated Node #0,3,0: 41:[64, 46] Operation: 40+6=46
Exploring Operation: 6+64=70, Resulting Numbers: [40, 70]
Generated Node #0,3,1: 41:[40, 70] Operation: 6+64=70
Exploring Operation: 64-6=58, Resulting Numbers: [40, 58]
Generated Node #0,3,2: 41:[40, 58] Operation: 64-6=58
Exploring Operation: 40-6=34, Resulting Numbers: [64, 34]
Generated Node #0,3,3: 41:[64, 34] Operation: 40-6=34
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 41:[40, 58], Operations: ['93-29=64', '64-6=58']
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 40+58=98, Resulting Numbers: [98]
98,41 unequal: No Solution
Exploring Operation: 40*58=2320, Resulting Numbers: [2320]
2320,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 41:[64, 46], Operations: ['93-29=64', '40+6=46']
Exploring Operation: 64*46=2944, Resulting Numbers: [2944]
2944,41 unequal: No Solution
Exploring Operation: 64+46=110, Resulting Numbers: [110]
110,41 unequal: No Solution
Exploring Operation: 64-46=18, Resulting Numbers: [18]
18,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 41:[40, 70], Operations: ['93-29=64', '6+64=70']
Exploring Operation: 40+70=110, Resulting Numbers: [110]
110,41 unequal: No Solution
Exploring Operation: 40*70=2800, Resulting Numbers: [2800]
2800,41 unequal: No Solution
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 41:[64, 34], Operations: ['93-29=64', '40-6=34']
Exploring Operation: 64+34=98, Resulting Numbers: [98]
98,41 unequal: No Solution
Exploring Operation: 64-34=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 64*34=2176, Resulting Numbers: [2176]
2176,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 41:[29, 47], Operations: ['93-40=53', '53-6=47']
Exploring Operation: 29*47=1363, Resulting Numbers: [1363]
1363,41 unequal: No Solution
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[40, 58], Operations: ['29+6=35', '93-35=58']
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 40*58=2320, Resulting Numbers: [2320]
2320,41 unequal: No Solution
Exploring Operation: 40+58=98, Resulting Numbers: [98]
98,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[53, 35], Operations: ['93-40=53', '29+6=35']
Exploring Operation: 53+35=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 53*35=1855, Resulting Numbers: [1855]
1855,41 unequal: No Solution
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[35, 53], Operations: ['29+6=35', '93-40=53']
Exploring Operation: 35+53=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 35*53=1855, Resulting Numbers: [1855]
1855,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[53, 23], Operations: ['93-40=53', '29-6=23']
Exploring Operation: 53*23=1219, Resulting Numbers: [1219]
1219,41 unequal: No Solution
Exploring Operation: 53+23=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Exploring Operation: 53-23=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[29, 59], Operations: ['93-40=53', '6+53=59']
Exploring Operation: 29*59=1711, Resulting Numbers: [1711]
1711,41 unequal: No Solution
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 29+59=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Moving to Node #0,1,3
Current State: 41:[93, 75], Operations: ['29+6=35', '40+35=75']
Exploring Operation: 93-75=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 93+75=168, Resulting Numbers: [168]
168,41 unequal: No Solution
Exploring Operation: 93*75=6975, Resulting Numbers: [6975]
6975,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[93, 5], Operations: ['29+6=35', '40-35=5']
Exploring Operation: 93*5=465, Resulting Numbers: [465]
465,41 unequal: No Solution
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,41 unequal: No Solution
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,41 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
61,
51,
64,
2
] | 19 | [
"64-61=3",
"51/3=17",
"2+17=19"
] | Current State: 19:[61, 51, 64, 2], Operations: []
Exploring Operation: 64-61=3, Resulting Numbers: [51, 2, 3]
Generated Node #2: [51, 2, 3] from Operation: 64-61=3
Current State: 19:[51, 2, 3], Operations: ['64-61=3']
Exploring Operation: 51/3=17, Resulting Numbers: [2, 17]
Generated Node #3: [2, 17] from Operation: 51/3=17
Current State: 19:[2, 17], Operations: ['64-61=3', '51/3=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[61, 51, 64, 2], Operations: []
Exploring Operation: 64-51=13, Resulting Numbers: [61, 2, 13]
Generated Node #0,0: 19:[61, 2, 13] Operation: 64-51=13
Exploring Operation: 64-61=3, Resulting Numbers: [51, 2, 3]
Generated Node #0,1: 19:[51, 2, 3] Operation: 64-61=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[61, 2, 13], Operations: ['64-51=13']
Exploring Operation: 61-2=59, Resulting Numbers: [13, 59]
Generated Node #0,0,0: 19:[13, 59] Operation: 61-2=59
Exploring Operation: 61-13=48, Resulting Numbers: [2, 48]
Generated Node #0,0,1: 19:[2, 48] Operation: 61-13=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[13, 59], Operations: ['64-51=13', '61-2=59']
Exploring Operation: 13+59=72, Resulting Numbers: [72]
72,19 unequal: No Solution
Exploring Operation: 59-13=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,0,1
Current State: 19:[2, 48], Operations: ['64-51=13', '61-13=48']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,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:[51, 2, 3], Operations: ['64-61=3']
Exploring Operation: 2*3=6, Resulting Numbers: [51, 6]
Generated Node #0,1,0: 19:[51, 6] Operation: 2*3=6
Exploring Operation: 51/3=17, Resulting Numbers: [2, 17]
Generated Node #0,1,1: 19:[2, 17] Operation: 51/3=17
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[2, 17], Operations: ['64-61=3', '51/3=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[61, 51, 64, 2], Operations: []
Exploring Operation: 64-61=3, Resulting Numbers: [51, 2, 3]
Generated Node #0,1: 19:[51, 2, 3] Operation: 64-61=3
Moving to Node #0,1
Current State: 19:[51, 2, 3], Operations: ['64-61=3']
Exploring Operation: 51/3=17, Resulting Numbers: [2, 17]
Generated Node #0,1,1: 19:[2, 17] Operation: 51/3=17
Moving to Node #0,1,1
Current State: 19:[2, 17], Operations: ['64-61=3', '51/3=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
83,
2,
34,
79
] | 53 | [
"83*2=166",
"34+79=113",
"166-113=53"
] | Current State: 53:[83, 2, 34, 79], Operations: []
Exploring Operation: 83*2=166, Resulting Numbers: [34, 79, 166]
Generated Node #2: [34, 79, 166] from Operation: 83*2=166
Current State: 53:[34, 79, 166], Operations: ['83*2=166']
Exploring Operation: 34+79=113, Resulting Numbers: [166, 113]
Generated Node #3: [166, 113] from Operation: 34+79=113
Current State: 53:[166, 113], Operations: ['83*2=166', '34+79=113']
Exploring Operation: 166-113=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[83, 2, 34, 79], Operations: []
Exploring Operation: 2+34=36, Resulting Numbers: [83, 79, 36]
Generated Node #0,0: 53:[83, 79, 36] Operation: 2+34=36
Exploring Operation: 79-2=77, Resulting Numbers: [83, 34, 77]
Generated Node #0,1: 53:[83, 34, 77] Operation: 79-2=77
Exploring Operation: 83-2=81, Resulting Numbers: [34, 79, 81]
Generated Node #0,2: 53:[34, 79, 81] Operation: 83-2=81
Exploring Operation: 2*34=68, Resulting Numbers: [83, 79, 68]
Generated Node #0,3: 53:[83, 79, 68] Operation: 2*34=68
Moving to Node #0,3
Current State: 53:[83, 79, 68], Operations: ['2*34=68']
Exploring Operation: 83-68=15, Resulting Numbers: [79, 15]
Generated Node #0,3,0: 53:[79, 15] Operation: 83-68=15
Exploring Operation: 83-79=4, Resulting Numbers: [68, 4]
Generated Node #0,3,1: 53:[68, 4] Operation: 83-79=4
Exploring Operation: 83+79=162, Resulting Numbers: [68, 162]
Generated Node #0,3,2: 53:[68, 162] Operation: 83+79=162
Exploring Operation: 79-68=11, Resulting Numbers: [83, 11]
Generated Node #0,3,3: 53:[83, 11] Operation: 79-68=11
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 53:[79, 15], Operations: ['2*34=68', '83-68=15']
Exploring Operation: 79-15=64, Resulting Numbers: [64]
64,53 unequal: No Solution
Exploring Operation: 79+15=94, Resulting Numbers: [94]
94,53 unequal: No Solution
Exploring Operation: 79*15=1185, Resulting Numbers: [1185]
1185,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[68, 4], Operations: ['2*34=68', '83-79=4']
Exploring Operation: 68+4=72, Resulting Numbers: [72]
72,53 unequal: No Solution
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,53 unequal: No Solution
Exploring Operation: 68*4=272, Resulting Numbers: [272]
272,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 53:[83, 11], Operations: ['2*34=68', '79-68=11']
Exploring Operation: 83+11=94, Resulting Numbers: [94]
94,53 unequal: No Solution
Exploring Operation: 83-11=72, Resulting Numbers: [72]
72,53 unequal: No Solution
Exploring Operation: 83*11=913, Resulting Numbers: [913]
913,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 53:[68, 162], Operations: ['2*34=68', '83+79=162']
Exploring Operation: 68*162=11016, Resulting Numbers: [11016]
11016,53 unequal: No Solution
Exploring Operation: 68+162=230, Resulting Numbers: [230]
230,53 unequal: No Solution
Exploring Operation: 162-68=94, Resulting Numbers: [94]
94,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 53:[83, 34, 77], Operations: ['79-2=77']
Exploring Operation: 83-34=49, Resulting Numbers: [77, 49]
Generated Node #0,1,0: 53:[77, 49] Operation: 83-34=49
Exploring Operation: 77-34=43, Resulting Numbers: [83, 43]
Generated Node #0,1,1: 53:[83, 43] Operation: 77-34=43
Exploring Operation: 83+34=117, Resulting Numbers: [77, 117]
Generated Node #0,1,2: 53:[77, 117] Operation: 83+34=117
Exploring Operation: 83-77=6, Resulting Numbers: [34, 6]
Generated Node #0,1,3: 53:[34, 6] Operation: 83-77=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[77, 49], Operations: ['79-2=77', '83-34=49']
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 77+49=126, Resulting Numbers: [126]
126,53 unequal: No Solution
Exploring Operation: 77*49=3773, Resulting Numbers: [3773]
3773,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[83, 43], Operations: ['79-2=77', '77-34=43']
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 83+43=126, Resulting Numbers: [126]
126,53 unequal: No Solution
Exploring Operation: 83*43=3569, Resulting Numbers: [3569]
3569,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,3
Current State: 53:[34, 6], Operations: ['79-2=77', '83-77=6']
Exploring Operation: 34*6=204, Resulting Numbers: [204]
204,53 unequal: No Solution
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,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,2
Current State: 53:[77, 117], Operations: ['79-2=77', '83+34=117']
Exploring Operation: 77*117=9009, Resulting Numbers: [9009]
9009,53 unequal: No Solution
Exploring Operation: 117-77=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 77+117=194, Resulting Numbers: [194]
194,53 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: 53:[83, 79, 36], Operations: ['2+34=36']
Exploring Operation: 79-36=43, Resulting Numbers: [83, 43]
Generated Node #0,0,0: 53:[83, 43] Operation: 79-36=43
Exploring Operation: 83+36=119, Resulting Numbers: [79, 119]
Generated Node #0,0,1: 53:[79, 119] Operation: 83+36=119
Exploring Operation: 83-79=4, Resulting Numbers: [36, 4]
Generated Node #0,0,2: 53:[36, 4] Operation: 83-79=4
Exploring Operation: 83-36=47, Resulting Numbers: [79, 47]
Generated Node #0,0,3: 53:[79, 47] Operation: 83-36=47
Moving to Node #0,2
Current State: 53:[34, 79, 81], Operations: ['83-2=81']
Exploring Operation: 79-34=45, Resulting Numbers: [81, 45]
Generated Node #0,2,0: 53:[81, 45] Operation: 79-34=45
Exploring Operation: 81-34=47, Resulting Numbers: [79, 47]
Generated Node #0,2,1: 53:[79, 47] Operation: 81-34=47
Exploring Operation: 34+79=113, Resulting Numbers: [81, 113]
Generated Node #0,2,2: 53:[81, 113] Operation: 34+79=113
Exploring Operation: 81-79=2, Resulting Numbers: [34, 2]
Generated Node #0,2,3: 53:[34, 2] Operation: 81-79=2
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[79, 47], Operations: ['83-2=81', '81-34=47']
Exploring Operation: 79*47=3713, Resulting Numbers: [3713]
3713,53 unequal: No Solution
Exploring Operation: 79-47=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 79+47=126, Resulting Numbers: [126]
126,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[81, 45], Operations: ['83-2=81', '79-34=45']
Exploring Operation: 81*45=3645, Resulting Numbers: [3645]
3645,53 unequal: No Solution
Exploring Operation: 81-45=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 81+45=126, Resulting Numbers: [126]
126,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 53:[34, 2], Operations: ['83-2=81', '81-79=2']
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,53 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[81, 113], Operations: ['83-2=81', '34+79=113']
Exploring Operation: 81+113=194, Resulting Numbers: [194]
194,53 unequal: No Solution
Exploring Operation: 113-81=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 81*113=9153, Resulting Numbers: [9153]
9153,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 53:[79, 47], Operations: ['2+34=36', '83-36=47']
Exploring Operation: 79*47=3713, Resulting Numbers: [3713]
3713,53 unequal: No Solution
Exploring Operation: 79-47=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 79+47=126, Resulting Numbers: [126]
126,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[83, 43], Operations: ['2+34=36', '79-36=43']
Exploring Operation: 83*43=3569, Resulting Numbers: [3569]
3569,53 unequal: No Solution
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 83+43=126, Resulting Numbers: [126]
126,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[36, 4], Operations: ['2+34=36', '83-79=4']
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,53 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[79, 119], Operations: ['2+34=36', '83+36=119']
Exploring Operation: 79*119=9401, Resulting Numbers: [9401]
9401,53 unequal: No Solution
Exploring Operation: 119-79=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 79+119=198, Resulting Numbers: [198]
198,53 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
80,
8,
4,
17
] | 85 | [
"80-8=72",
"17-4=13",
"72+13=85"
] | Current State: 85:[80, 8, 4, 17], Operations: []
Exploring Operation: 80-8=72, Resulting Numbers: [4, 17, 72]
Generated Node #2: [4, 17, 72] from Operation: 80-8=72
Current State: 85:[4, 17, 72], Operations: ['80-8=72']
Exploring Operation: 17-4=13, Resulting Numbers: [72, 13]
Generated Node #3: [72, 13] from Operation: 17-4=13
Current State: 85:[72, 13], Operations: ['80-8=72', '17-4=13']
Exploring Operation: 72+13=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[80, 8, 4, 17], Operations: []
Exploring Operation: 80+4=84, Resulting Numbers: [8, 17, 84]
Generated Node #0,0: 85:[8, 17, 84] Operation: 80+4=84
Exploring Operation: 80/8=10, Resulting Numbers: [4, 17, 10]
Generated Node #0,1: 85:[4, 17, 10] Operation: 80/8=10
Exploring Operation: 80+8=88, Resulting Numbers: [4, 17, 88]
Generated Node #0,2: 85:[4, 17, 88] Operation: 80+8=88
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[8, 17, 84], Operations: ['80+4=84']
Exploring Operation: 8+17=25, Resulting Numbers: [84, 25]
Generated Node #0,0,0: 85:[84, 25] Operation: 8+17=25
Exploring Operation: 17-8=9, Resulting Numbers: [84, 9]
Generated Node #0,0,1: 85:[84, 9] Operation: 17-8=9
Exploring Operation: 8+84=92, Resulting Numbers: [17, 92]
Generated Node #0,0,2: 85:[17, 92] Operation: 8+84=92
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 85:[84, 9], Operations: ['80+4=84', '17-8=9']
Exploring Operation: 84*9=756, Resulting Numbers: [756]
756,85 unequal: No Solution
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,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,0,2
Current State: 85:[17, 92], Operations: ['80+4=84', '8+84=92']
Exploring Operation: 17*92=1564, Resulting Numbers: [1564]
1564,85 unequal: No Solution
Exploring Operation: 92-17=75, Resulting Numbers: [75]
75,85 unequal: No Solution
Exploring Operation: 17+92=109, Resulting Numbers: [109]
109,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,0,0
Current State: 85:[84, 25], Operations: ['80+4=84', '8+17=25']
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 84*25=2100, Resulting Numbers: [2100]
2100,85 unequal: No Solution
Exploring Operation: 84+25=109, Resulting Numbers: [109]
109,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:[4, 17, 88], Operations: ['80+8=88']
Exploring Operation: 4+17=21, Resulting Numbers: [88, 21]
Generated Node #0,2,0: 85:[88, 21] Operation: 4+17=21
Exploring Operation: 88/4=22, Resulting Numbers: [17, 22]
Generated Node #0,2,1: 85:[17, 22] Operation: 88/4=22
Exploring Operation: 88-4=84, Resulting Numbers: [17, 84]
Generated Node #0,2,2: 85:[17, 84] Operation: 88-4=84
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 85:[17, 84], Operations: ['80+8=88', '88-4=84']
Exploring Operation: 17+84=101, Resulting Numbers: [101]
101,85 unequal: No Solution
Exploring Operation: 17*84=1428, Resulting Numbers: [1428]
1428,85 unequal: No Solution
Exploring Operation: 84-17=67, Resulting Numbers: [67]
67,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:[17, 22], Operations: ['80+8=88', '88/4=22']
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,85 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,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,0
Current State: 85:[88, 21], Operations: ['80+8=88', '4+17=21']
Exploring Operation: 88-21=67, Resulting Numbers: [67]
67,85 unequal: No Solution
Exploring Operation: 88*21=1848, Resulting Numbers: [1848]
1848,85 unequal: No Solution
Exploring Operation: 88+21=109, Resulting Numbers: [109]
109,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,1
Current State: 85:[4, 17, 10], Operations: ['80/8=10']
Exploring Operation: 4+10=14, Resulting Numbers: [17, 14]
Generated Node #0,1,0: 85:[17, 14] Operation: 4+10=14
Exploring Operation: 17-10=7, Resulting Numbers: [4, 7]
Generated Node #0,1,1: 85:[4, 7] Operation: 17-10=7
Exploring Operation: 10-4=6, Resulting Numbers: [17, 6]
Generated Node #0,1,2: 85:[17, 6] Operation: 10-4=6
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 85:[17, 6], Operations: ['80/8=10', '10-4=6']
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,85 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,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,0
Current State: 85:[17, 14], Operations: ['80/8=10', '4+10=14']
Exploring Operation: 17+14=31, Resulting Numbers: [31]
31,85 unequal: No Solution
Exploring Operation: 17*14=238, Resulting Numbers: [238]
238,85 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,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:[4, 7], Operations: ['80/8=10', '17-10=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,85 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,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_3 | mult_heuristic |
[
3,
24,
50,
27
] | 41 | [
"27-24=3",
"3*3=9",
"50-9=41"
] | Current State: 41:[3, 24, 50, 27], Operations: []
Exploring Operation: 27-24=3, Resulting Numbers: [3, 50, 3]
Generated Node #2: [3, 50, 3] from Operation: 27-24=3
Current State: 41:[3, 50, 3], Operations: ['27-24=3']
Exploring Operation: 3*3=9, Resulting Numbers: [50, 9]
Generated Node #3: [50, 9] from Operation: 3*3=9
Current State: 41:[50, 9], Operations: ['27-24=3', '3*3=9']
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[3, 24, 50, 27], Operations: []
Exploring Operation: 3+24=27, Resulting Numbers: [50, 27, 27]
Generated Node #0,0: 41:[50, 27, 27] Operation: 3+24=27
Exploring Operation: 3+27=30, Resulting Numbers: [24, 50, 30]
Generated Node #0,1: 41:[24, 50, 30] Operation: 3+27=30
Exploring Operation: 50-3=47, Resulting Numbers: [24, 27, 47]
Generated Node #0,2: 41:[24, 27, 47] Operation: 50-3=47
Exploring Operation: 24-3=21, Resulting Numbers: [50, 27, 21]
Generated Node #0,3: 41:[50, 27, 21] Operation: 24-3=21
Moving to Node #0,0
Current State: 41:[50, 27, 27], Operations: ['3+24=27']
Exploring Operation: 50-27=23, Resulting Numbers: [27, 23]
Generated Node #0,0,0: 41:[27, 23] Operation: 50-27=23
Exploring Operation: 27+27=54, Resulting Numbers: [50, 54]
Generated Node #0,0,1: 41:[50, 54] Operation: 27+27=54
Exploring Operation: 50-27=23, Resulting Numbers: [27, 23]
Generated Node #0,0,2: 41:[27, 23] Operation: 50-27=23
Exploring Operation: 27/27=1, Resulting Numbers: [50, 1]
Generated Node #0,0,3: 41:[50, 1] Operation: 27/27=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[50, 54], Operations: ['3+24=27', '27+27=54']
Exploring Operation: 50*54=2700, Resulting Numbers: [2700]
2700,41 unequal: No Solution
Exploring Operation: 50+54=104, Resulting Numbers: [104]
104,41 unequal: No Solution
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,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:[27, 23], Operations: ['3+24=27', '50-27=23']
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 27*23=621, Resulting Numbers: [621]
621,41 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,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:[27, 23], Operations: ['3+24=27', '50-27=23']
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 27*23=621, Resulting Numbers: [621]
621,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:[50, 1], Operations: ['3+24=27', '27/27=1']
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,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:[24, 27, 47], Operations: ['50-3=47']
Exploring Operation: 47-24=23, Resulting Numbers: [27, 23]
Generated Node #0,2,0: 41:[27, 23] Operation: 47-24=23
Exploring Operation: 27-24=3, Resulting Numbers: [47, 3]
Generated Node #0,2,1: 41:[47, 3] Operation: 27-24=3
Exploring Operation: 24+27=51, Resulting Numbers: [47, 51]
Generated Node #0,2,2: 41:[47, 51] Operation: 24+27=51
Exploring Operation: 47-27=20, Resulting Numbers: [24, 20]
Generated Node #0,2,3: 41:[24, 20] Operation: 47-27=20
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[47, 51], Operations: ['50-3=47', '24+27=51']
Exploring Operation: 47+51=98, Resulting Numbers: [98]
98,41 unequal: No Solution
Exploring Operation: 47*51=2397, Resulting Numbers: [2397]
2397,41 unequal: No Solution
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[27, 23], Operations: ['50-3=47', '47-24=23']
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 27*23=621, Resulting Numbers: [621]
621,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 41:[24, 20], Operations: ['50-3=47', '47-27=20']
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,41 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[47, 3], Operations: ['50-3=47', '27-24=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 41:[24, 50, 30], Operations: ['3+27=30']
Exploring Operation: 24+50=74, Resulting Numbers: [30, 74]
Generated Node #0,1,0: 41:[30, 74] Operation: 24+50=74
Exploring Operation: 50-24=26, Resulting Numbers: [30, 26]
Generated Node #0,1,1: 41:[30, 26] Operation: 50-24=26
Exploring Operation: 50-30=20, Resulting Numbers: [24, 20]
Generated Node #0,1,2: 41:[24, 20] Operation: 50-30=20
Exploring Operation: 24+30=54, Resulting Numbers: [50, 54]
Generated Node #0,1,3: 41:[50, 54] Operation: 24+30=54
Moving to Node #0,3
Current State: 41:[50, 27, 21], Operations: ['24-3=21']
Exploring Operation: 50-21=29, Resulting Numbers: [27, 29]
Generated Node #0,3,0: 41:[27, 29] Operation: 50-21=29
Exploring Operation: 50-27=23, Resulting Numbers: [21, 23]
Generated Node #0,3,1: 41:[21, 23] Operation: 50-27=23
Exploring Operation: 27+21=48, Resulting Numbers: [50, 48]
Generated Node #0,3,2: 41:[50, 48] Operation: 27+21=48
Exploring Operation: 50+21=71, Resulting Numbers: [27, 71]
Generated Node #0,3,3: 41:[27, 71] Operation: 50+21=71
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 41:[50, 48], Operations: ['24-3=21', '27+21=48']
Exploring Operation: 50+48=98, Resulting Numbers: [98]
98,41 unequal: No Solution
Exploring Operation: 50-48=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 50*48=2400, Resulting Numbers: [2400]
2400,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 41:[27, 29], Operations: ['24-3=21', '50-21=29']
Exploring Operation: 27*29=783, Resulting Numbers: [783]
783,41 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 27+29=56, Resulting Numbers: [56]
56,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 41:[21, 23], Operations: ['24-3=21', '50-27=23']
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 41:[27, 71], Operations: ['24-3=21', '50+21=71']
Exploring Operation: 27*71=1917, Resulting Numbers: [1917]
1917,41 unequal: No Solution
Exploring Operation: 71-27=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 27+71=98, Resulting Numbers: [98]
98,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 41:[50, 54], Operations: ['3+27=30', '24+30=54']
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 50+54=104, Resulting Numbers: [104]
104,41 unequal: No Solution
Exploring Operation: 50*54=2700, Resulting Numbers: [2700]
2700,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[30, 26], Operations: ['3+27=30', '50-24=26']
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 30+26=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 30*26=780, Resulting Numbers: [780]
780,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[24, 20], Operations: ['3+27=30', '50-30=20']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[30, 74], Operations: ['3+27=30', '24+50=74']
Exploring Operation: 30*74=2220, Resulting Numbers: [2220]
2220,41 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 30+74=104, Resulting Numbers: [104]
104,41 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
34,
67,
60,
22
] | 63 | [
"34+67=101",
"60-22=38",
"101-38=63"
] | Current State: 63:[34, 67, 60, 22], Operations: []
Exploring Operation: 34+67=101, Resulting Numbers: [60, 22, 101]
Generated Node #2: [60, 22, 101] from Operation: 34+67=101
Current State: 63:[60, 22, 101], Operations: ['34+67=101']
Exploring Operation: 60-22=38, Resulting Numbers: [101, 38]
Generated Node #3: [101, 38] from Operation: 60-22=38
Current State: 63:[101, 38], Operations: ['34+67=101', '60-22=38']
Exploring Operation: 101-38=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[34, 67, 60, 22], Operations: []
Exploring Operation: 60-34=26, Resulting Numbers: [67, 22, 26]
Generated Node #0,0: 63:[67, 22, 26] Operation: 60-34=26
Moving to Node #0,0
Current State: 63:[67, 22, 26], Operations: ['60-34=26']
Exploring Operation: 26-22=4, Resulting Numbers: [67, 4]
Generated Node #0,0,0: 63:[67, 4] Operation: 26-22=4
Moving to Node #0,0,0
Current State: 63:[67, 4], Operations: ['60-34=26', '26-22=4']
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[34, 67, 60, 22], Operations: []
Exploring Operation: 60-34=26, Resulting Numbers: [67, 22, 26]
Generated Node #0,0: 63:[67, 22, 26] Operation: 60-34=26
Moving to Node #0,0
Current State: 63:[67, 22, 26], Operations: ['60-34=26']
Exploring Operation: 26-22=4, Resulting Numbers: [67, 4]
Generated Node #0,0,0: 63:[67, 4] Operation: 26-22=4
Moving to Node #0,0,0
Current State: 63:[67, 4], Operations: ['60-34=26', '26-22=4']
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
59,
53,
7,
13
] | 36 | [
"59-53=6",
"13-7=6",
"6*6=36"
] | Current State: 36:[59, 53, 7, 13], Operations: []
Exploring Operation: 59-53=6, Resulting Numbers: [7, 13, 6]
Generated Node #2: [7, 13, 6] from Operation: 59-53=6
Current State: 36:[7, 13, 6], Operations: ['59-53=6']
Exploring Operation: 13-7=6, Resulting Numbers: [6, 6]
Generated Node #3: [6, 6] from Operation: 13-7=6
Current State: 36:[6, 6], Operations: ['59-53=6', '13-7=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[59, 53, 7, 13], Operations: []
Exploring Operation: 59-7=52, Resulting Numbers: [53, 13, 52]
Generated Node #0,0: 36:[53, 13, 52] Operation: 59-7=52
Exploring Operation: 53-13=40, Resulting Numbers: [59, 7, 40]
Generated Node #0,1: 36:[59, 7, 40] Operation: 53-13=40
Exploring Operation: 59-53=6, Resulting Numbers: [7, 13, 6]
Generated Node #0,2: 36:[7, 13, 6] Operation: 59-53=6
Exploring Operation: 59-13=46, Resulting Numbers: [53, 7, 46]
Generated Node #0,3: 36:[53, 7, 46] Operation: 59-13=46
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[7, 13, 6], Operations: ['59-53=6']
Exploring Operation: 7+13=20, Resulting Numbers: [6, 20]
Generated Node #0,2,0: 36:[6, 20] Operation: 7+13=20
Exploring Operation: 7-6=1, Resulting Numbers: [13, 1]
Generated Node #0,2,1: 36:[13, 1] Operation: 7-6=1
Exploring Operation: 13-7=6, Resulting Numbers: [6, 6]
Generated Node #0,2,2: 36:[6, 6] Operation: 13-7=6
Exploring Operation: 7+6=13, Resulting Numbers: [13, 13]
Generated Node #0,2,3: 36:[13, 13] Operation: 7+6=13
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 36:[6, 6], Operations: ['59-53=6', '13-7=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[59, 53, 7, 13], Operations: []
Exploring Operation: 59-53=6, Resulting Numbers: [7, 13, 6]
Generated Node #0,2: 36:[7, 13, 6] Operation: 59-53=6
Moving to Node #0,2
Current State: 36:[7, 13, 6], Operations: ['59-53=6']
Exploring Operation: 13-7=6, Resulting Numbers: [6, 6]
Generated Node #0,2,2: 36:[6, 6] Operation: 13-7=6
Moving to Node #0,2,2
Current State: 36:[6, 6], Operations: ['59-53=6', '13-7=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
76,
26,
53,
95
] | 60 | [
"76+26=102",
"95-53=42",
"102-42=60"
] | Current State: 60:[76, 26, 53, 95], Operations: []
Exploring Operation: 76+26=102, Resulting Numbers: [53, 95, 102]
Generated Node #2: [53, 95, 102] from Operation: 76+26=102
Current State: 60:[53, 95, 102], Operations: ['76+26=102']
Exploring Operation: 95-53=42, Resulting Numbers: [102, 42]
Generated Node #3: [102, 42] from Operation: 95-53=42
Current State: 60:[102, 42], Operations: ['76+26=102', '95-53=42']
Exploring Operation: 102-42=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[76, 26, 53, 95], Operations: []
Exploring Operation: 95-26=69, Resulting Numbers: [76, 53, 69]
Generated Node #0,0: 60:[76, 53, 69] Operation: 95-26=69
Exploring Operation: 95-76=19, Resulting Numbers: [26, 53, 19]
Generated Node #0,1: 60:[26, 53, 19] Operation: 95-76=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[26, 53, 19], Operations: ['95-76=19']
Exploring Operation: 26-19=7, Resulting Numbers: [53, 7]
Generated Node #0,1,0: 60:[53, 7] Operation: 26-19=7
Exploring Operation: 53-26=27, Resulting Numbers: [19, 27]
Generated Node #0,1,1: 60:[19, 27] Operation: 53-26=27
Moving to Node #0,1,1
Current State: 60:[19, 27], Operations: ['95-76=19', '53-26=27']
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[53, 7], Operations: ['95-76=19', '26-19=7']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[76, 26, 53, 95], Operations: []
Exploring Operation: 95-76=19, Resulting Numbers: [26, 53, 19]
Generated Node #0,1: 60:[26, 53, 19] Operation: 95-76=19
Moving to Node #0,1
Current State: 60:[26, 53, 19], Operations: ['95-76=19']
Exploring Operation: 26-19=7, Resulting Numbers: [53, 7]
Generated Node #0,1,0: 60:[53, 7] Operation: 26-19=7
Moving to Node #0,1,0
Current State: 60:[53, 7], Operations: ['95-76=19', '26-19=7']
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
5,
64,
16,
92
] | 39 | [
"5+64=69",
"16+92=108",
"108-69=39"
] | Current State: 39:[5, 64, 16, 92], Operations: []
Exploring Operation: 5+64=69, Resulting Numbers: [16, 92, 69]
Generated Node #2: [16, 92, 69] from Operation: 5+64=69
Current State: 39:[16, 92, 69], Operations: ['5+64=69']
Exploring Operation: 16+92=108, Resulting Numbers: [69, 108]
Generated Node #3: [69, 108] from Operation: 16+92=108
Current State: 39:[69, 108], Operations: ['5+64=69', '16+92=108']
Exploring Operation: 108-69=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[5, 64, 16, 92], Operations: []
Exploring Operation: 64/16=4, Resulting Numbers: [5, 92, 4]
Generated Node #0,0: 39:[5, 92, 4] Operation: 64/16=4
Exploring Operation: 64-5=59, Resulting Numbers: [16, 92, 59]
Generated Node #0,1: 39:[16, 92, 59] Operation: 64-5=59
Exploring Operation: 92-64=28, Resulting Numbers: [5, 16, 28]
Generated Node #0,2: 39:[5, 16, 28] Operation: 92-64=28
Exploring Operation: 64-16=48, Resulting Numbers: [5, 92, 48]
Generated Node #0,3: 39:[5, 92, 48] Operation: 64-16=48
Exploring Operation: 92-16=76, Resulting Numbers: [5, 64, 76]
Generated Node #0,4: 39:[5, 64, 76] Operation: 92-16=76
Moving to Node #0,2
Current State: 39:[5, 16, 28], Operations: ['92-64=28']
Exploring Operation: 16-5=11, Resulting Numbers: [28, 11]
Generated Node #0,2,0: 39:[28, 11] Operation: 16-5=11
Exploring Operation: 16+28=44, Resulting Numbers: [5, 44]
Generated Node #0,2,1: 39:[5, 44] Operation: 16+28=44
Exploring Operation: 28-16=12, Resulting Numbers: [5, 12]
Generated Node #0,2,2: 39:[5, 12] Operation: 28-16=12
Exploring Operation: 5+28=33, Resulting Numbers: [16, 33]
Generated Node #0,2,3: 39:[16, 33] Operation: 5+28=33
Exploring Operation: 28-5=23, Resulting Numbers: [16, 23]
Generated Node #0,2,4: 39:[16, 23] Operation: 28-5=23
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 39:[5, 12], Operations: ['92-64=28', '28-16=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 39:[5, 44], Operations: ['92-64=28', '16+28=44']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[5, 64, 16, 92], Operations: []
Exploring Operation: 92-64=28, Resulting Numbers: [5, 16, 28]
Generated Node #0,2: 39:[5, 16, 28] Operation: 92-64=28
Moving to Node #0,2
Current State: 39:[5, 16, 28], Operations: ['92-64=28']
Exploring Operation: 16+28=44, Resulting Numbers: [5, 44]
Generated Node #0,2,1: 39:[5, 44] Operation: 16+28=44
Moving to Node #0,2,1
Current State: 39:[5, 44], Operations: ['92-64=28', '16+28=44']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
13,
41,
3,
16
] | 34 | [
"13+41=54",
"54/3=18",
"16+18=34"
] | Current State: 34:[13, 41, 3, 16], Operations: []
Exploring Operation: 13+41=54, Resulting Numbers: [3, 16, 54]
Generated Node #2: [3, 16, 54] from Operation: 13+41=54
Current State: 34:[3, 16, 54], Operations: ['13+41=54']
Exploring Operation: 54/3=18, Resulting Numbers: [16, 18]
Generated Node #3: [16, 18] from Operation: 54/3=18
Current State: 34:[16, 18], Operations: ['13+41=54', '54/3=18']
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[13, 41, 3, 16], Operations: []
Exploring Operation: 13+3=16, Resulting Numbers: [41, 16, 16]
Generated Node #0,0: 34:[41, 16, 16] Operation: 13+3=16
Exploring Operation: 16-13=3, Resulting Numbers: [41, 3, 3]
Generated Node #0,1: 34:[41, 3, 3] Operation: 16-13=3
Exploring Operation: 41-13=28, Resulting Numbers: [3, 16, 28]
Generated Node #0,2: 34:[3, 16, 28] Operation: 41-13=28
Exploring Operation: 41-3=38, Resulting Numbers: [13, 16, 38]
Generated Node #0,3: 34:[13, 16, 38] Operation: 41-3=38
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[3, 16, 28], Operations: ['41-13=28']
Exploring Operation: 28-16=12, Resulting Numbers: [3, 12]
Generated Node #0,2,0: 34:[3, 12] Operation: 28-16=12
Exploring Operation: 3+28=31, Resulting Numbers: [16, 31]
Generated Node #0,2,1: 34:[16, 31] Operation: 3+28=31
Exploring Operation: 3+16=19, Resulting Numbers: [28, 19]
Generated Node #0,2,2: 34:[28, 19] Operation: 3+16=19
Exploring Operation: 28-3=25, Resulting Numbers: [16, 25]
Generated Node #0,2,3: 34:[16, 25] Operation: 28-3=25
Moving to Node #0,2,1
Current State: 34:[16, 31], Operations: ['41-13=28', '3+28=31']
Exploring Operation: 16*31=496, Resulting Numbers: [496]
496,34 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 16+31=47, Resulting Numbers: [47]
47,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[3, 12], Operations: ['41-13=28', '28-16=12']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[28, 19], Operations: ['41-13=28', '3+16=19']
Exploring Operation: 28*19=532, Resulting Numbers: [532]
532,34 unequal: No Solution
Exploring Operation: 28+19=47, Resulting Numbers: [47]
47,34 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[16, 25], Operations: ['41-13=28', '28-3=25']
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,34 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,34 unequal: No Solution
No 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: 34:[41, 16, 16], Operations: ['13+3=16']
Exploring Operation: 16/16=1, Resulting Numbers: [41, 1]
Generated Node #0,0,0: 34:[41, 1] Operation: 16/16=1
Exploring Operation: 41-16=25, Resulting Numbers: [16, 25]
Generated Node #0,0,1: 34:[16, 25] Operation: 41-16=25
Exploring Operation: 16+16=32, Resulting Numbers: [41, 32]
Generated Node #0,0,2: 34:[41, 32] Operation: 16+16=32
Exploring Operation: 41-16=25, Resulting Numbers: [16, 25]
Generated Node #0,0,3: 34:[16, 25] Operation: 41-16=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[41, 1], Operations: ['13+3=16', '16/16=1']
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,34 unequal: No Solution
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[16, 25], Operations: ['13+3=16', '41-16=25']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,34 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 34:[41, 32], Operations: ['13+3=16', '16+16=32']
Exploring Operation: 41*32=1312, Resulting Numbers: [1312]
1312,34 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Exploring Operation: 41+32=73, Resulting Numbers: [73]
73,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 34:[16, 25], Operations: ['13+3=16', '41-16=25']
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[41, 3, 3], Operations: ['16-13=3']
Exploring Operation: 41-3=38, Resulting Numbers: [3, 38]
Generated Node #0,1,0: 34:[3, 38] Operation: 41-3=38
Exploring Operation: 3-3=0, Resulting Numbers: [41, 0]
Generated Node #0,1,1: 34:[41, 0] Operation: 3-3=0
Exploring Operation: 3/3=1, Resulting Numbers: [41, 1]
Generated Node #0,1,2: 34:[41, 1] Operation: 3/3=1
Exploring Operation: 41-3=38, Resulting Numbers: [3, 38]
Generated Node #0,1,3: 34:[3, 38] Operation: 41-3=38
Moving to Node #0,1,0
Current State: 34:[3, 38], Operations: ['16-13=3', '41-3=38']
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,34 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Moving to Node #0,1,3
Current State: 34:[3, 38], Operations: ['16-13=3', '41-3=38']
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[41, 1], Operations: ['16-13=3', '3/3=1']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,34 unequal: No Solution
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[41, 0], Operations: ['16-13=3', '3-3=0']
Exploring Operation: 41+0=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 41-0=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 41*0=0, Resulting Numbers: [0]
0,34 unequal: No Solution
No 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: 34:[13, 16, 38], Operations: ['41-3=38']
Exploring Operation: 38-13=25, Resulting Numbers: [16, 25]
Generated Node #0,3,0: 34:[16, 25] Operation: 38-13=25
Exploring Operation: 38-16=22, Resulting Numbers: [13, 22]
Generated Node #0,3,1: 34:[13, 22] Operation: 38-16=22
Exploring Operation: 13+16=29, Resulting Numbers: [38, 29]
Generated Node #0,3,2: 34:[38, 29] Operation: 13+16=29
Exploring Operation: 16-13=3, Resulting Numbers: [38, 3]
Generated Node #0,3,3: 34:[38, 3] Operation: 16-13=3
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 34:[38, 3], Operations: ['41-3=38', '16-13=3']
Exploring Operation: 38*3=114, Resulting Numbers: [114]
114,34 unequal: No Solution
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 34:[16, 25], Operations: ['41-3=38', '38-13=25']
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,34 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 34:[13, 22], Operations: ['41-3=38', '38-16=22']
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,34 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 34:[38, 29], Operations: ['41-3=38', '13+16=29']
Exploring Operation: 38*29=1102, Resulting Numbers: [1102]
1102,34 unequal: No Solution
Exploring Operation: 38+29=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
84,
87,
18,
51
] | 57 | [
"87-84=3",
"18/3=6",
"51+6=57"
] | Current State: 57:[84, 87, 18, 51], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [18, 51, 3]
Generated Node #2: [18, 51, 3] from Operation: 87-84=3
Current State: 57:[18, 51, 3], Operations: ['87-84=3']
Exploring Operation: 18/3=6, Resulting Numbers: [51, 6]
Generated Node #3: [51, 6] from Operation: 18/3=6
Current State: 57:[51, 6], Operations: ['87-84=3', '18/3=6']
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[84, 87, 18, 51], Operations: []
Exploring Operation: 84-18=66, Resulting Numbers: [87, 51, 66]
Generated Node #0,0: 57:[87, 51, 66] Operation: 84-18=66
Exploring Operation: 84-51=33, Resulting Numbers: [87, 18, 33]
Generated Node #0,1: 57:[87, 18, 33] Operation: 84-51=33
Exploring Operation: 87-18=69, Resulting Numbers: [84, 51, 69]
Generated Node #0,2: 57:[84, 51, 69] Operation: 87-18=69
Exploring Operation: 87-84=3, Resulting Numbers: [18, 51, 3]
Generated Node #0,3: 57:[18, 51, 3] Operation: 87-84=3
Moving to Node #0,3
Current State: 57:[18, 51, 3], Operations: ['87-84=3']
Exploring Operation: 51/3=17, Resulting Numbers: [18, 17]
Generated Node #0,3,0: 57:[18, 17] Operation: 51/3=17
Exploring Operation: 18+3=21, Resulting Numbers: [51, 21]
Generated Node #0,3,1: 57:[51, 21] Operation: 18+3=21
Exploring Operation: 51+3=54, Resulting Numbers: [18, 54]
Generated Node #0,3,2: 57:[18, 54] Operation: 51+3=54
Exploring Operation: 18*3=54, Resulting Numbers: [51, 54]
Generated Node #0,3,3: 57:[51, 54] Operation: 18*3=54
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 57:[18, 17], Operations: ['87-84=3', '51/3=17']
Exploring Operation: 18*17=306, Resulting Numbers: [306]
306,57 unequal: No Solution
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,57 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,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,3,2
Current State: 57:[18, 54], Operations: ['87-84=3', '51+3=54']
Exploring Operation: 18*54=972, Resulting Numbers: [972]
972,57 unequal: No Solution
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 18+54=72, Resulting Numbers: [72]
72,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,3,1
Current State: 57:[51, 21], Operations: ['87-84=3', '18+3=21']
Exploring Operation: 51+21=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,57 unequal: No Solution
Exploring Operation: 51*21=1071, Resulting Numbers: [1071]
1071,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,3,3
Current State: 57:[51, 54], Operations: ['87-84=3', '18*3=54']
Exploring Operation: 51*54=2754, Resulting Numbers: [2754]
2754,57 unequal: No Solution
Exploring Operation: 54-51=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 51+54=105, Resulting Numbers: [105]
105,57 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: 57:[87, 18, 33], Operations: ['84-51=33']
Exploring Operation: 33-18=15, Resulting Numbers: [87, 15]
Generated Node #0,1,0: 57:[87, 15] Operation: 33-18=15
Exploring Operation: 87-18=69, Resulting Numbers: [33, 69]
Generated Node #0,1,1: 57:[33, 69] Operation: 87-18=69
Exploring Operation: 87-33=54, Resulting Numbers: [18, 54]
Generated Node #0,1,2: 57:[18, 54] Operation: 87-33=54
Exploring Operation: 18+33=51, Resulting Numbers: [87, 51]
Generated Node #0,1,3: 57:[87, 51] Operation: 18+33=51
Moving to Node #0,0
Current State: 57:[87, 51, 66], Operations: ['84-18=66']
Exploring Operation: 87-66=21, Resulting Numbers: [51, 21]
Generated Node #0,0,0: 57:[51, 21] Operation: 87-66=21
Exploring Operation: 87+51=138, Resulting Numbers: [66, 138]
Generated Node #0,0,1: 57:[66, 138] Operation: 87+51=138
Exploring Operation: 66-51=15, Resulting Numbers: [87, 15]
Generated Node #0,0,2: 57:[87, 15] Operation: 66-51=15
Exploring Operation: 87-51=36, Resulting Numbers: [66, 36]
Generated Node #0,0,3: 57:[66, 36] Operation: 87-51=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[51, 21], Operations: ['84-18=66', '87-66=21']
Exploring Operation: 51*21=1071, Resulting Numbers: [1071]
1071,57 unequal: No Solution
Exploring Operation: 51+21=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,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,3
Current State: 57:[66, 36], Operations: ['84-18=66', '87-51=36']
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,57 unequal: No Solution
Exploring Operation: 66*36=2376, Resulting Numbers: [2376]
2376,57 unequal: No Solution
Exploring Operation: 66+36=102, Resulting Numbers: [102]
102,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,2
Current State: 57:[87, 15], Operations: ['84-18=66', '66-51=15']
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 87*15=1305, Resulting Numbers: [1305]
1305,57 unequal: No Solution
Exploring Operation: 87+15=102, Resulting Numbers: [102]
102,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,1
Current State: 57:[66, 138], Operations: ['84-18=66', '87+51=138']
Exploring Operation: 66+138=204, Resulting Numbers: [204]
204,57 unequal: No Solution
Exploring Operation: 138-66=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 66*138=9108, Resulting Numbers: [9108]
9108,57 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: 57:[84, 51, 69], Operations: ['87-18=69']
Exploring Operation: 84-69=15, Resulting Numbers: [51, 15]
Generated Node #0,2,0: 57:[51, 15] Operation: 84-69=15
Exploring Operation: 84-51=33, Resulting Numbers: [69, 33]
Generated Node #0,2,1: 57:[69, 33] Operation: 84-51=33
Exploring Operation: 84+51=135, Resulting Numbers: [69, 135]
Generated Node #0,2,2: 57:[69, 135] Operation: 84+51=135
Exploring Operation: 69-51=18, Resulting Numbers: [84, 18]
Generated Node #0,2,3: 57:[84, 18] Operation: 69-51=18
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 57:[51, 15], Operations: ['87-18=69', '84-69=15']
Exploring Operation: 51*15=765, Resulting Numbers: [765]
765,57 unequal: No Solution
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Exploring Operation: 51+15=66, Resulting Numbers: [66]
66,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,2,1
Current State: 57:[69, 33], Operations: ['87-18=69', '84-51=33']
Exploring Operation: 69+33=102, Resulting Numbers: [102]
102,57 unequal: No Solution
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Exploring Operation: 69*33=2277, Resulting Numbers: [2277]
2277,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,2,3
Current State: 57:[84, 18], Operations: ['87-18=69', '69-51=18']
Exploring Operation: 84-18=66, Resulting Numbers: [66]
66,57 unequal: No Solution
Exploring Operation: 84+18=102, Resulting Numbers: [102]
102,57 unequal: No Solution
Exploring Operation: 84*18=1512, Resulting Numbers: [1512]
1512,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,2,2
Current State: 57:[69, 135], Operations: ['87-18=69', '84+51=135']
Exploring Operation: 135-69=66, Resulting Numbers: [66]
66,57 unequal: No Solution
Exploring Operation: 69*135=9315, Resulting Numbers: [9315]
9315,57 unequal: No Solution
Exploring Operation: 69+135=204, Resulting Numbers: [204]
204,57 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: 57:[18, 54], Operations: ['84-51=33', '87-33=54']
Exploring Operation: 18*54=972, Resulting Numbers: [972]
972,57 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 18+54=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[33, 69], Operations: ['84-51=33', '87-18=69']
Exploring Operation: 33+69=102, Resulting Numbers: [102]
102,57 unequal: No Solution
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Exploring Operation: 33*69=2277, Resulting Numbers: [2277]
2277,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[87, 15], Operations: ['84-51=33', '33-18=15']
Exploring Operation: 87*15=1305, Resulting Numbers: [1305]
1305,57 unequal: No Solution
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 87+15=102, Resulting Numbers: [102]
102,57 unequal: No Solution
Moving to Node #0,1,3
Current State: 57:[87, 51], Operations: ['84-51=33', '18+33=51']
Exploring Operation: 87-51=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Exploring Operation: 87+51=138, Resulting Numbers: [138]
138,57 unequal: No Solution
Exploring Operation: 87*51=4437, Resulting Numbers: [4437]
4437,57 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
41,
40,
20,
12
] | 89 | [
"41+40=81",
"20-12=8",
"81+8=89"
] | Current State: 89:[41, 40, 20, 12], Operations: []
Exploring Operation: 41+40=81, Resulting Numbers: [20, 12, 81]
Generated Node #2: [20, 12, 81] from Operation: 41+40=81
Current State: 89:[20, 12, 81], Operations: ['41+40=81']
Exploring Operation: 20-12=8, Resulting Numbers: [81, 8]
Generated Node #3: [81, 8] from Operation: 20-12=8
Current State: 89:[81, 8], Operations: ['41+40=81', '20-12=8']
Exploring Operation: 81+8=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[41, 40, 20, 12], Operations: []
Exploring Operation: 41+40=81, Resulting Numbers: [20, 12, 81]
Generated Node #0,0: 89:[20, 12, 81] Operation: 41+40=81
Exploring Operation: 41+12=53, Resulting Numbers: [40, 20, 53]
Generated Node #0,1: 89:[40, 20, 53] Operation: 41+12=53
Exploring Operation: 40+20=60, Resulting Numbers: [41, 12, 60]
Generated Node #0,2: 89:[41, 12, 60] Operation: 40+20=60
Exploring Operation: 41+20=61, Resulting Numbers: [40, 12, 61]
Generated Node #0,3: 89:[40, 12, 61] Operation: 41+20=61
Moving to Node #0,0
Current State: 89:[20, 12, 81], Operations: ['41+40=81']
Exploring Operation: 12+81=93, Resulting Numbers: [20, 93]
Generated Node #0,0,0: 89:[20, 93] Operation: 12+81=93
Exploring Operation: 20+12=32, Resulting Numbers: [81, 32]
Generated Node #0,0,1: 89:[81, 32] Operation: 20+12=32
Exploring Operation: 20-12=8, Resulting Numbers: [81, 8]
Generated Node #0,0,2: 89:[81, 8] Operation: 20-12=8
Exploring Operation: 20+81=101, Resulting Numbers: [12, 101]
Generated Node #0,0,3: 89:[12, 101] Operation: 20+81=101
Moving to Node #0,2
Current State: 89:[41, 12, 60], Operations: ['40+20=60']
Exploring Operation: 41+60=101, Resulting Numbers: [12, 101]
Generated Node #0,2,0: 89:[12, 101] Operation: 41+60=101
Exploring Operation: 41-12=29, Resulting Numbers: [60, 29]
Generated Node #0,2,1: 89:[60, 29] Operation: 41-12=29
Exploring Operation: 41+12=53, Resulting Numbers: [60, 53]
Generated Node #0,2,2: 89:[60, 53] Operation: 41+12=53
Exploring Operation: 12+60=72, Resulting Numbers: [41, 72]
Generated Node #0,2,3: 89:[41, 72] Operation: 12+60=72
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[60, 53], Operations: ['40+20=60', '41+12=53']
Exploring Operation: 60*53=3180, Resulting Numbers: [3180]
3180,89 unequal: No Solution
Exploring Operation: 60+53=113, Resulting Numbers: [113]
113,89 unequal: No Solution
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,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,3
Current State: 89:[41, 72], Operations: ['40+20=60', '12+60=72']
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Exploring Operation: 41*72=2952, Resulting Numbers: [2952]
2952,89 unequal: No Solution
Exploring Operation: 41+72=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:[12, 101], Operations: ['40+20=60', '41+60=101']
Exploring Operation: 12+101=113, Resulting Numbers: [113]
113,89 unequal: No Solution
Exploring Operation: 101-12=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[41, 40, 20, 12], Operations: []
Exploring Operation: 40+20=60, Resulting Numbers: [41, 12, 60]
Generated Node #0,2: 89:[41, 12, 60] Operation: 40+20=60
Moving to Node #0,2
Current State: 89:[41, 12, 60], Operations: ['40+20=60']
Exploring Operation: 41+60=101, Resulting Numbers: [12, 101]
Generated Node #0,2,0: 89:[12, 101] Operation: 41+60=101
Moving to Node #0,2,0
Current State: 89:[12, 101], Operations: ['40+20=60', '41+60=101']
Exploring Operation: 101-12=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
81,
40,
73,
89
] | 20 | [
"81*40=3240",
"73+89=162",
"3240/162=20"
] | Current State: 20:[81, 40, 73, 89], Operations: []
Exploring Operation: 81*40=3240, Resulting Numbers: [73, 89, 3240]
Generated Node #2: [73, 89, 3240] from Operation: 81*40=3240
Current State: 20:[73, 89, 3240], Operations: ['81*40=3240']
Exploring Operation: 73+89=162, Resulting Numbers: [3240, 162]
Generated Node #3: [3240, 162] from Operation: 73+89=162
Current State: 20:[3240, 162], Operations: ['81*40=3240', '73+89=162']
Exploring Operation: 3240/162=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[81, 40, 73, 89], Operations: []
Exploring Operation: 81-40=41, Resulting Numbers: [73, 89, 41]
Generated Node #0,0: 20:[73, 89, 41] Operation: 81-40=41
Exploring Operation: 81-73=8, Resulting Numbers: [40, 89, 8]
Generated Node #0,1: 20:[40, 89, 8] Operation: 81-73=8
Exploring Operation: 89-73=16, Resulting Numbers: [81, 40, 16]
Generated Node #0,2: 20:[81, 40, 16] Operation: 89-73=16
Exploring Operation: 89-81=8, Resulting Numbers: [40, 73, 8]
Generated Node #0,3: 20:[40, 73, 8] Operation: 89-81=8
Moving to Node #0,3
Current State: 20:[40, 73, 8], Operations: ['89-81=8']
Exploring Operation: 40/8=5, Resulting Numbers: [73, 5]
Generated Node #0,3,0: 20:[73, 5] Operation: 40/8=5
Exploring Operation: 73-40=33, Resulting Numbers: [8, 33]
Generated Node #0,3,1: 20:[8, 33] Operation: 73-40=33
Exploring Operation: 40-8=32, Resulting Numbers: [73, 32]
Generated Node #0,3,2: 20:[73, 32] Operation: 40-8=32
Exploring Operation: 73-8=65, Resulting Numbers: [40, 65]
Generated Node #0,3,3: 20:[40, 65] Operation: 73-8=65
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 20:[8, 33], Operations: ['89-81=8', '73-40=33']
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,20 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,20 unequal: No Solution
No 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: 20:[73, 5], Operations: ['89-81=8', '40/8=5']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,20 unequal: No Solution
Exploring Operation: 73+5=78, Resulting Numbers: [78]
78,20 unequal: No Solution
Exploring Operation: 73*5=365, Resulting Numbers: [365]
365,20 unequal: No Solution
No 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: 20:[73, 32], Operations: ['89-81=8', '40-8=32']
Exploring Operation: 73-32=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 73*32=2336, Resulting Numbers: [2336]
2336,20 unequal: No Solution
Exploring Operation: 73+32=105, Resulting Numbers: [105]
105,20 unequal: No Solution
No 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: 20:[40, 65], Operations: ['89-81=8', '73-8=65']
Exploring Operation: 40*65=2600, Resulting Numbers: [2600]
2600,20 unequal: No Solution
Exploring Operation: 40+65=105, Resulting Numbers: [105]
105,20 unequal: No Solution
Exploring Operation: 65-40=25, Resulting Numbers: [25]
25,20 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: 20:[81, 40, 16], Operations: ['89-73=16']
Exploring Operation: 81-16=65, Resulting Numbers: [40, 65]
Generated Node #0,2,0: 20:[40, 65] Operation: 81-16=65
Exploring Operation: 81-40=41, Resulting Numbers: [16, 41]
Generated Node #0,2,1: 20:[16, 41] Operation: 81-40=41
Exploring Operation: 40-16=24, Resulting Numbers: [81, 24]
Generated Node #0,2,2: 20:[81, 24] Operation: 40-16=24
Exploring Operation: 81+16=97, Resulting Numbers: [40, 97]
Generated Node #0,2,3: 20:[40, 97] Operation: 81+16=97
Moving to Node #0,1
Current State: 20:[40, 89, 8], Operations: ['81-73=8']
Exploring Operation: 89-40=49, Resulting Numbers: [8, 49]
Generated Node #0,1,0: 20:[8, 49] Operation: 89-40=49
Exploring Operation: 40-8=32, Resulting Numbers: [89, 32]
Generated Node #0,1,1: 20:[89, 32] Operation: 40-8=32
Exploring Operation: 89-8=81, Resulting Numbers: [40, 81]
Generated Node #0,1,2: 20:[40, 81] Operation: 89-8=81
Exploring Operation: 40/8=5, Resulting Numbers: [89, 5]
Generated Node #0,1,3: 20:[89, 5] Operation: 40/8=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[8, 49], Operations: ['81-73=8', '89-40=49']
Exploring Operation: 8*49=392, Resulting Numbers: [392]
392,20 unequal: No Solution
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,20 unequal: No Solution
No 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: 20:[89, 5], Operations: ['81-73=8', '40/8=5']
Exploring Operation: 89*5=445, Resulting Numbers: [445]
445,20 unequal: No Solution
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,20 unequal: No Solution
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,20 unequal: No Solution
No 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: 20:[89, 32], Operations: ['81-73=8', '40-8=32']
Exploring Operation: 89*32=2848, Resulting Numbers: [2848]
2848,20 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 89+32=121, Resulting Numbers: [121]
121,20 unequal: No Solution
No 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: 20:[40, 81], Operations: ['81-73=8', '89-8=81']
Exploring Operation: 40+81=121, Resulting Numbers: [121]
121,20 unequal: No Solution
Exploring Operation: 40*81=3240, Resulting Numbers: [3240]
3240,20 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,20 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: 20:[73, 89, 41], Operations: ['81-40=41']
Exploring Operation: 89-41=48, Resulting Numbers: [73, 48]
Generated Node #0,0,0: 20:[73, 48] Operation: 89-41=48
Exploring Operation: 89-73=16, Resulting Numbers: [41, 16]
Generated Node #0,0,1: 20:[41, 16] Operation: 89-73=16
Exploring Operation: 73-41=32, Resulting Numbers: [89, 32]
Generated Node #0,0,2: 20:[89, 32] Operation: 73-41=32
Exploring Operation: 73+89=162, Resulting Numbers: [41, 162]
Generated Node #0,0,3: 20:[41, 162] Operation: 73+89=162
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[41, 16], Operations: ['81-40=41', '89-73=16']
Exploring Operation: 41*16=656, Resulting Numbers: [656]
656,20 unequal: No Solution
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,20 unequal: No Solution
Exploring Operation: 41+16=57, Resulting Numbers: [57]
57,20 unequal: No Solution
No 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: 20:[73, 48], Operations: ['81-40=41', '89-41=48']
Exploring Operation: 73+48=121, Resulting Numbers: [121]
121,20 unequal: No Solution
Exploring Operation: 73-48=25, Resulting Numbers: [25]
25,20 unequal: No Solution
Exploring Operation: 73*48=3504, Resulting Numbers: [3504]
3504,20 unequal: No Solution
No 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: 20:[89, 32], Operations: ['81-40=41', '73-41=32']
Exploring Operation: 89*32=2848, Resulting Numbers: [2848]
2848,20 unequal: No Solution
Exploring Operation: 89+32=121, Resulting Numbers: [121]
121,20 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,20 unequal: No Solution
No 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: 20:[41, 162], Operations: ['81-40=41', '73+89=162']
Exploring Operation: 162-41=121, Resulting Numbers: [121]
121,20 unequal: No Solution
Exploring Operation: 41*162=6642, Resulting Numbers: [6642]
6642,20 unequal: No Solution
Exploring Operation: 41+162=203, Resulting Numbers: [203]
203,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 20:[16, 41], Operations: ['89-73=16', '81-40=41']
Exploring Operation: 16+41=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,20 unequal: No Solution
Exploring Operation: 16*41=656, Resulting Numbers: [656]
656,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[81, 24], Operations: ['89-73=16', '40-16=24']
Exploring Operation: 81-24=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 81+24=105, Resulting Numbers: [105]
105,20 unequal: No Solution
Exploring Operation: 81*24=1944, Resulting Numbers: [1944]
1944,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[40, 65], Operations: ['89-73=16', '81-16=65']
Exploring Operation: 65-40=25, Resulting Numbers: [25]
25,20 unequal: No Solution
Exploring Operation: 40+65=105, Resulting Numbers: [105]
105,20 unequal: No Solution
Exploring Operation: 40*65=2600, Resulting Numbers: [2600]
2600,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[40, 97], Operations: ['89-73=16', '81+16=97']
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 40+97=137, Resulting Numbers: [137]
137,20 unequal: No Solution
Exploring Operation: 40*97=3880, Resulting Numbers: [3880]
3880,20 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
8,
41,
10,
91
] | 100 | [
"10-8=2",
"91-41=50",
"2*50=100"
] | Current State: 100:[8, 41, 10, 91], Operations: []
Exploring Operation: 10-8=2, Resulting Numbers: [41, 91, 2]
Generated Node #2: [41, 91, 2] from Operation: 10-8=2
Current State: 100:[41, 91, 2], Operations: ['10-8=2']
Exploring Operation: 91-41=50, Resulting Numbers: [2, 50]
Generated Node #3: [2, 50] from Operation: 91-41=50
Current State: 100:[2, 50], Operations: ['10-8=2', '91-41=50']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[8, 41, 10, 91], Operations: []
Exploring Operation: 91-41=50, Resulting Numbers: [8, 10, 50]
Generated Node #0,0: 100:[8, 10, 50] Operation: 91-41=50
Exploring Operation: 8+41=49, Resulting Numbers: [10, 91, 49]
Generated Node #0,1: 100:[10, 91, 49] Operation: 8+41=49
Exploring Operation: 8+91=99, Resulting Numbers: [41, 10, 99]
Generated Node #0,2: 100:[41, 10, 99] Operation: 8+91=99
Exploring Operation: 41+10=51, Resulting Numbers: [8, 91, 51]
Generated Node #0,3: 100:[8, 91, 51] Operation: 41+10=51
Moving to Node #0,0
Current State: 100:[8, 10, 50], Operations: ['91-41=50']
Exploring Operation: 10-8=2, Resulting Numbers: [50, 2]
Generated Node #0,0,0: 100:[50, 2] Operation: 10-8=2
Exploring Operation: 8+10=18, Resulting Numbers: [50, 18]
Generated Node #0,0,1: 100:[50, 18] Operation: 8+10=18
Exploring Operation: 8+50=58, Resulting Numbers: [10, 58]
Generated Node #0,0,2: 100:[10, 58] Operation: 8+50=58
Exploring Operation: 50/10=5, Resulting Numbers: [8, 5]
Generated Node #0,0,3: 100:[8, 5] Operation: 50/10=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[50, 2], Operations: ['91-41=50', '10-8=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,100 unequal: No Solution
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[8, 41, 10, 91], Operations: []
Exploring Operation: 91-41=50, Resulting Numbers: [8, 10, 50]
Generated Node #0,0: 100:[8, 10, 50] Operation: 91-41=50
Moving to Node #0,0
Current State: 100:[8, 10, 50], Operations: ['91-41=50']
Exploring Operation: 10-8=2, Resulting Numbers: [50, 2]
Generated Node #0,0,0: 100:[50, 2] Operation: 10-8=2
Moving to Node #0,0,0
Current State: 100:[50, 2], Operations: ['91-41=50', '10-8=2']
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
44,
74,
14,
9
] | 23 | [
"44*9=396",
"396-74=322",
"322/14=23"
] | Current State: 23:[44, 74, 14, 9], Operations: []
Exploring Operation: 44*9=396, Resulting Numbers: [74, 14, 396]
Generated Node #2: [74, 14, 396] from Operation: 44*9=396
Current State: 23:[74, 14, 396], Operations: ['44*9=396']
Exploring Operation: 396-74=322, Resulting Numbers: [14, 322]
Generated Node #3: [14, 322] from Operation: 396-74=322
Current State: 23:[14, 322], Operations: ['44*9=396', '396-74=322']
Exploring Operation: 322/14=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[44, 74, 14, 9], Operations: []
Exploring Operation: 44-14=30, Resulting Numbers: [74, 9, 30]
Generated Node #0,0: 23:[74, 9, 30] Operation: 44-14=30
Exploring Operation: 74-44=30, Resulting Numbers: [14, 9, 30]
Generated Node #0,1: 23:[14, 9, 30] Operation: 74-44=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[14, 9, 30], Operations: ['74-44=30']
Exploring Operation: 30-9=21, Resulting Numbers: [14, 21]
Generated Node #0,1,0: 23:[14, 21] Operation: 30-9=21
Exploring Operation: 14+9=23, Resulting Numbers: [30, 23]
Generated Node #0,1,1: 23:[30, 23] Operation: 14+9=23
Moving to Node #0,1,1
Current State: 23:[30, 23], Operations: ['74-44=30', '14+9=23']
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[14, 21], Operations: ['74-44=30', '30-9=21']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[74, 9, 30], Operations: ['44-14=30']
Exploring Operation: 74-30=44, Resulting Numbers: [9, 44]
Generated Node #0,0,0: 23:[9, 44] Operation: 74-30=44
Exploring Operation: 74-9=65, Resulting Numbers: [30, 65]
Generated Node #0,0,1: 23:[30, 65] Operation: 74-9=65
Moving to Node #0,0,0
Current State: 23:[9, 44], Operations: ['44-14=30', '74-30=44']
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[30, 65], Operations: ['44-14=30', '74-9=65']
Exploring Operation: 65-30=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 30+65=95, Resulting Numbers: [95]
95,23 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 |
[
22,
94,
20,
54
] | 20 | [
"22-20=2",
"94-54=40",
"40/2=20"
] | Current State: 20:[22, 94, 20, 54], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [94, 54, 2]
Generated Node #2: [94, 54, 2] from Operation: 22-20=2
Current State: 20:[94, 54, 2], Operations: ['22-20=2']
Exploring Operation: 94-54=40, Resulting Numbers: [2, 40]
Generated Node #3: [2, 40] from Operation: 94-54=40
Current State: 20:[2, 40], Operations: ['22-20=2', '94-54=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[22, 94, 20, 54], Operations: []
Exploring Operation: 94-54=40, Resulting Numbers: [22, 20, 40]
Generated Node #0,0: 20:[22, 20, 40] Operation: 94-54=40
Moving to Node #0,0
Current State: 20:[22, 20, 40], Operations: ['94-54=40']
Exploring Operation: 40-22=18, Resulting Numbers: [20, 18]
Generated Node #0,0,0: 20:[20, 18] Operation: 40-22=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[20, 18], Operations: ['94-54=40', '40-22=18']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,20 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,
14,
72,
12
] | 19 | [
"78*14=1092",
"1092/12=91",
"91-72=19"
] | Current State: 19:[78, 14, 72, 12], Operations: []
Exploring Operation: 78*14=1092, Resulting Numbers: [72, 12, 1092]
Generated Node #2: [72, 12, 1092] from Operation: 78*14=1092
Current State: 19:[72, 12, 1092], Operations: ['78*14=1092']
Exploring Operation: 1092/12=91, Resulting Numbers: [72, 91]
Generated Node #3: [72, 91] from Operation: 1092/12=91
Current State: 19:[72, 91], Operations: ['78*14=1092', '1092/12=91']
Exploring Operation: 91-72=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[78, 14, 72, 12], Operations: []
Exploring Operation: 78-72=6, Resulting Numbers: [14, 12, 6]
Generated Node #0,0: 19:[14, 12, 6] Operation: 78-72=6
Exploring Operation: 72/12=6, Resulting Numbers: [78, 14, 6]
Generated Node #0,1: 19:[78, 14, 6] Operation: 72/12=6
Exploring Operation: 78-14=64, Resulting Numbers: [72, 12, 64]
Generated Node #0,2: 19:[72, 12, 64] Operation: 78-14=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[14, 12, 6], Operations: ['78-72=6']
Exploring Operation: 12+6=18, Resulting Numbers: [14, 18]
Generated Node #0,0,0: 19:[14, 18] Operation: 12+6=18
Exploring Operation: 14-6=8, Resulting Numbers: [12, 8]
Generated Node #0,0,1: 19:[12, 8] Operation: 14-6=8
Exploring Operation: 14+6=20, Resulting Numbers: [12, 20]
Generated Node #0,0,2: 19:[12, 20] Operation: 14+6=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[14, 18], Operations: ['78-72=6', '12+6=18']
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,19 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,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,2
Current State: 19:[12, 20], Operations: ['78-72=6', '14+6=20']
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 12*20=240, Resulting Numbers: [240]
240,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:[12, 8], Operations: ['78-72=6', '14-6=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,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:[78, 14, 6], Operations: ['72/12=6']
Exploring Operation: 78-14=64, Resulting Numbers: [6, 64]
Generated Node #0,1,0: 19:[6, 64] Operation: 78-14=64
Exploring Operation: 78/6=13, Resulting Numbers: [14, 13]
Generated Node #0,1,1: 19:[14, 13] Operation: 78/6=13
Exploring Operation: 78-6=72, Resulting Numbers: [14, 72]
Generated Node #0,1,2: 19:[14, 72] Operation: 78-6=72
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[14, 13], Operations: ['72/12=6', '78/6=13']
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,19 unequal: No Solution
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,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:[6, 64], Operations: ['72/12=6', '78-14=64']
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Exploring Operation: 6+64=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Exploring Operation: 6*64=384, Resulting Numbers: [384]
384,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,2
Current State: 19:[14, 72], Operations: ['72/12=6', '78-6=72']
Exploring Operation: 14*72=1008, Resulting Numbers: [1008]
1008,19 unequal: No Solution
Exploring Operation: 14+72=86, Resulting Numbers: [86]
86,19 unequal: No Solution
Exploring Operation: 72-14=58, Resulting Numbers: [58]
58,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,2
Current State: 19:[72, 12, 64], Operations: ['78-14=64']
Exploring Operation: 72-12=60, Resulting Numbers: [64, 60]
Generated Node #0,2,0: 19:[64, 60] Operation: 72-12=60
Exploring Operation: 72-64=8, Resulting Numbers: [12, 8]
Generated Node #0,2,1: 19:[12, 8] Operation: 72-64=8
Exploring Operation: 72/12=6, Resulting Numbers: [64, 6]
Generated Node #0,2,2: 19:[64, 6] Operation: 72/12=6
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 19:[12, 8], Operations: ['78-14=64', '72-64=8']
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,19 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,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,2,2
Current State: 19:[64, 6], Operations: ['78-14=64', '72/12=6']
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Exploring Operation: 64*6=384, Resulting Numbers: [384]
384,19 unequal: No Solution
Exploring Operation: 64+6=70, Resulting Numbers: [70]
70,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,2,0
Current State: 19:[64, 60], Operations: ['78-14=64', '72-12=60']
Exploring Operation: 64+60=124, Resulting Numbers: [124]
124,19 unequal: No Solution
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 64*60=3840, Resulting Numbers: [3840]
3840,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_3 | sum_heuristic |
[
69,
3,
58,
53
] | 10 | [
"69-53=16",
"3*16=48",
"58-48=10"
] | Current State: 10:[69, 3, 58, 53], Operations: []
Exploring Operation: 69-53=16, Resulting Numbers: [3, 58, 16]
Generated Node #2: [3, 58, 16] from Operation: 69-53=16
Current State: 10:[3, 58, 16], Operations: ['69-53=16']
Exploring Operation: 3*16=48, Resulting Numbers: [58, 48]
Generated Node #3: [58, 48] from Operation: 3*16=48
Current State: 10:[58, 48], Operations: ['69-53=16', '3*16=48']
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[69, 3, 58, 53], Operations: []
Exploring Operation: 69-58=11, Resulting Numbers: [3, 53, 11]
Generated Node #0,0: 10:[3, 53, 11] Operation: 69-58=11
Exploring Operation: 69-53=16, Resulting Numbers: [3, 58, 16]
Generated Node #0,1: 10:[3, 58, 16] Operation: 69-53=16
Exploring Operation: 69/3=23, Resulting Numbers: [58, 53, 23]
Generated Node #0,2: 10:[58, 53, 23] Operation: 69/3=23
Exploring Operation: 69-3=66, Resulting Numbers: [58, 53, 66]
Generated Node #0,3: 10:[58, 53, 66] Operation: 69-3=66
Exploring Operation: 58-53=5, Resulting Numbers: [69, 3, 5]
Generated Node #0,4: 10:[69, 3, 5] Operation: 58-53=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[3, 53, 11], Operations: ['69-58=11']
Exploring Operation: 11-3=8, Resulting Numbers: [53, 8]
Generated Node #0,0,0: 10:[53, 8] Operation: 11-3=8
Exploring Operation: 53-3=50, Resulting Numbers: [11, 50]
Generated Node #0,0,1: 10:[11, 50] Operation: 53-3=50
Exploring Operation: 3+11=14, Resulting Numbers: [53, 14]
Generated Node #0,0,2: 10:[53, 14] Operation: 3+11=14
Exploring Operation: 53-11=42, Resulting Numbers: [3, 42]
Generated Node #0,0,3: 10:[3, 42] Operation: 53-11=42
Exploring Operation: 3+53=56, Resulting Numbers: [11, 56]
Generated Node #0,0,4: 10:[11, 56] Operation: 3+53=56
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 10:[3, 42], Operations: ['69-58=11', '53-11=42']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 3*42=126, Resulting Numbers: [126]
126,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 10:[11, 50], Operations: ['69-58=11', '53-3=50']
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 11*50=550, Resulting Numbers: [550]
550,10 unequal: No Solution
Exploring Operation: 11+50=61, Resulting Numbers: [61]
61,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[53, 8], Operations: ['69-58=11', '11-3=8']
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 53*8=424, Resulting Numbers: [424]
424,10 unequal: No Solution
Exploring Operation: 53+8=61, Resulting Numbers: [61]
61,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 10:[53, 14], Operations: ['69-58=11', '3+11=14']
Exploring Operation: 53*14=742, Resulting Numbers: [742]
742,10 unequal: No Solution
Exploring Operation: 53+14=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 10:[11, 56], Operations: ['69-58=11', '3+53=56']
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 11*56=616, Resulting Numbers: [616]
616,10 unequal: No Solution
Exploring Operation: 11+56=67, Resulting Numbers: [67]
67,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[3, 58, 16], Operations: ['69-53=16']
Exploring Operation: 3+16=19, Resulting Numbers: [58, 19]
Generated Node #0,1,0: 10:[58, 19] Operation: 3+16=19
Exploring Operation: 58-3=55, Resulting Numbers: [16, 55]
Generated Node #0,1,1: 10:[16, 55] Operation: 58-3=55
Exploring Operation: 16-3=13, Resulting Numbers: [58, 13]
Generated Node #0,1,2: 10:[58, 13] Operation: 16-3=13
Exploring Operation: 3+58=61, Resulting Numbers: [16, 61]
Generated Node #0,1,3: 10:[16, 61] Operation: 3+58=61
Exploring Operation: 58-16=42, Resulting Numbers: [3, 42]
Generated Node #0,1,4: 10:[3, 42] Operation: 58-16=42
Moving to Node #0,1,4
Current State: 10:[3, 42], Operations: ['69-53=16', '58-16=42']
Exploring Operation: 3*42=126, Resulting Numbers: [126]
126,10 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[58, 13], Operations: ['69-53=16', '16-3=13']
Exploring Operation: 58*13=754, Resulting Numbers: [754]
754,10 unequal: No Solution
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 58+13=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[16, 55], Operations: ['69-53=16', '58-3=55']
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,10 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[58, 19], Operations: ['69-53=16', '3+16=19']
Exploring Operation: 58+19=77, Resulting Numbers: [77]
77,10 unequal: No Solution
Exploring Operation: 58*19=1102, Resulting Numbers: [1102]
1102,10 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Moving to Node #0,1,3
Current State: 10:[16, 61], Operations: ['69-53=16', '3+58=61']
Exploring Operation: 16+61=77, Resulting Numbers: [77]
77,10 unequal: No Solution
Exploring Operation: 16*61=976, Resulting Numbers: [976]
976,10 unequal: No Solution
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,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,4
Current State: 10:[69, 3, 5], Operations: ['58-53=5']
Exploring Operation: 69-3=66, Resulting Numbers: [5, 66]
Generated Node #0,4,0: 10:[5, 66] Operation: 69-3=66
Exploring Operation: 69-5=64, Resulting Numbers: [3, 64]
Generated Node #0,4,1: 10:[3, 64] Operation: 69-5=64
Exploring Operation: 69/3=23, Resulting Numbers: [5, 23]
Generated Node #0,4,2: 10:[5, 23] Operation: 69/3=23
Exploring Operation: 3+5=8, Resulting Numbers: [69, 8]
Generated Node #0,4,3: 10:[69, 8] Operation: 3+5=8
Exploring Operation: 5-3=2, Resulting Numbers: [69, 2]
Generated Node #0,4,4: 10:[69, 2] Operation: 5-3=2
Moving to Node #0,4,2
Current State: 10:[5, 23], Operations: ['58-53=5', '69/3=23']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,10 unequal: No Solution
Moving to Node #0,4,1
Current State: 10:[3, 64], Operations: ['58-53=5', '69-5=64']
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 3*64=192, Resulting Numbers: [192]
192,10 unequal: No Solution
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Moving to Node #0,4,0
Current State: 10:[5, 66], Operations: ['58-53=5', '69-3=66']
Exploring Operation: 5*66=330, Resulting Numbers: [330]
330,10 unequal: No Solution
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 5+66=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Moving to Node #0,4,4
Current State: 10:[69, 2], Operations: ['58-53=5', '5-3=2']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,10 unequal: No Solution
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Moving to Node #0,4,3
Current State: 10:[69, 8], Operations: ['58-53=5', '3+5=8']
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 69*8=552, Resulting Numbers: [552]
552,10 unequal: No Solution
Exploring Operation: 69+8=77, Resulting Numbers: [77]
77,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:[58, 53, 23], Operations: ['69/3=23']
Exploring Operation: 58-53=5, Resulting Numbers: [23, 5]
Generated Node #0,2,0: 10:[23, 5] Operation: 58-53=5
Exploring Operation: 58+53=111, Resulting Numbers: [23, 111]
Generated Node #0,2,1: 10:[23, 111] Operation: 58+53=111
Exploring Operation: 58+23=81, Resulting Numbers: [53, 81]
Generated Node #0,2,2: 10:[53, 81] Operation: 58+23=81
Exploring Operation: 58-23=35, Resulting Numbers: [53, 35]
Generated Node #0,2,3: 10:[53, 35] Operation: 58-23=35
Exploring Operation: 53-23=30, Resulting Numbers: [58, 30]
Generated Node #0,2,4: 10:[58, 30] Operation: 53-23=30
Moving to Node #0,2,0
Current State: 10:[23, 5], Operations: ['69/3=23', '58-53=5']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,10 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Moving to Node #0,2,4
Current State: 10:[58, 30], Operations: ['69/3=23', '53-23=30']
Exploring Operation: 58*30=1740, Resulting Numbers: [1740]
1740,10 unequal: No Solution
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Exploring Operation: 58+30=88, Resulting Numbers: [88]
88,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[53, 35], Operations: ['69/3=23', '58-23=35']
Exploring Operation: 53+35=88, Resulting Numbers: [88]
88,10 unequal: No Solution
Exploring Operation: 53*35=1855, Resulting Numbers: [1855]
1855,10 unequal: No Solution
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[23, 111], Operations: ['69/3=23', '58+53=111']
Exploring Operation: 111-23=88, Resulting Numbers: [88]
88,10 unequal: No Solution
Exploring Operation: 23+111=134, Resulting Numbers: [134]
134,10 unequal: No Solution
Exploring Operation: 23*111=2553, Resulting Numbers: [2553]
2553,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[53, 81], Operations: ['69/3=23', '58+23=81']
Exploring Operation: 53*81=4293, Resulting Numbers: [4293]
4293,10 unequal: No Solution
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Exploring Operation: 53+81=134, Resulting Numbers: [134]
134,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,3
Current State: 10:[58, 53, 66], Operations: ['69-3=66']
Exploring Operation: 58+66=124, Resulting Numbers: [53, 124]
Generated Node #0,3,0: 10:[53, 124] Operation: 58+66=124
Exploring Operation: 58+53=111, Resulting Numbers: [66, 111]
Generated Node #0,3,1: 10:[66, 111] Operation: 58+53=111
Exploring Operation: 66-58=8, Resulting Numbers: [53, 8]
Generated Node #0,3,2: 10:[53, 8] Operation: 66-58=8
Exploring Operation: 58-53=5, Resulting Numbers: [66, 5]
Generated Node #0,3,3: 10:[66, 5] Operation: 58-53=5
Exploring Operation: 66-53=13, Resulting Numbers: [58, 13]
Generated Node #0,3,4: 10:[58, 13] Operation: 66-53=13
Moving to Node #0,3,2
Current State: 10:[53, 8], Operations: ['69-3=66', '66-58=8']
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 53+8=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 53*8=424, Resulting Numbers: [424]
424,10 unequal: No Solution
Moving to Node #0,3,4
Current State: 10:[58, 13], Operations: ['69-3=66', '66-53=13']
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 58*13=754, Resulting Numbers: [754]
754,10 unequal: No Solution
Exploring Operation: 58+13=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[66, 5], Operations: ['69-3=66', '58-53=5']
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,10 unequal: No Solution
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Moving to Node #0,3,0
Current State: 10:[53, 124], Operations: ['69-3=66', '58+66=124']
Exploring Operation: 53+124=177, Resulting Numbers: [177]
177,10 unequal: No Solution
Exploring Operation: 53*124=6572, Resulting Numbers: [6572]
6572,10 unequal: No Solution
Exploring Operation: 124-53=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[66, 111], Operations: ['69-3=66', '58+53=111']
Exploring Operation: 111-66=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 66*111=7326, Resulting Numbers: [7326]
7326,10 unequal: No Solution
Exploring Operation: 66+111=177, Resulting Numbers: [177]
177,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
2,
46,
22,
50
] | 80 | [
"22-2=20",
"50-46=4",
"20*4=80"
] | Current State: 80:[2, 46, 22, 50], Operations: []
Exploring Operation: 22-2=20, Resulting Numbers: [46, 50, 20]
Generated Node #2: [46, 50, 20] from Operation: 22-2=20
Current State: 80:[46, 50, 20], Operations: ['22-2=20']
Exploring Operation: 50-46=4, Resulting Numbers: [20, 4]
Generated Node #3: [20, 4] from Operation: 50-46=4
Current State: 80:[20, 4], Operations: ['22-2=20', '50-46=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[2, 46, 22, 50], Operations: []
Exploring Operation: 46-22=24, Resulting Numbers: [2, 50, 24]
Generated Node #0,0: 80:[2, 50, 24] Operation: 46-22=24
Exploring Operation: 22+50=72, Resulting Numbers: [2, 46, 72]
Generated Node #0,1: 80:[2, 46, 72] Operation: 22+50=72
Exploring Operation: 50-22=28, Resulting Numbers: [2, 46, 28]
Generated Node #0,2: 80:[2, 46, 28] Operation: 50-22=28
Exploring Operation: 50/2=25, Resulting Numbers: [46, 22, 25]
Generated Node #0,3: 80:[46, 22, 25] Operation: 50/2=25
Exploring Operation: 50-46=4, Resulting Numbers: [2, 22, 4]
Generated Node #0,4: 80:[2, 22, 4] Operation: 50-46=4
Moving to Node #0,4
Current State: 80:[2, 22, 4], Operations: ['50-46=4']
Exploring Operation: 4/2=2, Resulting Numbers: [22, 2]
Generated Node #0,4,0: 80:[22, 2] Operation: 4/2=2
Exploring Operation: 22/2=11, Resulting Numbers: [4, 11]
Generated Node #0,4,1: 80:[4, 11] Operation: 22/2=11
Exploring Operation: 22-2=20, Resulting Numbers: [4, 20]
Generated Node #0,4,2: 80:[4, 20] Operation: 22-2=20
Exploring Operation: 4-2=2, Resulting Numbers: [22, 2]
Generated Node #0,4,3: 80:[22, 2] Operation: 4-2=2
Exploring Operation: 2*4=8, Resulting Numbers: [22, 8]
Generated Node #0,4,4: 80:[22, 8] Operation: 2*4=8
Moving to Node #0,3
Current State: 80:[46, 22, 25], Operations: ['50/2=25']
Exploring Operation: 46-25=21, Resulting Numbers: [22, 21]
Generated Node #0,3,0: 80:[22, 21] Operation: 46-25=21
Exploring Operation: 46-22=24, Resulting Numbers: [25, 24]
Generated Node #0,3,1: 80:[25, 24] Operation: 46-22=24
Exploring Operation: 46+25=71, Resulting Numbers: [22, 71]
Generated Node #0,3,2: 80:[22, 71] Operation: 46+25=71
Exploring Operation: 22+25=47, Resulting Numbers: [46, 47]
Generated Node #0,3,3: 80:[46, 47] Operation: 22+25=47
Exploring Operation: 25-22=3, Resulting Numbers: [46, 3]
Generated Node #0,3,4: 80:[46, 3] Operation: 25-22=3
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 80:[22, 21], Operations: ['50/2=25', '46-25=21']
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,80 unequal: No Solution
Exploring Operation: 22*21=462, Resulting Numbers: [462]
462,80 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,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,3,4
Current State: 80:[46, 3], Operations: ['50/2=25', '25-22=3']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,80 unequal: No Solution
Exploring Operation: 46*3=138, Resulting Numbers: [138]
138,80 unequal: No Solution
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,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,3,1
Current State: 80:[25, 24], Operations: ['50/2=25', '46-22=24']
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,80 unequal: No Solution
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,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,3,2
Current State: 80:[22, 71], Operations: ['50/2=25', '46+25=71']
Exploring Operation: 22*71=1562, Resulting Numbers: [1562]
1562,80 unequal: No Solution
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 22+71=93, Resulting Numbers: [93]
93,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,3,3
Current State: 80:[46, 47], Operations: ['50/2=25', '22+25=47']
Exploring Operation: 46+47=93, Resulting Numbers: [93]
93,80 unequal: No Solution
Exploring Operation: 46*47=2162, Resulting Numbers: [2162]
2162,80 unequal: No Solution
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 80:[2, 50, 24], Operations: ['46-22=24']
Exploring Operation: 50/2=25, Resulting Numbers: [24, 25]
Generated Node #0,0,0: 80:[24, 25] Operation: 50/2=25
Exploring Operation: 24-2=22, Resulting Numbers: [50, 22]
Generated Node #0,0,1: 80:[50, 22] Operation: 24-2=22
Exploring Operation: 50-24=26, Resulting Numbers: [2, 26]
Generated Node #0,0,2: 80:[2, 26] Operation: 50-24=26
Exploring Operation: 50-2=48, Resulting Numbers: [24, 48]
Generated Node #0,0,3: 80:[24, 48] Operation: 50-2=48
Exploring Operation: 50+24=74, Resulting Numbers: [2, 74]
Generated Node #0,0,4: 80:[2, 74] Operation: 50+24=74
Moving to Node #0,1
Current State: 80:[2, 46, 72], Operations: ['22+50=72']
Exploring Operation: 72-46=26, Resulting Numbers: [2, 26]
Generated Node #0,1,0: 80:[2, 26] Operation: 72-46=26
Exploring Operation: 46-2=44, Resulting Numbers: [72, 44]
Generated Node #0,1,1: 80:[72, 44] Operation: 46-2=44
Exploring Operation: 46/2=23, Resulting Numbers: [72, 23]
Generated Node #0,1,2: 80:[72, 23] Operation: 46/2=23
Exploring Operation: 72/2=36, Resulting Numbers: [46, 36]
Generated Node #0,1,3: 80:[46, 36] Operation: 72/2=36
Exploring Operation: 2+72=74, Resulting Numbers: [46, 74]
Generated Node #0,1,4: 80:[46, 74] Operation: 2+72=74
Moving to Node #0,2
Current State: 80:[2, 46, 28], Operations: ['50-22=28']
Exploring Operation: 46/2=23, Resulting Numbers: [28, 23]
Generated Node #0,2,0: 80:[28, 23] Operation: 46/2=23
Exploring Operation: 46-2=44, Resulting Numbers: [28, 44]
Generated Node #0,2,1: 80:[28, 44] Operation: 46-2=44
Exploring Operation: 28/2=14, Resulting Numbers: [46, 14]
Generated Node #0,2,2: 80:[46, 14] Operation: 28/2=14
Exploring Operation: 46+28=74, Resulting Numbers: [2, 74]
Generated Node #0,2,3: 80:[2, 74] Operation: 46+28=74
Exploring Operation: 46-28=18, Resulting Numbers: [2, 18]
Generated Node #0,2,4: 80:[2, 18] Operation: 46-28=18
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 80:[2, 18], Operations: ['50-22=28', '46-28=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,80 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,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,2,3
Current State: 80:[2, 74], Operations: ['50-22=28', '46+28=74']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,80 unequal: No Solution
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Exploring Operation: 2*74=148, Resulting Numbers: [148]
148,80 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,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,2,2
Current State: 80:[46, 14], Operations: ['50-22=28', '28/2=14']
Exploring Operation: 46*14=644, Resulting Numbers: [644]
644,80 unequal: No Solution
Exploring Operation: 46+14=60, Resulting Numbers: [60]
60,80 unequal: No Solution
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,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,2,0
Current State: 80:[28, 23], Operations: ['50-22=28', '46/2=23']
Exploring Operation: 28+23=51, Resulting Numbers: [51]
51,80 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 28*23=644, Resulting Numbers: [644]
644,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,2,1
Current State: 80:[28, 44], Operations: ['50-22=28', '46-2=44']
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,80 unequal: No Solution
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,2
Current State: 80:[4, 20], Operations: ['50-46=4', '22-2=20']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,80 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[2, 46, 22, 50], Operations: []
Exploring Operation: 50-46=4, Resulting Numbers: [2, 22, 4]
Generated Node #0,4: 80:[2, 22, 4] Operation: 50-46=4
Moving to Node #0,4
Current State: 80:[2, 22, 4], Operations: ['50-46=4']
Exploring Operation: 22-2=20, Resulting Numbers: [4, 20]
Generated Node #0,4,2: 80:[4, 20] Operation: 22-2=20
Moving to Node #0,4,2
Current State: 80:[4, 20], Operations: ['50-46=4', '22-2=20']
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.939236 | hs_5 | sum_heuristic |
[
67,
25,
17,
75
] | 64 | [
"75-67=8",
"25-17=8",
"8*8=64"
] | Current State: 64:[67, 25, 17, 75], Operations: []
Exploring Operation: 75-67=8, Resulting Numbers: [25, 17, 8]
Generated Node #2: [25, 17, 8] from Operation: 75-67=8
Current State: 64:[25, 17, 8], Operations: ['75-67=8']
Exploring Operation: 25-17=8, Resulting Numbers: [8, 8]
Generated Node #3: [8, 8] from Operation: 25-17=8
Current State: 64:[8, 8], Operations: ['75-67=8', '25-17=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[67, 25, 17, 75], Operations: []
Exploring Operation: 75/25=3, Resulting Numbers: [67, 17, 3]
Generated Node #0,0: 64:[67, 17, 3] Operation: 75/25=3
Exploring Operation: 75-67=8, Resulting Numbers: [25, 17, 8]
Generated Node #0,1: 64:[25, 17, 8] Operation: 75-67=8
Moving to Node #0,0
Current State: 64:[67, 17, 3], Operations: ['75/25=3']
Exploring Operation: 17-3=14, Resulting Numbers: [67, 14]
Generated Node #0,0,0: 64:[67, 14] Operation: 17-3=14
Exploring Operation: 67-3=64, Resulting Numbers: [17, 64]
Generated Node #0,0,1: 64:[17, 64] Operation: 67-3=64
Moving to Node #0,1
Current State: 64:[25, 17, 8], Operations: ['75-67=8']
Exploring Operation: 25+8=33, Resulting Numbers: [17, 33]
Generated Node #0,1,0: 64:[17, 33] Operation: 25+8=33
Exploring Operation: 25-17=8, Resulting Numbers: [8, 8]
Generated Node #0,1,1: 64:[8, 8] Operation: 25-17=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[8, 8], Operations: ['75-67=8', '25-17=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[67, 25, 17, 75], Operations: []
Exploring Operation: 75-67=8, Resulting Numbers: [25, 17, 8]
Generated Node #0,1: 64:[25, 17, 8] Operation: 75-67=8
Moving to Node #0,1
Current State: 64:[25, 17, 8], Operations: ['75-67=8']
Exploring Operation: 25-17=8, Resulting Numbers: [8, 8]
Generated Node #0,1,1: 64:[8, 8] Operation: 25-17=8
Moving to Node #0,1,1
Current State: 64:[8, 8], Operations: ['75-67=8', '25-17=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
92,
9,
66,
87
] | 97 | [
"87-66=21",
"9*21=189",
"189-92=97"
] | Current State: 97:[92, 9, 66, 87], Operations: []
Exploring Operation: 87-66=21, Resulting Numbers: [92, 9, 21]
Generated Node #2: [92, 9, 21] from Operation: 87-66=21
Current State: 97:[92, 9, 21], Operations: ['87-66=21']
Exploring Operation: 9*21=189, Resulting Numbers: [92, 189]
Generated Node #3: [92, 189] from Operation: 9*21=189
Current State: 97:[92, 189], Operations: ['87-66=21', '9*21=189']
Exploring Operation: 189-92=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[92, 9, 66, 87], Operations: []
Exploring Operation: 92+9=101, Resulting Numbers: [66, 87, 101]
Generated Node #0,0: 97:[66, 87, 101] Operation: 92+9=101
Exploring Operation: 9+87=96, Resulting Numbers: [92, 66, 96]
Generated Node #0,1: 97:[92, 66, 96] Operation: 9+87=96
Exploring Operation: 66-9=57, Resulting Numbers: [92, 87, 57]
Generated Node #0,2: 97:[92, 87, 57] Operation: 66-9=57
Exploring Operation: 9+66=75, Resulting Numbers: [92, 87, 75]
Generated Node #0,3: 97:[92, 87, 75] Operation: 9+66=75
Exploring Operation: 92-9=83, Resulting Numbers: [66, 87, 83]
Generated Node #0,4: 97:[66, 87, 83] Operation: 92-9=83
Moving to Node #0,1
Current State: 97:[92, 66, 96], Operations: ['9+87=96']
Exploring Operation: 92-66=26, Resulting Numbers: [96, 26]
Generated Node #0,1,0: 97:[96, 26] Operation: 92-66=26
Exploring Operation: 66+96=162, Resulting Numbers: [92, 162]
Generated Node #0,1,1: 97:[92, 162] Operation: 66+96=162
Exploring Operation: 92+96=188, Resulting Numbers: [66, 188]
Generated Node #0,1,2: 97:[66, 188] Operation: 92+96=188
Exploring Operation: 96-66=30, Resulting Numbers: [92, 30]
Generated Node #0,1,3: 97:[92, 30] Operation: 96-66=30
Exploring Operation: 92+66=158, Resulting Numbers: [96, 158]
Generated Node #0,1,4: 97:[96, 158] Operation: 92+66=158
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 97:[96, 158], Operations: ['9+87=96', '92+66=158']
Exploring Operation: 96*158=15168, Resulting Numbers: [15168]
15168,97 unequal: No Solution
Exploring Operation: 96+158=254, Resulting Numbers: [254]
254,97 unequal: No Solution
Exploring Operation: 158-96=62, Resulting Numbers: [62]
62,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[92, 162], Operations: ['9+87=96', '66+96=162']
Exploring Operation: 92+162=254, Resulting Numbers: [254]
254,97 unequal: No Solution
Exploring Operation: 162-92=70, Resulting Numbers: [70]
70,97 unequal: No Solution
Exploring Operation: 92*162=14904, Resulting Numbers: [14904]
14904,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[96, 26], Operations: ['9+87=96', '92-66=26']
Exploring Operation: 96-26=70, Resulting Numbers: [70]
70,97 unequal: No Solution
Exploring Operation: 96*26=2496, Resulting Numbers: [2496]
2496,97 unequal: No Solution
Exploring Operation: 96+26=122, Resulting Numbers: [122]
122,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 97:[92, 30], Operations: ['9+87=96', '96-66=30']
Exploring Operation: 92-30=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 92*30=2760, Resulting Numbers: [2760]
2760,97 unequal: No Solution
Exploring Operation: 92+30=122, Resulting Numbers: [122]
122,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[66, 188], Operations: ['9+87=96', '92+96=188']
Exploring Operation: 188-66=122, Resulting Numbers: [122]
122,97 unequal: No Solution
Exploring Operation: 66*188=12408, Resulting Numbers: [12408]
12408,97 unequal: No Solution
Exploring Operation: 66+188=254, Resulting Numbers: [254]
254,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 97:[92, 87, 75], Operations: ['9+66=75']
Exploring Operation: 87-75=12, Resulting Numbers: [92, 12]
Generated Node #0,3,0: 97:[92, 12] Operation: 87-75=12
Exploring Operation: 92+87=179, Resulting Numbers: [75, 179]
Generated Node #0,3,1: 97:[75, 179] Operation: 92+87=179
Exploring Operation: 87+75=162, Resulting Numbers: [92, 162]
Generated Node #0,3,2: 97:[92, 162] Operation: 87+75=162
Exploring Operation: 92-75=17, Resulting Numbers: [87, 17]
Generated Node #0,3,3: 97:[87, 17] Operation: 92-75=17
Exploring Operation: 92+75=167, Resulting Numbers: [87, 167]
Generated Node #0,3,4: 97:[87, 167] Operation: 92+75=167
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 97:[92, 162], Operations: ['9+66=75', '87+75=162']
Exploring Operation: 92+162=254, Resulting Numbers: [254]
254,97 unequal: No Solution
Exploring Operation: 92*162=14904, Resulting Numbers: [14904]
14904,97 unequal: No Solution
Exploring Operation: 162-92=70, Resulting Numbers: [70]
70,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 97:[87, 167], Operations: ['9+66=75', '92+75=167']
Exploring Operation: 87+167=254, Resulting Numbers: [254]
254,97 unequal: No Solution
Exploring Operation: 167-87=80, Resulting Numbers: [80]
80,97 unequal: No Solution
Exploring Operation: 87*167=14529, Resulting Numbers: [14529]
14529,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 97:[92, 12], Operations: ['9+66=75', '87-75=12']
Exploring Operation: 92+12=104, Resulting Numbers: [104]
104,97 unequal: No Solution
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,97 unequal: No Solution
Exploring Operation: 92*12=1104, Resulting Numbers: [1104]
1104,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 97:[87, 17], Operations: ['9+66=75', '92-75=17']
Exploring Operation: 87*17=1479, Resulting Numbers: [1479]
1479,97 unequal: No Solution
Exploring Operation: 87+17=104, Resulting Numbers: [104]
104,97 unequal: No Solution
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 97:[75, 179], Operations: ['9+66=75', '92+87=179']
Exploring Operation: 75*179=13425, Resulting Numbers: [13425]
13425,97 unequal: No Solution
Exploring Operation: 75+179=254, Resulting Numbers: [254]
254,97 unequal: No Solution
Exploring Operation: 179-75=104, Resulting Numbers: [104]
104,97 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: 97:[66, 87, 101], Operations: ['92+9=101']
Exploring Operation: 66+87=153, Resulting Numbers: [101, 153]
Generated Node #0,0,0: 97:[101, 153] Operation: 66+87=153
Exploring Operation: 66+101=167, Resulting Numbers: [87, 167]
Generated Node #0,0,1: 97:[87, 167] Operation: 66+101=167
Exploring Operation: 101-66=35, Resulting Numbers: [87, 35]
Generated Node #0,0,2: 97:[87, 35] Operation: 101-66=35
Exploring Operation: 87-66=21, Resulting Numbers: [101, 21]
Generated Node #0,0,3: 97:[101, 21] Operation: 87-66=21
Exploring Operation: 101-87=14, Resulting Numbers: [66, 14]
Generated Node #0,0,4: 97:[66, 14] Operation: 101-87=14
Moving to Node #0,2
Current State: 97:[92, 87, 57], Operations: ['66-9=57']
Exploring Operation: 92+57=149, Resulting Numbers: [87, 149]
Generated Node #0,2,0: 97:[87, 149] Operation: 92+57=149
Exploring Operation: 87-57=30, Resulting Numbers: [92, 30]
Generated Node #0,2,1: 97:[92, 30] Operation: 87-57=30
Exploring Operation: 92+87=179, Resulting Numbers: [57, 179]
Generated Node #0,2,2: 97:[57, 179] Operation: 92+87=179
Exploring Operation: 92-57=35, Resulting Numbers: [87, 35]
Generated Node #0,2,3: 97:[87, 35] Operation: 92-57=35
Exploring Operation: 87+57=144, Resulting Numbers: [92, 144]
Generated Node #0,2,4: 97:[92, 144] Operation: 87+57=144
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 97:[92, 144], Operations: ['66-9=57', '87+57=144']
Exploring Operation: 92+144=236, Resulting Numbers: [236]
236,97 unequal: No Solution
Exploring Operation: 92*144=13248, Resulting Numbers: [13248]
13248,97 unequal: No Solution
Exploring Operation: 144-92=52, Resulting Numbers: [52]
52,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[87, 149], Operations: ['66-9=57', '92+57=149']
Exploring Operation: 149-87=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 87+149=236, Resulting Numbers: [236]
236,97 unequal: No Solution
Exploring Operation: 87*149=12963, Resulting Numbers: [12963]
12963,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[92, 30], Operations: ['66-9=57', '87-57=30']
Exploring Operation: 92*30=2760, Resulting Numbers: [2760]
2760,97 unequal: No Solution
Exploring Operation: 92-30=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 92+30=122, Resulting Numbers: [122]
122,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 97:[87, 35], Operations: ['66-9=57', '92-57=35']
Exploring Operation: 87*35=3045, Resulting Numbers: [3045]
3045,97 unequal: No Solution
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Exploring Operation: 87+35=122, Resulting Numbers: [122]
122,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[57, 179], Operations: ['66-9=57', '92+87=179']
Exploring Operation: 57+179=236, Resulting Numbers: [236]
236,97 unequal: No Solution
Exploring Operation: 57*179=10203, Resulting Numbers: [10203]
10203,97 unequal: No Solution
Exploring Operation: 179-57=122, Resulting Numbers: [122]
122,97 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: 97:[66, 87, 83], Operations: ['92-9=83']
Exploring Operation: 87+83=170, Resulting Numbers: [66, 170]
Generated Node #0,4,0: 97:[66, 170] Operation: 87+83=170
Exploring Operation: 66+83=149, Resulting Numbers: [87, 149]
Generated Node #0,4,1: 97:[87, 149] Operation: 66+83=149
Exploring Operation: 87-66=21, Resulting Numbers: [83, 21]
Generated Node #0,4,2: 97:[83, 21] Operation: 87-66=21
Exploring Operation: 83-66=17, Resulting Numbers: [87, 17]
Generated Node #0,4,3: 97:[87, 17] Operation: 83-66=17
Exploring Operation: 66+87=153, Resulting Numbers: [83, 153]
Generated Node #0,4,4: 97:[83, 153] Operation: 66+87=153
Moving to Node #0,0,0
Current State: 97:[101, 153], Operations: ['92+9=101', '66+87=153']
Exploring Operation: 101*153=15453, Resulting Numbers: [15453]
15453,97 unequal: No Solution
Exploring Operation: 101+153=254, Resulting Numbers: [254]
254,97 unequal: No Solution
Exploring Operation: 153-101=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Moving to Node #0,4,1
Current State: 97:[87, 149], Operations: ['92-9=83', '66+83=149']
Exploring Operation: 87+149=236, Resulting Numbers: [236]
236,97 unequal: No Solution
Exploring Operation: 149-87=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 87*149=12963, Resulting Numbers: [12963]
12963,97 unequal: No Solution
Moving to Node #0,4,4
Current State: 97:[83, 153], Operations: ['92-9=83', '66+87=153']
Exploring Operation: 153-83=70, Resulting Numbers: [70]
70,97 unequal: No Solution
Exploring Operation: 83+153=236, Resulting Numbers: [236]
236,97 unequal: No Solution
Exploring Operation: 83*153=12699, Resulting Numbers: [12699]
12699,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[87, 35], Operations: ['92+9=101', '101-66=35']
Exploring Operation: 87*35=3045, Resulting Numbers: [3045]
3045,97 unequal: No Solution
Exploring Operation: 87+35=122, Resulting Numbers: [122]
122,97 unequal: No Solution
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[87, 167], Operations: ['92+9=101', '66+101=167']
Exploring Operation: 167-87=80, Resulting Numbers: [80]
80,97 unequal: No Solution
Exploring Operation: 87*167=14529, Resulting Numbers: [14529]
14529,97 unequal: No Solution
Exploring Operation: 87+167=254, Resulting Numbers: [254]
254,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[101, 21], Operations: ['92+9=101', '87-66=21']
Exploring Operation: 101-21=80, Resulting Numbers: [80]
80,97 unequal: No Solution
Exploring Operation: 101*21=2121, Resulting Numbers: [2121]
2121,97 unequal: No Solution
Exploring Operation: 101+21=122, Resulting Numbers: [122]
122,97 unequal: No Solution
Moving to Node #0,4,3
Current State: 97:[87, 17], Operations: ['92-9=83', '83-66=17']
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,97 unequal: No Solution
Exploring Operation: 87+17=104, Resulting Numbers: [104]
104,97 unequal: No Solution
Exploring Operation: 87*17=1479, Resulting Numbers: [1479]
1479,97 unequal: No Solution
Moving to Node #0,4,2
Current State: 97:[83, 21], Operations: ['92-9=83', '87-66=21']
Exploring Operation: 83+21=104, Resulting Numbers: [104]
104,97 unequal: No Solution
Exploring Operation: 83-21=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 83*21=1743, Resulting Numbers: [1743]
1743,97 unequal: No Solution
Moving to Node #0,4,0
Current State: 97:[66, 170], Operations: ['92-9=83', '87+83=170']
Exploring Operation: 170-66=104, Resulting Numbers: [104]
104,97 unequal: No Solution
Exploring Operation: 66+170=236, Resulting Numbers: [236]
236,97 unequal: No Solution
Exploring Operation: 66*170=11220, Resulting Numbers: [11220]
11220,97 unequal: No Solution
Moving to Node #0,0,4
Current State: 97:[66, 14], Operations: ['92+9=101', '101-87=14']
Exploring Operation: 66+14=80, Resulting Numbers: [80]
80,97 unequal: No Solution
Exploring Operation: 66*14=924, Resulting Numbers: [924]
924,97 unequal: No Solution
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,97 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
53,
94,
54,
23
] | 70 | [
"53+94=147",
"54+23=77",
"147-77=70"
] | Current State: 70:[53, 94, 54, 23], Operations: []
Exploring Operation: 53+94=147, Resulting Numbers: [54, 23, 147]
Generated Node #2: [54, 23, 147] from Operation: 53+94=147
Current State: 70:[54, 23, 147], Operations: ['53+94=147']
Exploring Operation: 54+23=77, Resulting Numbers: [147, 77]
Generated Node #3: [147, 77] from Operation: 54+23=77
Current State: 70:[147, 77], Operations: ['53+94=147', '54+23=77']
Exploring Operation: 147-77=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[53, 94, 54, 23], Operations: []
Exploring Operation: 94-53=41, Resulting Numbers: [54, 23, 41]
Generated Node #0,0: 70:[54, 23, 41] Operation: 94-53=41
Exploring Operation: 94-23=71, Resulting Numbers: [53, 54, 71]
Generated Node #0,1: 70:[53, 54, 71] Operation: 94-23=71
Exploring Operation: 54-53=1, Resulting Numbers: [94, 23, 1]
Generated Node #0,2: 70:[94, 23, 1] Operation: 54-53=1
Exploring Operation: 94-54=40, Resulting Numbers: [53, 23, 40]
Generated Node #0,3: 70:[53, 23, 40] Operation: 94-54=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[54, 23, 41], Operations: ['94-53=41']
Exploring Operation: 54-23=31, Resulting Numbers: [41, 31]
Generated Node #0,0,0: 70:[41, 31] Operation: 54-23=31
Exploring Operation: 41-23=18, Resulting Numbers: [54, 18]
Generated Node #0,0,1: 70:[54, 18] Operation: 41-23=18
Exploring Operation: 54+23=77, Resulting Numbers: [41, 77]
Generated Node #0,0,2: 70:[41, 77] Operation: 54+23=77
Exploring Operation: 54-41=13, Resulting Numbers: [23, 13]
Generated Node #0,0,3: 70:[23, 13] Operation: 54-41=13
Moving to Node #0,0,0
Current State: 70:[41, 31], Operations: ['94-53=41', '54-23=31']
Exploring Operation: 41+31=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 41*31=1271, Resulting Numbers: [1271]
1271,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[23, 13], Operations: ['94-53=41', '54-41=13']
Exploring Operation: 23+13=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 23*13=299, Resulting Numbers: [299]
299,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[41, 77], Operations: ['94-53=41', '54+23=77']
Exploring Operation: 41*77=3157, Resulting Numbers: [3157]
3157,70 unequal: No Solution
Exploring Operation: 41+77=118, Resulting Numbers: [118]
118,70 unequal: No Solution
Exploring Operation: 77-41=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[54, 18], Operations: ['94-53=41', '41-23=18']
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 54*18=972, Resulting Numbers: [972]
972,70 unequal: No Solution
Exploring Operation: 54+18=72, Resulting Numbers: [72]
72,70 unequal: No Solution
No 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: 70:[53, 23, 40], Operations: ['94-54=40']
Exploring Operation: 40-23=17, Resulting Numbers: [53, 17]
Generated Node #0,3,0: 70:[53, 17] Operation: 40-23=17
Exploring Operation: 53-40=13, Resulting Numbers: [23, 13]
Generated Node #0,3,1: 70:[23, 13] Operation: 53-40=13
Exploring Operation: 53+23=76, Resulting Numbers: [40, 76]
Generated Node #0,3,2: 70:[40, 76] Operation: 53+23=76
Exploring Operation: 53-23=30, Resulting Numbers: [40, 30]
Generated Node #0,3,3: 70:[40, 30] Operation: 53-23=30
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 70:[23, 13], Operations: ['94-54=40', '53-40=13']
Exploring Operation: 23*13=299, Resulting Numbers: [299]
299,70 unequal: No Solution
Exploring Operation: 23+13=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 70:[40, 30], Operations: ['94-54=40', '53-23=30']
Exploring Operation: 40*30=1200, Resulting Numbers: [1200]
1200,70 unequal: No Solution
Exploring Operation: 40+30=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[53, 94, 54, 23], Operations: []
Exploring Operation: 94-54=40, Resulting Numbers: [53, 23, 40]
Generated Node #0,3: 70:[53, 23, 40] Operation: 94-54=40
Moving to Node #0,3
Current State: 70:[53, 23, 40], Operations: ['94-54=40']
Exploring Operation: 53-23=30, Resulting Numbers: [40, 30]
Generated Node #0,3,3: 70:[40, 30] Operation: 53-23=30
Moving to Node #0,3,3
Current State: 70:[40, 30], Operations: ['94-54=40', '53-23=30']
Exploring Operation: 40+30=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.970486 | hs_4 | mult_heuristic |
[
67,
88,
4,
17
] | 87 | [
"67+88=155",
"4*17=68",
"155-68=87"
] | Current State: 87:[67, 88, 4, 17], Operations: []
Exploring Operation: 67+88=155, Resulting Numbers: [4, 17, 155]
Generated Node #2: [4, 17, 155] from Operation: 67+88=155
Current State: 87:[4, 17, 155], Operations: ['67+88=155']
Exploring Operation: 4*17=68, Resulting Numbers: [155, 68]
Generated Node #3: [155, 68] from Operation: 4*17=68
Current State: 87:[155, 68], Operations: ['67+88=155', '4*17=68']
Exploring Operation: 155-68=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[67, 88, 4, 17], Operations: []
Exploring Operation: 67-17=50, Resulting Numbers: [88, 4, 50]
Generated Node #0,0: 87:[88, 4, 50] Operation: 67-17=50
Exploring Operation: 88-67=21, Resulting Numbers: [4, 17, 21]
Generated Node #0,1: 87:[4, 17, 21] Operation: 88-67=21
Exploring Operation: 67+4=71, Resulting Numbers: [88, 17, 71]
Generated Node #0,2: 87:[88, 17, 71] Operation: 67+4=71
Exploring Operation: 67+17=84, Resulting Numbers: [88, 4, 84]
Generated Node #0,3: 87:[88, 4, 84] Operation: 67+17=84
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[88, 4, 84], Operations: ['67+17=84']
Exploring Operation: 4+84=88, Resulting Numbers: [88, 88]
Generated Node #0,3,0: 87:[88, 88] Operation: 4+84=88
Exploring Operation: 88-84=4, Resulting Numbers: [4, 4]
Generated Node #0,3,1: 87:[4, 4] Operation: 88-84=4
Exploring Operation: 88-4=84, Resulting Numbers: [84, 84]
Generated Node #0,3,2: 87:[84, 84] Operation: 88-4=84
Exploring Operation: 88+4=92, Resulting Numbers: [84, 92]
Generated Node #0,3,3: 87:[84, 92] Operation: 88+4=92
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 87:[88, 88], Operations: ['67+17=84', '4+84=88']
Exploring Operation: 88-88=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 88*88=7744, Resulting Numbers: [7744]
7744,87 unequal: No Solution
Exploring Operation: 88+88=176, Resulting Numbers: [176]
176,87 unequal: No Solution
Exploring Operation: 88/88=1, Resulting Numbers: [1]
1,87 unequal: No Solution
No 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: 87:[4, 4], Operations: ['67+17=84', '88-84=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,87 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,87 unequal: No Solution
No 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: 87:[84, 84], Operations: ['67+17=84', '88-4=84']
Exploring Operation: 84+84=168, Resulting Numbers: [168]
168,87 unequal: No Solution
Exploring Operation: 84-84=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 84*84=7056, Resulting Numbers: [7056]
7056,87 unequal: No Solution
Exploring Operation: 84/84=1, Resulting Numbers: [1]
1,87 unequal: No Solution
No 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: 87:[84, 92], Operations: ['67+17=84', '88+4=92']
Exploring Operation: 84*92=7728, Resulting Numbers: [7728]
7728,87 unequal: No Solution
Exploring Operation: 84+92=176, Resulting Numbers: [176]
176,87 unequal: No Solution
Exploring Operation: 92-84=8, Resulting Numbers: [8]
8,87 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: 87:[4, 17, 21], Operations: ['88-67=21']
Exploring Operation: 4*21=84, Resulting Numbers: [17, 84]
Generated Node #0,1,0: 87:[17, 84] Operation: 4*21=84
Exploring Operation: 4+17=21, Resulting Numbers: [21, 21]
Generated Node #0,1,1: 87:[21, 21] Operation: 4+17=21
Exploring Operation: 17+21=38, Resulting Numbers: [4, 38]
Generated Node #0,1,2: 87:[4, 38] Operation: 17+21=38
Exploring Operation: 21-17=4, Resulting Numbers: [4, 4]
Generated Node #0,1,3: 87:[4, 4] Operation: 21-17=4
Moving to Node #0,1,3
Current State: 87:[4, 4], Operations: ['88-67=21', '21-17=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,87 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[4, 38], Operations: ['88-67=21', '17+21=38']
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[17, 84], Operations: ['88-67=21', '4*21=84']
Exploring Operation: 84-17=67, Resulting Numbers: [67]
67,87 unequal: No Solution
Exploring Operation: 17+84=101, Resulting Numbers: [101]
101,87 unequal: No Solution
Exploring Operation: 17*84=1428, Resulting Numbers: [1428]
1428,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[21, 21], Operations: ['88-67=21', '4+17=21']
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 21*21=441, Resulting Numbers: [441]
441,87 unequal: No Solution
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[88, 4, 50], Operations: ['67-17=50']
Exploring Operation: 88+4=92, Resulting Numbers: [50, 92]
Generated Node #0,0,0: 87:[50, 92] Operation: 88+4=92
Exploring Operation: 50-4=46, Resulting Numbers: [88, 46]
Generated Node #0,0,1: 87:[88, 46] Operation: 50-4=46
Exploring Operation: 88-4=84, Resulting Numbers: [50, 84]
Generated Node #0,0,2: 87:[50, 84] Operation: 88-4=84
Exploring Operation: 88-50=38, Resulting Numbers: [4, 38]
Generated Node #0,0,3: 87:[4, 38] Operation: 88-50=38
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 87:[4, 38], Operations: ['67-17=50', '88-50=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,87 unequal: No Solution
No 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: 87:[88, 46], Operations: ['67-17=50', '50-4=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 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 87:[50, 84], Operations: ['67-17=50', '88-4=84']
Exploring Operation: 50*84=4200, Resulting Numbers: [4200]
4200,87 unequal: No Solution
Exploring Operation: 84-50=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 50+84=134, Resulting Numbers: [134]
134,87 unequal: No Solution
No 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: 87:[50, 92], Operations: ['67-17=50', '88+4=92']
Exploring Operation: 50*92=4600, Resulting Numbers: [4600]
4600,87 unequal: No Solution
Exploring Operation: 50+92=142, Resulting Numbers: [142]
142,87 unequal: No Solution
Exploring Operation: 92-50=42, Resulting Numbers: [42]
42,87 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: 87:[88, 17, 71], Operations: ['67+4=71']
Exploring Operation: 88-17=71, Resulting Numbers: [71, 71]
Generated Node #0,2,0: 87:[71, 71] Operation: 88-17=71
Exploring Operation: 71-17=54, Resulting Numbers: [88, 54]
Generated Node #0,2,1: 87:[88, 54] Operation: 71-17=54
Exploring Operation: 88-71=17, Resulting Numbers: [17, 17]
Generated Node #0,2,2: 87:[17, 17] Operation: 88-71=17
Exploring Operation: 17+71=88, Resulting Numbers: [88, 88]
Generated Node #0,2,3: 87:[88, 88] Operation: 17+71=88
Moving to Node #0,2,3
Current State: 87:[88, 88], Operations: ['67+4=71', '17+71=88']
Exploring Operation: 88-88=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 88*88=7744, Resulting Numbers: [7744]
7744,87 unequal: No Solution
Exploring Operation: 88+88=176, Resulting Numbers: [176]
176,87 unequal: No Solution
Exploring Operation: 88/88=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[17, 17], Operations: ['67+4=71', '88-71=17']
Exploring Operation: 17-17=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 17+17=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 17/17=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 17*17=289, Resulting Numbers: [289]
289,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[88, 54], Operations: ['67+4=71', '71-17=54']
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 88+54=142, Resulting Numbers: [142]
142,87 unequal: No Solution
Exploring Operation: 88*54=4752, Resulting Numbers: [4752]
4752,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[71, 71], Operations: ['67+4=71', '88-17=71']
Exploring Operation: 71*71=5041, Resulting Numbers: [5041]
5041,87 unequal: No Solution
Exploring Operation: 71-71=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 71+71=142, Resulting Numbers: [142]
142,87 unequal: No Solution
Exploring Operation: 71/71=1, Resulting Numbers: [1]
1,87 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 |
[
12,
84,
25,
24
] | 95 | [
"12+84=96",
"25-24=1",
"96-1=95"
] | Current State: 95:[12, 84, 25, 24], Operations: []
Exploring Operation: 12+84=96, Resulting Numbers: [25, 24, 96]
Generated Node #2: [25, 24, 96] from Operation: 12+84=96
Current State: 95:[25, 24, 96], Operations: ['12+84=96']
Exploring Operation: 25-24=1, Resulting Numbers: [96, 1]
Generated Node #3: [96, 1] from Operation: 25-24=1
Current State: 95:[96, 1], Operations: ['12+84=96', '25-24=1']
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[12, 84, 25, 24], Operations: []
Exploring Operation: 12+84=96, Resulting Numbers: [25, 24, 96]
Generated Node #0,0: 95:[25, 24, 96] Operation: 12+84=96
Exploring Operation: 84/12=7, Resulting Numbers: [25, 24, 7]
Generated Node #0,1: 95:[25, 24, 7] Operation: 84/12=7
Moving to Node #0,0
Current State: 95:[25, 24, 96], Operations: ['12+84=96']
Exploring Operation: 25-24=1, Resulting Numbers: [96, 1]
Generated Node #0,0,0: 95:[96, 1] Operation: 25-24=1
Exploring Operation: 96/24=4, Resulting Numbers: [25, 4]
Generated Node #0,0,1: 95:[25, 4] Operation: 96/24=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[96, 1], Operations: ['12+84=96', '25-24=1']
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[12, 84, 25, 24], Operations: []
Exploring Operation: 12+84=96, Resulting Numbers: [25, 24, 96]
Generated Node #0,0: 95:[25, 24, 96] Operation: 12+84=96
Moving to Node #0,0
Current State: 95:[25, 24, 96], Operations: ['12+84=96']
Exploring Operation: 25-24=1, Resulting Numbers: [96, 1]
Generated Node #0,0,0: 95:[96, 1] Operation: 25-24=1
Moving to Node #0,0,0
Current State: 95:[96, 1], Operations: ['12+84=96', '25-24=1']
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
79,
97,
35,
38
] | 94 | [
"79+35=114",
"114/38=3",
"97-3=94"
] | Current State: 94:[79, 97, 35, 38], Operations: []
Exploring Operation: 79+35=114, Resulting Numbers: [97, 38, 114]
Generated Node #2: [97, 38, 114] from Operation: 79+35=114
Current State: 94:[97, 38, 114], Operations: ['79+35=114']
Exploring Operation: 114/38=3, Resulting Numbers: [97, 3]
Generated Node #3: [97, 3] from Operation: 114/38=3
Current State: 94:[97, 3], Operations: ['79+35=114', '114/38=3']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[79, 97, 35, 38], Operations: []
Exploring Operation: 79-35=44, Resulting Numbers: [97, 38, 44]
Generated Node #0,0: 94:[97, 38, 44] Operation: 79-35=44
Exploring Operation: 79+35=114, Resulting Numbers: [97, 38, 114]
Generated Node #0,1: 94:[97, 38, 114] Operation: 79+35=114
Exploring Operation: 79-38=41, Resulting Numbers: [97, 35, 41]
Generated Node #0,2: 94:[97, 35, 41] Operation: 79-38=41
Exploring Operation: 38-35=3, Resulting Numbers: [79, 97, 3]
Generated Node #0,3: 94:[79, 97, 3] Operation: 38-35=3
Exploring Operation: 97-79=18, Resulting Numbers: [35, 38, 18]
Generated Node #0,4: 94:[35, 38, 18] Operation: 97-79=18
Moving to Node #0,0
Current State: 94:[97, 38, 44], Operations: ['79-35=44']
Exploring Operation: 38+44=82, Resulting Numbers: [97, 82]
Generated Node #0,0,0: 94:[97, 82] Operation: 38+44=82
Exploring Operation: 44-38=6, Resulting Numbers: [97, 6]
Generated Node #0,0,1: 94:[97, 6] Operation: 44-38=6
Exploring Operation: 97-38=59, Resulting Numbers: [44, 59]
Generated Node #0,0,2: 94:[44, 59] Operation: 97-38=59
Exploring Operation: 97-44=53, Resulting Numbers: [38, 53]
Generated Node #0,0,3: 94:[38, 53] Operation: 97-44=53
Exploring Operation: 97+38=135, Resulting Numbers: [44, 135]
Generated Node #0,0,4: 94:[44, 135] Operation: 97+38=135
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[97, 6], Operations: ['79-35=44', '44-38=6']
Exploring Operation: 97+6=103, Resulting Numbers: [103]
103,94 unequal: No Solution
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,94 unequal: No Solution
Exploring Operation: 97*6=582, Resulting Numbers: [582]
582,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,0
Current State: 94:[97, 82], Operations: ['79-35=44', '38+44=82']
Exploring Operation: 97-82=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Exploring Operation: 97*82=7954, Resulting Numbers: [7954]
7954,94 unequal: No Solution
Exploring Operation: 97+82=179, Resulting Numbers: [179]
179,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:[44, 59], Operations: ['79-35=44', '97-38=59']
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Exploring Operation: 44*59=2596, Resulting Numbers: [2596]
2596,94 unequal: No Solution
Exploring Operation: 44+59=103, Resulting Numbers: [103]
103,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:[38, 53], Operations: ['79-35=44', '97-44=53']
Exploring Operation: 53-38=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Exploring Operation: 38+53=91, Resulting Numbers: [91]
91,94 unequal: No Solution
Exploring Operation: 38*53=2014, Resulting Numbers: [2014]
2014,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,4
Current State: 94:[44, 135], Operations: ['79-35=44', '97+38=135']
Exploring Operation: 44+135=179, Resulting Numbers: [179]
179,94 unequal: No Solution
Exploring Operation: 44*135=5940, Resulting Numbers: [5940]
5940,94 unequal: No Solution
Exploring Operation: 135-44=91, Resulting Numbers: [91]
91,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:[79, 97, 3], Operations: ['38-35=3']
Exploring Operation: 97-79=18, Resulting Numbers: [3, 18]
Generated Node #0,3,0: 94:[3, 18] Operation: 97-79=18
Exploring Operation: 97+3=100, Resulting Numbers: [79, 100]
Generated Node #0,3,1: 94:[79, 100] Operation: 97+3=100
Exploring Operation: 79+3=82, Resulting Numbers: [97, 82]
Generated Node #0,3,2: 94:[97, 82] Operation: 79+3=82
Exploring Operation: 97-3=94, Resulting Numbers: [79, 94]
Generated Node #0,3,3: 94:[79, 94] Operation: 97-3=94
Exploring Operation: 79-3=76, Resulting Numbers: [97, 76]
Generated Node #0,3,4: 94:[97, 76] Operation: 79-3=76
Moving to Node #0,2
Current State: 94:[97, 35, 41], Operations: ['79-38=41']
Exploring Operation: 97-35=62, Resulting Numbers: [41, 62]
Generated Node #0,2,0: 94:[41, 62] Operation: 97-35=62
Exploring Operation: 35+41=76, Resulting Numbers: [97, 76]
Generated Node #0,2,1: 94:[97, 76] Operation: 35+41=76
Exploring Operation: 97-41=56, Resulting Numbers: [35, 56]
Generated Node #0,2,2: 94:[35, 56] Operation: 97-41=56
Exploring Operation: 41-35=6, Resulting Numbers: [97, 6]
Generated Node #0,2,3: 94:[97, 6] Operation: 41-35=6
Exploring Operation: 97+35=132, Resulting Numbers: [41, 132]
Generated Node #0,2,4: 94:[41, 132] Operation: 97+35=132
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 94:[97, 6], Operations: ['79-38=41', '41-35=6']
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,94 unequal: No Solution
Exploring Operation: 97*6=582, Resulting Numbers: [582]
582,94 unequal: No Solution
Exploring Operation: 97+6=103, Resulting Numbers: [103]
103,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[41, 62], Operations: ['79-38=41', '97-35=62']
Exploring Operation: 41+62=103, Resulting Numbers: [103]
103,94 unequal: No Solution
Exploring Operation: 41*62=2542, Resulting Numbers: [2542]
2542,94 unequal: No Solution
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[97, 76], Operations: ['79-38=41', '35+41=76']
Exploring Operation: 97+76=173, Resulting Numbers: [173]
173,94 unequal: No Solution
Exploring Operation: 97-76=21, Resulting Numbers: [21]
21,94 unequal: No Solution
Exploring Operation: 97*76=7372, Resulting Numbers: [7372]
7372,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[35, 56], Operations: ['79-38=41', '97-41=56']
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,94 unequal: No Solution
Exploring Operation: 35*56=1960, Resulting Numbers: [1960]
1960,94 unequal: No Solution
Exploring Operation: 35+56=91, Resulting Numbers: [91]
91,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 94:[41, 132], Operations: ['79-38=41', '97+35=132']
Exploring Operation: 41*132=5412, Resulting Numbers: [5412]
5412,94 unequal: No Solution
Exploring Operation: 132-41=91, Resulting Numbers: [91]
91,94 unequal: No Solution
Exploring Operation: 41+132=173, Resulting Numbers: [173]
173,94 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: 94:[97, 38, 114], Operations: ['79+35=114']
Exploring Operation: 114-97=17, Resulting Numbers: [38, 17]
Generated Node #0,1,0: 94:[38, 17] Operation: 114-97=17
Exploring Operation: 114-38=76, Resulting Numbers: [97, 76]
Generated Node #0,1,1: 94:[97, 76] Operation: 114-38=76
Exploring Operation: 97-38=59, Resulting Numbers: [114, 59]
Generated Node #0,1,2: 94:[114, 59] Operation: 97-38=59
Exploring Operation: 97+38=135, Resulting Numbers: [114, 135]
Generated Node #0,1,3: 94:[114, 135] Operation: 97+38=135
Exploring Operation: 114/38=3, Resulting Numbers: [97, 3]
Generated Node #0,1,4: 94:[97, 3] Operation: 114/38=3
Moving to Node #0,4
Current State: 94:[35, 38, 18], Operations: ['97-79=18']
Exploring Operation: 38-18=20, Resulting Numbers: [35, 20]
Generated Node #0,4,0: 94:[35, 20] Operation: 38-18=20
Exploring Operation: 38+18=56, Resulting Numbers: [35, 56]
Generated Node #0,4,1: 94:[35, 56] Operation: 38+18=56
Exploring Operation: 35+18=53, Resulting Numbers: [38, 53]
Generated Node #0,4,2: 94:[38, 53] Operation: 35+18=53
Exploring Operation: 38-35=3, Resulting Numbers: [18, 3]
Generated Node #0,4,3: 94:[18, 3] Operation: 38-35=3
Exploring Operation: 35-18=17, Resulting Numbers: [38, 17]
Generated Node #0,4,4: 94:[38, 17] Operation: 35-18=17
Moving to Node #0,1,4
Current State: 94:[97, 3], Operations: ['79+35=114', '114/38=3']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[79, 97, 35, 38], Operations: []
Exploring Operation: 79+35=114, Resulting Numbers: [97, 38, 114]
Generated Node #0,1: 94:[97, 38, 114] Operation: 79+35=114
Moving to Node #0,1
Current State: 94:[97, 38, 114], Operations: ['79+35=114']
Exploring Operation: 114/38=3, Resulting Numbers: [97, 3]
Generated Node #0,1,4: 94:[97, 3] Operation: 114/38=3
Moving to Node #0,1,4
Current State: 94:[97, 3], Operations: ['79+35=114', '114/38=3']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.943576 | hs_5 | mult_heuristic |
[
15,
29,
83,
91
] | 22 | [
"29-15=14",
"91-83=8",
"14+8=22"
] | Current State: 22:[15, 29, 83, 91], Operations: []
Exploring Operation: 29-15=14, Resulting Numbers: [83, 91, 14]
Generated Node #2: [83, 91, 14] from Operation: 29-15=14
Current State: 22:[83, 91, 14], Operations: ['29-15=14']
Exploring Operation: 91-83=8, Resulting Numbers: [14, 8]
Generated Node #3: [14, 8] from Operation: 91-83=8
Current State: 22:[14, 8], Operations: ['29-15=14', '91-83=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[15, 29, 83, 91], Operations: []
Exploring Operation: 91-15=76, Resulting Numbers: [29, 83, 76]
Generated Node #0,0: 22:[29, 83, 76] Operation: 91-15=76
Exploring Operation: 91-83=8, Resulting Numbers: [15, 29, 8]
Generated Node #0,1: 22:[15, 29, 8] Operation: 91-83=8
Exploring Operation: 83-15=68, Resulting Numbers: [29, 91, 68]
Generated Node #0,2: 22:[29, 91, 68] Operation: 83-15=68
Exploring Operation: 83-29=54, Resulting Numbers: [15, 91, 54]
Generated Node #0,3: 22:[15, 91, 54] Operation: 83-29=54
Exploring Operation: 91-29=62, Resulting Numbers: [15, 83, 62]
Generated Node #0,4: 22:[15, 83, 62] Operation: 91-29=62
Moving to Node #0,1
Current State: 22:[15, 29, 8], Operations: ['91-83=8']
Exploring Operation: 29-8=21, Resulting Numbers: [15, 21]
Generated Node #0,1,0: 22:[15, 21] Operation: 29-8=21
Exploring Operation: 29+8=37, Resulting Numbers: [15, 37]
Generated Node #0,1,1: 22:[15, 37] Operation: 29+8=37
Exploring Operation: 29-15=14, Resulting Numbers: [8, 14]
Generated Node #0,1,2: 22:[8, 14] Operation: 29-15=14
Exploring Operation: 15-8=7, Resulting Numbers: [29, 7]
Generated Node #0,1,3: 22:[29, 7] Operation: 15-8=7
Exploring Operation: 15+8=23, Resulting Numbers: [29, 23]
Generated Node #0,1,4: 22:[29, 23] Operation: 15+8=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[15, 21], Operations: ['91-83=8', '29-8=21']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 15*21=315, Resulting Numbers: [315]
315,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 22:[8, 14], Operations: ['91-83=8', '29-15=14']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,22 unequal: No Solution
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[15, 29, 83, 91], Operations: []
Exploring Operation: 91-83=8, Resulting Numbers: [15, 29, 8]
Generated Node #0,1: 22:[15, 29, 8] Operation: 91-83=8
Moving to Node #0,1
Current State: 22:[15, 29, 8], Operations: ['91-83=8']
Exploring Operation: 29-15=14, Resulting Numbers: [8, 14]
Generated Node #0,1,2: 22:[8, 14] Operation: 29-15=14
Moving to Node #0,1,2
Current State: 22:[8, 14], Operations: ['91-83=8', '29-15=14']
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
68,
96,
79,
37
] | 88 | [
"96-68=28",
"79+37=116",
"116-28=88"
] | Current State: 88:[68, 96, 79, 37], Operations: []
Exploring Operation: 96-68=28, Resulting Numbers: [79, 37, 28]
Generated Node #2: [79, 37, 28] from Operation: 96-68=28
Current State: 88:[79, 37, 28], Operations: ['96-68=28']
Exploring Operation: 79+37=116, Resulting Numbers: [28, 116]
Generated Node #3: [28, 116] from Operation: 79+37=116
Current State: 88:[28, 116], Operations: ['96-68=28', '79+37=116']
Exploring Operation: 116-28=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[68, 96, 79, 37], Operations: []
Exploring Operation: 79-68=11, Resulting Numbers: [96, 37, 11]
Generated Node #0,0: 88:[96, 37, 11] Operation: 79-68=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[96, 37, 11], Operations: ['79-68=11']
Exploring Operation: 96-11=85, Resulting Numbers: [37, 85]
Generated Node #0,0,0: 88:[37, 85] Operation: 96-11=85
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[37, 85], Operations: ['79-68=11', '96-11=85']
Exploring Operation: 85-37=48, Resulting Numbers: [48]
48,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
23,
57,
92,
91
] | 33 | [
"57-23=34",
"92-91=1",
"34-1=33"
] | Current State: 33:[23, 57, 92, 91], Operations: []
Exploring Operation: 57-23=34, Resulting Numbers: [92, 91, 34]
Generated Node #2: [92, 91, 34] from Operation: 57-23=34
Current State: 33:[92, 91, 34], Operations: ['57-23=34']
Exploring Operation: 92-91=1, Resulting Numbers: [34, 1]
Generated Node #3: [34, 1] from Operation: 92-91=1
Current State: 33:[34, 1], Operations: ['57-23=34', '92-91=1']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[23, 57, 92, 91], Operations: []
Exploring Operation: 92/23=4, Resulting Numbers: [57, 91, 4]
Generated Node #0,0: 33:[57, 91, 4] Operation: 92/23=4
Exploring Operation: 92-57=35, Resulting Numbers: [23, 91, 35]
Generated Node #0,1: 33:[23, 91, 35] Operation: 92-57=35
Exploring Operation: 57-23=34, Resulting Numbers: [92, 91, 34]
Generated Node #0,2: 33:[92, 91, 34] Operation: 57-23=34
Exploring Operation: 92-91=1, Resulting Numbers: [23, 57, 1]
Generated Node #0,3: 33:[23, 57, 1] Operation: 92-91=1
Exploring Operation: 91-57=34, Resulting Numbers: [23, 92, 34]
Generated Node #0,4: 33:[23, 92, 34] Operation: 91-57=34
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[23, 57, 1], Operations: ['92-91=1']
Exploring Operation: 57-1=56, Resulting Numbers: [23, 56]
Generated Node #0,3,0: 33:[23, 56] Operation: 57-1=56
Exploring Operation: 23*1=23, Resulting Numbers: [57, 23]
Generated Node #0,3,1: 33:[57, 23] Operation: 23*1=23
Exploring Operation: 23+1=24, Resulting Numbers: [57, 24]
Generated Node #0,3,2: 33:[57, 24] Operation: 23+1=24
Exploring Operation: 57-23=34, Resulting Numbers: [1, 34]
Generated Node #0,3,3: 33:[1, 34] Operation: 57-23=34
Exploring Operation: 23/1=23, Resulting Numbers: [57, 23]
Generated Node #0,3,4: 33:[57, 23] Operation: 23/1=23
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 33:[1, 34], Operations: ['92-91=1', '57-23=34']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[23, 57, 92, 91], Operations: []
Exploring Operation: 92-91=1, Resulting Numbers: [23, 57, 1]
Generated Node #0,3: 33:[23, 57, 1] Operation: 92-91=1
Moving to Node #0,3
Current State: 33:[23, 57, 1], Operations: ['92-91=1']
Exploring Operation: 57-23=34, Resulting Numbers: [1, 34]
Generated Node #0,3,3: 33:[1, 34] Operation: 57-23=34
Moving to Node #0,3,3
Current State: 33:[1, 34], Operations: ['92-91=1', '57-23=34']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
74,
58,
73,
3
] | 91 | [
"74*3=222",
"58+73=131",
"222-131=91"
] | Current State: 91:[74, 58, 73, 3], Operations: []
Exploring Operation: 74*3=222, Resulting Numbers: [58, 73, 222]
Generated Node #2: [58, 73, 222] from Operation: 74*3=222
Current State: 91:[58, 73, 222], Operations: ['74*3=222']
Exploring Operation: 58+73=131, Resulting Numbers: [222, 131]
Generated Node #3: [222, 131] from Operation: 58+73=131
Current State: 91:[222, 131], Operations: ['74*3=222', '58+73=131']
Exploring Operation: 222-131=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[74, 58, 73, 3], Operations: []
Exploring Operation: 73-58=15, Resulting Numbers: [74, 3, 15]
Generated Node #0,0: 91:[74, 3, 15] Operation: 73-58=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[74, 3, 15], Operations: ['73-58=15']
Exploring Operation: 74+15=89, Resulting Numbers: [3, 89]
Generated Node #0,0,0: 91:[3, 89] Operation: 74+15=89
Moving to Node #0,0,0
Current State: 91:[3, 89], Operations: ['73-58=15', '74+15=89']
Exploring Operation: 3+89=92, Resulting Numbers: [92]
92,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
37,
90,
33,
5
] | 88 | [
"37+33=70",
"90/5=18",
"70+18=88"
] | Current State: 88:[37, 90, 33, 5], Operations: []
Exploring Operation: 37+33=70, Resulting Numbers: [90, 5, 70]
Generated Node #2: [90, 5, 70] from Operation: 37+33=70
Current State: 88:[90, 5, 70], Operations: ['37+33=70']
Exploring Operation: 90/5=18, Resulting Numbers: [70, 18]
Generated Node #3: [70, 18] from Operation: 90/5=18
Current State: 88:[70, 18], Operations: ['37+33=70', '90/5=18']
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[37, 90, 33, 5], Operations: []
Exploring Operation: 37-33=4, Resulting Numbers: [90, 5, 4]
Generated Node #0,0: 88:[90, 5, 4] Operation: 37-33=4
Exploring Operation: 33+5=38, Resulting Numbers: [37, 90, 38]
Generated Node #0,1: 88:[37, 90, 38] Operation: 33+5=38
Exploring Operation: 37+5=42, Resulting Numbers: [90, 33, 42]
Generated Node #0,2: 88:[90, 33, 42] Operation: 37+5=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[90, 5, 4], Operations: ['37-33=4']
Exploring Operation: 90-5=85, Resulting Numbers: [4, 85]
Generated Node #0,0,0: 88:[4, 85] Operation: 90-5=85
Exploring Operation: 90-4=86, Resulting Numbers: [5, 86]
Generated Node #0,0,1: 88:[5, 86] Operation: 90-4=86
Exploring Operation: 5+4=9, Resulting Numbers: [90, 9]
Generated Node #0,0,2: 88:[90, 9] Operation: 5+4=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[4, 85], Operations: ['37-33=4', '90-5=85']
Exploring Operation: 4*85=340, Resulting Numbers: [340]
340,88 unequal: No Solution
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 4+85=89, Resulting Numbers: [89]
89,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[5, 86], Operations: ['37-33=4', '90-4=86']
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 5+86=91, Resulting Numbers: [91]
91,88 unequal: No Solution
Exploring Operation: 5*86=430, Resulting Numbers: [430]
430,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 88:[90, 9], Operations: ['37-33=4', '5+4=9']
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 90+9=99, Resulting Numbers: [99]
99,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[37, 90, 38], Operations: ['33+5=38']
Exploring Operation: 38-37=1, Resulting Numbers: [90, 1]
Generated Node #0,1,0: 88:[90, 1] Operation: 38-37=1
Exploring Operation: 90-37=53, Resulting Numbers: [38, 53]
Generated Node #0,1,1: 88:[38, 53] Operation: 90-37=53
Exploring Operation: 37+38=75, Resulting Numbers: [90, 75]
Generated Node #0,1,2: 88:[90, 75] Operation: 37+38=75
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[90, 1], Operations: ['33+5=38', '38-37=1']
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,88 unequal: No Solution
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 90*1=90, Resulting Numbers: [90]
90,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[38, 53], Operations: ['33+5=38', '90-37=53']
Exploring Operation: 38+53=91, Resulting Numbers: [91]
91,88 unequal: No Solution
Exploring Operation: 53-38=15, Resulting Numbers: [15]
15,88 unequal: No Solution
Exploring Operation: 38*53=2014, Resulting Numbers: [2014]
2014,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 88:[90, 75], Operations: ['33+5=38', '37+38=75']
Exploring Operation: 90+75=165, Resulting Numbers: [165]
165,88 unequal: No Solution
Exploring Operation: 90*75=6750, Resulting Numbers: [6750]
6750,88 unequal: No Solution
Exploring Operation: 90-75=15, Resulting Numbers: [15]
15,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[90, 33, 42], Operations: ['37+5=42']
Exploring Operation: 90-42=48, Resulting Numbers: [33, 48]
Generated Node #0,2,0: 88:[33, 48] Operation: 90-42=48
Exploring Operation: 90-33=57, Resulting Numbers: [42, 57]
Generated Node #0,2,1: 88:[42, 57] Operation: 90-33=57
Exploring Operation: 42-33=9, Resulting Numbers: [90, 9]
Generated Node #0,2,2: 88:[90, 9] Operation: 42-33=9
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 88:[90, 9], Operations: ['37+5=42', '42-33=9']
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 90+9=99, Resulting Numbers: [99]
99,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 88:[33, 48], Operations: ['37+5=42', '90-42=48']
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,88 unequal: No Solution
Exploring Operation: 33*48=1584, Resulting Numbers: [1584]
1584,88 unequal: No Solution
Exploring Operation: 33+48=81, Resulting Numbers: [81]
81,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 88:[42, 57], Operations: ['37+5=42', '90-33=57']
Exploring Operation: 42*57=2394, Resulting Numbers: [2394]
2394,88 unequal: No Solution
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,88 unequal: No Solution
Exploring Operation: 42+57=99, Resulting Numbers: [99]
99,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
32,
26,
78,
73
] | 11 | [
"32-26=6",
"78-73=5",
"6+5=11"
] | Current State: 11:[32, 26, 78, 73], Operations: []
Exploring Operation: 32-26=6, Resulting Numbers: [78, 73, 6]
Generated Node #2: [78, 73, 6] from Operation: 32-26=6
Current State: 11:[78, 73, 6], Operations: ['32-26=6']
Exploring Operation: 78-73=5, Resulting Numbers: [6, 5]
Generated Node #3: [6, 5] from Operation: 78-73=5
Current State: 11:[6, 5], Operations: ['32-26=6', '78-73=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[32, 26, 78, 73], Operations: []
Exploring Operation: 78-32=46, Resulting Numbers: [26, 73, 46]
Generated Node #0,0: 11:[26, 73, 46] Operation: 78-32=46
Exploring Operation: 78-73=5, Resulting Numbers: [32, 26, 5]
Generated Node #0,1: 11:[32, 26, 5] Operation: 78-73=5
Exploring Operation: 78-26=52, Resulting Numbers: [32, 73, 52]
Generated Node #0,2: 11:[32, 73, 52] Operation: 78-26=52
Exploring Operation: 78/26=3, Resulting Numbers: [32, 73, 3]
Generated Node #0,3: 11:[32, 73, 3] Operation: 78/26=3
Exploring Operation: 73-32=41, Resulting Numbers: [26, 78, 41]
Generated Node #0,4: 11:[26, 78, 41] Operation: 73-32=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[32, 26, 5], Operations: ['78-73=5']
Exploring Operation: 32-26=6, Resulting Numbers: [5, 6]
Generated Node #0,1,0: 11:[5, 6] Operation: 32-26=6
Exploring Operation: 26-5=21, Resulting Numbers: [32, 21]
Generated Node #0,1,1: 11:[32, 21] Operation: 26-5=21
Exploring Operation: 26+5=31, Resulting Numbers: [32, 31]
Generated Node #0,1,2: 11:[32, 31] Operation: 26+5=31
Exploring Operation: 32+5=37, Resulting Numbers: [26, 37]
Generated Node #0,1,3: 11:[26, 37] Operation: 32+5=37
Exploring Operation: 32-5=27, Resulting Numbers: [26, 27]
Generated Node #0,1,4: 11:[26, 27] Operation: 32-5=27
Moving to Node #0,1,0
Current State: 11:[5, 6], Operations: ['78-73=5', '32-26=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[32, 26, 78, 73], Operations: []
Exploring Operation: 78-73=5, Resulting Numbers: [32, 26, 5]
Generated Node #0,1: 11:[32, 26, 5] Operation: 78-73=5
Moving to Node #0,1
Current State: 11:[32, 26, 5], Operations: ['78-73=5']
Exploring Operation: 32-26=6, Resulting Numbers: [5, 6]
Generated Node #0,1,0: 11:[5, 6] Operation: 32-26=6
Moving to Node #0,1,0
Current State: 11:[5, 6], Operations: ['78-73=5', '32-26=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
2,
14,
14,
31
] | 38 | [
"14/2=7",
"14+31=45",
"45-7=38"
] | Current State: 38:[2, 14, 14, 31], Operations: []
Exploring Operation: 14/2=7, Resulting Numbers: [31, 7]
Generated Node #2: [31, 7] from Operation: 14/2=7
Current State: 38:[31, 7], Operations: ['14/2=7']
Exploring Operation: 14+31=45, Resulting Numbers: [7, 45]
Generated Node #3: [7, 45] from Operation: 14+31=45
Current State: 38:[7, 45], Operations: ['14/2=7', '14+31=45']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[2, 14, 14, 31], Operations: []
Exploring Operation: 31-14=17, Resulting Numbers: [2, 14, 17]
Generated Node #0,0: 38:[2, 14, 17] Operation: 31-14=17
Exploring Operation: 14/14=1, Resulting Numbers: [2, 31, 1]
Generated Node #0,1: 38:[2, 31, 1] Operation: 14/14=1
Exploring Operation: 14-14=0, Resulting Numbers: [2, 31, 0]
Generated Node #0,2: 38:[2, 31, 0] Operation: 14-14=0
Exploring Operation: 31-14=17, Resulting Numbers: [2, 14, 17]
Generated Node #0,3: 38:[2, 14, 17] Operation: 31-14=17
Exploring Operation: 14+31=45, Resulting Numbers: [2, 14, 45]
Generated Node #0,4: 38:[2, 14, 45] Operation: 14+31=45
Moving to Node #0,0
Current State: 38:[2, 14, 17], Operations: ['31-14=17']
Exploring Operation: 14+17=31, Resulting Numbers: [2, 31]
Generated Node #0,0,0: 38:[2, 31] Operation: 14+17=31
Exploring Operation: 14/2=7, Resulting Numbers: [17, 7]
Generated Node #0,0,1: 38:[17, 7] Operation: 14/2=7
Exploring Operation: 2+14=16, Resulting Numbers: [17, 16]
Generated Node #0,0,2: 38:[17, 16] Operation: 2+14=16
Exploring Operation: 2+17=19, Resulting Numbers: [14, 19]
Generated Node #0,0,3: 38:[14, 19] Operation: 2+17=19
Exploring Operation: 17-14=3, Resulting Numbers: [2, 3]
Generated Node #0,0,4: 38:[2, 3] Operation: 17-14=3
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 38:[2, 3], Operations: ['31-14=17', '17-14=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,38 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,38 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,38 unequal: No Solution
No 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: 38:[17, 16], Operations: ['31-14=17', '2+14=16']
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 17*16=272, Resulting Numbers: [272]
272,38 unequal: No Solution
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,38 unequal: No Solution
No 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: 38:[14, 19], Operations: ['31-14=17', '2+17=19']
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,38 unequal: No Solution
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,38 unequal: No Solution
No 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: 38:[2, 31], Operations: ['31-14=17', '14+17=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,38 unequal: No Solution
No 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: 38:[17, 7], Operations: ['31-14=17', '14/2=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,38 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: 38:[2, 14, 17], Operations: ['31-14=17']
Exploring Operation: 2+14=16, Resulting Numbers: [17, 16]
Generated Node #0,3,0: 38:[17, 16] Operation: 2+14=16
Exploring Operation: 14/2=7, Resulting Numbers: [17, 7]
Generated Node #0,3,1: 38:[17, 7] Operation: 14/2=7
Exploring Operation: 17-14=3, Resulting Numbers: [2, 3]
Generated Node #0,3,2: 38:[2, 3] Operation: 17-14=3
Exploring Operation: 2+17=19, Resulting Numbers: [14, 19]
Generated Node #0,3,3: 38:[14, 19] Operation: 2+17=19
Exploring Operation: 14+17=31, Resulting Numbers: [2, 31]
Generated Node #0,3,4: 38:[2, 31] Operation: 14+17=31
Moving to Node #0,1
Current State: 38:[2, 31, 1], Operations: ['14/14=1']
Exploring Operation: 31*1=31, Resulting Numbers: [2, 31]
Generated Node #0,1,0: 38:[2, 31] Operation: 31*1=31
Exploring Operation: 31+1=32, Resulting Numbers: [2, 32]
Generated Node #0,1,1: 38:[2, 32] Operation: 31+1=32
Exploring Operation: 2+31=33, Resulting Numbers: [1, 33]
Generated Node #0,1,2: 38:[1, 33] Operation: 2+31=33
Exploring Operation: 2*1=2, Resulting Numbers: [31, 2]
Generated Node #0,1,3: 38:[31, 2] Operation: 2*1=2
Exploring Operation: 2/1=2, Resulting Numbers: [31, 2]
Generated Node #0,1,4: 38:[31, 2] Operation: 2/1=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[2, 32], Operations: ['14/14=1', '31+1=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,38 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,38 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,38 unequal: No Solution
No 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: 38:[1, 33], Operations: ['14/14=1', '2+31=33']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,38 unequal: No Solution
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 1*33=33, Resulting Numbers: [33]
33,38 unequal: No Solution
No 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: 38:[2, 31], Operations: ['14/14=1', '31*1=31']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,38 unequal: No Solution
No 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: 38:[31, 2], Operations: ['14/14=1', '2*1=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,38 unequal: No Solution
No 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: 38:[31, 2], Operations: ['14/14=1', '2/1=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,38 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: 38:[2, 31, 0], Operations: ['14-14=0']
Exploring Operation: 31+0=31, Resulting Numbers: [2, 31]
Generated Node #0,2,0: 38:[2, 31] Operation: 31+0=31
Exploring Operation: 2+31=33, Resulting Numbers: [0, 33]
Generated Node #0,2,1: 38:[0, 33] Operation: 2+31=33
Exploring Operation: 31*0=0, Resulting Numbers: [2, 0]
Generated Node #0,2,2: 38:[2, 0] Operation: 31*0=0
Exploring Operation: 2-0=2, Resulting Numbers: [31, 2]
Generated Node #0,2,3: 38:[31, 2] Operation: 2-0=2
Exploring Operation: 2+0=2, Resulting Numbers: [31, 2]
Generated Node #0,2,4: 38:[31, 2] Operation: 2+0=2
Moving to Node #0,4
Current State: 38:[2, 14, 45], Operations: ['14+31=45']
Exploring Operation: 2+14=16, Resulting Numbers: [45, 16]
Generated Node #0,4,0: 38:[45, 16] Operation: 2+14=16
Exploring Operation: 45-2=43, Resulting Numbers: [14, 43]
Generated Node #0,4,1: 38:[14, 43] Operation: 45-2=43
Exploring Operation: 14/2=7, Resulting Numbers: [45, 7]
Generated Node #0,4,2: 38:[45, 7] Operation: 14/2=7
Exploring Operation: 45-14=31, Resulting Numbers: [2, 31]
Generated Node #0,4,3: 38:[2, 31] Operation: 45-14=31
Exploring Operation: 14-2=12, Resulting Numbers: [45, 12]
Generated Node #0,4,4: 38:[45, 12] Operation: 14-2=12
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 38:[2, 31], Operations: ['14+31=45', '45-14=31']
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 38:[45, 16], Operations: ['14+31=45', '2+14=16']
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,38 unequal: No Solution
Exploring Operation: 45*16=720, Resulting Numbers: [720]
720,38 unequal: No Solution
No 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: 38:[14, 43], Operations: ['14+31=45', '45-2=43']
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 14*43=602, Resulting Numbers: [602]
602,38 unequal: No Solution
Exploring Operation: 14+43=57, Resulting Numbers: [57]
57,38 unequal: No Solution
No 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: 38:[45, 7], Operations: ['14+31=45', '14/2=7']
Exploring Operation: 45+7=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 45*7=315, Resulting Numbers: [315]
315,38 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[2, 14, 14, 31], Operations: []
Exploring Operation: 14+31=45, Resulting Numbers: [2, 14, 45]
Generated Node #0,4: 38:[2, 14, 45] Operation: 14+31=45
Moving to Node #0,4
Current State: 38:[2, 14, 45], Operations: ['14+31=45']
Exploring Operation: 14/2=7, Resulting Numbers: [45, 7]
Generated Node #0,4,2: 38:[45, 7] Operation: 14/2=7
Moving to Node #0,4,2
Current State: 38:[45, 7], Operations: ['14+31=45', '14/2=7']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.932292 | hs_5 | sum_heuristic |
[
36,
79,
35,
38
] | 29 | [
"38-35=3",
"36*3=108",
"108-79=29"
] | Current State: 29:[36, 79, 35, 38], Operations: []
Exploring Operation: 38-35=3, Resulting Numbers: [36, 79, 3]
Generated Node #2: [36, 79, 3] from Operation: 38-35=3
Current State: 29:[36, 79, 3], Operations: ['38-35=3']
Exploring Operation: 36*3=108, Resulting Numbers: [79, 108]
Generated Node #3: [79, 108] from Operation: 36*3=108
Current State: 29:[79, 108], Operations: ['38-35=3', '36*3=108']
Exploring Operation: 108-79=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[36, 79, 35, 38], Operations: []
Exploring Operation: 79-36=43, Resulting Numbers: [35, 38, 43]
Generated Node #0,0: 29:[35, 38, 43] Operation: 79-36=43
Exploring Operation: 79-35=44, Resulting Numbers: [36, 38, 44]
Generated Node #0,1: 29:[36, 38, 44] Operation: 79-35=44
Exploring Operation: 79-38=41, Resulting Numbers: [36, 35, 41]
Generated Node #0,2: 29:[36, 35, 41] Operation: 79-38=41
Exploring Operation: 38-36=2, Resulting Numbers: [79, 35, 2]
Generated Node #0,3: 29:[79, 35, 2] Operation: 38-36=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[36, 35, 41], Operations: ['79-38=41']
Exploring Operation: 36-35=1, Resulting Numbers: [41, 1]
Generated Node #0,2,0: 29:[41, 1] Operation: 36-35=1
Exploring Operation: 41-35=6, Resulting Numbers: [36, 6]
Generated Node #0,2,1: 29:[36, 6] Operation: 41-35=6
Exploring Operation: 36+35=71, Resulting Numbers: [41, 71]
Generated Node #0,2,2: 29:[41, 71] Operation: 36+35=71
Exploring Operation: 41-36=5, Resulting Numbers: [35, 5]
Generated Node #0,2,3: 29:[35, 5] Operation: 41-36=5
Moving to Node #0,2,1
Current State: 29:[36, 6], Operations: ['79-38=41', '41-35=6']
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 36*6=216, Resulting Numbers: [216]
216,29 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[35, 5], Operations: ['79-38=41', '41-36=5']
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,29 unequal: No Solution
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,29 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[41, 1], Operations: ['79-38=41', '36-35=1']
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,29 unequal: No Solution
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[41, 71], Operations: ['79-38=41', '36+35=71']
Exploring Operation: 71-41=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 41*71=2911, Resulting Numbers: [2911]
2911,29 unequal: No Solution
Exploring Operation: 41+71=112, Resulting Numbers: [112]
112,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[35, 38, 43], Operations: ['79-36=43']
Exploring Operation: 38-35=3, Resulting Numbers: [43, 3]
Generated Node #0,0,0: 29:[43, 3] Operation: 38-35=3
Exploring Operation: 43-35=8, Resulting Numbers: [38, 8]
Generated Node #0,0,1: 29:[38, 8] Operation: 43-35=8
Exploring Operation: 43-38=5, Resulting Numbers: [35, 5]
Generated Node #0,0,2: 29:[35, 5] Operation: 43-38=5
Exploring Operation: 35+38=73, Resulting Numbers: [43, 73]
Generated Node #0,0,3: 29:[43, 73] Operation: 35+38=73
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[38, 8], Operations: ['79-36=43', '43-35=8']
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,29 unequal: No Solution
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,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:[35, 5], Operations: ['79-36=43', '43-38=5']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,29 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,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:[43, 3], Operations: ['79-36=43', '38-35=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,29 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,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,3
Current State: 29:[43, 73], Operations: ['79-36=43', '35+38=73']
Exploring Operation: 43*73=3139, Resulting Numbers: [3139]
3139,29 unequal: No Solution
Exploring Operation: 73-43=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 43+73=116, Resulting Numbers: [116]
116,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,1
Current State: 29:[36, 38, 44], Operations: ['79-35=44']
Exploring Operation: 44-36=8, Resulting Numbers: [38, 8]
Generated Node #0,1,0: 29:[38, 8] Operation: 44-36=8
Exploring Operation: 38-36=2, Resulting Numbers: [44, 2]
Generated Node #0,1,1: 29:[44, 2] Operation: 38-36=2
Exploring Operation: 36+38=74, Resulting Numbers: [44, 74]
Generated Node #0,1,2: 29:[44, 74] Operation: 36+38=74
Exploring Operation: 44-38=6, Resulting Numbers: [36, 6]
Generated Node #0,1,3: 29:[36, 6] Operation: 44-38=6
Moving to Node #0,1,0
Current State: 29:[38, 8], Operations: ['79-35=44', '44-36=8']
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,29 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[36, 6], Operations: ['79-35=44', '44-38=6']
Exploring Operation: 36*6=216, Resulting Numbers: [216]
216,29 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[44, 2], Operations: ['79-35=44', '38-36=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,29 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[44, 74], Operations: ['79-35=44', '36+38=74']
Exploring Operation: 44+74=118, Resulting Numbers: [118]
118,29 unequal: No Solution
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 44*74=3256, Resulting Numbers: [3256]
3256,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[79, 35, 2], Operations: ['38-36=2']
Exploring Operation: 35-2=33, Resulting Numbers: [79, 33]
Generated Node #0,3,0: 29:[79, 33] Operation: 35-2=33
Exploring Operation: 79-35=44, Resulting Numbers: [2, 44]
Generated Node #0,3,1: 29:[2, 44] Operation: 79-35=44
Exploring Operation: 79+2=81, Resulting Numbers: [35, 81]
Generated Node #0,3,2: 29:[35, 81] Operation: 79+2=81
Exploring Operation: 79-2=77, Resulting Numbers: [35, 77]
Generated Node #0,3,3: 29:[35, 77] Operation: 79-2=77
Moving to Node #0,3,1
Current State: 29:[2, 44], Operations: ['38-36=2', '79-35=44']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,29 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Moving to Node #0,3,3
Current State: 29:[35, 77], Operations: ['38-36=2', '79-2=77']
Exploring Operation: 77-35=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 35+77=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 35*77=2695, Resulting Numbers: [2695]
2695,29 unequal: No Solution
Moving to Node #0,3,0
Current State: 29:[79, 33], Operations: ['38-36=2', '35-2=33']
Exploring Operation: 79-33=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 79+33=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 79*33=2607, Resulting Numbers: [2607]
2607,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[35, 81], Operations: ['38-36=2', '79+2=81']
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 35*81=2835, Resulting Numbers: [2835]
2835,29 unequal: No Solution
Exploring Operation: 35+81=116, Resulting Numbers: [116]
116,29 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 |
[
3,
58,
37,
39
] | 26 | [
"39-37=2",
"58/2=29",
"29-3=26"
] | Current State: 26:[3, 58, 37, 39], Operations: []
Exploring Operation: 39-37=2, Resulting Numbers: [3, 58, 2]
Generated Node #2: [3, 58, 2] from Operation: 39-37=2
Current State: 26:[3, 58, 2], Operations: ['39-37=2']
Exploring Operation: 58/2=29, Resulting Numbers: [3, 29]
Generated Node #3: [3, 29] from Operation: 58/2=29
Current State: 26:[3, 29], Operations: ['39-37=2', '58/2=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[3, 58, 37, 39], Operations: []
Exploring Operation: 58-39=19, Resulting Numbers: [3, 37, 19]
Generated Node #0,0: 26:[3, 37, 19] Operation: 58-39=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[3, 37, 19], Operations: ['58-39=19']
Exploring Operation: 37-19=18, Resulting Numbers: [3, 18]
Generated Node #0,0,0: 26:[3, 18] Operation: 37-19=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[3, 18], Operations: ['58-39=19', '37-19=18']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,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
No solution found.
| 0 | hs_1 | mult_heuristic |
[
45,
39,
27,
97
] | 66 | [
"27*97=2619",
"2619-45=2574",
"2574/39=66"
] | Current State: 66:[45, 39, 27, 97], Operations: []
Exploring Operation: 27*97=2619, Resulting Numbers: [45, 39, 2619]
Generated Node #2: [45, 39, 2619] from Operation: 27*97=2619
Current State: 66:[45, 39, 2619], Operations: ['27*97=2619']
Exploring Operation: 2619-45=2574, Resulting Numbers: [39, 2574]
Generated Node #3: [39, 2574] from Operation: 2619-45=2574
Current State: 66:[39, 2574], Operations: ['27*97=2619', '2619-45=2574']
Exploring Operation: 2574/39=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[45, 39, 27, 97], Operations: []
Exploring Operation: 97-39=58, Resulting Numbers: [45, 27, 58]
Generated Node #0,0: 66:[45, 27, 58] Operation: 97-39=58
Exploring Operation: 45-27=18, Resulting Numbers: [39, 97, 18]
Generated Node #0,1: 66:[39, 97, 18] Operation: 45-27=18
Exploring Operation: 97-45=52, Resulting Numbers: [39, 27, 52]
Generated Node #0,2: 66:[39, 27, 52] Operation: 97-45=52
Exploring Operation: 97-27=70, Resulting Numbers: [45, 39, 70]
Generated Node #0,3: 66:[45, 39, 70] Operation: 97-27=70
Exploring Operation: 45-39=6, Resulting Numbers: [27, 97, 6]
Generated Node #0,4: 66:[27, 97, 6] Operation: 45-39=6
Moving to Node #0,3
Current State: 66:[45, 39, 70], Operations: ['97-27=70']
Exploring Operation: 70-39=31, Resulting Numbers: [45, 31]
Generated Node #0,3,0: 66:[45, 31] Operation: 70-39=31
Exploring Operation: 45+39=84, Resulting Numbers: [70, 84]
Generated Node #0,3,1: 66:[70, 84] Operation: 45+39=84
Exploring Operation: 45+70=115, Resulting Numbers: [39, 115]
Generated Node #0,3,2: 66:[39, 115] Operation: 45+70=115
Exploring Operation: 45-39=6, Resulting Numbers: [70, 6]
Generated Node #0,3,3: 66:[70, 6] Operation: 45-39=6
Exploring Operation: 70-45=25, Resulting Numbers: [39, 25]
Generated Node #0,3,4: 66:[39, 25] Operation: 70-45=25
Moving to Node #0,2
Current State: 66:[39, 27, 52], Operations: ['97-45=52']
Exploring Operation: 27+52=79, Resulting Numbers: [39, 79]
Generated Node #0,2,0: 66:[39, 79] Operation: 27+52=79
Exploring Operation: 52-27=25, Resulting Numbers: [39, 25]
Generated Node #0,2,1: 66:[39, 25] Operation: 52-27=25
Exploring Operation: 39+27=66, Resulting Numbers: [52, 66]
Generated Node #0,2,2: 66:[52, 66] Operation: 39+27=66
Exploring Operation: 52-39=13, Resulting Numbers: [27, 13]
Generated Node #0,2,3: 66:[27, 13] Operation: 52-39=13
Exploring Operation: 39-27=12, Resulting Numbers: [52, 12]
Generated Node #0,2,4: 66:[52, 12] Operation: 39-27=12
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 66:[27, 13], Operations: ['97-45=52', '52-39=13']
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Exploring Operation: 27*13=351, Resulting Numbers: [351]
351,66 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 66:[39, 25], Operations: ['97-45=52', '52-27=25']
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,66 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 66:[52, 66], Operations: ['97-45=52', '39+27=66']
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 52+66=118, Resulting Numbers: [118]
118,66 unequal: No Solution
Exploring Operation: 52*66=3432, Resulting Numbers: [3432]
3432,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 66:[52, 12], Operations: ['97-45=52', '39-27=12']
Exploring Operation: 52*12=624, Resulting Numbers: [624]
624,66 unequal: No Solution
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Exploring Operation: 52+12=64, Resulting Numbers: [64]
64,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 66:[39, 79], Operations: ['97-45=52', '27+52=79']
Exploring Operation: 79-39=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Exploring Operation: 39*79=3081, Resulting Numbers: [3081]
3081,66 unequal: No Solution
Exploring Operation: 39+79=118, Resulting Numbers: [118]
118,66 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: 66:[45, 27, 58], Operations: ['97-39=58']
Exploring Operation: 45-27=18, Resulting Numbers: [58, 18]
Generated Node #0,0,0: 66:[58, 18] Operation: 45-27=18
Exploring Operation: 45+27=72, Resulting Numbers: [58, 72]
Generated Node #0,0,1: 66:[58, 72] Operation: 45+27=72
Exploring Operation: 27+58=85, Resulting Numbers: [45, 85]
Generated Node #0,0,2: 66:[45, 85] Operation: 27+58=85
Exploring Operation: 58-27=31, Resulting Numbers: [45, 31]
Generated Node #0,0,3: 66:[45, 31] Operation: 58-27=31
Exploring Operation: 58-45=13, Resulting Numbers: [27, 13]
Generated Node #0,0,4: 66:[27, 13] Operation: 58-45=13
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 66:[27, 13], Operations: ['97-39=58', '58-45=13']
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Exploring Operation: 27*13=351, Resulting Numbers: [351]
351,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[58, 18], Operations: ['97-39=58', '45-27=18']
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[58, 72], Operations: ['97-39=58', '45+27=72']
Exploring Operation: 72-58=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 58*72=4176, Resulting Numbers: [4176]
4176,66 unequal: No Solution
Exploring Operation: 58+72=130, Resulting Numbers: [130]
130,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 66:[45, 31], Operations: ['97-39=58', '58-27=31']
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 45*31=1395, Resulting Numbers: [1395]
1395,66 unequal: No Solution
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[45, 85], Operations: ['97-39=58', '27+58=85']
Exploring Operation: 85-45=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Exploring Operation: 45*85=3825, Resulting Numbers: [3825]
3825,66 unequal: No Solution
Exploring Operation: 45+85=130, Resulting Numbers: [130]
130,66 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: 66:[27, 97, 6], Operations: ['45-39=6']
Exploring Operation: 27+6=33, Resulting Numbers: [97, 33]
Generated Node #0,4,0: 66:[97, 33] Operation: 27+6=33
Exploring Operation: 97-27=70, Resulting Numbers: [6, 70]
Generated Node #0,4,1: 66:[6, 70] Operation: 97-27=70
Exploring Operation: 97+6=103, Resulting Numbers: [27, 103]
Generated Node #0,4,2: 66:[27, 103] Operation: 97+6=103
Exploring Operation: 97-6=91, Resulting Numbers: [27, 91]
Generated Node #0,4,3: 66:[27, 91] Operation: 97-6=91
Exploring Operation: 27-6=21, Resulting Numbers: [97, 21]
Generated Node #0,4,4: 66:[97, 21] Operation: 27-6=21
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 66:[6, 70], Operations: ['45-39=6', '97-27=70']
Exploring Operation: 6*70=420, Resulting Numbers: [420]
420,66 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,66 unequal: No Solution
Exploring Operation: 6+70=76, Resulting Numbers: [76]
76,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 66:[27, 91], Operations: ['45-39=6', '97-6=91']
Exploring Operation: 91-27=64, Resulting Numbers: [64]
64,66 unequal: No Solution
Exploring Operation: 27*91=2457, Resulting Numbers: [2457]
2457,66 unequal: No Solution
Exploring Operation: 27+91=118, Resulting Numbers: [118]
118,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 66:[97, 33], Operations: ['45-39=6', '27+6=33']
Exploring Operation: 97+33=130, Resulting Numbers: [130]
130,66 unequal: No Solution
Exploring Operation: 97*33=3201, Resulting Numbers: [3201]
3201,66 unequal: No Solution
Exploring Operation: 97-33=64, Resulting Numbers: [64]
64,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 66:[97, 21], Operations: ['45-39=6', '27-6=21']
Exploring Operation: 97+21=118, Resulting Numbers: [118]
118,66 unequal: No Solution
Exploring Operation: 97-21=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 97*21=2037, Resulting Numbers: [2037]
2037,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 66:[27, 103], Operations: ['45-39=6', '97+6=103']
Exploring Operation: 27+103=130, Resulting Numbers: [130]
130,66 unequal: No Solution
Exploring Operation: 27*103=2781, Resulting Numbers: [2781]
2781,66 unequal: No Solution
Exploring Operation: 103-27=76, Resulting Numbers: [76]
76,66 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: 66:[39, 97, 18], Operations: ['45-27=18']
Exploring Operation: 97-39=58, Resulting Numbers: [18, 58]
Generated Node #0,1,0: 66:[18, 58] Operation: 97-39=58
Exploring Operation: 39-18=21, Resulting Numbers: [97, 21]
Generated Node #0,1,1: 66:[97, 21] Operation: 39-18=21
Exploring Operation: 97+18=115, Resulting Numbers: [39, 115]
Generated Node #0,1,2: 66:[39, 115] Operation: 97+18=115
Exploring Operation: 39+18=57, Resulting Numbers: [97, 57]
Generated Node #0,1,3: 66:[97, 57] Operation: 39+18=57
Exploring Operation: 97-18=79, Resulting Numbers: [39, 79]
Generated Node #0,1,4: 66:[39, 79] Operation: 97-18=79
Moving to Node #0,3,3
Current State: 66:[70, 6], Operations: ['97-27=70', '45-39=6']
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,66 unequal: No Solution
Exploring Operation: 70*6=420, Resulting Numbers: [420]
420,66 unequal: No Solution
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Moving to Node #0,3,4
Current State: 66:[39, 25], Operations: ['97-27=70', '70-45=25']
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,66 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[18, 58], Operations: ['45-27=18', '97-39=58']
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Exploring Operation: 18+58=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 18*58=1044, Resulting Numbers: [1044]
1044,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[45, 31], Operations: ['97-27=70', '70-39=31']
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 45*31=1395, Resulting Numbers: [1395]
1395,66 unequal: No Solution
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Moving to Node #0,1,4
Current State: 66:[39, 79], Operations: ['45-27=18', '97-18=79']
Exploring Operation: 39*79=3081, Resulting Numbers: [3081]
3081,66 unequal: No Solution
Exploring Operation: 39+79=118, Resulting Numbers: [118]
118,66 unequal: No Solution
Exploring Operation: 79-39=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[70, 84], Operations: ['97-27=70', '45+39=84']
Exploring Operation: 84-70=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 70+84=154, Resulting Numbers: [154]
154,66 unequal: No Solution
Exploring Operation: 70*84=5880, Resulting Numbers: [5880]
5880,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[97, 21], Operations: ['45-27=18', '39-18=21']
Exploring Operation: 97+21=118, Resulting Numbers: [118]
118,66 unequal: No Solution
Exploring Operation: 97*21=2037, Resulting Numbers: [2037]
2037,66 unequal: No Solution
Exploring Operation: 97-21=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[97, 57], Operations: ['45-27=18', '39+18=57']
Exploring Operation: 97-57=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Exploring Operation: 97+57=154, Resulting Numbers: [154]
154,66 unequal: No Solution
Exploring Operation: 97*57=5529, Resulting Numbers: [5529]
5529,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[39, 115], Operations: ['45-27=18', '97+18=115']
Exploring Operation: 39+115=154, Resulting Numbers: [154]
154,66 unequal: No Solution
Exploring Operation: 115-39=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 39*115=4485, Resulting Numbers: [4485]
4485,66 unequal: No Solution
Moving to Node #0,3,2
Current State: 66:[39, 115], Operations: ['97-27=70', '45+70=115']
Exploring Operation: 39*115=4485, Resulting Numbers: [4485]
4485,66 unequal: No Solution
Exploring Operation: 39+115=154, Resulting Numbers: [154]
154,66 unequal: No Solution
Exploring Operation: 115-39=76, Resulting Numbers: [76]
76,66 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
24,
44,
3,
63
] | 27 | [
"24/3=8",
"63-44=19",
"8+19=27"
] | Current State: 27:[24, 44, 3, 63], Operations: []
Exploring Operation: 24/3=8, Resulting Numbers: [44, 63, 8]
Generated Node #2: [44, 63, 8] from Operation: 24/3=8
Current State: 27:[44, 63, 8], Operations: ['24/3=8']
Exploring Operation: 63-44=19, Resulting Numbers: [8, 19]
Generated Node #3: [8, 19] from Operation: 63-44=19
Current State: 27:[8, 19], Operations: ['24/3=8', '63-44=19']
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[24, 44, 3, 63], Operations: []
Exploring Operation: 63-44=19, Resulting Numbers: [24, 3, 19]
Generated Node #0,0: 27:[24, 3, 19] Operation: 63-44=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[24, 3, 19], Operations: ['63-44=19']
Exploring Operation: 24-19=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 27:[3, 5] Operation: 24-19=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[3, 5], Operations: ['63-44=19', '24-19=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,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_1 | mult_heuristic |
[
17,
34,
74,
68
] | 23 | [
"34-17=17",
"74-68=6",
"17+6=23"
] | Current State: 23:[17, 34, 74, 68], Operations: []
Exploring Operation: 34-17=17, Resulting Numbers: [74, 68, 17]
Generated Node #2: [74, 68, 17] from Operation: 34-17=17
Current State: 23:[74, 68, 17], Operations: ['34-17=17']
Exploring Operation: 74-68=6, Resulting Numbers: [17, 6]
Generated Node #3: [17, 6] from Operation: 74-68=6
Current State: 23:[17, 6], Operations: ['34-17=17', '74-68=6']
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[17, 34, 74, 68], Operations: []
Exploring Operation: 74-34=40, Resulting Numbers: [17, 68, 40]
Generated Node #0,0: 23:[17, 68, 40] Operation: 74-34=40
Exploring Operation: 74-68=6, Resulting Numbers: [17, 34, 6]
Generated Node #0,1: 23:[17, 34, 6] Operation: 74-68=6
Moving to Node #0,1
Current State: 23:[17, 34, 6], Operations: ['74-68=6']
Exploring Operation: 34-6=28, Resulting Numbers: [17, 28]
Generated Node #0,1,0: 23:[17, 28] Operation: 34-6=28
Exploring Operation: 17+6=23, Resulting Numbers: [34, 23]
Generated Node #0,1,1: 23:[34, 23] Operation: 17+6=23
Moving to Node #0,0
Current State: 23:[17, 68, 40], Operations: ['74-34=40']
Exploring Operation: 68-40=28, Resulting Numbers: [17, 28]
Generated Node #0,0,0: 23:[17, 28] Operation: 68-40=28
Exploring Operation: 68/17=4, Resulting Numbers: [40, 4]
Generated Node #0,0,1: 23:[40, 4] Operation: 68/17=4
Moving to Node #0,1,0
Current State: 23:[17, 28], Operations: ['74-68=6', '34-6=28']
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[17, 28], Operations: ['74-34=40', '68-40=28']
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[34, 23], Operations: ['74-68=6', '17+6=23']
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,23 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[40, 4], Operations: ['74-34=40', '68/17=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,23 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,23 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
59,
9,
45,
9
] | 63 | [
"59+9=68",
"45/9=5",
"68-5=63"
] | Current State: 63:[59, 9, 45, 9], Operations: []
Exploring Operation: 59+9=68, Resulting Numbers: [45, 68]
Generated Node #2: [45, 68] from Operation: 59+9=68
Current State: 63:[45, 68], Operations: ['59+9=68']
Exploring Operation: 45/9=5, Resulting Numbers: [68, 5]
Generated Node #3: [68, 5] from Operation: 45/9=5
Current State: 63:[68, 5], Operations: ['59+9=68', '45/9=5']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[59, 9, 45, 9], Operations: []
Exploring Operation: 45/9=5, Resulting Numbers: [59, 9, 5]
Generated Node #0,0: 63:[59, 9, 5] Operation: 45/9=5
Exploring Operation: 45+9=54, Resulting Numbers: [59, 9, 54]
Generated Node #0,1: 63:[59, 9, 54] Operation: 45+9=54
Exploring Operation: 59-45=14, Resulting Numbers: [9, 9, 14]
Generated Node #0,2: 63:[9, 9, 14] Operation: 59-45=14
Exploring Operation: 45/9=5, Resulting Numbers: [59, 9, 5]
Generated Node #0,3: 63:[59, 9, 5] Operation: 45/9=5
Exploring Operation: 9+45=54, Resulting Numbers: [59, 9, 54]
Generated Node #0,4: 63:[59, 9, 54] Operation: 9+45=54
Moving to Node #0,2
Current State: 63:[9, 9, 14], Operations: ['59-45=14']
Exploring Operation: 14-9=5, Resulting Numbers: [9, 5]
Generated Node #0,2,0: 63:[9, 5] Operation: 14-9=5
Exploring Operation: 9+14=23, Resulting Numbers: [9, 23]
Generated Node #0,2,1: 63:[9, 23] Operation: 9+14=23
Exploring Operation: 9/9=1, Resulting Numbers: [14, 1]
Generated Node #0,2,2: 63:[14, 1] Operation: 9/9=1
Exploring Operation: 14-9=5, Resulting Numbers: [9, 5]
Generated Node #0,2,3: 63:[9, 5] Operation: 14-9=5
Exploring Operation: 9+14=23, Resulting Numbers: [9, 23]
Generated Node #0,2,4: 63:[9, 23] Operation: 9+14=23
Moving to Node #0,3
Current State: 63:[59, 9, 5], Operations: ['45/9=5']
Exploring Operation: 9-5=4, Resulting Numbers: [59, 4]
Generated Node #0,3,0: 63:[59, 4] Operation: 9-5=4
Exploring Operation: 9+5=14, Resulting Numbers: [59, 14]
Generated Node #0,3,1: 63:[59, 14] Operation: 9+5=14
Exploring Operation: 59+9=68, Resulting Numbers: [5, 68]
Generated Node #0,3,2: 63:[5, 68] Operation: 59+9=68
Exploring Operation: 59+5=64, Resulting Numbers: [9, 64]
Generated Node #0,3,3: 63:[9, 64] Operation: 59+5=64
Exploring Operation: 59-5=54, Resulting Numbers: [9, 54]
Generated Node #0,3,4: 63:[9, 54] Operation: 59-5=54
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 63:[9, 64], Operations: ['45/9=5', '59+5=64']
Exploring Operation: 9+64=73, Resulting Numbers: [73]
73,63 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,63 unequal: No Solution
Exploring Operation: 9*64=576, Resulting Numbers: [576]
576,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,0
Current State: 63:[59, 4], Operations: ['45/9=5', '9-5=4']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,63 unequal: No Solution
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[59, 9, 45, 9], Operations: []
Exploring Operation: 45/9=5, Resulting Numbers: [59, 9, 5]
Generated Node #0,3: 63:[59, 9, 5] Operation: 45/9=5
Moving to Node #0,3
Current State: 63:[59, 9, 5], Operations: ['45/9=5']
Exploring Operation: 9-5=4, Resulting Numbers: [59, 4]
Generated Node #0,3,0: 63:[59, 4] Operation: 9-5=4
Moving to Node #0,3,0
Current State: 63:[59, 4], Operations: ['45/9=5', '9-5=4']
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | mult_heuristic |
[
99,
56,
27,
9
] | 70 | [
"99+27=126",
"126/9=14",
"56+14=70"
] | Current State: 70:[99, 56, 27, 9], Operations: []
Exploring Operation: 99+27=126, Resulting Numbers: [56, 9, 126]
Generated Node #2: [56, 9, 126] from Operation: 99+27=126
Current State: 70:[56, 9, 126], Operations: ['99+27=126']
Exploring Operation: 126/9=14, Resulting Numbers: [56, 14]
Generated Node #3: [56, 14] from Operation: 126/9=14
Current State: 70:[56, 14], Operations: ['99+27=126', '126/9=14']
Exploring Operation: 56+14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[99, 56, 27, 9], Operations: []
Exploring Operation: 99-27=72, Resulting Numbers: [56, 9, 72]
Generated Node #0,0: 70:[56, 9, 72] Operation: 99-27=72
Exploring Operation: 99-9=90, Resulting Numbers: [56, 27, 90]
Generated Node #0,1: 70:[56, 27, 90] Operation: 99-9=90
Exploring Operation: 99/9=11, Resulting Numbers: [56, 27, 11]
Generated Node #0,2: 70:[56, 27, 11] Operation: 99/9=11
Exploring Operation: 56-27=29, Resulting Numbers: [99, 9, 29]
Generated Node #0,3: 70:[99, 9, 29] Operation: 56-27=29
Exploring Operation: 99-56=43, Resulting Numbers: [27, 9, 43]
Generated Node #0,4: 70:[27, 9, 43] Operation: 99-56=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[56, 9, 72], Operations: ['99-27=72']
Exploring Operation: 72-9=63, Resulting Numbers: [56, 63]
Generated Node #0,0,0: 70:[56, 63] Operation: 72-9=63
Exploring Operation: 56+9=65, Resulting Numbers: [72, 65]
Generated Node #0,0,1: 70:[72, 65] Operation: 56+9=65
Exploring Operation: 56-9=47, Resulting Numbers: [72, 47]
Generated Node #0,0,2: 70:[72, 47] Operation: 56-9=47
Exploring Operation: 72-56=16, Resulting Numbers: [9, 16]
Generated Node #0,0,3: 70:[9, 16] Operation: 72-56=16
Exploring Operation: 72/9=8, Resulting Numbers: [56, 8]
Generated Node #0,0,4: 70:[56, 8] Operation: 72/9=8
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 70:[9, 16], Operations: ['99-27=72', '72-56=16']
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,70 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 70:[72, 65], Operations: ['99-27=72', '56+9=65']
Exploring Operation: 72*65=4680, Resulting Numbers: [4680]
4680,70 unequal: No Solution
Exploring Operation: 72-65=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 72+65=137, Resulting Numbers: [137]
137,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 70:[72, 47], Operations: ['99-27=72', '56-9=47']
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 72+47=119, Resulting Numbers: [119]
119,70 unequal: No Solution
Exploring Operation: 72*47=3384, Resulting Numbers: [3384]
3384,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 70:[56, 8], Operations: ['99-27=72', '72/9=8']
Exploring Operation: 56*8=448, Resulting Numbers: [448]
448,70 unequal: No Solution
Exploring Operation: 56+8=64, Resulting Numbers: [64]
64,70 unequal: No Solution
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[56, 63], Operations: ['99-27=72', '72-9=63']
Exploring Operation: 56+63=119, Resulting Numbers: [119]
119,70 unequal: No Solution
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 56*63=3528, Resulting Numbers: [3528]
3528,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 70:[27, 9, 43], Operations: ['99-56=43']
Exploring Operation: 43-9=34, Resulting Numbers: [27, 34]
Generated Node #0,4,0: 70:[27, 34] Operation: 43-9=34
Exploring Operation: 43-27=16, Resulting Numbers: [9, 16]
Generated Node #0,4,1: 70:[9, 16] Operation: 43-27=16
Exploring Operation: 27/9=3, Resulting Numbers: [43, 3]
Generated Node #0,4,2: 70:[43, 3] Operation: 27/9=3
Exploring Operation: 27+9=36, Resulting Numbers: [43, 36]
Generated Node #0,4,3: 70:[43, 36] Operation: 27+9=36
Exploring Operation: 27+43=70, Resulting Numbers: [9, 70]
Generated Node #0,4,4: 70:[9, 70] Operation: 27+43=70
Moving to Node #0,4,4
Current State: 70:[9, 70], Operations: ['99-56=43', '27+43=70']
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,70 unequal: No Solution
Exploring Operation: 9+70=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 9*70=630, Resulting Numbers: [630]
630,70 unequal: No Solution
Moving to Node #0,4,1
Current State: 70:[9, 16], Operations: ['99-56=43', '43-27=16']
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,70 unequal: No Solution
Moving to Node #0,4,0
Current State: 70:[27, 34], Operations: ['99-56=43', '43-9=34']
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,70 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,70 unequal: No Solution
Moving to Node #0,4,2
Current State: 70:[43, 3], Operations: ['99-56=43', '27/9=3']
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,70 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,70 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Moving to Node #0,4,3
Current State: 70:[43, 36], Operations: ['99-56=43', '27+9=36']
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 43+36=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 43*36=1548, Resulting Numbers: [1548]
1548,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[56, 27, 11], Operations: ['99/9=11']
Exploring Operation: 56-27=29, Resulting Numbers: [11, 29]
Generated Node #0,2,0: 70:[11, 29] Operation: 56-27=29
Exploring Operation: 27-11=16, Resulting Numbers: [56, 16]
Generated Node #0,2,1: 70:[56, 16] Operation: 27-11=16
Exploring Operation: 56+27=83, Resulting Numbers: [11, 83]
Generated Node #0,2,2: 70:[11, 83] Operation: 56+27=83
Exploring Operation: 27+11=38, Resulting Numbers: [56, 38]
Generated Node #0,2,3: 70:[56, 38] Operation: 27+11=38
Exploring Operation: 56+11=67, Resulting Numbers: [27, 67]
Generated Node #0,2,4: 70:[27, 67] Operation: 56+11=67
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[11, 29], Operations: ['99/9=11', '56-27=29']
Exploring Operation: 11*29=319, Resulting Numbers: [319]
319,70 unequal: No Solution
Exploring Operation: 11+29=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 70:[27, 67], Operations: ['99/9=11', '56+11=67']
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 27+67=94, Resulting Numbers: [94]
94,70 unequal: No Solution
Exploring Operation: 27*67=1809, Resulting Numbers: [1809]
1809,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 70:[11, 83], Operations: ['99/9=11', '56+27=83']
Exploring Operation: 83-11=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 11*83=913, Resulting Numbers: [913]
913,70 unequal: No Solution
Exploring Operation: 11+83=94, Resulting Numbers: [94]
94,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[56, 16], Operations: ['99/9=11', '27-11=16']
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 56*16=896, Resulting Numbers: [896]
896,70 unequal: No Solution
Exploring Operation: 56+16=72, Resulting Numbers: [72]
72,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 70:[56, 38], Operations: ['99/9=11', '27+11=38']
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 56*38=2128, Resulting Numbers: [2128]
2128,70 unequal: No Solution
Exploring Operation: 56+38=94, Resulting Numbers: [94]
94,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[99, 9, 29], Operations: ['56-27=29']
Exploring Operation: 99/9=11, Resulting Numbers: [29, 11]
Generated Node #0,3,0: 70:[29, 11] Operation: 99/9=11
Exploring Operation: 99-29=70, Resulting Numbers: [9, 70]
Generated Node #0,3,1: 70:[9, 70] Operation: 99-29=70
Exploring Operation: 29-9=20, Resulting Numbers: [99, 20]
Generated Node #0,3,2: 70:[99, 20] Operation: 29-9=20
Exploring Operation: 9+29=38, Resulting Numbers: [99, 38]
Generated Node #0,3,3: 70:[99, 38] Operation: 9+29=38
Exploring Operation: 99-9=90, Resulting Numbers: [29, 90]
Generated Node #0,3,4: 70:[29, 90] Operation: 99-9=90
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 70:[9, 70], Operations: ['56-27=29', '99-29=70']
Exploring Operation: 9+70=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,70 unequal: No Solution
Exploring Operation: 9*70=630, Resulting Numbers: [630]
630,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 70:[29, 11], Operations: ['56-27=29', '99/9=11']
Exploring Operation: 29*11=319, Resulting Numbers: [319]
319,70 unequal: No Solution
Exploring Operation: 29+11=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 70:[29, 90], Operations: ['56-27=29', '99-9=90']
Exploring Operation: 29*90=2610, Resulting Numbers: [2610]
2610,70 unequal: No Solution
Exploring Operation: 90-29=61, Resulting Numbers: [61]
61,70 unequal: No Solution
Exploring Operation: 29+90=119, Resulting Numbers: [119]
119,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 70:[99, 38], Operations: ['56-27=29', '9+29=38']
Exploring Operation: 99-38=61, Resulting Numbers: [61]
61,70 unequal: No Solution
Exploring Operation: 99+38=137, Resulting Numbers: [137]
137,70 unequal: No Solution
Exploring Operation: 99*38=3762, Resulting Numbers: [3762]
3762,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 70:[99, 20], Operations: ['56-27=29', '29-9=20']
Exploring Operation: 99*20=1980, Resulting Numbers: [1980]
1980,70 unequal: No Solution
Exploring Operation: 99+20=119, Resulting Numbers: [119]
119,70 unequal: No Solution
Exploring Operation: 99-20=79, Resulting Numbers: [79]
79,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[56, 27, 90], Operations: ['99-9=90']
Exploring Operation: 90-56=34, Resulting Numbers: [27, 34]
Generated Node #0,1,0: 70:[27, 34] Operation: 90-56=34
Exploring Operation: 27+90=117, Resulting Numbers: [56, 117]
Generated Node #0,1,1: 70:[56, 117] Operation: 27+90=117
Exploring Operation: 90-27=63, Resulting Numbers: [56, 63]
Generated Node #0,1,2: 70:[56, 63] Operation: 90-27=63
Exploring Operation: 56+27=83, Resulting Numbers: [90, 83]
Generated Node #0,1,3: 70:[90, 83] Operation: 56+27=83
Exploring Operation: 56-27=29, Resulting Numbers: [90, 29]
Generated Node #0,1,4: 70:[90, 29] Operation: 56-27=29
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[27, 34], Operations: ['99-9=90', '90-56=34']
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,70 unequal: No Solution
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 70:[56, 63], Operations: ['99-9=90', '90-27=63']
Exploring Operation: 56*63=3528, Resulting Numbers: [3528]
3528,70 unequal: No Solution
Exploring Operation: 56+63=119, Resulting Numbers: [119]
119,70 unequal: No Solution
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 70:[90, 29], Operations: ['99-9=90', '56-27=29']
Exploring Operation: 90+29=119, Resulting Numbers: [119]
119,70 unequal: No Solution
Exploring Operation: 90-29=61, Resulting Numbers: [61]
61,70 unequal: No Solution
Exploring Operation: 90*29=2610, Resulting Numbers: [2610]
2610,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 70:[90, 83], Operations: ['99-9=90', '56+27=83']
Exploring Operation: 90*83=7470, Resulting Numbers: [7470]
7470,70 unequal: No Solution
Exploring Operation: 90-83=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 90+83=173, Resulting Numbers: [173]
173,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[56, 117], Operations: ['99-9=90', '27+90=117']
Exploring Operation: 117-56=61, Resulting Numbers: [61]
61,70 unequal: No Solution
Exploring Operation: 56*117=6552, Resulting Numbers: [6552]
6552,70 unequal: No Solution
Exploring Operation: 56+117=173, Resulting Numbers: [173]
173,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
57,
82,
89,
99
] | 96 | [
"82+89=171",
"171/57=3",
"99-3=96"
] | Current State: 96:[57, 82, 89, 99], Operations: []
Exploring Operation: 82+89=171, Resulting Numbers: [57, 99, 171]
Generated Node #2: [57, 99, 171] from Operation: 82+89=171
Current State: 96:[57, 99, 171], Operations: ['82+89=171']
Exploring Operation: 171/57=3, Resulting Numbers: [99, 3]
Generated Node #3: [99, 3] from Operation: 171/57=3
Current State: 96:[99, 3], Operations: ['82+89=171', '171/57=3']
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[57, 82, 89, 99], Operations: []
Exploring Operation: 89-82=7, Resulting Numbers: [57, 99, 7]
Generated Node #0,0: 96:[57, 99, 7] Operation: 89-82=7
Exploring Operation: 82-57=25, Resulting Numbers: [89, 99, 25]
Generated Node #0,1: 96:[89, 99, 25] Operation: 82-57=25
Exploring Operation: 89-57=32, Resulting Numbers: [82, 99, 32]
Generated Node #0,2: 96:[82, 99, 32] Operation: 89-57=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[89, 99, 25], Operations: ['82-57=25']
Exploring Operation: 89-25=64, Resulting Numbers: [99, 64]
Generated Node #0,1,0: 96:[99, 64] Operation: 89-25=64
Exploring Operation: 89+25=114, Resulting Numbers: [99, 114]
Generated Node #0,1,1: 96:[99, 114] Operation: 89+25=114
Exploring Operation: 99-89=10, Resulting Numbers: [25, 10]
Generated Node #0,1,2: 96:[25, 10] Operation: 99-89=10
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 96:[25, 10], Operations: ['82-57=25', '99-89=10']
Exploring Operation: 25*10=250, Resulting Numbers: [250]
250,96 unequal: No Solution
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[99, 64], Operations: ['82-57=25', '89-25=64']
Exploring Operation: 99-64=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Exploring Operation: 99*64=6336, Resulting Numbers: [6336]
6336,96 unequal: No Solution
Exploring Operation: 99+64=163, Resulting Numbers: [163]
163,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[99, 114], Operations: ['82-57=25', '89+25=114']
Exploring Operation: 99*114=11286, Resulting Numbers: [11286]
11286,96 unequal: No Solution
Exploring Operation: 114-99=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Exploring Operation: 99+114=213, Resulting Numbers: [213]
213,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[57, 99, 7], Operations: ['89-82=7']
Exploring Operation: 57-7=50, Resulting Numbers: [99, 50]
Generated Node #0,0,0: 96:[99, 50] Operation: 57-7=50
Exploring Operation: 99-7=92, Resulting Numbers: [57, 92]
Generated Node #0,0,1: 96:[57, 92] Operation: 99-7=92
Exploring Operation: 99-57=42, Resulting Numbers: [7, 42]
Generated Node #0,0,2: 96:[7, 42] Operation: 99-57=42
Moving to Node #0,0,0
Current State: 96:[99, 50], Operations: ['89-82=7', '57-7=50']
Exploring Operation: 99+50=149, Resulting Numbers: [149]
149,96 unequal: No Solution
Exploring Operation: 99*50=4950, Resulting Numbers: [4950]
4950,96 unequal: No Solution
Exploring Operation: 99-50=49, Resulting Numbers: [49]
49,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[7, 42], Operations: ['89-82=7', '99-57=42']
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,96 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[57, 92], Operations: ['89-82=7', '99-7=92']
Exploring Operation: 92-57=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Exploring Operation: 57+92=149, Resulting Numbers: [149]
149,96 unequal: No Solution
Exploring Operation: 57*92=5244, Resulting Numbers: [5244]
5244,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[82, 99, 32], Operations: ['89-57=32']
Exploring Operation: 82-32=50, Resulting Numbers: [99, 50]
Generated Node #0,2,0: 96:[99, 50] Operation: 82-32=50
Exploring Operation: 99-82=17, Resulting Numbers: [32, 17]
Generated Node #0,2,1: 96:[32, 17] Operation: 99-82=17
Exploring Operation: 82+32=114, Resulting Numbers: [99, 114]
Generated Node #0,2,2: 96:[99, 114] Operation: 82+32=114
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 96:[32, 17], Operations: ['89-57=32', '99-82=17']
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,96 unequal: No Solution
Exploring Operation: 32*17=544, Resulting Numbers: [544]
544,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[99, 50], Operations: ['89-57=32', '82-32=50']
Exploring Operation: 99*50=4950, Resulting Numbers: [4950]
4950,96 unequal: No Solution
Exploring Operation: 99-50=49, Resulting Numbers: [49]
49,96 unequal: No Solution
Exploring Operation: 99+50=149, Resulting Numbers: [149]
149,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 96:[99, 114], Operations: ['89-57=32', '82+32=114']
Exploring Operation: 99*114=11286, Resulting Numbers: [11286]
11286,96 unequal: No Solution
Exploring Operation: 114-99=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Exploring Operation: 99+114=213, Resulting Numbers: [213]
213,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
92,
9,
98,
90
] | 92 | [
"98-9=89",
"90-89=1",
"92*1=92"
] | Current State: 92:[92, 9, 98, 90], Operations: []
Exploring Operation: 98-9=89, Resulting Numbers: [92, 90, 89]
Generated Node #2: [92, 90, 89] from Operation: 98-9=89
Current State: 92:[92, 90, 89], Operations: ['98-9=89']
Exploring Operation: 90-89=1, Resulting Numbers: [92, 1]
Generated Node #3: [92, 1] from Operation: 90-89=1
Current State: 92:[92, 1], Operations: ['98-9=89', '90-89=1']
Exploring Operation: 92*1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[92, 9, 98, 90], Operations: []
Exploring Operation: 98-90=8, Resulting Numbers: [92, 9, 8]
Generated Node #0,0: 92:[92, 9, 8] Operation: 98-90=8
Exploring Operation: 98-92=6, Resulting Numbers: [9, 90, 6]
Generated Node #0,1: 92:[9, 90, 6] Operation: 98-92=6
Exploring Operation: 92-90=2, Resulting Numbers: [9, 98, 2]
Generated Node #0,2: 92:[9, 98, 2] Operation: 92-90=2
Exploring Operation: 98-9=89, Resulting Numbers: [92, 90, 89]
Generated Node #0,3: 92:[92, 90, 89] Operation: 98-9=89
Moving to Node #0,3
Current State: 92:[92, 90, 89], Operations: ['98-9=89']
Exploring Operation: 90-89=1, Resulting Numbers: [92, 1]
Generated Node #0,3,0: 92:[92, 1] Operation: 90-89=1
Exploring Operation: 90+89=179, Resulting Numbers: [92, 179]
Generated Node #0,3,1: 92:[92, 179] Operation: 90+89=179
Exploring Operation: 92-90=2, Resulting Numbers: [89, 2]
Generated Node #0,3,2: 92:[89, 2] Operation: 92-90=2
Exploring Operation: 92-89=3, Resulting Numbers: [90, 3]
Generated Node #0,3,3: 92:[90, 3] Operation: 92-89=3
Moving to Node #0,1
Current State: 92:[9, 90, 6], Operations: ['98-92=6']
Exploring Operation: 9-6=3, Resulting Numbers: [90, 3]
Generated Node #0,1,0: 92:[90, 3] Operation: 9-6=3
Exploring Operation: 9+90=99, Resulting Numbers: [6, 99]
Generated Node #0,1,1: 92:[6, 99] Operation: 9+90=99
Exploring Operation: 90/9=10, Resulting Numbers: [6, 10]
Generated Node #0,1,2: 92:[6, 10] Operation: 90/9=10
Exploring Operation: 90+6=96, Resulting Numbers: [9, 96]
Generated Node #0,1,3: 92:[9, 96] Operation: 90+6=96
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[90, 3], Operations: ['98-92=6', '9-6=3']
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 90*3=270, Resulting Numbers: [270]
270,92 unequal: No Solution
Exploring Operation: 90+3=93, Resulting Numbers: [93]
93,92 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 92:[6, 10], Operations: ['98-92=6', '90/9=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[6, 99], Operations: ['98-92=6', '9+90=99']
Exploring Operation: 6*99=594, Resulting Numbers: [594]
594,92 unequal: No Solution
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,92 unequal: No Solution
Exploring Operation: 6+99=105, Resulting Numbers: [105]
105,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 92:[9, 96], Operations: ['98-92=6', '90+6=96']
Exploring Operation: 9+96=105, Resulting Numbers: [105]
105,92 unequal: No Solution
Exploring Operation: 9*96=864, Resulting Numbers: [864]
864,92 unequal: No Solution
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,92 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: 92:[92, 9, 8], Operations: ['98-90=8']
Exploring Operation: 9+8=17, Resulting Numbers: [92, 17]
Generated Node #0,0,0: 92:[92, 17] Operation: 9+8=17
Exploring Operation: 9-8=1, Resulting Numbers: [92, 1]
Generated Node #0,0,1: 92:[92, 1] Operation: 9-8=1
Exploring Operation: 92+9=101, Resulting Numbers: [8, 101]
Generated Node #0,0,2: 92:[8, 101] Operation: 92+9=101
Exploring Operation: 92-9=83, Resulting Numbers: [8, 83]
Generated Node #0,0,3: 92:[8, 83] Operation: 92-9=83
Moving to Node #0,2
Current State: 92:[9, 98, 2], Operations: ['92-90=2']
Exploring Operation: 98-9=89, Resulting Numbers: [2, 89]
Generated Node #0,2,0: 92:[2, 89] Operation: 98-9=89
Exploring Operation: 98/2=49, Resulting Numbers: [9, 49]
Generated Node #0,2,1: 92:[9, 49] Operation: 98/2=49
Exploring Operation: 9-2=7, Resulting Numbers: [98, 7]
Generated Node #0,2,2: 92:[98, 7] Operation: 9-2=7
Exploring Operation: 98-2=96, Resulting Numbers: [9, 96]
Generated Node #0,2,3: 92:[9, 96] Operation: 98-2=96
Moving to Node #0,3,0
Current State: 92:[92, 1], Operations: ['98-9=89', '90-89=1']
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[92, 9, 98, 90], Operations: []
Exploring Operation: 98-9=89, Resulting Numbers: [92, 90, 89]
Generated Node #0,3: 92:[92, 90, 89] Operation: 98-9=89
Moving to Node #0,3
Current State: 92:[92, 90, 89], Operations: ['98-9=89']
Exploring Operation: 90-89=1, Resulting Numbers: [92, 1]
Generated Node #0,3,0: 92:[92, 1] Operation: 90-89=1
Moving to Node #0,3,0
Current State: 92:[92, 1], Operations: ['98-9=89', '90-89=1']
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.967014 | hs_4 | mult_heuristic |
[
34,
2,
87,
26
] | 69 | [
"34+87=121",
"2*26=52",
"121-52=69"
] | Current State: 69:[34, 2, 87, 26], Operations: []
Exploring Operation: 34+87=121, Resulting Numbers: [2, 26, 121]
Generated Node #2: [2, 26, 121] from Operation: 34+87=121
Current State: 69:[2, 26, 121], Operations: ['34+87=121']
Exploring Operation: 2*26=52, Resulting Numbers: [121, 52]
Generated Node #3: [121, 52] from Operation: 2*26=52
Current State: 69:[121, 52], Operations: ['34+87=121', '2*26=52']
Exploring Operation: 121-52=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[34, 2, 87, 26], Operations: []
Exploring Operation: 87-26=61, Resulting Numbers: [34, 2, 61]
Generated Node #0,0: 69:[34, 2, 61] Operation: 87-26=61
Exploring Operation: 34-26=8, Resulting Numbers: [2, 87, 8]
Generated Node #0,1: 69:[2, 87, 8] Operation: 34-26=8
Exploring Operation: 34*2=68, Resulting Numbers: [87, 26, 68]
Generated Node #0,2: 69:[87, 26, 68] Operation: 34*2=68
Exploring Operation: 87-34=53, Resulting Numbers: [2, 26, 53]
Generated Node #0,3: 69:[2, 26, 53] Operation: 87-34=53
Exploring Operation: 34/2=17, Resulting Numbers: [87, 26, 17]
Generated Node #0,4: 69:[87, 26, 17] Operation: 34/2=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[34, 2, 61], Operations: ['87-26=61']
Exploring Operation: 2+61=63, Resulting Numbers: [34, 63]
Generated Node #0,0,0: 69:[34, 63] Operation: 2+61=63
Exploring Operation: 34/2=17, Resulting Numbers: [61, 17]
Generated Node #0,0,1: 69:[61, 17] Operation: 34/2=17
Exploring Operation: 34-2=32, Resulting Numbers: [61, 32]
Generated Node #0,0,2: 69:[61, 32] Operation: 34-2=32
Exploring Operation: 61-34=27, Resulting Numbers: [2, 27]
Generated Node #0,0,3: 69:[2, 27] Operation: 61-34=27
Exploring Operation: 34*2=68, Resulting Numbers: [61, 68]
Generated Node #0,0,4: 69:[61, 68] Operation: 34*2=68
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 69:[2, 27], Operations: ['87-26=61', '61-34=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,69 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,69 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 69:[61, 68], Operations: ['87-26=61', '34*2=68']
Exploring Operation: 61+68=129, Resulting Numbers: [129]
129,69 unequal: No Solution
Exploring Operation: 61*68=4148, Resulting Numbers: [4148]
4148,69 unequal: No Solution
Exploring Operation: 68-61=7, Resulting Numbers: [7]
7,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[61, 17], Operations: ['87-26=61', '34/2=17']
Exploring Operation: 61*17=1037, Resulting Numbers: [1037]
1037,69 unequal: No Solution
Exploring Operation: 61+17=78, Resulting Numbers: [78]
78,69 unequal: No Solution
Exploring Operation: 61-17=44, Resulting Numbers: [44]
44,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[34, 63], Operations: ['87-26=61', '2+61=63']
Exploring Operation: 34+63=97, Resulting Numbers: [97]
97,69 unequal: No Solution
Exploring Operation: 34*63=2142, Resulting Numbers: [2142]
2142,69 unequal: No Solution
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 69:[61, 32], Operations: ['87-26=61', '34-2=32']
Exploring Operation: 61+32=93, Resulting Numbers: [93]
93,69 unequal: No Solution
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,69 unequal: No Solution
Exploring Operation: 61*32=1952, Resulting Numbers: [1952]
1952,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 69:[2, 26, 53], Operations: ['87-34=53']
Exploring Operation: 2+53=55, Resulting Numbers: [26, 55]
Generated Node #0,3,0: 69:[26, 55] Operation: 2+53=55
Exploring Operation: 26-2=24, Resulting Numbers: [53, 24]
Generated Node #0,3,1: 69:[53, 24] Operation: 26-2=24
Exploring Operation: 2+26=28, Resulting Numbers: [53, 28]
Generated Node #0,3,2: 69:[53, 28] Operation: 2+26=28
Exploring Operation: 53-26=27, Resulting Numbers: [2, 27]
Generated Node #0,3,3: 69:[2, 27] Operation: 53-26=27
Exploring Operation: 26+53=79, Resulting Numbers: [2, 79]
Generated Node #0,3,4: 69:[2, 79] Operation: 26+53=79
Moving to Node #0,3,3
Current State: 69:[2, 27], Operations: ['87-34=53', '53-26=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,69 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,69 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,69 unequal: No Solution
Moving to Node #0,3,4
Current State: 69:[2, 79], Operations: ['87-34=53', '26+53=79']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,69 unequal: No Solution
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,69 unequal: No Solution
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Moving to Node #0,3,0
Current State: 69:[26, 55], Operations: ['87-34=53', '2+53=55']
Exploring Operation: 26*55=1430, Resulting Numbers: [1430]
1430,69 unequal: No Solution
Exploring Operation: 26+55=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,69 unequal: No Solution
Moving to Node #0,3,1
Current State: 69:[53, 24], Operations: ['87-34=53', '26-2=24']
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,69 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,69 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,69 unequal: No Solution
Moving to Node #0,3,2
Current State: 69:[53, 28], Operations: ['87-34=53', '2+26=28']
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,69 unequal: No Solution
Exploring Operation: 53*28=1484, Resulting Numbers: [1484]
1484,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[87, 26, 68], Operations: ['34*2=68']
Exploring Operation: 87-68=19, Resulting Numbers: [26, 19]
Generated Node #0,2,0: 69:[26, 19] Operation: 87-68=19
Exploring Operation: 87-26=61, Resulting Numbers: [68, 61]
Generated Node #0,2,1: 69:[68, 61] Operation: 87-26=61
Exploring Operation: 26+68=94, Resulting Numbers: [87, 94]
Generated Node #0,2,2: 69:[87, 94] Operation: 26+68=94
Exploring Operation: 87+26=113, Resulting Numbers: [68, 113]
Generated Node #0,2,3: 69:[68, 113] Operation: 87+26=113
Exploring Operation: 68-26=42, Resulting Numbers: [87, 42]
Generated Node #0,2,4: 69:[87, 42] Operation: 68-26=42
Moving to Node #0,2,0
Current State: 69:[26, 19], Operations: ['34*2=68', '87-68=19']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,69 unequal: No Solution
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,69 unequal: No Solution
Exploring Operation: 26*19=494, Resulting Numbers: [494]
494,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[68, 61], Operations: ['34*2=68', '87-26=61']
Exploring Operation: 68*61=4148, Resulting Numbers: [4148]
4148,69 unequal: No Solution
Exploring Operation: 68+61=129, Resulting Numbers: [129]
129,69 unequal: No Solution
Exploring Operation: 68-61=7, Resulting Numbers: [7]
7,69 unequal: No Solution
Moving to Node #0,2,4
Current State: 69:[87, 42], Operations: ['34*2=68', '68-26=42']
Exploring Operation: 87-42=45, Resulting Numbers: [45]
45,69 unequal: No Solution
Exploring Operation: 87+42=129, Resulting Numbers: [129]
129,69 unequal: No Solution
Exploring Operation: 87*42=3654, Resulting Numbers: [3654]
3654,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[87, 94], Operations: ['34*2=68', '26+68=94']
Exploring Operation: 87+94=181, Resulting Numbers: [181]
181,69 unequal: No Solution
Exploring Operation: 87*94=8178, Resulting Numbers: [8178]
8178,69 unequal: No Solution
Exploring Operation: 94-87=7, Resulting Numbers: [7]
7,69 unequal: No Solution
Moving to Node #0,2,3
Current State: 69:[68, 113], Operations: ['34*2=68', '87+26=113']
Exploring Operation: 68+113=181, Resulting Numbers: [181]
181,69 unequal: No Solution
Exploring Operation: 68*113=7684, Resulting Numbers: [7684]
7684,69 unequal: No Solution
Exploring Operation: 113-68=45, Resulting Numbers: [45]
45,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:[2, 87, 8], Operations: ['34-26=8']
Exploring Operation: 8-2=6, Resulting Numbers: [87, 6]
Generated Node #0,1,0: 69:[87, 6] Operation: 8-2=6
Exploring Operation: 2+87=89, Resulting Numbers: [8, 89]
Generated Node #0,1,1: 69:[8, 89] Operation: 2+87=89
Exploring Operation: 8/2=4, Resulting Numbers: [87, 4]
Generated Node #0,1,2: 69:[87, 4] Operation: 8/2=4
Exploring Operation: 87-8=79, Resulting Numbers: [2, 79]
Generated Node #0,1,3: 69:[2, 79] Operation: 87-8=79
Exploring Operation: 87-2=85, Resulting Numbers: [8, 85]
Generated Node #0,1,4: 69:[8, 85] Operation: 87-2=85
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 69:[2, 79], Operations: ['34-26=8', '87-8=79']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,69 unequal: No Solution
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,69 unequal: No Solution
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 69:[87, 4], Operations: ['34-26=8', '8/2=4']
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,69 unequal: No Solution
Exploring Operation: 87*4=348, Resulting Numbers: [348]
348,69 unequal: No Solution
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[87, 6], Operations: ['34-26=8', '8-2=6']
Exploring Operation: 87+6=93, Resulting Numbers: [93]
93,69 unequal: No Solution
Exploring Operation: 87*6=522, Resulting Numbers: [522]
522,69 unequal: No Solution
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 69:[8, 85], Operations: ['34-26=8', '87-2=85']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,69 unequal: No Solution
Exploring Operation: 8+85=93, Resulting Numbers: [93]
93,69 unequal: No Solution
Exploring Operation: 8*85=680, Resulting Numbers: [680]
680,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[8, 89], Operations: ['34-26=8', '2+87=89']
Exploring Operation: 8*89=712, Resulting Numbers: [712]
712,69 unequal: No Solution
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Exploring Operation: 8+89=97, Resulting Numbers: [97]
97,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 69:[87, 26, 17], Operations: ['34/2=17']
Exploring Operation: 87-17=70, Resulting Numbers: [26, 70]
Generated Node #0,4,0: 69:[26, 70] Operation: 87-17=70
Exploring Operation: 26+17=43, Resulting Numbers: [87, 43]
Generated Node #0,4,1: 69:[87, 43] Operation: 26+17=43
Exploring Operation: 87-26=61, Resulting Numbers: [17, 61]
Generated Node #0,4,2: 69:[17, 61] Operation: 87-26=61
Exploring Operation: 26-17=9, Resulting Numbers: [87, 9]
Generated Node #0,4,3: 69:[87, 9] Operation: 26-17=9
Exploring Operation: 87+17=104, Resulting Numbers: [26, 104]
Generated Node #0,4,4: 69:[26, 104] Operation: 87+17=104
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 69:[26, 70], Operations: ['34/2=17', '87-17=70']
Exploring Operation: 26*70=1820, Resulting Numbers: [1820]
1820,69 unequal: No Solution
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,69 unequal: No Solution
Exploring Operation: 26+70=96, Resulting Numbers: [96]
96,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 69:[17, 61], Operations: ['34/2=17', '87-26=61']
Exploring Operation: 17*61=1037, Resulting Numbers: [1037]
1037,69 unequal: No Solution
Exploring Operation: 61-17=44, Resulting Numbers: [44]
44,69 unequal: No Solution
Exploring Operation: 17+61=78, Resulting Numbers: [78]
78,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 69:[87, 9], Operations: ['34/2=17', '26-17=9']
Exploring Operation: 87*9=783, Resulting Numbers: [783]
783,69 unequal: No Solution
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,69 unequal: No Solution
Exploring Operation: 87+9=96, Resulting Numbers: [96]
96,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 69:[87, 43], Operations: ['34/2=17', '26+17=43']
Exploring Operation: 87-43=44, Resulting Numbers: [44]
44,69 unequal: No Solution
Exploring Operation: 87*43=3741, Resulting Numbers: [3741]
3741,69 unequal: No Solution
Exploring Operation: 87+43=130, Resulting Numbers: [130]
130,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 69:[26, 104], Operations: ['34/2=17', '87+17=104']
Exploring Operation: 26*104=2704, Resulting Numbers: [2704]
2704,69 unequal: No Solution
Exploring Operation: 26+104=130, Resulting Numbers: [130]
130,69 unequal: No Solution
Exploring Operation: 104/26=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 104-26=78, Resulting Numbers: [78]
78,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
30,
13,
56,
80
] | 67 | [
"30+13=43",
"80-56=24",
"43+24=67"
] | Current State: 67:[30, 13, 56, 80], Operations: []
Exploring Operation: 30+13=43, Resulting Numbers: [56, 80, 43]
Generated Node #2: [56, 80, 43] from Operation: 30+13=43
Current State: 67:[56, 80, 43], Operations: ['30+13=43']
Exploring Operation: 80-56=24, Resulting Numbers: [43, 24]
Generated Node #3: [43, 24] from Operation: 80-56=24
Current State: 67:[43, 24], Operations: ['30+13=43', '80-56=24']
Exploring Operation: 43+24=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[30, 13, 56, 80], Operations: []
Exploring Operation: 30-13=17, Resulting Numbers: [56, 80, 17]
Generated Node #0,0: 67:[56, 80, 17] Operation: 30-13=17
Exploring Operation: 13+56=69, Resulting Numbers: [30, 80, 69]
Generated Node #0,1: 67:[30, 80, 69] Operation: 13+56=69
Exploring Operation: 80-13=67, Resulting Numbers: [30, 56, 67]
Generated Node #0,2: 67:[30, 56, 67] Operation: 80-13=67
Exploring Operation: 30+13=43, Resulting Numbers: [56, 80, 43]
Generated Node #0,3: 67:[56, 80, 43] Operation: 30+13=43
Moving to Node #0,2
Current State: 67:[30, 56, 67], Operations: ['80-13=67']
Exploring Operation: 56-30=26, Resulting Numbers: [67, 26]
Generated Node #0,2,0: 67:[67, 26] Operation: 56-30=26
Exploring Operation: 67-30=37, Resulting Numbers: [56, 37]
Generated Node #0,2,1: 67:[56, 37] Operation: 67-30=37
Exploring Operation: 30+67=97, Resulting Numbers: [56, 97]
Generated Node #0,2,2: 67:[56, 97] Operation: 30+67=97
Exploring Operation: 30+56=86, Resulting Numbers: [67, 86]
Generated Node #0,2,3: 67:[67, 86] Operation: 30+56=86
Moving to Node #0,3
Current State: 67:[56, 80, 43], Operations: ['30+13=43']
Exploring Operation: 56-43=13, Resulting Numbers: [80, 13]
Generated Node #0,3,0: 67:[80, 13] Operation: 56-43=13
Exploring Operation: 56+43=99, Resulting Numbers: [80, 99]
Generated Node #0,3,1: 67:[80, 99] Operation: 56+43=99
Exploring Operation: 80-56=24, Resulting Numbers: [43, 24]
Generated Node #0,3,2: 67:[43, 24] Operation: 80-56=24
Exploring Operation: 80-43=37, Resulting Numbers: [56, 37]
Generated Node #0,3,3: 67:[56, 37] Operation: 80-43=37
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 67:[56, 37], Operations: ['30+13=43', '80-43=37']
Exploring Operation: 56*37=2072, Resulting Numbers: [2072]
2072,67 unequal: No Solution
Exploring Operation: 56-37=19, Resulting Numbers: [19]
19,67 unequal: No Solution
Exploring Operation: 56+37=93, Resulting Numbers: [93]
93,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 67:[80, 99], Operations: ['30+13=43', '56+43=99']
Exploring Operation: 99-80=19, Resulting Numbers: [19]
19,67 unequal: No Solution
Exploring Operation: 80+99=179, Resulting Numbers: [179]
179,67 unequal: No Solution
Exploring Operation: 80*99=7920, Resulting Numbers: [7920]
7920,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 67:[80, 13], Operations: ['30+13=43', '56-43=13']
Exploring Operation: 80+13=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 80*13=1040, Resulting Numbers: [1040]
1040,67 unequal: No Solution
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[30, 13, 56, 80], Operations: []
Exploring Operation: 30+13=43, Resulting Numbers: [56, 80, 43]
Generated Node #0,3: 67:[56, 80, 43] Operation: 30+13=43
Moving to Node #0,3
Current State: 67:[56, 80, 43], Operations: ['30+13=43']
Exploring Operation: 56-43=13, Resulting Numbers: [80, 13]
Generated Node #0,3,0: 67:[80, 13] Operation: 56-43=13
Moving to Node #0,3,0
Current State: 67:[80, 13], Operations: ['30+13=43', '56-43=13']
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | sum_heuristic |
[
77,
39,
40,
4
] | 19 | [
"77+39=116",
"116-40=76",
"76/4=19"
] | Current State: 19:[77, 39, 40, 4], Operations: []
Exploring Operation: 77+39=116, Resulting Numbers: [40, 4, 116]
Generated Node #2: [40, 4, 116] from Operation: 77+39=116
Current State: 19:[40, 4, 116], Operations: ['77+39=116']
Exploring Operation: 116-40=76, Resulting Numbers: [4, 76]
Generated Node #3: [4, 76] from Operation: 116-40=76
Current State: 19:[4, 76], Operations: ['77+39=116', '116-40=76']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[77, 39, 40, 4], Operations: []
Exploring Operation: 77-40=37, Resulting Numbers: [39, 4, 37]
Generated Node #0,0: 19:[39, 4, 37] Operation: 77-40=37
Exploring Operation: 40/4=10, Resulting Numbers: [77, 39, 10]
Generated Node #0,1: 19:[77, 39, 10] Operation: 40/4=10
Exploring Operation: 40-39=1, Resulting Numbers: [77, 4, 1]
Generated Node #0,2: 19:[77, 4, 1] Operation: 40-39=1
Exploring Operation: 77-39=38, Resulting Numbers: [40, 4, 38]
Generated Node #0,3: 19:[40, 4, 38] Operation: 77-39=38
Moving to Node #0,0
Current State: 19:[39, 4, 37], Operations: ['77-40=37']
Exploring Operation: 39-4=35, Resulting Numbers: [37, 35]
Generated Node #0,0,0: 19:[37, 35] Operation: 39-4=35
Exploring Operation: 39+4=43, Resulting Numbers: [37, 43]
Generated Node #0,0,1: 19:[37, 43] Operation: 39+4=43
Exploring Operation: 37-4=33, Resulting Numbers: [39, 33]
Generated Node #0,0,2: 19:[39, 33] Operation: 37-4=33
Exploring Operation: 39-37=2, Resulting Numbers: [4, 2]
Generated Node #0,0,3: 19:[4, 2] Operation: 39-37=2
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 19:[4, 2], Operations: ['77-40=37', '39-37=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[37, 35], Operations: ['77-40=37', '39-4=35']
Exploring Operation: 37+35=72, Resulting Numbers: [72]
72,19 unequal: No Solution
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 37*35=1295, Resulting Numbers: [1295]
1295,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[39, 33], Operations: ['77-40=37', '37-4=33']
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,19 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[37, 43], Operations: ['77-40=37', '39+4=43']
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 37+43=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 37*43=1591, Resulting Numbers: [1591]
1591,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 19:[40, 4, 38], Operations: ['77-39=38']
Exploring Operation: 40-38=2, Resulting Numbers: [4, 2]
Generated Node #0,3,0: 19:[4, 2] Operation: 40-38=2
Exploring Operation: 40/4=10, Resulting Numbers: [38, 10]
Generated Node #0,3,1: 19:[38, 10] Operation: 40/4=10
Exploring Operation: 38-4=34, Resulting Numbers: [40, 34]
Generated Node #0,3,2: 19:[40, 34] Operation: 38-4=34
Exploring Operation: 40-4=36, Resulting Numbers: [38, 36]
Generated Node #0,3,3: 19:[38, 36] Operation: 40-4=36
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 19:[38, 10], Operations: ['77-39=38', '40/4=10']
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,19 unequal: No Solution
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,19 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 19:[4, 2], Operations: ['77-39=38', '40-38=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 19:[40, 34], Operations: ['77-39=38', '38-4=34']
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 40*34=1360, Resulting Numbers: [1360]
1360,19 unequal: No Solution
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 19:[38, 36], Operations: ['77-39=38', '40-4=36']
Exploring Operation: 38*36=1368, Resulting Numbers: [1368]
1368,19 unequal: No Solution
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,19 unequal: No Solution
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 19:[77, 39, 10], Operations: ['40/4=10']
Exploring Operation: 39-10=29, Resulting Numbers: [77, 29]
Generated Node #0,1,0: 19:[77, 29] Operation: 39-10=29
Exploring Operation: 77-39=38, Resulting Numbers: [10, 38]
Generated Node #0,1,1: 19:[10, 38] Operation: 77-39=38
Exploring Operation: 77-10=67, Resulting Numbers: [39, 67]
Generated Node #0,1,2: 19:[39, 67] Operation: 77-10=67
Exploring Operation: 77+10=87, Resulting Numbers: [39, 87]
Generated Node #0,1,3: 19:[39, 87] Operation: 77+10=87
Moving to Node #0,2
Current State: 19:[77, 4, 1], Operations: ['40-39=1']
Exploring Operation: 77*1=77, Resulting Numbers: [4, 77]
Generated Node #0,2,0: 19:[4, 77] Operation: 77*1=77
Exploring Operation: 77-1=76, Resulting Numbers: [4, 76]
Generated Node #0,2,1: 19:[4, 76] Operation: 77-1=76
Exploring Operation: 77-4=73, Resulting Numbers: [1, 73]
Generated Node #0,2,2: 19:[1, 73] Operation: 77-4=73
Exploring Operation: 4+1=5, Resulting Numbers: [77, 5]
Generated Node #0,2,3: 19:[77, 5] Operation: 4+1=5
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[4, 76], Operations: ['40-39=1', '77-1=76']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[77, 39, 40, 4], Operations: []
Exploring Operation: 40-39=1, Resulting Numbers: [77, 4, 1]
Generated Node #0,2: 19:[77, 4, 1] Operation: 40-39=1
Moving to Node #0,2
Current State: 19:[77, 4, 1], Operations: ['40-39=1']
Exploring Operation: 77-1=76, Resulting Numbers: [4, 76]
Generated Node #0,2,1: 19:[4, 76] Operation: 77-1=76
Moving to Node #0,2,1
Current State: 19:[4, 76], Operations: ['40-39=1', '77-1=76']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.955729 | hs_4 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.