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 |
|---|---|---|---|---|---|---|---|---|
[
9,
83,
11,
41
] | 33 | [
"83-11=72",
"72/9=8",
"41-8=33"
] | Current State: 33:[9, 83, 11, 41], Operations: []
Exploring Operation: 83-11=72, Resulting Numbers: [9, 41, 72]
Generated Node #2: [9, 41, 72] from Operation: 83-11=72
Current State: 33:[9, 41, 72], Operations: ['83-11=72']
Exploring Operation: 72/9=8, Resulting Numbers: [41, 8]
Generated Node #3: [41, 8] from Operation: 72/9=8
Current State: 33:[41, 8], Operations: ['83-11=72', '72/9=8']
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[9, 83, 11, 41], Operations: []
Exploring Operation: 83-9=74, Resulting Numbers: [11, 41, 74]
Generated Node #0,0: 33:[11, 41, 74] Operation: 83-9=74
Exploring Operation: 83-41=42, Resulting Numbers: [9, 11, 42]
Generated Node #0,1: 33:[9, 11, 42] Operation: 83-41=42
Exploring Operation: 41-9=32, Resulting Numbers: [83, 11, 32]
Generated Node #0,2: 33:[83, 11, 32] Operation: 41-9=32
Exploring Operation: 83-11=72, Resulting Numbers: [9, 41, 72]
Generated Node #0,3: 33:[9, 41, 72] Operation: 83-11=72
Moving to Node #0,1
Current State: 33:[9, 11, 42], Operations: ['83-41=42']
Exploring Operation: 42-9=33, Resulting Numbers: [11, 33]
Generated Node #0,1,0: 33:[11, 33] Operation: 42-9=33
Exploring Operation: 9+11=20, Resulting Numbers: [42, 20]
Generated Node #0,1,1: 33:[42, 20] Operation: 9+11=20
Exploring Operation: 11-9=2, Resulting Numbers: [42, 2]
Generated Node #0,1,2: 33:[42, 2] Operation: 11-9=2
Exploring Operation: 42-11=31, Resulting Numbers: [9, 31]
Generated Node #0,1,3: 33:[9, 31] Operation: 42-11=31
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[11, 33], Operations: ['83-41=42', '42-9=33']
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 11*33=363, Resulting Numbers: [363]
363,33 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 11+33=44, Resulting Numbers: [44]
44,33 unequal: No Solution
No 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: 33:[9, 31], Operations: ['83-41=42', '42-11=31']
Exploring Operation: 9*31=279, Resulting Numbers: [279]
279,33 unequal: No Solution
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,33 unequal: No Solution
No 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: 33:[42, 2], Operations: ['83-41=42', '11-9=2']
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,33 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,33 unequal: No Solution
No 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: 33:[42, 20], Operations: ['83-41=42', '9+11=20']
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 42*20=840, Resulting Numbers: [840]
840,33 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: 33:[9, 41, 72], Operations: ['83-11=72']
Exploring Operation: 41-9=32, Resulting Numbers: [72, 32]
Generated Node #0,3,0: 33:[72, 32] Operation: 41-9=32
Exploring Operation: 72/9=8, Resulting Numbers: [41, 8]
Generated Node #0,3,1: 33:[41, 8] Operation: 72/9=8
Exploring Operation: 72-41=31, Resulting Numbers: [9, 31]
Generated Node #0,3,2: 33:[9, 31] Operation: 72-41=31
Exploring Operation: 72-9=63, Resulting Numbers: [41, 63]
Generated Node #0,3,3: 33:[41, 63] Operation: 72-9=63
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 33:[9, 31], Operations: ['83-11=72', '72-41=31']
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 9*31=279, Resulting Numbers: [279]
279,33 unequal: No Solution
No 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: 33:[41, 8], Operations: ['83-11=72', '72/9=8']
Exploring Operation: 41*8=328, Resulting Numbers: [328]
328,33 unequal: No Solution
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[9, 83, 11, 41], Operations: []
Exploring Operation: 83-11=72, Resulting Numbers: [9, 41, 72]
Generated Node #0,3: 33:[9, 41, 72] Operation: 83-11=72
Moving to Node #0,3
Current State: 33:[9, 41, 72], Operations: ['83-11=72']
Exploring Operation: 72/9=8, Resulting Numbers: [41, 8]
Generated Node #0,3,1: 33:[41, 8] Operation: 72/9=8
Moving to Node #0,3,1
Current State: 33:[41, 8], Operations: ['83-11=72', '72/9=8']
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
48,
17,
13,
87
] | 92 | [
"48+17=65",
"65/13=5",
"87+5=92"
] | Current State: 92:[48, 17, 13, 87], Operations: []
Exploring Operation: 48+17=65, Resulting Numbers: [13, 87, 65]
Generated Node #2: [13, 87, 65] from Operation: 48+17=65
Current State: 92:[13, 87, 65], Operations: ['48+17=65']
Exploring Operation: 65/13=5, Resulting Numbers: [87, 5]
Generated Node #3: [87, 5] from Operation: 65/13=5
Current State: 92:[87, 5], Operations: ['48+17=65', '65/13=5']
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[48, 17, 13, 87], Operations: []
Exploring Operation: 17-13=4, Resulting Numbers: [48, 87, 4]
Generated Node #0,0: 92:[48, 87, 4] Operation: 17-13=4
Exploring Operation: 17+13=30, Resulting Numbers: [48, 87, 30]
Generated Node #0,1: 92:[48, 87, 30] Operation: 17+13=30
Exploring Operation: 13+87=100, Resulting Numbers: [48, 17, 100]
Generated Node #0,2: 92:[48, 17, 100] Operation: 13+87=100
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[48, 87, 4], Operations: ['17-13=4']
Exploring Operation: 87+4=91, Resulting Numbers: [48, 91]
Generated Node #0,0,0: 92:[48, 91] Operation: 87+4=91
Exploring Operation: 87-48=39, Resulting Numbers: [4, 39]
Generated Node #0,0,1: 92:[4, 39] Operation: 87-48=39
Exploring Operation: 48-4=44, Resulting Numbers: [87, 44]
Generated Node #0,0,2: 92:[87, 44] Operation: 48-4=44
Moving to Node #0,0,0
Current State: 92:[48, 91], Operations: ['17-13=4', '87+4=91']
Exploring Operation: 48*91=4368, Resulting Numbers: [4368]
4368,92 unequal: No Solution
Exploring Operation: 48+91=139, Resulting Numbers: [139]
139,92 unequal: No Solution
Exploring Operation: 91-48=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[4, 39], Operations: ['17-13=4', '87-48=39']
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,92 unequal: No Solution
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[87, 44], Operations: ['17-13=4', '48-4=44']
Exploring Operation: 87*44=3828, Resulting Numbers: [3828]
3828,92 unequal: No Solution
Exploring Operation: 87-44=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 87+44=131, Resulting Numbers: [131]
131,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[48, 87, 30], Operations: ['17+13=30']
Exploring Operation: 48-30=18, Resulting Numbers: [87, 18]
Generated Node #0,1,0: 92:[87, 18] Operation: 48-30=18
Exploring Operation: 87-48=39, Resulting Numbers: [30, 39]
Generated Node #0,1,1: 92:[30, 39] Operation: 87-48=39
Exploring Operation: 87-30=57, Resulting Numbers: [48, 57]
Generated Node #0,1,2: 92:[48, 57] Operation: 87-30=57
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[87, 18], Operations: ['17+13=30', '48-30=18']
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 87+18=105, Resulting Numbers: [105]
105,92 unequal: No Solution
Exploring Operation: 87*18=1566, Resulting Numbers: [1566]
1566,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 92:[48, 57], Operations: ['17+13=30', '87-30=57']
Exploring Operation: 48*57=2736, Resulting Numbers: [2736]
2736,92 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 48+57=105, Resulting Numbers: [105]
105,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[30, 39], Operations: ['17+13=30', '87-48=39']
Exploring Operation: 30*39=1170, Resulting Numbers: [1170]
1170,92 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 30+39=69, Resulting Numbers: [69]
69,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[48, 17, 100], Operations: ['13+87=100']
Exploring Operation: 100-48=52, Resulting Numbers: [17, 52]
Generated Node #0,2,0: 92:[17, 52] Operation: 100-48=52
Exploring Operation: 48-17=31, Resulting Numbers: [100, 31]
Generated Node #0,2,1: 92:[100, 31] Operation: 48-17=31
Exploring Operation: 100-17=83, Resulting Numbers: [48, 83]
Generated Node #0,2,2: 92:[48, 83] Operation: 100-17=83
Moving to Node #0,2,2
Current State: 92:[48, 83], Operations: ['13+87=100', '100-17=83']
Exploring Operation: 48*83=3984, Resulting Numbers: [3984]
3984,92 unequal: No Solution
Exploring Operation: 48+83=131, Resulting Numbers: [131]
131,92 unequal: No Solution
Exploring Operation: 83-48=35, Resulting Numbers: [35]
35,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[17, 52], Operations: ['13+87=100', '100-48=52']
Exploring Operation: 17*52=884, Resulting Numbers: [884]
884,92 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,92 unequal: No Solution
Exploring Operation: 17+52=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[100, 31], Operations: ['13+87=100', '48-17=31']
Exploring Operation: 100*31=3100, Resulting Numbers: [3100]
3100,92 unequal: No Solution
Exploring Operation: 100-31=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 100+31=131, Resulting Numbers: [131]
131,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
9,
27,
23,
56
] | 43 | [
"9+27=36",
"23+56=79",
"79-36=43"
] | Current State: 43:[9, 27, 23, 56], Operations: []
Exploring Operation: 9+27=36, Resulting Numbers: [23, 56, 36]
Generated Node #2: [23, 56, 36] from Operation: 9+27=36
Current State: 43:[23, 56, 36], Operations: ['9+27=36']
Exploring Operation: 23+56=79, Resulting Numbers: [36, 79]
Generated Node #3: [36, 79] from Operation: 23+56=79
Current State: 43:[36, 79], Operations: ['9+27=36', '23+56=79']
Exploring Operation: 79-36=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[9, 27, 23, 56], Operations: []
Exploring Operation: 9+23=32, Resulting Numbers: [27, 56, 32]
Generated Node #0,0: 43:[27, 56, 32] Operation: 9+23=32
Exploring Operation: 9+27=36, Resulting Numbers: [23, 56, 36]
Generated Node #0,1: 43:[23, 56, 36] Operation: 9+27=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[27, 56, 32], Operations: ['9+23=32']
Exploring Operation: 27+32=59, Resulting Numbers: [56, 59]
Generated Node #0,0,0: 43:[56, 59] Operation: 27+32=59
Exploring Operation: 56-27=29, Resulting Numbers: [32, 29]
Generated Node #0,0,1: 43:[32, 29] Operation: 56-27=29
Moving to Node #0,0,1
Current State: 43:[32, 29], Operations: ['9+23=32', '56-27=29']
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[56, 59], Operations: ['9+23=32', '27+32=59']
Exploring Operation: 59-56=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 56+59=115, Resulting Numbers: [115]
115,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[23, 56, 36], Operations: ['9+27=36']
Exploring Operation: 23+36=59, Resulting Numbers: [56, 59]
Generated Node #0,1,0: 43:[56, 59] Operation: 23+36=59
Exploring Operation: 56-23=33, Resulting Numbers: [36, 33]
Generated Node #0,1,1: 43:[36, 33] Operation: 56-23=33
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[36, 33], Operations: ['9+27=36', '56-23=33']
Exploring Operation: 36+33=69, Resulting Numbers: [69]
69,43 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[56, 59], Operations: ['9+27=36', '23+36=59']
Exploring Operation: 59-56=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 56+59=115, Resulting Numbers: [115]
115,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
12,
12,
17,
95
] | 31 | [
"17-12=5",
"95/5=19",
"12+19=31"
] | Current State: 31:[12, 12, 17, 95], Operations: []
Exploring Operation: 17-12=5, Resulting Numbers: [95, 5]
Generated Node #2: [95, 5] from Operation: 17-12=5
Current State: 31:[95, 5], Operations: ['17-12=5']
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,31 equal: Goal Reached
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[12, 12, 17, 95], Operations: []
Exploring Operation: 12+12=24, Resulting Numbers: [17, 95, 24]
Generated Node #0,0: 31:[17, 95, 24] Operation: 12+12=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[17, 95, 24], Operations: ['12+12=24']
Exploring Operation: 95-17=78, Resulting Numbers: [24, 78]
Generated Node #0,0,0: 31:[24, 78] Operation: 95-17=78
Moving to Node #0,0,0
Current State: 31:[24, 78], Operations: ['12+12=24', '95-17=78']
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
36,
48,
69,
63
] | 15 | [
"48*63=3024",
"3024/36=84",
"84-69=15"
] | Current State: 15:[36, 48, 69, 63], Operations: []
Exploring Operation: 48*63=3024, Resulting Numbers: [36, 69, 3024]
Generated Node #2: [36, 69, 3024] from Operation: 48*63=3024
Current State: 15:[36, 69, 3024], Operations: ['48*63=3024']
Exploring Operation: 3024/36=84, Resulting Numbers: [69, 84]
Generated Node #3: [69, 84] from Operation: 3024/36=84
Current State: 15:[69, 84], Operations: ['48*63=3024', '3024/36=84']
Exploring Operation: 84-69=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[36, 48, 69, 63], Operations: []
Exploring Operation: 69-48=21, Resulting Numbers: [36, 63, 21]
Generated Node #0,0: 15:[36, 63, 21] Operation: 69-48=21
Exploring Operation: 69-63=6, Resulting Numbers: [36, 48, 6]
Generated Node #0,1: 15:[36, 48, 6] Operation: 69-63=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[36, 48, 6], Operations: ['69-63=6']
Exploring Operation: 48/6=8, Resulting Numbers: [36, 8]
Generated Node #0,1,0: 15:[36, 8] Operation: 48/6=8
Exploring Operation: 48-36=12, Resulting Numbers: [6, 12]
Generated Node #0,1,1: 15:[6, 12] Operation: 48-36=12
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 15:[6, 12], Operations: ['69-63=6', '48-36=12']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,15 unequal: No Solution
No 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: 15:[36, 8], Operations: ['69-63=6', '48/6=8']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 36+8=44, Resulting Numbers: [44]
44,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[36, 63, 21], Operations: ['69-48=21']
Exploring Operation: 63/21=3, Resulting Numbers: [36, 3]
Generated Node #0,0,0: 15:[36, 3] Operation: 63/21=3
Exploring Operation: 63-36=27, Resulting Numbers: [21, 27]
Generated Node #0,0,1: 15:[21, 27] Operation: 63-36=27
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 15:[21, 27], Operations: ['69-48=21', '63-36=27']
Exploring Operation: 21+27=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,15 unequal: No Solution
No 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: 15:[36, 3], Operations: ['69-48=21', '63/21=3']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,15 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
45,
43,
3,
96
] | 11 | [
"45+43=88",
"3+96=99",
"99-88=11"
] | Current State: 11:[45, 43, 3, 96], Operations: []
Exploring Operation: 45+43=88, Resulting Numbers: [3, 96, 88]
Generated Node #2: [3, 96, 88] from Operation: 45+43=88
Current State: 11:[3, 96, 88], Operations: ['45+43=88']
Exploring Operation: 3+96=99, Resulting Numbers: [88, 99]
Generated Node #3: [88, 99] from Operation: 3+96=99
Current State: 11:[88, 99], Operations: ['45+43=88', '3+96=99']
Exploring Operation: 99-88=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[45, 43, 3, 96], Operations: []
Exploring Operation: 96/3=32, Resulting Numbers: [45, 43, 32]
Generated Node #0,0: 11:[45, 43, 32] Operation: 96/3=32
Exploring Operation: 96-45=51, Resulting Numbers: [43, 3, 51]
Generated Node #0,1: 11:[43, 3, 51] Operation: 96-45=51
Exploring Operation: 96-43=53, Resulting Numbers: [45, 3, 53]
Generated Node #0,2: 11:[45, 3, 53] Operation: 96-43=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[43, 3, 51], Operations: ['96-45=51']
Exploring Operation: 43-3=40, Resulting Numbers: [51, 40]
Generated Node #0,1,0: 11:[51, 40] Operation: 43-3=40
Exploring Operation: 51-43=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 11:[3, 8] Operation: 51-43=8
Exploring Operation: 51/3=17, Resulting Numbers: [43, 17]
Generated Node #0,1,2: 11:[43, 17] Operation: 51/3=17
Moving to Node #0,1,1
Current State: 11:[3, 8], Operations: ['96-45=51', '51-43=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[45, 43, 3, 96], Operations: []
Exploring Operation: 96-45=51, Resulting Numbers: [43, 3, 51]
Generated Node #0,1: 11:[43, 3, 51] Operation: 96-45=51
Moving to Node #0,1
Current State: 11:[43, 3, 51], Operations: ['96-45=51']
Exploring Operation: 51-43=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 11:[3, 8] Operation: 51-43=8
Moving to Node #0,1,1
Current State: 11:[3, 8], Operations: ['96-45=51', '51-43=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
84,
75,
11,
7
] | 54 | [
"11-7=4",
"84/4=21",
"75-21=54"
] | Current State: 54:[84, 75, 11, 7], Operations: []
Exploring Operation: 11-7=4, Resulting Numbers: [84, 75, 4]
Generated Node #2: [84, 75, 4] from Operation: 11-7=4
Current State: 54:[84, 75, 4], Operations: ['11-7=4']
Exploring Operation: 84/4=21, Resulting Numbers: [75, 21]
Generated Node #3: [75, 21] from Operation: 84/4=21
Current State: 54:[75, 21], Operations: ['11-7=4', '84/4=21']
Exploring Operation: 75-21=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[84, 75, 11, 7], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [75, 11, 12]
Generated Node #0,0: 54:[75, 11, 12] Operation: 84/7=12
Exploring Operation: 75-11=64, Resulting Numbers: [84, 7, 64]
Generated Node #0,1: 54:[84, 7, 64] Operation: 75-11=64
Exploring Operation: 84-7=77, Resulting Numbers: [75, 11, 77]
Generated Node #0,2: 54:[75, 11, 77] Operation: 84-7=77
Exploring Operation: 84-11=73, Resulting Numbers: [75, 7, 73]
Generated Node #0,3: 54:[75, 7, 73] Operation: 84-11=73
Exploring Operation: 84-75=9, Resulting Numbers: [11, 7, 9]
Generated Node #0,4: 54:[11, 7, 9] Operation: 84-75=9
Moving to Node #0,4
Current State: 54:[11, 7, 9], Operations: ['84-75=9']
Exploring Operation: 11-7=4, Resulting Numbers: [9, 4]
Generated Node #0,4,0: 54:[9, 4] Operation: 11-7=4
Exploring Operation: 9-7=2, Resulting Numbers: [11, 2]
Generated Node #0,4,1: 54:[11, 2] Operation: 9-7=2
Exploring Operation: 11+9=20, Resulting Numbers: [7, 20]
Generated Node #0,4,2: 54:[7, 20] Operation: 11+9=20
Exploring Operation: 11+7=18, Resulting Numbers: [9, 18]
Generated Node #0,4,3: 54:[9, 18] Operation: 11+7=18
Exploring Operation: 11-9=2, Resulting Numbers: [7, 2]
Generated Node #0,4,4: 54:[7, 2] Operation: 11-9=2
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 54:[9, 18], Operations: ['84-75=9', '11+7=18']
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 9*18=162, Resulting Numbers: [162]
162,54 unequal: No Solution
No 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: 54:[9, 4], Operations: ['84-75=9', '11-7=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,54 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,54 unequal: No Solution
No 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: 54:[7, 2], Operations: ['84-75=9', '11-9=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,54 unequal: No Solution
No 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: 54:[11, 2], Operations: ['84-75=9', '9-7=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,54 unequal: No Solution
No 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: 54:[7, 20], Operations: ['84-75=9', '11+9=20']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,54 unequal: No Solution
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,54 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: 54:[75, 11, 12], Operations: ['84/7=12']
Exploring Operation: 12-11=1, Resulting Numbers: [75, 1]
Generated Node #0,0,0: 54:[75, 1] Operation: 12-11=1
Exploring Operation: 75-12=63, Resulting Numbers: [11, 63]
Generated Node #0,0,1: 54:[11, 63] Operation: 75-12=63
Exploring Operation: 75+11=86, Resulting Numbers: [12, 86]
Generated Node #0,0,2: 54:[12, 86] Operation: 75+11=86
Exploring Operation: 75-11=64, Resulting Numbers: [12, 64]
Generated Node #0,0,3: 54:[12, 64] Operation: 75-11=64
Exploring Operation: 11+12=23, Resulting Numbers: [75, 23]
Generated Node #0,0,4: 54:[75, 23] Operation: 11+12=23
Moving to Node #0,1
Current State: 54:[84, 7, 64], Operations: ['75-11=64']
Exploring Operation: 64-7=57, Resulting Numbers: [84, 57]
Generated Node #0,1,0: 54:[84, 57] Operation: 64-7=57
Exploring Operation: 84+7=91, Resulting Numbers: [64, 91]
Generated Node #0,1,1: 54:[64, 91] Operation: 84+7=91
Exploring Operation: 84/7=12, Resulting Numbers: [64, 12]
Generated Node #0,1,2: 54:[64, 12] Operation: 84/7=12
Exploring Operation: 84-64=20, Resulting Numbers: [7, 20]
Generated Node #0,1,3: 54:[7, 20] Operation: 84-64=20
Exploring Operation: 84-7=77, Resulting Numbers: [64, 77]
Generated Node #0,1,4: 54:[64, 77] Operation: 84-7=77
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 54:[7, 20], Operations: ['75-11=64', '84-64=20']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,54 unequal: No Solution
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,54 unequal: No Solution
No 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: 54:[64, 12], Operations: ['75-11=64', '84/7=12']
Exploring Operation: 64*12=768, Resulting Numbers: [768]
768,54 unequal: No Solution
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Exploring Operation: 64+12=76, Resulting Numbers: [76]
76,54 unequal: No Solution
No 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: 54:[84, 57], Operations: ['75-11=64', '64-7=57']
Exploring Operation: 84-57=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 84*57=4788, Resulting Numbers: [4788]
4788,54 unequal: No Solution
Exploring Operation: 84+57=141, Resulting Numbers: [141]
141,54 unequal: No Solution
No 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: 54:[64, 77], Operations: ['75-11=64', '84-7=77']
Exploring Operation: 77-64=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 64*77=4928, Resulting Numbers: [4928]
4928,54 unequal: No Solution
Exploring Operation: 64+77=141, Resulting Numbers: [141]
141,54 unequal: No Solution
No 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: 54:[64, 91], Operations: ['75-11=64', '84+7=91']
Exploring Operation: 64*91=5824, Resulting Numbers: [5824]
5824,54 unequal: No Solution
Exploring Operation: 91-64=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 64+91=155, Resulting Numbers: [155]
155,54 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: 54:[75, 7, 73], Operations: ['84-11=73']
Exploring Operation: 75+7=82, Resulting Numbers: [73, 82]
Generated Node #0,3,0: 54:[73, 82] Operation: 75+7=82
Exploring Operation: 7+73=80, Resulting Numbers: [75, 80]
Generated Node #0,3,1: 54:[75, 80] Operation: 7+73=80
Exploring Operation: 73-7=66, Resulting Numbers: [75, 66]
Generated Node #0,3,2: 54:[75, 66] Operation: 73-7=66
Exploring Operation: 75-73=2, Resulting Numbers: [7, 2]
Generated Node #0,3,3: 54:[7, 2] Operation: 75-73=2
Exploring Operation: 75-7=68, Resulting Numbers: [73, 68]
Generated Node #0,3,4: 54:[73, 68] Operation: 75-7=68
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 54:[7, 2], Operations: ['84-11=73', '75-73=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,54 unequal: No Solution
No 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: 54:[75, 66], Operations: ['84-11=73', '73-7=66']
Exploring Operation: 75-66=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 75+66=141, Resulting Numbers: [141]
141,54 unequal: No Solution
Exploring Operation: 75*66=4950, Resulting Numbers: [4950]
4950,54 unequal: No Solution
No 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: 54:[73, 68], Operations: ['84-11=73', '75-7=68']
Exploring Operation: 73*68=4964, Resulting Numbers: [4964]
4964,54 unequal: No Solution
Exploring Operation: 73-68=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 73+68=141, Resulting Numbers: [141]
141,54 unequal: No Solution
No 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: 54:[73, 82], Operations: ['84-11=73', '75+7=82']
Exploring Operation: 82-73=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 73*82=5986, Resulting Numbers: [5986]
5986,54 unequal: No Solution
Exploring Operation: 73+82=155, Resulting Numbers: [155]
155,54 unequal: No Solution
No 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: 54:[75, 80], Operations: ['84-11=73', '7+73=80']
Exploring Operation: 75+80=155, Resulting Numbers: [155]
155,54 unequal: No Solution
Exploring Operation: 75*80=6000, Resulting Numbers: [6000]
6000,54 unequal: No Solution
Exploring Operation: 80-75=5, Resulting Numbers: [5]
5,54 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: 54:[75, 11, 77], Operations: ['84-7=77']
Exploring Operation: 75+11=86, Resulting Numbers: [77, 86]
Generated Node #0,2,0: 54:[77, 86] Operation: 75+11=86
Exploring Operation: 77/11=7, Resulting Numbers: [75, 7]
Generated Node #0,2,1: 54:[75, 7] Operation: 77/11=7
Exploring Operation: 77-11=66, Resulting Numbers: [75, 66]
Generated Node #0,2,2: 54:[75, 66] Operation: 77-11=66
Exploring Operation: 77-75=2, Resulting Numbers: [11, 2]
Generated Node #0,2,3: 54:[11, 2] Operation: 77-75=2
Exploring Operation: 75-11=64, Resulting Numbers: [77, 64]
Generated Node #0,2,4: 54:[77, 64] Operation: 75-11=64
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 54:[11, 2], Operations: ['84-7=77', '77-75=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,54 unequal: No Solution
No 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: 54:[75, 7], Operations: ['84-7=77', '77/11=7']
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,54 unequal: No Solution
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,54 unequal: No Solution
Exploring Operation: 75*7=525, Resulting Numbers: [525]
525,54 unequal: No Solution
No 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: 54:[75, 66], Operations: ['84-7=77', '77-11=66']
Exploring Operation: 75*66=4950, Resulting Numbers: [4950]
4950,54 unequal: No Solution
Exploring Operation: 75-66=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 75+66=141, Resulting Numbers: [141]
141,54 unequal: No Solution
No 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: 54:[77, 64], Operations: ['84-7=77', '75-11=64']
Exploring Operation: 77*64=4928, Resulting Numbers: [4928]
4928,54 unequal: No Solution
Exploring Operation: 77-64=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 77+64=141, Resulting Numbers: [141]
141,54 unequal: No Solution
No 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: 54:[77, 86], Operations: ['84-7=77', '75+11=86']
Exploring Operation: 86-77=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 77+86=163, Resulting Numbers: [163]
163,54 unequal: No Solution
Exploring Operation: 77*86=6622, Resulting Numbers: [6622]
6622,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 54:[11, 63], Operations: ['84/7=12', '75-12=63']
Exploring Operation: 11+63=74, Resulting Numbers: [74]
74,54 unequal: No Solution
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Exploring Operation: 11*63=693, Resulting Numbers: [693]
693,54 unequal: No Solution
Moving to Node #0,0,3
Current State: 54:[12, 64], Operations: ['84/7=12', '75-11=64']
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Exploring Operation: 12*64=768, Resulting Numbers: [768]
768,54 unequal: No Solution
Exploring Operation: 12+64=76, Resulting Numbers: [76]
76,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[75, 1], Operations: ['84/7=12', '12-11=1']
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,54 unequal: No Solution
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,54 unequal: No Solution
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Moving to Node #0,0,4
Current State: 54:[75, 23], Operations: ['84/7=12', '11+12=23']
Exploring Operation: 75*23=1725, Resulting Numbers: [1725]
1725,54 unequal: No Solution
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Exploring Operation: 75+23=98, Resulting Numbers: [98]
98,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[12, 86], Operations: ['84/7=12', '75+11=86']
Exploring Operation: 12*86=1032, Resulting Numbers: [1032]
1032,54 unequal: No Solution
Exploring Operation: 86-12=74, Resulting Numbers: [74]
74,54 unequal: No Solution
Exploring Operation: 12+86=98, Resulting Numbers: [98]
98,54 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
19,
75,
63,
96
] | 23 | [
"75-19=56",
"96-63=33",
"56-33=23"
] | Current State: 23:[19, 75, 63, 96], Operations: []
Exploring Operation: 75-19=56, Resulting Numbers: [63, 96, 56]
Generated Node #2: [63, 96, 56] from Operation: 75-19=56
Current State: 23:[63, 96, 56], Operations: ['75-19=56']
Exploring Operation: 96-63=33, Resulting Numbers: [56, 33]
Generated Node #3: [56, 33] from Operation: 96-63=33
Current State: 23:[56, 33], Operations: ['75-19=56', '96-63=33']
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[19, 75, 63, 96], Operations: []
Exploring Operation: 96-75=21, Resulting Numbers: [19, 63, 21]
Generated Node #0,0: 23:[19, 63, 21] Operation: 96-75=21
Exploring Operation: 96-63=33, Resulting Numbers: [19, 75, 33]
Generated Node #0,1: 23:[19, 75, 33] Operation: 96-63=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[19, 63, 21], Operations: ['96-75=21']
Exploring Operation: 63-21=42, Resulting Numbers: [19, 42]
Generated Node #0,0,0: 23:[19, 42] Operation: 63-21=42
Exploring Operation: 63-19=44, Resulting Numbers: [21, 44]
Generated Node #0,0,1: 23:[21, 44] Operation: 63-19=44
Moving to Node #0,0,0
Current State: 23:[19, 42], Operations: ['96-75=21', '63-21=42']
Exploring Operation: 19+42=61, Resulting Numbers: [61]
61,23 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[19, 75, 63, 96], Operations: []
Exploring Operation: 96-75=21, Resulting Numbers: [19, 63, 21]
Generated Node #0,0: 23:[19, 63, 21] Operation: 96-75=21
Moving to Node #0,0
Current State: 23:[19, 63, 21], Operations: ['96-75=21']
Exploring Operation: 63-21=42, Resulting Numbers: [19, 42]
Generated Node #0,0,0: 23:[19, 42] Operation: 63-21=42
Moving to Node #0,0,0
Current State: 23:[19, 42], Operations: ['96-75=21', '63-21=42']
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
23,
2,
76,
17
] | 87 | [
"76-23=53",
"2*17=34",
"53+34=87"
] | Current State: 87:[23, 2, 76, 17], Operations: []
Exploring Operation: 76-23=53, Resulting Numbers: [2, 17, 53]
Generated Node #2: [2, 17, 53] from Operation: 76-23=53
Current State: 87:[2, 17, 53], Operations: ['76-23=53']
Exploring Operation: 2*17=34, Resulting Numbers: [53, 34]
Generated Node #3: [53, 34] from Operation: 2*17=34
Current State: 87:[53, 34], Operations: ['76-23=53', '2*17=34']
Exploring Operation: 53+34=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[23, 2, 76, 17], Operations: []
Exploring Operation: 76+17=93, Resulting Numbers: [23, 2, 93]
Generated Node #0,0: 87:[23, 2, 93] Operation: 76+17=93
Moving to Node #0,0
Current State: 87:[23, 2, 93], Operations: ['76+17=93']
Exploring Operation: 23+2=25, Resulting Numbers: [93, 25]
Generated Node #0,0,0: 87:[93, 25] Operation: 23+2=25
Moving to Node #0,0,0
Current State: 87:[93, 25], Operations: ['76+17=93', '23+2=25']
Exploring Operation: 93-25=68, Resulting Numbers: [68]
68,87 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
45,
87,
70,
31
] | 93 | [
"45+87=132",
"70-31=39",
"132-39=93"
] | Current State: 93:[45, 87, 70, 31], Operations: []
Exploring Operation: 45+87=132, Resulting Numbers: [70, 31, 132]
Generated Node #2: [70, 31, 132] from Operation: 45+87=132
Current State: 93:[70, 31, 132], Operations: ['45+87=132']
Exploring Operation: 70-31=39, Resulting Numbers: [132, 39]
Generated Node #3: [132, 39] from Operation: 70-31=39
Current State: 93:[132, 39], Operations: ['45+87=132', '70-31=39']
Exploring Operation: 132-39=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[45, 87, 70, 31], Operations: []
Exploring Operation: 70-45=25, Resulting Numbers: [87, 31, 25]
Generated Node #0,0: 93:[87, 31, 25] Operation: 70-45=25
Moving to Node #0,0
Current State: 93:[87, 31, 25], Operations: ['70-45=25']
Exploring Operation: 31-25=6, Resulting Numbers: [87, 6]
Generated Node #0,0,0: 93:[87, 6] Operation: 31-25=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[87, 6], Operations: ['70-45=25', '31-25=6']
Exploring Operation: 87+6=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[45, 87, 70, 31], Operations: []
Exploring Operation: 70-45=25, Resulting Numbers: [87, 31, 25]
Generated Node #0,0: 93:[87, 31, 25] Operation: 70-45=25
Moving to Node #0,0
Current State: 93:[87, 31, 25], Operations: ['70-45=25']
Exploring Operation: 31-25=6, Resulting Numbers: [87, 6]
Generated Node #0,0,0: 93:[87, 6] Operation: 31-25=6
Moving to Node #0,0,0
Current State: 93:[87, 6], Operations: ['70-45=25', '31-25=6']
Exploring Operation: 87+6=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
12,
95,
36,
43
] | 28 | [
"12+95=107",
"36+43=79",
"107-79=28"
] | Current State: 28:[12, 95, 36, 43], Operations: []
Exploring Operation: 12+95=107, Resulting Numbers: [36, 43, 107]
Generated Node #2: [36, 43, 107] from Operation: 12+95=107
Current State: 28:[36, 43, 107], Operations: ['12+95=107']
Exploring Operation: 36+43=79, Resulting Numbers: [107, 79]
Generated Node #3: [107, 79] from Operation: 36+43=79
Current State: 28:[107, 79], Operations: ['12+95=107', '36+43=79']
Exploring Operation: 107-79=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[12, 95, 36, 43], Operations: []
Exploring Operation: 95-43=52, Resulting Numbers: [12, 36, 52]
Generated Node #0,0: 28:[12, 36, 52] Operation: 95-43=52
Exploring Operation: 95-36=59, Resulting Numbers: [12, 43, 59]
Generated Node #0,1: 28:[12, 43, 59] Operation: 95-36=59
Exploring Operation: 43-36=7, Resulting Numbers: [12, 95, 7]
Generated Node #0,2: 28:[12, 95, 7] Operation: 43-36=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[12, 36, 52], Operations: ['95-43=52']
Exploring Operation: 52-36=16, Resulting Numbers: [12, 16]
Generated Node #0,0,0: 28:[12, 16] Operation: 52-36=16
Exploring Operation: 52-12=40, Resulting Numbers: [36, 40]
Generated Node #0,0,1: 28:[36, 40] Operation: 52-12=40
Exploring Operation: 36/12=3, Resulting Numbers: [52, 3]
Generated Node #0,0,2: 28:[52, 3] Operation: 36/12=3
Moving to Node #0,0,0
Current State: 28:[12, 16], Operations: ['95-43=52', '52-36=16']
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[12, 95, 36, 43], Operations: []
Exploring Operation: 95-43=52, Resulting Numbers: [12, 36, 52]
Generated Node #0,0: 28:[12, 36, 52] Operation: 95-43=52
Moving to Node #0,0
Current State: 28:[12, 36, 52], Operations: ['95-43=52']
Exploring Operation: 52-36=16, Resulting Numbers: [12, 16]
Generated Node #0,0,0: 28:[12, 16] Operation: 52-36=16
Moving to Node #0,0,0
Current State: 28:[12, 16], Operations: ['95-43=52', '52-36=16']
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
47,
78,
75,
27
] | 38 | [
"78-75=3",
"27/3=9",
"47-9=38"
] | Current State: 38:[47, 78, 75, 27], Operations: []
Exploring Operation: 78-75=3, Resulting Numbers: [47, 27, 3]
Generated Node #2: [47, 27, 3] from Operation: 78-75=3
Current State: 38:[47, 27, 3], Operations: ['78-75=3']
Exploring Operation: 27/3=9, Resulting Numbers: [47, 9]
Generated Node #3: [47, 9] from Operation: 27/3=9
Current State: 38:[47, 9], Operations: ['78-75=3', '27/3=9']
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[47, 78, 75, 27], Operations: []
Exploring Operation: 78-27=51, Resulting Numbers: [47, 75, 51]
Generated Node #0,0: 38:[47, 75, 51] Operation: 78-27=51
Exploring Operation: 78-47=31, Resulting Numbers: [75, 27, 31]
Generated Node #0,1: 38:[75, 27, 31] Operation: 78-47=31
Exploring Operation: 75-47=28, Resulting Numbers: [78, 27, 28]
Generated Node #0,2: 38:[78, 27, 28] Operation: 75-47=28
Exploring Operation: 78-75=3, Resulting Numbers: [47, 27, 3]
Generated Node #0,3: 38:[47, 27, 3] Operation: 78-75=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 38:[47, 27, 3], Operations: ['78-75=3']
Exploring Operation: 27-3=24, Resulting Numbers: [47, 24]
Generated Node #0,3,0: 38:[47, 24] Operation: 27-3=24
Exploring Operation: 27/3=9, Resulting Numbers: [47, 9]
Generated Node #0,3,1: 38:[47, 9] Operation: 27/3=9
Exploring Operation: 47-3=44, Resulting Numbers: [27, 44]
Generated Node #0,3,2: 38:[27, 44] Operation: 47-3=44
Exploring Operation: 47-27=20, Resulting Numbers: [3, 20]
Generated Node #0,3,3: 38:[3, 20] Operation: 47-27=20
Moving to Node #0,3,3
Current State: 38:[3, 20], Operations: ['78-75=3', '47-27=20']
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,38 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Moving to Node #0,3,2
Current State: 38:[27, 44], Operations: ['78-75=3', '47-3=44']
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 27*44=1188, Resulting Numbers: [1188]
1188,38 unequal: No Solution
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,38 unequal: No Solution
Moving to Node #0,3,0
Current State: 38:[47, 24], Operations: ['78-75=3', '27-3=24']
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,38 unequal: No Solution
Exploring Operation: 47+24=71, Resulting Numbers: [71]
71,38 unequal: No Solution
Exploring Operation: 47*24=1128, Resulting Numbers: [1128]
1128,38 unequal: No Solution
Moving to Node #0,3,1
Current State: 38:[47, 9], Operations: ['78-75=3', '27/3=9']
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,38 unequal: No Solution
Exploring Operation: 47*9=423, Resulting Numbers: [423]
423,38 unequal: No Solution
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[47, 78, 75, 27], Operations: []
Exploring Operation: 78-75=3, Resulting Numbers: [47, 27, 3]
Generated Node #0,3: 38:[47, 27, 3] Operation: 78-75=3
Moving to Node #0,3
Current State: 38:[47, 27, 3], Operations: ['78-75=3']
Exploring Operation: 27/3=9, Resulting Numbers: [47, 9]
Generated Node #0,3,1: 38:[47, 9] Operation: 27/3=9
Moving to Node #0,3,1
Current State: 38:[47, 9], Operations: ['78-75=3', '27/3=9']
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
21,
57,
79,
20
] | 20 | [
"21+57=78",
"79-78=1",
"20*1=20"
] | Current State: 20:[21, 57, 79, 20], Operations: []
Exploring Operation: 21+57=78, Resulting Numbers: [79, 20, 78]
Generated Node #2: [79, 20, 78] from Operation: 21+57=78
Current State: 20:[79, 20, 78], Operations: ['21+57=78']
Exploring Operation: 79-78=1, Resulting Numbers: [20, 1]
Generated Node #3: [20, 1] from Operation: 79-78=1
Current State: 20:[20, 1], Operations: ['21+57=78', '79-78=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[21, 57, 79, 20], Operations: []
Exploring Operation: 79-57=22, Resulting Numbers: [21, 20, 22]
Generated Node #0,0: 20:[21, 20, 22] Operation: 79-57=22
Moving to Node #0,0
Current State: 20:[21, 20, 22], Operations: ['79-57=22']
Exploring Operation: 22-21=1, Resulting Numbers: [20, 1]
Generated Node #0,0,0: 20:[20, 1] Operation: 22-21=1
Moving to Node #0,0,0
Current State: 20:[20, 1], Operations: ['79-57=22', '22-21=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[21, 57, 79, 20], Operations: []
Exploring Operation: 79-57=22, Resulting Numbers: [21, 20, 22]
Generated Node #0,0: 20:[21, 20, 22] Operation: 79-57=22
Moving to Node #0,0
Current State: 20:[21, 20, 22], Operations: ['79-57=22']
Exploring Operation: 22-21=1, Resulting Numbers: [20, 1]
Generated Node #0,0,0: 20:[20, 1] Operation: 22-21=1
Moving to Node #0,0,0
Current State: 20:[20, 1], Operations: ['79-57=22', '22-21=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
97,
35,
5,
14
] | 62 | [
"97+35=132",
"5*14=70",
"132-70=62"
] | Current State: 62:[97, 35, 5, 14], Operations: []
Exploring Operation: 97+35=132, Resulting Numbers: [5, 14, 132]
Generated Node #2: [5, 14, 132] from Operation: 97+35=132
Current State: 62:[5, 14, 132], Operations: ['97+35=132']
Exploring Operation: 5*14=70, Resulting Numbers: [132, 70]
Generated Node #3: [132, 70] from Operation: 5*14=70
Current State: 62:[132, 70], Operations: ['97+35=132', '5*14=70']
Exploring Operation: 132-70=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[97, 35, 5, 14], Operations: []
Exploring Operation: 97-5=92, Resulting Numbers: [35, 14, 92]
Generated Node #0,0: 62:[35, 14, 92] Operation: 97-5=92
Exploring Operation: 14-5=9, Resulting Numbers: [97, 35, 9]
Generated Node #0,1: 62:[97, 35, 9] Operation: 14-5=9
Exploring Operation: 97-35=62, Resulting Numbers: [5, 14, 62]
Generated Node #0,2: 62:[5, 14, 62] Operation: 97-35=62
Exploring Operation: 97-14=83, Resulting Numbers: [35, 5, 83]
Generated Node #0,3: 62:[35, 5, 83] Operation: 97-14=83
Moving to Node #0,2
Current State: 62:[5, 14, 62], Operations: ['97-35=62']
Exploring Operation: 5*14=70, Resulting Numbers: [62, 70]
Generated Node #0,2,0: 62:[62, 70] Operation: 5*14=70
Exploring Operation: 14-5=9, Resulting Numbers: [62, 9]
Generated Node #0,2,1: 62:[62, 9] Operation: 14-5=9
Exploring Operation: 5+14=19, Resulting Numbers: [62, 19]
Generated Node #0,2,2: 62:[62, 19] Operation: 5+14=19
Exploring Operation: 5+62=67, Resulting Numbers: [14, 67]
Generated Node #0,2,3: 62:[14, 67] Operation: 5+62=67
Moving to Node #0,3
Current State: 62:[35, 5, 83], Operations: ['97-14=83']
Exploring Operation: 35-5=30, Resulting Numbers: [83, 30]
Generated Node #0,3,0: 62:[83, 30] Operation: 35-5=30
Exploring Operation: 35/5=7, Resulting Numbers: [83, 7]
Generated Node #0,3,1: 62:[83, 7] Operation: 35/5=7
Exploring Operation: 83-5=78, Resulting Numbers: [35, 78]
Generated Node #0,3,2: 62:[35, 78] Operation: 83-5=78
Exploring Operation: 83-35=48, Resulting Numbers: [5, 48]
Generated Node #0,3,3: 62:[5, 48] Operation: 83-35=48
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 62:[5, 48], Operations: ['97-14=83', '83-35=48']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 5*48=240, Resulting Numbers: [240]
240,62 unequal: No Solution
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 62:[35, 78], Operations: ['97-14=83', '83-5=78']
Exploring Operation: 78-35=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 35*78=2730, Resulting Numbers: [2730]
2730,62 unequal: No Solution
Exploring Operation: 35+78=113, Resulting Numbers: [113]
113,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 62:[83, 30], Operations: ['97-14=83', '35-5=30']
Exploring Operation: 83*30=2490, Resulting Numbers: [2490]
2490,62 unequal: No Solution
Exploring Operation: 83-30=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Exploring Operation: 83+30=113, Resulting Numbers: [113]
113,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 62:[83, 7], Operations: ['97-14=83', '35/5=7']
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,62 unequal: No Solution
Exploring Operation: 83*7=581, Resulting Numbers: [581]
581,62 unequal: No Solution
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,62 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: 62:[97, 35, 9], Operations: ['14-5=9']
Exploring Operation: 97-35=62, Resulting Numbers: [9, 62]
Generated Node #0,1,0: 62:[9, 62] Operation: 97-35=62
Exploring Operation: 97+9=106, Resulting Numbers: [35, 106]
Generated Node #0,1,1: 62:[35, 106] Operation: 97+9=106
Exploring Operation: 35-9=26, Resulting Numbers: [97, 26]
Generated Node #0,1,2: 62:[97, 26] Operation: 35-9=26
Exploring Operation: 97-9=88, Resulting Numbers: [35, 88]
Generated Node #0,1,3: 62:[35, 88] Operation: 97-9=88
Moving to Node #0,0
Current State: 62:[35, 14, 92], Operations: ['97-5=92']
Exploring Operation: 92-35=57, Resulting Numbers: [14, 57]
Generated Node #0,0,0: 62:[14, 57] Operation: 92-35=57
Exploring Operation: 35-14=21, Resulting Numbers: [92, 21]
Generated Node #0,0,1: 62:[92, 21] Operation: 35-14=21
Exploring Operation: 35+14=49, Resulting Numbers: [92, 49]
Generated Node #0,0,2: 62:[92, 49] Operation: 35+14=49
Exploring Operation: 92-14=78, Resulting Numbers: [35, 78]
Generated Node #0,0,3: 62:[35, 78] Operation: 92-14=78
Moving to Node #0,2,1
Current State: 62:[62, 9], Operations: ['97-35=62', '14-5=9']
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,62 unequal: No Solution
Exploring Operation: 62*9=558, Resulting Numbers: [558]
558,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[9, 62], Operations: ['14-5=9', '97-35=62']
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Exploring Operation: 9*62=558, Resulting Numbers: [558]
558,62 unequal: No Solution
Exploring Operation: 9+62=71, Resulting Numbers: [71]
71,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[62, 70], Operations: ['97-35=62', '5*14=70']
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 62*70=4340, Resulting Numbers: [4340]
4340,62 unequal: No Solution
Exploring Operation: 62+70=132, Resulting Numbers: [132]
132,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[62, 19], Operations: ['97-35=62', '5+14=19']
Exploring Operation: 62*19=1178, Resulting Numbers: [1178]
1178,62 unequal: No Solution
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 62+19=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Moving to Node #0,2,3
Current State: 62:[14, 67], Operations: ['97-35=62', '5+62=67']
Exploring Operation: 14+67=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Exploring Operation: 14*67=938, Resulting Numbers: [938]
938,62 unequal: No Solution
Exploring Operation: 67-14=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[14, 57], Operations: ['97-5=92', '92-35=57']
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 14*57=798, Resulting Numbers: [798]
798,62 unequal: No Solution
Exploring Operation: 14+57=71, Resulting Numbers: [71]
71,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[35, 78], Operations: ['97-5=92', '92-14=78']
Exploring Operation: 35+78=113, Resulting Numbers: [113]
113,62 unequal: No Solution
Exploring Operation: 35*78=2730, Resulting Numbers: [2730]
2730,62 unequal: No Solution
Exploring Operation: 78-35=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Moving to Node #0,1,3
Current State: 62:[35, 88], Operations: ['14-5=9', '97-9=88']
Exploring Operation: 88-35=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Exploring Operation: 35+88=123, Resulting Numbers: [123]
123,62 unequal: No Solution
Exploring Operation: 35*88=3080, Resulting Numbers: [3080]
3080,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[92, 21], Operations: ['97-5=92', '35-14=21']
Exploring Operation: 92-21=71, Resulting Numbers: [71]
71,62 unequal: No Solution
Exploring Operation: 92+21=113, Resulting Numbers: [113]
113,62 unequal: No Solution
Exploring Operation: 92*21=1932, Resulting Numbers: [1932]
1932,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[97, 26], Operations: ['14-5=9', '35-9=26']
Exploring Operation: 97-26=71, Resulting Numbers: [71]
71,62 unequal: No Solution
Exploring Operation: 97*26=2522, Resulting Numbers: [2522]
2522,62 unequal: No Solution
Exploring Operation: 97+26=123, Resulting Numbers: [123]
123,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[92, 49], Operations: ['97-5=92', '35+14=49']
Exploring Operation: 92+49=141, Resulting Numbers: [141]
141,62 unequal: No Solution
Exploring Operation: 92*49=4508, Resulting Numbers: [4508]
4508,62 unequal: No Solution
Exploring Operation: 92-49=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[35, 106], Operations: ['14-5=9', '97+9=106']
Exploring Operation: 35*106=3710, Resulting Numbers: [3710]
3710,62 unequal: No Solution
Exploring Operation: 106-35=71, Resulting Numbers: [71]
71,62 unequal: No Solution
Exploring Operation: 35+106=141, Resulting Numbers: [141]
141,62 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
70,
26,
10,
12
] | 31 | [
"70-10=60",
"60/12=5",
"26+5=31"
] | Current State: 31:[70, 26, 10, 12], Operations: []
Exploring Operation: 70-10=60, Resulting Numbers: [26, 12, 60]
Generated Node #2: [26, 12, 60] from Operation: 70-10=60
Current State: 31:[26, 12, 60], Operations: ['70-10=60']
Exploring Operation: 60/12=5, Resulting Numbers: [26, 5]
Generated Node #3: [26, 5] from Operation: 60/12=5
Current State: 31:[26, 5], Operations: ['70-10=60', '60/12=5']
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[70, 26, 10, 12], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [26, 12, 7]
Generated Node #0,0: 31:[26, 12, 7] Operation: 70/10=7
Moving to Node #0,0
Current State: 31:[26, 12, 7], Operations: ['70/10=7']
Exploring Operation: 12+7=19, Resulting Numbers: [26, 19]
Generated Node #0,0,0: 31:[26, 19] Operation: 12+7=19
Moving to Node #0,0,0
Current State: 31:[26, 19], Operations: ['70/10=7', '12+7=19']
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,31 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
81,
39,
98,
3
] | 25 | [
"81+39=120",
"98-3=95",
"120-95=25"
] | Current State: 25:[81, 39, 98, 3], Operations: []
Exploring Operation: 81+39=120, Resulting Numbers: [98, 3, 120]
Generated Node #2: [98, 3, 120] from Operation: 81+39=120
Current State: 25:[98, 3, 120], Operations: ['81+39=120']
Exploring Operation: 98-3=95, Resulting Numbers: [120, 95]
Generated Node #3: [120, 95] from Operation: 98-3=95
Current State: 25:[120, 95], Operations: ['81+39=120', '98-3=95']
Exploring Operation: 120-95=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[81, 39, 98, 3], Operations: []
Exploring Operation: 98-81=17, Resulting Numbers: [39, 3, 17]
Generated Node #0,0: 25:[39, 3, 17] Operation: 98-81=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[39, 3, 17], Operations: ['98-81=17']
Exploring Operation: 39-17=22, Resulting Numbers: [3, 22]
Generated Node #0,0,0: 25:[3, 22] Operation: 39-17=22
Moving to Node #0,0,0
Current State: 25:[3, 22], Operations: ['98-81=17', '39-17=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[81, 39, 98, 3], Operations: []
Exploring Operation: 98-81=17, Resulting Numbers: [39, 3, 17]
Generated Node #0,0: 25:[39, 3, 17] Operation: 98-81=17
Moving to Node #0,0
Current State: 25:[39, 3, 17], Operations: ['98-81=17']
Exploring Operation: 39-17=22, Resulting Numbers: [3, 22]
Generated Node #0,0,0: 25:[3, 22] Operation: 39-17=22
Moving to Node #0,0,0
Current State: 25:[3, 22], Operations: ['98-81=17', '39-17=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
80,
90,
11,
49
] | 49 | [
"90-80=10",
"11-10=1",
"49*1=49"
] | Current State: 49:[80, 90, 11, 49], Operations: []
Exploring Operation: 90-80=10, Resulting Numbers: [11, 49, 10]
Generated Node #2: [11, 49, 10] from Operation: 90-80=10
Current State: 49:[11, 49, 10], Operations: ['90-80=10']
Exploring Operation: 11-10=1, Resulting Numbers: [49, 1]
Generated Node #3: [49, 1] from Operation: 11-10=1
Current State: 49:[49, 1], Operations: ['90-80=10', '11-10=1']
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[80, 90, 11, 49], Operations: []
Exploring Operation: 90-49=41, Resulting Numbers: [80, 11, 41]
Generated Node #0,0: 49:[80, 11, 41] Operation: 90-49=41
Exploring Operation: 90-80=10, Resulting Numbers: [11, 49, 10]
Generated Node #0,1: 49:[11, 49, 10] Operation: 90-80=10
Exploring Operation: 80-11=69, Resulting Numbers: [90, 49, 69]
Generated Node #0,2: 49:[90, 49, 69] Operation: 80-11=69
Moving to Node #0,1
Current State: 49:[11, 49, 10], Operations: ['90-80=10']
Exploring Operation: 11-10=1, Resulting Numbers: [49, 1]
Generated Node #0,1,0: 49:[49, 1] Operation: 11-10=1
Exploring Operation: 49-11=38, Resulting Numbers: [10, 38]
Generated Node #0,1,1: 49:[10, 38] Operation: 49-11=38
Exploring Operation: 11+49=60, Resulting Numbers: [10, 60]
Generated Node #0,1,2: 49:[10, 60] Operation: 11+49=60
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[49, 1], Operations: ['90-80=10', '11-10=1']
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[80, 90, 11, 49], Operations: []
Exploring Operation: 90-80=10, Resulting Numbers: [11, 49, 10]
Generated Node #0,1: 49:[11, 49, 10] Operation: 90-80=10
Moving to Node #0,1
Current State: 49:[11, 49, 10], Operations: ['90-80=10']
Exploring Operation: 11-10=1, Resulting Numbers: [49, 1]
Generated Node #0,1,0: 49:[49, 1] Operation: 11-10=1
Moving to Node #0,1,0
Current State: 49:[49, 1], Operations: ['90-80=10', '11-10=1']
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
89,
45,
1,
10
] | 94 | [
"10-1=9",
"45/9=5",
"89+5=94"
] | Current State: 94:[89, 45, 1, 10], Operations: []
Exploring Operation: 10-1=9, Resulting Numbers: [89, 45, 9]
Generated Node #2: [89, 45, 9] from Operation: 10-1=9
Current State: 94:[89, 45, 9], Operations: ['10-1=9']
Exploring Operation: 45/9=5, Resulting Numbers: [89, 5]
Generated Node #3: [89, 5] from Operation: 45/9=5
Current State: 94:[89, 5], Operations: ['10-1=9', '45/9=5']
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[89, 45, 1, 10], Operations: []
Exploring Operation: 89+10=99, Resulting Numbers: [45, 1, 99]
Generated Node #0,0: 94:[45, 1, 99] Operation: 89+10=99
Exploring Operation: 89-45=44, Resulting Numbers: [1, 10, 44]
Generated Node #0,1: 94:[1, 10, 44] Operation: 89-45=44
Moving to Node #0,0
Current State: 94:[45, 1, 99], Operations: ['89+10=99']
Exploring Operation: 45+1=46, Resulting Numbers: [99, 46]
Generated Node #0,0,0: 94:[99, 46] Operation: 45+1=46
Exploring Operation: 99-1=98, Resulting Numbers: [45, 98]
Generated Node #0,0,1: 94:[45, 98] Operation: 99-1=98
Moving to Node #0,1
Current State: 94:[1, 10, 44], Operations: ['89-45=44']
Exploring Operation: 10-1=9, Resulting Numbers: [44, 9]
Generated Node #0,1,0: 94:[44, 9] Operation: 10-1=9
Exploring Operation: 10+44=54, Resulting Numbers: [1, 54]
Generated Node #0,1,1: 94:[1, 54] Operation: 10+44=54
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[1, 54], Operations: ['89-45=44', '10+44=54']
Exploring Operation: 1*54=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[44, 9], Operations: ['89-45=44', '10-1=9']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,94 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: 94:[99, 46], Operations: ['89+10=99', '45+1=46']
Exploring Operation: 99+46=145, Resulting Numbers: [145]
145,94 unequal: No Solution
Exploring Operation: 99-46=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[45, 98], Operations: ['89+10=99', '99-1=98']
Exploring Operation: 45+98=143, Resulting Numbers: [143]
143,94 unequal: No Solution
Exploring Operation: 98-45=53, Resulting Numbers: [53]
53,94 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
85,
51,
8,
3
] | 79 | [
"51-3=48",
"48/8=6",
"85-6=79"
] | Current State: 79:[85, 51, 8, 3], Operations: []
Exploring Operation: 51-3=48, Resulting Numbers: [85, 8, 48]
Generated Node #2: [85, 8, 48] from Operation: 51-3=48
Current State: 79:[85, 8, 48], Operations: ['51-3=48']
Exploring Operation: 48/8=6, Resulting Numbers: [85, 6]
Generated Node #3: [85, 6] from Operation: 48/8=6
Current State: 79:[85, 6], Operations: ['51-3=48', '48/8=6']
Exploring Operation: 85-6=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[85, 51, 8, 3], Operations: []
Exploring Operation: 51+8=59, Resulting Numbers: [85, 3, 59]
Generated Node #0,0: 79:[85, 3, 59] Operation: 51+8=59
Exploring Operation: 85-3=82, Resulting Numbers: [51, 8, 82]
Generated Node #0,1: 79:[51, 8, 82] Operation: 85-3=82
Exploring Operation: 8*3=24, Resulting Numbers: [85, 51, 24]
Generated Node #0,2: 79:[85, 51, 24] Operation: 8*3=24
Moving to Node #0,2
Current State: 79:[85, 51, 24], Operations: ['8*3=24']
Exploring Operation: 51+24=75, Resulting Numbers: [85, 75]
Generated Node #0,2,0: 79:[85, 75] Operation: 51+24=75
Exploring Operation: 85+24=109, Resulting Numbers: [51, 109]
Generated Node #0,2,1: 79:[51, 109] Operation: 85+24=109
Exploring Operation: 85-24=61, Resulting Numbers: [51, 61]
Generated Node #0,2,2: 79:[51, 61] Operation: 85-24=61
Moving to Node #0,0
Current State: 79:[85, 3, 59], Operations: ['51+8=59']
Exploring Operation: 3+59=62, Resulting Numbers: [85, 62]
Generated Node #0,0,0: 79:[85, 62] Operation: 3+59=62
Exploring Operation: 85-3=82, Resulting Numbers: [59, 82]
Generated Node #0,0,1: 79:[59, 82] Operation: 85-3=82
Exploring Operation: 85+3=88, Resulting Numbers: [59, 88]
Generated Node #0,0,2: 79:[59, 88] Operation: 85+3=88
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[85, 62], Operations: ['51+8=59', '3+59=62']
Exploring Operation: 85+62=147, Resulting Numbers: [147]
147,79 unequal: No Solution
Exploring Operation: 85*62=5270, Resulting Numbers: [5270]
5270,79 unequal: No Solution
Exploring Operation: 85-62=23, Resulting Numbers: [23]
23,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[59, 82], Operations: ['51+8=59', '85-3=82']
Exploring Operation: 59*82=4838, Resulting Numbers: [4838]
4838,79 unequal: No Solution
Exploring Operation: 82-59=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 59+82=141, Resulting Numbers: [141]
141,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[59, 88], Operations: ['51+8=59', '85+3=88']
Exploring Operation: 59+88=147, Resulting Numbers: [147]
147,79 unequal: No Solution
Exploring Operation: 88-59=29, Resulting Numbers: [29]
29,79 unequal: No Solution
Exploring Operation: 59*88=5192, Resulting Numbers: [5192]
5192,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 79:[51, 8, 82], Operations: ['85-3=82']
Exploring Operation: 51+8=59, Resulting Numbers: [82, 59]
Generated Node #0,1,0: 79:[82, 59] Operation: 51+8=59
Exploring Operation: 51-8=43, Resulting Numbers: [82, 43]
Generated Node #0,1,1: 79:[82, 43] Operation: 51-8=43
Exploring Operation: 82-8=74, Resulting Numbers: [51, 74]
Generated Node #0,1,2: 79:[51, 74] Operation: 82-8=74
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[82, 59], Operations: ['85-3=82', '51+8=59']
Exploring Operation: 82+59=141, Resulting Numbers: [141]
141,79 unequal: No Solution
Exploring Operation: 82*59=4838, Resulting Numbers: [4838]
4838,79 unequal: No Solution
Exploring Operation: 82-59=23, Resulting Numbers: [23]
23,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[51, 74], Operations: ['85-3=82', '82-8=74']
Exploring Operation: 51+74=125, Resulting Numbers: [125]
125,79 unequal: No Solution
Exploring Operation: 51*74=3774, Resulting Numbers: [3774]
3774,79 unequal: No Solution
Exploring Operation: 74-51=23, Resulting Numbers: [23]
23,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[82, 43], Operations: ['85-3=82', '51-8=43']
Exploring Operation: 82*43=3526, Resulting Numbers: [3526]
3526,79 unequal: No Solution
Exploring Operation: 82+43=125, Resulting Numbers: [125]
125,79 unequal: No Solution
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 79:[85, 75], Operations: ['8*3=24', '51+24=75']
Exploring Operation: 85-75=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 85*75=6375, Resulting Numbers: [6375]
6375,79 unequal: No Solution
Exploring Operation: 85+75=160, Resulting Numbers: [160]
160,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[51, 61], Operations: ['8*3=24', '85-24=61']
Exploring Operation: 61-51=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 51*61=3111, Resulting Numbers: [3111]
3111,79 unequal: No Solution
Exploring Operation: 51+61=112, Resulting Numbers: [112]
112,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[51, 109], Operations: ['8*3=24', '85+24=109']
Exploring Operation: 51+109=160, Resulting Numbers: [160]
160,79 unequal: No Solution
Exploring Operation: 51*109=5559, Resulting Numbers: [5559]
5559,79 unequal: No Solution
Exploring Operation: 109-51=58, Resulting Numbers: [58]
58,79 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
18,
83,
65,
63
] | 99 | [
"18+83=101",
"65-63=2",
"101-2=99"
] | Current State: 99:[18, 83, 65, 63], Operations: []
Exploring Operation: 18+83=101, Resulting Numbers: [65, 63, 101]
Generated Node #2: [65, 63, 101] from Operation: 18+83=101
Current State: 99:[65, 63, 101], Operations: ['18+83=101']
Exploring Operation: 65-63=2, Resulting Numbers: [101, 2]
Generated Node #3: [101, 2] from Operation: 65-63=2
Current State: 99:[101, 2], Operations: ['18+83=101', '65-63=2']
Exploring Operation: 101-2=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[18, 83, 65, 63], Operations: []
Exploring Operation: 83-65=18, Resulting Numbers: [18, 63, 18]
Generated Node #0,0: 99:[18, 63, 18] Operation: 83-65=18
Exploring Operation: 83-63=20, Resulting Numbers: [18, 65, 20]
Generated Node #0,1: 99:[18, 65, 20] Operation: 83-63=20
Exploring Operation: 65-63=2, Resulting Numbers: [18, 83, 2]
Generated Node #0,2: 99:[18, 83, 2] Operation: 65-63=2
Exploring Operation: 65-18=47, Resulting Numbers: [83, 63, 47]
Generated Node #0,3: 99:[83, 63, 47] Operation: 65-18=47
Exploring Operation: 65+63=128, Resulting Numbers: [18, 83, 128]
Generated Node #0,4: 99:[18, 83, 128] Operation: 65+63=128
Moving to Node #0,2
Current State: 99:[18, 83, 2], Operations: ['65-63=2']
Exploring Operation: 18-2=16, Resulting Numbers: [83, 16]
Generated Node #0,2,0: 99:[83, 16] Operation: 18-2=16
Exploring Operation: 18/2=9, Resulting Numbers: [83, 9]
Generated Node #0,2,1: 99:[83, 9] Operation: 18/2=9
Exploring Operation: 18+83=101, Resulting Numbers: [2, 101]
Generated Node #0,2,2: 99:[2, 101] Operation: 18+83=101
Exploring Operation: 83+2=85, Resulting Numbers: [18, 85]
Generated Node #0,2,3: 99:[18, 85] Operation: 83+2=85
Exploring Operation: 18*2=36, Resulting Numbers: [83, 36]
Generated Node #0,2,4: 99:[83, 36] Operation: 18*2=36
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 99:[2, 101], Operations: ['65-63=2', '18+83=101']
Exploring Operation: 101-2=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[18, 83, 65, 63], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [18, 83, 2]
Generated Node #0,2: 99:[18, 83, 2] Operation: 65-63=2
Moving to Node #0,2
Current State: 99:[18, 83, 2], Operations: ['65-63=2']
Exploring Operation: 18+83=101, Resulting Numbers: [2, 101]
Generated Node #0,2,2: 99:[2, 101] Operation: 18+83=101
Moving to Node #0,2,2
Current State: 99:[2, 101], Operations: ['65-63=2', '18+83=101']
Exploring Operation: 101-2=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
92,
56,
41,
94
] | 30 | [
"94-92=2",
"56-41=15",
"2*15=30"
] | Current State: 30:[92, 56, 41, 94], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [56, 41, 2]
Generated Node #2: [56, 41, 2] from Operation: 94-92=2
Current State: 30:[56, 41, 2], Operations: ['94-92=2']
Exploring Operation: 56-41=15, Resulting Numbers: [2, 15]
Generated Node #3: [2, 15] from Operation: 56-41=15
Current State: 30:[2, 15], Operations: ['94-92=2', '56-41=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[92, 56, 41, 94], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [56, 41, 2]
Generated Node #0,0: 30:[56, 41, 2] Operation: 94-92=2
Exploring Operation: 94-56=38, Resulting Numbers: [92, 41, 38]
Generated Node #0,1: 30:[92, 41, 38] Operation: 94-56=38
Exploring Operation: 92-56=36, Resulting Numbers: [41, 94, 36]
Generated Node #0,2: 30:[41, 94, 36] Operation: 92-56=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[56, 41, 2], Operations: ['94-92=2']
Exploring Operation: 56/2=28, Resulting Numbers: [41, 28]
Generated Node #0,0,0: 30:[41, 28] Operation: 56/2=28
Exploring Operation: 56-41=15, Resulting Numbers: [2, 15]
Generated Node #0,0,1: 30:[2, 15] Operation: 56-41=15
Exploring Operation: 56-2=54, Resulting Numbers: [41, 54]
Generated Node #0,0,2: 30:[41, 54] Operation: 56-2=54
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 30:[2, 15], Operations: ['94-92=2', '56-41=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[92, 56, 41, 94], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [56, 41, 2]
Generated Node #0,0: 30:[56, 41, 2] Operation: 94-92=2
Moving to Node #0,0
Current State: 30:[56, 41, 2], Operations: ['94-92=2']
Exploring Operation: 56-41=15, Resulting Numbers: [2, 15]
Generated Node #0,0,1: 30:[2, 15] Operation: 56-41=15
Moving to Node #0,0,1
Current State: 30:[2, 15], Operations: ['94-92=2', '56-41=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
66,
57,
61,
45
] | 47 | [
"61*45=2745",
"2745-66=2679",
"2679/57=47"
] | Current State: 47:[66, 57, 61, 45], Operations: []
Exploring Operation: 61*45=2745, Resulting Numbers: [66, 57, 2745]
Generated Node #2: [66, 57, 2745] from Operation: 61*45=2745
Current State: 47:[66, 57, 2745], Operations: ['61*45=2745']
Exploring Operation: 2745-66=2679, Resulting Numbers: [57, 2679]
Generated Node #3: [57, 2679] from Operation: 2745-66=2679
Current State: 47:[57, 2679], Operations: ['61*45=2745', '2745-66=2679']
Exploring Operation: 2679/57=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[66, 57, 61, 45], Operations: []
Exploring Operation: 66-61=5, Resulting Numbers: [57, 45, 5]
Generated Node #0,0: 47:[57, 45, 5] Operation: 66-61=5
Exploring Operation: 66-57=9, Resulting Numbers: [61, 45, 9]
Generated Node #0,1: 47:[61, 45, 9] Operation: 66-57=9
Exploring Operation: 66-45=21, Resulting Numbers: [57, 61, 21]
Generated Node #0,2: 47:[57, 61, 21] Operation: 66-45=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[57, 61, 21], Operations: ['66-45=21']
Exploring Operation: 61-21=40, Resulting Numbers: [57, 40]
Generated Node #0,2,0: 47:[57, 40] Operation: 61-21=40
Exploring Operation: 57-21=36, Resulting Numbers: [61, 36]
Generated Node #0,2,1: 47:[61, 36] Operation: 57-21=36
Exploring Operation: 57+21=78, Resulting Numbers: [61, 78]
Generated Node #0,2,2: 47:[61, 78] Operation: 57+21=78
Moving to Node #0,2,0
Current State: 47:[57, 40], Operations: ['66-45=21', '61-21=40']
Exploring Operation: 57+40=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 57*40=2280, Resulting Numbers: [2280]
2280,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[61, 36], Operations: ['66-45=21', '57-21=36']
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,47 unequal: No Solution
Exploring Operation: 61+36=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 61*36=2196, Resulting Numbers: [2196]
2196,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[61, 78], Operations: ['66-45=21', '57+21=78']
Exploring Operation: 78-61=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 61*78=4758, Resulting Numbers: [4758]
4758,47 unequal: No Solution
Exploring Operation: 61+78=139, Resulting Numbers: [139]
139,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[57, 45, 5], Operations: ['66-61=5']
Exploring Operation: 57-5=52, Resulting Numbers: [45, 52]
Generated Node #0,0,0: 47:[45, 52] Operation: 57-5=52
Exploring Operation: 45+5=50, Resulting Numbers: [57, 50]
Generated Node #0,0,1: 47:[57, 50] Operation: 45+5=50
Exploring Operation: 57+5=62, Resulting Numbers: [45, 62]
Generated Node #0,0,2: 47:[45, 62] Operation: 57+5=62
Moving to Node #0,0,0
Current State: 47:[45, 52], Operations: ['66-61=5', '57-5=52']
Exploring Operation: 45*52=2340, Resulting Numbers: [2340]
2340,47 unequal: No Solution
Exploring Operation: 45+52=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[57, 50], Operations: ['66-61=5', '45+5=50']
Exploring Operation: 57+50=107, Resulting Numbers: [107]
107,47 unequal: No Solution
Exploring Operation: 57*50=2850, Resulting Numbers: [2850]
2850,47 unequal: No Solution
Exploring Operation: 57-50=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[45, 62], Operations: ['66-61=5', '57+5=62']
Exploring Operation: 45+62=107, Resulting Numbers: [107]
107,47 unequal: No Solution
Exploring Operation: 45*62=2790, Resulting Numbers: [2790]
2790,47 unequal: No Solution
Exploring Operation: 62-45=17, Resulting Numbers: [17]
17,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[61, 45, 9], Operations: ['66-57=9']
Exploring Operation: 61-9=52, Resulting Numbers: [45, 52]
Generated Node #0,1,0: 47:[45, 52] Operation: 61-9=52
Exploring Operation: 61+9=70, Resulting Numbers: [45, 70]
Generated Node #0,1,1: 47:[45, 70] Operation: 61+9=70
Exploring Operation: 45+9=54, Resulting Numbers: [61, 54]
Generated Node #0,1,2: 47:[61, 54] Operation: 45+9=54
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[45, 52], Operations: ['66-57=9', '61-9=52']
Exploring Operation: 45+52=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 45*52=2340, Resulting Numbers: [2340]
2340,47 unequal: No Solution
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[61, 54], Operations: ['66-57=9', '45+9=54']
Exploring Operation: 61*54=3294, Resulting Numbers: [3294]
3294,47 unequal: No Solution
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 61+54=115, Resulting Numbers: [115]
115,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[45, 70], Operations: ['66-57=9', '61+9=70']
Exploring Operation: 45*70=3150, Resulting Numbers: [3150]
3150,47 unequal: No Solution
Exploring Operation: 70-45=25, Resulting Numbers: [25]
25,47 unequal: No Solution
Exploring Operation: 45+70=115, Resulting Numbers: [115]
115,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
29,
40,
24,
73
] | 86 | [
"40-29=11",
"24+73=97",
"97-11=86"
] | Current State: 86:[29, 40, 24, 73], Operations: []
Exploring Operation: 40-29=11, Resulting Numbers: [24, 73, 11]
Generated Node #2: [24, 73, 11] from Operation: 40-29=11
Current State: 86:[24, 73, 11], Operations: ['40-29=11']
Exploring Operation: 24+73=97, Resulting Numbers: [11, 97]
Generated Node #3: [11, 97] from Operation: 24+73=97
Current State: 86:[11, 97], Operations: ['40-29=11', '24+73=97']
Exploring Operation: 97-11=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[29, 40, 24, 73], Operations: []
Exploring Operation: 29-24=5, Resulting Numbers: [40, 73, 5]
Generated Node #0,0: 86:[40, 73, 5] Operation: 29-24=5
Exploring Operation: 73-29=44, Resulting Numbers: [40, 24, 44]
Generated Node #0,1: 86:[40, 24, 44] Operation: 73-29=44
Exploring Operation: 73-24=49, Resulting Numbers: [29, 40, 49]
Generated Node #0,2: 86:[29, 40, 49] Operation: 73-24=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[40, 73, 5], Operations: ['29-24=5']
Exploring Operation: 73-40=33, Resulting Numbers: [5, 33]
Generated Node #0,0,0: 86:[5, 33] Operation: 73-40=33
Exploring Operation: 73+5=78, Resulting Numbers: [40, 78]
Generated Node #0,0,1: 86:[40, 78] Operation: 73+5=78
Exploring Operation: 40+5=45, Resulting Numbers: [73, 45]
Generated Node #0,0,2: 86:[73, 45] Operation: 40+5=45
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[40, 78], Operations: ['29-24=5', '73+5=78']
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Exploring Operation: 40+78=118, Resulting Numbers: [118]
118,86 unequal: No Solution
Exploring Operation: 40*78=3120, Resulting Numbers: [3120]
3120,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:[5, 33], Operations: ['29-24=5', '73-40=33']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,86 unequal: No Solution
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,86 unequal: No Solution
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,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:[73, 45], Operations: ['29-24=5', '40+5=45']
Exploring Operation: 73*45=3285, Resulting Numbers: [3285]
3285,86 unequal: No Solution
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,86 unequal: No Solution
Exploring Operation: 73+45=118, Resulting Numbers: [118]
118,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:[40, 24, 44], Operations: ['73-29=44']
Exploring Operation: 40-24=16, Resulting Numbers: [44, 16]
Generated Node #0,1,0: 86:[44, 16] Operation: 40-24=16
Exploring Operation: 44-40=4, Resulting Numbers: [24, 4]
Generated Node #0,1,1: 86:[24, 4] Operation: 44-40=4
Exploring Operation: 40+44=84, Resulting Numbers: [24, 84]
Generated Node #0,1,2: 86:[24, 84] Operation: 40+44=84
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 86:[44, 16], Operations: ['73-29=44', '40-24=16']
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,86 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,86 unequal: No Solution
Exploring Operation: 44*16=704, Resulting Numbers: [704]
704,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,1,1
Current State: 86:[24, 4], Operations: ['73-29=44', '44-40=4']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,86 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,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,1,2
Current State: 86:[24, 84], Operations: ['73-29=44', '40+44=84']
Exploring Operation: 84-24=60, Resulting Numbers: [60]
60,86 unequal: No Solution
Exploring Operation: 24+84=108, Resulting Numbers: [108]
108,86 unequal: No Solution
Exploring Operation: 24*84=2016, Resulting Numbers: [2016]
2016,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:[29, 40, 49], Operations: ['73-24=49']
Exploring Operation: 40-29=11, Resulting Numbers: [49, 11]
Generated Node #0,2,0: 86:[49, 11] Operation: 40-29=11
Exploring Operation: 29+49=78, Resulting Numbers: [40, 78]
Generated Node #0,2,1: 86:[40, 78] Operation: 29+49=78
Exploring Operation: 40+49=89, Resulting Numbers: [29, 89]
Generated Node #0,2,2: 86:[29, 89] Operation: 40+49=89
Moving to Node #0,2,1
Current State: 86:[40, 78], Operations: ['73-24=49', '29+49=78']
Exploring Operation: 40*78=3120, Resulting Numbers: [3120]
3120,86 unequal: No Solution
Exploring Operation: 40+78=118, Resulting Numbers: [118]
118,86 unequal: No Solution
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[49, 11], Operations: ['73-24=49', '40-29=11']
Exploring Operation: 49+11=60, Resulting Numbers: [60]
60,86 unequal: No Solution
Exploring Operation: 49*11=539, Resulting Numbers: [539]
539,86 unequal: No Solution
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[29, 89], Operations: ['73-24=49', '40+49=89']
Exploring Operation: 29*89=2581, Resulting Numbers: [2581]
2581,86 unequal: No Solution
Exploring Operation: 29+89=118, Resulting Numbers: [118]
118,86 unequal: No Solution
Exploring Operation: 89-29=60, Resulting Numbers: [60]
60,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
38,
57,
52,
19
] | 87 | [
"38+52=90",
"57/19=3",
"90-3=87"
] | Current State: 87:[38, 57, 52, 19], Operations: []
Exploring Operation: 38+52=90, Resulting Numbers: [57, 19, 90]
Generated Node #2: [57, 19, 90] from Operation: 38+52=90
Current State: 87:[57, 19, 90], Operations: ['38+52=90']
Exploring Operation: 57/19=3, Resulting Numbers: [90, 3]
Generated Node #3: [90, 3] from Operation: 57/19=3
Current State: 87:[90, 3], Operations: ['38+52=90', '57/19=3']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[38, 57, 52, 19], Operations: []
Exploring Operation: 38+52=90, Resulting Numbers: [57, 19, 90]
Generated Node #0,0: 87:[57, 19, 90] Operation: 38+52=90
Exploring Operation: 38+57=95, Resulting Numbers: [52, 19, 95]
Generated Node #0,1: 87:[52, 19, 95] Operation: 38+57=95
Exploring Operation: 57/19=3, Resulting Numbers: [38, 52, 3]
Generated Node #0,2: 87:[38, 52, 3] Operation: 57/19=3
Exploring Operation: 57-52=5, Resulting Numbers: [38, 19, 5]
Generated Node #0,3: 87:[38, 19, 5] Operation: 57-52=5
Moving to Node #0,3
Current State: 87:[38, 19, 5], Operations: ['57-52=5']
Exploring Operation: 38-19=19, Resulting Numbers: [5, 19]
Generated Node #0,3,0: 87:[5, 19] Operation: 38-19=19
Exploring Operation: 38-5=33, Resulting Numbers: [19, 33]
Generated Node #0,3,1: 87:[19, 33] Operation: 38-5=33
Exploring Operation: 38/19=2, Resulting Numbers: [5, 2]
Generated Node #0,3,2: 87:[5, 2] Operation: 38/19=2
Exploring Operation: 19+5=24, Resulting Numbers: [38, 24]
Generated Node #0,3,3: 87:[38, 24] Operation: 19+5=24
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 87:[5, 2], Operations: ['57-52=5', '38/19=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,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,3,0
Current State: 87:[5, 19], Operations: ['57-52=5', '38-19=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,87 unequal: No Solution
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,87 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,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,3,1
Current State: 87:[19, 33], Operations: ['57-52=5', '38-5=33']
Exploring Operation: 19*33=627, Resulting Numbers: [627]
627,87 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,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,3,3
Current State: 87:[38, 24], Operations: ['57-52=5', '19+5=24']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,87 unequal: No Solution
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,87 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: 87:[38, 52, 3], Operations: ['57/19=3']
Exploring Operation: 38-3=35, Resulting Numbers: [52, 35]
Generated Node #0,2,0: 87:[52, 35] Operation: 38-3=35
Exploring Operation: 52-38=14, Resulting Numbers: [3, 14]
Generated Node #0,2,1: 87:[3, 14] Operation: 52-38=14
Exploring Operation: 38+52=90, Resulting Numbers: [3, 90]
Generated Node #0,2,2: 87:[3, 90] Operation: 38+52=90
Exploring Operation: 52-3=49, Resulting Numbers: [38, 49]
Generated Node #0,2,3: 87:[38, 49] Operation: 52-3=49
Moving to Node #0,1
Current State: 87:[52, 19, 95], Operations: ['38+57=95']
Exploring Operation: 95/19=5, Resulting Numbers: [52, 5]
Generated Node #0,1,0: 87:[52, 5] Operation: 95/19=5
Exploring Operation: 52-19=33, Resulting Numbers: [95, 33]
Generated Node #0,1,1: 87:[95, 33] Operation: 52-19=33
Exploring Operation: 95-52=43, Resulting Numbers: [19, 43]
Generated Node #0,1,2: 87:[19, 43] Operation: 95-52=43
Exploring Operation: 52+19=71, Resulting Numbers: [95, 71]
Generated Node #0,1,3: 87:[95, 71] Operation: 52+19=71
Moving to Node #0,0
Current State: 87:[57, 19, 90], Operations: ['38+52=90']
Exploring Operation: 57+19=76, Resulting Numbers: [90, 76]
Generated Node #0,0,0: 87:[90, 76] Operation: 57+19=76
Exploring Operation: 57/19=3, Resulting Numbers: [90, 3]
Generated Node #0,0,1: 87:[90, 3] Operation: 57/19=3
Exploring Operation: 90-57=33, Resulting Numbers: [19, 33]
Generated Node #0,0,2: 87:[19, 33] Operation: 90-57=33
Exploring Operation: 57-19=38, Resulting Numbers: [90, 38]
Generated Node #0,0,3: 87:[90, 38] Operation: 57-19=38
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[90, 3], Operations: ['38+52=90', '57/19=3']
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,87 unequal: No Solution
Exploring Operation: 90+3=93, Resulting Numbers: [93]
93,87 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[38, 57, 52, 19], Operations: []
Exploring Operation: 38+52=90, Resulting Numbers: [57, 19, 90]
Generated Node #0,0: 87:[57, 19, 90] Operation: 38+52=90
Moving to Node #0,0
Current State: 87:[57, 19, 90], Operations: ['38+52=90']
Exploring Operation: 57/19=3, Resulting Numbers: [90, 3]
Generated Node #0,0,1: 87:[90, 3] Operation: 57/19=3
Moving to Node #0,0,1
Current State: 87:[90, 3], Operations: ['38+52=90', '57/19=3']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_4 | mult_heuristic |
[
8,
64,
15,
16
] | 81 | [
"16/8=2",
"64+15=79",
"2+79=81"
] | Current State: 81:[8, 64, 15, 16], Operations: []
Exploring Operation: 16/8=2, Resulting Numbers: [64, 15, 2]
Generated Node #2: [64, 15, 2] from Operation: 16/8=2
Current State: 81:[64, 15, 2], Operations: ['16/8=2']
Exploring Operation: 64+15=79, Resulting Numbers: [2, 79]
Generated Node #3: [2, 79] from Operation: 64+15=79
Current State: 81:[2, 79], Operations: ['16/8=2', '64+15=79']
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[8, 64, 15, 16], Operations: []
Exploring Operation: 64+16=80, Resulting Numbers: [8, 15, 80]
Generated Node #0,0: 81:[8, 15, 80] Operation: 64+16=80
Moving to Node #0,0
Current State: 81:[8, 15, 80], Operations: ['64+16=80']
Exploring Operation: 15-8=7, Resulting Numbers: [80, 7]
Generated Node #0,0,0: 81:[80, 7] Operation: 15-8=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[80, 7], Operations: ['64+16=80', '15-8=7']
Exploring Operation: 80+7=87, Resulting Numbers: [87]
87,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
11,
99,
84,
3
] | 57 | [
"99/11=9",
"3*9=27",
"84-27=57"
] | Current State: 57:[11, 99, 84, 3], Operations: []
Exploring Operation: 99/11=9, Resulting Numbers: [84, 3, 9]
Generated Node #2: [84, 3, 9] from Operation: 99/11=9
Current State: 57:[84, 3, 9], Operations: ['99/11=9']
Exploring Operation: 3*9=27, Resulting Numbers: [84, 27]
Generated Node #3: [84, 27] from Operation: 3*9=27
Current State: 57:[84, 27], Operations: ['99/11=9', '3*9=27']
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[11, 99, 84, 3], Operations: []
Exploring Operation: 99-84=15, Resulting Numbers: [11, 3, 15]
Generated Node #0,0: 57:[11, 3, 15] Operation: 99-84=15
Exploring Operation: 84-11=73, Resulting Numbers: [99, 3, 73]
Generated Node #0,1: 57:[99, 3, 73] Operation: 84-11=73
Exploring Operation: 99-11=88, Resulting Numbers: [84, 3, 88]
Generated Node #0,2: 57:[84, 3, 88] Operation: 99-11=88
Exploring Operation: 99/3=33, Resulting Numbers: [11, 84, 33]
Generated Node #0,3: 57:[11, 84, 33] Operation: 99/3=33
Exploring Operation: 99/11=9, Resulting Numbers: [84, 3, 9]
Generated Node #0,4: 57:[84, 3, 9] Operation: 99/11=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[11, 3, 15], Operations: ['99-84=15']
Exploring Operation: 15-11=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 57:[3, 4] Operation: 15-11=4
Exploring Operation: 11+15=26, Resulting Numbers: [3, 26]
Generated Node #0,0,1: 57:[3, 26] Operation: 11+15=26
Exploring Operation: 11+3=14, Resulting Numbers: [15, 14]
Generated Node #0,0,2: 57:[15, 14] Operation: 11+3=14
Exploring Operation: 3+15=18, Resulting Numbers: [11, 18]
Generated Node #0,0,3: 57:[11, 18] Operation: 3+15=18
Exploring Operation: 11-3=8, Resulting Numbers: [15, 8]
Generated Node #0,0,4: 57:[15, 8] Operation: 11-3=8
Moving to Node #0,0,0
Current State: 57:[3, 4], Operations: ['99-84=15', '15-11=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[3, 26], Operations: ['99-84=15', '11+15=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[15, 14], Operations: ['99-84=15', '11+3=14']
Exploring Operation: 15*14=210, Resulting Numbers: [210]
210,57 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 15+14=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[11, 18], Operations: ['99-84=15', '3+15=18']
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,57 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Moving to Node #0,0,4
Current State: 57:[15, 8], Operations: ['99-84=15', '11-3=8']
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,57 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 57:[84, 3, 9], Operations: ['99/11=9']
Exploring Operation: 84-3=81, Resulting Numbers: [9, 81]
Generated Node #0,4,0: 57:[9, 81] Operation: 84-3=81
Exploring Operation: 84-9=75, Resulting Numbers: [3, 75]
Generated Node #0,4,1: 57:[3, 75] Operation: 84-9=75
Exploring Operation: 84/3=28, Resulting Numbers: [9, 28]
Generated Node #0,4,2: 57:[9, 28] Operation: 84/3=28
Exploring Operation: 9/3=3, Resulting Numbers: [84, 3]
Generated Node #0,4,3: 57:[84, 3] Operation: 9/3=3
Exploring Operation: 9-3=6, Resulting Numbers: [84, 6]
Generated Node #0,4,4: 57:[84, 6] Operation: 9-3=6
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 57:[9, 28], Operations: ['99/11=9', '84/3=28']
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,57 unequal: No Solution
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 57:[3, 75], Operations: ['99/11=9', '84-9=75']
Exploring Operation: 3+75=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 3*75=225, Resulting Numbers: [225]
225,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 57:[84, 3], Operations: ['99/11=9', '9/3=3']
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,57 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 84*3=252, Resulting Numbers: [252]
252,57 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 57:[9, 81], Operations: ['99/11=9', '84-3=81']
Exploring Operation: 9*81=729, Resulting Numbers: [729]
729,57 unequal: No Solution
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 9+81=90, Resulting Numbers: [90]
90,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 57:[84, 6], Operations: ['99/11=9', '9-3=6']
Exploring Operation: 84*6=504, Resulting Numbers: [504]
504,57 unequal: No Solution
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[11, 84, 33], Operations: ['99/3=33']
Exploring Operation: 33-11=22, Resulting Numbers: [84, 22]
Generated Node #0,3,0: 57:[84, 22] Operation: 33-11=22
Exploring Operation: 84-33=51, Resulting Numbers: [11, 51]
Generated Node #0,3,1: 57:[11, 51] Operation: 84-33=51
Exploring Operation: 33/11=3, Resulting Numbers: [84, 3]
Generated Node #0,3,2: 57:[84, 3] Operation: 33/11=3
Exploring Operation: 84-11=73, Resulting Numbers: [33, 73]
Generated Node #0,3,3: 57:[33, 73] Operation: 84-11=73
Exploring Operation: 11+33=44, Resulting Numbers: [84, 44]
Generated Node #0,3,4: 57:[84, 44] Operation: 11+33=44
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 57:[11, 51], Operations: ['99/3=33', '84-33=51']
Exploring Operation: 11+51=62, Resulting Numbers: [62]
62,57 unequal: No Solution
Exploring Operation: 11*51=561, Resulting Numbers: [561]
561,57 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 57:[84, 3], Operations: ['99/3=33', '33/11=3']
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 84*3=252, Resulting Numbers: [252]
252,57 unequal: No Solution
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,57 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 57:[84, 22], Operations: ['99/3=33', '33-11=22']
Exploring Operation: 84+22=106, Resulting Numbers: [106]
106,57 unequal: No Solution
Exploring Operation: 84*22=1848, Resulting Numbers: [1848]
1848,57 unequal: No Solution
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 57:[33, 73], Operations: ['99/3=33', '84-11=73']
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,57 unequal: No Solution
Exploring Operation: 33+73=106, Resulting Numbers: [106]
106,57 unequal: No Solution
Exploring Operation: 33*73=2409, Resulting Numbers: [2409]
2409,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 57:[84, 44], Operations: ['99/3=33', '11+33=44']
Exploring Operation: 84*44=3696, Resulting Numbers: [3696]
3696,57 unequal: No Solution
Exploring Operation: 84+44=128, Resulting Numbers: [128]
128,57 unequal: No Solution
Exploring Operation: 84-44=40, Resulting Numbers: [40]
40,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[99, 3, 73], Operations: ['84-11=73']
Exploring Operation: 99-3=96, Resulting Numbers: [73, 96]
Generated Node #0,1,0: 57:[73, 96] Operation: 99-3=96
Exploring Operation: 73-3=70, Resulting Numbers: [99, 70]
Generated Node #0,1,1: 57:[99, 70] Operation: 73-3=70
Exploring Operation: 99-73=26, Resulting Numbers: [3, 26]
Generated Node #0,1,2: 57:[3, 26] Operation: 99-73=26
Exploring Operation: 99+3=102, Resulting Numbers: [73, 102]
Generated Node #0,1,3: 57:[73, 102] Operation: 99+3=102
Exploring Operation: 99/3=33, Resulting Numbers: [73, 33]
Generated Node #0,1,4: 57:[73, 33] Operation: 99/3=33
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[3, 26], Operations: ['84-11=73', '99-73=26']
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,57 unequal: No Solution
No 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: 57:[73, 33], Operations: ['84-11=73', '99/3=33']
Exploring Operation: 73+33=106, Resulting Numbers: [106]
106,57 unequal: No Solution
Exploring Operation: 73*33=2409, Resulting Numbers: [2409]
2409,57 unequal: No Solution
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[73, 96], Operations: ['84-11=73', '99-3=96']
Exploring Operation: 73*96=7008, Resulting Numbers: [7008]
7008,57 unequal: No Solution
Exploring Operation: 73+96=169, Resulting Numbers: [169]
169,57 unequal: No Solution
Exploring Operation: 96-73=23, Resulting Numbers: [23]
23,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[99, 70], Operations: ['84-11=73', '73-3=70']
Exploring Operation: 99*70=6930, Resulting Numbers: [6930]
6930,57 unequal: No Solution
Exploring Operation: 99-70=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 99+70=169, Resulting Numbers: [169]
169,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 57:[73, 102], Operations: ['84-11=73', '99+3=102']
Exploring Operation: 73+102=175, Resulting Numbers: [175]
175,57 unequal: No Solution
Exploring Operation: 102-73=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 73*102=7446, Resulting Numbers: [7446]
7446,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[84, 3, 88], Operations: ['99-11=88']
Exploring Operation: 84-3=81, Resulting Numbers: [88, 81]
Generated Node #0,2,0: 57:[88, 81] Operation: 84-3=81
Exploring Operation: 88-3=85, Resulting Numbers: [84, 85]
Generated Node #0,2,1: 57:[84, 85] Operation: 88-3=85
Exploring Operation: 84+3=87, Resulting Numbers: [88, 87]
Generated Node #0,2,2: 57:[88, 87] Operation: 84+3=87
Exploring Operation: 84/3=28, Resulting Numbers: [88, 28]
Generated Node #0,2,3: 57:[88, 28] Operation: 84/3=28
Exploring Operation: 88-84=4, Resulting Numbers: [3, 4]
Generated Node #0,2,4: 57:[3, 4] Operation: 88-84=4
Moving to Node #0,2,4
Current State: 57:[3, 4], Operations: ['99-11=88', '88-84=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[88, 28], Operations: ['99-11=88', '84/3=28']
Exploring Operation: 88+28=116, Resulting Numbers: [116]
116,57 unequal: No Solution
Exploring Operation: 88-28=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 88*28=2464, Resulting Numbers: [2464]
2464,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[88, 81], Operations: ['99-11=88', '84-3=81']
Exploring Operation: 88-81=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 88*81=7128, Resulting Numbers: [7128]
7128,57 unequal: No Solution
Exploring Operation: 88+81=169, Resulting Numbers: [169]
169,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[84, 85], Operations: ['99-11=88', '88-3=85']
Exploring Operation: 84*85=7140, Resulting Numbers: [7140]
7140,57 unequal: No Solution
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 84+85=169, Resulting Numbers: [169]
169,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[88, 87], Operations: ['99-11=88', '84+3=87']
Exploring Operation: 88*87=7656, Resulting Numbers: [7656]
7656,57 unequal: No Solution
Exploring Operation: 88-87=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 88+87=175, Resulting Numbers: [175]
175,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
83,
54,
71,
31
] | 97 | [
"83+54=137",
"71-31=40",
"137-40=97"
] | Current State: 97:[83, 54, 71, 31], Operations: []
Exploring Operation: 83+54=137, Resulting Numbers: [71, 31, 137]
Generated Node #2: [71, 31, 137] from Operation: 83+54=137
Current State: 97:[71, 31, 137], Operations: ['83+54=137']
Exploring Operation: 71-31=40, Resulting Numbers: [137, 40]
Generated Node #3: [137, 40] from Operation: 71-31=40
Current State: 97:[137, 40], Operations: ['83+54=137', '71-31=40']
Exploring Operation: 137-40=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[83, 54, 71, 31], Operations: []
Exploring Operation: 71+31=102, Resulting Numbers: [83, 54, 102]
Generated Node #0,0: 97:[83, 54, 102] Operation: 71+31=102
Exploring Operation: 54+31=85, Resulting Numbers: [83, 71, 85]
Generated Node #0,1: 97:[83, 71, 85] Operation: 54+31=85
Exploring Operation: 83+31=114, Resulting Numbers: [54, 71, 114]
Generated Node #0,2: 97:[54, 71, 114] Operation: 83+31=114
Moving to Node #0,1
Current State: 97:[83, 71, 85], Operations: ['54+31=85']
Exploring Operation: 83+71=154, Resulting Numbers: [85, 154]
Generated Node #0,1,0: 97:[85, 154] Operation: 83+71=154
Exploring Operation: 71+85=156, Resulting Numbers: [83, 156]
Generated Node #0,1,1: 97:[83, 156] Operation: 71+85=156
Exploring Operation: 83-71=12, Resulting Numbers: [85, 12]
Generated Node #0,1,2: 97:[85, 12] Operation: 83-71=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[85, 154], Operations: ['54+31=85', '83+71=154']
Exploring Operation: 85+154=239, Resulting Numbers: [239]
239,97 unequal: No Solution
Exploring Operation: 85*154=13090, Resulting Numbers: [13090]
13090,97 unequal: No Solution
Exploring Operation: 154-85=69, Resulting Numbers: [69]
69,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:[83, 156], Operations: ['54+31=85', '71+85=156']
Exploring Operation: 156-83=73, Resulting Numbers: [73]
73,97 unequal: No Solution
Exploring Operation: 83+156=239, Resulting Numbers: [239]
239,97 unequal: No Solution
Exploring Operation: 83*156=12948, Resulting Numbers: [12948]
12948,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:[85, 12], Operations: ['54+31=85', '83-71=12']
Exploring Operation: 85*12=1020, Resulting Numbers: [1020]
1020,97 unequal: No Solution
Exploring Operation: 85+12=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[83, 54, 71, 31], Operations: []
Exploring Operation: 54+31=85, Resulting Numbers: [83, 71, 85]
Generated Node #0,1: 97:[83, 71, 85] Operation: 54+31=85
Moving to Node #0,1
Current State: 97:[83, 71, 85], Operations: ['54+31=85']
Exploring Operation: 83-71=12, Resulting Numbers: [85, 12]
Generated Node #0,1,2: 97:[85, 12] Operation: 83-71=12
Moving to Node #0,1,2
Current State: 97:[85, 12], Operations: ['54+31=85', '83-71=12']
Exploring Operation: 85+12=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
3,
2,
92,
68
] | 23 | [
"3-2=1",
"92-68=24",
"24-1=23"
] | Current State: 23:[3, 2, 92, 68], Operations: []
Exploring Operation: 3-2=1, Resulting Numbers: [92, 68, 1]
Generated Node #2: [92, 68, 1] from Operation: 3-2=1
Current State: 23:[92, 68, 1], Operations: ['3-2=1']
Exploring Operation: 92-68=24, Resulting Numbers: [1, 24]
Generated Node #3: [1, 24] from Operation: 92-68=24
Current State: 23:[1, 24], Operations: ['3-2=1', '92-68=24']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[3, 2, 92, 68], Operations: []
Exploring Operation: 68/2=34, Resulting Numbers: [3, 92, 34]
Generated Node #0,0: 23:[3, 92, 34] Operation: 68/2=34
Exploring Operation: 92/2=46, Resulting Numbers: [3, 68, 46]
Generated Node #0,1: 23:[3, 68, 46] Operation: 92/2=46
Exploring Operation: 3*2=6, Resulting Numbers: [92, 68, 6]
Generated Node #0,2: 23:[92, 68, 6] Operation: 3*2=6
Exploring Operation: 92-68=24, Resulting Numbers: [3, 2, 24]
Generated Node #0,3: 23:[3, 2, 24] Operation: 92-68=24
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[3, 2, 24], Operations: ['92-68=24']
Exploring Operation: 24-2=22, Resulting Numbers: [3, 22]
Generated Node #0,3,0: 23:[3, 22] Operation: 24-2=22
Exploring Operation: 3*2=6, Resulting Numbers: [24, 6]
Generated Node #0,3,1: 23:[24, 6] Operation: 3*2=6
Exploring Operation: 3-2=1, Resulting Numbers: [24, 1]
Generated Node #0,3,2: 23:[24, 1] Operation: 3-2=1
Exploring Operation: 3+2=5, Resulting Numbers: [24, 5]
Generated Node #0,3,3: 23:[24, 5] Operation: 3+2=5
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 23:[24, 6], Operations: ['92-68=24', '3*2=6']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,23 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,23 unequal: No Solution
No 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: 23:[24, 5], Operations: ['92-68=24', '3+2=5']
Exploring Operation: 24*5=120, Resulting Numbers: [120]
120,23 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,23 unequal: No Solution
No 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: 23:[3, 22], Operations: ['92-68=24', '24-2=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,23 unequal: No Solution
No 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: 23:[24, 1], Operations: ['92-68=24', '3-2=1']
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[3, 2, 92, 68], Operations: []
Exploring Operation: 92-68=24, Resulting Numbers: [3, 2, 24]
Generated Node #0,3: 23:[3, 2, 24] Operation: 92-68=24
Moving to Node #0,3
Current State: 23:[3, 2, 24], Operations: ['92-68=24']
Exploring Operation: 3-2=1, Resulting Numbers: [24, 1]
Generated Node #0,3,2: 23:[24, 1] Operation: 3-2=1
Moving to Node #0,3,2
Current State: 23:[24, 1], Operations: ['92-68=24', '3-2=1']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_4 | mult_heuristic |
[
19,
62,
22,
19
] | 39 | [
"19/19=1",
"62-22=40",
"40-1=39"
] | Current State: 39:[19, 62, 22, 19], Operations: []
Exploring Operation: 19/19=1, Resulting Numbers: [62, 22, 1]
Generated Node #2: [62, 22, 1] from Operation: 19/19=1
Current State: 39:[62, 22, 1], Operations: ['19/19=1']
Exploring Operation: 62-22=40, Resulting Numbers: [1, 40]
Generated Node #3: [1, 40] from Operation: 62-22=40
Current State: 39:[1, 40], Operations: ['19/19=1', '62-22=40']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[19, 62, 22, 19], Operations: []
Exploring Operation: 62-19=43, Resulting Numbers: [19, 22, 43]
Generated Node #0,0: 39:[19, 22, 43] Operation: 62-19=43
Exploring Operation: 62-22=40, Resulting Numbers: [19, 19, 40]
Generated Node #0,1: 39:[19, 19, 40] Operation: 62-22=40
Exploring Operation: 22-19=3, Resulting Numbers: [62, 19, 3]
Generated Node #0,2: 39:[62, 19, 3] Operation: 22-19=3
Exploring Operation: 22-19=3, Resulting Numbers: [19, 62, 3]
Generated Node #0,3: 39:[19, 62, 3] Operation: 22-19=3
Exploring Operation: 62-19=43, Resulting Numbers: [22, 19, 43]
Generated Node #0,4: 39:[22, 19, 43] Operation: 62-19=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[19, 19, 40], Operations: ['62-22=40']
Exploring Operation: 19+19=38, Resulting Numbers: [40, 38]
Generated Node #0,1,0: 39:[40, 38] Operation: 19+19=38
Exploring Operation: 19-19=0, Resulting Numbers: [40, 0]
Generated Node #0,1,1: 39:[40, 0] Operation: 19-19=0
Exploring Operation: 40-19=21, Resulting Numbers: [19, 21]
Generated Node #0,1,2: 39:[19, 21] Operation: 40-19=21
Exploring Operation: 40-19=21, Resulting Numbers: [19, 21]
Generated Node #0,1,3: 39:[19, 21] Operation: 40-19=21
Exploring Operation: 19/19=1, Resulting Numbers: [40, 1]
Generated Node #0,1,4: 39:[40, 1] Operation: 19/19=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[40, 38], Operations: ['62-22=40', '19+19=38']
Exploring Operation: 40-38=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 40*38=1520, Resulting Numbers: [1520]
1520,39 unequal: No Solution
Exploring Operation: 40+38=78, Resulting Numbers: [78]
78,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 39:[40, 1], Operations: ['62-22=40', '19/19=1']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[19, 62, 22, 19], Operations: []
Exploring Operation: 62-22=40, Resulting Numbers: [19, 19, 40]
Generated Node #0,1: 39:[19, 19, 40] Operation: 62-22=40
Moving to Node #0,1
Current State: 39:[19, 19, 40], Operations: ['62-22=40']
Exploring Operation: 19/19=1, Resulting Numbers: [40, 1]
Generated Node #0,1,4: 39:[40, 1] Operation: 19/19=1
Moving to Node #0,1,4
Current State: 39:[40, 1], Operations: ['62-22=40', '19/19=1']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
74,
3,
82,
2
] | 29 | [
"74*3=222",
"222/2=111",
"111-82=29"
] | Current State: 29:[74, 3, 82, 2], Operations: []
Exploring Operation: 74*3=222, Resulting Numbers: [82, 2, 222]
Generated Node #2: [82, 2, 222] from Operation: 74*3=222
Current State: 29:[82, 2, 222], Operations: ['74*3=222']
Exploring Operation: 222/2=111, Resulting Numbers: [82, 111]
Generated Node #3: [82, 111] from Operation: 222/2=111
Current State: 29:[82, 111], Operations: ['74*3=222', '222/2=111']
Exploring Operation: 111-82=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[74, 3, 82, 2], Operations: []
Exploring Operation: 82-74=8, Resulting Numbers: [3, 2, 8]
Generated Node #0,0: 29:[3, 2, 8] Operation: 82-74=8
Exploring Operation: 74-3=71, Resulting Numbers: [82, 2, 71]
Generated Node #0,1: 29:[82, 2, 71] Operation: 74-3=71
Exploring Operation: 82/2=41, Resulting Numbers: [74, 3, 41]
Generated Node #0,2: 29:[74, 3, 41] Operation: 82/2=41
Exploring Operation: 74/2=37, Resulting Numbers: [3, 82, 37]
Generated Node #0,3: 29:[3, 82, 37] Operation: 74/2=37
Exploring Operation: 3*2=6, Resulting Numbers: [74, 82, 6]
Generated Node #0,4: 29:[74, 82, 6] Operation: 3*2=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[3, 2, 8], Operations: ['82-74=8']
Exploring Operation: 3*8=24, Resulting Numbers: [2, 24]
Generated Node #0,0,0: 29:[2, 24] Operation: 3*8=24
Exploring Operation: 3*2=6, Resulting Numbers: [8, 6]
Generated Node #0,0,1: 29:[8, 6] Operation: 3*2=6
Exploring Operation: 2*8=16, Resulting Numbers: [3, 16]
Generated Node #0,0,2: 29:[3, 16] Operation: 2*8=16
Exploring Operation: 3+2=5, Resulting Numbers: [8, 5]
Generated Node #0,0,3: 29:[8, 5] Operation: 3+2=5
Exploring Operation: 3+8=11, Resulting Numbers: [2, 11]
Generated Node #0,0,4: 29:[2, 11] Operation: 3+8=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[2, 24], Operations: ['82-74=8', '3*8=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,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:[3, 16], Operations: ['82-74=8', '2*8=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,29 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[8, 6], Operations: ['82-74=8', '3*2=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,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:[8, 5], Operations: ['82-74=8', '3+2=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,29 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,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,4
Current State: 29:[2, 11], Operations: ['82-74=8', '3+8=11']
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[74, 3, 41], Operations: ['82/2=41']
Exploring Operation: 41-3=38, Resulting Numbers: [74, 38]
Generated Node #0,2,0: 29:[74, 38] Operation: 41-3=38
Exploring Operation: 3+41=44, Resulting Numbers: [74, 44]
Generated Node #0,2,1: 29:[74, 44] Operation: 3+41=44
Exploring Operation: 74-3=71, Resulting Numbers: [41, 71]
Generated Node #0,2,2: 29:[41, 71] Operation: 74-3=71
Exploring Operation: 74-41=33, Resulting Numbers: [3, 33]
Generated Node #0,2,3: 29:[3, 33] Operation: 74-41=33
Exploring Operation: 74+3=77, Resulting Numbers: [41, 77]
Generated Node #0,2,4: 29:[41, 77] Operation: 74+3=77
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 29:[3, 33], Operations: ['82/2=41', '74-41=33']
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,29 unequal: No Solution
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,29 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,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,2,0
Current State: 29:[74, 38], Operations: ['82/2=41', '41-3=38']
Exploring Operation: 74*38=2812, Resulting Numbers: [2812]
2812,29 unequal: No Solution
Exploring Operation: 74+38=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 74-38=36, Resulting Numbers: [36]
36,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,2,2
Current State: 29:[41, 71], Operations: ['82/2=41', '74-3=71']
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
Exploring Operation: 71-41=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,2,1
Current State: 29:[74, 44], Operations: ['82/2=41', '3+41=44']
Exploring Operation: 74*44=3256, Resulting Numbers: [3256]
3256,29 unequal: No Solution
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 74+44=118, Resulting Numbers: [118]
118,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,2,4
Current State: 29:[41, 77], Operations: ['82/2=41', '74+3=77']
Exploring Operation: 77-41=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 41+77=118, Resulting Numbers: [118]
118,29 unequal: No Solution
Exploring Operation: 41*77=3157, Resulting Numbers: [3157]
3157,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,3
Current State: 29:[3, 82, 37], Operations: ['74/2=37']
Exploring Operation: 82-3=79, Resulting Numbers: [37, 79]
Generated Node #0,3,0: 29:[37, 79] Operation: 82-3=79
Exploring Operation: 37-3=34, Resulting Numbers: [82, 34]
Generated Node #0,3,1: 29:[82, 34] Operation: 37-3=34
Exploring Operation: 3+82=85, Resulting Numbers: [37, 85]
Generated Node #0,3,2: 29:[37, 85] Operation: 3+82=85
Exploring Operation: 82-37=45, Resulting Numbers: [3, 45]
Generated Node #0,3,3: 29:[3, 45] Operation: 82-37=45
Exploring Operation: 3+37=40, Resulting Numbers: [82, 40]
Generated Node #0,3,4: 29:[82, 40] Operation: 3+37=40
Moving to Node #0,3,3
Current State: 29:[3, 45], Operations: ['74/2=37', '82-37=45']
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 3*45=135, Resulting Numbers: [135]
135,29 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[82, 34], Operations: ['74/2=37', '37-3=34']
Exploring Operation: 82+34=116, Resulting Numbers: [116]
116,29 unequal: No Solution
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 82*34=2788, Resulting Numbers: [2788]
2788,29 unequal: No Solution
Moving to Node #0,3,0
Current State: 29:[37, 79], Operations: ['74/2=37', '82-3=79']
Exploring Operation: 37*79=2923, Resulting Numbers: [2923]
2923,29 unequal: No Solution
Exploring Operation: 79-37=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 37+79=116, Resulting Numbers: [116]
116,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[37, 85], Operations: ['74/2=37', '3+82=85']
Exploring Operation: 85-37=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 37+85=122, Resulting Numbers: [122]
122,29 unequal: No Solution
Exploring Operation: 37*85=3145, Resulting Numbers: [3145]
3145,29 unequal: No Solution
Moving to Node #0,3,4
Current State: 29:[82, 40], Operations: ['74/2=37', '3+37=40']
Exploring Operation: 82+40=122, Resulting Numbers: [122]
122,29 unequal: No Solution
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 82*40=3280, Resulting Numbers: [3280]
3280,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:[74, 82, 6], Operations: ['3*2=6']
Exploring Operation: 74+6=80, Resulting Numbers: [82, 80]
Generated Node #0,4,0: 29:[82, 80] Operation: 74+6=80
Exploring Operation: 82+6=88, Resulting Numbers: [74, 88]
Generated Node #0,4,1: 29:[74, 88] Operation: 82+6=88
Exploring Operation: 82-74=8, Resulting Numbers: [6, 8]
Generated Node #0,4,2: 29:[6, 8] Operation: 82-74=8
Exploring Operation: 82-6=76, Resulting Numbers: [74, 76]
Generated Node #0,4,3: 29:[74, 76] Operation: 82-6=76
Exploring Operation: 74-6=68, Resulting Numbers: [82, 68]
Generated Node #0,4,4: 29:[82, 68] Operation: 74-6=68
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 29:[6, 8], Operations: ['3*2=6', '82-74=8']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,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,4,3
Current State: 29:[74, 76], Operations: ['3*2=6', '82-6=76']
Exploring Operation: 74*76=5624, Resulting Numbers: [5624]
5624,29 unequal: No Solution
Exploring Operation: 76-74=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 74+76=150, Resulting Numbers: [150]
150,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,4,4
Current State: 29:[82, 68], Operations: ['3*2=6', '74-6=68']
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 82*68=5576, Resulting Numbers: [5576]
5576,29 unequal: No Solution
Exploring Operation: 82+68=150, Resulting Numbers: [150]
150,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,4,0
Current State: 29:[82, 80], Operations: ['3*2=6', '74+6=80']
Exploring Operation: 82*80=6560, Resulting Numbers: [6560]
6560,29 unequal: No Solution
Exploring Operation: 82+80=162, Resulting Numbers: [162]
162,29 unequal: No Solution
Exploring Operation: 82-80=2, Resulting Numbers: [2]
2,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,4,1
Current State: 29:[74, 88], Operations: ['3*2=6', '82+6=88']
Exploring Operation: 74+88=162, Resulting Numbers: [162]
162,29 unequal: No Solution
Exploring Operation: 88-74=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 74*88=6512, Resulting Numbers: [6512]
6512,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:[82, 2, 71], Operations: ['74-3=71']
Exploring Operation: 71-2=69, Resulting Numbers: [82, 69]
Generated Node #0,1,0: 29:[82, 69] Operation: 71-2=69
Exploring Operation: 82+2=84, Resulting Numbers: [71, 84]
Generated Node #0,1,1: 29:[71, 84] Operation: 82+2=84
Exploring Operation: 82-2=80, Resulting Numbers: [71, 80]
Generated Node #0,1,2: 29:[71, 80] Operation: 82-2=80
Exploring Operation: 82/2=41, Resulting Numbers: [71, 41]
Generated Node #0,1,3: 29:[71, 41] Operation: 82/2=41
Exploring Operation: 82-71=11, Resulting Numbers: [2, 11]
Generated Node #0,1,4: 29:[2, 11] Operation: 82-71=11
Moving to Node #0,1,4
Current State: 29:[2, 11], Operations: ['74-3=71', '82-71=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,29 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[71, 41], Operations: ['74-3=71', '82/2=41']
Exploring Operation: 71-41=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 71+41=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 71*41=2911, Resulting Numbers: [2911]
2911,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[82, 69], Operations: ['74-3=71', '71-2=69']
Exploring Operation: 82*69=5658, Resulting Numbers: [5658]
5658,29 unequal: No Solution
Exploring Operation: 82+69=151, Resulting Numbers: [151]
151,29 unequal: No Solution
Exploring Operation: 82-69=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[71, 80], Operations: ['74-3=71', '82-2=80']
Exploring Operation: 71*80=5680, Resulting Numbers: [5680]
5680,29 unequal: No Solution
Exploring Operation: 71+80=151, Resulting Numbers: [151]
151,29 unequal: No Solution
Exploring Operation: 80-71=9, Resulting Numbers: [9]
9,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[71, 84], Operations: ['74-3=71', '82+2=84']
Exploring Operation: 71+84=155, Resulting Numbers: [155]
155,29 unequal: No Solution
Exploring Operation: 84-71=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 71*84=5964, Resulting Numbers: [5964]
5964,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
11,
92,
39,
37
] | 70 | [
"39-37=2",
"11*2=22",
"92-22=70"
] | Current State: 70:[11, 92, 39, 37], Operations: []
Exploring Operation: 39-37=2, Resulting Numbers: [11, 92, 2]
Generated Node #2: [11, 92, 2] from Operation: 39-37=2
Current State: 70:[11, 92, 2], Operations: ['39-37=2']
Exploring Operation: 11*2=22, Resulting Numbers: [92, 22]
Generated Node #3: [92, 22] from Operation: 11*2=22
Current State: 70:[92, 22], Operations: ['39-37=2', '11*2=22']
Exploring Operation: 92-22=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[11, 92, 39, 37], Operations: []
Exploring Operation: 92-37=55, Resulting Numbers: [11, 39, 55]
Generated Node #0,0: 70:[11, 39, 55] Operation: 92-37=55
Exploring Operation: 92-11=81, Resulting Numbers: [39, 37, 81]
Generated Node #0,1: 70:[39, 37, 81] Operation: 92-11=81
Exploring Operation: 92-39=53, Resulting Numbers: [11, 37, 53]
Generated Node #0,2: 70:[11, 37, 53] Operation: 92-39=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[39, 37, 81], Operations: ['92-11=81']
Exploring Operation: 81-39=42, Resulting Numbers: [37, 42]
Generated Node #0,1,0: 70:[37, 42] Operation: 81-39=42
Exploring Operation: 81-37=44, Resulting Numbers: [39, 44]
Generated Node #0,1,1: 70:[39, 44] Operation: 81-37=44
Exploring Operation: 39-37=2, Resulting Numbers: [81, 2]
Generated Node #0,1,2: 70:[81, 2] Operation: 39-37=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[37, 42], Operations: ['92-11=81', '81-39=42']
Exploring Operation: 37+42=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 37*42=1554, Resulting Numbers: [1554]
1554,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:[81, 2], Operations: ['92-11=81', '39-37=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 81*2=162, Resulting Numbers: [162]
162,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:[39, 44], Operations: ['92-11=81', '81-37=44']
Exploring Operation: 39+44=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 39*44=1716, Resulting Numbers: [1716]
1716,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,0
Current State: 70:[11, 39, 55], Operations: ['92-37=55']
Exploring Operation: 55-39=16, Resulting Numbers: [11, 16]
Generated Node #0,0,0: 70:[11, 16] Operation: 55-39=16
Exploring Operation: 11+55=66, Resulting Numbers: [39, 66]
Generated Node #0,0,1: 70:[39, 66] Operation: 11+55=66
Exploring Operation: 55/11=5, Resulting Numbers: [39, 5]
Generated Node #0,0,2: 70:[39, 5] Operation: 55/11=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[11, 16], Operations: ['92-37=55', '55-39=16']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,70 unequal: No Solution
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,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:[39, 5], Operations: ['92-37=55', '55/11=5']
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,70 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,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:[39, 66], Operations: ['92-37=55', '11+55=66']
Exploring Operation: 39*66=2574, Resulting Numbers: [2574]
2574,70 unequal: No Solution
Exploring Operation: 39+66=105, Resulting Numbers: [105]
105,70 unequal: No Solution
Exploring Operation: 66-39=27, Resulting Numbers: [27]
27,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[11, 37, 53], Operations: ['92-39=53']
Exploring Operation: 53-11=42, Resulting Numbers: [37, 42]
Generated Node #0,2,0: 70:[37, 42] Operation: 53-11=42
Exploring Operation: 53-37=16, Resulting Numbers: [11, 16]
Generated Node #0,2,1: 70:[11, 16] Operation: 53-37=16
Exploring Operation: 11+53=64, Resulting Numbers: [37, 64]
Generated Node #0,2,2: 70:[37, 64] Operation: 11+53=64
Moving to Node #0,2,1
Current State: 70:[11, 16], Operations: ['92-39=53', '53-37=16']
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,70 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[37, 64], Operations: ['92-39=53', '11+53=64']
Exploring Operation: 37*64=2368, Resulting Numbers: [2368]
2368,70 unequal: No Solution
Exploring Operation: 37+64=101, Resulting Numbers: [101]
101,70 unequal: No Solution
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[37, 42], Operations: ['92-39=53', '53-11=42']
Exploring Operation: 37+42=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 37*42=1554, Resulting Numbers: [1554]
1554,70 unequal: No Solution
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
38,
27,
15,
6
] | 79 | [
"38-27=11",
"15*6=90",
"90-11=79"
] | Current State: 79:[38, 27, 15, 6], Operations: []
Exploring Operation: 38-27=11, Resulting Numbers: [15, 6, 11]
Generated Node #2: [15, 6, 11] from Operation: 38-27=11
Current State: 79:[15, 6, 11], Operations: ['38-27=11']
Exploring Operation: 15*6=90, Resulting Numbers: [11, 90]
Generated Node #3: [11, 90] from Operation: 15*6=90
Current State: 79:[11, 90], Operations: ['38-27=11', '15*6=90']
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[38, 27, 15, 6], Operations: []
Exploring Operation: 38+6=44, Resulting Numbers: [27, 15, 44]
Generated Node #0,0: 79:[27, 15, 44] Operation: 38+6=44
Exploring Operation: 38+15=53, Resulting Numbers: [27, 6, 53]
Generated Node #0,1: 79:[27, 6, 53] Operation: 38+15=53
Exploring Operation: 38+27=65, Resulting Numbers: [15, 6, 65]
Generated Node #0,2: 79:[15, 6, 65] Operation: 38+27=65
Exploring Operation: 15*6=90, Resulting Numbers: [38, 27, 90]
Generated Node #0,3: 79:[38, 27, 90] Operation: 15*6=90
Moving to Node #0,3
Current State: 79:[38, 27, 90], Operations: ['15*6=90']
Exploring Operation: 90-27=63, Resulting Numbers: [38, 63]
Generated Node #0,3,0: 79:[38, 63] Operation: 90-27=63
Exploring Operation: 90-38=52, Resulting Numbers: [27, 52]
Generated Node #0,3,1: 79:[27, 52] Operation: 90-38=52
Exploring Operation: 38+27=65, Resulting Numbers: [90, 65]
Generated Node #0,3,2: 79:[90, 65] Operation: 38+27=65
Exploring Operation: 38-27=11, Resulting Numbers: [90, 11]
Generated Node #0,3,3: 79:[90, 11] Operation: 38-27=11
Moving to Node #0,1
Current State: 79:[27, 6, 53], Operations: ['38+15=53']
Exploring Operation: 27-6=21, Resulting Numbers: [53, 21]
Generated Node #0,1,0: 79:[53, 21] Operation: 27-6=21
Exploring Operation: 6+53=59, Resulting Numbers: [27, 59]
Generated Node #0,1,1: 79:[27, 59] Operation: 6+53=59
Exploring Operation: 27+53=80, Resulting Numbers: [6, 80]
Generated Node #0,1,2: 79:[6, 80] Operation: 27+53=80
Exploring Operation: 27+6=33, Resulting Numbers: [53, 33]
Generated Node #0,1,3: 79:[53, 33] Operation: 27+6=33
Moving to Node #0,0
Current State: 79:[27, 15, 44], Operations: ['38+6=44']
Exploring Operation: 27+44=71, Resulting Numbers: [15, 71]
Generated Node #0,0,0: 79:[15, 71] Operation: 27+44=71
Exploring Operation: 27-15=12, Resulting Numbers: [44, 12]
Generated Node #0,0,1: 79:[44, 12] Operation: 27-15=12
Exploring Operation: 15+44=59, Resulting Numbers: [27, 59]
Generated Node #0,0,2: 79:[27, 59] Operation: 15+44=59
Exploring Operation: 27+15=42, Resulting Numbers: [44, 42]
Generated Node #0,0,3: 79:[44, 42] Operation: 27+15=42
Moving to Node #0,2
Current State: 79:[15, 6, 65], Operations: ['38+27=65']
Exploring Operation: 15+6=21, Resulting Numbers: [65, 21]
Generated Node #0,2,0: 79:[65, 21] Operation: 15+6=21
Exploring Operation: 15*6=90, Resulting Numbers: [65, 90]
Generated Node #0,2,1: 79:[65, 90] Operation: 15*6=90
Exploring Operation: 6+65=71, Resulting Numbers: [15, 71]
Generated Node #0,2,2: 79:[15, 71] Operation: 6+65=71
Exploring Operation: 15+65=80, Resulting Numbers: [6, 80]
Generated Node #0,2,3: 79:[6, 80] Operation: 15+65=80
Moving to Node #0,3,2
Current State: 79:[90, 65], Operations: ['15*6=90', '38+27=65']
Exploring Operation: 90-65=25, Resulting Numbers: [25]
25,79 unequal: No Solution
Exploring Operation: 90+65=155, Resulting Numbers: [155]
155,79 unequal: No Solution
Exploring Operation: 90*65=5850, Resulting Numbers: [5850]
5850,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[65, 90], Operations: ['38+27=65', '15*6=90']
Exploring Operation: 65*90=5850, Resulting Numbers: [5850]
5850,79 unequal: No Solution
Exploring Operation: 90-65=25, Resulting Numbers: [25]
25,79 unequal: No Solution
Exploring Operation: 65+90=155, Resulting Numbers: [155]
155,79 unequal: No Solution
Moving to Node #0,3,0
Current State: 79:[38, 63], Operations: ['15*6=90', '90-27=63']
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,79 unequal: No Solution
Exploring Operation: 38*63=2394, Resulting Numbers: [2394]
2394,79 unequal: No Solution
Exploring Operation: 38+63=101, Resulting Numbers: [101]
101,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[65, 21], Operations: ['38+27=65', '15+6=21']
Exploring Operation: 65+21=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,79 unequal: No Solution
Exploring Operation: 65*21=1365, Resulting Numbers: [1365]
1365,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[15, 71], Operations: ['38+27=65', '6+65=71']
Exploring Operation: 15+71=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 15*71=1065, Resulting Numbers: [1065]
1065,79 unequal: No Solution
Exploring Operation: 71-15=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[53, 33], Operations: ['38+15=53', '27+6=33']
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 53*33=1749, Resulting Numbers: [1749]
1749,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[27, 59], Operations: ['38+15=53', '6+53=59']
Exploring Operation: 27*59=1593, Resulting Numbers: [1593]
1593,79 unequal: No Solution
Exploring Operation: 27+59=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[44, 42], Operations: ['38+6=44', '27+15=42']
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 44*42=1848, Resulting Numbers: [1848]
1848,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[27, 59], Operations: ['38+6=44', '15+44=59']
Exploring Operation: 27+59=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Exploring Operation: 27*59=1593, Resulting Numbers: [1593]
1593,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[15, 71], Operations: ['38+6=44', '27+44=71']
Exploring Operation: 71-15=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 15*71=1065, Resulting Numbers: [1065]
1065,79 unequal: No Solution
Exploring Operation: 15+71=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[6, 80], Operations: ['38+15=53', '27+53=80']
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 6+80=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 6*80=480, Resulting Numbers: [480]
480,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[6, 80], Operations: ['38+27=65', '15+65=80']
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 6+80=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 6*80=480, Resulting Numbers: [480]
480,79 unequal: No Solution
Moving to Node #0,3,1
Current State: 79:[27, 52], Operations: ['15*6=90', '90-38=52']
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,79 unequal: No Solution
Exploring Operation: 27*52=1404, Resulting Numbers: [1404]
1404,79 unequal: No Solution
Exploring Operation: 27+52=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[38, 27, 15, 6], Operations: []
Exploring Operation: 15*6=90, Resulting Numbers: [38, 27, 90]
Generated Node #0,3: 79:[38, 27, 90] Operation: 15*6=90
Moving to Node #0,3
Current State: 79:[38, 27, 90], Operations: ['15*6=90']
Exploring Operation: 90-38=52, Resulting Numbers: [27, 52]
Generated Node #0,3,1: 79:[27, 52] Operation: 90-38=52
Moving to Node #0,3,1
Current State: 79:[27, 52], Operations: ['15*6=90', '90-38=52']
Exploring Operation: 27+52=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 0.945313 | hs_4 | sum_heuristic |
[
1,
60,
20,
39
] | 58 | [
"1+39=40",
"40/20=2",
"60-2=58"
] | Current State: 58:[1, 60, 20, 39], Operations: []
Exploring Operation: 1+39=40, Resulting Numbers: [60, 20, 40]
Generated Node #2: [60, 20, 40] from Operation: 1+39=40
Current State: 58:[60, 20, 40], Operations: ['1+39=40']
Exploring Operation: 40/20=2, Resulting Numbers: [60, 2]
Generated Node #3: [60, 2] from Operation: 40/20=2
Current State: 58:[60, 2], Operations: ['1+39=40', '40/20=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[1, 60, 20, 39], Operations: []
Exploring Operation: 60/20=3, Resulting Numbers: [1, 39, 3]
Generated Node #0,0: 58:[1, 39, 3] Operation: 60/20=3
Exploring Operation: 20+39=59, Resulting Numbers: [1, 60, 59]
Generated Node #0,1: 58:[1, 60, 59] Operation: 20+39=59
Exploring Operation: 39-20=19, Resulting Numbers: [1, 60, 19]
Generated Node #0,2: 58:[1, 60, 19] Operation: 39-20=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[1, 60, 59], Operations: ['20+39=59']
Exploring Operation: 60-1=59, Resulting Numbers: [59, 59]
Generated Node #0,1,0: 58:[59, 59] Operation: 60-1=59
Exploring Operation: 59-1=58, Resulting Numbers: [60, 58]
Generated Node #0,1,1: 58:[60, 58] Operation: 59-1=58
Exploring Operation: 60-59=1, Resulting Numbers: [1, 1]
Generated Node #0,1,2: 58:[1, 1] Operation: 60-59=1
Moving to Node #0,1,0
Current State: 58:[59, 59], Operations: ['20+39=59', '60-1=59']
Exploring Operation: 59+59=118, Resulting Numbers: [118]
118,58 unequal: No Solution
Exploring Operation: 59/59=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 59-59=0, Resulting Numbers: [0]
0,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[60, 58], Operations: ['20+39=59', '59-1=58']
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 60*58=3480, Resulting Numbers: [3480]
3480,58 unequal: No Solution
Exploring Operation: 60+58=118, Resulting Numbers: [118]
118,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[1, 1], Operations: ['20+39=59', '60-59=1']
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[1, 39, 3], Operations: ['60/20=3']
Exploring Operation: 39-1=38, Resulting Numbers: [3, 38]
Generated Node #0,0,0: 58:[3, 38] Operation: 39-1=38
Exploring Operation: 3-1=2, Resulting Numbers: [39, 2]
Generated Node #0,0,1: 58:[39, 2] Operation: 3-1=2
Exploring Operation: 39-3=36, Resulting Numbers: [1, 36]
Generated Node #0,0,2: 58:[1, 36] Operation: 39-3=36
Moving to Node #0,0,2
Current State: 58:[1, 36], Operations: ['60/20=3', '39-3=36']
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,58 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[3, 38], Operations: ['60/20=3', '39-1=38']
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,58 unequal: No Solution
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[39, 2], Operations: ['60/20=3', '3-1=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,58 unequal: No Solution
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[1, 60, 19], Operations: ['39-20=19']
Exploring Operation: 60-1=59, Resulting Numbers: [19, 59]
Generated Node #0,2,0: 58:[19, 59] Operation: 60-1=59
Exploring Operation: 1+19=20, Resulting Numbers: [60, 20]
Generated Node #0,2,1: 58:[60, 20] Operation: 1+19=20
Exploring Operation: 1*60=60, Resulting Numbers: [19, 60]
Generated Node #0,2,2: 58:[19, 60] Operation: 1*60=60
Moving to Node #0,2,0
Current State: 58:[19, 59], Operations: ['39-20=19', '60-1=59']
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 19+59=78, Resulting Numbers: [78]
78,58 unequal: No Solution
Exploring Operation: 19*59=1121, Resulting Numbers: [1121]
1121,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[60, 20], Operations: ['39-20=19', '1+19=20']
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 60+20=80, Resulting Numbers: [80]
80,58 unequal: No Solution
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[19, 60], Operations: ['39-20=19', '1*60=60']
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 19+60=79, Resulting Numbers: [79]
79,58 unequal: No Solution
Exploring Operation: 19*60=1140, Resulting Numbers: [1140]
1140,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
22,
76,
26,
8
] | 10 | [
"76-22=54",
"26+54=80",
"80/8=10"
] | Current State: 10:[22, 76, 26, 8], Operations: []
Exploring Operation: 76-22=54, Resulting Numbers: [26, 8, 54]
Generated Node #2: [26, 8, 54] from Operation: 76-22=54
Current State: 10:[26, 8, 54], Operations: ['76-22=54']
Exploring Operation: 26+54=80, Resulting Numbers: [8, 80]
Generated Node #3: [8, 80] from Operation: 26+54=80
Current State: 10:[8, 80], Operations: ['76-22=54', '26+54=80']
Exploring Operation: 80/8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[22, 76, 26, 8], Operations: []
Exploring Operation: 76-22=54, Resulting Numbers: [26, 8, 54]
Generated Node #0,0: 10:[26, 8, 54] Operation: 76-22=54
Exploring Operation: 76-26=50, Resulting Numbers: [22, 8, 50]
Generated Node #0,1: 10:[22, 8, 50] Operation: 76-26=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[22, 8, 50], Operations: ['76-26=50']
Exploring Operation: 22-8=14, Resulting Numbers: [50, 14]
Generated Node #0,1,0: 10:[50, 14] Operation: 22-8=14
Exploring Operation: 50-22=28, Resulting Numbers: [8, 28]
Generated Node #0,1,1: 10:[8, 28] Operation: 50-22=28
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[8, 28], Operations: ['76-26=50', '50-22=28']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[50, 14], Operations: ['76-26=50', '22-8=14']
Exploring Operation: 50+14=64, Resulting Numbers: [64]
64,10 unequal: No Solution
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,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,0
Current State: 10:[26, 8, 54], Operations: ['76-22=54']
Exploring Operation: 54-26=28, Resulting Numbers: [8, 28]
Generated Node #0,0,0: 10:[8, 28] Operation: 54-26=28
Exploring Operation: 26-8=18, Resulting Numbers: [54, 18]
Generated Node #0,0,1: 10:[54, 18] Operation: 26-8=18
Moving to Node #0,0,0
Current State: 10:[8, 28], Operations: ['76-22=54', '54-26=28']
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[54, 18], Operations: ['76-22=54', '26-8=18']
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,10 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 |
[
3,
99,
92,
95
] | 11 | [
"99/3=33",
"95-92=3",
"33/3=11"
] | Current State: 11:[3, 99, 92, 95], Operations: []
Exploring Operation: 99/3=33, Resulting Numbers: [92, 95, 33]
Generated Node #2: [92, 95, 33] from Operation: 99/3=33
Current State: 11:[92, 95, 33], Operations: ['99/3=33']
Exploring Operation: 95-92=3, Resulting Numbers: [33, 3]
Generated Node #3: [33, 3] from Operation: 95-92=3
Current State: 11:[33, 3], Operations: ['99/3=33', '95-92=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[3, 99, 92, 95], Operations: []
Exploring Operation: 99-92=7, Resulting Numbers: [3, 95, 7]
Generated Node #0,0: 11:[3, 95, 7] Operation: 99-92=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[3, 95, 7], Operations: ['99-92=7']
Exploring Operation: 95-3=92, Resulting Numbers: [7, 92]
Generated Node #0,0,0: 11:[7, 92] Operation: 95-3=92
Moving to Node #0,0,0
Current State: 11:[7, 92], Operations: ['99-92=7', '95-3=92']
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,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 | sum_heuristic |
[
67,
18,
66,
71
] | 53 | [
"67-66=1",
"71-18=53",
"1*53=53"
] | Current State: 53:[67, 18, 66, 71], Operations: []
Exploring Operation: 67-66=1, Resulting Numbers: [18, 71, 1]
Generated Node #2: [18, 71, 1] from Operation: 67-66=1
Current State: 53:[18, 71, 1], Operations: ['67-66=1']
Exploring Operation: 71-18=53, Resulting Numbers: [1, 53]
Generated Node #3: [1, 53] from Operation: 71-18=53
Current State: 53:[1, 53], Operations: ['67-66=1', '71-18=53']
Exploring Operation: 1*53=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[67, 18, 66, 71], Operations: []
Exploring Operation: 67+18=85, Resulting Numbers: [66, 71, 85]
Generated Node #0,0: 53:[66, 71, 85] Operation: 67+18=85
Exploring Operation: 67-18=49, Resulting Numbers: [66, 71, 49]
Generated Node #0,1: 53:[66, 71, 49] Operation: 67-18=49
Exploring Operation: 71-18=53, Resulting Numbers: [67, 66, 53]
Generated Node #0,2: 53:[67, 66, 53] Operation: 71-18=53
Exploring Operation: 18+66=84, Resulting Numbers: [67, 71, 84]
Generated Node #0,3: 53:[67, 71, 84] Operation: 18+66=84
Exploring Operation: 66-18=48, Resulting Numbers: [67, 71, 48]
Generated Node #0,4: 53:[67, 71, 48] Operation: 66-18=48
Moving to Node #0,2
Current State: 53:[67, 66, 53], Operations: ['71-18=53']
Exploring Operation: 67+53=120, Resulting Numbers: [66, 120]
Generated Node #0,2,0: 53:[66, 120] Operation: 67+53=120
Exploring Operation: 67-53=14, Resulting Numbers: [66, 14]
Generated Node #0,2,1: 53:[66, 14] Operation: 67-53=14
Exploring Operation: 67+66=133, Resulting Numbers: [53, 133]
Generated Node #0,2,2: 53:[53, 133] Operation: 67+66=133
Exploring Operation: 67-66=1, Resulting Numbers: [53, 1]
Generated Node #0,2,3: 53:[53, 1] Operation: 67-66=1
Exploring Operation: 66-53=13, Resulting Numbers: [67, 13]
Generated Node #0,2,4: 53:[67, 13] Operation: 66-53=13
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[66, 14], Operations: ['71-18=53', '67-53=14']
Exploring Operation: 66+14=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 66*14=924, Resulting Numbers: [924]
924,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:[53, 1], Operations: ['71-18=53', '67-66=1']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[67, 18, 66, 71], Operations: []
Exploring Operation: 71-18=53, Resulting Numbers: [67, 66, 53]
Generated Node #0,2: 53:[67, 66, 53] Operation: 71-18=53
Moving to Node #0,2
Current State: 53:[67, 66, 53], Operations: ['71-18=53']
Exploring Operation: 67-66=1, Resulting Numbers: [53, 1]
Generated Node #0,2,3: 53:[53, 1] Operation: 67-66=1
Moving to Node #0,2,3
Current State: 53:[53, 1], Operations: ['71-18=53', '67-66=1']
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
11,
31,
38,
7
] | 87 | [
"11+31=42",
"38+7=45",
"42+45=87"
] | Current State: 87:[11, 31, 38, 7], Operations: []
Exploring Operation: 11+31=42, Resulting Numbers: [38, 7, 42]
Generated Node #2: [38, 7, 42] from Operation: 11+31=42
Current State: 87:[38, 7, 42], Operations: ['11+31=42']
Exploring Operation: 38+7=45, Resulting Numbers: [42, 45]
Generated Node #3: [42, 45] from Operation: 38+7=45
Current State: 87:[42, 45], Operations: ['11+31=42', '38+7=45']
Exploring Operation: 42+45=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[11, 31, 38, 7], Operations: []
Exploring Operation: 38-11=27, Resulting Numbers: [31, 7, 27]
Generated Node #0,0: 87:[31, 7, 27] Operation: 38-11=27
Moving to Node #0,0
Current State: 87:[31, 7, 27], Operations: ['38-11=27']
Exploring Operation: 31-27=4, Resulting Numbers: [7, 4]
Generated Node #0,0,0: 87:[7, 4] Operation: 31-27=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[7, 4], Operations: ['38-11=27', '31-27=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
51,
58,
58,
94
] | 51 | [
"58-58=0",
"94*0=0",
"51+0=51"
] | Current State: 51:[51, 58, 58, 94], Operations: []
Exploring Operation: 58-58=0, Resulting Numbers: [51, 94, 0]
Generated Node #2: [51, 94, 0] from Operation: 58-58=0
Current State: 51:[51, 94, 0], Operations: ['58-58=0']
Exploring Operation: 94*0=0, Resulting Numbers: [51, 0]
Generated Node #3: [51, 0] from Operation: 94*0=0
Current State: 51:[51, 0], Operations: ['58-58=0', '94*0=0']
Exploring Operation: 51+0=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[51, 58, 58, 94], Operations: []
Exploring Operation: 94-51=43, Resulting Numbers: [58, 58, 43]
Generated Node #0,0: 51:[58, 58, 43] Operation: 94-51=43
Exploring Operation: 94-58=36, Resulting Numbers: [51, 58, 36]
Generated Node #0,1: 51:[51, 58, 36] Operation: 94-58=36
Exploring Operation: 94-58=36, Resulting Numbers: [51, 58, 36]
Generated Node #0,2: 51:[51, 58, 36] Operation: 94-58=36
Exploring Operation: 58/58=1, Resulting Numbers: [51, 94, 1]
Generated Node #0,3: 51:[51, 94, 1] Operation: 58/58=1
Moving to Node #0,0
Current State: 51:[58, 58, 43], Operations: ['94-51=43']
Exploring Operation: 58-43=15, Resulting Numbers: [58, 15]
Generated Node #0,0,0: 51:[58, 15] Operation: 58-43=15
Exploring Operation: 58-43=15, Resulting Numbers: [58, 15]
Generated Node #0,0,1: 51:[58, 15] Operation: 58-43=15
Exploring Operation: 58-58=0, Resulting Numbers: [43, 0]
Generated Node #0,0,2: 51:[43, 0] Operation: 58-58=0
Exploring Operation: 58/58=1, Resulting Numbers: [43, 1]
Generated Node #0,0,3: 51:[43, 1] Operation: 58/58=1
Moving to Node #0,2
Current State: 51:[51, 58, 36], Operations: ['94-58=36']
Exploring Operation: 58-51=7, Resulting Numbers: [36, 7]
Generated Node #0,2,0: 51:[36, 7] Operation: 58-51=7
Exploring Operation: 51-36=15, Resulting Numbers: [58, 15]
Generated Node #0,2,1: 51:[58, 15] Operation: 51-36=15
Exploring Operation: 51+36=87, Resulting Numbers: [58, 87]
Generated Node #0,2,2: 51:[58, 87] Operation: 51+36=87
Exploring Operation: 58-36=22, Resulting Numbers: [51, 22]
Generated Node #0,2,3: 51:[51, 22] Operation: 58-36=22
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 51:[51, 22], Operations: ['94-58=36', '58-36=22']
Exploring Operation: 51*22=1122, Resulting Numbers: [1122]
1122,51 unequal: No Solution
Exploring Operation: 51+22=73, Resulting Numbers: [73]
73,51 unequal: No Solution
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 51:[58, 15], Operations: ['94-58=36', '51-36=15']
Exploring Operation: 58+15=73, Resulting Numbers: [73]
73,51 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 58*15=870, Resulting Numbers: [870]
870,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[36, 7], Operations: ['94-58=36', '58-51=7']
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 51:[58, 87], Operations: ['94-58=36', '51+36=87']
Exploring Operation: 87-58=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 58*87=5046, Resulting Numbers: [5046]
5046,51 unequal: No Solution
Exploring Operation: 58+87=145, Resulting Numbers: [145]
145,51 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: 51:[51, 58, 36], Operations: ['94-58=36']
Exploring Operation: 58-36=22, Resulting Numbers: [51, 22]
Generated Node #0,1,0: 51:[51, 22] Operation: 58-36=22
Exploring Operation: 51-36=15, Resulting Numbers: [58, 15]
Generated Node #0,1,1: 51:[58, 15] Operation: 51-36=15
Exploring Operation: 51+36=87, Resulting Numbers: [58, 87]
Generated Node #0,1,2: 51:[58, 87] Operation: 51+36=87
Exploring Operation: 58-51=7, Resulting Numbers: [36, 7]
Generated Node #0,1,3: 51:[36, 7] Operation: 58-51=7
Moving to Node #0,3
Current State: 51:[51, 94, 1], Operations: ['58/58=1']
Exploring Operation: 51*1=51, Resulting Numbers: [94, 51]
Generated Node #0,3,0: 51:[94, 51] Operation: 51*1=51
Exploring Operation: 94-1=93, Resulting Numbers: [51, 93]
Generated Node #0,3,1: 51:[51, 93] Operation: 94-1=93
Exploring Operation: 94-51=43, Resulting Numbers: [1, 43]
Generated Node #0,3,2: 51:[1, 43] Operation: 94-51=43
Exploring Operation: 51/1=51, Resulting Numbers: [94, 51]
Generated Node #0,3,3: 51:[94, 51] Operation: 51/1=51
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 51:[1, 43], Operations: ['58/58=1', '94-51=43']
Exploring Operation: 1*43=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,51 unequal: No Solution
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 1+43=44, Resulting Numbers: [44]
44,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 51:[51, 93], Operations: ['58/58=1', '94-1=93']
Exploring Operation: 51+93=144, Resulting Numbers: [144]
144,51 unequal: No Solution
Exploring Operation: 51*93=4743, Resulting Numbers: [4743]
4743,51 unequal: No Solution
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 51:[94, 51], Operations: ['58/58=1', '51*1=51']
Exploring Operation: 94*51=4794, Resulting Numbers: [4794]
4794,51 unequal: No Solution
Exploring Operation: 94-51=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 94+51=145, Resulting Numbers: [145]
145,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 51:[94, 51], Operations: ['58/58=1', '51/1=51']
Exploring Operation: 94+51=145, Resulting Numbers: [145]
145,51 unequal: No Solution
Exploring Operation: 94-51=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 94*51=4794, Resulting Numbers: [4794]
4794,51 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: 51:[51, 22], Operations: ['94-58=36', '58-36=22']
Exploring Operation: 51+22=73, Resulting Numbers: [73]
73,51 unequal: No Solution
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 51*22=1122, Resulting Numbers: [1122]
1122,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[58, 15], Operations: ['94-58=36', '51-36=15']
Exploring Operation: 58+15=73, Resulting Numbers: [73]
73,51 unequal: No Solution
Exploring Operation: 58*15=870, Resulting Numbers: [870]
870,51 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[58, 15], Operations: ['94-51=43', '58-43=15']
Exploring Operation: 58+15=73, Resulting Numbers: [73]
73,51 unequal: No Solution
Exploring Operation: 58*15=870, Resulting Numbers: [870]
870,51 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[58, 15], Operations: ['94-51=43', '58-43=15']
Exploring Operation: 58*15=870, Resulting Numbers: [870]
870,51 unequal: No Solution
Exploring Operation: 58+15=73, Resulting Numbers: [73]
73,51 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[43, 1], Operations: ['94-51=43', '58/58=1']
Exploring Operation: 43+1=44, Resulting Numbers: [44]
44,51 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,51 unequal: No Solution
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[43, 0], Operations: ['94-51=43', '58-58=0']
Exploring Operation: 43+0=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 43-0=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 43*0=0, Resulting Numbers: [0]
0,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[36, 7], Operations: ['94-58=36', '58-51=7']
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[58, 87], Operations: ['94-58=36', '51+36=87']
Exploring Operation: 87-58=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 58*87=5046, Resulting Numbers: [5046]
5046,51 unequal: No Solution
Exploring Operation: 58+87=145, Resulting Numbers: [145]
145,51 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
24,
55,
48,
14
] | 45 | [
"24+55=79",
"48-14=34",
"79-34=45"
] | Current State: 45:[24, 55, 48, 14], Operations: []
Exploring Operation: 24+55=79, Resulting Numbers: [48, 14, 79]
Generated Node #2: [48, 14, 79] from Operation: 24+55=79
Current State: 45:[48, 14, 79], Operations: ['24+55=79']
Exploring Operation: 48-14=34, Resulting Numbers: [79, 34]
Generated Node #3: [79, 34] from Operation: 48-14=34
Current State: 45:[79, 34], Operations: ['24+55=79', '48-14=34']
Exploring Operation: 79-34=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[24, 55, 48, 14], Operations: []
Exploring Operation: 55-24=31, Resulting Numbers: [48, 14, 31]
Generated Node #0,0: 45:[48, 14, 31] Operation: 55-24=31
Exploring Operation: 48/24=2, Resulting Numbers: [55, 14, 2]
Generated Node #0,1: 45:[55, 14, 2] Operation: 48/24=2
Exploring Operation: 55-14=41, Resulting Numbers: [24, 48, 41]
Generated Node #0,2: 45:[24, 48, 41] Operation: 55-14=41
Exploring Operation: 24-14=10, Resulting Numbers: [55, 48, 10]
Generated Node #0,3: 45:[55, 48, 10] Operation: 24-14=10
Exploring Operation: 55-48=7, Resulting Numbers: [24, 14, 7]
Generated Node #0,4: 45:[24, 14, 7] Operation: 55-48=7
Moving to Node #0,1
Current State: 45:[55, 14, 2], Operations: ['48/24=2']
Exploring Operation: 14+2=16, Resulting Numbers: [55, 16]
Generated Node #0,1,0: 45:[55, 16] Operation: 14+2=16
Exploring Operation: 55-14=41, Resulting Numbers: [2, 41]
Generated Node #0,1,1: 45:[2, 41] Operation: 55-14=41
Exploring Operation: 55+2=57, Resulting Numbers: [14, 57]
Generated Node #0,1,2: 45:[14, 57] Operation: 55+2=57
Exploring Operation: 55-2=53, Resulting Numbers: [14, 53]
Generated Node #0,1,3: 45:[14, 53] Operation: 55-2=53
Exploring Operation: 14/2=7, Resulting Numbers: [55, 7]
Generated Node #0,1,4: 45:[55, 7] Operation: 14/2=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[2, 41], Operations: ['48/24=2', '55-14=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,45 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 45:[14, 53], Operations: ['48/24=2', '55-2=53']
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,45 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,45 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[55, 16], Operations: ['48/24=2', '14+2=16']
Exploring Operation: 55+16=71, Resulting Numbers: [71]
71,45 unequal: No Solution
Exploring Operation: 55*16=880, Resulting Numbers: [880]
880,45 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 45:[55, 7], Operations: ['48/24=2', '14/2=7']
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,45 unequal: No Solution
Exploring Operation: 55+7=62, Resulting Numbers: [62]
62,45 unequal: No Solution
Exploring Operation: 55*7=385, Resulting Numbers: [385]
385,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[14, 57], Operations: ['48/24=2', '55+2=57']
Exploring Operation: 14*57=798, Resulting Numbers: [798]
798,45 unequal: No Solution
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Exploring Operation: 14+57=71, Resulting Numbers: [71]
71,45 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: 45:[24, 14, 7], Operations: ['55-48=7']
Exploring Operation: 24-14=10, Resulting Numbers: [7, 10]
Generated Node #0,4,0: 45:[7, 10] Operation: 24-14=10
Exploring Operation: 24+14=38, Resulting Numbers: [7, 38]
Generated Node #0,4,1: 45:[7, 38] Operation: 24+14=38
Exploring Operation: 14/7=2, Resulting Numbers: [24, 2]
Generated Node #0,4,2: 45:[24, 2] Operation: 14/7=2
Exploring Operation: 14-7=7, Resulting Numbers: [24, 7]
Generated Node #0,4,3: 45:[24, 7] Operation: 14-7=7
Exploring Operation: 24-7=17, Resulting Numbers: [14, 17]
Generated Node #0,4,4: 45:[14, 17] Operation: 24-7=17
Moving to Node #0,3
Current State: 45:[55, 48, 10], Operations: ['24-14=10']
Exploring Operation: 55-48=7, Resulting Numbers: [10, 7]
Generated Node #0,3,0: 45:[10, 7] Operation: 55-48=7
Exploring Operation: 48+10=58, Resulting Numbers: [55, 58]
Generated Node #0,3,1: 45:[55, 58] Operation: 48+10=58
Exploring Operation: 55-10=45, Resulting Numbers: [48, 45]
Generated Node #0,3,2: 45:[48, 45] Operation: 55-10=45
Exploring Operation: 48-10=38, Resulting Numbers: [55, 38]
Generated Node #0,3,3: 45:[55, 38] Operation: 48-10=38
Exploring Operation: 55+10=65, Resulting Numbers: [48, 65]
Generated Node #0,3,4: 45:[48, 65] Operation: 55+10=65
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 45:[10, 7], Operations: ['24-14=10', '55-48=7']
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 45:[48, 45], Operations: ['24-14=10', '55-10=45']
Exploring Operation: 48*45=2160, Resulting Numbers: [2160]
2160,45 unequal: No Solution
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 48+45=93, Resulting Numbers: [93]
93,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 45:[55, 38], Operations: ['24-14=10', '48-10=38']
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 55*38=2090, Resulting Numbers: [2090]
2090,45 unequal: No Solution
Exploring Operation: 55+38=93, Resulting Numbers: [93]
93,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 45:[55, 58], Operations: ['24-14=10', '48+10=58']
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 55*58=3190, Resulting Numbers: [3190]
3190,45 unequal: No Solution
Exploring Operation: 55+58=113, Resulting Numbers: [113]
113,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 45:[48, 65], Operations: ['24-14=10', '55+10=65']
Exploring Operation: 48*65=3120, Resulting Numbers: [3120]
3120,45 unequal: No Solution
Exploring Operation: 48+65=113, Resulting Numbers: [113]
113,45 unequal: No Solution
Exploring Operation: 65-48=17, Resulting Numbers: [17]
17,45 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: 45:[24, 48, 41], Operations: ['55-14=41']
Exploring Operation: 24+41=65, Resulting Numbers: [48, 65]
Generated Node #0,2,0: 45:[48, 65] Operation: 24+41=65
Exploring Operation: 48-24=24, Resulting Numbers: [41, 24]
Generated Node #0,2,1: 45:[41, 24] Operation: 48-24=24
Exploring Operation: 48-41=7, Resulting Numbers: [24, 7]
Generated Node #0,2,2: 45:[24, 7] Operation: 48-41=7
Exploring Operation: 41-24=17, Resulting Numbers: [48, 17]
Generated Node #0,2,3: 45:[48, 17] Operation: 41-24=17
Exploring Operation: 48/24=2, Resulting Numbers: [41, 2]
Generated Node #0,2,4: 45:[41, 2] Operation: 48/24=2
Moving to Node #0,0
Current State: 45:[48, 14, 31], Operations: ['55-24=31']
Exploring Operation: 14+31=45, Resulting Numbers: [48, 45]
Generated Node #0,0,0: 45:[48, 45] Operation: 14+31=45
Exploring Operation: 48-14=34, Resulting Numbers: [31, 34]
Generated Node #0,0,1: 45:[31, 34] Operation: 48-14=34
Exploring Operation: 48+14=62, Resulting Numbers: [31, 62]
Generated Node #0,0,2: 45:[31, 62] Operation: 48+14=62
Exploring Operation: 48-31=17, Resulting Numbers: [14, 17]
Generated Node #0,0,3: 45:[14, 17] Operation: 48-31=17
Exploring Operation: 31-14=17, Resulting Numbers: [48, 17]
Generated Node #0,0,4: 45:[48, 17] Operation: 31-14=17
Moving to Node #0,4,0
Current State: 45:[7, 10], Operations: ['55-48=7', '24-14=10']
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,45 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Moving to Node #0,0,3
Current State: 45:[14, 17], Operations: ['55-24=31', '48-31=17']
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,45 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Moving to Node #0,4,4
Current State: 45:[14, 17], Operations: ['55-48=7', '24-7=17']
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,45 unequal: No Solution
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[48, 45], Operations: ['55-24=31', '14+31=45']
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 48+45=93, Resulting Numbers: [93]
93,45 unequal: No Solution
Exploring Operation: 48*45=2160, Resulting Numbers: [2160]
2160,45 unequal: No Solution
Moving to Node #0,2,4
Current State: 45:[41, 2], Operations: ['55-14=41', '48/24=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,45 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,45 unequal: No Solution
Moving to Node #0,2,3
Current State: 45:[48, 17], Operations: ['55-14=41', '41-24=17']
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,45 unequal: No Solution
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,45 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Moving to Node #0,0,4
Current State: 45:[48, 17], Operations: ['55-24=31', '31-14=17']
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,45 unequal: No Solution
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,45 unequal: No Solution
Moving to Node #0,4,1
Current State: 45:[7, 38], Operations: ['55-48=7', '24+14=38']
Exploring Operation: 7*38=266, Resulting Numbers: [266]
266,45 unequal: No Solution
Exploring Operation: 7+38=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[24, 55, 48, 14], Operations: []
Exploring Operation: 55-48=7, Resulting Numbers: [24, 14, 7]
Generated Node #0,4: 45:[24, 14, 7] Operation: 55-48=7
Moving to Node #0,4
Current State: 45:[24, 14, 7], Operations: ['55-48=7']
Exploring Operation: 24+14=38, Resulting Numbers: [7, 38]
Generated Node #0,4,1: 45:[7, 38] Operation: 24+14=38
Moving to Node #0,4,1
Current State: 45:[7, 38], Operations: ['55-48=7', '24+14=38']
Exploring Operation: 7+38=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 0.924479 | hs_5 | sum_heuristic |
[
69,
88,
5,
76
] | 100 | [
"88-69=19",
"5+76=81",
"19+81=100"
] | Current State: 100:[69, 88, 5, 76], Operations: []
Exploring Operation: 88-69=19, Resulting Numbers: [5, 76, 19]
Generated Node #2: [5, 76, 19] from Operation: 88-69=19
Current State: 100:[5, 76, 19], Operations: ['88-69=19']
Exploring Operation: 5+76=81, Resulting Numbers: [19, 81]
Generated Node #3: [19, 81] from Operation: 5+76=81
Current State: 100:[19, 81], Operations: ['88-69=19', '5+76=81']
Exploring Operation: 19+81=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[69, 88, 5, 76], Operations: []
Exploring Operation: 88-76=12, Resulting Numbers: [69, 5, 12]
Generated Node #0,0: 100:[69, 5, 12] Operation: 88-76=12
Exploring Operation: 88-69=19, Resulting Numbers: [5, 76, 19]
Generated Node #0,1: 100:[5, 76, 19] Operation: 88-69=19
Exploring Operation: 76-69=7, Resulting Numbers: [88, 5, 7]
Generated Node #0,2: 100:[88, 5, 7] Operation: 76-69=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[88, 5, 7], Operations: ['76-69=7']
Exploring Operation: 7-5=2, Resulting Numbers: [88, 2]
Generated Node #0,2,0: 100:[88, 2] Operation: 7-5=2
Exploring Operation: 88+7=95, Resulting Numbers: [5, 95]
Generated Node #0,2,1: 100:[5, 95] Operation: 88+7=95
Exploring Operation: 88+5=93, Resulting Numbers: [7, 93]
Generated Node #0,2,2: 100:[7, 93] Operation: 88+5=93
Moving to Node #0,2,1
Current State: 100:[5, 95], Operations: ['76-69=7', '88+7=95']
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,100 unequal: No Solution
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,100 unequal: No Solution
Exploring Operation: 5+95=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[69, 88, 5, 76], Operations: []
Exploring Operation: 76-69=7, Resulting Numbers: [88, 5, 7]
Generated Node #0,2: 100:[88, 5, 7] Operation: 76-69=7
Moving to Node #0,2
Current State: 100:[88, 5, 7], Operations: ['76-69=7']
Exploring Operation: 88+7=95, Resulting Numbers: [5, 95]
Generated Node #0,2,1: 100:[5, 95] Operation: 88+7=95
Moving to Node #0,2,1
Current State: 100:[5, 95], Operations: ['76-69=7', '88+7=95']
Exploring Operation: 5+95=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
18,
99,
11,
2
] | 36 | [
"99/11=9",
"2*9=18",
"18+18=36"
] | Current State: 36:[18, 99, 11, 2], Operations: []
Exploring Operation: 99/11=9, Resulting Numbers: [18, 2, 9]
Generated Node #2: [18, 2, 9] from Operation: 99/11=9
Current State: 36:[18, 2, 9], Operations: ['99/11=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18, 18]
Generated Node #3: [18, 18] from Operation: 2*9=18
Current State: 36:[18, 18], Operations: ['99/11=9', '2*9=18']
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[18, 99, 11, 2], Operations: []
Exploring Operation: 99/11=9, Resulting Numbers: [18, 2, 9]
Generated Node #0,0: 36:[18, 2, 9] Operation: 99/11=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[18, 2, 9], Operations: ['99/11=9']
Exploring Operation: 18*2=36, Resulting Numbers: [9, 36]
Generated Node #0,0,0: 36:[9, 36] Operation: 18*2=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[9, 36], Operations: ['99/11=9', '18*2=36']
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
18,
70,
74,
4
] | 52 | [
"18+70=88",
"88/4=22",
"74-22=52"
] | Current State: 52:[18, 70, 74, 4], Operations: []
Exploring Operation: 18+70=88, Resulting Numbers: [74, 4, 88]
Generated Node #2: [74, 4, 88] from Operation: 18+70=88
Current State: 52:[74, 4, 88], Operations: ['18+70=88']
Exploring Operation: 88/4=22, Resulting Numbers: [74, 22]
Generated Node #3: [74, 22] from Operation: 88/4=22
Current State: 52:[74, 22], Operations: ['18+70=88', '88/4=22']
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[18, 70, 74, 4], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [18, 4, 4]
Generated Node #0,0: 52:[18, 4, 4] Operation: 74-70=4
Exploring Operation: 70-18=52, Resulting Numbers: [74, 4, 52]
Generated Node #0,1: 52:[74, 4, 52] Operation: 70-18=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[18, 4, 4], Operations: ['74-70=4']
Exploring Operation: 18-4=14, Resulting Numbers: [4, 14]
Generated Node #0,0,0: 52:[4, 14] Operation: 18-4=14
Exploring Operation: 18-4=14, Resulting Numbers: [4, 14]
Generated Node #0,0,1: 52:[4, 14] Operation: 18-4=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[4, 14], Operations: ['74-70=4', '18-4=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[4, 14], Operations: ['74-70=4', '18-4=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[74, 4, 52], Operations: ['70-18=52']
Exploring Operation: 74-52=22, Resulting Numbers: [4, 22]
Generated Node #0,1,0: 52:[4, 22] Operation: 74-52=22
Exploring Operation: 74-4=70, Resulting Numbers: [52, 70]
Generated Node #0,1,1: 52:[52, 70] Operation: 74-4=70
Moving to Node #0,1,0
Current State: 52:[4, 22], Operations: ['70-18=52', '74-52=22']
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[52, 70], Operations: ['70-18=52', '74-4=70']
Exploring Operation: 52+70=122, Resulting Numbers: [122]
122,52 unequal: No Solution
Exploring Operation: 70-52=18, Resulting Numbers: [18]
18,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
6,
52,
18,
16
] | 65 | [
"18/6=3",
"52+16=68",
"68-3=65"
] | Current State: 65:[6, 52, 18, 16], Operations: []
Exploring Operation: 18/6=3, Resulting Numbers: [52, 16, 3]
Generated Node #2: [52, 16, 3] from Operation: 18/6=3
Current State: 65:[52, 16, 3], Operations: ['18/6=3']
Exploring Operation: 52+16=68, Resulting Numbers: [3, 68]
Generated Node #3: [3, 68] from Operation: 52+16=68
Current State: 65:[3, 68], Operations: ['18/6=3', '52+16=68']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[6, 52, 18, 16], Operations: []
Exploring Operation: 52+18=70, Resulting Numbers: [6, 16, 70]
Generated Node #0,0: 65:[6, 16, 70] Operation: 52+18=70
Moving to Node #0,0
Current State: 65:[6, 16, 70], Operations: ['52+18=70']
Exploring Operation: 70-6=64, Resulting Numbers: [16, 64]
Generated Node #0,0,0: 65:[16, 64] Operation: 70-6=64
Moving to Node #0,0,0
Current State: 65:[16, 64], Operations: ['52+18=70', '70-6=64']
Exploring Operation: 64/16=4, Resulting Numbers: [4]
4,65 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
18,
72,
6,
76
] | 36 | [
"72+6=78",
"78-76=2",
"18*2=36"
] | Current State: 36:[18, 72, 6, 76], Operations: []
Exploring Operation: 72+6=78, Resulting Numbers: [18, 76, 78]
Generated Node #2: [18, 76, 78] from Operation: 72+6=78
Current State: 36:[18, 76, 78], Operations: ['72+6=78']
Exploring Operation: 78-76=2, Resulting Numbers: [18, 2]
Generated Node #3: [18, 2] from Operation: 78-76=2
Current State: 36:[18, 2], Operations: ['72+6=78', '78-76=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[18, 72, 6, 76], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [18, 6, 4]
Generated Node #0,0: 36:[18, 6, 4] Operation: 76-72=4
Exploring Operation: 72/6=12, Resulting Numbers: [18, 76, 12]
Generated Node #0,1: 36:[18, 76, 12] Operation: 72/6=12
Exploring Operation: 72/18=4, Resulting Numbers: [6, 76, 4]
Generated Node #0,2: 36:[6, 76, 4] Operation: 72/18=4
Exploring Operation: 76-18=58, Resulting Numbers: [72, 6, 58]
Generated Node #0,3: 36:[72, 6, 58] Operation: 76-18=58
Exploring Operation: 72-18=54, Resulting Numbers: [6, 76, 54]
Generated Node #0,4: 36:[6, 76, 54] Operation: 72-18=54
Moving to Node #0,0
Current State: 36:[18, 6, 4], Operations: ['76-72=4']
Exploring Operation: 18-6=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 36:[4, 12] Operation: 18-6=12
Exploring Operation: 18-4=14, Resulting Numbers: [6, 14]
Generated Node #0,0,1: 36:[6, 14] Operation: 18-4=14
Exploring Operation: 6-4=2, Resulting Numbers: [18, 2]
Generated Node #0,0,2: 36:[18, 2] Operation: 6-4=2
Exploring Operation: 18/6=3, Resulting Numbers: [4, 3]
Generated Node #0,0,3: 36:[4, 3] Operation: 18/6=3
Exploring Operation: 6+4=10, Resulting Numbers: [18, 10]
Generated Node #0,0,4: 36:[18, 10] Operation: 6+4=10
Moving to Node #0,2
Current State: 36:[6, 76, 4], Operations: ['72/18=4']
Exploring Operation: 6-4=2, Resulting Numbers: [76, 2]
Generated Node #0,2,0: 36:[76, 2] Operation: 6-4=2
Exploring Operation: 76/4=19, Resulting Numbers: [6, 19]
Generated Node #0,2,1: 36:[6, 19] Operation: 76/4=19
Exploring Operation: 76-4=72, Resulting Numbers: [6, 72]
Generated Node #0,2,2: 36:[6, 72] Operation: 76-4=72
Exploring Operation: 76-6=70, Resulting Numbers: [4, 70]
Generated Node #0,2,3: 36:[4, 70] Operation: 76-6=70
Exploring Operation: 6+4=10, Resulting Numbers: [76, 10]
Generated Node #0,2,4: 36:[76, 10] Operation: 6+4=10
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 36:[6, 19], Operations: ['72/18=4', '76/4=19']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,36 unequal: No Solution
Exploring Operation: 6*19=114, Resulting Numbers: [114]
114,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 36:[4, 70], Operations: ['72/18=4', '76-6=70']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,36 unequal: No Solution
Exploring Operation: 4*70=280, Resulting Numbers: [280]
280,36 unequal: No Solution
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 36:[6, 72], Operations: ['72/18=4', '76-4=72']
Exploring Operation: 6*72=432, Resulting Numbers: [432]
432,36 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,36 unequal: No Solution
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,36 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 36:[76, 2], Operations: ['72/18=4', '6-4=2']
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,36 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,36 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,36 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 36:[76, 10], Operations: ['72/18=4', '6+4=10']
Exploring Operation: 76*10=760, Resulting Numbers: [760]
760,36 unequal: No Solution
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,36 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,36 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: 36:[18, 76, 12], Operations: ['72/6=12']
Exploring Operation: 76-18=58, Resulting Numbers: [12, 58]
Generated Node #0,1,0: 36:[12, 58] Operation: 76-18=58
Exploring Operation: 18-12=6, Resulting Numbers: [76, 6]
Generated Node #0,1,1: 36:[76, 6] Operation: 18-12=6
Exploring Operation: 18+12=30, Resulting Numbers: [76, 30]
Generated Node #0,1,2: 36:[76, 30] Operation: 18+12=30
Exploring Operation: 76+12=88, Resulting Numbers: [18, 88]
Generated Node #0,1,3: 36:[18, 88] Operation: 76+12=88
Exploring Operation: 76-12=64, Resulting Numbers: [18, 64]
Generated Node #0,1,4: 36:[18, 64] Operation: 76-12=64
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[12, 58], Operations: ['72/6=12', '76-18=58']
Exploring Operation: 12*58=696, Resulting Numbers: [696]
696,36 unequal: No Solution
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,36 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 36:[18, 64], Operations: ['72/6=12', '76-12=64']
Exploring Operation: 18*64=1152, Resulting Numbers: [1152]
1152,36 unequal: No Solution
Exploring Operation: 18+64=82, Resulting Numbers: [82]
82,36 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[76, 6], Operations: ['72/6=12', '18-12=6']
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,36 unequal: No Solution
Exploring Operation: 76*6=456, Resulting Numbers: [456]
456,36 unequal: No Solution
Exploring Operation: 76+6=82, Resulting Numbers: [82]
82,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 36:[76, 30], Operations: ['72/6=12', '18+12=30']
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 76*30=2280, Resulting Numbers: [2280]
2280,36 unequal: No Solution
Exploring Operation: 76+30=106, Resulting Numbers: [106]
106,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 36:[18, 88], Operations: ['72/6=12', '76+12=88']
Exploring Operation: 18+88=106, Resulting Numbers: [106]
106,36 unequal: No Solution
Exploring Operation: 18*88=1584, Resulting Numbers: [1584]
1584,36 unequal: No Solution
Exploring Operation: 88-18=70, Resulting Numbers: [70]
70,36 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: 36:[72, 6, 58], Operations: ['76-18=58']
Exploring Operation: 72-6=66, Resulting Numbers: [58, 66]
Generated Node #0,3,0: 36:[58, 66] Operation: 72-6=66
Exploring Operation: 72/6=12, Resulting Numbers: [58, 12]
Generated Node #0,3,1: 36:[58, 12] Operation: 72/6=12
Exploring Operation: 72-58=14, Resulting Numbers: [6, 14]
Generated Node #0,3,2: 36:[6, 14] Operation: 72-58=14
Exploring Operation: 72+6=78, Resulting Numbers: [58, 78]
Generated Node #0,3,3: 36:[58, 78] Operation: 72+6=78
Exploring Operation: 58-6=52, Resulting Numbers: [72, 52]
Generated Node #0,3,4: 36:[72, 52] Operation: 58-6=52
Moving to Node #0,4
Current State: 36:[6, 76, 54], Operations: ['72-18=54']
Exploring Operation: 54-6=48, Resulting Numbers: [76, 48]
Generated Node #0,4,0: 36:[76, 48] Operation: 54-6=48
Exploring Operation: 54/6=9, Resulting Numbers: [76, 9]
Generated Node #0,4,1: 36:[76, 9] Operation: 54/6=9
Exploring Operation: 6+76=82, Resulting Numbers: [54, 82]
Generated Node #0,4,2: 36:[54, 82] Operation: 6+76=82
Exploring Operation: 76-6=70, Resulting Numbers: [54, 70]
Generated Node #0,4,3: 36:[54, 70] Operation: 76-6=70
Exploring Operation: 76-54=22, Resulting Numbers: [6, 22]
Generated Node #0,4,4: 36:[6, 22] Operation: 76-54=22
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 36:[6, 22], Operations: ['72-18=54', '76-54=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 36:[76, 9], Operations: ['72-18=54', '54/6=9']
Exploring Operation: 76*9=684, Resulting Numbers: [684]
684,36 unequal: No Solution
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,36 unequal: No Solution
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 36:[76, 48], Operations: ['72-18=54', '54-6=48']
Exploring Operation: 76+48=124, Resulting Numbers: [124]
124,36 unequal: No Solution
Exploring Operation: 76*48=3648, Resulting Numbers: [3648]
3648,36 unequal: No Solution
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 36:[54, 70], Operations: ['72-18=54', '76-6=70']
Exploring Operation: 54+70=124, Resulting Numbers: [124]
124,36 unequal: No Solution
Exploring Operation: 70-54=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 54*70=3780, Resulting Numbers: [3780]
3780,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 36:[54, 82], Operations: ['72-18=54', '6+76=82']
Exploring Operation: 54+82=136, Resulting Numbers: [136]
136,36 unequal: No Solution
Exploring Operation: 82-54=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Exploring Operation: 54*82=4428, Resulting Numbers: [4428]
4428,36 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: 36:[4, 12], Operations: ['76-72=4', '18-6=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Moving to Node #0,0,3
Current State: 36:[4, 3], Operations: ['76-72=4', '18/6=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[18, 2], Operations: ['76-72=4', '6-4=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[18, 72, 6, 76], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [18, 6, 4]
Generated Node #0,0: 36:[18, 6, 4] Operation: 76-72=4
Moving to Node #0,0
Current State: 36:[18, 6, 4], Operations: ['76-72=4']
Exploring Operation: 6-4=2, Resulting Numbers: [18, 2]
Generated Node #0,0,2: 36:[18, 2] Operation: 6-4=2
Moving to Node #0,0,2
Current State: 36:[18, 2], Operations: ['76-72=4', '6-4=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.921875 | hs_5 | sum_heuristic |
[
72,
67,
58,
22
] | 59 | [
"72+67=139",
"58+22=80",
"139-80=59"
] | Current State: 59:[72, 67, 58, 22], Operations: []
Exploring Operation: 72+67=139, Resulting Numbers: [58, 22, 139]
Generated Node #2: [58, 22, 139] from Operation: 72+67=139
Current State: 59:[58, 22, 139], Operations: ['72+67=139']
Exploring Operation: 58+22=80, Resulting Numbers: [139, 80]
Generated Node #3: [139, 80] from Operation: 58+22=80
Current State: 59:[139, 80], Operations: ['72+67=139', '58+22=80']
Exploring Operation: 139-80=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[72, 67, 58, 22], Operations: []
Exploring Operation: 72-22=50, Resulting Numbers: [67, 58, 50]
Generated Node #0,0: 59:[67, 58, 50] Operation: 72-22=50
Moving to Node #0,0
Current State: 59:[67, 58, 50], Operations: ['72-22=50']
Exploring Operation: 67-50=17, Resulting Numbers: [58, 17]
Generated Node #0,0,0: 59:[58, 17] Operation: 67-50=17
Moving to Node #0,0,0
Current State: 59:[58, 17], Operations: ['72-22=50', '67-50=17']
Exploring Operation: 58+17=75, Resulting Numbers: [75]
75,59 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
16,
79,
39,
53
] | 29 | [
"79-16=63",
"39+53=92",
"92-63=29"
] | Current State: 29:[16, 79, 39, 53], Operations: []
Exploring Operation: 79-16=63, Resulting Numbers: [39, 53, 63]
Generated Node #2: [39, 53, 63] from Operation: 79-16=63
Current State: 29:[39, 53, 63], Operations: ['79-16=63']
Exploring Operation: 39+53=92, Resulting Numbers: [63, 92]
Generated Node #3: [63, 92] from Operation: 39+53=92
Current State: 29:[63, 92], Operations: ['79-16=63', '39+53=92']
Exploring Operation: 92-63=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[16, 79, 39, 53], Operations: []
Exploring Operation: 79-53=26, Resulting Numbers: [16, 39, 26]
Generated Node #0,0: 29:[16, 39, 26] Operation: 79-53=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[16, 39, 26], Operations: ['79-53=26']
Exploring Operation: 39-16=23, Resulting Numbers: [26, 23]
Generated Node #0,0,0: 29:[26, 23] Operation: 39-16=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[26, 23], Operations: ['79-53=26', '39-16=23']
Exploring Operation: 26+23=49, Resulting Numbers: [49]
49,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_1 | mult_heuristic |
[
38,
60,
60,
46
] | 36 | [
"60-38=22",
"60-46=14",
"22+14=36"
] | Current State: 36:[38, 60, 60, 46], Operations: []
Exploring Operation: 60-38=22, Resulting Numbers: [46, 22]
Generated Node #2: [46, 22] from Operation: 60-38=22
Current State: 36:[46, 22], Operations: ['60-38=22']
Exploring Operation: 60-46=14, Resulting Numbers: [22, 14]
Generated Node #3: [22, 14] from Operation: 60-46=14
Current State: 36:[22, 14], Operations: ['60-38=22', '60-46=14']
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[38, 60, 60, 46], Operations: []
Exploring Operation: 60-46=14, Resulting Numbers: [38, 60, 14]
Generated Node #0,0: 36:[38, 60, 14] Operation: 60-46=14
Exploring Operation: 60/60=1, Resulting Numbers: [38, 46, 1]
Generated Node #0,1: 36:[38, 46, 1] Operation: 60/60=1
Exploring Operation: 60-60=0, Resulting Numbers: [38, 46, 0]
Generated Node #0,2: 36:[38, 46, 0] Operation: 60-60=0
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[38, 46, 1], Operations: ['60/60=1']
Exploring Operation: 46-1=45, Resulting Numbers: [38, 45]
Generated Node #0,1,0: 36:[38, 45] Operation: 46-1=45
Exploring Operation: 46-38=8, Resulting Numbers: [1, 8]
Generated Node #0,1,1: 36:[1, 8] Operation: 46-38=8
Exploring Operation: 38-1=37, Resulting Numbers: [46, 37]
Generated Node #0,1,2: 36:[46, 37] Operation: 38-1=37
Moving to Node #0,1,1
Current State: 36:[1, 8], Operations: ['60/60=1', '46-38=8']
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[38, 45], Operations: ['60/60=1', '46-1=45']
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,36 unequal: No Solution
Exploring Operation: 38*45=1710, Resulting Numbers: [1710]
1710,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[46, 37], Operations: ['60/60=1', '38-1=37']
Exploring Operation: 46+37=83, Resulting Numbers: [83]
83,36 unequal: No Solution
Exploring Operation: 46*37=1702, Resulting Numbers: [1702]
1702,36 unequal: No Solution
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[38, 46, 0], Operations: ['60-60=0']
Exploring Operation: 38+0=38, Resulting Numbers: [46, 38]
Generated Node #0,2,0: 36:[46, 38] Operation: 38+0=38
Exploring Operation: 46*0=0, Resulting Numbers: [38, 0]
Generated Node #0,2,1: 36:[38, 0] Operation: 46*0=0
Exploring Operation: 46-38=8, Resulting Numbers: [0, 8]
Generated Node #0,2,2: 36:[0, 8] Operation: 46-38=8
Moving to Node #0,2,2
Current State: 36:[0, 8], Operations: ['60-60=0', '46-38=8']
Exploring Operation: 0+8=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 8-0=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 0*8=0, Resulting Numbers: [0]
0,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[38, 0], Operations: ['60-60=0', '46*0=0']
Exploring Operation: 38-0=38, Resulting Numbers: [38]
38,36 unequal: No Solution
Exploring Operation: 38*0=0, Resulting Numbers: [0]
0,36 unequal: No Solution
Exploring Operation: 38+0=38, Resulting Numbers: [38]
38,36 unequal: No Solution
Moving to Node #0,2,0
Current State: 36:[46, 38], Operations: ['60-60=0', '38+0=38']
Exploring Operation: 46+38=84, Resulting Numbers: [84]
84,36 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 46*38=1748, Resulting Numbers: [1748]
1748,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[38, 60, 14], Operations: ['60-46=14']
Exploring Operation: 38-14=24, Resulting Numbers: [60, 24]
Generated Node #0,0,0: 36:[60, 24] Operation: 38-14=24
Exploring Operation: 60-14=46, Resulting Numbers: [38, 46]
Generated Node #0,0,1: 36:[38, 46] Operation: 60-14=46
Exploring Operation: 60-38=22, Resulting Numbers: [14, 22]
Generated Node #0,0,2: 36:[14, 22] Operation: 60-38=22
Moving to Node #0,0,2
Current State: 36:[14, 22], Operations: ['60-46=14', '60-38=22']
Exploring Operation: 14*22=308, Resulting Numbers: [308]
308,36 unequal: No Solution
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[38, 60, 60, 46], Operations: []
Exploring Operation: 60-46=14, Resulting Numbers: [38, 60, 14]
Generated Node #0,0: 36:[38, 60, 14] Operation: 60-46=14
Moving to Node #0,0
Current State: 36:[38, 60, 14], Operations: ['60-46=14']
Exploring Operation: 60-38=22, Resulting Numbers: [14, 22]
Generated Node #0,0,2: 36:[14, 22] Operation: 60-38=22
Moving to Node #0,0,2
Current State: 36:[14, 22], Operations: ['60-46=14', '60-38=22']
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_3 | sum_heuristic |
[
2,
50,
70,
87
] | 97 | [
"70-50=20",
"20/2=10",
"87+10=97"
] | Current State: 97:[2, 50, 70, 87], Operations: []
Exploring Operation: 70-50=20, Resulting Numbers: [2, 87, 20]
Generated Node #2: [2, 87, 20] from Operation: 70-50=20
Current State: 97:[2, 87, 20], Operations: ['70-50=20']
Exploring Operation: 20/2=10, Resulting Numbers: [87, 10]
Generated Node #3: [87, 10] from Operation: 20/2=10
Current State: 97:[87, 10], Operations: ['70-50=20', '20/2=10']
Exploring Operation: 87+10=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[2, 50, 70, 87], Operations: []
Exploring Operation: 50-2=48, Resulting Numbers: [70, 87, 48]
Generated Node #0,0: 97:[70, 87, 48] Operation: 50-2=48
Exploring Operation: 2+70=72, Resulting Numbers: [50, 87, 72]
Generated Node #0,1: 97:[50, 87, 72] Operation: 2+70=72
Exploring Operation: 2+87=89, Resulting Numbers: [50, 70, 89]
Generated Node #0,2: 97:[50, 70, 89] Operation: 2+87=89
Exploring Operation: 2*50=100, Resulting Numbers: [70, 87, 100]
Generated Node #0,3: 97:[70, 87, 100] Operation: 2*50=100
Exploring Operation: 2+50=52, Resulting Numbers: [70, 87, 52]
Generated Node #0,4: 97:[70, 87, 52] Operation: 2+50=52
Moving to Node #0,3
Current State: 97:[70, 87, 100], Operations: ['2*50=100']
Exploring Operation: 70+87=157, Resulting Numbers: [100, 157]
Generated Node #0,3,0: 97:[100, 157] Operation: 70+87=157
Exploring Operation: 87-70=17, Resulting Numbers: [100, 17]
Generated Node #0,3,1: 97:[100, 17] Operation: 87-70=17
Exploring Operation: 100-87=13, Resulting Numbers: [70, 13]
Generated Node #0,3,2: 97:[70, 13] Operation: 100-87=13
Exploring Operation: 100-70=30, Resulting Numbers: [87, 30]
Generated Node #0,3,3: 97:[87, 30] Operation: 100-70=30
Exploring Operation: 70+100=170, Resulting Numbers: [87, 170]
Generated Node #0,3,4: 97:[87, 170] Operation: 70+100=170
Moving to Node #0,2
Current State: 97:[50, 70, 89], Operations: ['2+87=89']
Exploring Operation: 70+89=159, Resulting Numbers: [50, 159]
Generated Node #0,2,0: 97:[50, 159] Operation: 70+89=159
Exploring Operation: 50+89=139, Resulting Numbers: [70, 139]
Generated Node #0,2,1: 97:[70, 139] Operation: 50+89=139
Exploring Operation: 50+70=120, Resulting Numbers: [89, 120]
Generated Node #0,2,2: 97:[89, 120] Operation: 50+70=120
Exploring Operation: 89-50=39, Resulting Numbers: [70, 39]
Generated Node #0,2,3: 97:[70, 39] Operation: 89-50=39
Exploring Operation: 70-50=20, Resulting Numbers: [89, 20]
Generated Node #0,2,4: 97:[89, 20] Operation: 70-50=20
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[89, 120], Operations: ['2+87=89', '50+70=120']
Exploring Operation: 89*120=10680, Resulting Numbers: [10680]
10680,97 unequal: No Solution
Exploring Operation: 120-89=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 89+120=209, Resulting Numbers: [209]
209,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:[70, 139], Operations: ['2+87=89', '50+89=139']
Exploring Operation: 70+139=209, Resulting Numbers: [209]
209,97 unequal: No Solution
Exploring Operation: 70*139=9730, Resulting Numbers: [9730]
9730,97 unequal: No Solution
Exploring Operation: 139-70=69, Resulting Numbers: [69]
69,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:[70, 39], Operations: ['2+87=89', '89-50=39']
Exploring Operation: 70*39=2730, Resulting Numbers: [2730]
2730,97 unequal: No Solution
Exploring Operation: 70+39=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,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,4
Current State: 97:[89, 20], Operations: ['2+87=89', '70-50=20']
Exploring Operation: 89-20=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Exploring Operation: 89+20=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Exploring Operation: 89*20=1780, Resulting Numbers: [1780]
1780,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:[50, 159], Operations: ['2+87=89', '70+89=159']
Exploring Operation: 50*159=7950, Resulting Numbers: [7950]
7950,97 unequal: No Solution
Exploring Operation: 159-50=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Exploring Operation: 50+159=209, Resulting Numbers: [209]
209,97 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: 97:[50, 87, 72], Operations: ['2+70=72']
Exploring Operation: 87-50=37, Resulting Numbers: [72, 37]
Generated Node #0,1,0: 97:[72, 37] Operation: 87-50=37
Exploring Operation: 50+72=122, Resulting Numbers: [87, 122]
Generated Node #0,1,1: 97:[87, 122] Operation: 50+72=122
Exploring Operation: 72-50=22, Resulting Numbers: [87, 22]
Generated Node #0,1,2: 97:[87, 22] Operation: 72-50=22
Exploring Operation: 50+87=137, Resulting Numbers: [72, 137]
Generated Node #0,1,3: 97:[72, 137] Operation: 50+87=137
Exploring Operation: 87+72=159, Resulting Numbers: [50, 159]
Generated Node #0,1,4: 97:[50, 159] Operation: 87+72=159
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[87, 122], Operations: ['2+70=72', '50+72=122']
Exploring Operation: 87*122=10614, Resulting Numbers: [10614]
10614,97 unequal: No Solution
Exploring Operation: 122-87=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Exploring Operation: 87+122=209, Resulting Numbers: [209]
209,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:[72, 137], Operations: ['2+70=72', '50+87=137']
Exploring Operation: 137-72=65, Resulting Numbers: [65]
65,97 unequal: No Solution
Exploring Operation: 72*137=9864, Resulting Numbers: [9864]
9864,97 unequal: No Solution
Exploring Operation: 72+137=209, Resulting Numbers: [209]
209,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:[72, 37], Operations: ['2+70=72', '87-50=37']
Exploring Operation: 72*37=2664, Resulting Numbers: [2664]
2664,97 unequal: No Solution
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Exploring Operation: 72+37=109, Resulting Numbers: [109]
109,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:[87, 22], Operations: ['2+70=72', '72-50=22']
Exploring Operation: 87*22=1914, Resulting Numbers: [1914]
1914,97 unequal: No Solution
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,97 unequal: No Solution
Exploring Operation: 87+22=109, Resulting Numbers: [109]
109,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,4
Current State: 97:[50, 159], Operations: ['2+70=72', '87+72=159']
Exploring Operation: 50+159=209, Resulting Numbers: [209]
209,97 unequal: No Solution
Exploring Operation: 159-50=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Exploring Operation: 50*159=7950, Resulting Numbers: [7950]
7950,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:[70, 87, 52], Operations: ['2+50=52']
Exploring Operation: 70+87=157, Resulting Numbers: [52, 157]
Generated Node #0,4,0: 97:[52, 157] Operation: 70+87=157
Exploring Operation: 87-52=35, Resulting Numbers: [70, 35]
Generated Node #0,4,1: 97:[70, 35] Operation: 87-52=35
Exploring Operation: 70+52=122, Resulting Numbers: [87, 122]
Generated Node #0,4,2: 97:[87, 122] Operation: 70+52=122
Exploring Operation: 70-52=18, Resulting Numbers: [87, 18]
Generated Node #0,4,3: 97:[87, 18] Operation: 70-52=18
Exploring Operation: 87+52=139, Resulting Numbers: [70, 139]
Generated Node #0,4,4: 97:[70, 139] Operation: 87+52=139
Moving to Node #0,0
Current State: 97:[70, 87, 48], Operations: ['50-2=48']
Exploring Operation: 87-48=39, Resulting Numbers: [70, 39]
Generated Node #0,0,0: 97:[70, 39] Operation: 87-48=39
Exploring Operation: 87+48=135, Resulting Numbers: [70, 135]
Generated Node #0,0,1: 97:[70, 135] Operation: 87+48=135
Exploring Operation: 70+48=118, Resulting Numbers: [87, 118]
Generated Node #0,0,2: 97:[87, 118] Operation: 70+48=118
Exploring Operation: 70-48=22, Resulting Numbers: [87, 22]
Generated Node #0,0,3: 97:[87, 22] Operation: 70-48=22
Exploring Operation: 70+87=157, Resulting Numbers: [48, 157]
Generated Node #0,0,4: 97:[48, 157] Operation: 70+87=157
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[87, 118], Operations: ['50-2=48', '70+48=118']
Exploring Operation: 118-87=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 87*118=10266, Resulting Numbers: [10266]
10266,97 unequal: No Solution
Exploring Operation: 87+118=205, Resulting Numbers: [205]
205,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[70, 135], Operations: ['50-2=48', '87+48=135']
Exploring Operation: 135-70=65, Resulting Numbers: [65]
65,97 unequal: No Solution
Exploring Operation: 70+135=205, Resulting Numbers: [205]
205,97 unequal: No Solution
Exploring Operation: 70*135=9450, Resulting Numbers: [9450]
9450,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[70, 39], Operations: ['50-2=48', '87-48=39']
Exploring Operation: 70*39=2730, Resulting Numbers: [2730]
2730,97 unequal: No Solution
Exploring Operation: 70+39=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 97:[87, 22], Operations: ['50-2=48', '70-48=22']
Exploring Operation: 87+22=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Exploring Operation: 87*22=1914, Resulting Numbers: [1914]
1914,97 unequal: No Solution
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 97:[48, 157], Operations: ['50-2=48', '70+87=157']
Exploring Operation: 48+157=205, Resulting Numbers: [205]
205,97 unequal: No Solution
Exploring Operation: 48*157=7536, Resulting Numbers: [7536]
7536,97 unequal: No Solution
Exploring Operation: 157-48=109, Resulting Numbers: [109]
109,97 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: 97:[87, 122], Operations: ['2+50=52', '70+52=122']
Exploring Operation: 122-87=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Exploring Operation: 87+122=209, Resulting Numbers: [209]
209,97 unequal: No Solution
Exploring Operation: 87*122=10614, Resulting Numbers: [10614]
10614,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[100, 157], Operations: ['2*50=100', '70+87=157']
Exploring Operation: 100+157=257, Resulting Numbers: [257]
257,97 unequal: No Solution
Exploring Operation: 100*157=15700, Resulting Numbers: [15700]
15700,97 unequal: No Solution
Exploring Operation: 157-100=57, Resulting Numbers: [57]
57,97 unequal: No Solution
Moving to Node #0,4,4
Current State: 97:[70, 139], Operations: ['2+50=52', '87+52=139']
Exploring Operation: 70+139=209, Resulting Numbers: [209]
209,97 unequal: No Solution
Exploring Operation: 70*139=9730, Resulting Numbers: [9730]
9730,97 unequal: No Solution
Exploring Operation: 139-70=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[87, 30], Operations: ['2*50=100', '100-70=30']
Exploring Operation: 87+30=117, Resulting Numbers: [117]
117,97 unequal: No Solution
Exploring Operation: 87*30=2610, Resulting Numbers: [2610]
2610,97 unequal: No Solution
Exploring Operation: 87-30=57, Resulting Numbers: [57]
57,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[100, 17], Operations: ['2*50=100', '87-70=17']
Exploring Operation: 100-17=83, Resulting Numbers: [83]
83,97 unequal: No Solution
Exploring Operation: 100*17=1700, Resulting Numbers: [1700]
1700,97 unequal: No Solution
Exploring Operation: 100+17=117, Resulting Numbers: [117]
117,97 unequal: No Solution
Moving to Node #0,3,4
Current State: 97:[87, 170], Operations: ['2*50=100', '70+100=170']
Exploring Operation: 170-87=83, Resulting Numbers: [83]
83,97 unequal: No Solution
Exploring Operation: 87+170=257, Resulting Numbers: [257]
257,97 unequal: No Solution
Exploring Operation: 87*170=14790, Resulting Numbers: [14790]
14790,97 unequal: No Solution
Moving to Node #0,4,3
Current State: 97:[87, 18], Operations: ['2+50=52', '70-52=18']
Exploring Operation: 87*18=1566, Resulting Numbers: [1566]
1566,97 unequal: No Solution
Exploring Operation: 87+18=105, Resulting Numbers: [105]
105,97 unequal: No Solution
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Moving to Node #0,4,1
Current State: 97:[70, 35], Operations: ['2+50=52', '87-52=35']
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Exploring Operation: 70/35=2, Resulting Numbers: [2]
2,97 unequal: No Solution
Exploring Operation: 70*35=2450, Resulting Numbers: [2450]
2450,97 unequal: No Solution
Exploring Operation: 70+35=105, Resulting Numbers: [105]
105,97 unequal: No Solution
Moving to Node #0,4,0
Current State: 97:[52, 157], Operations: ['2+50=52', '70+87=157']
Exploring Operation: 52+157=209, Resulting Numbers: [209]
209,97 unequal: No Solution
Exploring Operation: 52*157=8164, Resulting Numbers: [8164]
8164,97 unequal: No Solution
Exploring Operation: 157-52=105, Resulting Numbers: [105]
105,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[70, 13], Operations: ['2*50=100', '100-87=13']
Exploring Operation: 70+13=83, Resulting Numbers: [83]
83,97 unequal: No Solution
Exploring Operation: 70*13=910, Resulting Numbers: [910]
910,97 unequal: No Solution
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,97 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
5,
14,
88,
81
] | 26 | [
"5+14=19",
"88-81=7",
"19+7=26"
] | Current State: 26:[5, 14, 88, 81], Operations: []
Exploring Operation: 5+14=19, Resulting Numbers: [88, 81, 19]
Generated Node #2: [88, 81, 19] from Operation: 5+14=19
Current State: 26:[88, 81, 19], Operations: ['5+14=19']
Exploring Operation: 88-81=7, Resulting Numbers: [19, 7]
Generated Node #3: [19, 7] from Operation: 88-81=7
Current State: 26:[19, 7], Operations: ['5+14=19', '88-81=7']
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[5, 14, 88, 81], Operations: []
Exploring Operation: 88-14=74, Resulting Numbers: [5, 81, 74]
Generated Node #0,0: 26:[5, 81, 74] Operation: 88-14=74
Exploring Operation: 81-14=67, Resulting Numbers: [5, 88, 67]
Generated Node #0,1: 26:[5, 88, 67] Operation: 81-14=67
Exploring Operation: 88-81=7, Resulting Numbers: [5, 14, 7]
Generated Node #0,2: 26:[5, 14, 7] Operation: 88-81=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[5, 14, 7], Operations: ['88-81=7']
Exploring Operation: 14/7=2, Resulting Numbers: [5, 2]
Generated Node #0,2,0: 26:[5, 2] Operation: 14/7=2
Exploring Operation: 7-5=2, Resulting Numbers: [14, 2]
Generated Node #0,2,1: 26:[14, 2] Operation: 7-5=2
Exploring Operation: 5+7=12, Resulting Numbers: [14, 12]
Generated Node #0,2,2: 26:[14, 12] Operation: 5+7=12
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 26:[14, 2], Operations: ['88-81=7', '7-5=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 26:[14, 12], Operations: ['88-81=7', '5+7=12']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[5, 14, 88, 81], Operations: []
Exploring Operation: 88-81=7, Resulting Numbers: [5, 14, 7]
Generated Node #0,2: 26:[5, 14, 7] Operation: 88-81=7
Moving to Node #0,2
Current State: 26:[5, 14, 7], Operations: ['88-81=7']
Exploring Operation: 5+7=12, Resulting Numbers: [14, 12]
Generated Node #0,2,2: 26:[14, 12] Operation: 5+7=12
Moving to Node #0,2,2
Current State: 26:[14, 12], Operations: ['88-81=7', '5+7=12']
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
43,
56,
6,
2
] | 73 | [
"43*6=258",
"258/2=129",
"129-56=73"
] | Current State: 73:[43, 56, 6, 2], Operations: []
Exploring Operation: 43*6=258, Resulting Numbers: [56, 2, 258]
Generated Node #2: [56, 2, 258] from Operation: 43*6=258
Current State: 73:[56, 2, 258], Operations: ['43*6=258']
Exploring Operation: 258/2=129, Resulting Numbers: [56, 129]
Generated Node #3: [56, 129] from Operation: 258/2=129
Current State: 73:[56, 129], Operations: ['43*6=258', '258/2=129']
Exploring Operation: 129-56=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[43, 56, 6, 2], Operations: []
Exploring Operation: 43+2=45, Resulting Numbers: [56, 6, 45]
Generated Node #0,0: 73:[56, 6, 45] Operation: 43+2=45
Exploring Operation: 43+6=49, Resulting Numbers: [56, 2, 49]
Generated Node #0,1: 73:[56, 2, 49] Operation: 43+6=49
Exploring Operation: 6*2=12, Resulting Numbers: [43, 56, 12]
Generated Node #0,2: 73:[43, 56, 12] Operation: 6*2=12
Exploring Operation: 43*2=86, Resulting Numbers: [56, 6, 86]
Generated Node #0,3: 73:[56, 6, 86] Operation: 43*2=86
Moving to Node #0,3
Current State: 73:[56, 6, 86], Operations: ['43*2=86']
Exploring Operation: 86-6=80, Resulting Numbers: [56, 80]
Generated Node #0,3,0: 73:[56, 80] Operation: 86-6=80
Exploring Operation: 56-6=50, Resulting Numbers: [86, 50]
Generated Node #0,3,1: 73:[86, 50] Operation: 56-6=50
Exploring Operation: 56+6=62, Resulting Numbers: [86, 62]
Generated Node #0,3,2: 73:[86, 62] Operation: 56+6=62
Exploring Operation: 6+86=92, Resulting Numbers: [56, 92]
Generated Node #0,3,3: 73:[56, 92] Operation: 6+86=92
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 73:[56, 80], Operations: ['43*2=86', '86-6=80']
Exploring Operation: 80-56=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 56+80=136, Resulting Numbers: [136]
136,73 unequal: No Solution
Exploring Operation: 56*80=4480, Resulting Numbers: [4480]
4480,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 73:[86, 62], Operations: ['43*2=86', '56+6=62']
Exploring Operation: 86+62=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 86*62=5332, Resulting Numbers: [5332]
5332,73 unequal: No Solution
Exploring Operation: 86-62=24, Resulting Numbers: [24]
24,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 73:[86, 50], Operations: ['43*2=86', '56-6=50']
Exploring Operation: 86+50=136, Resulting Numbers: [136]
136,73 unequal: No Solution
Exploring Operation: 86*50=4300, Resulting Numbers: [4300]
4300,73 unequal: No Solution
Exploring Operation: 86-50=36, Resulting Numbers: [36]
36,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 73:[56, 92], Operations: ['43*2=86', '6+86=92']
Exploring Operation: 56*92=5152, Resulting Numbers: [5152]
5152,73 unequal: No Solution
Exploring Operation: 92-56=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 56+92=148, Resulting Numbers: [148]
148,73 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: 73:[43, 56, 12], Operations: ['6*2=12']
Exploring Operation: 43-12=31, Resulting Numbers: [56, 31]
Generated Node #0,2,0: 73:[56, 31] Operation: 43-12=31
Exploring Operation: 56+12=68, Resulting Numbers: [43, 68]
Generated Node #0,2,1: 73:[43, 68] Operation: 56+12=68
Exploring Operation: 43+12=55, Resulting Numbers: [56, 55]
Generated Node #0,2,2: 73:[56, 55] Operation: 43+12=55
Exploring Operation: 56-12=44, Resulting Numbers: [43, 44]
Generated Node #0,2,3: 73:[43, 44] Operation: 56-12=44
Moving to Node #0,1
Current State: 73:[56, 2, 49], Operations: ['43+6=49']
Exploring Operation: 2*49=98, Resulting Numbers: [56, 98]
Generated Node #0,1,0: 73:[56, 98] Operation: 2*49=98
Exploring Operation: 2+49=51, Resulting Numbers: [56, 51]
Generated Node #0,1,1: 73:[56, 51] Operation: 2+49=51
Exploring Operation: 56-2=54, Resulting Numbers: [49, 54]
Generated Node #0,1,2: 73:[49, 54] Operation: 56-2=54
Exploring Operation: 56+2=58, Resulting Numbers: [49, 58]
Generated Node #0,1,3: 73:[49, 58] Operation: 56+2=58
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[56, 51], Operations: ['43+6=49', '2+49=51']
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,73 unequal: No Solution
Exploring Operation: 56+51=107, Resulting Numbers: [107]
107,73 unequal: No Solution
Exploring Operation: 56*51=2856, Resulting Numbers: [2856]
2856,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 73:[49, 58], Operations: ['43+6=49', '56+2=58']
Exploring Operation: 49+58=107, Resulting Numbers: [107]
107,73 unequal: No Solution
Exploring Operation: 49*58=2842, Resulting Numbers: [2842]
2842,73 unequal: No Solution
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[56, 98], Operations: ['43+6=49', '2*49=98']
Exploring Operation: 56*98=5488, Resulting Numbers: [5488]
5488,73 unequal: No Solution
Exploring Operation: 56+98=154, Resulting Numbers: [154]
154,73 unequal: No Solution
Exploring Operation: 98-56=42, Resulting Numbers: [42]
42,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[49, 54], Operations: ['43+6=49', '56-2=54']
Exploring Operation: 49+54=103, Resulting Numbers: [103]
103,73 unequal: No Solution
Exploring Operation: 54-49=5, Resulting Numbers: [5]
5,73 unequal: No Solution
Exploring Operation: 49*54=2646, Resulting Numbers: [2646]
2646,73 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: 73:[56, 6, 45], Operations: ['43+2=45']
Exploring Operation: 56-6=50, Resulting Numbers: [45, 50]
Generated Node #0,0,0: 73:[45, 50] Operation: 56-6=50
Exploring Operation: 6+45=51, Resulting Numbers: [56, 51]
Generated Node #0,0,1: 73:[56, 51] Operation: 6+45=51
Exploring Operation: 56+6=62, Resulting Numbers: [45, 62]
Generated Node #0,0,2: 73:[45, 62] Operation: 56+6=62
Exploring Operation: 45-6=39, Resulting Numbers: [56, 39]
Generated Node #0,0,3: 73:[56, 39] Operation: 45-6=39
Moving to Node #0,2,1
Current State: 73:[43, 68], Operations: ['6*2=12', '56+12=68']
Exploring Operation: 43*68=2924, Resulting Numbers: [2924]
2924,73 unequal: No Solution
Exploring Operation: 43+68=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[56, 55], Operations: ['6*2=12', '43+12=55']
Exploring Operation: 56+55=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 56*55=3080, Resulting Numbers: [3080]
3080,73 unequal: No Solution
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[45, 62], Operations: ['43+2=45', '56+6=62']
Exploring Operation: 45+62=107, Resulting Numbers: [107]
107,73 unequal: No Solution
Exploring Operation: 45*62=2790, Resulting Numbers: [2790]
2790,73 unequal: No Solution
Exploring Operation: 62-45=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[56, 51], Operations: ['43+2=45', '6+45=51']
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,73 unequal: No Solution
Exploring Operation: 56*51=2856, Resulting Numbers: [2856]
2856,73 unequal: No Solution
Exploring Operation: 56+51=107, Resulting Numbers: [107]
107,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[45, 50], Operations: ['43+2=45', '56-6=50']
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,73 unequal: No Solution
Exploring Operation: 45*50=2250, Resulting Numbers: [2250]
2250,73 unequal: No Solution
Exploring Operation: 45+50=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[56, 39], Operations: ['43+2=45', '45-6=39']
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 56*39=2184, Resulting Numbers: [2184]
2184,73 unequal: No Solution
Exploring Operation: 56+39=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[56, 31], Operations: ['6*2=12', '43-12=31']
Exploring Operation: 56+31=87, Resulting Numbers: [87]
87,73 unequal: No Solution
Exploring Operation: 56*31=1736, Resulting Numbers: [1736]
1736,73 unequal: No Solution
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[43, 44], Operations: ['6*2=12', '56-12=44']
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 43*44=1892, Resulting Numbers: [1892]
1892,73 unequal: No Solution
Exploring Operation: 43+44=87, Resulting Numbers: [87]
87,73 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
95,
5,
18,
79
] | 84 | [
"95-5=90",
"90/18=5",
"79+5=84"
] | Current State: 84:[95, 5, 18, 79], Operations: []
Exploring Operation: 95-5=90, Resulting Numbers: [18, 79, 90]
Generated Node #2: [18, 79, 90] from Operation: 95-5=90
Current State: 84:[18, 79, 90], Operations: ['95-5=90']
Exploring Operation: 90/18=5, Resulting Numbers: [79, 5]
Generated Node #3: [79, 5] from Operation: 90/18=5
Current State: 84:[79, 5], Operations: ['95-5=90', '90/18=5']
Exploring Operation: 79+5=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[95, 5, 18, 79], Operations: []
Exploring Operation: 95/5=19, Resulting Numbers: [18, 79, 19]
Generated Node #0,0: 84:[18, 79, 19] Operation: 95/5=19
Exploring Operation: 95-18=77, Resulting Numbers: [5, 79, 77]
Generated Node #0,1: 84:[5, 79, 77] Operation: 95-18=77
Exploring Operation: 95-79=16, Resulting Numbers: [5, 18, 16]
Generated Node #0,2: 84:[5, 18, 16] Operation: 95-79=16
Moving to Node #0,2
Current State: 84:[5, 18, 16], Operations: ['95-79=16']
Exploring Operation: 5+16=21, Resulting Numbers: [18, 21]
Generated Node #0,2,0: 84:[18, 21] Operation: 5+16=21
Exploring Operation: 18-5=13, Resulting Numbers: [16, 13]
Generated Node #0,2,1: 84:[16, 13] Operation: 18-5=13
Exploring Operation: 18-16=2, Resulting Numbers: [5, 2]
Generated Node #0,2,2: 84:[5, 2] Operation: 18-16=2
Moving to Node #0,0
Current State: 84:[18, 79, 19], Operations: ['95/5=19']
Exploring Operation: 19-18=1, Resulting Numbers: [79, 1]
Generated Node #0,0,0: 84:[79, 1] Operation: 19-18=1
Exploring Operation: 18+19=37, Resulting Numbers: [79, 37]
Generated Node #0,0,1: 84:[79, 37] Operation: 18+19=37
Exploring Operation: 18+79=97, Resulting Numbers: [19, 97]
Generated Node #0,0,2: 84:[19, 97] Operation: 18+79=97
Moving to Node #0,1
Current State: 84:[5, 79, 77], Operations: ['95-18=77']
Exploring Operation: 5+79=84, Resulting Numbers: [77, 84]
Generated Node #0,1,0: 84:[77, 84] Operation: 5+79=84
Exploring Operation: 5+77=82, Resulting Numbers: [79, 82]
Generated Node #0,1,1: 84:[79, 82] Operation: 5+77=82
Exploring Operation: 79-77=2, Resulting Numbers: [5, 2]
Generated Node #0,1,2: 84:[5, 2] Operation: 79-77=2
Moving to Node #0,2,2
Current State: 84:[5, 2], Operations: ['95-79=16', '18-16=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[5, 2], Operations: ['95-18=77', '79-77=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[16, 13], Operations: ['95-79=16', '18-5=13']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,84 unequal: No Solution
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[18, 21], Operations: ['95-79=16', '5+16=21']
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,84 unequal: No Solution
Exploring Operation: 18*21=378, Resulting Numbers: [378]
378,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[79, 1], Operations: ['95/5=19', '19-18=1']
Exploring Operation: 79+1=80, Resulting Numbers: [80]
80,84 unequal: No Solution
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,84 unequal: No Solution
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[79, 82], Operations: ['95-18=77', '5+77=82']
Exploring Operation: 82-79=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Exploring Operation: 79+82=161, Resulting Numbers: [161]
161,84 unequal: No Solution
Exploring Operation: 79*82=6478, Resulting Numbers: [6478]
6478,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[77, 84], Operations: ['95-18=77', '5+79=84']
Exploring Operation: 77*84=6468, Resulting Numbers: [6468]
6468,84 unequal: No Solution
Exploring Operation: 84-77=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 77+84=161, Resulting Numbers: [161]
161,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[79, 37], Operations: ['95/5=19', '18+19=37']
Exploring Operation: 79+37=116, Resulting Numbers: [116]
116,84 unequal: No Solution
Exploring Operation: 79-37=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Exploring Operation: 79*37=2923, Resulting Numbers: [2923]
2923,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[19, 97], Operations: ['95/5=19', '18+79=97']
Exploring Operation: 19*97=1843, Resulting Numbers: [1843]
1843,84 unequal: No Solution
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,84 unequal: No Solution
Exploring Operation: 19+97=116, Resulting Numbers: [116]
116,84 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
15,
75,
6,
16
] | 26 | [
"75-15=60",
"60/6=10",
"16+10=26"
] | Current State: 26:[15, 75, 6, 16], Operations: []
Exploring Operation: 75-15=60, Resulting Numbers: [6, 16, 60]
Generated Node #2: [6, 16, 60] from Operation: 75-15=60
Current State: 26:[6, 16, 60], Operations: ['75-15=60']
Exploring Operation: 60/6=10, Resulting Numbers: [16, 10]
Generated Node #3: [16, 10] from Operation: 60/6=10
Current State: 26:[16, 10], Operations: ['75-15=60', '60/6=10']
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[15, 75, 6, 16], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [6, 16, 5]
Generated Node #0,0: 26:[6, 16, 5] Operation: 75/15=5
Moving to Node #0,0
Current State: 26:[6, 16, 5], Operations: ['75/15=5']
Exploring Operation: 6-5=1, Resulting Numbers: [16, 1]
Generated Node #0,0,0: 26:[16, 1] Operation: 6-5=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[16, 1], Operations: ['75/15=5', '6-5=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
35,
54,
55,
24
] | 98 | [
"54-35=19",
"55+24=79",
"19+79=98"
] | Current State: 98:[35, 54, 55, 24], Operations: []
Exploring Operation: 54-35=19, Resulting Numbers: [55, 24, 19]
Generated Node #2: [55, 24, 19] from Operation: 54-35=19
Current State: 98:[55, 24, 19], Operations: ['54-35=19']
Exploring Operation: 55+24=79, Resulting Numbers: [19, 79]
Generated Node #3: [19, 79] from Operation: 55+24=79
Current State: 98:[19, 79], Operations: ['54-35=19', '55+24=79']
Exploring Operation: 19+79=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[35, 54, 55, 24], Operations: []
Exploring Operation: 54-35=19, Resulting Numbers: [55, 24, 19]
Generated Node #0,0: 98:[55, 24, 19] Operation: 54-35=19
Exploring Operation: 35-24=11, Resulting Numbers: [54, 55, 11]
Generated Node #0,1: 98:[54, 55, 11] Operation: 35-24=11
Exploring Operation: 55-35=20, Resulting Numbers: [54, 24, 20]
Generated Node #0,2: 98:[54, 24, 20] Operation: 55-35=20
Exploring Operation: 35+24=59, Resulting Numbers: [54, 55, 59]
Generated Node #0,3: 98:[54, 55, 59] Operation: 35+24=59
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[54, 55, 11], Operations: ['35-24=11']
Exploring Operation: 55-54=1, Resulting Numbers: [11, 1]
Generated Node #0,1,0: 98:[11, 1] Operation: 55-54=1
Exploring Operation: 55/11=5, Resulting Numbers: [54, 5]
Generated Node #0,1,1: 98:[54, 5] Operation: 55/11=5
Exploring Operation: 54-11=43, Resulting Numbers: [55, 43]
Generated Node #0,1,2: 98:[55, 43] Operation: 54-11=43
Exploring Operation: 55-11=44, Resulting Numbers: [54, 44]
Generated Node #0,1,3: 98:[54, 44] Operation: 55-11=44
Moving to Node #0,1,0
Current State: 98:[11, 1], Operations: ['35-24=11', '55-54=1']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[54, 5], Operations: ['35-24=11', '55/11=5']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 54+5=59, Resulting Numbers: [59]
59,98 unequal: No Solution
Exploring Operation: 54*5=270, Resulting Numbers: [270]
270,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[54, 44], Operations: ['35-24=11', '55-11=44']
Exploring Operation: 54+44=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[35, 54, 55, 24], Operations: []
Exploring Operation: 35-24=11, Resulting Numbers: [54, 55, 11]
Generated Node #0,1: 98:[54, 55, 11] Operation: 35-24=11
Moving to Node #0,1
Current State: 98:[54, 55, 11], Operations: ['35-24=11']
Exploring Operation: 55-11=44, Resulting Numbers: [54, 44]
Generated Node #0,1,3: 98:[54, 44] Operation: 55-11=44
Moving to Node #0,1,3
Current State: 98:[54, 44], Operations: ['35-24=11', '55-11=44']
Exploring Operation: 54+44=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
58,
46,
25,
85
] | 48 | [
"58-46=12",
"85-25=60",
"60-12=48"
] | Current State: 48:[58, 46, 25, 85], Operations: []
Exploring Operation: 58-46=12, Resulting Numbers: [25, 85, 12]
Generated Node #2: [25, 85, 12] from Operation: 58-46=12
Current State: 48:[25, 85, 12], Operations: ['58-46=12']
Exploring Operation: 85-25=60, Resulting Numbers: [12, 60]
Generated Node #3: [12, 60] from Operation: 85-25=60
Current State: 48:[12, 60], Operations: ['58-46=12', '85-25=60']
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[58, 46, 25, 85], Operations: []
Exploring Operation: 85-58=27, Resulting Numbers: [46, 25, 27]
Generated Node #0,0: 48:[46, 25, 27] Operation: 85-58=27
Exploring Operation: 85-46=39, Resulting Numbers: [58, 25, 39]
Generated Node #0,1: 48:[58, 25, 39] Operation: 85-46=39
Moving to Node #0,0
Current State: 48:[46, 25, 27], Operations: ['85-58=27']
Exploring Operation: 46-27=19, Resulting Numbers: [25, 19]
Generated Node #0,0,0: 48:[25, 19] Operation: 46-27=19
Exploring Operation: 27-25=2, Resulting Numbers: [46, 2]
Generated Node #0,0,1: 48:[46, 2] Operation: 27-25=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[46, 2], Operations: ['85-58=27', '27-25=2']
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[58, 46, 25, 85], Operations: []
Exploring Operation: 85-58=27, Resulting Numbers: [46, 25, 27]
Generated Node #0,0: 48:[46, 25, 27] Operation: 85-58=27
Moving to Node #0,0
Current State: 48:[46, 25, 27], Operations: ['85-58=27']
Exploring Operation: 27-25=2, Resulting Numbers: [46, 2]
Generated Node #0,0,1: 48:[46, 2] Operation: 27-25=2
Moving to Node #0,0,1
Current State: 48:[46, 2], Operations: ['85-58=27', '27-25=2']
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
89,
2,
87,
49
] | 39 | [
"89+87=176",
"176/2=88",
"88-49=39"
] | Current State: 39:[89, 2, 87, 49], Operations: []
Exploring Operation: 89+87=176, Resulting Numbers: [2, 49, 176]
Generated Node #2: [2, 49, 176] from Operation: 89+87=176
Current State: 39:[2, 49, 176], Operations: ['89+87=176']
Exploring Operation: 176/2=88, Resulting Numbers: [49, 88]
Generated Node #3: [49, 88] from Operation: 176/2=88
Current State: 39:[49, 88], Operations: ['89+87=176', '176/2=88']
Exploring Operation: 88-49=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[89, 2, 87, 49], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [2, 49, 2]
Generated Node #0,0: 39:[2, 49, 2] Operation: 89-87=2
Moving to Node #0,0
Current State: 39:[2, 49, 2], Operations: ['89-87=2']
Exploring Operation: 49-2=47, Resulting Numbers: [2, 47]
Generated Node #0,0,0: 39:[2, 47] Operation: 49-2=47
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[2, 47], Operations: ['89-87=2', '49-2=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
80,
99,
6,
4
] | 61 | [
"6-4=2",
"80*2=160",
"160-99=61"
] | Current State: 61:[80, 99, 6, 4], Operations: []
Exploring Operation: 6-4=2, Resulting Numbers: [80, 99, 2]
Generated Node #2: [80, 99, 2] from Operation: 6-4=2
Current State: 61:[80, 99, 2], Operations: ['6-4=2']
Exploring Operation: 80*2=160, Resulting Numbers: [99, 160]
Generated Node #3: [99, 160] from Operation: 80*2=160
Current State: 61:[99, 160], Operations: ['6-4=2', '80*2=160']
Exploring Operation: 160-99=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[80, 99, 6, 4], Operations: []
Exploring Operation: 6*4=24, Resulting Numbers: [80, 99, 24]
Generated Node #0,0: 61:[80, 99, 24] Operation: 6*4=24
Exploring Operation: 99-4=95, Resulting Numbers: [80, 6, 95]
Generated Node #0,1: 61:[80, 6, 95] Operation: 99-4=95
Exploring Operation: 80-6=74, Resulting Numbers: [99, 4, 74]
Generated Node #0,2: 61:[99, 4, 74] Operation: 80-6=74
Exploring Operation: 80-4=76, Resulting Numbers: [99, 6, 76]
Generated Node #0,3: 61:[99, 6, 76] Operation: 80-4=76
Exploring Operation: 99-6=93, Resulting Numbers: [80, 4, 93]
Generated Node #0,4: 61:[80, 4, 93] Operation: 99-6=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[80, 99, 24], Operations: ['6*4=24']
Exploring Operation: 80-24=56, Resulting Numbers: [99, 56]
Generated Node #0,0,0: 61:[99, 56] Operation: 80-24=56
Exploring Operation: 99+24=123, Resulting Numbers: [80, 123]
Generated Node #0,0,1: 61:[80, 123] Operation: 99+24=123
Exploring Operation: 99-24=75, Resulting Numbers: [80, 75]
Generated Node #0,0,2: 61:[80, 75] Operation: 99-24=75
Exploring Operation: 80+24=104, Resulting Numbers: [99, 104]
Generated Node #0,0,3: 61:[99, 104] Operation: 80+24=104
Exploring Operation: 99-80=19, Resulting Numbers: [24, 19]
Generated Node #0,0,4: 61:[24, 19] Operation: 99-80=19
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 61:[80, 75], Operations: ['6*4=24', '99-24=75']
Exploring Operation: 80-75=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 80*75=6000, Resulting Numbers: [6000]
6000,61 unequal: No Solution
Exploring Operation: 80+75=155, Resulting Numbers: [155]
155,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[99, 56], Operations: ['6*4=24', '80-24=56']
Exploring Operation: 99*56=5544, Resulting Numbers: [5544]
5544,61 unequal: No Solution
Exploring Operation: 99+56=155, Resulting Numbers: [155]
155,61 unequal: No Solution
Exploring Operation: 99-56=43, Resulting Numbers: [43]
43,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 61:[24, 19], Operations: ['6*4=24', '99-80=19']
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,61 unequal: No Solution
Exploring Operation: 24*19=456, Resulting Numbers: [456]
456,61 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 61:[80, 123], Operations: ['6*4=24', '99+24=123']
Exploring Operation: 123-80=43, Resulting Numbers: [43]
43,61 unequal: No Solution
Exploring Operation: 80*123=9840, Resulting Numbers: [9840]
9840,61 unequal: No Solution
Exploring Operation: 80+123=203, Resulting Numbers: [203]
203,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 61:[99, 104], Operations: ['6*4=24', '80+24=104']
Exploring Operation: 99+104=203, Resulting Numbers: [203]
203,61 unequal: No Solution
Exploring Operation: 99*104=10296, Resulting Numbers: [10296]
10296,61 unequal: No Solution
Exploring Operation: 104-99=5, Resulting Numbers: [5]
5,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[80, 6, 95], Operations: ['99-4=95']
Exploring Operation: 80+6=86, Resulting Numbers: [95, 86]
Generated Node #0,1,0: 61:[95, 86] Operation: 80+6=86
Exploring Operation: 6+95=101, Resulting Numbers: [80, 101]
Generated Node #0,1,1: 61:[80, 101] Operation: 6+95=101
Exploring Operation: 95-6=89, Resulting Numbers: [80, 89]
Generated Node #0,1,2: 61:[80, 89] Operation: 95-6=89
Exploring Operation: 80-6=74, Resulting Numbers: [95, 74]
Generated Node #0,1,3: 61:[95, 74] Operation: 80-6=74
Exploring Operation: 95-80=15, Resulting Numbers: [6, 15]
Generated Node #0,1,4: 61:[6, 15] Operation: 95-80=15
Moving to Node #0,1,2
Current State: 61:[80, 89], Operations: ['99-4=95', '95-6=89']
Exploring Operation: 80*89=7120, Resulting Numbers: [7120]
7120,61 unequal: No Solution
Exploring Operation: 80+89=169, Resulting Numbers: [169]
169,61 unequal: No Solution
Exploring Operation: 89-80=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[95, 74], Operations: ['99-4=95', '80-6=74']
Exploring Operation: 95+74=169, Resulting Numbers: [169]
169,61 unequal: No Solution
Exploring Operation: 95-74=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 95*74=7030, Resulting Numbers: [7030]
7030,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[95, 86], Operations: ['99-4=95', '80+6=86']
Exploring Operation: 95-86=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 95*86=8170, Resulting Numbers: [8170]
8170,61 unequal: No Solution
Exploring Operation: 95+86=181, Resulting Numbers: [181]
181,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[80, 101], Operations: ['99-4=95', '6+95=101']
Exploring Operation: 101-80=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 80+101=181, Resulting Numbers: [181]
181,61 unequal: No Solution
Exploring Operation: 80*101=8080, Resulting Numbers: [8080]
8080,61 unequal: No Solution
Moving to Node #0,1,4
Current State: 61:[6, 15], Operations: ['99-4=95', '95-80=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,61 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,61 unequal: No Solution
No 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: 61:[99, 4, 74], Operations: ['80-6=74']
Exploring Operation: 99-74=25, Resulting Numbers: [4, 25]
Generated Node #0,2,0: 61:[4, 25] Operation: 99-74=25
Exploring Operation: 4+74=78, Resulting Numbers: [99, 78]
Generated Node #0,2,1: 61:[99, 78] Operation: 4+74=78
Exploring Operation: 99-4=95, Resulting Numbers: [74, 95]
Generated Node #0,2,2: 61:[74, 95] Operation: 99-4=95
Exploring Operation: 99+4=103, Resulting Numbers: [74, 103]
Generated Node #0,2,3: 61:[74, 103] Operation: 99+4=103
Exploring Operation: 74-4=70, Resulting Numbers: [99, 70]
Generated Node #0,2,4: 61:[99, 70] Operation: 74-4=70
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 61:[74, 95], Operations: ['80-6=74', '99-4=95']
Exploring Operation: 95-74=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 74+95=169, Resulting Numbers: [169]
169,61 unequal: No Solution
Exploring Operation: 74*95=7030, Resulting Numbers: [7030]
7030,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 61:[99, 70], Operations: ['80-6=74', '74-4=70']
Exploring Operation: 99*70=6930, Resulting Numbers: [6930]
6930,61 unequal: No Solution
Exploring Operation: 99+70=169, Resulting Numbers: [169]
169,61 unequal: No Solution
Exploring Operation: 99-70=29, Resulting Numbers: [29]
29,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 61:[99, 78], Operations: ['80-6=74', '4+74=78']
Exploring Operation: 99-78=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 99+78=177, Resulting Numbers: [177]
177,61 unequal: No Solution
Exploring Operation: 99*78=7722, Resulting Numbers: [7722]
7722,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 61:[74, 103], Operations: ['80-6=74', '99+4=103']
Exploring Operation: 74+103=177, Resulting Numbers: [177]
177,61 unequal: No Solution
Exploring Operation: 103-74=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 74*103=7622, Resulting Numbers: [7622]
7622,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[4, 25], Operations: ['80-6=74', '99-74=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,61 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[99, 6, 76], Operations: ['80-4=76']
Exploring Operation: 99-76=23, Resulting Numbers: [6, 23]
Generated Node #0,3,0: 61:[6, 23] Operation: 99-76=23
Exploring Operation: 99-6=93, Resulting Numbers: [76, 93]
Generated Node #0,3,1: 61:[76, 93] Operation: 99-6=93
Exploring Operation: 6+76=82, Resulting Numbers: [99, 82]
Generated Node #0,3,2: 61:[99, 82] Operation: 6+76=82
Exploring Operation: 76-6=70, Resulting Numbers: [99, 70]
Generated Node #0,3,3: 61:[99, 70] Operation: 76-6=70
Exploring Operation: 99+6=105, Resulting Numbers: [76, 105]
Generated Node #0,3,4: 61:[76, 105] Operation: 99+6=105
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 61:[76, 93], Operations: ['80-4=76', '99-6=93']
Exploring Operation: 93-76=17, Resulting Numbers: [17]
17,61 unequal: No Solution
Exploring Operation: 76+93=169, Resulting Numbers: [169]
169,61 unequal: No Solution
Exploring Operation: 76*93=7068, Resulting Numbers: [7068]
7068,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 61:[99, 70], Operations: ['80-4=76', '76-6=70']
Exploring Operation: 99+70=169, Resulting Numbers: [169]
169,61 unequal: No Solution
Exploring Operation: 99*70=6930, Resulting Numbers: [6930]
6930,61 unequal: No Solution
Exploring Operation: 99-70=29, Resulting Numbers: [29]
29,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 61:[99, 82], Operations: ['80-4=76', '6+76=82']
Exploring Operation: 99+82=181, Resulting Numbers: [181]
181,61 unequal: No Solution
Exploring Operation: 99-82=17, Resulting Numbers: [17]
17,61 unequal: No Solution
Exploring Operation: 99*82=8118, Resulting Numbers: [8118]
8118,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 61:[76, 105], Operations: ['80-4=76', '99+6=105']
Exploring Operation: 105-76=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 76+105=181, Resulting Numbers: [181]
181,61 unequal: No Solution
Exploring Operation: 76*105=7980, Resulting Numbers: [7980]
7980,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 61:[6, 23], Operations: ['80-4=76', '99-76=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,61 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 61:[80, 4, 93], Operations: ['99-6=93']
Exploring Operation: 80+4=84, Resulting Numbers: [93, 84]
Generated Node #0,4,0: 61:[93, 84] Operation: 80+4=84
Exploring Operation: 4+93=97, Resulting Numbers: [80, 97]
Generated Node #0,4,1: 61:[80, 97] Operation: 4+93=97
Exploring Operation: 80-4=76, Resulting Numbers: [93, 76]
Generated Node #0,4,2: 61:[93, 76] Operation: 80-4=76
Exploring Operation: 93-4=89, Resulting Numbers: [80, 89]
Generated Node #0,4,3: 61:[80, 89] Operation: 93-4=89
Exploring Operation: 80/4=20, Resulting Numbers: [93, 20]
Generated Node #0,4,4: 61:[93, 20] Operation: 80/4=20
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 61:[93, 76], Operations: ['99-6=93', '80-4=76']
Exploring Operation: 93+76=169, Resulting Numbers: [169]
169,61 unequal: No Solution
Exploring Operation: 93-76=17, Resulting Numbers: [17]
17,61 unequal: No Solution
Exploring Operation: 93*76=7068, Resulting Numbers: [7068]
7068,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 61:[80, 89], Operations: ['99-6=93', '93-4=89']
Exploring Operation: 89-80=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 80+89=169, Resulting Numbers: [169]
169,61 unequal: No Solution
Exploring Operation: 80*89=7120, Resulting Numbers: [7120]
7120,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 61:[93, 84], Operations: ['99-6=93', '80+4=84']
Exploring Operation: 93+84=177, Resulting Numbers: [177]
177,61 unequal: No Solution
Exploring Operation: 93*84=7812, Resulting Numbers: [7812]
7812,61 unequal: No Solution
Exploring Operation: 93-84=9, Resulting Numbers: [9]
9,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 61:[80, 97], Operations: ['99-6=93', '4+93=97']
Exploring Operation: 80*97=7760, Resulting Numbers: [7760]
7760,61 unequal: No Solution
Exploring Operation: 80+97=177, Resulting Numbers: [177]
177,61 unequal: No Solution
Exploring Operation: 97-80=17, Resulting Numbers: [17]
17,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 61:[93, 20], Operations: ['99-6=93', '80/4=20']
Exploring Operation: 93+20=113, Resulting Numbers: [113]
113,61 unequal: No Solution
Exploring Operation: 93-20=73, Resulting Numbers: [73]
73,61 unequal: No Solution
Exploring Operation: 93*20=1860, Resulting Numbers: [1860]
1860,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
11,
55,
77,
57
] | 45 | [
"55+77=132",
"132/11=12",
"57-12=45"
] | Current State: 45:[11, 55, 77, 57], Operations: []
Exploring Operation: 55+77=132, Resulting Numbers: [11, 57, 132]
Generated Node #2: [11, 57, 132] from Operation: 55+77=132
Current State: 45:[11, 57, 132], Operations: ['55+77=132']
Exploring Operation: 132/11=12, Resulting Numbers: [57, 12]
Generated Node #3: [57, 12] from Operation: 132/11=12
Current State: 45:[57, 12], Operations: ['55+77=132', '132/11=12']
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[11, 55, 77, 57], Operations: []
Exploring Operation: 77-55=22, Resulting Numbers: [11, 57, 22]
Generated Node #0,0: 45:[11, 57, 22] Operation: 77-55=22
Exploring Operation: 77/11=7, Resulting Numbers: [55, 57, 7]
Generated Node #0,1: 45:[55, 57, 7] Operation: 77/11=7
Exploring Operation: 77-57=20, Resulting Numbers: [11, 55, 20]
Generated Node #0,2: 45:[11, 55, 20] Operation: 77-57=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[11, 55, 20], Operations: ['77-57=20']
Exploring Operation: 55-11=44, Resulting Numbers: [20, 44]
Generated Node #0,2,0: 45:[20, 44] Operation: 55-11=44
Exploring Operation: 55/11=5, Resulting Numbers: [20, 5]
Generated Node #0,2,1: 45:[20, 5] Operation: 55/11=5
Exploring Operation: 20-11=9, Resulting Numbers: [55, 9]
Generated Node #0,2,2: 45:[55, 9] Operation: 20-11=9
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 45:[20, 5], Operations: ['77-57=20', '55/11=5']
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,45 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,45 unequal: No Solution
No 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: 45:[20, 44], Operations: ['77-57=20', '55-11=44']
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 20*44=880, Resulting Numbers: [880]
880,45 unequal: No Solution
Exploring Operation: 20+44=64, Resulting Numbers: [64]
64,45 unequal: No Solution
No 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: 45:[55, 9], Operations: ['77-57=20', '20-11=9']
Exploring Operation: 55*9=495, Resulting Numbers: [495]
495,45 unequal: No Solution
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,45 unequal: No Solution
Exploring Operation: 55+9=64, Resulting Numbers: [64]
64,45 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: 45:[11, 57, 22], Operations: ['77-55=22']
Exploring Operation: 57-22=35, Resulting Numbers: [11, 35]
Generated Node #0,0,0: 45:[11, 35] Operation: 57-22=35
Exploring Operation: 22/11=2, Resulting Numbers: [57, 2]
Generated Node #0,0,1: 45:[57, 2] Operation: 22/11=2
Exploring Operation: 57-11=46, Resulting Numbers: [22, 46]
Generated Node #0,0,2: 45:[22, 46] Operation: 57-11=46
Moving to Node #0,0,2
Current State: 45:[22, 46], Operations: ['77-55=22', '57-11=46']
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 22+46=68, Resulting Numbers: [68]
68,45 unequal: No Solution
Exploring Operation: 22*46=1012, Resulting Numbers: [1012]
1012,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[11, 35], Operations: ['77-55=22', '57-22=35']
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,45 unequal: No Solution
Exploring Operation: 11*35=385, Resulting Numbers: [385]
385,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[57, 2], Operations: ['77-55=22', '22/11=2']
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,45 unequal: No Solution
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[55, 57, 7], Operations: ['77/11=7']
Exploring Operation: 57-55=2, Resulting Numbers: [7, 2]
Generated Node #0,1,0: 45:[7, 2] Operation: 57-55=2
Exploring Operation: 57-7=50, Resulting Numbers: [55, 50]
Generated Node #0,1,1: 45:[55, 50] Operation: 57-7=50
Exploring Operation: 55-7=48, Resulting Numbers: [57, 48]
Generated Node #0,1,2: 45:[57, 48] Operation: 55-7=48
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 45:[7, 2], Operations: ['77/11=7', '57-55=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,45 unequal: No Solution
No 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: 45:[55, 50], Operations: ['77/11=7', '57-7=50']
Exploring Operation: 55+50=105, Resulting Numbers: [105]
105,45 unequal: No Solution
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 55*50=2750, Resulting Numbers: [2750]
2750,45 unequal: No Solution
No 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: 45:[57, 48], Operations: ['77/11=7', '55-7=48']
Exploring Operation: 57+48=105, Resulting Numbers: [105]
105,45 unequal: No Solution
Exploring Operation: 57*48=2736, Resulting Numbers: [2736]
2736,45 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,45 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 |
[
42,
65,
76,
10
] | 42 | [
"76-65=11",
"11-10=1",
"42*1=42"
] | Current State: 42:[42, 65, 76, 10], Operations: []
Exploring Operation: 76-65=11, Resulting Numbers: [42, 10, 11]
Generated Node #2: [42, 10, 11] from Operation: 76-65=11
Current State: 42:[42, 10, 11], Operations: ['76-65=11']
Exploring Operation: 11-10=1, Resulting Numbers: [42, 1]
Generated Node #3: [42, 1] from Operation: 11-10=1
Current State: 42:[42, 1], Operations: ['76-65=11', '11-10=1']
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[42, 65, 76, 10], Operations: []
Exploring Operation: 65-42=23, Resulting Numbers: [76, 10, 23]
Generated Node #0,0: 42:[76, 10, 23] Operation: 65-42=23
Exploring Operation: 65-10=55, Resulting Numbers: [42, 76, 55]
Generated Node #0,1: 42:[42, 76, 55] Operation: 65-10=55
Exploring Operation: 76-42=34, Resulting Numbers: [65, 10, 34]
Generated Node #0,2: 42:[65, 10, 34] Operation: 76-42=34
Exploring Operation: 76-65=11, Resulting Numbers: [42, 10, 11]
Generated Node #0,3: 42:[42, 10, 11] Operation: 76-65=11
Moving to Node #0,3
Current State: 42:[42, 10, 11], Operations: ['76-65=11']
Exploring Operation: 11-10=1, Resulting Numbers: [42, 1]
Generated Node #0,3,0: 42:[42, 1] Operation: 11-10=1
Exploring Operation: 10+11=21, Resulting Numbers: [42, 21]
Generated Node #0,3,1: 42:[42, 21] Operation: 10+11=21
Exploring Operation: 42-10=32, Resulting Numbers: [11, 32]
Generated Node #0,3,2: 42:[11, 32] Operation: 42-10=32
Exploring Operation: 42+10=52, Resulting Numbers: [11, 52]
Generated Node #0,3,3: 42:[11, 52] Operation: 42+10=52
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 42:[42, 21], Operations: ['76-65=11', '10+11=21']
Exploring Operation: 42+21=63, Resulting Numbers: [63]
63,42 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 42*21=882, Resulting Numbers: [882]
882,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 42:[42, 1], Operations: ['76-65=11', '11-10=1']
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[42, 65, 76, 10], Operations: []
Exploring Operation: 76-65=11, Resulting Numbers: [42, 10, 11]
Generated Node #0,3: 42:[42, 10, 11] Operation: 76-65=11
Moving to Node #0,3
Current State: 42:[42, 10, 11], Operations: ['76-65=11']
Exploring Operation: 11-10=1, Resulting Numbers: [42, 1]
Generated Node #0,3,0: 42:[42, 1] Operation: 11-10=1
Moving to Node #0,3,0
Current State: 42:[42, 1], Operations: ['76-65=11', '11-10=1']
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
61,
35,
69,
15
] | 80 | [
"61-35=26",
"69-15=54",
"26+54=80"
] | Current State: 80:[61, 35, 69, 15], Operations: []
Exploring Operation: 61-35=26, Resulting Numbers: [69, 15, 26]
Generated Node #2: [69, 15, 26] from Operation: 61-35=26
Current State: 80:[69, 15, 26], Operations: ['61-35=26']
Exploring Operation: 69-15=54, Resulting Numbers: [26, 54]
Generated Node #3: [26, 54] from Operation: 69-15=54
Current State: 80:[26, 54], Operations: ['61-35=26', '69-15=54']
Exploring Operation: 26+54=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[61, 35, 69, 15], Operations: []
Exploring Operation: 69-61=8, Resulting Numbers: [35, 15, 8]
Generated Node #0,0: 80:[35, 15, 8] Operation: 69-61=8
Exploring Operation: 61-35=26, Resulting Numbers: [69, 15, 26]
Generated Node #0,1: 80:[69, 15, 26] Operation: 61-35=26
Moving to Node #0,0
Current State: 80:[35, 15, 8], Operations: ['69-61=8']
Exploring Operation: 35-15=20, Resulting Numbers: [8, 20]
Generated Node #0,0,0: 80:[8, 20] Operation: 35-15=20
Exploring Operation: 35+8=43, Resulting Numbers: [15, 43]
Generated Node #0,0,1: 80:[15, 43] Operation: 35+8=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[8, 20], Operations: ['69-61=8', '35-15=20']
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,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,1
Current State: 80:[15, 43], Operations: ['69-61=8', '35+8=43']
Exploring Operation: 15+43=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,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:[69, 15, 26], Operations: ['61-35=26']
Exploring Operation: 69-26=43, Resulting Numbers: [15, 43]
Generated Node #0,1,0: 80:[15, 43] Operation: 69-26=43
Exploring Operation: 69+15=84, Resulting Numbers: [26, 84]
Generated Node #0,1,1: 80:[26, 84] Operation: 69+15=84
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[15, 43], Operations: ['61-35=26', '69-26=43']
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 15+43=58, Resulting Numbers: [58]
58,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[26, 84], Operations: ['61-35=26', '69+15=84']
Exploring Operation: 84-26=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Exploring Operation: 26+84=110, Resulting Numbers: [110]
110,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
69,
34,
37,
47
] | 93 | [
"69+34=103",
"47-37=10",
"103-10=93"
] | Current State: 93:[69, 34, 37, 47], Operations: []
Exploring Operation: 69+34=103, Resulting Numbers: [37, 47, 103]
Generated Node #2: [37, 47, 103] from Operation: 69+34=103
Current State: 93:[37, 47, 103], Operations: ['69+34=103']
Exploring Operation: 47-37=10, Resulting Numbers: [103, 10]
Generated Node #3: [103, 10] from Operation: 47-37=10
Current State: 93:[103, 10], Operations: ['69+34=103', '47-37=10']
Exploring Operation: 103-10=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[69, 34, 37, 47], Operations: []
Exploring Operation: 69-37=32, Resulting Numbers: [34, 47, 32]
Generated Node #0,0: 93:[34, 47, 32] Operation: 69-37=32
Exploring Operation: 69-47=22, Resulting Numbers: [34, 37, 22]
Generated Node #0,1: 93:[34, 37, 22] Operation: 69-47=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[34, 37, 22], Operations: ['69-47=22']
Exploring Operation: 34-22=12, Resulting Numbers: [37, 12]
Generated Node #0,1,0: 93:[37, 12] Operation: 34-22=12
Exploring Operation: 37-34=3, Resulting Numbers: [22, 3]
Generated Node #0,1,1: 93:[22, 3] Operation: 37-34=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 93:[22, 3], Operations: ['69-47=22', '37-34=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,93 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 93:[37, 12], Operations: ['69-47=22', '34-22=12']
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,93 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[34, 47, 32], Operations: ['69-37=32']
Exploring Operation: 47-34=13, Resulting Numbers: [32, 13]
Generated Node #0,0,0: 93:[32, 13] Operation: 47-34=13
Exploring Operation: 34+47=81, Resulting Numbers: [32, 81]
Generated Node #0,0,1: 93:[32, 81] Operation: 34+47=81
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[32, 13], Operations: ['69-37=32', '47-34=13']
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,93 unequal: No Solution
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 93:[32, 81], Operations: ['69-37=32', '34+47=81']
Exploring Operation: 81-32=49, Resulting Numbers: [49]
49,93 unequal: No Solution
Exploring Operation: 32+81=113, Resulting Numbers: [113]
113,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
48,
43,
19,
45
] | 28 | [
"48-43=5",
"45/5=9",
"19+9=28"
] | Current State: 28:[48, 43, 19, 45], Operations: []
Exploring Operation: 48-43=5, Resulting Numbers: [19, 45, 5]
Generated Node #2: [19, 45, 5] from Operation: 48-43=5
Current State: 28:[19, 45, 5], Operations: ['48-43=5']
Exploring Operation: 45/5=9, Resulting Numbers: [19, 9]
Generated Node #3: [19, 9] from Operation: 45/5=9
Current State: 28:[19, 9], Operations: ['48-43=5', '45/5=9']
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[48, 43, 19, 45], Operations: []
Exploring Operation: 48-43=5, Resulting Numbers: [19, 45, 5]
Generated Node #0,0: 28:[19, 45, 5] Operation: 48-43=5
Exploring Operation: 48-19=29, Resulting Numbers: [43, 45, 29]
Generated Node #0,1: 28:[43, 45, 29] Operation: 48-19=29
Exploring Operation: 48-45=3, Resulting Numbers: [43, 19, 3]
Generated Node #0,2: 28:[43, 19, 3] Operation: 48-45=3
Exploring Operation: 45-43=2, Resulting Numbers: [48, 19, 2]
Generated Node #0,3: 28:[48, 19, 2] Operation: 45-43=2
Moving to Node #0,2
Current State: 28:[43, 19, 3], Operations: ['48-45=3']
Exploring Operation: 19-3=16, Resulting Numbers: [43, 16]
Generated Node #0,2,0: 28:[43, 16] Operation: 19-3=16
Exploring Operation: 19+3=22, Resulting Numbers: [43, 22]
Generated Node #0,2,1: 28:[43, 22] Operation: 19+3=22
Exploring Operation: 43-3=40, Resulting Numbers: [19, 40]
Generated Node #0,2,2: 28:[19, 40] Operation: 43-3=40
Exploring Operation: 43-19=24, Resulting Numbers: [3, 24]
Generated Node #0,2,3: 28:[3, 24] Operation: 43-19=24
Moving to Node #0,0
Current State: 28:[19, 45, 5], Operations: ['48-43=5']
Exploring Operation: 45-19=26, Resulting Numbers: [5, 26]
Generated Node #0,0,0: 28:[5, 26] Operation: 45-19=26
Exploring Operation: 19-5=14, Resulting Numbers: [45, 14]
Generated Node #0,0,1: 28:[45, 14] Operation: 19-5=14
Exploring Operation: 45-5=40, Resulting Numbers: [19, 40]
Generated Node #0,0,2: 28:[19, 40] Operation: 45-5=40
Exploring Operation: 45/5=9, Resulting Numbers: [19, 9]
Generated Node #0,0,3: 28:[19, 9] Operation: 45/5=9
Moving to Node #0,3
Current State: 28:[48, 19, 2], Operations: ['45-43=2']
Exploring Operation: 48-19=29, Resulting Numbers: [2, 29]
Generated Node #0,3,0: 28:[2, 29] Operation: 48-19=29
Exploring Operation: 48/2=24, Resulting Numbers: [19, 24]
Generated Node #0,3,1: 28:[19, 24] Operation: 48/2=24
Exploring Operation: 48-2=46, Resulting Numbers: [19, 46]
Generated Node #0,3,2: 28:[19, 46] Operation: 48-2=46
Exploring Operation: 19-2=17, Resulting Numbers: [48, 17]
Generated Node #0,3,3: 28:[48, 17] Operation: 19-2=17
Moving to Node #0,1
Current State: 28:[43, 45, 29], Operations: ['48-19=29']
Exploring Operation: 43-29=14, Resulting Numbers: [45, 14]
Generated Node #0,1,0: 28:[45, 14] Operation: 43-29=14
Exploring Operation: 43+45=88, Resulting Numbers: [29, 88]
Generated Node #0,1,1: 28:[29, 88] Operation: 43+45=88
Exploring Operation: 45-29=16, Resulting Numbers: [43, 16]
Generated Node #0,1,2: 28:[43, 16] Operation: 45-29=16
Exploring Operation: 45-43=2, Resulting Numbers: [29, 2]
Generated Node #0,1,3: 28:[29, 2] Operation: 45-43=2
Moving to Node #0,3,0
Current State: 28:[2, 29], Operations: ['45-43=2', '48-19=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,28 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Moving to Node #0,1,3
Current State: 28:[29, 2], Operations: ['48-19=29', '45-43=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,28 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[5, 26], Operations: ['48-43=5', '45-19=26']
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,28 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Moving to Node #0,2,3
Current State: 28:[3, 24], Operations: ['48-45=3', '43-19=24']
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[19, 9], Operations: ['48-43=5', '45/5=9']
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,28 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[48, 43, 19, 45], Operations: []
Exploring Operation: 48-43=5, Resulting Numbers: [19, 45, 5]
Generated Node #0,0: 28:[19, 45, 5] Operation: 48-43=5
Moving to Node #0,0
Current State: 28:[19, 45, 5], Operations: ['48-43=5']
Exploring Operation: 45/5=9, Resulting Numbers: [19, 9]
Generated Node #0,0,3: 28:[19, 9] Operation: 45/5=9
Moving to Node #0,0,3
Current State: 28:[19, 9], Operations: ['48-43=5', '45/5=9']
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.966146 | hs_4 | mult_heuristic |
[
63,
7,
33,
4
] | 42 | [
"7*33=231",
"231-63=168",
"168/4=42"
] | Current State: 42:[63, 7, 33, 4], Operations: []
Exploring Operation: 7*33=231, Resulting Numbers: [63, 4, 231]
Generated Node #2: [63, 4, 231] from Operation: 7*33=231
Current State: 42:[63, 4, 231], Operations: ['7*33=231']
Exploring Operation: 231-63=168, Resulting Numbers: [4, 168]
Generated Node #3: [4, 168] from Operation: 231-63=168
Current State: 42:[4, 168], Operations: ['7*33=231', '231-63=168']
Exploring Operation: 168/4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[63, 7, 33, 4], Operations: []
Exploring Operation: 63-33=30, Resulting Numbers: [7, 4, 30]
Generated Node #0,0: 42:[7, 4, 30] Operation: 63-33=30
Moving to Node #0,0
Current State: 42:[7, 4, 30], Operations: ['63-33=30']
Exploring Operation: 30-7=23, Resulting Numbers: [4, 23]
Generated Node #0,0,0: 42:[4, 23] Operation: 30-7=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[4, 23], Operations: ['63-33=30', '30-7=23']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,42 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 |
[
57,
67,
20,
67
] | 78 | [
"57+20=77",
"67/67=1",
"77+1=78"
] | Current State: 78:[57, 67, 20, 67], Operations: []
Exploring Operation: 57+20=77, Resulting Numbers: [67, 67, 77]
Generated Node #2: [67, 67, 77] from Operation: 57+20=77
Current State: 78:[67, 67, 77], Operations: ['57+20=77']
Exploring Operation: 67/67=1, Resulting Numbers: [77, 1]
Generated Node #3: [77, 1] from Operation: 67/67=1
Current State: 78:[77, 1], Operations: ['57+20=77', '67/67=1']
Exploring Operation: 77+1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[57, 67, 20, 67], Operations: []
Exploring Operation: 67/67=1, Resulting Numbers: [57, 20, 1]
Generated Node #0,0: 78:[57, 20, 1] Operation: 67/67=1
Exploring Operation: 57-20=37, Resulting Numbers: [67, 67, 37]
Generated Node #0,1: 78:[67, 67, 37] Operation: 57-20=37
Exploring Operation: 67-57=10, Resulting Numbers: [67, 20, 10]
Generated Node #0,2: 78:[67, 20, 10] Operation: 67-57=10
Exploring Operation: 57+20=77, Resulting Numbers: [67, 67, 77]
Generated Node #0,3: 78:[67, 67, 77] Operation: 57+20=77
Exploring Operation: 67-57=10, Resulting Numbers: [20, 67, 10]
Generated Node #0,4: 78:[20, 67, 10] Operation: 67-57=10
Moving to Node #0,2
Current State: 78:[67, 20, 10], Operations: ['67-57=10']
Exploring Operation: 20-10=10, Resulting Numbers: [67, 10]
Generated Node #0,2,0: 78:[67, 10] Operation: 20-10=10
Exploring Operation: 67-20=47, Resulting Numbers: [10, 47]
Generated Node #0,2,1: 78:[10, 47] Operation: 67-20=47
Exploring Operation: 67+10=77, Resulting Numbers: [20, 77]
Generated Node #0,2,2: 78:[20, 77] Operation: 67+10=77
Exploring Operation: 20/10=2, Resulting Numbers: [67, 2]
Generated Node #0,2,3: 78:[67, 2] Operation: 20/10=2
Exploring Operation: 67+20=87, Resulting Numbers: [10, 87]
Generated Node #0,2,4: 78:[10, 87] Operation: 67+20=87
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 78:[20, 77], Operations: ['67-57=10', '67+10=77']
Exploring Operation: 20*77=1540, Resulting Numbers: [1540]
1540,78 unequal: No Solution
Exploring Operation: 20+77=97, Resulting Numbers: [97]
97,78 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,78 unequal: No Solution
No 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: 78:[10, 47], Operations: ['67-57=10', '67-20=47']
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,78 unequal: No Solution
Exploring Operation: 10*47=470, Resulting Numbers: [470]
470,78 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,78 unequal: No Solution
No 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: 78:[67, 2], Operations: ['67-57=10', '20/10=2']
Exploring Operation: 67*2=134, Resulting Numbers: [134]
134,78 unequal: No Solution
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,78 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,78 unequal: No Solution
No 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: 78:[10, 87], Operations: ['67-57=10', '67+20=87']
Exploring Operation: 10+87=97, Resulting Numbers: [97]
97,78 unequal: No Solution
Exploring Operation: 10*87=870, Resulting Numbers: [870]
870,78 unequal: No Solution
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,78 unequal: No Solution
No 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: 78:[67, 10], Operations: ['67-57=10', '20-10=10']
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,78 unequal: No Solution
Exploring Operation: 67+10=77, Resulting Numbers: [77]
77,78 unequal: No Solution
Exploring Operation: 67*10=670, Resulting Numbers: [670]
670,78 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: 78:[20, 67, 10], Operations: ['67-57=10']
Exploring Operation: 20+67=87, Resulting Numbers: [10, 87]
Generated Node #0,4,0: 78:[10, 87] Operation: 20+67=87
Exploring Operation: 20-10=10, Resulting Numbers: [67, 10]
Generated Node #0,4,1: 78:[67, 10] Operation: 20-10=10
Exploring Operation: 67+10=77, Resulting Numbers: [20, 77]
Generated Node #0,4,2: 78:[20, 77] Operation: 67+10=77
Exploring Operation: 67-20=47, Resulting Numbers: [10, 47]
Generated Node #0,4,3: 78:[10, 47] Operation: 67-20=47
Exploring Operation: 20/10=2, Resulting Numbers: [67, 2]
Generated Node #0,4,4: 78:[67, 2] Operation: 20/10=2
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 78:[20, 77], Operations: ['67-57=10', '67+10=77']
Exploring Operation: 20+77=97, Resulting Numbers: [97]
97,78 unequal: No Solution
Exploring Operation: 20*77=1540, Resulting Numbers: [1540]
1540,78 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,78 unequal: No Solution
No 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: 78:[10, 47], Operations: ['67-57=10', '67-20=47']
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,78 unequal: No Solution
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,78 unequal: No Solution
Exploring Operation: 10*47=470, Resulting Numbers: [470]
470,78 unequal: No Solution
No 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: 78:[67, 2], Operations: ['67-57=10', '20/10=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,78 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,78 unequal: No Solution
Exploring Operation: 67*2=134, Resulting Numbers: [134]
134,78 unequal: No Solution
No 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: 78:[10, 87], Operations: ['67-57=10', '20+67=87']
Exploring Operation: 10+87=97, Resulting Numbers: [97]
97,78 unequal: No Solution
Exploring Operation: 10*87=870, Resulting Numbers: [870]
870,78 unequal: No Solution
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,78 unequal: No Solution
No 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: 78:[67, 10], Operations: ['67-57=10', '20-10=10']
Exploring Operation: 67+10=77, Resulting Numbers: [77]
77,78 unequal: No Solution
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,78 unequal: No Solution
Exploring Operation: 67*10=670, Resulting Numbers: [670]
670,78 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: 78:[67, 67, 77], Operations: ['57+20=77']
Exploring Operation: 67/67=1, Resulting Numbers: [77, 1]
Generated Node #0,3,0: 78:[77, 1] Operation: 67/67=1
Exploring Operation: 67+67=134, Resulting Numbers: [77, 134]
Generated Node #0,3,1: 78:[77, 134] Operation: 67+67=134
Exploring Operation: 77-67=10, Resulting Numbers: [67, 10]
Generated Node #0,3,2: 78:[67, 10] Operation: 77-67=10
Exploring Operation: 77-67=10, Resulting Numbers: [67, 10]
Generated Node #0,3,3: 78:[67, 10] Operation: 77-67=10
Exploring Operation: 67-67=0, Resulting Numbers: [77, 0]
Generated Node #0,3,4: 78:[77, 0] Operation: 67-67=0
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 78:[77, 1], Operations: ['57+20=77', '67/67=1']
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,78 unequal: No Solution
Exploring Operation: 77+1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[57, 67, 20, 67], Operations: []
Exploring Operation: 57+20=77, Resulting Numbers: [67, 67, 77]
Generated Node #0,3: 78:[67, 67, 77] Operation: 57+20=77
Moving to Node #0,3
Current State: 78:[67, 67, 77], Operations: ['57+20=77']
Exploring Operation: 67/67=1, Resulting Numbers: [77, 1]
Generated Node #0,3,0: 78:[77, 1] Operation: 67/67=1
Moving to Node #0,3,0
Current State: 78:[77, 1], Operations: ['57+20=77', '67/67=1']
Exploring Operation: 77+1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.951389 | hs_5 | sum_heuristic |
[
23,
25,
88,
22
] | 55 | [
"25-23=2",
"88+22=110",
"110/2=55"
] | Current State: 55:[23, 25, 88, 22], Operations: []
Exploring Operation: 25-23=2, Resulting Numbers: [88, 22, 2]
Generated Node #2: [88, 22, 2] from Operation: 25-23=2
Current State: 55:[88, 22, 2], Operations: ['25-23=2']
Exploring Operation: 88+22=110, Resulting Numbers: [2, 110]
Generated Node #3: [2, 110] from Operation: 88+22=110
Current State: 55:[2, 110], Operations: ['25-23=2', '88+22=110']
Exploring Operation: 110/2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[23, 25, 88, 22], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [23, 25, 4]
Generated Node #0,0: 55:[23, 25, 4] Operation: 88/22=4
Moving to Node #0,0
Current State: 55:[23, 25, 4], Operations: ['88/22=4']
Exploring Operation: 25-23=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 55:[4, 2] Operation: 25-23=2
Moving to Node #0,0,0
Current State: 55:[4, 2], Operations: ['88/22=4', '25-23=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,55 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
14,
54,
28,
92
] | 40 | [
"28/14=2",
"92-54=38",
"2+38=40"
] | Current State: 40:[14, 54, 28, 92], Operations: []
Exploring Operation: 28/14=2, Resulting Numbers: [54, 92, 2]
Generated Node #2: [54, 92, 2] from Operation: 28/14=2
Current State: 40:[54, 92, 2], Operations: ['28/14=2']
Exploring Operation: 92-54=38, Resulting Numbers: [2, 38]
Generated Node #3: [2, 38] from Operation: 92-54=38
Current State: 40:[2, 38], Operations: ['28/14=2', '92-54=38']
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[14, 54, 28, 92], Operations: []
Exploring Operation: 92-28=64, Resulting Numbers: [14, 54, 64]
Generated Node #0,0: 40:[14, 54, 64] Operation: 92-28=64
Exploring Operation: 92-54=38, Resulting Numbers: [14, 28, 38]
Generated Node #0,1: 40:[14, 28, 38] Operation: 92-54=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[14, 28, 38], Operations: ['92-54=38']
Exploring Operation: 14+28=42, Resulting Numbers: [38, 42]
Generated Node #0,1,0: 40:[38, 42] Operation: 14+28=42
Exploring Operation: 28/14=2, Resulting Numbers: [38, 2]
Generated Node #0,1,1: 40:[38, 2] Operation: 28/14=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 40:[38, 2], Operations: ['92-54=38', '28/14=2']
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[14, 54, 28, 92], Operations: []
Exploring Operation: 92-54=38, Resulting Numbers: [14, 28, 38]
Generated Node #0,1: 40:[14, 28, 38] Operation: 92-54=38
Moving to Node #0,1
Current State: 40:[14, 28, 38], Operations: ['92-54=38']
Exploring Operation: 28/14=2, Resulting Numbers: [38, 2]
Generated Node #0,1,1: 40:[38, 2] Operation: 28/14=2
Moving to Node #0,1,1
Current State: 40:[38, 2], Operations: ['92-54=38', '28/14=2']
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
76,
26,
99,
25
] | 83 | [
"76*26=1976",
"99+1976=2075",
"2075/25=83"
] | Current State: 83:[76, 26, 99, 25], Operations: []
Exploring Operation: 76*26=1976, Resulting Numbers: [99, 25, 1976]
Generated Node #2: [99, 25, 1976] from Operation: 76*26=1976
Current State: 83:[99, 25, 1976], Operations: ['76*26=1976']
Exploring Operation: 99+1976=2075, Resulting Numbers: [25, 2075]
Generated Node #3: [25, 2075] from Operation: 99+1976=2075
Current State: 83:[25, 2075], Operations: ['76*26=1976', '99+1976=2075']
Exploring Operation: 2075/25=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[76, 26, 99, 25], Operations: []
Exploring Operation: 26+25=51, Resulting Numbers: [76, 99, 51]
Generated Node #0,0: 83:[76, 99, 51] Operation: 26+25=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[76, 99, 51], Operations: ['26+25=51']
Exploring Operation: 99-51=48, Resulting Numbers: [76, 48]
Generated Node #0,0,0: 83:[76, 48] Operation: 99-51=48
Moving to Node #0,0,0
Current State: 83:[76, 48], Operations: ['26+25=51', '99-51=48']
Exploring Operation: 76+48=124, Resulting Numbers: [124]
124,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
86,
45,
41,
16
] | 90 | [
"45-41=4",
"16/4=4",
"86+4=90"
] | Current State: 90:[86, 45, 41, 16], Operations: []
Exploring Operation: 45-41=4, Resulting Numbers: [86, 16, 4]
Generated Node #2: [86, 16, 4] from Operation: 45-41=4
Current State: 90:[86, 16, 4], Operations: ['45-41=4']
Exploring Operation: 16/4=4, Resulting Numbers: [86, 4]
Generated Node #3: [86, 4] from Operation: 16/4=4
Current State: 90:[86, 4], Operations: ['45-41=4', '16/4=4']
Exploring Operation: 86+4=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[86, 45, 41, 16], Operations: []
Exploring Operation: 86-41=45, Resulting Numbers: [45, 16, 45]
Generated Node #0,0: 90:[45, 16, 45] Operation: 86-41=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[45, 16, 45], Operations: ['86-41=45']
Exploring Operation: 45-16=29, Resulting Numbers: [45, 29]
Generated Node #0,0,0: 90:[45, 29] Operation: 45-16=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[45, 29], Operations: ['86-41=45', '45-16=29']
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,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_1 | mult_heuristic |
[
66,
53,
3,
62
] | 23 | [
"66-53=13",
"3*13=39",
"62-39=23"
] | Current State: 23:[66, 53, 3, 62], Operations: []
Exploring Operation: 66-53=13, Resulting Numbers: [3, 62, 13]
Generated Node #2: [3, 62, 13] from Operation: 66-53=13
Current State: 23:[3, 62, 13], Operations: ['66-53=13']
Exploring Operation: 3*13=39, Resulting Numbers: [62, 39]
Generated Node #3: [62, 39] from Operation: 3*13=39
Current State: 23:[62, 39], Operations: ['66-53=13', '3*13=39']
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[66, 53, 3, 62], Operations: []
Exploring Operation: 66/3=22, Resulting Numbers: [53, 62, 22]
Generated Node #0,0: 23:[53, 62, 22] Operation: 66/3=22
Exploring Operation: 66-53=13, Resulting Numbers: [3, 62, 13]
Generated Node #0,1: 23:[3, 62, 13] Operation: 66-53=13
Exploring Operation: 66-62=4, Resulting Numbers: [53, 3, 4]
Generated Node #0,2: 23:[53, 3, 4] Operation: 66-62=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[3, 62, 13], Operations: ['66-53=13']
Exploring Operation: 3+13=16, Resulting Numbers: [62, 16]
Generated Node #0,1,0: 23:[62, 16] Operation: 3+13=16
Exploring Operation: 62-3=59, Resulting Numbers: [13, 59]
Generated Node #0,1,1: 23:[13, 59] Operation: 62-3=59
Exploring Operation: 62-13=49, Resulting Numbers: [3, 49]
Generated Node #0,1,2: 23:[3, 49] Operation: 62-13=49
Moving to Node #0,1,0
Current State: 23:[62, 16], Operations: ['66-53=13', '3+13=16']
Exploring Operation: 62+16=78, Resulting Numbers: [78]
78,23 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Exploring Operation: 62*16=992, Resulting Numbers: [992]
992,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[13, 59], Operations: ['66-53=13', '62-3=59']
Exploring Operation: 13+59=72, Resulting Numbers: [72]
72,23 unequal: No Solution
Exploring Operation: 13*59=767, Resulting Numbers: [767]
767,23 unequal: No Solution
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[3, 49], Operations: ['66-53=13', '62-13=49']
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,23 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,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,2
Current State: 23:[53, 3, 4], Operations: ['66-62=4']
Exploring Operation: 53-3=50, Resulting Numbers: [4, 50]
Generated Node #0,2,0: 23:[4, 50] Operation: 53-3=50
Exploring Operation: 3*4=12, Resulting Numbers: [53, 12]
Generated Node #0,2,1: 23:[53, 12] Operation: 3*4=12
Exploring Operation: 53-4=49, Resulting Numbers: [3, 49]
Generated Node #0,2,2: 23:[3, 49] Operation: 53-4=49
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 23:[53, 12], Operations: ['66-62=4', '3*4=12']
Exploring Operation: 53*12=636, Resulting Numbers: [636]
636,23 unequal: No Solution
Exploring Operation: 53-12=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 53+12=65, Resulting Numbers: [65]
65,23 unequal: No Solution
No 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: 23:[4, 50], Operations: ['66-62=4', '53-3=50']
Exploring Operation: 4*50=200, Resulting Numbers: [200]
200,23 unequal: No Solution
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,23 unequal: No Solution
No 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: 23:[3, 49], Operations: ['66-62=4', '53-4=49']
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,23 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[53, 62, 22], Operations: ['66/3=22']
Exploring Operation: 62-22=40, Resulting Numbers: [53, 40]
Generated Node #0,0,0: 23:[53, 40] Operation: 62-22=40
Exploring Operation: 53-22=31, Resulting Numbers: [62, 31]
Generated Node #0,0,1: 23:[62, 31] Operation: 53-22=31
Exploring Operation: 62-53=9, Resulting Numbers: [22, 9]
Generated Node #0,0,2: 23:[22, 9] Operation: 62-53=9
Moving to Node #0,0,2
Current State: 23:[22, 9], Operations: ['66/3=22', '62-53=9']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,23 unequal: No Solution
Exploring Operation: 22+9=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 22*9=198, Resulting Numbers: [198]
198,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[53, 40], Operations: ['66/3=22', '62-22=40']
Exploring Operation: 53-40=13, Resulting Numbers: [13]
13,23 unequal: No Solution
Exploring Operation: 53+40=93, Resulting Numbers: [93]
93,23 unequal: No Solution
Exploring Operation: 53*40=2120, Resulting Numbers: [2120]
2120,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[62, 31], Operations: ['66/3=22', '53-22=31']
Exploring Operation: 62+31=93, Resulting Numbers: [93]
93,23 unequal: No Solution
Exploring Operation: 62/31=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
64,
10,
61,
57
] | 87 | [
"64-61=3",
"10*3=30",
"57+30=87"
] | Current State: 87:[64, 10, 61, 57], Operations: []
Exploring Operation: 64-61=3, Resulting Numbers: [10, 57, 3]
Generated Node #2: [10, 57, 3] from Operation: 64-61=3
Current State: 87:[10, 57, 3], Operations: ['64-61=3']
Exploring Operation: 10*3=30, Resulting Numbers: [57, 30]
Generated Node #3: [57, 30] from Operation: 10*3=30
Current State: 87:[57, 30], Operations: ['64-61=3', '10*3=30']
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[64, 10, 61, 57], Operations: []
Exploring Operation: 61-57=4, Resulting Numbers: [64, 10, 4]
Generated Node #0,0: 87:[64, 10, 4] Operation: 61-57=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[64, 10, 4], Operations: ['61-57=4']
Exploring Operation: 64+10=74, Resulting Numbers: [4, 74]
Generated Node #0,0,0: 87:[4, 74] Operation: 64+10=74
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[4, 74], Operations: ['61-57=4', '64+10=74']
Exploring Operation: 4+74=78, Resulting Numbers: [78]
78,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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
18,
1,
27
] | 99 | [
"3+1=4",
"18*4=72",
"27+72=99"
] | Current State: 99:[3, 18, 1, 27], Operations: []
Exploring Operation: 3+1=4, Resulting Numbers: [18, 27, 4]
Generated Node #2: [18, 27, 4] from Operation: 3+1=4
Current State: 99:[18, 27, 4], Operations: ['3+1=4']
Exploring Operation: 18*4=72, Resulting Numbers: [27, 72]
Generated Node #3: [27, 72] from Operation: 18*4=72
Current State: 99:[27, 72], Operations: ['3+1=4', '18*4=72']
Exploring Operation: 27+72=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[3, 18, 1, 27], Operations: []
Exploring Operation: 18/3=6, Resulting Numbers: [1, 27, 6]
Generated Node #0,0: 99:[1, 27, 6] Operation: 18/3=6
Exploring Operation: 18-3=15, Resulting Numbers: [1, 27, 15]
Generated Node #0,1: 99:[1, 27, 15] Operation: 18-3=15
Exploring Operation: 27-18=9, Resulting Numbers: [3, 1, 9]
Generated Node #0,2: 99:[3, 1, 9] Operation: 27-18=9
Exploring Operation: 27/3=9, Resulting Numbers: [18, 1, 9]
Generated Node #0,3: 99:[18, 1, 9] Operation: 27/3=9
Moving to Node #0,2
Current State: 99:[3, 1, 9], Operations: ['27-18=9']
Exploring Operation: 9/1=9, Resulting Numbers: [3, 9]
Generated Node #0,2,0: 99:[3, 9] Operation: 9/1=9
Exploring Operation: 3*1=3, Resulting Numbers: [9, 3]
Generated Node #0,2,1: 99:[9, 3] Operation: 3*1=3
Exploring Operation: 1*9=9, Resulting Numbers: [3, 9]
Generated Node #0,2,2: 99:[3, 9] Operation: 1*9=9
Exploring Operation: 3/1=3, Resulting Numbers: [9, 3]
Generated Node #0,2,3: 99:[9, 3] Operation: 3/1=3
Moving to Node #0,3
Current State: 99:[18, 1, 9], Operations: ['27/3=9']
Exploring Operation: 18-9=9, Resulting Numbers: [1, 9]
Generated Node #0,3,0: 99:[1, 9] Operation: 18-9=9
Exploring Operation: 18*1=18, Resulting Numbers: [9, 18]
Generated Node #0,3,1: 99:[9, 18] Operation: 18*1=18
Exploring Operation: 18/9=2, Resulting Numbers: [1, 2]
Generated Node #0,3,2: 99:[1, 2] Operation: 18/9=2
Exploring Operation: 18-1=17, Resulting Numbers: [9, 17]
Generated Node #0,3,3: 99:[9, 17] Operation: 18-1=17
Moving to Node #0,0
Current State: 99:[1, 27, 6], Operations: ['18/3=6']
Exploring Operation: 1+6=7, Resulting Numbers: [27, 7]
Generated Node #0,0,0: 99:[27, 7] Operation: 1+6=7
Exploring Operation: 27+6=33, Resulting Numbers: [1, 33]
Generated Node #0,0,1: 99:[1, 33] Operation: 27+6=33
Exploring Operation: 1+27=28, Resulting Numbers: [6, 28]
Generated Node #0,0,2: 99:[6, 28] Operation: 1+27=28
Exploring Operation: 6-1=5, Resulting Numbers: [27, 5]
Generated Node #0,0,3: 99:[27, 5] Operation: 6-1=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[1, 33], Operations: ['18/3=6', '27+6=33']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,99 unequal: No Solution
Exploring Operation: 1*33=33, Resulting Numbers: [33]
33,99 unequal: No Solution
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[27, 7], Operations: ['18/3=6', '1+6=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 99:[6, 28], Operations: ['18/3=6', '1+27=28']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,99 unequal: No Solution
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 99:[27, 5], Operations: ['18/3=6', '6-1=5']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,99 unequal: No Solution
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,99 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: 99:[1, 27, 15], Operations: ['18-3=15']
Exploring Operation: 1+27=28, Resulting Numbers: [15, 28]
Generated Node #0,1,0: 99:[15, 28] Operation: 1+27=28
Exploring Operation: 15-1=14, Resulting Numbers: [27, 14]
Generated Node #0,1,1: 99:[27, 14] Operation: 15-1=14
Exploring Operation: 27-15=12, Resulting Numbers: [1, 12]
Generated Node #0,1,2: 99:[1, 12] Operation: 27-15=12
Exploring Operation: 1*27=27, Resulting Numbers: [15, 27]
Generated Node #0,1,3: 99:[15, 27] Operation: 1*27=27
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 99:[1, 12], Operations: ['18-3=15', '27-15=12']
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[15, 28], Operations: ['18-3=15', '1+27=28']
Exploring Operation: 15*28=420, Resulting Numbers: [420]
420,99 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 15+28=43, Resulting Numbers: [43]
43,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[27, 14], Operations: ['18-3=15', '15-1=14']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,99 unequal: No Solution
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 99:[15, 27], Operations: ['18-3=15', '1*27=27']
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,99 unequal: No Solution
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,99 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 99:[3, 9], Operations: ['27-18=9', '9/1=9']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,99 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[3, 9], Operations: ['27-18=9', '1*9=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,99 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Moving to Node #0,2,1
Current State: 99:[9, 3], Operations: ['27-18=9', '3*1=3']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,99 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Moving to Node #0,2,3
Current State: 99:[9, 3], Operations: ['27-18=9', '3/1=3']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,99 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Moving to Node #0,3,0
Current State: 99:[1, 9], Operations: ['27/3=9', '18-9=9']
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,99 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Moving to Node #0,3,2
Current State: 99:[1, 2], Operations: ['27/3=9', '18/9=2']
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Moving to Node #0,3,3
Current State: 99:[9, 17], Operations: ['27/3=9', '18-1=17']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,99 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,99 unequal: No Solution
Moving to Node #0,3,1
Current State: 99:[9, 18], Operations: ['27/3=9', '18*1=18']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 9*18=162, Resulting Numbers: [162]
162,99 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,99 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
3,
7,
53,
9
] | 40 | [
"7-3=4",
"53-9=44",
"44-4=40"
] | Current State: 40:[3, 7, 53, 9], Operations: []
Exploring Operation: 7-3=4, Resulting Numbers: [53, 9, 4]
Generated Node #2: [53, 9, 4] from Operation: 7-3=4
Current State: 40:[53, 9, 4], Operations: ['7-3=4']
Exploring Operation: 53-9=44, Resulting Numbers: [4, 44]
Generated Node #3: [4, 44] from Operation: 53-9=44
Current State: 40:[4, 44], Operations: ['7-3=4', '53-9=44']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[3, 7, 53, 9], Operations: []
Exploring Operation: 53-3=50, Resulting Numbers: [7, 9, 50]
Generated Node #0,0: 40:[7, 9, 50] Operation: 53-3=50
Exploring Operation: 53-7=46, Resulting Numbers: [3, 9, 46]
Generated Node #0,1: 40:[3, 9, 46] Operation: 53-7=46
Exploring Operation: 3+7=10, Resulting Numbers: [53, 9, 10]
Generated Node #0,2: 40:[53, 9, 10] Operation: 3+7=10
Exploring Operation: 53-9=44, Resulting Numbers: [3, 7, 44]
Generated Node #0,3: 40:[3, 7, 44] Operation: 53-9=44
Start Sub Search at level 1: Moving to Node #0,3
Current State: 40:[3, 7, 44], Operations: ['53-9=44']
Exploring Operation: 3+7=10, Resulting Numbers: [44, 10]
Generated Node #0,3,0: 40:[44, 10] Operation: 3+7=10
Exploring Operation: 44-3=41, Resulting Numbers: [7, 41]
Generated Node #0,3,1: 40:[7, 41] Operation: 44-3=41
Exploring Operation: 44-7=37, Resulting Numbers: [3, 37]
Generated Node #0,3,2: 40:[3, 37] Operation: 44-7=37
Exploring Operation: 7-3=4, Resulting Numbers: [44, 4]
Generated Node #0,3,3: 40:[44, 4] Operation: 7-3=4
Moving to Node #0,3,1
Current State: 40:[7, 41], Operations: ['53-9=44', '44-3=41']
Exploring Operation: 7+41=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,40 unequal: No Solution
Exploring Operation: 7*41=287, Resulting Numbers: [287]
287,40 unequal: No Solution
Moving to Node #0,3,2
Current State: 40:[3, 37], Operations: ['53-9=44', '44-7=37']
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[3, 7, 53, 9], Operations: []
Exploring Operation: 53-9=44, Resulting Numbers: [3, 7, 44]
Generated Node #0,3: 40:[3, 7, 44] Operation: 53-9=44
Moving to Node #0,3
Current State: 40:[3, 7, 44], Operations: ['53-9=44']
Exploring Operation: 44-7=37, Resulting Numbers: [3, 37]
Generated Node #0,3,2: 40:[3, 37] Operation: 44-7=37
Moving to Node #0,3,2
Current State: 40:[3, 37], Operations: ['53-9=44', '44-7=37']
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
6,
79,
75,
12
] | 24 | [
"79-6=73",
"75-73=2",
"12*2=24"
] | Current State: 24:[6, 79, 75, 12], Operations: []
Exploring Operation: 79-6=73, Resulting Numbers: [75, 12, 73]
Generated Node #2: [75, 12, 73] from Operation: 79-6=73
Current State: 24:[75, 12, 73], Operations: ['79-6=73']
Exploring Operation: 75-73=2, Resulting Numbers: [12, 2]
Generated Node #3: [12, 2] from Operation: 75-73=2
Current State: 24:[12, 2], Operations: ['79-6=73', '75-73=2']
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[6, 79, 75, 12], Operations: []
Exploring Operation: 75-12=63, Resulting Numbers: [6, 79, 63]
Generated Node #0,0: 24:[6, 79, 63] Operation: 75-12=63
Exploring Operation: 79-12=67, Resulting Numbers: [6, 75, 67]
Generated Node #0,1: 24:[6, 75, 67] Operation: 79-12=67
Exploring Operation: 79-75=4, Resulting Numbers: [6, 12, 4]
Generated Node #0,2: 24:[6, 12, 4] Operation: 79-75=4
Moving to Node #0,2
Current State: 24:[6, 12, 4], Operations: ['79-75=4']
Exploring Operation: 12/6=2, Resulting Numbers: [4, 2]
Generated Node #0,2,0: 24:[4, 2] Operation: 12/6=2
Exploring Operation: 6*4=24, Resulting Numbers: [12, 24]
Generated Node #0,2,1: 24:[12, 24] Operation: 6*4=24
Exploring Operation: 12-6=6, Resulting Numbers: [4, 6]
Generated Node #0,2,2: 24:[4, 6] Operation: 12-6=6
Moving to Node #0,0
Current State: 24:[6, 79, 63], Operations: ['75-12=63']
Exploring Operation: 63-6=57, Resulting Numbers: [79, 57]
Generated Node #0,0,0: 24:[79, 57] Operation: 63-6=57
Exploring Operation: 79-63=16, Resulting Numbers: [6, 16]
Generated Node #0,0,1: 24:[6, 16] Operation: 79-63=16
Exploring Operation: 79-6=73, Resulting Numbers: [63, 73]
Generated Node #0,0,2: 24:[63, 73] Operation: 79-6=73
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[6, 16], Operations: ['75-12=63', '79-63=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,24 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[79, 57], Operations: ['75-12=63', '63-6=57']
Exploring Operation: 79*57=4503, Resulting Numbers: [4503]
4503,24 unequal: No Solution
Exploring Operation: 79+57=136, Resulting Numbers: [136]
136,24 unequal: No Solution
Exploring Operation: 79-57=22, Resulting Numbers: [22]
22,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 24:[63, 73], Operations: ['75-12=63', '79-6=73']
Exploring Operation: 63+73=136, Resulting Numbers: [136]
136,24 unequal: No Solution
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Exploring Operation: 63*73=4599, Resulting Numbers: [4599]
4599,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:[6, 75, 67], Operations: ['79-12=67']
Exploring Operation: 75-67=8, Resulting Numbers: [6, 8]
Generated Node #0,1,0: 24:[6, 8] Operation: 75-67=8
Exploring Operation: 75-6=69, Resulting Numbers: [67, 69]
Generated Node #0,1,1: 24:[67, 69] Operation: 75-6=69
Exploring Operation: 67-6=61, Resulting Numbers: [75, 61]
Generated Node #0,1,2: 24:[75, 61] Operation: 67-6=61
Moving to Node #0,2,0
Current State: 24:[4, 2], Operations: ['79-75=4', '12/6=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[4, 6], Operations: ['79-75=4', '12-6=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[6, 79, 75, 12], Operations: []
Exploring Operation: 79-75=4, Resulting Numbers: [6, 12, 4]
Generated Node #0,2: 24:[6, 12, 4] Operation: 79-75=4
Moving to Node #0,2
Current State: 24:[6, 12, 4], Operations: ['79-75=4']
Exploring Operation: 12-6=6, Resulting Numbers: [4, 6]
Generated Node #0,2,2: 24:[4, 6] Operation: 12-6=6
Moving to Node #0,2,2
Current State: 24:[4, 6], Operations: ['79-75=4', '12-6=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.97309 | hs_3 | mult_heuristic |
[
13,
84,
6,
4
] | 18 | [
"13+4=17",
"6*17=102",
"102-84=18"
] | Current State: 18:[13, 84, 6, 4], Operations: []
Exploring Operation: 13+4=17, Resulting Numbers: [84, 6, 17]
Generated Node #2: [84, 6, 17] from Operation: 13+4=17
Current State: 18:[84, 6, 17], Operations: ['13+4=17']
Exploring Operation: 6*17=102, Resulting Numbers: [84, 102]
Generated Node #3: [84, 102] from Operation: 6*17=102
Current State: 18:[84, 102], Operations: ['13+4=17', '6*17=102']
Exploring Operation: 102-84=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[13, 84, 6, 4], Operations: []
Exploring Operation: 84/4=21, Resulting Numbers: [13, 6, 21]
Generated Node #0,0: 18:[13, 6, 21] Operation: 84/4=21
Moving to Node #0,0
Current State: 18:[13, 6, 21], Operations: ['84/4=21']
Exploring Operation: 21-13=8, Resulting Numbers: [6, 8]
Generated Node #0,0,0: 18:[6, 8] Operation: 21-13=8
Moving to Node #0,0,0
Current State: 18:[6, 8], Operations: ['84/4=21', '21-13=8']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,18 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
40,
14,
18,
5
] | 40 | [
"40-14=26",
"26-18=8",
"5*8=40"
] | Current State: 40:[40, 14, 18, 5], Operations: []
Exploring Operation: 40-14=26, Resulting Numbers: [18, 5, 26]
Generated Node #2: [18, 5, 26] from Operation: 40-14=26
Current State: 40:[18, 5, 26], Operations: ['40-14=26']
Exploring Operation: 26-18=8, Resulting Numbers: [5, 8]
Generated Node #3: [5, 8] from Operation: 26-18=8
Current State: 40:[5, 8], Operations: ['40-14=26', '26-18=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[40, 14, 18, 5], Operations: []
Exploring Operation: 18-14=4, Resulting Numbers: [40, 5, 4]
Generated Node #0,0: 40:[40, 5, 4] Operation: 18-14=4
Moving to Node #0,0
Current State: 40:[40, 5, 4], Operations: ['18-14=4']
Exploring Operation: 40/5=8, Resulting Numbers: [4, 8]
Generated Node #0,0,0: 40:[4, 8] Operation: 40/5=8
Moving to Node #0,0,0
Current State: 40:[4, 8], Operations: ['18-14=4', '40/5=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,40 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
74,
51,
4,
67
] | 23 | [
"74-67=7",
"4*7=28",
"51-28=23"
] | Current State: 23:[74, 51, 4, 67], Operations: []
Exploring Operation: 74-67=7, Resulting Numbers: [51, 4, 7]
Generated Node #2: [51, 4, 7] from Operation: 74-67=7
Current State: 23:[51, 4, 7], Operations: ['74-67=7']
Exploring Operation: 4*7=28, Resulting Numbers: [51, 28]
Generated Node #3: [51, 28] from Operation: 4*7=28
Current State: 23:[51, 28], Operations: ['74-67=7', '4*7=28']
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[74, 51, 4, 67], Operations: []
Exploring Operation: 74-67=7, Resulting Numbers: [51, 4, 7]
Generated Node #0,0: 23:[51, 4, 7] Operation: 74-67=7
Exploring Operation: 67-51=16, Resulting Numbers: [74, 4, 16]
Generated Node #0,1: 23:[74, 4, 16] Operation: 67-51=16
Exploring Operation: 74-51=23, Resulting Numbers: [4, 67, 23]
Generated Node #0,2: 23:[4, 67, 23] Operation: 74-51=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[51, 4, 7], Operations: ['74-67=7']
Exploring Operation: 4*7=28, Resulting Numbers: [51, 28]
Generated Node #0,0,0: 23:[51, 28] Operation: 4*7=28
Exploring Operation: 51-7=44, Resulting Numbers: [4, 44]
Generated Node #0,0,1: 23:[4, 44] Operation: 51-7=44
Exploring Operation: 51-4=47, Resulting Numbers: [7, 47]
Generated Node #0,0,2: 23:[7, 47] Operation: 51-4=47
Moving to Node #0,0,0
Current State: 23:[51, 28], Operations: ['74-67=7', '4*7=28']
Exploring Operation: 51*28=1428, Resulting Numbers: [1428]
1428,23 unequal: No Solution
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,23 unequal: No Solution
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[74, 51, 4, 67], Operations: []
Exploring Operation: 74-67=7, Resulting Numbers: [51, 4, 7]
Generated Node #0,0: 23:[51, 4, 7] Operation: 74-67=7
Moving to Node #0,0
Current State: 23:[51, 4, 7], Operations: ['74-67=7']
Exploring Operation: 4*7=28, Resulting Numbers: [51, 28]
Generated Node #0,0,0: 23:[51, 28] Operation: 4*7=28
Moving to Node #0,0,0
Current State: 23:[51, 28], Operations: ['74-67=7', '4*7=28']
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
34,
29,
16,
85
] | 38 | [
"34+29=63",
"16+85=101",
"101-63=38"
] | Current State: 38:[34, 29, 16, 85], Operations: []
Exploring Operation: 34+29=63, Resulting Numbers: [16, 85, 63]
Generated Node #2: [16, 85, 63] from Operation: 34+29=63
Current State: 38:[16, 85, 63], Operations: ['34+29=63']
Exploring Operation: 16+85=101, Resulting Numbers: [63, 101]
Generated Node #3: [63, 101] from Operation: 16+85=101
Current State: 38:[63, 101], Operations: ['34+29=63', '16+85=101']
Exploring Operation: 101-63=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[34, 29, 16, 85], Operations: []
Exploring Operation: 85-16=69, Resulting Numbers: [34, 29, 69]
Generated Node #0,0: 38:[34, 29, 69] Operation: 85-16=69
Exploring Operation: 85-29=56, Resulting Numbers: [34, 16, 56]
Generated Node #0,1: 38:[34, 16, 56] Operation: 85-29=56
Exploring Operation: 34-16=18, Resulting Numbers: [29, 85, 18]
Generated Node #0,2: 38:[29, 85, 18] Operation: 34-16=18
Exploring Operation: 85-34=51, Resulting Numbers: [29, 16, 51]
Generated Node #0,3: 38:[29, 16, 51] Operation: 85-34=51
Exploring Operation: 34-29=5, Resulting Numbers: [16, 85, 5]
Generated Node #0,4: 38:[16, 85, 5] Operation: 34-29=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[34, 16, 56], Operations: ['85-29=56']
Exploring Operation: 34+16=50, Resulting Numbers: [56, 50]
Generated Node #0,1,0: 38:[56, 50] Operation: 34+16=50
Exploring Operation: 34-16=18, Resulting Numbers: [56, 18]
Generated Node #0,1,1: 38:[56, 18] Operation: 34-16=18
Exploring Operation: 56-34=22, Resulting Numbers: [16, 22]
Generated Node #0,1,2: 38:[16, 22] Operation: 56-34=22
Exploring Operation: 56-16=40, Resulting Numbers: [34, 40]
Generated Node #0,1,3: 38:[34, 40] Operation: 56-16=40
Exploring Operation: 16+56=72, Resulting Numbers: [34, 72]
Generated Node #0,1,4: 38:[34, 72] Operation: 16+56=72
Moving to Node #0,1,2
Current State: 38:[16, 22], Operations: ['85-29=56', '56-34=22']
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[34, 29, 16, 85], Operations: []
Exploring Operation: 85-29=56, Resulting Numbers: [34, 16, 56]
Generated Node #0,1: 38:[34, 16, 56] Operation: 85-29=56
Moving to Node #0,1
Current State: 38:[34, 16, 56], Operations: ['85-29=56']
Exploring Operation: 56-34=22, Resulting Numbers: [16, 22]
Generated Node #0,1,2: 38:[16, 22] Operation: 56-34=22
Moving to Node #0,1,2
Current State: 38:[16, 22], Operations: ['85-29=56', '56-34=22']
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
64,
33,
34,
78
] | 53 | [
"64+33=97",
"78-34=44",
"97-44=53"
] | Current State: 53:[64, 33, 34, 78], Operations: []
Exploring Operation: 64+33=97, Resulting Numbers: [34, 78, 97]
Generated Node #2: [34, 78, 97] from Operation: 64+33=97
Current State: 53:[34, 78, 97], Operations: ['64+33=97']
Exploring Operation: 78-34=44, Resulting Numbers: [97, 44]
Generated Node #3: [97, 44] from Operation: 78-34=44
Current State: 53:[97, 44], Operations: ['64+33=97', '78-34=44']
Exploring Operation: 97-44=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[64, 33, 34, 78], Operations: []
Exploring Operation: 78-34=44, Resulting Numbers: [64, 33, 44]
Generated Node #0,0: 53:[64, 33, 44] Operation: 78-34=44
Exploring Operation: 64-33=31, Resulting Numbers: [34, 78, 31]
Generated Node #0,1: 53:[34, 78, 31] Operation: 64-33=31
Exploring Operation: 33+34=67, Resulting Numbers: [64, 78, 67]
Generated Node #0,2: 53:[64, 78, 67] Operation: 33+34=67
Exploring Operation: 78-33=45, Resulting Numbers: [64, 34, 45]
Generated Node #0,3: 53:[64, 34, 45] Operation: 78-33=45
Start Sub Search at level 1: Moving to Node #0,3
Current State: 53:[64, 34, 45], Operations: ['78-33=45']
Exploring Operation: 64+34=98, Resulting Numbers: [45, 98]
Generated Node #0,3,0: 53:[45, 98] Operation: 64+34=98
Exploring Operation: 34+45=79, Resulting Numbers: [64, 79]
Generated Node #0,3,1: 53:[64, 79] Operation: 34+45=79
Exploring Operation: 64-34=30, Resulting Numbers: [45, 30]
Generated Node #0,3,2: 53:[45, 30] Operation: 64-34=30
Exploring Operation: 64-45=19, Resulting Numbers: [34, 19]
Generated Node #0,3,3: 53:[34, 19] Operation: 64-45=19
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 53:[45, 30], Operations: ['78-33=45', '64-34=30']
Exploring Operation: 45*30=1350, Resulting Numbers: [1350]
1350,53 unequal: No Solution
Exploring Operation: 45+30=75, Resulting Numbers: [75]
75,53 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 53:[64, 79], Operations: ['78-33=45', '34+45=79']
Exploring Operation: 64+79=143, Resulting Numbers: [143]
143,53 unequal: No Solution
Exploring Operation: 79-64=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Exploring Operation: 64*79=5056, Resulting Numbers: [5056]
5056,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 53:[45, 98], Operations: ['78-33=45', '64+34=98']
Exploring Operation: 98-45=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[64, 33, 34, 78], Operations: []
Exploring Operation: 78-33=45, Resulting Numbers: [64, 34, 45]
Generated Node #0,3: 53:[64, 34, 45] Operation: 78-33=45
Moving to Node #0,3
Current State: 53:[64, 34, 45], Operations: ['78-33=45']
Exploring Operation: 64+34=98, Resulting Numbers: [45, 98]
Generated Node #0,3,0: 53:[45, 98] Operation: 64+34=98
Moving to Node #0,3,0
Current State: 53:[45, 98], Operations: ['78-33=45', '64+34=98']
Exploring Operation: 98-45=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
22,
18,
27,
22
] | 55 | [
"22*27=594",
"594/18=33",
"22+33=55"
] | Current State: 55:[22, 18, 27, 22], Operations: []
Exploring Operation: 22*27=594, Resulting Numbers: [18, 594]
Generated Node #2: [18, 594] from Operation: 22*27=594
Current State: 55:[18, 594], Operations: ['22*27=594']
Exploring Operation: 594/18=33, Resulting Numbers: [33]
33,55 equal: Goal Reached
Exploring Operation: 22+33=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[22, 18, 27, 22], Operations: []
Exploring Operation: 27-22=5, Resulting Numbers: [18, 22, 5]
Generated Node #0,0: 55:[18, 22, 5] Operation: 27-22=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[18, 22, 5], Operations: ['27-22=5']
Exploring Operation: 22-18=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 55:[5, 4] Operation: 22-18=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[5, 4], Operations: ['27-22=5', '22-18=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
19,
13,
18,
52
] | 94 | [
"19*52=988",
"988/13=76",
"18+76=94"
] | Current State: 94:[19, 13, 18, 52], Operations: []
Exploring Operation: 19*52=988, Resulting Numbers: [13, 18, 988]
Generated Node #2: [13, 18, 988] from Operation: 19*52=988
Current State: 94:[13, 18, 988], Operations: ['19*52=988']
Exploring Operation: 988/13=76, Resulting Numbers: [18, 76]
Generated Node #3: [18, 76] from Operation: 988/13=76
Current State: 94:[18, 76], Operations: ['19*52=988', '988/13=76']
Exploring Operation: 18+76=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[19, 13, 18, 52], Operations: []
Exploring Operation: 19-18=1, Resulting Numbers: [13, 52, 1]
Generated Node #0,0: 94:[13, 52, 1] Operation: 19-18=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[13, 52, 1], Operations: ['19-18=1']
Exploring Operation: 52/13=4, Resulting Numbers: [1, 4]
Generated Node #0,0,0: 94:[1, 4] Operation: 52/13=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[1, 4], Operations: ['19-18=1', '52/13=4']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
14,
49,
47,
12
] | 22 | [
"49+47=96",
"96/12=8",
"14+8=22"
] | Current State: 22:[14, 49, 47, 12], Operations: []
Exploring Operation: 49+47=96, Resulting Numbers: [14, 12, 96]
Generated Node #2: [14, 12, 96] from Operation: 49+47=96
Current State: 22:[14, 12, 96], Operations: ['49+47=96']
Exploring Operation: 96/12=8, Resulting Numbers: [14, 8]
Generated Node #3: [14, 8] from Operation: 96/12=8
Current State: 22:[14, 8], Operations: ['49+47=96', '96/12=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[14, 49, 47, 12], Operations: []
Exploring Operation: 49-47=2, Resulting Numbers: [14, 12, 2]
Generated Node #0,0: 22:[14, 12, 2] Operation: 49-47=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[14, 12, 2], Operations: ['49-47=2']
Exploring Operation: 14-12=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 22:[2, 2] Operation: 14-12=2
Moving to Node #0,0,0
Current State: 22:[2, 2], Operations: ['49-47=2', '14-12=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,22 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 |
[
19,
6,
18,
91
] | 69 | [
"91-19=72",
"18/6=3",
"72-3=69"
] | Current State: 69:[19, 6, 18, 91], Operations: []
Exploring Operation: 91-19=72, Resulting Numbers: [6, 18, 72]
Generated Node #2: [6, 18, 72] from Operation: 91-19=72
Current State: 69:[6, 18, 72], Operations: ['91-19=72']
Exploring Operation: 18/6=3, Resulting Numbers: [72, 3]
Generated Node #3: [72, 3] from Operation: 18/6=3
Current State: 69:[72, 3], Operations: ['91-19=72', '18/6=3']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[19, 6, 18, 91], Operations: []
Exploring Operation: 91-18=73, Resulting Numbers: [19, 6, 73]
Generated Node #0,0: 69:[19, 6, 73] Operation: 91-18=73
Exploring Operation: 91-19=72, Resulting Numbers: [6, 18, 72]
Generated Node #0,1: 69:[6, 18, 72] Operation: 91-19=72
Moving to Node #0,0
Current State: 69:[19, 6, 73], Operations: ['91-18=73']
Exploring Operation: 73-6=67, Resulting Numbers: [19, 67]
Generated Node #0,0,0: 69:[19, 67] Operation: 73-6=67
Exploring Operation: 19+6=25, Resulting Numbers: [73, 25]
Generated Node #0,0,1: 69:[73, 25] Operation: 19+6=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[19, 67], Operations: ['91-18=73', '73-6=67']
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,69 unequal: No Solution
Exploring Operation: 19+67=86, Resulting Numbers: [86]
86,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[73, 25], Operations: ['91-18=73', '19+6=25']
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,69 unequal: No Solution
Exploring Operation: 73+25=98, Resulting Numbers: [98]
98,69 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: 69:[6, 18, 72], Operations: ['91-19=72']
Exploring Operation: 18/6=3, Resulting Numbers: [72, 3]
Generated Node #0,1,0: 69:[72, 3] Operation: 18/6=3
Exploring Operation: 6+18=24, Resulting Numbers: [72, 24]
Generated Node #0,1,1: 69:[72, 24] Operation: 6+18=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 69:[72, 3], Operations: ['91-19=72', '18/6=3']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[19, 6, 18, 91], Operations: []
Exploring Operation: 91-19=72, Resulting Numbers: [6, 18, 72]
Generated Node #0,1: 69:[6, 18, 72] Operation: 91-19=72
Moving to Node #0,1
Current State: 69:[6, 18, 72], Operations: ['91-19=72']
Exploring Operation: 18/6=3, Resulting Numbers: [72, 3]
Generated Node #0,1,0: 69:[72, 3] Operation: 18/6=3
Moving to Node #0,1,0
Current State: 69:[72, 3], Operations: ['91-19=72', '18/6=3']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
22,
39,
73,
67
] | 55 | [
"22+39=61",
"73-67=6",
"61-6=55"
] | Current State: 55:[22, 39, 73, 67], Operations: []
Exploring Operation: 22+39=61, Resulting Numbers: [73, 67, 61]
Generated Node #2: [73, 67, 61] from Operation: 22+39=61
Current State: 55:[73, 67, 61], Operations: ['22+39=61']
Exploring Operation: 73-67=6, Resulting Numbers: [61, 6]
Generated Node #3: [61, 6] from Operation: 73-67=6
Current State: 55:[61, 6], Operations: ['22+39=61', '73-67=6']
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[22, 39, 73, 67], Operations: []
Exploring Operation: 73-67=6, Resulting Numbers: [22, 39, 6]
Generated Node #0,0: 55:[22, 39, 6] Operation: 73-67=6
Moving to Node #0,0
Current State: 55:[22, 39, 6], Operations: ['73-67=6']
Exploring Operation: 22+39=61, Resulting Numbers: [6, 61]
Generated Node #0,0,0: 55:[6, 61] Operation: 22+39=61
Moving to Node #0,0,0
Current State: 55:[6, 61], Operations: ['73-67=6', '22+39=61']
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[22, 39, 73, 67], Operations: []
Exploring Operation: 73-67=6, Resulting Numbers: [22, 39, 6]
Generated Node #0,0: 55:[22, 39, 6] Operation: 73-67=6
Moving to Node #0,0
Current State: 55:[22, 39, 6], Operations: ['73-67=6']
Exploring Operation: 22+39=61, Resulting Numbers: [6, 61]
Generated Node #0,0,0: 55:[6, 61] Operation: 22+39=61
Moving to Node #0,0,0
Current State: 55:[6, 61], Operations: ['73-67=6', '22+39=61']
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
80,
50,
38,
3
] | 76 | [
"80-38=42",
"3*42=126",
"126-50=76"
] | Current State: 76:[80, 50, 38, 3], Operations: []
Exploring Operation: 80-38=42, Resulting Numbers: [50, 3, 42]
Generated Node #2: [50, 3, 42] from Operation: 80-38=42
Current State: 76:[50, 3, 42], Operations: ['80-38=42']
Exploring Operation: 3*42=126, Resulting Numbers: [50, 126]
Generated Node #3: [50, 126] from Operation: 3*42=126
Current State: 76:[50, 126], Operations: ['80-38=42', '3*42=126']
Exploring Operation: 126-50=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[80, 50, 38, 3], Operations: []
Exploring Operation: 80-3=77, Resulting Numbers: [50, 38, 77]
Generated Node #0,0: 76:[50, 38, 77] Operation: 80-3=77
Exploring Operation: 80-50=30, Resulting Numbers: [38, 3, 30]
Generated Node #0,1: 76:[38, 3, 30] Operation: 80-50=30
Exploring Operation: 50-38=12, Resulting Numbers: [80, 3, 12]
Generated Node #0,2: 76:[80, 3, 12] Operation: 50-38=12
Exploring Operation: 80-38=42, Resulting Numbers: [50, 3, 42]
Generated Node #0,3: 76:[50, 3, 42] Operation: 80-38=42
Exploring Operation: 50-3=47, Resulting Numbers: [80, 38, 47]
Generated Node #0,4: 76:[80, 38, 47] Operation: 50-3=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[38, 3, 30], Operations: ['80-50=30']
Exploring Operation: 3+30=33, Resulting Numbers: [38, 33]
Generated Node #0,1,0: 76:[38, 33] Operation: 3+30=33
Exploring Operation: 38-30=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 76:[3, 8] Operation: 38-30=8
Exploring Operation: 38+30=68, Resulting Numbers: [3, 68]
Generated Node #0,1,2: 76:[3, 68] Operation: 38+30=68
Exploring Operation: 30-3=27, Resulting Numbers: [38, 27]
Generated Node #0,1,3: 76:[38, 27] Operation: 30-3=27
Exploring Operation: 30/3=10, Resulting Numbers: [38, 10]
Generated Node #0,1,4: 76:[38, 10] Operation: 30/3=10
Moving to Node #0,1,0
Current State: 76:[38, 33], Operations: ['80-50=30', '3+30=33']
Exploring Operation: 38*33=1254, Resulting Numbers: [1254]
1254,76 unequal: No Solution
Exploring Operation: 38+33=71, Resulting Numbers: [71]
71,76 unequal: No Solution
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[3, 8], Operations: ['80-50=30', '38-30=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,76 unequal: No Solution
Moving to Node #0,1,4
Current State: 76:[38, 10], Operations: ['80-50=30', '30/3=10']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,76 unequal: No Solution
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,76 unequal: No Solution
Moving to Node #0,1,3
Current State: 76:[38, 27], Operations: ['80-50=30', '30-3=27']
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,76 unequal: No Solution
Exploring Operation: 38*27=1026, Resulting Numbers: [1026]
1026,76 unequal: No Solution
Exploring Operation: 38+27=65, Resulting Numbers: [65]
65,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[3, 68], Operations: ['80-50=30', '38+30=68']
Exploring Operation: 3*68=204, Resulting Numbers: [204]
204,76 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,76 unequal: No Solution
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,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,2
Current State: 76:[80, 3, 12], Operations: ['50-38=12']
Exploring Operation: 80-12=68, Resulting Numbers: [3, 68]
Generated Node #0,2,0: 76:[3, 68] Operation: 80-12=68
Exploring Operation: 12/3=4, Resulting Numbers: [80, 4]
Generated Node #0,2,1: 76:[80, 4] Operation: 12/3=4
Exploring Operation: 3*12=36, Resulting Numbers: [80, 36]
Generated Node #0,2,2: 76:[80, 36] Operation: 3*12=36
Exploring Operation: 3+12=15, Resulting Numbers: [80, 15]
Generated Node #0,2,3: 76:[80, 15] Operation: 3+12=15
Exploring Operation: 80-3=77, Resulting Numbers: [12, 77]
Generated Node #0,2,4: 76:[12, 77] Operation: 80-3=77
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[80, 4], Operations: ['50-38=12', '12/3=4']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,76 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[80, 50, 38, 3], Operations: []
Exploring Operation: 50-38=12, Resulting Numbers: [80, 3, 12]
Generated Node #0,2: 76:[80, 3, 12] Operation: 50-38=12
Moving to Node #0,2
Current State: 76:[80, 3, 12], Operations: ['50-38=12']
Exploring Operation: 12/3=4, Resulting Numbers: [80, 4]
Generated Node #0,2,1: 76:[80, 4] Operation: 12/3=4
Moving to Node #0,2,1
Current State: 76:[80, 4], Operations: ['50-38=12', '12/3=4']
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
36,
31,
96,
23
] | 68 | [
"36-31=5",
"96-23=73",
"73-5=68"
] | Current State: 68:[36, 31, 96, 23], Operations: []
Exploring Operation: 36-31=5, Resulting Numbers: [96, 23, 5]
Generated Node #2: [96, 23, 5] from Operation: 36-31=5
Current State: 68:[96, 23, 5], Operations: ['36-31=5']
Exploring Operation: 96-23=73, Resulting Numbers: [5, 73]
Generated Node #3: [5, 73] from Operation: 96-23=73
Current State: 68:[5, 73], Operations: ['36-31=5', '96-23=73']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[36, 31, 96, 23], Operations: []
Exploring Operation: 96-36=60, Resulting Numbers: [31, 23, 60]
Generated Node #0,0: 68:[31, 23, 60] Operation: 96-36=60
Exploring Operation: 96-23=73, Resulting Numbers: [36, 31, 73]
Generated Node #0,1: 68:[36, 31, 73] Operation: 96-23=73
Exploring Operation: 96-31=65, Resulting Numbers: [36, 23, 65]
Generated Node #0,2: 68:[36, 23, 65] Operation: 96-31=65
Moving to Node #0,1
Current State: 68:[36, 31, 73], Operations: ['96-23=73']
Exploring Operation: 36-31=5, Resulting Numbers: [73, 5]
Generated Node #0,1,0: 68:[73, 5] Operation: 36-31=5
Exploring Operation: 36+31=67, Resulting Numbers: [73, 67]
Generated Node #0,1,1: 68:[73, 67] Operation: 36+31=67
Exploring Operation: 73-36=37, Resulting Numbers: [31, 37]
Generated Node #0,1,2: 68:[31, 37] Operation: 73-36=37
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[73, 5], Operations: ['96-23=73', '36-31=5']
Exploring Operation: 73*5=365, Resulting Numbers: [365]
365,68 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[36, 31, 96, 23], Operations: []
Exploring Operation: 96-23=73, Resulting Numbers: [36, 31, 73]
Generated Node #0,1: 68:[36, 31, 73] Operation: 96-23=73
Moving to Node #0,1
Current State: 68:[36, 31, 73], Operations: ['96-23=73']
Exploring Operation: 36-31=5, Resulting Numbers: [73, 5]
Generated Node #0,1,0: 68:[73, 5] Operation: 36-31=5
Moving to Node #0,1,0
Current State: 68:[73, 5], Operations: ['96-23=73', '36-31=5']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
39,
99,
65,
11
] | 66 | [
"99+11=110",
"39*110=4290",
"4290/65=66"
] | Current State: 66:[39, 99, 65, 11], Operations: []
Exploring Operation: 99+11=110, Resulting Numbers: [39, 65, 110]
Generated Node #2: [39, 65, 110] from Operation: 99+11=110
Current State: 66:[39, 65, 110], Operations: ['99+11=110']
Exploring Operation: 39*110=4290, Resulting Numbers: [65, 4290]
Generated Node #3: [65, 4290] from Operation: 39*110=4290
Current State: 66:[65, 4290], Operations: ['99+11=110', '39*110=4290']
Exploring Operation: 4290/65=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[39, 99, 65, 11], Operations: []
Exploring Operation: 99-39=60, Resulting Numbers: [65, 11, 60]
Generated Node #0,0: 66:[65, 11, 60] Operation: 99-39=60
Exploring Operation: 99-11=88, Resulting Numbers: [39, 65, 88]
Generated Node #0,1: 66:[39, 65, 88] Operation: 99-11=88
Exploring Operation: 99-65=34, Resulting Numbers: [39, 11, 34]
Generated Node #0,2: 66:[39, 11, 34] Operation: 99-65=34
Exploring Operation: 99/11=9, Resulting Numbers: [39, 65, 9]
Generated Node #0,3: 66:[39, 65, 9] Operation: 99/11=9
Moving to Node #0,0
Current State: 66:[65, 11, 60], Operations: ['99-39=60']
Exploring Operation: 65+11=76, Resulting Numbers: [60, 76]
Generated Node #0,0,0: 66:[60, 76] Operation: 65+11=76
Exploring Operation: 60-11=49, Resulting Numbers: [65, 49]
Generated Node #0,0,1: 66:[65, 49] Operation: 60-11=49
Exploring Operation: 65-60=5, Resulting Numbers: [11, 5]
Generated Node #0,0,2: 66:[11, 5] Operation: 65-60=5
Exploring Operation: 11+60=71, Resulting Numbers: [65, 71]
Generated Node #0,0,3: 66:[65, 71] Operation: 11+60=71
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[11, 5], Operations: ['99-39=60', '65-60=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,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:[65, 71], Operations: ['99-39=60', '11+60=71']
Exploring Operation: 65+71=136, Resulting Numbers: [136]
136,66 unequal: No Solution
Exploring Operation: 65*71=4615, Resulting Numbers: [4615]
4615,66 unequal: No Solution
Exploring Operation: 71-65=6, Resulting Numbers: [6]
6,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:[60, 76], Operations: ['99-39=60', '65+11=76']
Exploring Operation: 60+76=136, Resulting Numbers: [136]
136,66 unequal: No Solution
Exploring Operation: 60*76=4560, Resulting Numbers: [4560]
4560,66 unequal: No Solution
Exploring Operation: 76-60=16, Resulting Numbers: [16]
16,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:[65, 49], Operations: ['99-39=60', '60-11=49']
Exploring Operation: 65-49=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 65*49=3185, Resulting Numbers: [3185]
3185,66 unequal: No Solution
Exploring Operation: 65+49=114, Resulting Numbers: [114]
114,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 66:[39, 11, 34], Operations: ['99-65=34']
Exploring Operation: 39-11=28, Resulting Numbers: [34, 28]
Generated Node #0,2,0: 66:[34, 28] Operation: 39-11=28
Exploring Operation: 39-34=5, Resulting Numbers: [11, 5]
Generated Node #0,2,1: 66:[11, 5] Operation: 39-34=5
Exploring Operation: 34-11=23, Resulting Numbers: [39, 23]
Generated Node #0,2,2: 66:[39, 23] Operation: 34-11=23
Exploring Operation: 39+34=73, Resulting Numbers: [11, 73]
Generated Node #0,2,3: 66:[11, 73] Operation: 39+34=73
Moving to Node #0,3
Current State: 66:[39, 65, 9], Operations: ['99/11=9']
Exploring Operation: 65+9=74, Resulting Numbers: [39, 74]
Generated Node #0,3,0: 66:[39, 74] Operation: 65+9=74
Exploring Operation: 65-39=26, Resulting Numbers: [9, 26]
Generated Node #0,3,1: 66:[9, 26] Operation: 65-39=26
Exploring Operation: 39+9=48, Resulting Numbers: [65, 48]
Generated Node #0,3,2: 66:[65, 48] Operation: 39+9=48
Exploring Operation: 39-9=30, Resulting Numbers: [65, 30]
Generated Node #0,3,3: 66:[65, 30] Operation: 39-9=30
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 66:[65, 30], Operations: ['99/11=9', '39-9=30']
Exploring Operation: 65*30=1950, Resulting Numbers: [1950]
1950,66 unequal: No Solution
Exploring Operation: 65+30=95, Resulting Numbers: [95]
95,66 unequal: No Solution
Exploring Operation: 65-30=35, Resulting Numbers: [35]
35,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 66:[9, 26], Operations: ['99/11=9', '65-39=26']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 66:[39, 74], Operations: ['99/11=9', '65+9=74']
Exploring Operation: 39*74=2886, Resulting Numbers: [2886]
2886,66 unequal: No Solution
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 39+74=113, Resulting Numbers: [113]
113,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 66:[65, 48], Operations: ['99/11=9', '39+9=48']
Exploring Operation: 65-48=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 65+48=113, Resulting Numbers: [113]
113,66 unequal: No Solution
Exploring Operation: 65*48=3120, Resulting Numbers: [3120]
3120,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, 65, 88], Operations: ['99-11=88']
Exploring Operation: 39+65=104, Resulting Numbers: [88, 104]
Generated Node #0,1,0: 66:[88, 104] Operation: 39+65=104
Exploring Operation: 65-39=26, Resulting Numbers: [88, 26]
Generated Node #0,1,1: 66:[88, 26] Operation: 65-39=26
Exploring Operation: 88-39=49, Resulting Numbers: [65, 49]
Generated Node #0,1,2: 66:[65, 49] Operation: 88-39=49
Exploring Operation: 88-65=23, Resulting Numbers: [39, 23]
Generated Node #0,1,3: 66:[39, 23] Operation: 88-65=23
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 66:[39, 23], Operations: ['99-11=88', '88-65=23']
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,66 unequal: No Solution
Exploring Operation: 39*23=897, Resulting Numbers: [897]
897,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[65, 49], Operations: ['99-11=88', '88-39=49']
Exploring Operation: 65*49=3185, Resulting Numbers: [3185]
3185,66 unequal: No Solution
Exploring Operation: 65+49=114, Resulting Numbers: [114]
114,66 unequal: No Solution
Exploring Operation: 65-49=16, Resulting Numbers: [16]
16,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[88, 26], Operations: ['99-11=88', '65-39=26']
Exploring Operation: 88*26=2288, Resulting Numbers: [2288]
2288,66 unequal: No Solution
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,66 unequal: No Solution
Exploring Operation: 88+26=114, Resulting Numbers: [114]
114,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[88, 104], Operations: ['99-11=88', '39+65=104']
Exploring Operation: 104-88=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 88+104=192, Resulting Numbers: [192]
192,66 unequal: No Solution
Exploring Operation: 88*104=9152, Resulting Numbers: [9152]
9152,66 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: 66:[11, 5], Operations: ['99-65=34', '39-34=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[34, 28], Operations: ['99-65=34', '39-11=28']
Exploring Operation: 34*28=952, Resulting Numbers: [952]
952,66 unequal: No Solution
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 34+28=62, Resulting Numbers: [62]
62,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[11, 73], Operations: ['99-65=34', '39+34=73']
Exploring Operation: 11*73=803, Resulting Numbers: [803]
803,66 unequal: No Solution
Exploring Operation: 11+73=84, Resulting Numbers: [84]
84,66 unequal: No Solution
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[39, 23], Operations: ['99-65=34', '34-11=23']
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,66 unequal: No Solution
Exploring Operation: 39*23=897, Resulting Numbers: [897]
897,66 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
55,
51,
55,
50
] | 55 | [
"55*51=2805",
"55*50=2750",
"2805-2750=55"
] | Current State: 55:[55, 51, 55, 50], Operations: []
Exploring Operation: 55*51=2805, Resulting Numbers: [50, 2805]
Generated Node #2: [50, 2805] from Operation: 55*51=2805
Current State: 55:[50, 2805], Operations: ['55*51=2805']
Exploring Operation: 55*50=2750, Resulting Numbers: [2805, 2750]
Generated Node #3: [2805, 2750] from Operation: 55*50=2750
Current State: 55:[2805, 2750], Operations: ['55*51=2805', '55*50=2750']
Exploring Operation: 2805-2750=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[55, 51, 55, 50], Operations: []
Exploring Operation: 55-50=5, Resulting Numbers: [51, 55, 5]
Generated Node #0,0: 55:[51, 55, 5] Operation: 55-50=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[51, 55, 5], Operations: ['55-50=5']
Exploring Operation: 55-51=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 55:[5, 4] Operation: 55-51=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[5, 4], Operations: ['55-50=5', '55-51=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,55 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 |
[
85,
15,
68,
69
] | 81 | [
"15*68=1020",
"1020/85=12",
"69+12=81"
] | Current State: 81:[85, 15, 68, 69], Operations: []
Exploring Operation: 15*68=1020, Resulting Numbers: [85, 69, 1020]
Generated Node #2: [85, 69, 1020] from Operation: 15*68=1020
Current State: 81:[85, 69, 1020], Operations: ['15*68=1020']
Exploring Operation: 1020/85=12, Resulting Numbers: [69, 12]
Generated Node #3: [69, 12] from Operation: 1020/85=12
Current State: 81:[69, 12], Operations: ['15*68=1020', '1020/85=12']
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[85, 15, 68, 69], Operations: []
Exploring Operation: 69-68=1, Resulting Numbers: [85, 15, 1]
Generated Node #0,0: 81:[85, 15, 1] Operation: 69-68=1
Moving to Node #0,0
Current State: 81:[85, 15, 1], Operations: ['69-68=1']
Exploring Operation: 85-1=84, Resulting Numbers: [15, 84]
Generated Node #0,0,0: 81:[15, 84] Operation: 85-1=84
Moving to Node #0,0,0
Current State: 81:[15, 84], Operations: ['69-68=1', '85-1=84']
Exploring Operation: 84-15=69, Resulting Numbers: [69]
69,81 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
37,
76,
35,
24
] | 50 | [
"76-37=39",
"35-24=11",
"39+11=50"
] | Current State: 50:[37, 76, 35, 24], Operations: []
Exploring Operation: 76-37=39, Resulting Numbers: [35, 24, 39]
Generated Node #2: [35, 24, 39] from Operation: 76-37=39
Current State: 50:[35, 24, 39], Operations: ['76-37=39']
Exploring Operation: 35-24=11, Resulting Numbers: [39, 11]
Generated Node #3: [39, 11] from Operation: 35-24=11
Current State: 50:[39, 11], Operations: ['76-37=39', '35-24=11']
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[37, 76, 35, 24], Operations: []
Exploring Operation: 76-37=39, Resulting Numbers: [35, 24, 39]
Generated Node #0,0: 50:[35, 24, 39] Operation: 76-37=39
Exploring Operation: 76-35=41, Resulting Numbers: [37, 24, 41]
Generated Node #0,1: 50:[37, 24, 41] Operation: 76-35=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[35, 24, 39], Operations: ['76-37=39']
Exploring Operation: 35-24=11, Resulting Numbers: [39, 11]
Generated Node #0,0,0: 50:[39, 11] Operation: 35-24=11
Exploring Operation: 39-35=4, Resulting Numbers: [24, 4]
Generated Node #0,0,1: 50:[24, 4] Operation: 39-35=4
Moving to Node #0,0,1
Current State: 50:[24, 4], Operations: ['76-37=39', '39-35=4']
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[39, 11], Operations: ['76-37=39', '35-24=11']
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[37, 76, 35, 24], Operations: []
Exploring Operation: 76-37=39, Resulting Numbers: [35, 24, 39]
Generated Node #0,0: 50:[35, 24, 39] Operation: 76-37=39
Moving to Node #0,0
Current State: 50:[35, 24, 39], Operations: ['76-37=39']
Exploring Operation: 35-24=11, Resulting Numbers: [39, 11]
Generated Node #0,0,0: 50:[39, 11] Operation: 35-24=11
Moving to Node #0,0,0
Current State: 50:[39, 11], Operations: ['76-37=39', '35-24=11']
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
3,
15,
64,
84
] | 77 | [
"84/3=28",
"64-15=49",
"28+49=77"
] | Current State: 77:[3, 15, 64, 84], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [15, 64, 28]
Generated Node #2: [15, 64, 28] from Operation: 84/3=28
Current State: 77:[15, 64, 28], Operations: ['84/3=28']
Exploring Operation: 64-15=49, Resulting Numbers: [28, 49]
Generated Node #3: [28, 49] from Operation: 64-15=49
Current State: 77:[28, 49], Operations: ['84/3=28', '64-15=49']
Exploring Operation: 28+49=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[3, 15, 64, 84], Operations: []
Exploring Operation: 15-3=12, Resulting Numbers: [64, 84, 12]
Generated Node #0,0: 77:[64, 84, 12] Operation: 15-3=12
Exploring Operation: 3+64=67, Resulting Numbers: [15, 84, 67]
Generated Node #0,1: 77:[15, 84, 67] Operation: 3+64=67
Exploring Operation: 84-3=81, Resulting Numbers: [15, 64, 81]
Generated Node #0,2: 77:[15, 64, 81] Operation: 84-3=81
Exploring Operation: 84-64=20, Resulting Numbers: [3, 15, 20]
Generated Node #0,3: 77:[3, 15, 20] Operation: 84-64=20
Exploring Operation: 15+64=79, Resulting Numbers: [3, 84, 79]
Generated Node #0,4: 77:[3, 84, 79] Operation: 15+64=79
Moving to Node #0,4
Current State: 77:[3, 84, 79], Operations: ['15+64=79']
Exploring Operation: 84-3=81, Resulting Numbers: [79, 81]
Generated Node #0,4,0: 77:[79, 81] Operation: 84-3=81
Exploring Operation: 84-79=5, Resulting Numbers: [3, 5]
Generated Node #0,4,1: 77:[3, 5] Operation: 84-79=5
Exploring Operation: 3+79=82, Resulting Numbers: [84, 82]
Generated Node #0,4,2: 77:[84, 82] Operation: 3+79=82
Exploring Operation: 3+84=87, Resulting Numbers: [79, 87]
Generated Node #0,4,3: 77:[79, 87] Operation: 3+84=87
Exploring Operation: 79-3=76, Resulting Numbers: [84, 76]
Generated Node #0,4,4: 77:[84, 76] Operation: 79-3=76
Moving to Node #0,3
Current State: 77:[3, 15, 20], Operations: ['84-64=20']
Exploring Operation: 20-3=17, Resulting Numbers: [15, 17]
Generated Node #0,3,0: 77:[15, 17] Operation: 20-3=17
Exploring Operation: 15-3=12, Resulting Numbers: [20, 12]
Generated Node #0,3,1: 77:[20, 12] Operation: 15-3=12
Exploring Operation: 20-15=5, Resulting Numbers: [3, 5]
Generated Node #0,3,2: 77:[3, 5] Operation: 20-15=5
Exploring Operation: 15/3=5, Resulting Numbers: [20, 5]
Generated Node #0,3,3: 77:[20, 5] Operation: 15/3=5
Exploring Operation: 3+15=18, Resulting Numbers: [20, 18]
Generated Node #0,3,4: 77:[20, 18] Operation: 3+15=18
Moving to Node #0,0
Current State: 77:[64, 84, 12], Operations: ['15-3=12']
Exploring Operation: 84-12=72, Resulting Numbers: [64, 72]
Generated Node #0,0,0: 77:[64, 72] Operation: 84-12=72
Exploring Operation: 64+12=76, Resulting Numbers: [84, 76]
Generated Node #0,0,1: 77:[84, 76] Operation: 64+12=76
Exploring Operation: 64-12=52, Resulting Numbers: [84, 52]
Generated Node #0,0,2: 77:[84, 52] Operation: 64-12=52
Exploring Operation: 84/12=7, Resulting Numbers: [64, 7]
Generated Node #0,0,3: 77:[64, 7] Operation: 84/12=7
Exploring Operation: 84-64=20, Resulting Numbers: [12, 20]
Generated Node #0,0,4: 77:[12, 20] Operation: 84-64=20
Moving to Node #0,1
Current State: 77:[15, 84, 67], Operations: ['3+64=67']
Exploring Operation: 15+84=99, Resulting Numbers: [67, 99]
Generated Node #0,1,0: 77:[67, 99] Operation: 15+84=99
Exploring Operation: 84-67=17, Resulting Numbers: [15, 17]
Generated Node #0,1,1: 77:[15, 17] Operation: 84-67=17
Exploring Operation: 15+67=82, Resulting Numbers: [84, 82]
Generated Node #0,1,2: 77:[84, 82] Operation: 15+67=82
Exploring Operation: 84-15=69, Resulting Numbers: [67, 69]
Generated Node #0,1,3: 77:[67, 69] Operation: 84-15=69
Exploring Operation: 67-15=52, Resulting Numbers: [84, 52]
Generated Node #0,1,4: 77:[84, 52] Operation: 67-15=52
Moving to Node #0,2
Current State: 77:[15, 64, 81], Operations: ['84-3=81']
Exploring Operation: 64-15=49, Resulting Numbers: [81, 49]
Generated Node #0,2,0: 77:[81, 49] Operation: 64-15=49
Exploring Operation: 81-64=17, Resulting Numbers: [15, 17]
Generated Node #0,2,1: 77:[15, 17] Operation: 81-64=17
Exploring Operation: 81-15=66, Resulting Numbers: [64, 66]
Generated Node #0,2,2: 77:[64, 66] Operation: 81-15=66
Exploring Operation: 15+81=96, Resulting Numbers: [64, 96]
Generated Node #0,2,3: 77:[64, 96] Operation: 15+81=96
Exploring Operation: 15+64=79, Resulting Numbers: [81, 79]
Generated Node #0,2,4: 77:[81, 79] Operation: 15+64=79
Moving to Node #0,4,0
Current State: 77:[79, 81], Operations: ['15+64=79', '84-3=81']
Exploring Operation: 79*81=6399, Resulting Numbers: [6399]
6399,77 unequal: No Solution
Exploring Operation: 81-79=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 79+81=160, Resulting Numbers: [160]
160,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[3, 5], Operations: ['84-64=20', '20-15=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Moving to Node #0,4,1
Current State: 77:[3, 5], Operations: ['15+64=79', '84-79=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Moving to Node #0,2,4
Current State: 77:[81, 79], Operations: ['84-3=81', '15+64=79']
Exploring Operation: 81-79=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 81*79=6399, Resulting Numbers: [6399]
6399,77 unequal: No Solution
Exploring Operation: 81+79=160, Resulting Numbers: [160]
160,77 unequal: No Solution
Moving to Node #0,4,4
Current State: 77:[84, 76], Operations: ['15+64=79', '79-3=76']
Exploring Operation: 84-76=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 84+76=160, Resulting Numbers: [160]
160,77 unequal: No Solution
Exploring Operation: 84*76=6384, Resulting Numbers: [6384]
6384,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[84, 76], Operations: ['15-3=12', '64+12=76']
Exploring Operation: 84*76=6384, Resulting Numbers: [6384]
6384,77 unequal: No Solution
Exploring Operation: 84+76=160, Resulting Numbers: [160]
160,77 unequal: No Solution
Exploring Operation: 84-76=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Moving to Node #0,3,0
Current State: 77:[15, 17], Operations: ['84-64=20', '20-3=17']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,77 unequal: No Solution
Moving to Node #0,0,4
Current State: 77:[12, 20], Operations: ['15-3=12', '84-64=20']
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 12*20=240, Resulting Numbers: [240]
240,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[15, 17], Operations: ['84-3=81', '81-64=17']
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,77 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[20, 12], Operations: ['84-64=20', '15-3=12']
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[15, 17], Operations: ['3+64=67', '84-67=17']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[20, 5], Operations: ['84-64=20', '15/3=5']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,77 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,77 unequal: No Solution
Moving to Node #0,4,3
Current State: 77:[79, 87], Operations: ['15+64=79', '3+84=87']
Exploring Operation: 79+87=166, Resulting Numbers: [166]
166,77 unequal: No Solution
Exploring Operation: 79*87=6873, Resulting Numbers: [6873]
6873,77 unequal: No Solution
Exploring Operation: 87-79=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[84, 82], Operations: ['3+64=67', '15+67=82']
Exploring Operation: 84+82=166, Resulting Numbers: [166]
166,77 unequal: No Solution
Exploring Operation: 84*82=6888, Resulting Numbers: [6888]
6888,77 unequal: No Solution
Exploring Operation: 84-82=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Moving to Node #0,4,2
Current State: 77:[84, 82], Operations: ['15+64=79', '3+79=82']
Exploring Operation: 84*82=6888, Resulting Numbers: [6888]
6888,77 unequal: No Solution
Exploring Operation: 84+82=166, Resulting Numbers: [166]
166,77 unequal: No Solution
Exploring Operation: 84-82=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Moving to Node #0,0,3
Current State: 77:[64, 7], Operations: ['15-3=12', '84/12=7']
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Exploring Operation: 64*7=448, Resulting Numbers: [448]
448,77 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Moving to Node #0,3,4
Current State: 77:[20, 18], Operations: ['84-64=20', '3+15=18']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,77 unequal: No Solution
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[64, 72], Operations: ['15-3=12', '84-12=72']
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 64*72=4608, Resulting Numbers: [4608]
4608,77 unequal: No Solution
Exploring Operation: 64+72=136, Resulting Numbers: [136]
136,77 unequal: No Solution
Moving to Node #0,1,3
Current State: 77:[67, 69], Operations: ['3+64=67', '84-15=69']
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 67+69=136, Resulting Numbers: [136]
136,77 unequal: No Solution
Exploring Operation: 67*69=4623, Resulting Numbers: [4623]
4623,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[64, 66], Operations: ['84-3=81', '81-15=66']
Exploring Operation: 66-64=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 64*66=4224, Resulting Numbers: [4224]
4224,77 unequal: No Solution
Exploring Operation: 64+66=130, Resulting Numbers: [130]
130,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[81, 49], Operations: ['84-3=81', '64-15=49']
Exploring Operation: 81*49=3969, Resulting Numbers: [3969]
3969,77 unequal: No Solution
Exploring Operation: 81+49=130, Resulting Numbers: [130]
130,77 unequal: No Solution
Exploring Operation: 81-49=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Moving to Node #0,1,4
Current State: 77:[84, 52], Operations: ['3+64=67', '67-15=52']
Exploring Operation: 84*52=4368, Resulting Numbers: [4368]
4368,77 unequal: No Solution
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Exploring Operation: 84+52=136, Resulting Numbers: [136]
136,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[67, 99], Operations: ['3+64=67', '15+84=99']
Exploring Operation: 99-67=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Exploring Operation: 67+99=166, Resulting Numbers: [166]
166,77 unequal: No Solution
Exploring Operation: 67*99=6633, Resulting Numbers: [6633]
6633,77 unequal: No Solution
Moving to Node #0,2,3
Current State: 77:[64, 96], Operations: ['84-3=81', '15+81=96']
Exploring Operation: 64+96=160, Resulting Numbers: [160]
160,77 unequal: No Solution
Exploring Operation: 64*96=6144, Resulting Numbers: [6144]
6144,77 unequal: No Solution
Exploring Operation: 96-64=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[84, 52], Operations: ['15-3=12', '64-12=52']
Exploring Operation: 84+52=136, Resulting Numbers: [136]
136,77 unequal: No Solution
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Exploring Operation: 84*52=4368, Resulting Numbers: [4368]
4368,77 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
58,
63,
55,
63
] | 52 | [
"63-58=5",
"55/5=11",
"63-11=52"
] | Current State: 52:[58, 63, 55, 63], Operations: []
Exploring Operation: 63-58=5, Resulting Numbers: [55, 5]
Generated Node #2: [55, 5] from Operation: 63-58=5
Current State: 52:[55, 5], Operations: ['63-58=5']
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,52 equal: Goal Reached
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[58, 63, 55, 63], Operations: []
Exploring Operation: 63-63=0, Resulting Numbers: [58, 55, 0]
Generated Node #0,0: 52:[58, 55, 0] Operation: 63-63=0
Exploring Operation: 63-58=5, Resulting Numbers: [63, 55, 5]
Generated Node #0,1: 52:[63, 55, 5] Operation: 63-58=5
Exploring Operation: 63/63=1, Resulting Numbers: [58, 55, 1]
Generated Node #0,2: 52:[58, 55, 1] Operation: 63/63=1
Exploring Operation: 63-55=8, Resulting Numbers: [58, 63, 8]
Generated Node #0,3: 52:[58, 63, 8] Operation: 63-55=8
Exploring Operation: 63-58=5, Resulting Numbers: [55, 63, 5]
Generated Node #0,4: 52:[55, 63, 5] Operation: 63-58=5
Moving to Node #0,2
Current State: 52:[58, 55, 1], Operations: ['63/63=1']
Exploring Operation: 58-55=3, Resulting Numbers: [1, 3]
Generated Node #0,2,0: 52:[1, 3] Operation: 58-55=3
Exploring Operation: 58-1=57, Resulting Numbers: [55, 57]
Generated Node #0,2,1: 52:[55, 57] Operation: 58-1=57
Exploring Operation: 58/1=58, Resulting Numbers: [55, 58]
Generated Node #0,2,2: 52:[55, 58] Operation: 58/1=58
Exploring Operation: 58*1=58, Resulting Numbers: [55, 58]
Generated Node #0,2,3: 52:[55, 58] Operation: 58*1=58
Exploring Operation: 55-1=54, Resulting Numbers: [58, 54]
Generated Node #0,2,4: 52:[58, 54] Operation: 55-1=54
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[1, 3], Operations: ['63/63=1', '58-55=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[55, 57], Operations: ['63/63=1', '58-1=57']
Exploring Operation: 55*57=3135, Resulting Numbers: [3135]
3135,52 unequal: No Solution
Exploring Operation: 55+57=112, Resulting Numbers: [112]
112,52 unequal: No Solution
Exploring Operation: 57-55=2, Resulting Numbers: [2]
2,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 52:[58, 54], Operations: ['63/63=1', '55-1=54']
Exploring Operation: 58-54=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 58*54=3132, Resulting Numbers: [3132]
3132,52 unequal: No Solution
Exploring Operation: 58+54=112, Resulting Numbers: [112]
112,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[55, 58], Operations: ['63/63=1', '58/1=58']
Exploring Operation: 55*58=3190, Resulting Numbers: [3190]
3190,52 unequal: No Solution
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 55+58=113, Resulting Numbers: [113]
113,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 52:[55, 58], Operations: ['63/63=1', '58*1=58']
Exploring Operation: 55+58=113, Resulting Numbers: [113]
113,52 unequal: No Solution
Exploring Operation: 55*58=3190, Resulting Numbers: [3190]
3190,52 unequal: No Solution
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 52:[58, 55, 0], Operations: ['63-63=0']
Exploring Operation: 58-55=3, Resulting Numbers: [0, 3]
Generated Node #0,0,0: 52:[0, 3] Operation: 58-55=3
Exploring Operation: 58+0=58, Resulting Numbers: [55, 58]
Generated Node #0,0,1: 52:[55, 58] Operation: 58+0=58
Exploring Operation: 55*0=0, Resulting Numbers: [58, 0]
Generated Node #0,0,2: 52:[58, 0] Operation: 55*0=0
Exploring Operation: 58*0=0, Resulting Numbers: [55, 0]
Generated Node #0,0,3: 52:[55, 0] Operation: 58*0=0
Exploring Operation: 58-0=58, Resulting Numbers: [55, 58]
Generated Node #0,0,4: 52:[55, 58] Operation: 58-0=58
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[0, 3], Operations: ['63-63=0', '58-55=3']
Exploring Operation: 0+3=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 0*3=0, Resulting Numbers: [0]
0,52 unequal: No Solution
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 52:[55, 0], Operations: ['63-63=0', '58*0=0']
Exploring Operation: 55*0=0, Resulting Numbers: [0]
0,52 unequal: No Solution
Exploring Operation: 55+0=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 55-0=55, Resulting Numbers: [55]
55,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[58, 0], Operations: ['63-63=0', '55*0=0']
Exploring Operation: 58-0=58, Resulting Numbers: [58]
58,52 unequal: No Solution
Exploring Operation: 58*0=0, Resulting Numbers: [0]
0,52 unequal: No Solution
Exploring Operation: 58+0=58, Resulting Numbers: [58]
58,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[55, 58], Operations: ['63-63=0', '58+0=58']
Exploring Operation: 55*58=3190, Resulting Numbers: [3190]
3190,52 unequal: No Solution
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 55+58=113, Resulting Numbers: [113]
113,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 52:[55, 58], Operations: ['63-63=0', '58-0=58']
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 55*58=3190, Resulting Numbers: [3190]
3190,52 unequal: No Solution
Exploring Operation: 55+58=113, Resulting Numbers: [113]
113,52 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: 52:[63, 55, 5], Operations: ['63-58=5']
Exploring Operation: 55/5=11, Resulting Numbers: [63, 11]
Generated Node #0,1,0: 52:[63, 11] Operation: 55/5=11
Exploring Operation: 63+5=68, Resulting Numbers: [55, 68]
Generated Node #0,1,1: 52:[55, 68] Operation: 63+5=68
Exploring Operation: 63-55=8, Resulting Numbers: [5, 8]
Generated Node #0,1,2: 52:[5, 8] Operation: 63-55=8
Exploring Operation: 55-5=50, Resulting Numbers: [63, 50]
Generated Node #0,1,3: 52:[63, 50] Operation: 55-5=50
Exploring Operation: 63-5=58, Resulting Numbers: [55, 58]
Generated Node #0,1,4: 52:[55, 58] Operation: 63-5=58
Moving to Node #0,4
Current State: 52:[55, 63, 5], Operations: ['63-58=5']
Exploring Operation: 55-5=50, Resulting Numbers: [63, 50]
Generated Node #0,4,0: 52:[63, 50] Operation: 55-5=50
Exploring Operation: 55/5=11, Resulting Numbers: [63, 11]
Generated Node #0,4,1: 52:[63, 11] Operation: 55/5=11
Exploring Operation: 63-5=58, Resulting Numbers: [55, 58]
Generated Node #0,4,2: 52:[55, 58] Operation: 63-5=58
Exploring Operation: 63-55=8, Resulting Numbers: [5, 8]
Generated Node #0,4,3: 52:[5, 8] Operation: 63-55=8
Exploring Operation: 55+5=60, Resulting Numbers: [63, 60]
Generated Node #0,4,4: 52:[63, 60] Operation: 55+5=60
Moving to Node #0,3
Current State: 52:[58, 63, 8], Operations: ['63-55=8']
Exploring Operation: 58-8=50, Resulting Numbers: [63, 50]
Generated Node #0,3,0: 52:[63, 50] Operation: 58-8=50
Exploring Operation: 58+8=66, Resulting Numbers: [63, 66]
Generated Node #0,3,1: 52:[63, 66] Operation: 58+8=66
Exploring Operation: 63+8=71, Resulting Numbers: [58, 71]
Generated Node #0,3,2: 52:[58, 71] Operation: 63+8=71
Exploring Operation: 63-58=5, Resulting Numbers: [8, 5]
Generated Node #0,3,3: 52:[8, 5] Operation: 63-58=5
Exploring Operation: 63-8=55, Resulting Numbers: [58, 55]
Generated Node #0,3,4: 52:[58, 55] Operation: 63-8=55
Moving to Node #0,1,2
Current State: 52:[5, 8], Operations: ['63-58=5', '63-55=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Moving to Node #0,4,3
Current State: 52:[5, 8], Operations: ['63-58=5', '63-55=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[8, 5], Operations: ['63-55=8', '63-58=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Moving to Node #0,4,2
Current State: 52:[55, 58], Operations: ['63-58=5', '63-5=58']
Exploring Operation: 55+58=113, Resulting Numbers: [113]
113,52 unequal: No Solution
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 55*58=3190, Resulting Numbers: [3190]
3190,52 unequal: No Solution
Moving to Node #0,3,4
Current State: 52:[58, 55], Operations: ['63-55=8', '63-8=55']
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 58*55=3190, Resulting Numbers: [3190]
3190,52 unequal: No Solution
Exploring Operation: 58+55=113, Resulting Numbers: [113]
113,52 unequal: No Solution
Moving to Node #0,1,4
Current State: 52:[55, 58], Operations: ['63-58=5', '63-5=58']
Exploring Operation: 55*58=3190, Resulting Numbers: [3190]
3190,52 unequal: No Solution
Exploring Operation: 55+58=113, Resulting Numbers: [113]
113,52 unequal: No Solution
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[63, 11], Operations: ['63-58=5', '55/5=11']
Exploring Operation: 63+11=74, Resulting Numbers: [74]
74,52 unequal: No Solution
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[58, 63, 55, 63], Operations: []
Exploring Operation: 63-58=5, Resulting Numbers: [63, 55, 5]
Generated Node #0,1: 52:[63, 55, 5] Operation: 63-58=5
Moving to Node #0,1
Current State: 52:[63, 55, 5], Operations: ['63-58=5']
Exploring Operation: 55/5=11, Resulting Numbers: [63, 11]
Generated Node #0,1,0: 52:[63, 11] Operation: 55/5=11
Moving to Node #0,1,0
Current State: 52:[63, 11], Operations: ['63-58=5', '55/5=11']
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.926215 | hs_5 | mult_heuristic |
[
6,
11,
45,
82
] | 29 | [
"6*11=66",
"82-45=37",
"66-37=29"
] | Current State: 29:[6, 11, 45, 82], Operations: []
Exploring Operation: 6*11=66, Resulting Numbers: [45, 82, 66]
Generated Node #2: [45, 82, 66] from Operation: 6*11=66
Current State: 29:[45, 82, 66], Operations: ['6*11=66']
Exploring Operation: 82-45=37, Resulting Numbers: [66, 37]
Generated Node #3: [66, 37] from Operation: 82-45=37
Current State: 29:[66, 37], Operations: ['6*11=66', '82-45=37']
Exploring Operation: 66-37=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[6, 11, 45, 82], Operations: []
Exploring Operation: 82-45=37, Resulting Numbers: [6, 11, 37]
Generated Node #0,0: 29:[6, 11, 37] Operation: 82-45=37
Exploring Operation: 6+11=17, Resulting Numbers: [45, 82, 17]
Generated Node #0,1: 29:[45, 82, 17] Operation: 6+11=17
Exploring Operation: 45-6=39, Resulting Numbers: [11, 82, 39]
Generated Node #0,2: 29:[11, 82, 39] Operation: 45-6=39
Moving to Node #0,0
Current State: 29:[6, 11, 37], Operations: ['82-45=37']
Exploring Operation: 37-6=31, Resulting Numbers: [11, 31]
Generated Node #0,0,0: 29:[11, 31] Operation: 37-6=31
Exploring Operation: 6+11=17, Resulting Numbers: [37, 17]
Generated Node #0,0,1: 29:[37, 17] Operation: 6+11=17
Exploring Operation: 37-11=26, Resulting Numbers: [6, 26]
Generated Node #0,0,2: 29:[6, 26] Operation: 37-11=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[11, 31], Operations: ['82-45=37', '37-6=31']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 11*31=341, Resulting Numbers: [341]
341,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[37, 17], Operations: ['82-45=37', '6+11=17']
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,29 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[6, 26], Operations: ['82-45=37', '37-11=26']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,29 unequal: No Solution
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,29 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: 29:[45, 82, 17], Operations: ['6+11=17']
Exploring Operation: 82-45=37, Resulting Numbers: [17, 37]
Generated Node #0,1,0: 29:[17, 37] Operation: 82-45=37
Exploring Operation: 82-17=65, Resulting Numbers: [45, 65]
Generated Node #0,1,1: 29:[45, 65] Operation: 82-17=65
Exploring Operation: 45-17=28, Resulting Numbers: [82, 28]
Generated Node #0,1,2: 29:[82, 28] Operation: 45-17=28
Moving to Node #0,2
Current State: 29:[11, 82, 39], Operations: ['45-6=39']
Exploring Operation: 82-11=71, Resulting Numbers: [39, 71]
Generated Node #0,2,0: 29:[39, 71] Operation: 82-11=71
Exploring Operation: 82-39=43, Resulting Numbers: [11, 43]
Generated Node #0,2,1: 29:[11, 43] Operation: 82-39=43
Exploring Operation: 39-11=28, Resulting Numbers: [82, 28]
Generated Node #0,2,2: 29:[82, 28] Operation: 39-11=28
Moving to Node #0,1,0
Current State: 29:[17, 37], Operations: ['6+11=17', '82-45=37']
Exploring Operation: 17*37=629, Resulting Numbers: [629]
629,29 unequal: No Solution
Exploring Operation: 17+37=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[11, 43], Operations: ['45-6=39', '82-39=43']
Exploring Operation: 11*43=473, Resulting Numbers: [473]
473,29 unequal: No Solution
Exploring Operation: 11+43=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[39, 71], Operations: ['45-6=39', '82-11=71']
Exploring Operation: 71-39=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 39*71=2769, Resulting Numbers: [2769]
2769,29 unequal: No Solution
Exploring Operation: 39+71=110, Resulting Numbers: [110]
110,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[45, 65], Operations: ['6+11=17', '82-17=65']
Exploring Operation: 45*65=2925, Resulting Numbers: [2925]
2925,29 unequal: No Solution
Exploring Operation: 45+65=110, Resulting Numbers: [110]
110,29 unequal: No Solution
Exploring Operation: 65-45=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[82, 28], Operations: ['45-6=39', '39-11=28']
Exploring Operation: 82-28=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 82+28=110, Resulting Numbers: [110]
110,29 unequal: No Solution
Exploring Operation: 82*28=2296, Resulting Numbers: [2296]
2296,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[82, 28], Operations: ['6+11=17', '45-17=28']
Exploring Operation: 82-28=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 82*28=2296, Resulting Numbers: [2296]
2296,29 unequal: No Solution
Exploring Operation: 82+28=110, Resulting Numbers: [110]
110,29 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
34,
93,
91,
49
] | 17 | [
"93-34=59",
"91-49=42",
"59-42=17"
] | Current State: 17:[34, 93, 91, 49], Operations: []
Exploring Operation: 93-34=59, Resulting Numbers: [91, 49, 59]
Generated Node #2: [91, 49, 59] from Operation: 93-34=59
Current State: 17:[91, 49, 59], Operations: ['93-34=59']
Exploring Operation: 91-49=42, Resulting Numbers: [59, 42]
Generated Node #3: [59, 42] from Operation: 91-49=42
Current State: 17:[59, 42], Operations: ['93-34=59', '91-49=42']
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[34, 93, 91, 49], Operations: []
Exploring Operation: 91-49=42, Resulting Numbers: [34, 93, 42]
Generated Node #0,0: 17:[34, 93, 42] Operation: 91-49=42
Exploring Operation: 93-91=2, Resulting Numbers: [34, 49, 2]
Generated Node #0,1: 17:[34, 49, 2] Operation: 93-91=2
Exploring Operation: 93-49=44, Resulting Numbers: [34, 91, 44]
Generated Node #0,2: 17:[34, 91, 44] Operation: 93-49=44
Exploring Operation: 93-34=59, Resulting Numbers: [91, 49, 59]
Generated Node #0,3: 17:[91, 49, 59] Operation: 93-34=59
Exploring Operation: 91-34=57, Resulting Numbers: [93, 49, 57]
Generated Node #0,4: 17:[93, 49, 57] Operation: 91-34=57
Moving to Node #0,1
Current State: 17:[34, 49, 2], Operations: ['93-91=2']
Exploring Operation: 49-2=47, Resulting Numbers: [34, 47]
Generated Node #0,1,0: 17:[34, 47] Operation: 49-2=47
Exploring Operation: 34-2=32, Resulting Numbers: [49, 32]
Generated Node #0,1,1: 17:[49, 32] Operation: 34-2=32
Exploring Operation: 49-34=15, Resulting Numbers: [2, 15]
Generated Node #0,1,2: 17:[2, 15] Operation: 49-34=15
Exploring Operation: 34/2=17, Resulting Numbers: [49, 17]
Generated Node #0,1,3: 17:[49, 17] Operation: 34/2=17
Exploring Operation: 34+2=36, Resulting Numbers: [49, 36]
Generated Node #0,1,4: 17:[49, 36] Operation: 34+2=36
Moving to Node #0,2
Current State: 17:[34, 91, 44], Operations: ['93-49=44']
Exploring Operation: 91-44=47, Resulting Numbers: [34, 47]
Generated Node #0,2,0: 17:[34, 47] Operation: 91-44=47
Exploring Operation: 44-34=10, Resulting Numbers: [91, 10]
Generated Node #0,2,1: 17:[91, 10] Operation: 44-34=10
Exploring Operation: 34+91=125, Resulting Numbers: [44, 125]
Generated Node #0,2,2: 17:[44, 125] Operation: 34+91=125
Exploring Operation: 91-34=57, Resulting Numbers: [44, 57]
Generated Node #0,2,3: 17:[44, 57] Operation: 91-34=57
Exploring Operation: 34+44=78, Resulting Numbers: [91, 78]
Generated Node #0,2,4: 17:[91, 78] Operation: 34+44=78
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 17:[34, 47], Operations: ['93-49=44', '91-44=47']
Exploring Operation: 34*47=1598, Resulting Numbers: [1598]
1598,17 unequal: No Solution
Exploring Operation: 34+47=81, Resulting Numbers: [81]
81,17 unequal: No Solution
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 17:[44, 57], Operations: ['93-49=44', '91-34=57']
Exploring Operation: 44+57=101, Resulting Numbers: [101]
101,17 unequal: No Solution
Exploring Operation: 44*57=2508, Resulting Numbers: [2508]
2508,17 unequal: No Solution
Exploring Operation: 57-44=13, Resulting Numbers: [13]
13,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[91, 10], Operations: ['93-49=44', '44-34=10']
Exploring Operation: 91-10=81, Resulting Numbers: [81]
81,17 unequal: No Solution
Exploring Operation: 91*10=910, Resulting Numbers: [910]
910,17 unequal: No Solution
Exploring Operation: 91+10=101, Resulting Numbers: [101]
101,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 17:[44, 125], Operations: ['93-49=44', '34+91=125']
Exploring Operation: 125-44=81, Resulting Numbers: [81]
81,17 unequal: No Solution
Exploring Operation: 44*125=5500, Resulting Numbers: [5500]
5500,17 unequal: No Solution
Exploring Operation: 44+125=169, Resulting Numbers: [169]
169,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 17:[91, 78], Operations: ['93-49=44', '34+44=78']
Exploring Operation: 91-78=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Exploring Operation: 91+78=169, Resulting Numbers: [169]
169,17 unequal: No Solution
Exploring Operation: 91*78=7098, Resulting Numbers: [7098]
7098,17 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: 17:[34, 93, 42], Operations: ['91-49=42']
Exploring Operation: 34+42=76, Resulting Numbers: [93, 76]
Generated Node #0,0,0: 17:[93, 76] Operation: 34+42=76
Exploring Operation: 93-42=51, Resulting Numbers: [34, 51]
Generated Node #0,0,1: 17:[34, 51] Operation: 93-42=51
Exploring Operation: 34+93=127, Resulting Numbers: [42, 127]
Generated Node #0,0,2: 17:[42, 127] Operation: 34+93=127
Exploring Operation: 93-34=59, Resulting Numbers: [42, 59]
Generated Node #0,0,3: 17:[42, 59] Operation: 93-34=59
Exploring Operation: 42-34=8, Resulting Numbers: [93, 8]
Generated Node #0,0,4: 17:[93, 8] Operation: 42-34=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[34, 51], Operations: ['91-49=42', '93-42=51']
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,17 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[34, 93, 91, 49], Operations: []
Exploring Operation: 91-49=42, Resulting Numbers: [34, 93, 42]
Generated Node #0,0: 17:[34, 93, 42] Operation: 91-49=42
Moving to Node #0,0
Current State: 17:[34, 93, 42], Operations: ['91-49=42']
Exploring Operation: 93-42=51, Resulting Numbers: [34, 51]
Generated Node #0,0,1: 17:[34, 51] Operation: 93-42=51
Moving to Node #0,0,1
Current State: 17:[34, 51], Operations: ['91-49=42', '93-42=51']
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
74,
37,
78,
22
] | 67 | [
"74/37=2",
"22/2=11",
"78-11=67"
] | Current State: 67:[74, 37, 78, 22], Operations: []
Exploring Operation: 74/37=2, Resulting Numbers: [78, 22, 2]
Generated Node #2: [78, 22, 2] from Operation: 74/37=2
Current State: 67:[78, 22, 2], Operations: ['74/37=2']
Exploring Operation: 22/2=11, Resulting Numbers: [78, 11]
Generated Node #3: [78, 11] from Operation: 22/2=11
Current State: 67:[78, 11], Operations: ['74/37=2', '22/2=11']
Exploring Operation: 78-11=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[74, 37, 78, 22], Operations: []
Exploring Operation: 37+22=59, Resulting Numbers: [74, 78, 59]
Generated Node #0,0: 67:[74, 78, 59] Operation: 37+22=59
Exploring Operation: 78-22=56, Resulting Numbers: [74, 37, 56]
Generated Node #0,1: 67:[74, 37, 56] Operation: 78-22=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[74, 78, 59], Operations: ['37+22=59']
Exploring Operation: 78-59=19, Resulting Numbers: [74, 19]
Generated Node #0,0,0: 67:[74, 19] Operation: 78-59=19
Exploring Operation: 74-59=15, Resulting Numbers: [78, 15]
Generated Node #0,0,1: 67:[78, 15] Operation: 74-59=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[74, 19], Operations: ['37+22=59', '78-59=19']
Exploring Operation: 74+19=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 74-19=55, Resulting Numbers: [55]
55,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[78, 15], Operations: ['37+22=59', '74-59=15']
Exploring Operation: 78+15=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 78-15=63, Resulting Numbers: [63]
63,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[74, 37, 56], Operations: ['78-22=56']
Exploring Operation: 74-37=37, Resulting Numbers: [56, 37]
Generated Node #0,1,0: 67:[56, 37] Operation: 74-37=37
Exploring Operation: 37+56=93, Resulting Numbers: [74, 93]
Generated Node #0,1,1: 67:[74, 93] Operation: 37+56=93
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[74, 93], Operations: ['78-22=56', '37+56=93']
Exploring Operation: 74+93=167, Resulting Numbers: [167]
167,67 unequal: No Solution
Exploring Operation: 93-74=19, Resulting Numbers: [19]
19,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[56, 37], Operations: ['78-22=56', '74-37=37']
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 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 |
[
13,
33,
78,
7
] | 34 | [
"78/13=6",
"33+7=40",
"40-6=34"
] | Current State: 34:[13, 33, 78, 7], Operations: []
Exploring Operation: 78/13=6, Resulting Numbers: [33, 7, 6]
Generated Node #2: [33, 7, 6] from Operation: 78/13=6
Current State: 34:[33, 7, 6], Operations: ['78/13=6']
Exploring Operation: 33+7=40, Resulting Numbers: [6, 40]
Generated Node #3: [6, 40] from Operation: 33+7=40
Current State: 34:[6, 40], Operations: ['78/13=6', '33+7=40']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[13, 33, 78, 7], Operations: []
Exploring Operation: 78/13=6, Resulting Numbers: [33, 7, 6]
Generated Node #0,0: 34:[33, 7, 6] Operation: 78/13=6
Moving to Node #0,0
Current State: 34:[33, 7, 6], Operations: ['78/13=6']
Exploring Operation: 7-6=1, Resulting Numbers: [33, 1]
Generated Node #0,0,0: 34:[33, 1] Operation: 7-6=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[33, 1], Operations: ['78/13=6', '7-6=1']
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[13, 33, 78, 7], Operations: []
Exploring Operation: 78/13=6, Resulting Numbers: [33, 7, 6]
Generated Node #0,0: 34:[33, 7, 6] Operation: 78/13=6
Moving to Node #0,0
Current State: 34:[33, 7, 6], Operations: ['78/13=6']
Exploring Operation: 7-6=1, Resulting Numbers: [33, 1]
Generated Node #0,0,0: 34:[33, 1] Operation: 7-6=1
Moving to Node #0,0,0
Current State: 34:[33, 1], Operations: ['78/13=6', '7-6=1']
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
94,
89,
41,
1
] | 37 | [
"94-89=5",
"41+1=42",
"42-5=37"
] | Current State: 37:[94, 89, 41, 1], Operations: []
Exploring Operation: 94-89=5, Resulting Numbers: [41, 1, 5]
Generated Node #2: [41, 1, 5] from Operation: 94-89=5
Current State: 37:[41, 1, 5], Operations: ['94-89=5']
Exploring Operation: 41+1=42, Resulting Numbers: [5, 42]
Generated Node #3: [5, 42] from Operation: 41+1=42
Current State: 37:[5, 42], Operations: ['94-89=5', '41+1=42']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[94, 89, 41, 1], Operations: []
Exploring Operation: 94-41=53, Resulting Numbers: [89, 1, 53]
Generated Node #0,0: 37:[89, 1, 53] Operation: 94-41=53
Exploring Operation: 94-89=5, Resulting Numbers: [41, 1, 5]
Generated Node #0,1: 37:[41, 1, 5] Operation: 94-89=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[41, 1, 5], Operations: ['94-89=5']
Exploring Operation: 1+5=6, Resulting Numbers: [41, 6]
Generated Node #0,1,0: 37:[41, 6] Operation: 1+5=6
Exploring Operation: 41-1=40, Resulting Numbers: [5, 40]
Generated Node #0,1,1: 37:[5, 40] Operation: 41-1=40
Moving to Node #0,1,0
Current State: 37:[41, 6], Operations: ['94-89=5', '1+5=6']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 41+6=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[5, 40], Operations: ['94-89=5', '41-1=40']
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,37 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[89, 1, 53], Operations: ['94-41=53']
Exploring Operation: 89-1=88, Resulting Numbers: [53, 88]
Generated Node #0,0,0: 37:[53, 88] Operation: 89-1=88
Exploring Operation: 89-53=36, Resulting Numbers: [1, 36]
Generated Node #0,0,1: 37:[1, 36] Operation: 89-53=36
Moving to Node #0,0,1
Current State: 37:[1, 36], Operations: ['94-41=53', '89-53=36']
Exploring Operation: 1+36=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[94, 89, 41, 1], Operations: []
Exploring Operation: 94-41=53, Resulting Numbers: [89, 1, 53]
Generated Node #0,0: 37:[89, 1, 53] Operation: 94-41=53
Moving to Node #0,0
Current State: 37:[89, 1, 53], Operations: ['94-41=53']
Exploring Operation: 89-53=36, Resulting Numbers: [1, 36]
Generated Node #0,0,1: 37:[1, 36] Operation: 89-53=36
Moving to Node #0,0,1
Current State: 37:[1, 36], Operations: ['94-41=53', '89-53=36']
Exploring Operation: 1+36=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
13,
58,
89,
46
] | 67 | [
"58-46=12",
"13*12=156",
"156-89=67"
] | Current State: 67:[13, 58, 89, 46], Operations: []
Exploring Operation: 58-46=12, Resulting Numbers: [13, 89, 12]
Generated Node #2: [13, 89, 12] from Operation: 58-46=12
Current State: 67:[13, 89, 12], Operations: ['58-46=12']
Exploring Operation: 13*12=156, Resulting Numbers: [89, 156]
Generated Node #3: [89, 156] from Operation: 13*12=156
Current State: 67:[89, 156], Operations: ['58-46=12', '13*12=156']
Exploring Operation: 156-89=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[13, 58, 89, 46], Operations: []
Exploring Operation: 13+58=71, Resulting Numbers: [89, 46, 71]
Generated Node #0,0: 67:[89, 46, 71] Operation: 13+58=71
Exploring Operation: 89-13=76, Resulting Numbers: [58, 46, 76]
Generated Node #0,1: 67:[58, 46, 76] Operation: 89-13=76
Exploring Operation: 58-13=45, Resulting Numbers: [89, 46, 45]
Generated Node #0,2: 67:[89, 46, 45] Operation: 58-13=45
Exploring Operation: 13+89=102, Resulting Numbers: [58, 46, 102]
Generated Node #0,3: 67:[58, 46, 102] Operation: 13+89=102
Exploring Operation: 13+46=59, Resulting Numbers: [58, 89, 59]
Generated Node #0,4: 67:[58, 89, 59] Operation: 13+46=59
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[58, 46, 76], Operations: ['89-13=76']
Exploring Operation: 58-46=12, Resulting Numbers: [76, 12]
Generated Node #0,1,0: 67:[76, 12] Operation: 58-46=12
Exploring Operation: 76-58=18, Resulting Numbers: [46, 18]
Generated Node #0,1,1: 67:[46, 18] Operation: 76-58=18
Exploring Operation: 58+46=104, Resulting Numbers: [76, 104]
Generated Node #0,1,2: 67:[76, 104] Operation: 58+46=104
Exploring Operation: 46+76=122, Resulting Numbers: [58, 122]
Generated Node #0,1,3: 67:[58, 122] Operation: 46+76=122
Exploring Operation: 76-46=30, Resulting Numbers: [58, 30]
Generated Node #0,1,4: 67:[58, 30] Operation: 76-46=30
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[76, 104], Operations: ['89-13=76', '58+46=104']
Exploring Operation: 76*104=7904, Resulting Numbers: [7904]
7904,67 unequal: No Solution
Exploring Operation: 104-76=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 76+104=180, Resulting Numbers: [180]
180,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 67:[58, 30], Operations: ['89-13=76', '76-46=30']
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 58+30=88, Resulting Numbers: [88]
88,67 unequal: No Solution
Exploring Operation: 58*30=1740, Resulting Numbers: [1740]
1740,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[76, 12], Operations: ['89-13=76', '58-46=12']
Exploring Operation: 76+12=88, Resulting Numbers: [88]
88,67 unequal: No Solution
Exploring Operation: 76*12=912, Resulting Numbers: [912]
912,67 unequal: No Solution
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 67:[58, 122], Operations: ['89-13=76', '46+76=122']
Exploring Operation: 122-58=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 58+122=180, Resulting Numbers: [180]
180,67 unequal: No Solution
Exploring Operation: 58*122=7076, Resulting Numbers: [7076]
7076,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[46, 18], Operations: ['89-13=76', '76-58=18']
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,67 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 67:[58, 89, 59], Operations: ['13+46=59']
Exploring Operation: 89-59=30, Resulting Numbers: [58, 30]
Generated Node #0,4,0: 67:[58, 30] Operation: 89-59=30
Exploring Operation: 89-58=31, Resulting Numbers: [59, 31]
Generated Node #0,4,1: 67:[59, 31] Operation: 89-58=31
Exploring Operation: 59-58=1, Resulting Numbers: [89, 1]
Generated Node #0,4,2: 67:[89, 1] Operation: 59-58=1
Exploring Operation: 58+59=117, Resulting Numbers: [89, 117]
Generated Node #0,4,3: 67:[89, 117] Operation: 58+59=117
Exploring Operation: 58+89=147, Resulting Numbers: [59, 147]
Generated Node #0,4,4: 67:[59, 147] Operation: 58+89=147
Moving to Node #0,4,1
Current State: 67:[59, 31], Operations: ['13+46=59', '89-58=31']
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 59+31=90, Resulting Numbers: [90]
90,67 unequal: No Solution
Exploring Operation: 59*31=1829, Resulting Numbers: [1829]
1829,67 unequal: No Solution
Moving to Node #0,4,0
Current State: 67:[58, 30], Operations: ['13+46=59', '89-59=30']
Exploring Operation: 58+30=88, Resulting Numbers: [88]
88,67 unequal: No Solution
Exploring Operation: 58*30=1740, Resulting Numbers: [1740]
1740,67 unequal: No Solution
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Moving to Node #0,4,3
Current State: 67:[89, 117], Operations: ['13+46=59', '58+59=117']
Exploring Operation: 89+117=206, Resulting Numbers: [206]
206,67 unequal: No Solution
Exploring Operation: 117-89=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 89*117=10413, Resulting Numbers: [10413]
10413,67 unequal: No Solution
Moving to Node #0,4,2
Current State: 67:[89, 1], Operations: ['13+46=59', '59-58=1']
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,67 unequal: No Solution
Exploring Operation: 89+1=90, Resulting Numbers: [90]
90,67 unequal: No Solution
Exploring Operation: 89/1=89, Resulting Numbers: [89]
89,67 unequal: No Solution
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,67 unequal: No Solution
Moving to Node #0,4,4
Current State: 67:[59, 147], Operations: ['13+46=59', '58+89=147']
Exploring Operation: 59*147=8673, Resulting Numbers: [8673]
8673,67 unequal: No Solution
Exploring Operation: 59+147=206, Resulting Numbers: [206]
206,67 unequal: No Solution
Exploring Operation: 147-59=88, Resulting Numbers: [88]
88,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[89, 46, 71], Operations: ['13+58=71']
Exploring Operation: 89+46=135, Resulting Numbers: [71, 135]
Generated Node #0,0,0: 67:[71, 135] Operation: 89+46=135
Exploring Operation: 89-46=43, Resulting Numbers: [71, 43]
Generated Node #0,0,1: 67:[71, 43] Operation: 89-46=43
Exploring Operation: 71-46=25, Resulting Numbers: [89, 25]
Generated Node #0,0,2: 67:[89, 25] Operation: 71-46=25
Exploring Operation: 46+71=117, Resulting Numbers: [89, 117]
Generated Node #0,0,3: 67:[89, 117] Operation: 46+71=117
Exploring Operation: 89-71=18, Resulting Numbers: [46, 18]
Generated Node #0,0,4: 67:[46, 18] Operation: 89-71=18
Moving to Node #0,0,1
Current State: 67:[71, 43], Operations: ['13+58=71', '89-46=43']
Exploring Operation: 71*43=3053, Resulting Numbers: [3053]
3053,67 unequal: No Solution
Exploring Operation: 71+43=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 71-43=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[89, 25], Operations: ['13+58=71', '71-46=25']
Exploring Operation: 89+25=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 89*25=2225, Resulting Numbers: [2225]
2225,67 unequal: No Solution
Exploring Operation: 89-25=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Moving to Node #0,0,4
Current State: 67:[46, 18], Operations: ['13+58=71', '89-71=18']
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,67 unequal: No Solution
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[71, 135], Operations: ['13+58=71', '89+46=135']
Exploring Operation: 71+135=206, Resulting Numbers: [206]
206,67 unequal: No Solution
Exploring Operation: 135-71=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 71*135=9585, Resulting Numbers: [9585]
9585,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[89, 117], Operations: ['13+58=71', '46+71=117']
Exploring Operation: 89+117=206, Resulting Numbers: [206]
206,67 unequal: No Solution
Exploring Operation: 89*117=10413, Resulting Numbers: [10413]
10413,67 unequal: No Solution
Exploring Operation: 117-89=28, Resulting Numbers: [28]
28,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,2
Current State: 67:[89, 46, 45], Operations: ['58-13=45']
Exploring Operation: 89-45=44, Resulting Numbers: [46, 44]
Generated Node #0,2,0: 67:[46, 44] Operation: 89-45=44
Exploring Operation: 89+45=134, Resulting Numbers: [46, 134]
Generated Node #0,2,1: 67:[46, 134] Operation: 89+45=134
Exploring Operation: 46+45=91, Resulting Numbers: [89, 91]
Generated Node #0,2,2: 67:[89, 91] Operation: 46+45=91
Exploring Operation: 89-46=43, Resulting Numbers: [45, 43]
Generated Node #0,2,3: 67:[45, 43] Operation: 89-46=43
Exploring Operation: 46-45=1, Resulting Numbers: [89, 1]
Generated Node #0,2,4: 67:[89, 1] Operation: 46-45=1
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[46, 44], Operations: ['58-13=45', '89-45=44']
Exploring Operation: 46*44=2024, Resulting Numbers: [2024]
2024,67 unequal: No Solution
Exploring Operation: 46+44=90, Resulting Numbers: [90]
90,67 unequal: No Solution
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[89, 91], Operations: ['58-13=45', '46+45=91']
Exploring Operation: 89*91=8099, Resulting Numbers: [8099]
8099,67 unequal: No Solution
Exploring Operation: 91-89=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 89+91=180, Resulting Numbers: [180]
180,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 67:[45, 43], Operations: ['58-13=45', '89-46=43']
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 45+43=88, Resulting Numbers: [88]
88,67 unequal: No Solution
Exploring Operation: 45*43=1935, Resulting Numbers: [1935]
1935,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[46, 134], Operations: ['58-13=45', '89+45=134']
Exploring Operation: 134-46=88, Resulting Numbers: [88]
88,67 unequal: No Solution
Exploring Operation: 46+134=180, Resulting Numbers: [180]
180,67 unequal: No Solution
Exploring Operation: 46*134=6164, Resulting Numbers: [6164]
6164,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 67:[89, 1], Operations: ['58-13=45', '46-45=1']
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,67 unequal: No Solution
Exploring Operation: 89/1=89, Resulting Numbers: [89]
89,67 unequal: No Solution
Exploring Operation: 89+1=90, Resulting Numbers: [90]
90,67 unequal: No Solution
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 67:[58, 46, 102], Operations: ['13+89=102']
Exploring Operation: 102-58=44, Resulting Numbers: [46, 44]
Generated Node #0,3,0: 67:[46, 44] Operation: 102-58=44
Exploring Operation: 58+46=104, Resulting Numbers: [102, 104]
Generated Node #0,3,1: 67:[102, 104] Operation: 58+46=104
Exploring Operation: 58-46=12, Resulting Numbers: [102, 12]
Generated Node #0,3,2: 67:[102, 12] Operation: 58-46=12
Exploring Operation: 102-46=56, Resulting Numbers: [58, 56]
Generated Node #0,3,3: 67:[58, 56] Operation: 102-46=56
Exploring Operation: 46+102=148, Resulting Numbers: [58, 148]
Generated Node #0,3,4: 67:[58, 148] Operation: 46+102=148
Moving to Node #0,3,3
Current State: 67:[58, 56], Operations: ['13+89=102', '102-46=56']
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 58+56=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 58*56=3248, Resulting Numbers: [3248]
3248,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[46, 44], Operations: ['13+89=102', '102-58=44']
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 46*44=2024, Resulting Numbers: [2024]
2024,67 unequal: No Solution
Exploring Operation: 46+44=90, Resulting Numbers: [90]
90,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[102, 104], Operations: ['13+89=102', '58+46=104']
Exploring Operation: 102+104=206, Resulting Numbers: [206]
206,67 unequal: No Solution
Exploring Operation: 102*104=10608, Resulting Numbers: [10608]
10608,67 unequal: No Solution
Exploring Operation: 104-102=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Moving to Node #0,3,2
Current State: 67:[102, 12], Operations: ['13+89=102', '58-46=12']
Exploring Operation: 102-12=90, Resulting Numbers: [90]
90,67 unequal: No Solution
Exploring Operation: 102+12=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 102*12=1224, Resulting Numbers: [1224]
1224,67 unequal: No Solution
Moving to Node #0,3,4
Current State: 67:[58, 148], Operations: ['13+89=102', '46+102=148']
Exploring Operation: 58*148=8584, Resulting Numbers: [8584]
8584,67 unequal: No Solution
Exploring Operation: 58+148=206, Resulting Numbers: [206]
206,67 unequal: No Solution
Exploring Operation: 148-58=90, Resulting Numbers: [90]
90,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
18,
1,
40,
8
] | 91 | [
"18*40=720",
"720/8=90",
"1+90=91"
] | Current State: 91:[18, 1, 40, 8], Operations: []
Exploring Operation: 18*40=720, Resulting Numbers: [1, 8, 720]
Generated Node #2: [1, 8, 720] from Operation: 18*40=720
Current State: 91:[1, 8, 720], Operations: ['18*40=720']
Exploring Operation: 720/8=90, Resulting Numbers: [1, 90]
Generated Node #3: [1, 90] from Operation: 720/8=90
Current State: 91:[1, 90], Operations: ['18*40=720', '720/8=90']
Exploring Operation: 1+90=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[18, 1, 40, 8], Operations: []
Exploring Operation: 18-1=17, Resulting Numbers: [40, 8, 17]
Generated Node #0,0: 91:[40, 8, 17] Operation: 18-1=17
Exploring Operation: 40-8=32, Resulting Numbers: [18, 1, 32]
Generated Node #0,1: 91:[18, 1, 32] Operation: 40-8=32
Exploring Operation: 40-18=22, Resulting Numbers: [1, 8, 22]
Generated Node #0,2: 91:[1, 8, 22] Operation: 40-18=22
Exploring Operation: 40-1=39, Resulting Numbers: [18, 8, 39]
Generated Node #0,3: 91:[18, 8, 39] Operation: 40-1=39
Exploring Operation: 40/8=5, Resulting Numbers: [18, 1, 5]
Generated Node #0,4: 91:[18, 1, 5] Operation: 40/8=5
Moving to Node #0,4
Current State: 91:[18, 1, 5], Operations: ['40/8=5']
Exploring Operation: 18-1=17, Resulting Numbers: [5, 17]
Generated Node #0,4,0: 91:[5, 17] Operation: 18-1=17
Exploring Operation: 18-5=13, Resulting Numbers: [1, 13]
Generated Node #0,4,1: 91:[1, 13] Operation: 18-5=13
Exploring Operation: 1+5=6, Resulting Numbers: [18, 6]
Generated Node #0,4,2: 91:[18, 6] Operation: 1+5=6
Exploring Operation: 18/1=18, Resulting Numbers: [5, 18]
Generated Node #0,4,3: 91:[5, 18] Operation: 18/1=18
Exploring Operation: 18*1=18, Resulting Numbers: [5, 18]
Generated Node #0,4,4: 91:[5, 18] Operation: 18*1=18
Moving to Node #0,2
Current State: 91:[1, 8, 22], Operations: ['40-18=22']
Exploring Operation: 8/1=8, Resulting Numbers: [22, 8]
Generated Node #0,2,0: 91:[22, 8] Operation: 8/1=8
Exploring Operation: 22-8=14, Resulting Numbers: [1, 14]
Generated Node #0,2,1: 91:[1, 14] Operation: 22-8=14
Exploring Operation: 1*8=8, Resulting Numbers: [22, 8]
Generated Node #0,2,2: 91:[22, 8] Operation: 1*8=8
Exploring Operation: 8-1=7, Resulting Numbers: [22, 7]
Generated Node #0,2,3: 91:[22, 7] Operation: 8-1=7
Exploring Operation: 22-1=21, Resulting Numbers: [8, 21]
Generated Node #0,2,4: 91:[8, 21] Operation: 22-1=21
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[1, 14], Operations: ['40-18=22', '22-8=14']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 91:[22, 7], Operations: ['40-18=22', '8-1=7']
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,91 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 22*7=154, Resulting Numbers: [154]
154,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 91:[8, 21], Operations: ['40-18=22', '22-1=21']
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,91 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[22, 8], Operations: ['40-18=22', '8/1=8']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[22, 8], Operations: ['40-18=22', '1*8=8']
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,91 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,91 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: 91:[18, 1, 32], Operations: ['40-8=32']
Exploring Operation: 18/1=18, Resulting Numbers: [32, 18]
Generated Node #0,1,0: 91:[32, 18] Operation: 18/1=18
Exploring Operation: 18*1=18, Resulting Numbers: [32, 18]
Generated Node #0,1,1: 91:[32, 18] Operation: 18*1=18
Exploring Operation: 32-18=14, Resulting Numbers: [1, 14]
Generated Node #0,1,2: 91:[1, 14] Operation: 32-18=14
Exploring Operation: 32-1=31, Resulting Numbers: [18, 31]
Generated Node #0,1,3: 91:[18, 31] Operation: 32-1=31
Exploring Operation: 18-1=17, Resulting Numbers: [32, 17]
Generated Node #0,1,4: 91:[32, 17] Operation: 18-1=17
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[1, 14], Operations: ['40-8=32', '32-18=14']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 91:[18, 31], Operations: ['40-8=32', '32-1=31']
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 18*31=558, Resulting Numbers: [558]
558,91 unequal: No Solution
Exploring Operation: 18+31=49, Resulting Numbers: [49]
49,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 91:[32, 17], Operations: ['40-8=32', '18-1=17']
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 32*17=544, Resulting Numbers: [544]
544,91 unequal: No Solution
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[32, 18], Operations: ['40-8=32', '18/1=18']
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,91 unequal: No Solution
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[32, 18], Operations: ['40-8=32', '18*1=18']
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,91 unequal: No Solution
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,91 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: 91:[40, 8, 17], Operations: ['18-1=17']
Exploring Operation: 40+17=57, Resulting Numbers: [8, 57]
Generated Node #0,0,0: 91:[8, 57] Operation: 40+17=57
Exploring Operation: 40-17=23, Resulting Numbers: [8, 23]
Generated Node #0,0,1: 91:[8, 23] Operation: 40-17=23
Exploring Operation: 40/8=5, Resulting Numbers: [17, 5]
Generated Node #0,0,2: 91:[17, 5] Operation: 40/8=5
Exploring Operation: 17-8=9, Resulting Numbers: [40, 9]
Generated Node #0,0,3: 91:[40, 9] Operation: 17-8=9
Exploring Operation: 40-8=32, Resulting Numbers: [17, 32]
Generated Node #0,0,4: 91:[17, 32] Operation: 40-8=32
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[17, 5], Operations: ['18-1=17', '40/8=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,91 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[8, 23], Operations: ['18-1=17', '40-17=23']
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 8*23=184, Resulting Numbers: [184]
184,91 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 91:[17, 32], Operations: ['18-1=17', '40-8=32']
Exploring Operation: 17+32=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 17*32=544, Resulting Numbers: [544]
544,91 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 91:[40, 9], Operations: ['18-1=17', '17-8=9']
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 40*9=360, Resulting Numbers: [360]
360,91 unequal: No Solution
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[8, 57], Operations: ['18-1=17', '40+17=57']
Exploring Operation: 57-8=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 8+57=65, Resulting Numbers: [65]
65,91 unequal: No Solution
Exploring Operation: 8*57=456, Resulting Numbers: [456]
456,91 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: 91:[18, 8, 39], Operations: ['40-1=39']
Exploring Operation: 39-8=31, Resulting Numbers: [18, 31]
Generated Node #0,3,0: 91:[18, 31] Operation: 39-8=31
Exploring Operation: 18+39=57, Resulting Numbers: [8, 57]
Generated Node #0,3,1: 91:[8, 57] Operation: 18+39=57
Exploring Operation: 18-8=10, Resulting Numbers: [39, 10]
Generated Node #0,3,2: 91:[39, 10] Operation: 18-8=10
Exploring Operation: 39-18=21, Resulting Numbers: [8, 21]
Generated Node #0,3,3: 91:[8, 21] Operation: 39-18=21
Exploring Operation: 18+8=26, Resulting Numbers: [39, 26]
Generated Node #0,3,4: 91:[39, 26] Operation: 18+8=26
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 91:[8, 21], Operations: ['40-1=39', '39-18=21']
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,91 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 91:[18, 31], Operations: ['40-1=39', '39-8=31']
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 18*31=558, Resulting Numbers: [558]
558,91 unequal: No Solution
Exploring Operation: 18+31=49, Resulting Numbers: [49]
49,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 91:[39, 10], Operations: ['40-1=39', '18-8=10']
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,91 unequal: No Solution
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 39*10=390, Resulting Numbers: [390]
390,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 91:[8, 57], Operations: ['40-1=39', '18+39=57']
Exploring Operation: 57-8=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 8+57=65, Resulting Numbers: [65]
65,91 unequal: No Solution
Exploring Operation: 8*57=456, Resulting Numbers: [456]
456,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 91:[39, 26], Operations: ['40-1=39', '18+8=26']
Exploring Operation: 39+26=65, Resulting Numbers: [65]
65,91 unequal: No Solution
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 39*26=1014, Resulting Numbers: [1014]
1014,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 91:[5, 17], Operations: ['40/8=5', '18-1=17']
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,91 unequal: No Solution
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Moving to Node #0,4,2
Current State: 91:[18, 6], Operations: ['40/8=5', '1+5=6']
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,91 unequal: No Solution
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Moving to Node #0,4,1
Current State: 91:[1, 13], Operations: ['40/8=5', '18-5=13']
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Moving to Node #0,4,3
Current State: 91:[5, 18], Operations: ['40/8=5', '18/1=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Moving to Node #0,4,4
Current State: 91:[5, 18], Operations: ['40/8=5', '18*1=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,91 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
49,
4,
3,
39
] | 76 | [
"49+39=88",
"4*3=12",
"88-12=76"
] | Current State: 76:[49, 4, 3, 39], Operations: []
Exploring Operation: 49+39=88, Resulting Numbers: [4, 3, 88]
Generated Node #2: [4, 3, 88] from Operation: 49+39=88
Current State: 76:[4, 3, 88], Operations: ['49+39=88']
Exploring Operation: 4*3=12, Resulting Numbers: [88, 12]
Generated Node #3: [88, 12] from Operation: 4*3=12
Current State: 76:[88, 12], Operations: ['49+39=88', '4*3=12']
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[49, 4, 3, 39], Operations: []
Exploring Operation: 49-39=10, Resulting Numbers: [4, 3, 10]
Generated Node #0,0: 76:[4, 3, 10] Operation: 49-39=10
Moving to Node #0,0
Current State: 76:[4, 3, 10], Operations: ['49-39=10']
Exploring Operation: 4*10=40, Resulting Numbers: [3, 40]
Generated Node #0,0,0: 76:[3, 40] Operation: 4*10=40
Moving to Node #0,0,0
Current State: 76:[3, 40], Operations: ['49-39=10', '4*10=40']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,76 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
34,
44,
58,
11
] | 78 | [
"34*44=1496",
"1496/11=136",
"136-58=78"
] | Current State: 78:[34, 44, 58, 11], Operations: []
Exploring Operation: 34*44=1496, Resulting Numbers: [58, 11, 1496]
Generated Node #2: [58, 11, 1496] from Operation: 34*44=1496
Current State: 78:[58, 11, 1496], Operations: ['34*44=1496']
Exploring Operation: 1496/11=136, Resulting Numbers: [58, 136]
Generated Node #3: [58, 136] from Operation: 1496/11=136
Current State: 78:[58, 136], Operations: ['34*44=1496', '1496/11=136']
Exploring Operation: 136-58=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[34, 44, 58, 11], Operations: []
Exploring Operation: 58-44=14, Resulting Numbers: [34, 11, 14]
Generated Node #0,0: 78:[34, 11, 14] Operation: 58-44=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[34, 11, 14], Operations: ['58-44=14']
Exploring Operation: 34-11=23, Resulting Numbers: [14, 23]
Generated Node #0,0,0: 78:[14, 23] Operation: 34-11=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[14, 23], Operations: ['58-44=14', '34-11=23']
Exploring Operation: 14+23=37, Resulting Numbers: [37]
37,78 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 |
[
68,
71,
97,
28
] | 70 | [
"68+71=139",
"97-28=69",
"139-69=70"
] | Current State: 70:[68, 71, 97, 28], Operations: []
Exploring Operation: 68+71=139, Resulting Numbers: [97, 28, 139]
Generated Node #2: [97, 28, 139] from Operation: 68+71=139
Current State: 70:[97, 28, 139], Operations: ['68+71=139']
Exploring Operation: 97-28=69, Resulting Numbers: [139, 69]
Generated Node #3: [139, 69] from Operation: 97-28=69
Current State: 70:[139, 69], Operations: ['68+71=139', '97-28=69']
Exploring Operation: 139-69=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[68, 71, 97, 28], Operations: []
Exploring Operation: 97-71=26, Resulting Numbers: [68, 28, 26]
Generated Node #0,0: 70:[68, 28, 26] Operation: 97-71=26
Exploring Operation: 97-68=29, Resulting Numbers: [71, 28, 29]
Generated Node #0,1: 70:[71, 28, 29] Operation: 97-68=29
Exploring Operation: 68-28=40, Resulting Numbers: [71, 97, 40]
Generated Node #0,2: 70:[71, 97, 40] Operation: 68-28=40
Exploring Operation: 97-28=69, Resulting Numbers: [68, 71, 69]
Generated Node #0,3: 70:[68, 71, 69] Operation: 97-28=69
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[68, 71, 69], Operations: ['97-28=69']
Exploring Operation: 69-68=1, Resulting Numbers: [71, 1]
Generated Node #0,3,0: 70:[71, 1] Operation: 69-68=1
Exploring Operation: 68+69=137, Resulting Numbers: [71, 137]
Generated Node #0,3,1: 70:[71, 137] Operation: 68+69=137
Exploring Operation: 71-68=3, Resulting Numbers: [69, 3]
Generated Node #0,3,2: 70:[69, 3] Operation: 71-68=3
Exploring Operation: 71-69=2, Resulting Numbers: [68, 2]
Generated Node #0,3,3: 70:[68, 2] Operation: 71-69=2
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 70:[71, 1], Operations: ['97-28=69', '69-68=1']
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[68, 71, 97, 28], Operations: []
Exploring Operation: 97-28=69, Resulting Numbers: [68, 71, 69]
Generated Node #0,3: 70:[68, 71, 69] Operation: 97-28=69
Moving to Node #0,3
Current State: 70:[68, 71, 69], Operations: ['97-28=69']
Exploring Operation: 69-68=1, Resulting Numbers: [71, 1]
Generated Node #0,3,0: 70:[71, 1] Operation: 69-68=1
Moving to Node #0,3,0
Current State: 70:[71, 1], Operations: ['97-28=69', '69-68=1']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.