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 |
|---|---|---|---|---|---|---|---|---|
[
22,
22,
41,
53
] | 13 | [
"22/22=1",
"53-41=12",
"1+12=13"
] | Current State: 13:[22, 22, 41, 53], Operations: []
Exploring Operation: 22/22=1, Resulting Numbers: [41, 53, 1]
Generated Node #2: [41, 53, 1] from Operation: 22/22=1
Current State: 13:[41, 53, 1], Operations: ['22/22=1']
Exploring Operation: 53-41=12, Resulting Numbers: [1, 12]
Generated Node #3: [1, 12] from Operation: 53-41=12
Current State: 13:[1, 12], Operations: ['22/22=1', '53-41=12']
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[22, 22, 41, 53], Operations: []
Exploring Operation: 53-41=12, Resulting Numbers: [22, 22, 12]
Generated Node #0,0: 13:[22, 22, 12] Operation: 53-41=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[22, 22, 12], Operations: ['53-41=12']
Exploring Operation: 22-12=10, Resulting Numbers: [22, 10]
Generated Node #0,0,0: 13:[22, 10] Operation: 22-12=10
Moving to Node #0,0,0
Current State: 13:[22, 10], Operations: ['53-41=12', '22-12=10']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
40,
42,
24,
80
] | 58 | [
"42-40=2",
"80-24=56",
"2+56=58"
] | Current State: 58:[40, 42, 24, 80], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [24, 80, 2]
Generated Node #2: [24, 80, 2] from Operation: 42-40=2
Current State: 58:[24, 80, 2], Operations: ['42-40=2']
Exploring Operation: 80-24=56, Resulting Numbers: [2, 56]
Generated Node #3: [2, 56] from Operation: 80-24=56
Current State: 58:[2, 56], Operations: ['42-40=2', '80-24=56']
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[40, 42, 24, 80], Operations: []
Exploring Operation: 80-42=38, Resulting Numbers: [40, 24, 38]
Generated Node #0,0: 58:[40, 24, 38] Operation: 80-42=38
Exploring Operation: 80/40=2, Resulting Numbers: [42, 24, 2]
Generated Node #0,1: 58:[42, 24, 2] Operation: 80/40=2
Moving to Node #0,1
Current State: 58:[42, 24, 2], Operations: ['80/40=2']
Exploring Operation: 42+24=66, Resulting Numbers: [2, 66]
Generated Node #0,1,0: 58:[2, 66] Operation: 42+24=66
Exploring Operation: 42-24=18, Resulting Numbers: [2, 18]
Generated Node #0,1,1: 58:[2, 18] Operation: 42-24=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[2, 66], Operations: ['80/40=2', '42+24=66']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,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,1,1
Current State: 58:[2, 18], Operations: ['80/40=2', '42-24=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,58 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: 58:[40, 24, 38], Operations: ['80-42=38']
Exploring Operation: 40-38=2, Resulting Numbers: [24, 2]
Generated Node #0,0,0: 58:[24, 2] Operation: 40-38=2
Exploring Operation: 40+24=64, Resulting Numbers: [38, 64]
Generated Node #0,0,1: 58:[38, 64] Operation: 40+24=64
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[24, 2], Operations: ['80-42=38', '40-38=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,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,1
Current State: 58:[38, 64], Operations: ['80-42=38', '40+24=64']
Exploring Operation: 38+64=102, Resulting Numbers: [102]
102,58 unequal: No Solution
Exploring Operation: 64-38=26, Resulting Numbers: [26]
26,58 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 |
[
14,
1,
19,
11
] | 21 | [
"14-1=13",
"19-11=8",
"13+8=21"
] | Current State: 21:[14, 1, 19, 11], Operations: []
Exploring Operation: 14-1=13, Resulting Numbers: [19, 11, 13]
Generated Node #2: [19, 11, 13] from Operation: 14-1=13
Current State: 21:[19, 11, 13], Operations: ['14-1=13']
Exploring Operation: 19-11=8, Resulting Numbers: [13, 8]
Generated Node #3: [13, 8] from Operation: 19-11=8
Current State: 21:[13, 8], Operations: ['14-1=13', '19-11=8']
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[14, 1, 19, 11], Operations: []
Exploring Operation: 19-14=5, Resulting Numbers: [1, 11, 5]
Generated Node #0,0: 21:[1, 11, 5] Operation: 19-14=5
Exploring Operation: 14-11=3, Resulting Numbers: [1, 19, 3]
Generated Node #0,1: 21:[1, 19, 3] Operation: 14-11=3
Exploring Operation: 19-11=8, Resulting Numbers: [14, 1, 8]
Generated Node #0,2: 21:[14, 1, 8] Operation: 19-11=8
Exploring Operation: 14+11=25, Resulting Numbers: [1, 19, 25]
Generated Node #0,3: 21:[1, 19, 25] Operation: 14+11=25
Moving to Node #0,1
Current State: 21:[1, 19, 3], Operations: ['14-11=3']
Exploring Operation: 19/1=19, Resulting Numbers: [3, 19]
Generated Node #0,1,0: 21:[3, 19] Operation: 19/1=19
Exploring Operation: 1+19=20, Resulting Numbers: [3, 20]
Generated Node #0,1,1: 21:[3, 20] Operation: 1+19=20
Exploring Operation: 1*19=19, Resulting Numbers: [3, 19]
Generated Node #0,1,2: 21:[3, 19] Operation: 1*19=19
Exploring Operation: 1*3=3, Resulting Numbers: [19, 3]
Generated Node #0,1,3: 21:[19, 3] Operation: 1*3=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 21:[3, 20], Operations: ['14-11=3', '1+19=20']
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[3, 19], Operations: ['14-11=3', '19/1=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,21 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 21:[3, 19], Operations: ['14-11=3', '1*19=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,21 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 21:[19, 3], Operations: ['14-11=3', '1*3=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,21 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,21 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: 21:[1, 19, 25], Operations: ['14+11=25']
Exploring Operation: 25-19=6, Resulting Numbers: [1, 6]
Generated Node #0,3,0: 21:[1, 6] Operation: 25-19=6
Exploring Operation: 1+19=20, Resulting Numbers: [25, 20]
Generated Node #0,3,1: 21:[25, 20] Operation: 1+19=20
Exploring Operation: 25-1=24, Resulting Numbers: [19, 24]
Generated Node #0,3,2: 21:[19, 24] Operation: 25-1=24
Exploring Operation: 1*19=19, Resulting Numbers: [25, 19]
Generated Node #0,3,3: 21:[25, 19] Operation: 1*19=19
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 21:[1, 6], Operations: ['14+11=25', '25-19=6']
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 21:[25, 20], Operations: ['14+11=25', '1+19=20']
Exploring Operation: 25+20=45, Resulting Numbers: [45]
45,21 unequal: No Solution
Exploring Operation: 25*20=500, Resulting Numbers: [500]
500,21 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 21:[19, 24], Operations: ['14+11=25', '25-1=24']
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,21 unequal: No Solution
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 21:[25, 19], Operations: ['14+11=25', '1*19=19']
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 21:[1, 11, 5], Operations: ['19-14=5']
Exploring Operation: 5-1=4, Resulting Numbers: [11, 4]
Generated Node #0,0,0: 21:[11, 4] Operation: 5-1=4
Exploring Operation: 11-5=6, Resulting Numbers: [1, 6]
Generated Node #0,0,1: 21:[1, 6] Operation: 11-5=6
Exploring Operation: 1+5=6, Resulting Numbers: [11, 6]
Generated Node #0,0,2: 21:[11, 6] Operation: 1+5=6
Exploring Operation: 11-1=10, Resulting Numbers: [5, 10]
Generated Node #0,0,3: 21:[5, 10] Operation: 11-1=10
Moving to Node #0,2
Current State: 21:[14, 1, 8], Operations: ['19-11=8']
Exploring Operation: 14+1=15, Resulting Numbers: [8, 15]
Generated Node #0,2,0: 21:[8, 15] Operation: 14+1=15
Exploring Operation: 14-1=13, Resulting Numbers: [8, 13]
Generated Node #0,2,1: 21:[8, 13] Operation: 14-1=13
Exploring Operation: 14-8=6, Resulting Numbers: [1, 6]
Generated Node #0,2,2: 21:[1, 6] Operation: 14-8=6
Exploring Operation: 14+8=22, Resulting Numbers: [1, 22]
Generated Node #0,2,3: 21:[1, 22] Operation: 14+8=22
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 21:[1, 6], Operations: ['19-11=8', '14-8=6']
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 21:[1, 22], Operations: ['19-11=8', '14+8=22']
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 1+22=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[14, 1, 19, 11], Operations: []
Exploring Operation: 19-11=8, Resulting Numbers: [14, 1, 8]
Generated Node #0,2: 21:[14, 1, 8] Operation: 19-11=8
Moving to Node #0,2
Current State: 21:[14, 1, 8], Operations: ['19-11=8']
Exploring Operation: 14+8=22, Resulting Numbers: [1, 22]
Generated Node #0,2,3: 21:[1, 22] Operation: 14+8=22
Moving to Node #0,2,3
Current State: 21:[1, 22], Operations: ['19-11=8', '14+8=22']
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.951389 | hs_4 | sum_heuristic |
[
66,
60,
31,
99
] | 30 | [
"66+31=97",
"99-97=2",
"60/2=30"
] | Current State: 30:[66, 60, 31, 99], Operations: []
Exploring Operation: 66+31=97, Resulting Numbers: [60, 99, 97]
Generated Node #2: [60, 99, 97] from Operation: 66+31=97
Current State: 30:[60, 99, 97], Operations: ['66+31=97']
Exploring Operation: 99-97=2, Resulting Numbers: [60, 2]
Generated Node #3: [60, 2] from Operation: 99-97=2
Current State: 30:[60, 2], Operations: ['66+31=97', '99-97=2']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[66, 60, 31, 99], Operations: []
Exploring Operation: 99-60=39, Resulting Numbers: [66, 31, 39]
Generated Node #0,0: 30:[66, 31, 39] Operation: 99-60=39
Exploring Operation: 99-66=33, Resulting Numbers: [60, 31, 33]
Generated Node #0,1: 30:[60, 31, 33] Operation: 99-66=33
Moving to Node #0,1
Current State: 30:[60, 31, 33], Operations: ['99-66=33']
Exploring Operation: 60-31=29, Resulting Numbers: [33, 29]
Generated Node #0,1,0: 30:[33, 29] Operation: 60-31=29
Exploring Operation: 60-33=27, Resulting Numbers: [31, 27]
Generated Node #0,1,1: 30:[31, 27] Operation: 60-33=27
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[33, 29], Operations: ['99-66=33', '60-31=29']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,30 unequal: No Solution
No 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: 30:[31, 27], Operations: ['99-66=33', '60-33=27']
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,30 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,30 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: 30:[66, 31, 39], Operations: ['99-60=39']
Exploring Operation: 66-31=35, Resulting Numbers: [39, 35]
Generated Node #0,0,0: 30:[39, 35] Operation: 66-31=35
Exploring Operation: 66-39=27, Resulting Numbers: [31, 27]
Generated Node #0,0,1: 30:[31, 27] Operation: 66-39=27
Moving to Node #0,0,1
Current State: 30:[31, 27], Operations: ['99-60=39', '66-39=27']
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,30 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[39, 35], Operations: ['99-60=39', '66-31=35']
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 39+35=74, Resulting Numbers: [74]
74,30 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
98,
47,
43,
83
] | 93 | [
"47*83=3901",
"98+3901=3999",
"3999/43=93"
] | Current State: 93:[98, 47, 43, 83], Operations: []
Exploring Operation: 47*83=3901, Resulting Numbers: [98, 43, 3901]
Generated Node #2: [98, 43, 3901] from Operation: 47*83=3901
Current State: 93:[98, 43, 3901], Operations: ['47*83=3901']
Exploring Operation: 98+3901=3999, Resulting Numbers: [43, 3999]
Generated Node #3: [43, 3999] from Operation: 98+3901=3999
Current State: 93:[43, 3999], Operations: ['47*83=3901', '98+3901=3999']
Exploring Operation: 3999/43=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[98, 47, 43, 83], Operations: []
Exploring Operation: 98-83=15, Resulting Numbers: [47, 43, 15]
Generated Node #0,0: 93:[47, 43, 15] Operation: 98-83=15
Exploring Operation: 83-43=40, Resulting Numbers: [98, 47, 40]
Generated Node #0,1: 93:[98, 47, 40] Operation: 83-43=40
Exploring Operation: 47-43=4, Resulting Numbers: [98, 83, 4]
Generated Node #0,2: 93:[98, 83, 4] Operation: 47-43=4
Exploring Operation: 83-47=36, Resulting Numbers: [98, 43, 36]
Generated Node #0,3: 93:[98, 43, 36] Operation: 83-47=36
Exploring Operation: 47+43=90, Resulting Numbers: [98, 83, 90]
Generated Node #0,4: 93:[98, 83, 90] Operation: 47+43=90
Moving to Node #0,2
Current State: 93:[98, 83, 4], Operations: ['47-43=4']
Exploring Operation: 98-83=15, Resulting Numbers: [4, 15]
Generated Node #0,2,0: 93:[4, 15] Operation: 98-83=15
Exploring Operation: 98+4=102, Resulting Numbers: [83, 102]
Generated Node #0,2,1: 93:[83, 102] Operation: 98+4=102
Exploring Operation: 83+4=87, Resulting Numbers: [98, 87]
Generated Node #0,2,2: 93:[98, 87] Operation: 83+4=87
Exploring Operation: 83-4=79, Resulting Numbers: [98, 79]
Generated Node #0,2,3: 93:[98, 79] Operation: 83-4=79
Exploring Operation: 98-4=94, Resulting Numbers: [83, 94]
Generated Node #0,2,4: 93:[83, 94] Operation: 98-4=94
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[98, 87], Operations: ['47-43=4', '83+4=87']
Exploring Operation: 98-87=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 98+87=185, Resulting Numbers: [185]
185,93 unequal: No Solution
Exploring Operation: 98*87=8526, Resulting Numbers: [8526]
8526,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 93:[83, 94], Operations: ['47-43=4', '98-4=94']
Exploring Operation: 94-83=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 83*94=7802, Resulting Numbers: [7802]
7802,93 unequal: No Solution
Exploring Operation: 83+94=177, Resulting Numbers: [177]
177,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[4, 15], Operations: ['47-43=4', '98-83=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,93 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[83, 102], Operations: ['47-43=4', '98+4=102']
Exploring Operation: 83+102=185, Resulting Numbers: [185]
185,93 unequal: No Solution
Exploring Operation: 83*102=8466, Resulting Numbers: [8466]
8466,93 unequal: No Solution
Exploring Operation: 102-83=19, Resulting Numbers: [19]
19,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 93:[98, 79], Operations: ['47-43=4', '83-4=79']
Exploring Operation: 98-79=19, Resulting Numbers: [19]
19,93 unequal: No Solution
Exploring Operation: 98*79=7742, Resulting Numbers: [7742]
7742,93 unequal: No Solution
Exploring Operation: 98+79=177, Resulting Numbers: [177]
177,93 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: 93:[98, 83, 90], Operations: ['47+43=90']
Exploring Operation: 98+83=181, Resulting Numbers: [90, 181]
Generated Node #0,4,0: 93:[90, 181] Operation: 98+83=181
Exploring Operation: 98-83=15, Resulting Numbers: [90, 15]
Generated Node #0,4,1: 93:[90, 15] Operation: 98-83=15
Exploring Operation: 98-90=8, Resulting Numbers: [83, 8]
Generated Node #0,4,2: 93:[83, 8] Operation: 98-90=8
Exploring Operation: 83+90=173, Resulting Numbers: [98, 173]
Generated Node #0,4,3: 93:[98, 173] Operation: 83+90=173
Exploring Operation: 90-83=7, Resulting Numbers: [98, 7]
Generated Node #0,4,4: 93:[98, 7] Operation: 90-83=7
Moving to Node #0,3
Current State: 93:[98, 43, 36], Operations: ['83-47=36']
Exploring Operation: 43-36=7, Resulting Numbers: [98, 7]
Generated Node #0,3,0: 93:[98, 7] Operation: 43-36=7
Exploring Operation: 98+43=141, Resulting Numbers: [36, 141]
Generated Node #0,3,1: 93:[36, 141] Operation: 98+43=141
Exploring Operation: 98-36=62, Resulting Numbers: [43, 62]
Generated Node #0,3,2: 93:[43, 62] Operation: 98-36=62
Exploring Operation: 43+36=79, Resulting Numbers: [98, 79]
Generated Node #0,3,3: 93:[98, 79] Operation: 43+36=79
Exploring Operation: 98-43=55, Resulting Numbers: [36, 55]
Generated Node #0,3,4: 93:[36, 55] Operation: 98-43=55
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 93:[98, 7], Operations: ['83-47=36', '43-36=7']
Exploring Operation: 98+7=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Exploring Operation: 98*7=686, Resulting Numbers: [686]
686,93 unequal: No Solution
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,93 unequal: No Solution
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 93:[98, 79], Operations: ['83-47=36', '43+36=79']
Exploring Operation: 98+79=177, Resulting Numbers: [177]
177,93 unequal: No Solution
Exploring Operation: 98*79=7742, Resulting Numbers: [7742]
7742,93 unequal: No Solution
Exploring Operation: 98-79=19, Resulting Numbers: [19]
19,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 93:[36, 55], Operations: ['83-47=36', '98-43=55']
Exploring Operation: 36+55=91, Resulting Numbers: [91]
91,93 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,93 unequal: No Solution
Exploring Operation: 36*55=1980, Resulting Numbers: [1980]
1980,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 93:[43, 62], Operations: ['83-47=36', '98-36=62']
Exploring Operation: 43+62=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Exploring Operation: 43*62=2666, Resulting Numbers: [2666]
2666,93 unequal: No Solution
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 93:[36, 141], Operations: ['83-47=36', '98+43=141']
Exploring Operation: 36+141=177, Resulting Numbers: [177]
177,93 unequal: No Solution
Exploring Operation: 36*141=5076, Resulting Numbers: [5076]
5076,93 unequal: No Solution
Exploring Operation: 141-36=105, Resulting Numbers: [105]
105,93 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: 93:[98, 47, 40], Operations: ['83-43=40']
Exploring Operation: 47+40=87, Resulting Numbers: [98, 87]
Generated Node #0,1,0: 93:[98, 87] Operation: 47+40=87
Exploring Operation: 47-40=7, Resulting Numbers: [98, 7]
Generated Node #0,1,1: 93:[98, 7] Operation: 47-40=7
Exploring Operation: 98-40=58, Resulting Numbers: [47, 58]
Generated Node #0,1,2: 93:[47, 58] Operation: 98-40=58
Exploring Operation: 98+47=145, Resulting Numbers: [40, 145]
Generated Node #0,1,3: 93:[40, 145] Operation: 98+47=145
Exploring Operation: 98-47=51, Resulting Numbers: [40, 51]
Generated Node #0,1,4: 93:[40, 51] Operation: 98-47=51
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[98, 7], Operations: ['83-43=40', '47-40=7']
Exploring Operation: 98*7=686, Resulting Numbers: [686]
686,93 unequal: No Solution
Exploring Operation: 98+7=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,93 unequal: No Solution
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[98, 87], Operations: ['83-43=40', '47+40=87']
Exploring Operation: 98+87=185, Resulting Numbers: [185]
185,93 unequal: No Solution
Exploring Operation: 98*87=8526, Resulting Numbers: [8526]
8526,93 unequal: No Solution
Exploring Operation: 98-87=11, Resulting Numbers: [11]
11,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 93:[40, 51], Operations: ['83-43=40', '98-47=51']
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 40*51=2040, Resulting Numbers: [2040]
2040,93 unequal: No Solution
Exploring Operation: 40+51=91, Resulting Numbers: [91]
91,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[47, 58], Operations: ['83-43=40', '98-40=58']
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 47*58=2726, Resulting Numbers: [2726]
2726,93 unequal: No Solution
Exploring Operation: 47+58=105, Resulting Numbers: [105]
105,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 93:[40, 145], Operations: ['83-43=40', '98+47=145']
Exploring Operation: 145-40=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Exploring Operation: 40+145=185, Resulting Numbers: [185]
185,93 unequal: No Solution
Exploring Operation: 40*145=5800, Resulting Numbers: [5800]
5800,93 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: 93:[47, 43, 15], Operations: ['98-83=15']
Exploring Operation: 47-43=4, Resulting Numbers: [15, 4]
Generated Node #0,0,0: 93:[15, 4] Operation: 47-43=4
Exploring Operation: 47+15=62, Resulting Numbers: [43, 62]
Generated Node #0,0,1: 93:[43, 62] Operation: 47+15=62
Exploring Operation: 47+43=90, Resulting Numbers: [15, 90]
Generated Node #0,0,2: 93:[15, 90] Operation: 47+43=90
Exploring Operation: 47-15=32, Resulting Numbers: [43, 32]
Generated Node #0,0,3: 93:[43, 32] Operation: 47-15=32
Exploring Operation: 43-15=28, Resulting Numbers: [47, 28]
Generated Node #0,0,4: 93:[47, 28] Operation: 43-15=28
Moving to Node #0,4,4
Current State: 93:[98, 7], Operations: ['47+43=90', '90-83=7']
Exploring Operation: 98+7=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Exploring Operation: 98*7=686, Resulting Numbers: [686]
686,93 unequal: No Solution
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,93 unequal: No Solution
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[15, 4], Operations: ['98-83=15', '47-43=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,93 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,93 unequal: No Solution
Moving to Node #0,0,3
Current State: 93:[43, 32], Operations: ['98-83=15', '47-15=32']
Exploring Operation: 43+32=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 43*32=1376, Resulting Numbers: [1376]
1376,93 unequal: No Solution
Moving to Node #0,4,2
Current State: 93:[83, 8], Operations: ['47+43=90', '98-90=8']
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Exploring Operation: 83+8=91, Resulting Numbers: [91]
91,93 unequal: No Solution
Exploring Operation: 83*8=664, Resulting Numbers: [664]
664,93 unequal: No Solution
Moving to Node #0,4,1
Current State: 93:[90, 15], Operations: ['47+43=90', '98-83=15']
Exploring Operation: 90+15=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Exploring Operation: 90*15=1350, Resulting Numbers: [1350]
1350,93 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[15, 90], Operations: ['98-83=15', '47+43=90']
Exploring Operation: 15+90=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 15*90=1350, Resulting Numbers: [1350]
1350,93 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Moving to Node #0,0,4
Current State: 93:[47, 28], Operations: ['98-83=15', '43-15=28']
Exploring Operation: 47+28=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Exploring Operation: 47*28=1316, Resulting Numbers: [1316]
1316,93 unequal: No Solution
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[43, 62], Operations: ['98-83=15', '47+15=62']
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,93 unequal: No Solution
Exploring Operation: 43*62=2666, Resulting Numbers: [2666]
2666,93 unequal: No Solution
Exploring Operation: 43+62=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Moving to Node #0,4,3
Current State: 93:[98, 173], Operations: ['47+43=90', '83+90=173']
Exploring Operation: 98*173=16954, Resulting Numbers: [16954]
16954,93 unequal: No Solution
Exploring Operation: 173-98=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Exploring Operation: 98+173=271, Resulting Numbers: [271]
271,93 unequal: No Solution
Moving to Node #0,4,0
Current State: 93:[90, 181], Operations: ['47+43=90', '98+83=181']
Exploring Operation: 90*181=16290, Resulting Numbers: [16290]
16290,93 unequal: No Solution
Exploring Operation: 181-90=91, Resulting Numbers: [91]
91,93 unequal: No Solution
Exploring Operation: 90+181=271, Resulting Numbers: [271]
271,93 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
8,
54,
61,
85
] | 38 | [
"8+54=62",
"85-61=24",
"62-24=38"
] | Current State: 38:[8, 54, 61, 85], Operations: []
Exploring Operation: 8+54=62, Resulting Numbers: [61, 85, 62]
Generated Node #2: [61, 85, 62] from Operation: 8+54=62
Current State: 38:[61, 85, 62], Operations: ['8+54=62']
Exploring Operation: 85-61=24, Resulting Numbers: [62, 24]
Generated Node #3: [62, 24] from Operation: 85-61=24
Current State: 38:[62, 24], Operations: ['8+54=62', '85-61=24']
Exploring Operation: 62-24=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[8, 54, 61, 85], Operations: []
Exploring Operation: 85-61=24, Resulting Numbers: [8, 54, 24]
Generated Node #0,0: 38:[8, 54, 24] Operation: 85-61=24
Exploring Operation: 85-54=31, Resulting Numbers: [8, 61, 31]
Generated Node #0,1: 38:[8, 61, 31] Operation: 85-54=31
Exploring Operation: 54-8=46, Resulting Numbers: [61, 85, 46]
Generated Node #0,2: 38:[61, 85, 46] Operation: 54-8=46
Exploring Operation: 61-54=7, Resulting Numbers: [8, 85, 7]
Generated Node #0,3: 38:[8, 85, 7] Operation: 61-54=7
Moving to Node #0,0
Current State: 38:[8, 54, 24], Operations: ['85-61=24']
Exploring Operation: 54-24=30, Resulting Numbers: [8, 30]
Generated Node #0,0,0: 38:[8, 30] Operation: 54-24=30
Exploring Operation: 24/8=3, Resulting Numbers: [54, 3]
Generated Node #0,0,1: 38:[54, 3] Operation: 24/8=3
Exploring Operation: 54-8=46, Resulting Numbers: [24, 46]
Generated Node #0,0,2: 38:[24, 46] Operation: 54-8=46
Exploring Operation: 24-8=16, Resulting Numbers: [54, 16]
Generated Node #0,0,3: 38:[54, 16] Operation: 24-8=16
Moving to Node #0,1
Current State: 38:[8, 61, 31], Operations: ['85-54=31']
Exploring Operation: 31-8=23, Resulting Numbers: [61, 23]
Generated Node #0,1,0: 38:[61, 23] Operation: 31-8=23
Exploring Operation: 61-8=53, Resulting Numbers: [31, 53]
Generated Node #0,1,1: 38:[31, 53] Operation: 61-8=53
Exploring Operation: 8+31=39, Resulting Numbers: [61, 39]
Generated Node #0,1,2: 38:[61, 39] Operation: 8+31=39
Exploring Operation: 61-31=30, Resulting Numbers: [8, 30]
Generated Node #0,1,3: 38:[8, 30] Operation: 61-31=30
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 38:[8, 30], Operations: ['85-54=31', '61-31=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[8, 54, 61, 85], Operations: []
Exploring Operation: 85-54=31, Resulting Numbers: [8, 61, 31]
Generated Node #0,1: 38:[8, 61, 31] Operation: 85-54=31
Moving to Node #0,1
Current State: 38:[8, 61, 31], Operations: ['85-54=31']
Exploring Operation: 61-31=30, Resulting Numbers: [8, 30]
Generated Node #0,1,3: 38:[8, 30] Operation: 61-31=30
Moving to Node #0,1,3
Current State: 38:[8, 30], Operations: ['85-54=31', '61-31=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
59,
15,
39,
61
] | 47 | [
"59+61=120",
"120/15=8",
"39+8=47"
] | Current State: 47:[59, 15, 39, 61], Operations: []
Exploring Operation: 59+61=120, Resulting Numbers: [15, 39, 120]
Generated Node #2: [15, 39, 120] from Operation: 59+61=120
Current State: 47:[15, 39, 120], Operations: ['59+61=120']
Exploring Operation: 120/15=8, Resulting Numbers: [39, 8]
Generated Node #3: [39, 8] from Operation: 120/15=8
Current State: 47:[39, 8], Operations: ['59+61=120', '120/15=8']
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[59, 15, 39, 61], Operations: []
Exploring Operation: 59+15=74, Resulting Numbers: [39, 61, 74]
Generated Node #0,0: 47:[39, 61, 74] Operation: 59+15=74
Exploring Operation: 59-15=44, Resulting Numbers: [39, 61, 44]
Generated Node #0,1: 47:[39, 61, 44] Operation: 59-15=44
Exploring Operation: 15+39=54, Resulting Numbers: [59, 61, 54]
Generated Node #0,2: 47:[59, 61, 54] Operation: 15+39=54
Exploring Operation: 61-15=46, Resulting Numbers: [59, 39, 46]
Generated Node #0,3: 47:[59, 39, 46] Operation: 61-15=46
Moving to Node #0,3
Current State: 47:[59, 39, 46], Operations: ['61-15=46']
Exploring Operation: 59+39=98, Resulting Numbers: [46, 98]
Generated Node #0,3,0: 47:[46, 98] Operation: 59+39=98
Exploring Operation: 39+46=85, Resulting Numbers: [59, 85]
Generated Node #0,3,1: 47:[59, 85] Operation: 39+46=85
Exploring Operation: 59-39=20, Resulting Numbers: [46, 20]
Generated Node #0,3,2: 47:[46, 20] Operation: 59-39=20
Exploring Operation: 59-46=13, Resulting Numbers: [39, 13]
Generated Node #0,3,3: 47:[39, 13] Operation: 59-46=13
Moving to Node #0,1
Current State: 47:[39, 61, 44], Operations: ['59-15=44']
Exploring Operation: 39+44=83, Resulting Numbers: [61, 83]
Generated Node #0,1,0: 47:[61, 83] Operation: 39+44=83
Exploring Operation: 61-44=17, Resulting Numbers: [39, 17]
Generated Node #0,1,1: 47:[39, 17] Operation: 61-44=17
Exploring Operation: 39+61=100, Resulting Numbers: [44, 100]
Generated Node #0,1,2: 47:[44, 100] Operation: 39+61=100
Exploring Operation: 61-39=22, Resulting Numbers: [44, 22]
Generated Node #0,1,3: 47:[44, 22] Operation: 61-39=22
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 47:[44, 22], Operations: ['59-15=44', '61-39=22']
Exploring Operation: 44*22=968, Resulting Numbers: [968]
968,47 unequal: No Solution
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 44+22=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,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,1
Current State: 47:[39, 17], Operations: ['59-15=44', '61-44=17']
Exploring Operation: 39+17=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 39*17=663, Resulting Numbers: [663]
663,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[61, 83], Operations: ['59-15=44', '39+44=83']
Exploring Operation: 83-61=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 61+83=144, Resulting Numbers: [144]
144,47 unequal: No Solution
Exploring Operation: 61*83=5063, Resulting Numbers: [5063]
5063,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 47:[44, 100], Operations: ['59-15=44', '39+61=100']
Exploring Operation: 44+100=144, Resulting Numbers: [144]
144,47 unequal: No Solution
Exploring Operation: 44*100=4400, Resulting Numbers: [4400]
4400,47 unequal: No Solution
Exploring Operation: 100-44=56, Resulting Numbers: [56]
56,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 47:[59, 61, 54], Operations: ['15+39=54']
Exploring Operation: 61-59=2, Resulting Numbers: [54, 2]
Generated Node #0,2,0: 47:[54, 2] Operation: 61-59=2
Exploring Operation: 59+61=120, Resulting Numbers: [54, 120]
Generated Node #0,2,1: 47:[54, 120] Operation: 59+61=120
Exploring Operation: 61-54=7, Resulting Numbers: [59, 7]
Generated Node #0,2,2: 47:[59, 7] Operation: 61-54=7
Exploring Operation: 59-54=5, Resulting Numbers: [61, 5]
Generated Node #0,2,3: 47:[61, 5] Operation: 59-54=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[54, 2], Operations: ['15+39=54', '61-59=2']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,47 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,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,2,2
Current State: 47:[59, 7], Operations: ['15+39=54', '61-54=7']
Exploring Operation: 59*7=413, Resulting Numbers: [413]
413,47 unequal: No Solution
Exploring Operation: 59+7=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,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,2,3
Current State: 47:[61, 5], Operations: ['15+39=54', '59-54=5']
Exploring Operation: 61+5=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 61*5=305, Resulting Numbers: [305]
305,47 unequal: No Solution
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,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,2,1
Current State: 47:[54, 120], Operations: ['15+39=54', '59+61=120']
Exploring Operation: 120-54=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 54*120=6480, Resulting Numbers: [6480]
6480,47 unequal: No Solution
Exploring Operation: 54+120=174, Resulting Numbers: [174]
174,47 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: 47:[39, 61, 74], Operations: ['59+15=74']
Exploring Operation: 61-39=22, Resulting Numbers: [74, 22]
Generated Node #0,0,0: 47:[74, 22] Operation: 61-39=22
Exploring Operation: 39+61=100, Resulting Numbers: [74, 100]
Generated Node #0,0,1: 47:[74, 100] Operation: 39+61=100
Exploring Operation: 74-61=13, Resulting Numbers: [39, 13]
Generated Node #0,0,2: 47:[39, 13] Operation: 74-61=13
Exploring Operation: 74-39=35, Resulting Numbers: [61, 35]
Generated Node #0,0,3: 47:[61, 35] Operation: 74-39=35
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 47:[61, 35], Operations: ['59+15=74', '74-39=35']
Exploring Operation: 61+35=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 61*35=2135, Resulting Numbers: [2135]
2135,47 unequal: No Solution
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[39, 13], Operations: ['59+15=74', '74-61=13']
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 39*13=507, Resulting Numbers: [507]
507,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,0
Current State: 47:[74, 22], Operations: ['59+15=74', '61-39=22']
Exploring Operation: 74*22=1628, Resulting Numbers: [1628]
1628,47 unequal: No Solution
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 74+22=96, Resulting Numbers: [96]
96,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[74, 100], Operations: ['59+15=74', '39+61=100']
Exploring Operation: 74*100=7400, Resulting Numbers: [7400]
7400,47 unequal: No Solution
Exploring Operation: 100-74=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 74+100=174, Resulting Numbers: [174]
174,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 47:[46, 20], Operations: ['61-15=46', '59-39=20']
Exploring Operation: 46*20=920, Resulting Numbers: [920]
920,47 unequal: No Solution
Exploring Operation: 46+20=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[39, 13], Operations: ['61-15=46', '59-46=13']
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 39*13=507, Resulting Numbers: [507]
507,47 unequal: No Solution
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[59, 85], Operations: ['61-15=46', '39+46=85']
Exploring Operation: 85-59=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 59+85=144, Resulting Numbers: [144]
144,47 unequal: No Solution
Exploring Operation: 59*85=5015, Resulting Numbers: [5015]
5015,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[46, 98], Operations: ['61-15=46', '59+39=98']
Exploring Operation: 98-46=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 46*98=4508, Resulting Numbers: [4508]
4508,47 unequal: No Solution
Exploring Operation: 46+98=144, Resulting Numbers: [144]
144,47 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
5,
71,
85,
23
] | 45 | [
"85-71=14",
"23-14=9",
"5*9=45"
] | Current State: 45:[5, 71, 85, 23], Operations: []
Exploring Operation: 85-71=14, Resulting Numbers: [5, 23, 14]
Generated Node #2: [5, 23, 14] from Operation: 85-71=14
Current State: 45:[5, 23, 14], Operations: ['85-71=14']
Exploring Operation: 23-14=9, Resulting Numbers: [5, 9]
Generated Node #3: [5, 9] from Operation: 23-14=9
Current State: 45:[5, 9], Operations: ['85-71=14', '23-14=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[5, 71, 85, 23], Operations: []
Exploring Operation: 71-23=48, Resulting Numbers: [5, 85, 48]
Generated Node #0,0: 45:[5, 85, 48] Operation: 71-23=48
Exploring Operation: 85/5=17, Resulting Numbers: [71, 23, 17]
Generated Node #0,1: 45:[71, 23, 17] Operation: 85/5=17
Exploring Operation: 85-71=14, Resulting Numbers: [5, 23, 14]
Generated Node #0,2: 45:[5, 23, 14] Operation: 85-71=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[5, 23, 14], Operations: ['85-71=14']
Exploring Operation: 23-14=9, Resulting Numbers: [5, 9]
Generated Node #0,2,0: 45:[5, 9] Operation: 23-14=9
Exploring Operation: 14-5=9, Resulting Numbers: [23, 9]
Generated Node #0,2,1: 45:[23, 9] Operation: 14-5=9
Exploring Operation: 23-5=18, Resulting Numbers: [14, 18]
Generated Node #0,2,2: 45:[14, 18] Operation: 23-5=18
Moving to Node #0,2,0
Current State: 45:[5, 9], Operations: ['85-71=14', '23-14=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[5, 71, 85, 23], Operations: []
Exploring Operation: 85-71=14, Resulting Numbers: [5, 23, 14]
Generated Node #0,2: 45:[5, 23, 14] Operation: 85-71=14
Moving to Node #0,2
Current State: 45:[5, 23, 14], Operations: ['85-71=14']
Exploring Operation: 23-14=9, Resulting Numbers: [5, 9]
Generated Node #0,2,0: 45:[5, 9] Operation: 23-14=9
Moving to Node #0,2,0
Current State: 45:[5, 9], Operations: ['85-71=14', '23-14=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
73,
42,
46,
96
] | 92 | [
"96-73=23",
"46-42=4",
"23*4=92"
] | Current State: 92:[73, 42, 46, 96], Operations: []
Exploring Operation: 96-73=23, Resulting Numbers: [42, 46, 23]
Generated Node #2: [42, 46, 23] from Operation: 96-73=23
Current State: 92:[42, 46, 23], Operations: ['96-73=23']
Exploring Operation: 46-42=4, Resulting Numbers: [23, 4]
Generated Node #3: [23, 4] from Operation: 46-42=4
Current State: 92:[23, 4], Operations: ['96-73=23', '46-42=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[73, 42, 46, 96], Operations: []
Exploring Operation: 96-73=23, Resulting Numbers: [42, 46, 23]
Generated Node #0,0: 92:[42, 46, 23] Operation: 96-73=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[42, 46, 23], Operations: ['96-73=23']
Exploring Operation: 46-42=4, Resulting Numbers: [23, 4]
Generated Node #0,0,0: 92:[23, 4] Operation: 46-42=4
Moving to Node #0,0,0
Current State: 92:[23, 4], Operations: ['96-73=23', '46-42=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[73, 42, 46, 96], Operations: []
Exploring Operation: 96-73=23, Resulting Numbers: [42, 46, 23]
Generated Node #0,0: 92:[42, 46, 23] Operation: 96-73=23
Moving to Node #0,0
Current State: 92:[42, 46, 23], Operations: ['96-73=23']
Exploring Operation: 46-42=4, Resulting Numbers: [23, 4]
Generated Node #0,0,0: 92:[23, 4] Operation: 46-42=4
Moving to Node #0,0,0
Current State: 92:[23, 4], Operations: ['96-73=23', '46-42=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
42,
39,
58,
87
] | 64 | [
"42+39=81",
"58+87=145",
"145-81=64"
] | Current State: 64:[42, 39, 58, 87], Operations: []
Exploring Operation: 42+39=81, Resulting Numbers: [58, 87, 81]
Generated Node #2: [58, 87, 81] from Operation: 42+39=81
Current State: 64:[58, 87, 81], Operations: ['42+39=81']
Exploring Operation: 58+87=145, Resulting Numbers: [81, 145]
Generated Node #3: [81, 145] from Operation: 58+87=145
Current State: 64:[81, 145], Operations: ['42+39=81', '58+87=145']
Exploring Operation: 145-81=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[42, 39, 58, 87], Operations: []
Exploring Operation: 42-39=3, Resulting Numbers: [58, 87, 3]
Generated Node #0,0: 64:[58, 87, 3] Operation: 42-39=3
Exploring Operation: 87-42=45, Resulting Numbers: [39, 58, 45]
Generated Node #0,1: 64:[39, 58, 45] Operation: 87-42=45
Exploring Operation: 87-58=29, Resulting Numbers: [42, 39, 29]
Generated Node #0,2: 64:[42, 39, 29] Operation: 87-58=29
Exploring Operation: 58-42=16, Resulting Numbers: [39, 87, 16]
Generated Node #0,3: 64:[39, 87, 16] Operation: 58-42=16
Moving to Node #0,2
Current State: 64:[42, 39, 29], Operations: ['87-58=29']
Exploring Operation: 42+29=71, Resulting Numbers: [39, 71]
Generated Node #0,2,0: 64:[39, 71] Operation: 42+29=71
Exploring Operation: 42-29=13, Resulting Numbers: [39, 13]
Generated Node #0,2,1: 64:[39, 13] Operation: 42-29=13
Exploring Operation: 39-29=10, Resulting Numbers: [42, 10]
Generated Node #0,2,2: 64:[42, 10] Operation: 39-29=10
Exploring Operation: 42-39=3, Resulting Numbers: [29, 3]
Generated Node #0,2,3: 64:[29, 3] Operation: 42-39=3
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 64:[29, 3], Operations: ['87-58=29', '42-39=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,64 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 64:[39, 13], Operations: ['87-58=29', '42-29=13']
Exploring Operation: 39*13=507, Resulting Numbers: [507]
507,64 unequal: No Solution
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 64:[42, 10], Operations: ['87-58=29', '39-29=10']
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,64 unequal: No Solution
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 64:[39, 71], Operations: ['87-58=29', '42+29=71']
Exploring Operation: 71-39=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 39*71=2769, Resulting Numbers: [2769]
2769,64 unequal: No Solution
Exploring Operation: 39+71=110, Resulting Numbers: [110]
110,64 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: 64:[39, 58, 45], Operations: ['87-42=45']
Exploring Operation: 58-39=19, Resulting Numbers: [45, 19]
Generated Node #0,1,0: 64:[45, 19] Operation: 58-39=19
Exploring Operation: 45-39=6, Resulting Numbers: [58, 6]
Generated Node #0,1,1: 64:[58, 6] Operation: 45-39=6
Exploring Operation: 58-45=13, Resulting Numbers: [39, 13]
Generated Node #0,1,2: 64:[39, 13] Operation: 58-45=13
Exploring Operation: 39+45=84, Resulting Numbers: [58, 84]
Generated Node #0,1,3: 64:[58, 84] Operation: 39+45=84
Moving to Node #0,3
Current State: 64:[39, 87, 16], Operations: ['58-42=16']
Exploring Operation: 39+16=55, Resulting Numbers: [87, 55]
Generated Node #0,3,0: 64:[87, 55] Operation: 39+16=55
Exploring Operation: 87-16=71, Resulting Numbers: [39, 71]
Generated Node #0,3,1: 64:[39, 71] Operation: 87-16=71
Exploring Operation: 87-39=48, Resulting Numbers: [16, 48]
Generated Node #0,3,2: 64:[16, 48] Operation: 87-39=48
Exploring Operation: 39-16=23, Resulting Numbers: [87, 23]
Generated Node #0,3,3: 64:[87, 23] Operation: 39-16=23
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 64:[39, 71], Operations: ['58-42=16', '87-16=71']
Exploring Operation: 39*71=2769, Resulting Numbers: [2769]
2769,64 unequal: No Solution
Exploring Operation: 71-39=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 39+71=110, Resulting Numbers: [110]
110,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 64:[16, 48], Operations: ['58-42=16', '87-39=48']
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 16*48=768, Resulting Numbers: [768]
768,64 unequal: No Solution
Exploring Operation: 16+48=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[42, 39, 58, 87], Operations: []
Exploring Operation: 58-42=16, Resulting Numbers: [39, 87, 16]
Generated Node #0,3: 64:[39, 87, 16] Operation: 58-42=16
Moving to Node #0,3
Current State: 64:[39, 87, 16], Operations: ['58-42=16']
Exploring Operation: 87-39=48, Resulting Numbers: [16, 48]
Generated Node #0,3,2: 64:[16, 48] Operation: 87-39=48
Moving to Node #0,3,2
Current State: 64:[16, 48], Operations: ['58-42=16', '87-39=48']
Exploring Operation: 16+48=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_4 | mult_heuristic |
[
2,
27,
38,
74
] | 56 | [
"27+38=65",
"2*65=130",
"130-74=56"
] | Current State: 56:[2, 27, 38, 74], Operations: []
Exploring Operation: 27+38=65, Resulting Numbers: [2, 74, 65]
Generated Node #2: [2, 74, 65] from Operation: 27+38=65
Current State: 56:[2, 74, 65], Operations: ['27+38=65']
Exploring Operation: 2*65=130, Resulting Numbers: [74, 130]
Generated Node #3: [74, 130] from Operation: 2*65=130
Current State: 56:[74, 130], Operations: ['27+38=65', '2*65=130']
Exploring Operation: 130-74=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[2, 27, 38, 74], Operations: []
Exploring Operation: 74-38=36, Resulting Numbers: [2, 27, 36]
Generated Node #0,0: 56:[2, 27, 36] Operation: 74-38=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[2, 27, 36], Operations: ['74-38=36']
Exploring Operation: 36-27=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 56:[2, 9] Operation: 36-27=9
Moving to Node #0,0,0
Current State: 56:[2, 9], Operations: ['74-38=36', '36-27=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,56 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 |
[
54,
96,
42,
60
] | 99 | [
"60-42=18",
"54/18=3",
"96+3=99"
] | Current State: 99:[54, 96, 42, 60], Operations: []
Exploring Operation: 60-42=18, Resulting Numbers: [54, 96, 18]
Generated Node #2: [54, 96, 18] from Operation: 60-42=18
Current State: 99:[54, 96, 18], Operations: ['60-42=18']
Exploring Operation: 54/18=3, Resulting Numbers: [96, 3]
Generated Node #3: [96, 3] from Operation: 54/18=3
Current State: 99:[96, 3], Operations: ['60-42=18', '54/18=3']
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[54, 96, 42, 60], Operations: []
Exploring Operation: 42+60=102, Resulting Numbers: [54, 96, 102]
Generated Node #0,0: 99:[54, 96, 102] Operation: 42+60=102
Exploring Operation: 60-42=18, Resulting Numbers: [54, 96, 18]
Generated Node #0,1: 99:[54, 96, 18] Operation: 60-42=18
Exploring Operation: 60-54=6, Resulting Numbers: [96, 42, 6]
Generated Node #0,2: 99:[96, 42, 6] Operation: 60-54=6
Exploring Operation: 54+60=114, Resulting Numbers: [96, 42, 114]
Generated Node #0,3: 99:[96, 42, 114] Operation: 54+60=114
Exploring Operation: 54-42=12, Resulting Numbers: [96, 60, 12]
Generated Node #0,4: 99:[96, 60, 12] Operation: 54-42=12
Moving to Node #0,2
Current State: 99:[96, 42, 6], Operations: ['60-54=6']
Exploring Operation: 42/6=7, Resulting Numbers: [96, 7]
Generated Node #0,2,0: 99:[96, 7] Operation: 42/6=7
Exploring Operation: 42-6=36, Resulting Numbers: [96, 36]
Generated Node #0,2,1: 99:[96, 36] Operation: 42-6=36
Exploring Operation: 96+6=102, Resulting Numbers: [42, 102]
Generated Node #0,2,2: 99:[42, 102] Operation: 96+6=102
Exploring Operation: 96/6=16, Resulting Numbers: [42, 16]
Generated Node #0,2,3: 99:[42, 16] Operation: 96/6=16
Exploring Operation: 96-6=90, Resulting Numbers: [42, 90]
Generated Node #0,2,4: 99:[42, 90] Operation: 96-6=90
Moving to Node #0,3
Current State: 99:[96, 42, 114], Operations: ['54+60=114']
Exploring Operation: 96+42=138, Resulting Numbers: [114, 138]
Generated Node #0,3,0: 99:[114, 138] Operation: 96+42=138
Exploring Operation: 42+114=156, Resulting Numbers: [96, 156]
Generated Node #0,3,1: 99:[96, 156] Operation: 42+114=156
Exploring Operation: 96-42=54, Resulting Numbers: [114, 54]
Generated Node #0,3,2: 99:[114, 54] Operation: 96-42=54
Exploring Operation: 114-42=72, Resulting Numbers: [96, 72]
Generated Node #0,3,3: 99:[96, 72] Operation: 114-42=72
Exploring Operation: 114-96=18, Resulting Numbers: [42, 18]
Generated Node #0,3,4: 99:[42, 18] Operation: 114-96=18
Moving to Node #0,0
Current State: 99:[54, 96, 102], Operations: ['42+60=102']
Exploring Operation: 54+102=156, Resulting Numbers: [96, 156]
Generated Node #0,0,0: 99:[96, 156] Operation: 54+102=156
Exploring Operation: 96-54=42, Resulting Numbers: [102, 42]
Generated Node #0,0,1: 99:[102, 42] Operation: 96-54=42
Exploring Operation: 102-54=48, Resulting Numbers: [96, 48]
Generated Node #0,0,2: 99:[96, 48] Operation: 102-54=48
Exploring Operation: 102-96=6, Resulting Numbers: [54, 6]
Generated Node #0,0,3: 99:[54, 6] Operation: 102-96=6
Exploring Operation: 54+96=150, Resulting Numbers: [102, 150]
Generated Node #0,0,4: 99:[102, 150] Operation: 54+96=150
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[102, 42], Operations: ['42+60=102', '96-54=42']
Exploring Operation: 102+42=144, Resulting Numbers: [144]
144,99 unequal: No Solution
Exploring Operation: 102-42=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 102*42=4284, Resulting Numbers: [4284]
4284,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:[96, 48], Operations: ['42+60=102', '102-54=48']
Exploring Operation: 96+48=144, Resulting Numbers: [144]
144,99 unequal: No Solution
Exploring Operation: 96-48=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 96/48=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 96*48=4608, Resulting Numbers: [4608]
4608,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:[54, 6], Operations: ['42+60=102', '102-96=6']
Exploring Operation: 54*6=324, Resulting Numbers: [324]
324,99 unequal: No Solution
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,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,4
Current State: 99:[102, 150], Operations: ['42+60=102', '54+96=150']
Exploring Operation: 102+150=252, Resulting Numbers: [252]
252,99 unequal: No Solution
Exploring Operation: 102*150=15300, Resulting Numbers: [15300]
15300,99 unequal: No Solution
Exploring Operation: 150-102=48, Resulting Numbers: [48]
48,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:[96, 156], Operations: ['42+60=102', '54+102=156']
Exploring Operation: 96+156=252, Resulting Numbers: [252]
252,99 unequal: No Solution
Exploring Operation: 96*156=14976, Resulting Numbers: [14976]
14976,99 unequal: No Solution
Exploring Operation: 156-96=60, Resulting Numbers: [60]
60,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:[54, 96, 18], Operations: ['60-42=18']
Exploring Operation: 54-18=36, Resulting Numbers: [96, 36]
Generated Node #0,1,0: 99:[96, 36] Operation: 54-18=36
Exploring Operation: 54+18=72, Resulting Numbers: [96, 72]
Generated Node #0,1,1: 99:[96, 72] Operation: 54+18=72
Exploring Operation: 54/18=3, Resulting Numbers: [96, 3]
Generated Node #0,1,2: 99:[96, 3] Operation: 54/18=3
Exploring Operation: 96+18=114, Resulting Numbers: [54, 114]
Generated Node #0,1,3: 99:[54, 114] Operation: 96+18=114
Exploring Operation: 96-54=42, Resulting Numbers: [18, 42]
Generated Node #0,1,4: 99:[18, 42] Operation: 96-54=42
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 99:[96, 3], Operations: ['60-42=18', '54/18=3']
Exploring Operation: 96*3=288, Resulting Numbers: [288]
288,99 unequal: No Solution
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,99 unequal: No Solution
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[54, 96, 42, 60], Operations: []
Exploring Operation: 60-42=18, Resulting Numbers: [54, 96, 18]
Generated Node #0,1: 99:[54, 96, 18] Operation: 60-42=18
Moving to Node #0,1
Current State: 99:[54, 96, 18], Operations: ['60-42=18']
Exploring Operation: 54/18=3, Resulting Numbers: [96, 3]
Generated Node #0,1,2: 99:[96, 3] Operation: 54/18=3
Moving to Node #0,1,2
Current State: 99:[96, 3], Operations: ['60-42=18', '54/18=3']
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.957465 | hs_5 | sum_heuristic |
[
62,
60,
77,
61
] | 69 | [
"62-60=2",
"77+61=138",
"138/2=69"
] | Current State: 69:[62, 60, 77, 61], Operations: []
Exploring Operation: 62-60=2, Resulting Numbers: [77, 61, 2]
Generated Node #2: [77, 61, 2] from Operation: 62-60=2
Current State: 69:[77, 61, 2], Operations: ['62-60=2']
Exploring Operation: 77+61=138, Resulting Numbers: [2, 138]
Generated Node #3: [2, 138] from Operation: 77+61=138
Current State: 69:[2, 138], Operations: ['62-60=2', '77+61=138']
Exploring Operation: 138/2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[62, 60, 77, 61], Operations: []
Exploring Operation: 61-60=1, Resulting Numbers: [62, 77, 1]
Generated Node #0,0: 69:[62, 77, 1] Operation: 61-60=1
Exploring Operation: 77-61=16, Resulting Numbers: [62, 60, 16]
Generated Node #0,1: 69:[62, 60, 16] Operation: 77-61=16
Exploring Operation: 62-61=1, Resulting Numbers: [60, 77, 1]
Generated Node #0,2: 69:[60, 77, 1] Operation: 62-61=1
Exploring Operation: 77-60=17, Resulting Numbers: [62, 61, 17]
Generated Node #0,3: 69:[62, 61, 17] Operation: 77-60=17
Exploring Operation: 62-60=2, Resulting Numbers: [77, 61, 2]
Generated Node #0,4: 69:[77, 61, 2] Operation: 62-60=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[62, 77, 1], Operations: ['61-60=1']
Exploring Operation: 77-62=15, Resulting Numbers: [1, 15]
Generated Node #0,0,0: 69:[1, 15] Operation: 77-62=15
Exploring Operation: 62+1=63, Resulting Numbers: [77, 63]
Generated Node #0,0,1: 69:[77, 63] Operation: 62+1=63
Exploring Operation: 62/1=62, Resulting Numbers: [77, 62]
Generated Node #0,0,2: 69:[77, 62] Operation: 62/1=62
Exploring Operation: 77-1=76, Resulting Numbers: [62, 76]
Generated Node #0,0,3: 69:[62, 76] Operation: 77-1=76
Exploring Operation: 62*1=62, Resulting Numbers: [77, 62]
Generated Node #0,0,4: 69:[77, 62] Operation: 62*1=62
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[1, 15], Operations: ['61-60=1', '77-62=15']
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,69 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[77, 63], Operations: ['61-60=1', '62+1=63']
Exploring Operation: 77-63=14, Resulting Numbers: [14]
14,69 unequal: No Solution
Exploring Operation: 77+63=140, Resulting Numbers: [140]
140,69 unequal: No Solution
Exploring Operation: 77*63=4851, Resulting Numbers: [4851]
4851,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 69:[62, 76], Operations: ['61-60=1', '77-1=76']
Exploring Operation: 76-62=14, Resulting Numbers: [14]
14,69 unequal: No Solution
Exploring Operation: 62+76=138, Resulting Numbers: [138]
138,69 unequal: No Solution
Exploring Operation: 62*76=4712, Resulting Numbers: [4712]
4712,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 69:[77, 62], Operations: ['61-60=1', '62/1=62']
Exploring Operation: 77*62=4774, Resulting Numbers: [4774]
4774,69 unequal: No Solution
Exploring Operation: 77+62=139, Resulting Numbers: [139]
139,69 unequal: No Solution
Exploring Operation: 77-62=15, Resulting Numbers: [15]
15,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 69:[77, 62], Operations: ['61-60=1', '62*1=62']
Exploring Operation: 77+62=139, Resulting Numbers: [139]
139,69 unequal: No Solution
Exploring Operation: 77-62=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Exploring Operation: 77*62=4774, Resulting Numbers: [4774]
4774,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 69:[77, 61, 2], Operations: ['62-60=2']
Exploring Operation: 61-2=59, Resulting Numbers: [77, 59]
Generated Node #0,4,0: 69:[77, 59] Operation: 61-2=59
Exploring Operation: 77-61=16, Resulting Numbers: [2, 16]
Generated Node #0,4,1: 69:[2, 16] Operation: 77-61=16
Exploring Operation: 61+2=63, Resulting Numbers: [77, 63]
Generated Node #0,4,2: 69:[77, 63] Operation: 61+2=63
Exploring Operation: 77+2=79, Resulting Numbers: [61, 79]
Generated Node #0,4,3: 69:[61, 79] Operation: 77+2=79
Exploring Operation: 77-2=75, Resulting Numbers: [61, 75]
Generated Node #0,4,4: 69:[61, 75] Operation: 77-2=75
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 69:[2, 16], Operations: ['62-60=2', '77-61=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,69 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 69:[77, 63], Operations: ['62-60=2', '61+2=63']
Exploring Operation: 77+63=140, Resulting Numbers: [140]
140,69 unequal: No Solution
Exploring Operation: 77*63=4851, Resulting Numbers: [4851]
4851,69 unequal: No Solution
Exploring Operation: 77-63=14, Resulting Numbers: [14]
14,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 69:[61, 75], Operations: ['62-60=2', '77-2=75']
Exploring Operation: 61+75=136, Resulting Numbers: [136]
136,69 unequal: No Solution
Exploring Operation: 61*75=4575, Resulting Numbers: [4575]
4575,69 unequal: No Solution
Exploring Operation: 75-61=14, Resulting Numbers: [14]
14,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 69:[77, 59], Operations: ['62-60=2', '61-2=59']
Exploring Operation: 77+59=136, Resulting Numbers: [136]
136,69 unequal: No Solution
Exploring Operation: 77-59=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 77*59=4543, Resulting Numbers: [4543]
4543,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 69:[61, 79], Operations: ['62-60=2', '77+2=79']
Exploring Operation: 79-61=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 61*79=4819, Resulting Numbers: [4819]
4819,69 unequal: No Solution
Exploring Operation: 61+79=140, Resulting Numbers: [140]
140,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[60, 77, 1], Operations: ['62-61=1']
Exploring Operation: 60*1=60, Resulting Numbers: [77, 60]
Generated Node #0,2,0: 69:[77, 60] Operation: 60*1=60
Exploring Operation: 77-60=17, Resulting Numbers: [1, 17]
Generated Node #0,2,1: 69:[1, 17] Operation: 77-60=17
Exploring Operation: 60/1=60, Resulting Numbers: [77, 60]
Generated Node #0,2,2: 69:[77, 60] Operation: 60/1=60
Exploring Operation: 60+1=61, Resulting Numbers: [77, 61]
Generated Node #0,2,3: 69:[77, 61] Operation: 60+1=61
Exploring Operation: 77-1=76, Resulting Numbers: [60, 76]
Generated Node #0,2,4: 69:[60, 76] Operation: 77-1=76
Moving to Node #0,2,1
Current State: 69:[1, 17], Operations: ['62-61=1', '77-60=17']
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Moving to Node #0,2,4
Current State: 69:[60, 76], Operations: ['62-61=1', '77-1=76']
Exploring Operation: 60+76=136, Resulting Numbers: [136]
136,69 unequal: No Solution
Exploring Operation: 60*76=4560, Resulting Numbers: [4560]
4560,69 unequal: No Solution
Exploring Operation: 76-60=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Moving to Node #0,2,3
Current State: 69:[77, 61], Operations: ['62-61=1', '60+1=61']
Exploring Operation: 77*61=4697, Resulting Numbers: [4697]
4697,69 unequal: No Solution
Exploring Operation: 77+61=138, Resulting Numbers: [138]
138,69 unequal: No Solution
Exploring Operation: 77-61=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[77, 60], Operations: ['62-61=1', '60*1=60']
Exploring Operation: 77+60=137, Resulting Numbers: [137]
137,69 unequal: No Solution
Exploring Operation: 77-60=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 77*60=4620, Resulting Numbers: [4620]
4620,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[77, 60], Operations: ['62-61=1', '60/1=60']
Exploring Operation: 77-60=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 77+60=137, Resulting Numbers: [137]
137,69 unequal: No Solution
Exploring Operation: 77*60=4620, Resulting Numbers: [4620]
4620,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 69:[62, 61, 17], Operations: ['77-60=17']
Exploring Operation: 61-17=44, Resulting Numbers: [62, 44]
Generated Node #0,3,0: 69:[62, 44] Operation: 61-17=44
Exploring Operation: 62+17=79, Resulting Numbers: [61, 79]
Generated Node #0,3,1: 69:[61, 79] Operation: 62+17=79
Exploring Operation: 62-17=45, Resulting Numbers: [61, 45]
Generated Node #0,3,2: 69:[61, 45] Operation: 62-17=45
Exploring Operation: 62-61=1, Resulting Numbers: [17, 1]
Generated Node #0,3,3: 69:[17, 1] Operation: 62-61=1
Exploring Operation: 61+17=78, Resulting Numbers: [62, 78]
Generated Node #0,3,4: 69:[62, 78] Operation: 61+17=78
Moving to Node #0,3,3
Current State: 69:[17, 1], Operations: ['77-60=17', '62-61=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Moving to Node #0,3,4
Current State: 69:[62, 78], Operations: ['77-60=17', '61+17=78']
Exploring Operation: 62*78=4836, Resulting Numbers: [4836]
4836,69 unequal: No Solution
Exploring Operation: 78-62=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 62+78=140, Resulting Numbers: [140]
140,69 unequal: No Solution
Moving to Node #0,3,1
Current State: 69:[61, 79], Operations: ['77-60=17', '62+17=79']
Exploring Operation: 79-61=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 61+79=140, Resulting Numbers: [140]
140,69 unequal: No Solution
Exploring Operation: 61*79=4819, Resulting Numbers: [4819]
4819,69 unequal: No Solution
Moving to Node #0,3,0
Current State: 69:[62, 44], Operations: ['77-60=17', '61-17=44']
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 62*44=2728, Resulting Numbers: [2728]
2728,69 unequal: No Solution
Exploring Operation: 62+44=106, Resulting Numbers: [106]
106,69 unequal: No Solution
Moving to Node #0,3,2
Current State: 69:[61, 45], Operations: ['77-60=17', '62-17=45']
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 61+45=106, Resulting Numbers: [106]
106,69 unequal: No Solution
Exploring Operation: 61*45=2745, Resulting Numbers: [2745]
2745,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[62, 60, 16], Operations: ['77-61=16']
Exploring Operation: 62-16=46, Resulting Numbers: [60, 46]
Generated Node #0,1,0: 69:[60, 46] Operation: 62-16=46
Exploring Operation: 62+16=78, Resulting Numbers: [60, 78]
Generated Node #0,1,1: 69:[60, 78] Operation: 62+16=78
Exploring Operation: 62-60=2, Resulting Numbers: [16, 2]
Generated Node #0,1,2: 69:[16, 2] Operation: 62-60=2
Exploring Operation: 60-16=44, Resulting Numbers: [62, 44]
Generated Node #0,1,3: 69:[62, 44] Operation: 60-16=44
Exploring Operation: 60+16=76, Resulting Numbers: [62, 76]
Generated Node #0,1,4: 69:[62, 76] Operation: 60+16=76
Moving to Node #0,1,2
Current State: 69:[16, 2], Operations: ['77-61=16', '62-60=2']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,69 unequal: No Solution
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Moving to Node #0,1,4
Current State: 69:[62, 76], Operations: ['77-61=16', '60+16=76']
Exploring Operation: 62+76=138, Resulting Numbers: [138]
138,69 unequal: No Solution
Exploring Operation: 76-62=14, Resulting Numbers: [14]
14,69 unequal: No Solution
Exploring Operation: 62*76=4712, Resulting Numbers: [4712]
4712,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[60, 78], Operations: ['77-61=16', '62+16=78']
Exploring Operation: 60*78=4680, Resulting Numbers: [4680]
4680,69 unequal: No Solution
Exploring Operation: 78-60=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 60+78=138, Resulting Numbers: [138]
138,69 unequal: No Solution
Moving to Node #0,1,3
Current State: 69:[62, 44], Operations: ['77-61=16', '60-16=44']
Exploring Operation: 62*44=2728, Resulting Numbers: [2728]
2728,69 unequal: No Solution
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 62+44=106, Resulting Numbers: [106]
106,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[60, 46], Operations: ['77-61=16', '62-16=46']
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,69 unequal: No Solution
Exploring Operation: 60+46=106, Resulting Numbers: [106]
106,69 unequal: No Solution
Exploring Operation: 60*46=2760, Resulting Numbers: [2760]
2760,69 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,
33,
38,
7
] | 90 | [
"11+7=18",
"38-33=5",
"18*5=90"
] | Current State: 90:[11, 33, 38, 7], Operations: []
Exploring Operation: 11+7=18, Resulting Numbers: [33, 38, 18]
Generated Node #2: [33, 38, 18] from Operation: 11+7=18
Current State: 90:[33, 38, 18], Operations: ['11+7=18']
Exploring Operation: 38-33=5, Resulting Numbers: [18, 5]
Generated Node #3: [18, 5] from Operation: 38-33=5
Current State: 90:[18, 5], Operations: ['11+7=18', '38-33=5']
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[11, 33, 38, 7], Operations: []
Exploring Operation: 38-11=27, Resulting Numbers: [33, 7, 27]
Generated Node #0,0: 90:[33, 7, 27] Operation: 38-11=27
Exploring Operation: 38-33=5, Resulting Numbers: [11, 7, 5]
Generated Node #0,1: 90:[11, 7, 5] Operation: 38-33=5
Exploring Operation: 38+7=45, Resulting Numbers: [11, 33, 45]
Generated Node #0,2: 90:[11, 33, 45] Operation: 38+7=45
Exploring Operation: 38-7=31, Resulting Numbers: [11, 33, 31]
Generated Node #0,3: 90:[11, 33, 31] Operation: 38-7=31
Moving to Node #0,1
Current State: 90:[11, 7, 5], Operations: ['38-33=5']
Exploring Operation: 7-5=2, Resulting Numbers: [11, 2]
Generated Node #0,1,0: 90:[11, 2] Operation: 7-5=2
Exploring Operation: 11+7=18, Resulting Numbers: [5, 18]
Generated Node #0,1,1: 90:[5, 18] Operation: 11+7=18
Exploring Operation: 11-5=6, Resulting Numbers: [7, 6]
Generated Node #0,1,2: 90:[7, 6] Operation: 11-5=6
Exploring Operation: 11-7=4, Resulting Numbers: [5, 4]
Generated Node #0,1,3: 90:[5, 4] Operation: 11-7=4
Moving to Node #0,2
Current State: 90:[11, 33, 45], Operations: ['38+7=45']
Exploring Operation: 33/11=3, Resulting Numbers: [45, 3]
Generated Node #0,2,0: 90:[45, 3] Operation: 33/11=3
Exploring Operation: 45-33=12, Resulting Numbers: [11, 12]
Generated Node #0,2,1: 90:[11, 12] Operation: 45-33=12
Exploring Operation: 11+33=44, Resulting Numbers: [45, 44]
Generated Node #0,2,2: 90:[45, 44] Operation: 11+33=44
Exploring Operation: 33-11=22, Resulting Numbers: [45, 22]
Generated Node #0,2,3: 90:[45, 22] Operation: 33-11=22
Moving to Node #0,3
Current State: 90:[11, 33, 31], Operations: ['38-7=31']
Exploring Operation: 33/11=3, Resulting Numbers: [31, 3]
Generated Node #0,3,0: 90:[31, 3] Operation: 33/11=3
Exploring Operation: 33-31=2, Resulting Numbers: [11, 2]
Generated Node #0,3,1: 90:[11, 2] Operation: 33-31=2
Exploring Operation: 33-11=22, Resulting Numbers: [31, 22]
Generated Node #0,3,2: 90:[31, 22] Operation: 33-11=22
Exploring Operation: 11+33=44, Resulting Numbers: [31, 44]
Generated Node #0,3,3: 90:[31, 44] Operation: 11+33=44
Moving to Node #0,0
Current State: 90:[33, 7, 27], Operations: ['38-11=27']
Exploring Operation: 27-7=20, Resulting Numbers: [33, 20]
Generated Node #0,0,0: 90:[33, 20] Operation: 27-7=20
Exploring Operation: 33-27=6, Resulting Numbers: [7, 6]
Generated Node #0,0,1: 90:[7, 6] Operation: 33-27=6
Exploring Operation: 7+27=34, Resulting Numbers: [33, 34]
Generated Node #0,0,2: 90:[33, 34] Operation: 7+27=34
Exploring Operation: 33-7=26, Resulting Numbers: [27, 26]
Generated Node #0,0,3: 90:[27, 26] Operation: 33-7=26
Moving to Node #0,1,1
Current State: 90:[5, 18], Operations: ['38-33=5', '11+7=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[11, 33, 38, 7], Operations: []
Exploring Operation: 38-33=5, Resulting Numbers: [11, 7, 5]
Generated Node #0,1: 90:[11, 7, 5] Operation: 38-33=5
Moving to Node #0,1
Current State: 90:[11, 7, 5], Operations: ['38-33=5']
Exploring Operation: 11+7=18, Resulting Numbers: [5, 18]
Generated Node #0,1,1: 90:[5, 18] Operation: 11+7=18
Moving to Node #0,1,1
Current State: 90:[5, 18], Operations: ['38-33=5', '11+7=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.977431 | hs_4 | sum_heuristic |
[
78,
57,
11,
35
] | 39 | [
"78*11=858",
"57-35=22",
"858/22=39"
] | Current State: 39:[78, 57, 11, 35], Operations: []
Exploring Operation: 78*11=858, Resulting Numbers: [57, 35, 858]
Generated Node #2: [57, 35, 858] from Operation: 78*11=858
Current State: 39:[57, 35, 858], Operations: ['78*11=858']
Exploring Operation: 57-35=22, Resulting Numbers: [858, 22]
Generated Node #3: [858, 22] from Operation: 57-35=22
Current State: 39:[858, 22], Operations: ['78*11=858', '57-35=22']
Exploring Operation: 858/22=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[78, 57, 11, 35], Operations: []
Exploring Operation: 78-11=67, Resulting Numbers: [57, 35, 67]
Generated Node #0,0: 39:[57, 35, 67] Operation: 78-11=67
Exploring Operation: 78-57=21, Resulting Numbers: [11, 35, 21]
Generated Node #0,1: 39:[11, 35, 21] Operation: 78-57=21
Exploring Operation: 57-11=46, Resulting Numbers: [78, 35, 46]
Generated Node #0,2: 39:[78, 35, 46] Operation: 57-11=46
Exploring Operation: 78-35=43, Resulting Numbers: [57, 11, 43]
Generated Node #0,3: 39:[57, 11, 43] Operation: 78-35=43
Moving to Node #0,1
Current State: 39:[11, 35, 21], Operations: ['78-57=21']
Exploring Operation: 21-11=10, Resulting Numbers: [35, 10]
Generated Node #0,1,0: 39:[35, 10] Operation: 21-11=10
Exploring Operation: 11+35=46, Resulting Numbers: [21, 46]
Generated Node #0,1,1: 39:[21, 46] Operation: 11+35=46
Exploring Operation: 11+21=32, Resulting Numbers: [35, 32]
Generated Node #0,1,2: 39:[35, 32] Operation: 11+21=32
Exploring Operation: 35-21=14, Resulting Numbers: [11, 14]
Generated Node #0,1,3: 39:[11, 14] Operation: 35-21=14
Moving to Node #0,3
Current State: 39:[57, 11, 43], Operations: ['78-35=43']
Exploring Operation: 43-11=32, Resulting Numbers: [57, 32]
Generated Node #0,3,0: 39:[57, 32] Operation: 43-11=32
Exploring Operation: 57-43=14, Resulting Numbers: [11, 14]
Generated Node #0,3,1: 39:[11, 14] Operation: 57-43=14
Exploring Operation: 57+11=68, Resulting Numbers: [43, 68]
Generated Node #0,3,2: 39:[43, 68] Operation: 57+11=68
Exploring Operation: 57-11=46, Resulting Numbers: [43, 46]
Generated Node #0,3,3: 39:[43, 46] Operation: 57-11=46
Moving to Node #0,2
Current State: 39:[78, 35, 46], Operations: ['57-11=46']
Exploring Operation: 46-35=11, Resulting Numbers: [78, 11]
Generated Node #0,2,0: 39:[78, 11] Operation: 46-35=11
Exploring Operation: 78+35=113, Resulting Numbers: [46, 113]
Generated Node #0,2,1: 39:[46, 113] Operation: 78+35=113
Exploring Operation: 78-35=43, Resulting Numbers: [46, 43]
Generated Node #0,2,2: 39:[46, 43] Operation: 78-35=43
Exploring Operation: 78-46=32, Resulting Numbers: [35, 32]
Generated Node #0,2,3: 39:[35, 32] Operation: 78-46=32
Moving to Node #0,0
Current State: 39:[57, 35, 67], Operations: ['78-11=67']
Exploring Operation: 57-35=22, Resulting Numbers: [67, 22]
Generated Node #0,0,0: 39:[67, 22] Operation: 57-35=22
Exploring Operation: 57+35=92, Resulting Numbers: [67, 92]
Generated Node #0,0,1: 39:[67, 92] Operation: 57+35=92
Exploring Operation: 67-57=10, Resulting Numbers: [35, 10]
Generated Node #0,0,2: 39:[35, 10] Operation: 67-57=10
Exploring Operation: 67-35=32, Resulting Numbers: [57, 32]
Generated Node #0,0,3: 39:[57, 32] Operation: 67-35=32
Moving to Node #0,1,3
Current State: 39:[11, 14], Operations: ['78-57=21', '35-21=14']
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,39 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Moving to Node #0,3,1
Current State: 39:[11, 14], Operations: ['78-35=43', '57-43=14']
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,39 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[35, 10], Operations: ['78-11=67', '67-57=10']
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[35, 10], Operations: ['78-57=21', '21-11=10']
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,39 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[35, 32], Operations: ['78-57=21', '11+21=32']
Exploring Operation: 35+32=67, Resulting Numbers: [67]
67,39 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 35*32=1120, Resulting Numbers: [1120]
1120,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[43, 46], Operations: ['78-35=43', '57-11=46']
Exploring Operation: 43*46=1978, Resulting Numbers: [1978]
1978,39 unequal: No Solution
Exploring Operation: 43+46=89, Resulting Numbers: [89]
89,39 unequal: No Solution
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[35, 32], Operations: ['57-11=46', '78-46=32']
Exploring Operation: 35+32=67, Resulting Numbers: [67]
67,39 unequal: No Solution
Exploring Operation: 35*32=1120, Resulting Numbers: [1120]
1120,39 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[46, 43], Operations: ['57-11=46', '78-35=43']
Exploring Operation: 46+43=89, Resulting Numbers: [89]
89,39 unequal: No Solution
Exploring Operation: 46*43=1978, Resulting Numbers: [1978]
1978,39 unequal: No Solution
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[21, 46], Operations: ['78-57=21', '11+35=46']
Exploring Operation: 21+46=67, Resulting Numbers: [67]
67,39 unequal: No Solution
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 21*46=966, Resulting Numbers: [966]
966,39 unequal: No Solution
Moving to Node #0,3,0
Current State: 39:[57, 32], Operations: ['78-35=43', '43-11=32']
Exploring Operation: 57-32=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 57*32=1824, Resulting Numbers: [1824]
1824,39 unequal: No Solution
Exploring Operation: 57+32=89, Resulting Numbers: [89]
89,39 unequal: No Solution
Moving to Node #0,0,3
Current State: 39:[57, 32], Operations: ['78-11=67', '67-35=32']
Exploring Operation: 57-32=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 57+32=89, Resulting Numbers: [89]
89,39 unequal: No Solution
Exploring Operation: 57*32=1824, Resulting Numbers: [1824]
1824,39 unequal: No Solution
Moving to Node #0,3,2
Current State: 39:[43, 68], Operations: ['78-35=43', '57+11=68']
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 43+68=111, Resulting Numbers: [111]
111,39 unequal: No Solution
Exploring Operation: 43*68=2924, Resulting Numbers: [2924]
2924,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[67, 22], Operations: ['78-11=67', '57-35=22']
Exploring Operation: 67*22=1474, Resulting Numbers: [1474]
1474,39 unequal: No Solution
Exploring Operation: 67+22=89, Resulting Numbers: [89]
89,39 unequal: No Solution
Exploring Operation: 67-22=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[78, 11], Operations: ['57-11=46', '46-35=11']
Exploring Operation: 78+11=89, Resulting Numbers: [89]
89,39 unequal: No Solution
Exploring Operation: 78*11=858, Resulting Numbers: [858]
858,39 unequal: No Solution
Exploring Operation: 78-11=67, Resulting Numbers: [67]
67,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[46, 113], Operations: ['57-11=46', '78+35=113']
Exploring Operation: 113-46=67, Resulting Numbers: [67]
67,39 unequal: No Solution
Exploring Operation: 46+113=159, Resulting Numbers: [159]
159,39 unequal: No Solution
Exploring Operation: 46*113=5198, Resulting Numbers: [5198]
5198,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[67, 92], Operations: ['78-11=67', '57+35=92']
Exploring Operation: 67+92=159, Resulting Numbers: [159]
159,39 unequal: No Solution
Exploring Operation: 67*92=6164, Resulting Numbers: [6164]
6164,39 unequal: No Solution
Exploring Operation: 92-67=25, Resulting Numbers: [25]
25,39 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
18,
81,
99,
78
] | 68 | [
"81+99=180",
"180/18=10",
"78-10=68"
] | Current State: 68:[18, 81, 99, 78], Operations: []
Exploring Operation: 81+99=180, Resulting Numbers: [18, 78, 180]
Generated Node #2: [18, 78, 180] from Operation: 81+99=180
Current State: 68:[18, 78, 180], Operations: ['81+99=180']
Exploring Operation: 180/18=10, Resulting Numbers: [78, 10]
Generated Node #3: [78, 10] from Operation: 180/18=10
Current State: 68:[78, 10], Operations: ['81+99=180', '180/18=10']
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[18, 81, 99, 78], Operations: []
Exploring Operation: 99-78=21, Resulting Numbers: [18, 81, 21]
Generated Node #0,0: 68:[18, 81, 21] Operation: 99-78=21
Exploring Operation: 99-81=18, Resulting Numbers: [18, 78, 18]
Generated Node #0,1: 68:[18, 78, 18] Operation: 99-81=18
Moving to Node #0,1
Current State: 68:[18, 78, 18], Operations: ['99-81=18']
Exploring Operation: 78-18=60, Resulting Numbers: [18, 60]
Generated Node #0,1,0: 68:[18, 60] Operation: 78-18=60
Exploring Operation: 78-18=60, Resulting Numbers: [18, 60]
Generated Node #0,1,1: 68:[18, 60] Operation: 78-18=60
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[18, 60], Operations: ['99-81=18', '78-18=60']
Exploring Operation: 18+60=78, Resulting Numbers: [78]
78,68 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[18, 60], Operations: ['99-81=18', '78-18=60']
Exploring Operation: 18+60=78, Resulting Numbers: [78]
78,68 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,68 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: 68:[18, 81, 21], Operations: ['99-78=21']
Exploring Operation: 81-21=60, Resulting Numbers: [18, 60]
Generated Node #0,0,0: 68:[18, 60] Operation: 81-21=60
Exploring Operation: 81-18=63, Resulting Numbers: [21, 63]
Generated Node #0,0,1: 68:[21, 63] Operation: 81-18=63
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[18, 60], Operations: ['99-78=21', '81-21=60']
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 18+60=78, Resulting Numbers: [78]
78,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[21, 63], Operations: ['99-78=21', '81-18=63']
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,68 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 |
[
64,
71,
10,
75
] | 18 | [
"64+71=135",
"10*135=1350",
"1350/75=18"
] | Current State: 18:[64, 71, 10, 75], Operations: []
Exploring Operation: 64+71=135, Resulting Numbers: [10, 75, 135]
Generated Node #2: [10, 75, 135] from Operation: 64+71=135
Current State: 18:[10, 75, 135], Operations: ['64+71=135']
Exploring Operation: 10*135=1350, Resulting Numbers: [75, 1350]
Generated Node #3: [75, 1350] from Operation: 10*135=1350
Current State: 18:[75, 1350], Operations: ['64+71=135', '10*135=1350']
Exploring Operation: 1350/75=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[64, 71, 10, 75], Operations: []
Exploring Operation: 75-71=4, Resulting Numbers: [64, 10, 4]
Generated Node #0,0: 18:[64, 10, 4] Operation: 75-71=4
Moving to Node #0,0
Current State: 18:[64, 10, 4], Operations: ['75-71=4']
Exploring Operation: 64/4=16, Resulting Numbers: [10, 16]
Generated Node #0,0,0: 18:[10, 16] Operation: 64/4=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[10, 16], Operations: ['75-71=4', '64/4=16']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,18 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 |
[
65,
21,
95,
69
] | 29 | [
"69-65=4",
"21+95=116",
"116/4=29"
] | Current State: 29:[65, 21, 95, 69], Operations: []
Exploring Operation: 69-65=4, Resulting Numbers: [21, 95, 4]
Generated Node #2: [21, 95, 4] from Operation: 69-65=4
Current State: 29:[21, 95, 4], Operations: ['69-65=4']
Exploring Operation: 21+95=116, Resulting Numbers: [4, 116]
Generated Node #3: [4, 116] from Operation: 21+95=116
Current State: 29:[4, 116], Operations: ['69-65=4', '21+95=116']
Exploring Operation: 116/4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[65, 21, 95, 69], Operations: []
Exploring Operation: 65-21=44, Resulting Numbers: [95, 69, 44]
Generated Node #0,0: 29:[95, 69, 44] Operation: 65-21=44
Exploring Operation: 95-69=26, Resulting Numbers: [65, 21, 26]
Generated Node #0,1: 29:[65, 21, 26] Operation: 95-69=26
Exploring Operation: 69-65=4, Resulting Numbers: [21, 95, 4]
Generated Node #0,2: 29:[21, 95, 4] Operation: 69-65=4
Exploring Operation: 95-65=30, Resulting Numbers: [21, 69, 30]
Generated Node #0,3: 29:[21, 69, 30] Operation: 95-65=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[65, 21, 26], Operations: ['95-69=26']
Exploring Operation: 21+26=47, Resulting Numbers: [65, 47]
Generated Node #0,1,0: 29:[65, 47] Operation: 21+26=47
Exploring Operation: 65-26=39, Resulting Numbers: [21, 39]
Generated Node #0,1,1: 29:[21, 39] Operation: 65-26=39
Exploring Operation: 65+21=86, Resulting Numbers: [26, 86]
Generated Node #0,1,2: 29:[26, 86] Operation: 65+21=86
Exploring Operation: 65-21=44, Resulting Numbers: [26, 44]
Generated Node #0,1,3: 29:[26, 44] Operation: 65-21=44
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 29:[21, 39], Operations: ['95-69=26', '65-26=39']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 21*39=819, Resulting Numbers: [819]
819,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,1,3
Current State: 29:[26, 44], Operations: ['95-69=26', '65-21=44']
Exploring Operation: 26+44=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 26*44=1144, Resulting Numbers: [1144]
1144,29 unequal: No Solution
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,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,1,0
Current State: 29:[65, 47], Operations: ['95-69=26', '21+26=47']
Exploring Operation: 65*47=3055, Resulting Numbers: [3055]
3055,29 unequal: No Solution
Exploring Operation: 65-47=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 65+47=112, Resulting Numbers: [112]
112,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 29:[26, 86], Operations: ['95-69=26', '65+21=86']
Exploring Operation: 26+86=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 86-26=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 26*86=2236, Resulting Numbers: [2236]
2236,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:[21, 69, 30], Operations: ['95-65=30']
Exploring Operation: 69-30=39, Resulting Numbers: [21, 39]
Generated Node #0,3,0: 29:[21, 39] Operation: 69-30=39
Exploring Operation: 30-21=9, Resulting Numbers: [69, 9]
Generated Node #0,3,1: 29:[69, 9] Operation: 30-21=9
Exploring Operation: 69-21=48, Resulting Numbers: [30, 48]
Generated Node #0,3,2: 29:[30, 48] Operation: 69-21=48
Exploring Operation: 21+69=90, Resulting Numbers: [30, 90]
Generated Node #0,3,3: 29:[30, 90] Operation: 21+69=90
Moving to Node #0,3,0
Current State: 29:[21, 39], Operations: ['95-65=30', '69-30=39']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 21*39=819, Resulting Numbers: [819]
819,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[30, 48], Operations: ['95-65=30', '69-21=48']
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 30*48=1440, Resulting Numbers: [1440]
1440,29 unequal: No Solution
Exploring Operation: 30+48=78, Resulting Numbers: [78]
78,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[69, 9], Operations: ['95-65=30', '30-21=9']
Exploring Operation: 69*9=621, Resulting Numbers: [621]
621,29 unequal: No Solution
Exploring Operation: 69+9=78, Resulting Numbers: [78]
78,29 unequal: No Solution
Exploring Operation: 69-9=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Moving to Node #0,3,3
Current State: 29:[30, 90], Operations: ['95-65=30', '21+69=90']
Exploring Operation: 90-30=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 30*90=2700, Resulting Numbers: [2700]
2700,29 unequal: No Solution
Exploring Operation: 90/30=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 30+90=120, Resulting Numbers: [120]
120,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[21, 95, 4], Operations: ['69-65=4']
Exploring Operation: 95-21=74, Resulting Numbers: [4, 74]
Generated Node #0,2,0: 29:[4, 74] Operation: 95-21=74
Exploring Operation: 95-4=91, Resulting Numbers: [21, 91]
Generated Node #0,2,1: 29:[21, 91] Operation: 95-4=91
Exploring Operation: 21-4=17, Resulting Numbers: [95, 17]
Generated Node #0,2,2: 29:[95, 17] Operation: 21-4=17
Exploring Operation: 21+4=25, Resulting Numbers: [95, 25]
Generated Node #0,2,3: 29:[95, 25] Operation: 21+4=25
Moving to Node #0,2,0
Current State: 29:[4, 74], Operations: ['69-65=4', '95-21=74']
Exploring Operation: 4*74=296, Resulting Numbers: [296]
296,29 unequal: No Solution
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 4+74=78, Resulting Numbers: [78]
78,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[95, 25], Operations: ['69-65=4', '21+4=25']
Exploring Operation: 95-25=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 95*25=2375, Resulting Numbers: [2375]
2375,29 unequal: No Solution
Exploring Operation: 95+25=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[21, 91], Operations: ['69-65=4', '95-4=91']
Exploring Operation: 91-21=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 21+91=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 21*91=1911, Resulting Numbers: [1911]
1911,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[95, 17], Operations: ['69-65=4', '21-4=17']
Exploring Operation: 95-17=78, Resulting Numbers: [78]
78,29 unequal: No Solution
Exploring Operation: 95+17=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 95*17=1615, Resulting Numbers: [1615]
1615,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[95, 69, 44], Operations: ['65-21=44']
Exploring Operation: 95+69=164, Resulting Numbers: [44, 164]
Generated Node #0,0,0: 29:[44, 164] Operation: 95+69=164
Exploring Operation: 69-44=25, Resulting Numbers: [95, 25]
Generated Node #0,0,1: 29:[95, 25] Operation: 69-44=25
Exploring Operation: 95-44=51, Resulting Numbers: [69, 51]
Generated Node #0,0,2: 29:[69, 51] Operation: 95-44=51
Exploring Operation: 95-69=26, Resulting Numbers: [44, 26]
Generated Node #0,0,3: 29:[44, 26] Operation: 95-69=26
Moving to Node #0,0,3
Current State: 29:[44, 26], Operations: ['65-21=44', '95-69=26']
Exploring Operation: 44+26=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 44*26=1144, Resulting Numbers: [1144]
1144,29 unequal: No Solution
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[69, 51], Operations: ['65-21=44', '95-44=51']
Exploring Operation: 69-51=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 69+51=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 69*51=3519, Resulting Numbers: [3519]
3519,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[95, 25], Operations: ['65-21=44', '69-44=25']
Exploring Operation: 95+25=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 95-25=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 95*25=2375, Resulting Numbers: [2375]
2375,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[44, 164], Operations: ['65-21=44', '95+69=164']
Exploring Operation: 44*164=7216, Resulting Numbers: [7216]
7216,29 unequal: No Solution
Exploring Operation: 44+164=208, Resulting Numbers: [208]
208,29 unequal: No Solution
Exploring Operation: 164-44=120, Resulting Numbers: [120]
120,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
87,
14,
8,
24
] | 83 | [
"14-8=6",
"24/6=4",
"87-4=83"
] | Current State: 83:[87, 14, 8, 24], Operations: []
Exploring Operation: 14-8=6, Resulting Numbers: [87, 24, 6]
Generated Node #2: [87, 24, 6] from Operation: 14-8=6
Current State: 83:[87, 24, 6], Operations: ['14-8=6']
Exploring Operation: 24/6=4, Resulting Numbers: [87, 4]
Generated Node #3: [87, 4] from Operation: 24/6=4
Current State: 83:[87, 4], Operations: ['14-8=6', '24/6=4']
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[87, 14, 8, 24], Operations: []
Exploring Operation: 14+24=38, Resulting Numbers: [87, 8, 38]
Generated Node #0,0: 83:[87, 8, 38] Operation: 14+24=38
Exploring Operation: 14+8=22, Resulting Numbers: [87, 24, 22]
Generated Node #0,1: 83:[87, 24, 22] Operation: 14+8=22
Exploring Operation: 14*8=112, Resulting Numbers: [87, 24, 112]
Generated Node #0,2: 83:[87, 24, 112] Operation: 14*8=112
Moving to Node #0,2
Current State: 83:[87, 24, 112], Operations: ['14*8=112']
Exploring Operation: 87+24=111, Resulting Numbers: [112, 111]
Generated Node #0,2,0: 83:[112, 111] Operation: 87+24=111
Exploring Operation: 112-24=88, Resulting Numbers: [87, 88]
Generated Node #0,2,1: 83:[87, 88] Operation: 112-24=88
Exploring Operation: 87-24=63, Resulting Numbers: [112, 63]
Generated Node #0,2,2: 83:[112, 63] Operation: 87-24=63
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[87, 88], Operations: ['14*8=112', '112-24=88']
Exploring Operation: 87*88=7656, Resulting Numbers: [7656]
7656,83 unequal: No Solution
Exploring Operation: 88-87=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 87+88=175, Resulting Numbers: [175]
175,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[112, 63], Operations: ['14*8=112', '87-24=63']
Exploring Operation: 112+63=175, Resulting Numbers: [175]
175,83 unequal: No Solution
Exploring Operation: 112-63=49, Resulting Numbers: [49]
49,83 unequal: No Solution
Exploring Operation: 112*63=7056, Resulting Numbers: [7056]
7056,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[112, 111], Operations: ['14*8=112', '87+24=111']
Exploring Operation: 112+111=223, Resulting Numbers: [223]
223,83 unequal: No Solution
Exploring Operation: 112-111=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 112*111=12432, Resulting Numbers: [12432]
12432,83 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: 83:[87, 8, 38], Operations: ['14+24=38']
Exploring Operation: 87+8=95, Resulting Numbers: [38, 95]
Generated Node #0,0,0: 83:[38, 95] Operation: 87+8=95
Exploring Operation: 8+38=46, Resulting Numbers: [87, 46]
Generated Node #0,0,1: 83:[87, 46] Operation: 8+38=46
Exploring Operation: 87-8=79, Resulting Numbers: [38, 79]
Generated Node #0,0,2: 83:[38, 79] Operation: 87-8=79
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[87, 46], Operations: ['14+24=38', '8+38=46']
Exploring Operation: 87+46=133, Resulting Numbers: [133]
133,83 unequal: No Solution
Exploring Operation: 87-46=41, Resulting Numbers: [41]
41,83 unequal: No Solution
Exploring Operation: 87*46=4002, Resulting Numbers: [4002]
4002,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[38, 79], Operations: ['14+24=38', '87-8=79']
Exploring Operation: 79-38=41, Resulting Numbers: [41]
41,83 unequal: No Solution
Exploring Operation: 38*79=3002, Resulting Numbers: [3002]
3002,83 unequal: No Solution
Exploring Operation: 38+79=117, Resulting Numbers: [117]
117,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[38, 95], Operations: ['14+24=38', '87+8=95']
Exploring Operation: 95-38=57, Resulting Numbers: [57]
57,83 unequal: No Solution
Exploring Operation: 38*95=3610, Resulting Numbers: [3610]
3610,83 unequal: No Solution
Exploring Operation: 38+95=133, Resulting Numbers: [133]
133,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 83:[87, 24, 22], Operations: ['14+8=22']
Exploring Operation: 87-22=65, Resulting Numbers: [24, 65]
Generated Node #0,1,0: 83:[24, 65] Operation: 87-22=65
Exploring Operation: 87-24=63, Resulting Numbers: [22, 63]
Generated Node #0,1,1: 83:[22, 63] Operation: 87-24=63
Exploring Operation: 24+22=46, Resulting Numbers: [87, 46]
Generated Node #0,1,2: 83:[87, 46] Operation: 24+22=46
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[87, 46], Operations: ['14+8=22', '24+22=46']
Exploring Operation: 87*46=4002, Resulting Numbers: [4002]
4002,83 unequal: No Solution
Exploring Operation: 87+46=133, Resulting Numbers: [133]
133,83 unequal: No Solution
Exploring Operation: 87-46=41, Resulting Numbers: [41]
41,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[24, 65], Operations: ['14+8=22', '87-22=65']
Exploring Operation: 24+65=89, Resulting Numbers: [89]
89,83 unequal: No Solution
Exploring Operation: 24*65=1560, Resulting Numbers: [1560]
1560,83 unequal: No Solution
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[22, 63], Operations: ['14+8=22', '87-24=63']
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,83 unequal: No Solution
Exploring Operation: 22+63=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 22*63=1386, Resulting Numbers: [1386]
1386,83 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 |
[
50,
10,
92,
41
] | 91 | [
"50-10=40",
"92-41=51",
"40+51=91"
] | Current State: 91:[50, 10, 92, 41], Operations: []
Exploring Operation: 50-10=40, Resulting Numbers: [92, 41, 40]
Generated Node #2: [92, 41, 40] from Operation: 50-10=40
Current State: 91:[92, 41, 40], Operations: ['50-10=40']
Exploring Operation: 92-41=51, Resulting Numbers: [40, 51]
Generated Node #3: [40, 51] from Operation: 92-41=51
Current State: 91:[40, 51], Operations: ['50-10=40', '92-41=51']
Exploring Operation: 40+51=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[50, 10, 92, 41], Operations: []
Exploring Operation: 50/10=5, Resulting Numbers: [92, 41, 5]
Generated Node #0,0: 91:[92, 41, 5] Operation: 50/10=5
Exploring Operation: 50+41=91, Resulting Numbers: [10, 92, 91]
Generated Node #0,1: 91:[10, 92, 91] Operation: 50+41=91
Exploring Operation: 50-41=9, Resulting Numbers: [10, 92, 9]
Generated Node #0,2: 91:[10, 92, 9] Operation: 50-41=9
Moving to Node #0,1
Current State: 91:[10, 92, 91], Operations: ['50+41=91']
Exploring Operation: 10+92=102, Resulting Numbers: [91, 102]
Generated Node #0,1,0: 91:[91, 102] Operation: 10+92=102
Exploring Operation: 92-10=82, Resulting Numbers: [91, 82]
Generated Node #0,1,1: 91:[91, 82] Operation: 92-10=82
Exploring Operation: 92-91=1, Resulting Numbers: [10, 1]
Generated Node #0,1,2: 91:[10, 1] Operation: 92-91=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[91, 82], Operations: ['50+41=91', '92-10=82']
Exploring Operation: 91*82=7462, Resulting Numbers: [7462]
7462,91 unequal: No Solution
Exploring Operation: 91+82=173, Resulting Numbers: [173]
173,91 unequal: No Solution
Exploring Operation: 91-82=9, Resulting Numbers: [9]
9,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,2
Current State: 91:[10, 1], Operations: ['50+41=91', '92-91=1']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,91 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,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:[91, 102], Operations: ['50+41=91', '10+92=102']
Exploring Operation: 91+102=193, Resulting Numbers: [193]
193,91 unequal: No Solution
Exploring Operation: 91*102=9282, Resulting Numbers: [9282]
9282,91 unequal: No Solution
Exploring Operation: 102-91=11, Resulting Numbers: [11]
11,91 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: 91:[10, 92, 9], Operations: ['50-41=9']
Exploring Operation: 10-9=1, Resulting Numbers: [92, 1]
Generated Node #0,2,0: 91:[92, 1] Operation: 10-9=1
Exploring Operation: 10*9=90, Resulting Numbers: [92, 90]
Generated Node #0,2,1: 91:[92, 90] Operation: 10*9=90
Exploring Operation: 10+9=19, Resulting Numbers: [92, 19]
Generated Node #0,2,2: 91:[92, 19] Operation: 10+9=19
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[92, 90], Operations: ['50-41=9', '10*9=90']
Exploring Operation: 92+90=182, Resulting Numbers: [182]
182,91 unequal: No Solution
Exploring Operation: 92*90=8280, Resulting Numbers: [8280]
8280,91 unequal: No Solution
Exploring Operation: 92-90=2, Resulting Numbers: [2]
2,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:[92, 1], Operations: ['50-41=9', '10-9=1']
Exploring Operation: 92*1=92, Resulting Numbers: [92]
92,91 unequal: No Solution
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[50, 10, 92, 41], Operations: []
Exploring Operation: 50-41=9, Resulting Numbers: [10, 92, 9]
Generated Node #0,2: 91:[10, 92, 9] Operation: 50-41=9
Moving to Node #0,2
Current State: 91:[10, 92, 9], Operations: ['50-41=9']
Exploring Operation: 10-9=1, Resulting Numbers: [92, 1]
Generated Node #0,2,0: 91:[92, 1] Operation: 10-9=1
Moving to Node #0,2,0
Current State: 91:[92, 1], Operations: ['50-41=9', '10-9=1']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
45,
3,
7,
43
] | 11 | [
"45-43=2",
"7*2=14",
"14-3=11"
] | Current State: 11:[45, 3, 7, 43], Operations: []
Exploring Operation: 45-43=2, Resulting Numbers: [3, 7, 2]
Generated Node #2: [3, 7, 2] from Operation: 45-43=2
Current State: 11:[3, 7, 2], Operations: ['45-43=2']
Exploring Operation: 7*2=14, Resulting Numbers: [3, 14]
Generated Node #3: [3, 14] from Operation: 7*2=14
Current State: 11:[3, 14], Operations: ['45-43=2', '7*2=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[45, 3, 7, 43], Operations: []
Exploring Operation: 45-3=42, Resulting Numbers: [7, 43, 42]
Generated Node #0,0: 11:[7, 43, 42] Operation: 45-3=42
Exploring Operation: 45-43=2, Resulting Numbers: [3, 7, 2]
Generated Node #0,1: 11:[3, 7, 2] Operation: 45-43=2
Exploring Operation: 45-7=38, Resulting Numbers: [3, 43, 38]
Generated Node #0,2: 11:[3, 43, 38] Operation: 45-7=38
Exploring Operation: 3+7=10, Resulting Numbers: [45, 43, 10]
Generated Node #0,3: 11:[45, 43, 10] Operation: 3+7=10
Exploring Operation: 45/3=15, Resulting Numbers: [7, 43, 15]
Generated Node #0,4: 11:[7, 43, 15] Operation: 45/3=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[3, 7, 2], Operations: ['45-43=2']
Exploring Operation: 3+7=10, Resulting Numbers: [2, 10]
Generated Node #0,1,0: 11:[2, 10] Operation: 3+7=10
Exploring Operation: 3+2=5, Resulting Numbers: [7, 5]
Generated Node #0,1,1: 11:[7, 5] Operation: 3+2=5
Exploring Operation: 7+2=9, Resulting Numbers: [3, 9]
Generated Node #0,1,2: 11:[3, 9] Operation: 7+2=9
Exploring Operation: 7*2=14, Resulting Numbers: [3, 14]
Generated Node #0,1,3: 11:[3, 14] Operation: 7*2=14
Exploring Operation: 3*2=6, Resulting Numbers: [7, 6]
Generated Node #0,1,4: 11:[7, 6] Operation: 3*2=6
Moving to Node #0,1,4
Current State: 11:[7, 6], Operations: ['45-43=2', '3*2=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,11 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[7, 5], Operations: ['45-43=2', '3+2=5']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[2, 10], Operations: ['45-43=2', '3+7=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[3, 9], Operations: ['45-43=2', '7+2=9']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Moving to Node #0,1,3
Current State: 11:[3, 14], Operations: ['45-43=2', '7*2=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[45, 3, 7, 43], Operations: []
Exploring Operation: 45-43=2, Resulting Numbers: [3, 7, 2]
Generated Node #0,1: 11:[3, 7, 2] Operation: 45-43=2
Moving to Node #0,1
Current State: 11:[3, 7, 2], Operations: ['45-43=2']
Exploring Operation: 7*2=14, Resulting Numbers: [3, 14]
Generated Node #0,1,3: 11:[3, 14] Operation: 7*2=14
Moving to Node #0,1,3
Current State: 11:[3, 14], Operations: ['45-43=2', '7*2=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_5 | sum_heuristic |
[
53,
26,
59,
68
] | 18 | [
"53-26=27",
"68-59=9",
"27-9=18"
] | Current State: 18:[53, 26, 59, 68], Operations: []
Exploring Operation: 53-26=27, Resulting Numbers: [59, 68, 27]
Generated Node #2: [59, 68, 27] from Operation: 53-26=27
Current State: 18:[59, 68, 27], Operations: ['53-26=27']
Exploring Operation: 68-59=9, Resulting Numbers: [27, 9]
Generated Node #3: [27, 9] from Operation: 68-59=9
Current State: 18:[27, 9], Operations: ['53-26=27', '68-59=9']
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[53, 26, 59, 68], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [53, 26, 9]
Generated Node #0,0: 18:[53, 26, 9] Operation: 68-59=9
Exploring Operation: 59-53=6, Resulting Numbers: [26, 68, 6]
Generated Node #0,1: 18:[26, 68, 6] Operation: 59-53=6
Exploring Operation: 59-26=33, Resulting Numbers: [53, 68, 33]
Generated Node #0,2: 18:[53, 68, 33] Operation: 59-26=33
Exploring Operation: 68-53=15, Resulting Numbers: [26, 59, 15]
Generated Node #0,3: 18:[26, 59, 15] Operation: 68-53=15
Exploring Operation: 53-26=27, Resulting Numbers: [59, 68, 27]
Generated Node #0,4: 18:[59, 68, 27] Operation: 53-26=27
Moving to Node #0,0
Current State: 18:[53, 26, 9], Operations: ['68-59=9']
Exploring Operation: 53-26=27, Resulting Numbers: [9, 27]
Generated Node #0,0,0: 18:[9, 27] Operation: 53-26=27
Exploring Operation: 53+9=62, Resulting Numbers: [26, 62]
Generated Node #0,0,1: 18:[26, 62] Operation: 53+9=62
Exploring Operation: 26+9=35, Resulting Numbers: [53, 35]
Generated Node #0,0,2: 18:[53, 35] Operation: 26+9=35
Exploring Operation: 53-9=44, Resulting Numbers: [26, 44]
Generated Node #0,0,3: 18:[26, 44] Operation: 53-9=44
Exploring Operation: 26-9=17, Resulting Numbers: [53, 17]
Generated Node #0,0,4: 18:[53, 17] Operation: 26-9=17
Moving to Node #0,3
Current State: 18:[26, 59, 15], Operations: ['68-53=15']
Exploring Operation: 26-15=11, Resulting Numbers: [59, 11]
Generated Node #0,3,0: 18:[59, 11] Operation: 26-15=11
Exploring Operation: 59+15=74, Resulting Numbers: [26, 74]
Generated Node #0,3,1: 18:[26, 74] Operation: 59+15=74
Exploring Operation: 26+15=41, Resulting Numbers: [59, 41]
Generated Node #0,3,2: 18:[59, 41] Operation: 26+15=41
Exploring Operation: 59-15=44, Resulting Numbers: [26, 44]
Generated Node #0,3,3: 18:[26, 44] Operation: 59-15=44
Exploring Operation: 59-26=33, Resulting Numbers: [15, 33]
Generated Node #0,3,4: 18:[15, 33] Operation: 59-26=33
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 18:[15, 33], Operations: ['68-53=15', '59-26=33']
Exploring Operation: 15+33=48, Resulting Numbers: [48]
48,18 unequal: No Solution
Exploring Operation: 15*33=495, Resulting Numbers: [495]
495,18 unequal: No Solution
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[53, 26, 59, 68], Operations: []
Exploring Operation: 68-53=15, Resulting Numbers: [26, 59, 15]
Generated Node #0,3: 18:[26, 59, 15] Operation: 68-53=15
Moving to Node #0,3
Current State: 18:[26, 59, 15], Operations: ['68-53=15']
Exploring Operation: 59-26=33, Resulting Numbers: [15, 33]
Generated Node #0,3,4: 18:[15, 33] Operation: 59-26=33
Moving to Node #0,3,4
Current State: 18:[15, 33], Operations: ['68-53=15', '59-26=33']
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
73,
39,
90,
40
] | 18 | [
"73+39=112",
"90+40=130",
"130-112=18"
] | Current State: 18:[73, 39, 90, 40], Operations: []
Exploring Operation: 73+39=112, Resulting Numbers: [90, 40, 112]
Generated Node #2: [90, 40, 112] from Operation: 73+39=112
Current State: 18:[90, 40, 112], Operations: ['73+39=112']
Exploring Operation: 90+40=130, Resulting Numbers: [112, 130]
Generated Node #3: [112, 130] from Operation: 90+40=130
Current State: 18:[112, 130], Operations: ['73+39=112', '90+40=130']
Exploring Operation: 130-112=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[73, 39, 90, 40], Operations: []
Exploring Operation: 90-73=17, Resulting Numbers: [39, 40, 17]
Generated Node #0,0: 18:[39, 40, 17] Operation: 90-73=17
Exploring Operation: 90-40=50, Resulting Numbers: [73, 39, 50]
Generated Node #0,1: 18:[73, 39, 50] Operation: 90-40=50
Exploring Operation: 73-40=33, Resulting Numbers: [39, 90, 33]
Generated Node #0,2: 18:[39, 90, 33] Operation: 73-40=33
Moving to Node #0,0
Current State: 18:[39, 40, 17], Operations: ['90-73=17']
Exploring Operation: 40-39=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 18:[17, 1] Operation: 40-39=1
Exploring Operation: 40-17=23, Resulting Numbers: [39, 23]
Generated Node #0,0,1: 18:[39, 23] Operation: 40-17=23
Exploring Operation: 39-17=22, Resulting Numbers: [40, 22]
Generated Node #0,0,2: 18:[40, 22] Operation: 39-17=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[17, 1], Operations: ['90-73=17', '40-39=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[73, 39, 90, 40], Operations: []
Exploring Operation: 90-73=17, Resulting Numbers: [39, 40, 17]
Generated Node #0,0: 18:[39, 40, 17] Operation: 90-73=17
Moving to Node #0,0
Current State: 18:[39, 40, 17], Operations: ['90-73=17']
Exploring Operation: 40-39=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 18:[17, 1] Operation: 40-39=1
Moving to Node #0,0,0
Current State: 18:[17, 1], Operations: ['90-73=17', '40-39=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
53,
10,
93,
95
] | 48 | [
"95-93=2",
"10/2=5",
"53-5=48"
] | Current State: 48:[53, 10, 93, 95], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [53, 10, 2]
Generated Node #2: [53, 10, 2] from Operation: 95-93=2
Current State: 48:[53, 10, 2], Operations: ['95-93=2']
Exploring Operation: 10/2=5, Resulting Numbers: [53, 5]
Generated Node #3: [53, 5] from Operation: 10/2=5
Current State: 48:[53, 5], Operations: ['95-93=2', '10/2=5']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[53, 10, 93, 95], Operations: []
Exploring Operation: 95-10=85, Resulting Numbers: [53, 93, 85]
Generated Node #0,0: 48:[53, 93, 85] Operation: 95-10=85
Exploring Operation: 93-10=83, Resulting Numbers: [53, 95, 83]
Generated Node #0,1: 48:[53, 95, 83] Operation: 93-10=83
Exploring Operation: 93-53=40, Resulting Numbers: [10, 95, 40]
Generated Node #0,2: 48:[10, 95, 40] Operation: 93-53=40
Exploring Operation: 95-53=42, Resulting Numbers: [10, 93, 42]
Generated Node #0,3: 48:[10, 93, 42] Operation: 95-53=42
Exploring Operation: 95-93=2, Resulting Numbers: [53, 10, 2]
Generated Node #0,4: 48:[53, 10, 2] Operation: 95-93=2
Moving to Node #0,4
Current State: 48:[53, 10, 2], Operations: ['95-93=2']
Exploring Operation: 10-2=8, Resulting Numbers: [53, 8]
Generated Node #0,4,0: 48:[53, 8] Operation: 10-2=8
Exploring Operation: 53-10=43, Resulting Numbers: [2, 43]
Generated Node #0,4,1: 48:[2, 43] Operation: 53-10=43
Exploring Operation: 10/2=5, Resulting Numbers: [53, 5]
Generated Node #0,4,2: 48:[53, 5] Operation: 10/2=5
Exploring Operation: 10+2=12, Resulting Numbers: [53, 12]
Generated Node #0,4,3: 48:[53, 12] Operation: 10+2=12
Exploring Operation: 53-2=51, Resulting Numbers: [10, 51]
Generated Node #0,4,4: 48:[10, 51] Operation: 53-2=51
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 48:[53, 8], Operations: ['95-93=2', '10-2=8']
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,48 unequal: No Solution
Exploring Operation: 53+8=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 53*8=424, Resulting Numbers: [424]
424,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 48:[2, 43], Operations: ['95-93=2', '53-10=43']
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,48 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,48 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 48:[53, 12], Operations: ['95-93=2', '10+2=12']
Exploring Operation: 53-12=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Exploring Operation: 53*12=636, Resulting Numbers: [636]
636,48 unequal: No Solution
Exploring Operation: 53+12=65, Resulting Numbers: [65]
65,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 48:[10, 51], Operations: ['95-93=2', '53-2=51']
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Exploring Operation: 10+51=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 10*51=510, Resulting Numbers: [510]
510,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 48:[53, 5], Operations: ['95-93=2', '10/2=5']
Exploring Operation: 53*5=265, Resulting Numbers: [265]
265,48 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[53, 10, 93, 95], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [53, 10, 2]
Generated Node #0,4: 48:[53, 10, 2] Operation: 95-93=2
Moving to Node #0,4
Current State: 48:[53, 10, 2], Operations: ['95-93=2']
Exploring Operation: 10/2=5, Resulting Numbers: [53, 5]
Generated Node #0,4,2: 48:[53, 5] Operation: 10/2=5
Moving to Node #0,4,2
Current State: 48:[53, 5], Operations: ['95-93=2', '10/2=5']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_5 | mult_heuristic |
[
42,
54,
12,
72
] | 96 | [
"54-42=12",
"12+72=84",
"12+84=96"
] | Current State: 96:[42, 54, 12, 72], Operations: []
Exploring Operation: 54-42=12, Resulting Numbers: [12, 72, 12]
Generated Node #2: [12, 72, 12] from Operation: 54-42=12
Current State: 96:[12, 72, 12], Operations: ['54-42=12']
Exploring Operation: 12+72=84, Resulting Numbers: [84]
84,96 equal: Goal Reached
Exploring Operation: 12+84=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[42, 54, 12, 72], Operations: []
Exploring Operation: 72-42=30, Resulting Numbers: [54, 12, 30]
Generated Node #0,0: 96:[54, 12, 30] Operation: 72-42=30
Exploring Operation: 72/12=6, Resulting Numbers: [42, 54, 6]
Generated Node #0,1: 96:[42, 54, 6] Operation: 72/12=6
Exploring Operation: 72-54=18, Resulting Numbers: [42, 12, 18]
Generated Node #0,2: 96:[42, 12, 18] Operation: 72-54=18
Moving to Node #0,0
Current State: 96:[54, 12, 30], Operations: ['72-42=30']
Exploring Operation: 54-30=24, Resulting Numbers: [12, 24]
Generated Node #0,0,0: 96:[12, 24] Operation: 54-30=24
Exploring Operation: 54-12=42, Resulting Numbers: [30, 42]
Generated Node #0,0,1: 96:[30, 42] Operation: 54-12=42
Exploring Operation: 30-12=18, Resulting Numbers: [54, 18]
Generated Node #0,0,2: 96:[54, 18] Operation: 30-12=18
Moving to Node #0,2
Current State: 96:[42, 12, 18], Operations: ['72-54=18']
Exploring Operation: 42-12=30, Resulting Numbers: [18, 30]
Generated Node #0,2,0: 96:[18, 30] Operation: 42-12=30
Exploring Operation: 18-12=6, Resulting Numbers: [42, 6]
Generated Node #0,2,1: 96:[42, 6] Operation: 18-12=6
Exploring Operation: 42-18=24, Resulting Numbers: [12, 24]
Generated Node #0,2,2: 96:[12, 24] Operation: 42-18=24
Moving to Node #0,1
Current State: 96:[42, 54, 6], Operations: ['72/12=6']
Exploring Operation: 42+6=48, Resulting Numbers: [54, 48]
Generated Node #0,1,0: 96:[54, 48] Operation: 42+6=48
Exploring Operation: 42+54=96, Resulting Numbers: [6, 96]
Generated Node #0,1,1: 96:[6, 96] Operation: 42+54=96
Exploring Operation: 54-42=12, Resulting Numbers: [6, 12]
Generated Node #0,1,2: 96:[6, 12] Operation: 54-42=12
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[6, 96], Operations: ['72/12=6', '42+54=96']
Exploring Operation: 6+96=102, Resulting Numbers: [102]
102,96 unequal: No Solution
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,96 unequal: No Solution
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 96:[6, 12], Operations: ['72/12=6', '54-42=12']
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[54, 48], Operations: ['72/12=6', '42+6=48']
Exploring Operation: 54*48=2592, Resulting Numbers: [2592]
2592,96 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 54+48=102, Resulting Numbers: [102]
102,96 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: 96:[12, 24], Operations: ['72-42=30', '54-30=24']
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,96 unequal: No Solution
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[12, 24], Operations: ['72-54=18', '42-18=24']
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,96 unequal: No Solution
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[18, 30], Operations: ['72-54=18', '42-12=30']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 18+30=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Exploring Operation: 18*30=540, Resulting Numbers: [540]
540,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[42, 6], Operations: ['72-54=18', '18-12=6']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,96 unequal: No Solution
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[30, 42], Operations: ['72-42=30', '54-12=42']
Exploring Operation: 30*42=1260, Resulting Numbers: [1260]
1260,96 unequal: No Solution
Exploring Operation: 30+42=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[54, 18], Operations: ['72-42=30', '30-12=18']
Exploring Operation: 54+18=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,96 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,96 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
3,
67,
21,
9
] | 60 | [
"3*21=63",
"63/9=7",
"67-7=60"
] | Current State: 60:[3, 67, 21, 9], Operations: []
Exploring Operation: 3*21=63, Resulting Numbers: [67, 9, 63]
Generated Node #2: [67, 9, 63] from Operation: 3*21=63
Current State: 60:[67, 9, 63], Operations: ['3*21=63']
Exploring Operation: 63/9=7, Resulting Numbers: [67, 7]
Generated Node #3: [67, 7] from Operation: 63/9=7
Current State: 60:[67, 7], Operations: ['3*21=63', '63/9=7']
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[3, 67, 21, 9], Operations: []
Exploring Operation: 67-9=58, Resulting Numbers: [3, 21, 58]
Generated Node #0,0: 60:[3, 21, 58] Operation: 67-9=58
Exploring Operation: 67-3=64, Resulting Numbers: [21, 9, 64]
Generated Node #0,1: 60:[21, 9, 64] Operation: 67-3=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[3, 21, 58], Operations: ['67-9=58']
Exploring Operation: 21/3=7, Resulting Numbers: [58, 7]
Generated Node #0,0,0: 60:[58, 7] Operation: 21/3=7
Exploring Operation: 3+58=61, Resulting Numbers: [21, 61]
Generated Node #0,0,1: 60:[21, 61] Operation: 3+58=61
Moving to Node #0,0,1
Current State: 60:[21, 61], Operations: ['67-9=58', '3+58=61']
Exploring Operation: 21+61=82, Resulting Numbers: [82]
82,60 unequal: No Solution
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[58, 7], Operations: ['67-9=58', '21/3=7']
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,60 unequal: No Solution
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[21, 9, 64], Operations: ['67-3=64']
Exploring Operation: 21-9=12, Resulting Numbers: [64, 12]
Generated Node #0,1,0: 60:[64, 12] Operation: 21-9=12
Exploring Operation: 21+9=30, Resulting Numbers: [64, 30]
Generated Node #0,1,1: 60:[64, 30] Operation: 21+9=30
Moving to Node #0,1,0
Current State: 60:[64, 12], Operations: ['67-3=64', '21-9=12']
Exploring Operation: 64+12=76, Resulting Numbers: [76]
76,60 unequal: No Solution
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[64, 30], Operations: ['67-3=64', '21+9=30']
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,60 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 |
[
81,
52,
14,
58
] | 89 | [
"81+52=133",
"58-14=44",
"133-44=89"
] | Current State: 89:[81, 52, 14, 58], Operations: []
Exploring Operation: 81+52=133, Resulting Numbers: [14, 58, 133]
Generated Node #2: [14, 58, 133] from Operation: 81+52=133
Current State: 89:[14, 58, 133], Operations: ['81+52=133']
Exploring Operation: 58-14=44, Resulting Numbers: [133, 44]
Generated Node #3: [133, 44] from Operation: 58-14=44
Current State: 89:[133, 44], Operations: ['81+52=133', '58-14=44']
Exploring Operation: 133-44=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[81, 52, 14, 58], Operations: []
Exploring Operation: 52+14=66, Resulting Numbers: [81, 58, 66]
Generated Node #0,0: 89:[81, 58, 66] Operation: 52+14=66
Exploring Operation: 14+58=72, Resulting Numbers: [81, 52, 72]
Generated Node #0,1: 89:[81, 52, 72] Operation: 14+58=72
Moving to Node #0,0
Current State: 89:[81, 58, 66], Operations: ['52+14=66']
Exploring Operation: 81+58=139, Resulting Numbers: [66, 139]
Generated Node #0,0,0: 89:[66, 139] Operation: 81+58=139
Exploring Operation: 58+66=124, Resulting Numbers: [81, 124]
Generated Node #0,0,1: 89:[81, 124] Operation: 58+66=124
Moving to Node #0,1
Current State: 89:[81, 52, 72], Operations: ['14+58=72']
Exploring Operation: 52+72=124, Resulting Numbers: [81, 124]
Generated Node #0,1,0: 89:[81, 124] Operation: 52+72=124
Exploring Operation: 81+52=133, Resulting Numbers: [72, 133]
Generated Node #0,1,1: 89:[72, 133] Operation: 81+52=133
Moving to Node #0,0,1
Current State: 89:[81, 124], Operations: ['52+14=66', '58+66=124']
Exploring Operation: 124-81=43, Resulting Numbers: [43]
43,89 unequal: No Solution
Exploring Operation: 81+124=205, Resulting Numbers: [205]
205,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[81, 124], Operations: ['14+58=72', '52+72=124']
Exploring Operation: 81+124=205, Resulting Numbers: [205]
205,89 unequal: No Solution
Exploring Operation: 124-81=43, Resulting Numbers: [43]
43,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[72, 133], Operations: ['14+58=72', '81+52=133']
Exploring Operation: 72+133=205, Resulting Numbers: [205]
205,89 unequal: No Solution
Exploring Operation: 133-72=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[66, 139], Operations: ['52+14=66', '81+58=139']
Exploring Operation: 139-66=73, Resulting Numbers: [73]
73,89 unequal: No Solution
Exploring Operation: 66+139=205, Resulting Numbers: [205]
205,89 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
74,
32,
17,
13
] | 38 | [
"74-32=42",
"17-13=4",
"42-4=38"
] | Current State: 38:[74, 32, 17, 13], Operations: []
Exploring Operation: 74-32=42, Resulting Numbers: [17, 13, 42]
Generated Node #2: [17, 13, 42] from Operation: 74-32=42
Current State: 38:[17, 13, 42], Operations: ['74-32=42']
Exploring Operation: 17-13=4, Resulting Numbers: [42, 4]
Generated Node #3: [42, 4] from Operation: 17-13=4
Current State: 38:[42, 4], Operations: ['74-32=42', '17-13=4']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[74, 32, 17, 13], Operations: []
Exploring Operation: 32-13=19, Resulting Numbers: [74, 17, 19]
Generated Node #0,0: 38:[74, 17, 19] Operation: 32-13=19
Exploring Operation: 74-17=57, Resulting Numbers: [32, 13, 57]
Generated Node #0,1: 38:[32, 13, 57] Operation: 74-17=57
Exploring Operation: 17-13=4, Resulting Numbers: [74, 32, 4]
Generated Node #0,2: 38:[74, 32, 4] Operation: 17-13=4
Exploring Operation: 74-32=42, Resulting Numbers: [17, 13, 42]
Generated Node #0,3: 38:[17, 13, 42] Operation: 74-32=42
Exploring Operation: 74-13=61, Resulting Numbers: [32, 17, 61]
Generated Node #0,4: 38:[32, 17, 61] Operation: 74-13=61
Moving to Node #0,3
Current State: 38:[17, 13, 42], Operations: ['74-32=42']
Exploring Operation: 17-13=4, Resulting Numbers: [42, 4]
Generated Node #0,3,0: 38:[42, 4] Operation: 17-13=4
Exploring Operation: 13+42=55, Resulting Numbers: [17, 55]
Generated Node #0,3,1: 38:[17, 55] Operation: 13+42=55
Exploring Operation: 17+13=30, Resulting Numbers: [42, 30]
Generated Node #0,3,2: 38:[42, 30] Operation: 17+13=30
Exploring Operation: 42-13=29, Resulting Numbers: [17, 29]
Generated Node #0,3,3: 38:[17, 29] Operation: 42-13=29
Exploring Operation: 42-17=25, Resulting Numbers: [13, 25]
Generated Node #0,3,4: 38:[13, 25] Operation: 42-17=25
Moving to Node #0,4
Current State: 38:[32, 17, 61], Operations: ['74-13=61']
Exploring Operation: 61-32=29, Resulting Numbers: [17, 29]
Generated Node #0,4,0: 38:[17, 29] Operation: 61-32=29
Exploring Operation: 61-17=44, Resulting Numbers: [32, 44]
Generated Node #0,4,1: 38:[32, 44] Operation: 61-17=44
Exploring Operation: 32+17=49, Resulting Numbers: [61, 49]
Generated Node #0,4,2: 38:[61, 49] Operation: 32+17=49
Exploring Operation: 17+61=78, Resulting Numbers: [32, 78]
Generated Node #0,4,3: 38:[32, 78] Operation: 17+61=78
Exploring Operation: 32-17=15, Resulting Numbers: [61, 15]
Generated Node #0,4,4: 38:[61, 15] Operation: 32-17=15
Moving to Node #0,1
Current State: 38:[32, 13, 57], Operations: ['74-17=57']
Exploring Operation: 57-32=25, Resulting Numbers: [13, 25]
Generated Node #0,1,0: 38:[13, 25] Operation: 57-32=25
Exploring Operation: 32+13=45, Resulting Numbers: [57, 45]
Generated Node #0,1,1: 38:[57, 45] Operation: 32+13=45
Exploring Operation: 13+57=70, Resulting Numbers: [32, 70]
Generated Node #0,1,2: 38:[32, 70] Operation: 13+57=70
Exploring Operation: 57-13=44, Resulting Numbers: [32, 44]
Generated Node #0,1,3: 38:[32, 44] Operation: 57-13=44
Exploring Operation: 32-13=19, Resulting Numbers: [57, 19]
Generated Node #0,1,4: 38:[57, 19] Operation: 32-13=19
Moving to Node #0,0
Current State: 38:[74, 17, 19], Operations: ['32-13=19']
Exploring Operation: 74-17=57, Resulting Numbers: [19, 57]
Generated Node #0,0,0: 38:[19, 57] Operation: 74-17=57
Exploring Operation: 17+19=36, Resulting Numbers: [74, 36]
Generated Node #0,0,1: 38:[74, 36] Operation: 17+19=36
Exploring Operation: 19-17=2, Resulting Numbers: [74, 2]
Generated Node #0,0,2: 38:[74, 2] Operation: 19-17=2
Exploring Operation: 74+17=91, Resulting Numbers: [19, 91]
Generated Node #0,0,3: 38:[19, 91] Operation: 74+17=91
Exploring Operation: 74-19=55, Resulting Numbers: [17, 55]
Generated Node #0,0,4: 38:[17, 55] Operation: 74-19=55
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[19, 57], Operations: ['32-13=19', '74-17=57']
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 19+57=76, Resulting Numbers: [76]
76,38 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[74, 32, 17, 13], Operations: []
Exploring Operation: 32-13=19, Resulting Numbers: [74, 17, 19]
Generated Node #0,0: 38:[74, 17, 19] Operation: 32-13=19
Moving to Node #0,0
Current State: 38:[74, 17, 19], Operations: ['32-13=19']
Exploring Operation: 74-17=57, Resulting Numbers: [19, 57]
Generated Node #0,0,0: 38:[19, 57] Operation: 74-17=57
Moving to Node #0,0,0
Current State: 38:[19, 57], Operations: ['32-13=19', '74-17=57']
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_5 | mult_heuristic |
[
56,
46,
11,
4
] | 29 | [
"56-46=10",
"4*10=40",
"40-11=29"
] | Current State: 29:[56, 46, 11, 4], Operations: []
Exploring Operation: 56-46=10, Resulting Numbers: [11, 4, 10]
Generated Node #2: [11, 4, 10] from Operation: 56-46=10
Current State: 29:[11, 4, 10], Operations: ['56-46=10']
Exploring Operation: 4*10=40, Resulting Numbers: [11, 40]
Generated Node #3: [11, 40] from Operation: 4*10=40
Current State: 29:[11, 40], Operations: ['56-46=10', '4*10=40']
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[56, 46, 11, 4], Operations: []
Exploring Operation: 56/4=14, Resulting Numbers: [46, 11, 14]
Generated Node #0,0: 29:[46, 11, 14] Operation: 56/4=14
Exploring Operation: 56-11=45, Resulting Numbers: [46, 4, 45]
Generated Node #0,1: 29:[46, 4, 45] Operation: 56-11=45
Moving to Node #0,0
Current State: 29:[46, 11, 14], Operations: ['56/4=14']
Exploring Operation: 46-14=32, Resulting Numbers: [11, 32]
Generated Node #0,0,0: 29:[11, 32] Operation: 46-14=32
Exploring Operation: 46-11=35, Resulting Numbers: [14, 35]
Generated Node #0,0,1: 29:[14, 35] Operation: 46-11=35
Moving to Node #0,1
Current State: 29:[46, 4, 45], Operations: ['56-11=45']
Exploring Operation: 45-4=41, Resulting Numbers: [46, 41]
Generated Node #0,1,0: 29:[46, 41] Operation: 45-4=41
Exploring Operation: 46-4=42, Resulting Numbers: [45, 42]
Generated Node #0,1,1: 29:[45, 42] Operation: 46-4=42
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[46, 41], Operations: ['56-11=45', '45-4=41']
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Exploring Operation: 46+41=87, Resulting Numbers: [87]
87,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[45, 42], Operations: ['56-11=45', '46-4=42']
Exploring Operation: 45+42=87, Resulting Numbers: [87]
87,29 unequal: No Solution
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,29 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: 29:[11, 32], Operations: ['56/4=14', '46-14=32']
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,29 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[14, 35], Operations: ['56/4=14', '46-11=35']
Exploring Operation: 14+35=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,29 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
33,
78,
52,
40
] | 18 | [
"33*52=1716",
"1716/78=22",
"40-22=18"
] | Current State: 18:[33, 78, 52, 40], Operations: []
Exploring Operation: 33*52=1716, Resulting Numbers: [78, 40, 1716]
Generated Node #2: [78, 40, 1716] from Operation: 33*52=1716
Current State: 18:[78, 40, 1716], Operations: ['33*52=1716']
Exploring Operation: 1716/78=22, Resulting Numbers: [40, 22]
Generated Node #3: [40, 22] from Operation: 1716/78=22
Current State: 18:[40, 22], Operations: ['33*52=1716', '1716/78=22']
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[33, 78, 52, 40], Operations: []
Exploring Operation: 78-52=26, Resulting Numbers: [33, 40, 26]
Generated Node #0,0: 18:[33, 40, 26] Operation: 78-52=26
Moving to Node #0,0
Current State: 18:[33, 40, 26], Operations: ['78-52=26']
Exploring Operation: 40-33=7, Resulting Numbers: [26, 7]
Generated Node #0,0,0: 18:[26, 7] Operation: 40-33=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[26, 7], Operations: ['78-52=26', '40-33=7']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,18 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 |
[
44,
2,
9,
61
] | 74 | [
"44/2=22",
"61-9=52",
"22+52=74"
] | Current State: 74:[44, 2, 9, 61], Operations: []
Exploring Operation: 44/2=22, Resulting Numbers: [9, 61, 22]
Generated Node #2: [9, 61, 22] from Operation: 44/2=22
Current State: 74:[9, 61, 22], Operations: ['44/2=22']
Exploring Operation: 61-9=52, Resulting Numbers: [22, 52]
Generated Node #3: [22, 52] from Operation: 61-9=52
Current State: 74:[22, 52], Operations: ['44/2=22', '61-9=52']
Exploring Operation: 22+52=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[44, 2, 9, 61], Operations: []
Exploring Operation: 61-44=17, Resulting Numbers: [2, 9, 17]
Generated Node #0,0: 74:[2, 9, 17] Operation: 61-44=17
Exploring Operation: 9+61=70, Resulting Numbers: [44, 2, 70]
Generated Node #0,1: 74:[44, 2, 70] Operation: 9+61=70
Exploring Operation: 44-2=42, Resulting Numbers: [9, 61, 42]
Generated Node #0,2: 74:[9, 61, 42] Operation: 44-2=42
Exploring Operation: 44-9=35, Resulting Numbers: [2, 61, 35]
Generated Node #0,3: 74:[2, 61, 35] Operation: 44-9=35
Exploring Operation: 61-9=52, Resulting Numbers: [44, 2, 52]
Generated Node #0,4: 74:[44, 2, 52] Operation: 61-9=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[44, 2, 70], Operations: ['9+61=70']
Exploring Operation: 44-2=42, Resulting Numbers: [70, 42]
Generated Node #0,1,0: 74:[70, 42] Operation: 44-2=42
Exploring Operation: 70/2=35, Resulting Numbers: [44, 35]
Generated Node #0,1,1: 74:[44, 35] Operation: 70/2=35
Exploring Operation: 44+2=46, Resulting Numbers: [70, 46]
Generated Node #0,1,2: 74:[70, 46] Operation: 44+2=46
Exploring Operation: 70-44=26, Resulting Numbers: [2, 26]
Generated Node #0,1,3: 74:[2, 26] Operation: 70-44=26
Exploring Operation: 2+70=72, Resulting Numbers: [44, 72]
Generated Node #0,1,4: 74:[44, 72] Operation: 2+70=72
Moving to Node #0,1,0
Current State: 74:[70, 42], Operations: ['9+61=70', '44-2=42']
Exploring Operation: 70*42=2940, Resulting Numbers: [2940]
2940,74 unequal: No Solution
Exploring Operation: 70-42=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 70+42=112, Resulting Numbers: [112]
112,74 unequal: No Solution
Moving to Node #0,1,4
Current State: 74:[44, 72], Operations: ['9+61=70', '2+70=72']
Exploring Operation: 44+72=116, Resulting Numbers: [116]
116,74 unequal: No Solution
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 44*72=3168, Resulting Numbers: [3168]
3168,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[44, 35], Operations: ['9+61=70', '70/2=35']
Exploring Operation: 44*35=1540, Resulting Numbers: [1540]
1540,74 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Moving to Node #0,1,3
Current State: 74:[2, 26], Operations: ['9+61=70', '70-44=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[70, 46], Operations: ['9+61=70', '44+2=46']
Exploring Operation: 70+46=116, Resulting Numbers: [116]
116,74 unequal: No Solution
Exploring Operation: 70*46=3220, Resulting Numbers: [3220]
3220,74 unequal: No Solution
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[2, 61, 35], Operations: ['44-9=35']
Exploring Operation: 61-35=26, Resulting Numbers: [2, 26]
Generated Node #0,3,0: 74:[2, 26] Operation: 61-35=26
Exploring Operation: 2+35=37, Resulting Numbers: [61, 37]
Generated Node #0,3,1: 74:[61, 37] Operation: 2+35=37
Exploring Operation: 2+61=63, Resulting Numbers: [35, 63]
Generated Node #0,3,2: 74:[35, 63] Operation: 2+61=63
Exploring Operation: 61-2=59, Resulting Numbers: [35, 59]
Generated Node #0,3,3: 74:[35, 59] Operation: 61-2=59
Exploring Operation: 2*35=70, Resulting Numbers: [61, 70]
Generated Node #0,3,4: 74:[61, 70] Operation: 2*35=70
Moving to Node #0,3,0
Current State: 74:[2, 26], Operations: ['44-9=35', '61-35=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,74 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[35, 63], Operations: ['44-9=35', '2+61=63']
Exploring Operation: 35*63=2205, Resulting Numbers: [2205]
2205,74 unequal: No Solution
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 35+63=98, Resulting Numbers: [98]
98,74 unequal: No Solution
Moving to Node #0,3,1
Current State: 74:[61, 37], Operations: ['44-9=35', '2+35=37']
Exploring Operation: 61*37=2257, Resulting Numbers: [2257]
2257,74 unequal: No Solution
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 61+37=98, Resulting Numbers: [98]
98,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[35, 59], Operations: ['44-9=35', '61-2=59']
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 35+59=94, Resulting Numbers: [94]
94,74 unequal: No Solution
Exploring Operation: 35*59=2065, Resulting Numbers: [2065]
2065,74 unequal: No Solution
Moving to Node #0,3,4
Current State: 74:[61, 70], Operations: ['44-9=35', '2*35=70']
Exploring Operation: 61+70=131, Resulting Numbers: [131]
131,74 unequal: No Solution
Exploring Operation: 70-61=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 61*70=4270, Resulting Numbers: [4270]
4270,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[2, 9, 17], Operations: ['61-44=17']
Exploring Operation: 2*17=34, Resulting Numbers: [9, 34]
Generated Node #0,0,0: 74:[9, 34] Operation: 2*17=34
Exploring Operation: 17-2=15, Resulting Numbers: [9, 15]
Generated Node #0,0,1: 74:[9, 15] Operation: 17-2=15
Exploring Operation: 17-9=8, Resulting Numbers: [2, 8]
Generated Node #0,0,2: 74:[2, 8] Operation: 17-9=8
Exploring Operation: 9-2=7, Resulting Numbers: [17, 7]
Generated Node #0,0,3: 74:[17, 7] Operation: 9-2=7
Exploring Operation: 9+17=26, Resulting Numbers: [2, 26]
Generated Node #0,0,4: 74:[2, 26] Operation: 9+17=26
Moving to Node #0,0,2
Current State: 74:[2, 8], Operations: ['61-44=17', '17-9=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[9, 34], Operations: ['61-44=17', '2*17=34']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,74 unequal: No Solution
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,74 unequal: No Solution
Moving to Node #0,0,4
Current State: 74:[2, 26], Operations: ['61-44=17', '9+17=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,74 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[9, 15], Operations: ['61-44=17', '17-2=15']
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[17, 7], Operations: ['61-44=17', '9-2=7']
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,74 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 74:[44, 2, 52], Operations: ['61-9=52']
Exploring Operation: 44-2=42, Resulting Numbers: [52, 42]
Generated Node #0,4,0: 74:[52, 42] Operation: 44-2=42
Exploring Operation: 52-2=50, Resulting Numbers: [44, 50]
Generated Node #0,4,1: 74:[44, 50] Operation: 52-2=50
Exploring Operation: 52/2=26, Resulting Numbers: [44, 26]
Generated Node #0,4,2: 74:[44, 26] Operation: 52/2=26
Exploring Operation: 44+52=96, Resulting Numbers: [2, 96]
Generated Node #0,4,3: 74:[2, 96] Operation: 44+52=96
Exploring Operation: 52-44=8, Resulting Numbers: [2, 8]
Generated Node #0,4,4: 74:[2, 8] Operation: 52-44=8
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 74:[2, 8], Operations: ['61-9=52', '52-44=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 74:[44, 26], Operations: ['61-9=52', '52/2=26']
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 44*26=1144, Resulting Numbers: [1144]
1144,74 unequal: No Solution
Exploring Operation: 44+26=70, Resulting Numbers: [70]
70,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 74:[52, 42], Operations: ['61-9=52', '44-2=42']
Exploring Operation: 52+42=94, Resulting Numbers: [94]
94,74 unequal: No Solution
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 52*42=2184, Resulting Numbers: [2184]
2184,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 74:[44, 50], Operations: ['61-9=52', '52-2=50']
Exploring Operation: 44*50=2200, Resulting Numbers: [2200]
2200,74 unequal: No Solution
Exploring Operation: 44+50=94, Resulting Numbers: [94]
94,74 unequal: No Solution
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 74:[2, 96], Operations: ['61-9=52', '44+52=96']
Exploring Operation: 2*96=192, Resulting Numbers: [192]
192,74 unequal: No Solution
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,74 unequal: No Solution
Exploring Operation: 2+96=98, Resulting Numbers: [98]
98,74 unequal: No Solution
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[9, 61, 42], Operations: ['44-2=42']
Exploring Operation: 9+61=70, Resulting Numbers: [42, 70]
Generated Node #0,2,0: 74:[42, 70] Operation: 9+61=70
Exploring Operation: 61-42=19, Resulting Numbers: [9, 19]
Generated Node #0,2,1: 74:[9, 19] Operation: 61-42=19
Exploring Operation: 9+42=51, Resulting Numbers: [61, 51]
Generated Node #0,2,2: 74:[61, 51] Operation: 9+42=51
Exploring Operation: 42-9=33, Resulting Numbers: [61, 33]
Generated Node #0,2,3: 74:[61, 33] Operation: 42-9=33
Exploring Operation: 61-9=52, Resulting Numbers: [42, 52]
Generated Node #0,2,4: 74:[42, 52] Operation: 61-9=52
Moving to Node #0,2,0
Current State: 74:[42, 70], Operations: ['44-2=42', '9+61=70']
Exploring Operation: 70-42=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 42+70=112, Resulting Numbers: [112]
112,74 unequal: No Solution
Exploring Operation: 42*70=2940, Resulting Numbers: [2940]
2940,74 unequal: No Solution
Moving to Node #0,2,3
Current State: 74:[61, 33], Operations: ['44-2=42', '42-9=33']
Exploring Operation: 61+33=94, Resulting Numbers: [94]
94,74 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 61*33=2013, Resulting Numbers: [2013]
2013,74 unequal: No Solution
Moving to Node #0,2,4
Current State: 74:[42, 52], Operations: ['44-2=42', '61-9=52']
Exploring Operation: 42+52=94, Resulting Numbers: [94]
94,74 unequal: No Solution
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 42*52=2184, Resulting Numbers: [2184]
2184,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[9, 19], Operations: ['44-2=42', '61-42=19']
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[61, 51], Operations: ['44-2=42', '9+42=51']
Exploring Operation: 61*51=3111, Resulting Numbers: [3111]
3111,74 unequal: No Solution
Exploring Operation: 61-51=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 61+51=112, Resulting Numbers: [112]
112,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
84,
59,
16,
85
] | 76 | [
"84-59=25",
"16+85=101",
"101-25=76"
] | Current State: 76:[84, 59, 16, 85], Operations: []
Exploring Operation: 84-59=25, Resulting Numbers: [16, 85, 25]
Generated Node #2: [16, 85, 25] from Operation: 84-59=25
Current State: 76:[16, 85, 25], Operations: ['84-59=25']
Exploring Operation: 16+85=101, Resulting Numbers: [25, 101]
Generated Node #3: [25, 101] from Operation: 16+85=101
Current State: 76:[25, 101], Operations: ['84-59=25', '16+85=101']
Exploring Operation: 101-25=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[84, 59, 16, 85], Operations: []
Exploring Operation: 59-16=43, Resulting Numbers: [84, 85, 43]
Generated Node #0,0: 76:[84, 85, 43] Operation: 59-16=43
Exploring Operation: 59+16=75, Resulting Numbers: [84, 85, 75]
Generated Node #0,1: 76:[84, 85, 75] Operation: 59+16=75
Exploring Operation: 85-59=26, Resulting Numbers: [84, 16, 26]
Generated Node #0,2: 76:[84, 16, 26] Operation: 85-59=26
Exploring Operation: 84-59=25, Resulting Numbers: [16, 85, 25]
Generated Node #0,3: 76:[16, 85, 25] Operation: 84-59=25
Exploring Operation: 85-84=1, Resulting Numbers: [59, 16, 1]
Generated Node #0,4: 76:[59, 16, 1] Operation: 85-84=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[84, 85, 75], Operations: ['59+16=75']
Exploring Operation: 85+75=160, Resulting Numbers: [84, 160]
Generated Node #0,1,0: 76:[84, 160] Operation: 85+75=160
Exploring Operation: 85-84=1, Resulting Numbers: [75, 1]
Generated Node #0,1,1: 76:[75, 1] Operation: 85-84=1
Exploring Operation: 84-75=9, Resulting Numbers: [85, 9]
Generated Node #0,1,2: 76:[85, 9] Operation: 84-75=9
Exploring Operation: 85-75=10, Resulting Numbers: [84, 10]
Generated Node #0,1,3: 76:[84, 10] Operation: 85-75=10
Exploring Operation: 84+75=159, Resulting Numbers: [85, 159]
Generated Node #0,1,4: 76:[85, 159] Operation: 84+75=159
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[75, 1], Operations: ['59+16=75', '85-84=1']
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[84, 59, 16, 85], Operations: []
Exploring Operation: 59+16=75, Resulting Numbers: [84, 85, 75]
Generated Node #0,1: 76:[84, 85, 75] Operation: 59+16=75
Moving to Node #0,1
Current State: 76:[84, 85, 75], Operations: ['59+16=75']
Exploring Operation: 85-84=1, Resulting Numbers: [75, 1]
Generated Node #0,1,1: 76:[75, 1] Operation: 85-84=1
Moving to Node #0,1,1
Current State: 76:[75, 1], Operations: ['59+16=75', '85-84=1']
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
82,
79,
31,
77
] | 20 | [
"79-77=2",
"31*2=62",
"82-62=20"
] | Current State: 20:[82, 79, 31, 77], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [82, 31, 2]
Generated Node #2: [82, 31, 2] from Operation: 79-77=2
Current State: 20:[82, 31, 2], Operations: ['79-77=2']
Exploring Operation: 31*2=62, Resulting Numbers: [82, 62]
Generated Node #3: [82, 62] from Operation: 31*2=62
Current State: 20:[82, 62], Operations: ['79-77=2', '31*2=62']
Exploring Operation: 82-62=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[82, 79, 31, 77], Operations: []
Exploring Operation: 79-31=48, Resulting Numbers: [82, 77, 48]
Generated Node #0,0: 20:[82, 77, 48] Operation: 79-31=48
Exploring Operation: 82-79=3, Resulting Numbers: [31, 77, 3]
Generated Node #0,1: 20:[31, 77, 3] Operation: 82-79=3
Exploring Operation: 82-77=5, Resulting Numbers: [79, 31, 5]
Generated Node #0,2: 20:[79, 31, 5] Operation: 82-77=5
Exploring Operation: 79-77=2, Resulting Numbers: [82, 31, 2]
Generated Node #0,3: 20:[82, 31, 2] Operation: 79-77=2
Exploring Operation: 82-31=51, Resulting Numbers: [79, 77, 51]
Generated Node #0,4: 20:[79, 77, 51] Operation: 82-31=51
Moving to Node #0,1
Current State: 20:[31, 77, 3], Operations: ['82-79=3']
Exploring Operation: 77-3=74, Resulting Numbers: [31, 74]
Generated Node #0,1,0: 20:[31, 74] Operation: 77-3=74
Exploring Operation: 31-3=28, Resulting Numbers: [77, 28]
Generated Node #0,1,1: 20:[77, 28] Operation: 31-3=28
Exploring Operation: 31+3=34, Resulting Numbers: [77, 34]
Generated Node #0,1,2: 20:[77, 34] Operation: 31+3=34
Exploring Operation: 77+3=80, Resulting Numbers: [31, 80]
Generated Node #0,1,3: 20:[31, 80] Operation: 77+3=80
Exploring Operation: 77-31=46, Resulting Numbers: [3, 46]
Generated Node #0,1,4: 20:[3, 46] Operation: 77-31=46
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 20:[3, 46], Operations: ['82-79=3', '77-31=46']
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,20 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[31, 74], Operations: ['82-79=3', '77-3=74']
Exploring Operation: 74-31=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 31*74=2294, Resulting Numbers: [2294]
2294,20 unequal: No Solution
Exploring Operation: 31+74=105, Resulting Numbers: [105]
105,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[77, 28], Operations: ['82-79=3', '31-3=28']
Exploring Operation: 77-28=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 77+28=105, Resulting Numbers: [105]
105,20 unequal: No Solution
Exploring Operation: 77*28=2156, Resulting Numbers: [2156]
2156,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[77, 34], Operations: ['82-79=3', '31+3=34']
Exploring Operation: 77+34=111, Resulting Numbers: [111]
111,20 unequal: No Solution
Exploring Operation: 77*34=2618, Resulting Numbers: [2618]
2618,20 unequal: No Solution
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 20:[31, 80], Operations: ['82-79=3', '77+3=80']
Exploring Operation: 31+80=111, Resulting Numbers: [111]
111,20 unequal: No Solution
Exploring Operation: 31*80=2480, Resulting Numbers: [2480]
2480,20 unequal: No Solution
Exploring Operation: 80-31=49, Resulting Numbers: [49]
49,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 20:[79, 31, 5], Operations: ['82-77=5']
Exploring Operation: 79-31=48, Resulting Numbers: [5, 48]
Generated Node #0,2,0: 20:[5, 48] Operation: 79-31=48
Exploring Operation: 79+5=84, Resulting Numbers: [31, 84]
Generated Node #0,2,1: 20:[31, 84] Operation: 79+5=84
Exploring Operation: 31+5=36, Resulting Numbers: [79, 36]
Generated Node #0,2,2: 20:[79, 36] Operation: 31+5=36
Exploring Operation: 79-5=74, Resulting Numbers: [31, 74]
Generated Node #0,2,3: 20:[31, 74] Operation: 79-5=74
Exploring Operation: 31-5=26, Resulting Numbers: [79, 26]
Generated Node #0,2,4: 20:[79, 26] Operation: 31-5=26
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[5, 48], Operations: ['82-77=5', '79-31=48']
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 5*48=240, Resulting Numbers: [240]
240,20 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 20:[31, 74], Operations: ['82-77=5', '79-5=74']
Exploring Operation: 31+74=105, Resulting Numbers: [105]
105,20 unequal: No Solution
Exploring Operation: 74-31=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 31*74=2294, Resulting Numbers: [2294]
2294,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 20:[79, 26], Operations: ['82-77=5', '31-5=26']
Exploring Operation: 79+26=105, Resulting Numbers: [105]
105,20 unequal: No Solution
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 79*26=2054, Resulting Numbers: [2054]
2054,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 20:[31, 84], Operations: ['82-77=5', '79+5=84']
Exploring Operation: 84-31=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 31+84=115, Resulting Numbers: [115]
115,20 unequal: No Solution
Exploring Operation: 31*84=2604, Resulting Numbers: [2604]
2604,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[79, 36], Operations: ['82-77=5', '31+5=36']
Exploring Operation: 79-36=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 79+36=115, Resulting Numbers: [115]
115,20 unequal: No Solution
Exploring Operation: 79*36=2844, Resulting Numbers: [2844]
2844,20 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: 20:[82, 31, 2], Operations: ['79-77=2']
Exploring Operation: 82-31=51, Resulting Numbers: [2, 51]
Generated Node #0,3,0: 20:[2, 51] Operation: 82-31=51
Exploring Operation: 31-2=29, Resulting Numbers: [82, 29]
Generated Node #0,3,1: 20:[82, 29] Operation: 31-2=29
Exploring Operation: 82+2=84, Resulting Numbers: [31, 84]
Generated Node #0,3,2: 20:[31, 84] Operation: 82+2=84
Exploring Operation: 82/2=41, Resulting Numbers: [31, 41]
Generated Node #0,3,3: 20:[31, 41] Operation: 82/2=41
Exploring Operation: 82-2=80, Resulting Numbers: [31, 80]
Generated Node #0,3,4: 20:[31, 80] Operation: 82-2=80
Moving to Node #0,0
Current State: 20:[82, 77, 48], Operations: ['79-31=48']
Exploring Operation: 82+77=159, Resulting Numbers: [48, 159]
Generated Node #0,0,0: 20:[48, 159] Operation: 82+77=159
Exploring Operation: 77-48=29, Resulting Numbers: [82, 29]
Generated Node #0,0,1: 20:[82, 29] Operation: 77-48=29
Exploring Operation: 82-77=5, Resulting Numbers: [48, 5]
Generated Node #0,0,2: 20:[48, 5] Operation: 82-77=5
Exploring Operation: 82-48=34, Resulting Numbers: [77, 34]
Generated Node #0,0,3: 20:[77, 34] Operation: 82-48=34
Exploring Operation: 82+48=130, Resulting Numbers: [77, 130]
Generated Node #0,0,4: 20:[77, 130] Operation: 82+48=130
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[48, 5], Operations: ['79-31=48', '82-77=5']
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,20 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[82, 29], Operations: ['79-31=48', '77-48=29']
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 82+29=111, Resulting Numbers: [111]
111,20 unequal: No Solution
Exploring Operation: 82*29=2378, Resulting Numbers: [2378]
2378,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 20:[77, 34], Operations: ['79-31=48', '82-48=34']
Exploring Operation: 77*34=2618, Resulting Numbers: [2618]
2618,20 unequal: No Solution
Exploring Operation: 77+34=111, Resulting Numbers: [111]
111,20 unequal: No Solution
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[48, 159], Operations: ['79-31=48', '82+77=159']
Exploring Operation: 48*159=7632, Resulting Numbers: [7632]
7632,20 unequal: No Solution
Exploring Operation: 159-48=111, Resulting Numbers: [111]
111,20 unequal: No Solution
Exploring Operation: 48+159=207, Resulting Numbers: [207]
207,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 20:[77, 130], Operations: ['79-31=48', '82+48=130']
Exploring Operation: 130-77=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 77*130=10010, Resulting Numbers: [10010]
10010,20 unequal: No Solution
Exploring Operation: 77+130=207, Resulting Numbers: [207]
207,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 20:[79, 77, 51], Operations: ['82-31=51']
Exploring Operation: 79-77=2, Resulting Numbers: [51, 2]
Generated Node #0,4,0: 20:[51, 2] Operation: 79-77=2
Exploring Operation: 79-51=28, Resulting Numbers: [77, 28]
Generated Node #0,4,1: 20:[77, 28] Operation: 79-51=28
Exploring Operation: 77-51=26, Resulting Numbers: [79, 26]
Generated Node #0,4,2: 20:[79, 26] Operation: 77-51=26
Exploring Operation: 79+77=156, Resulting Numbers: [51, 156]
Generated Node #0,4,3: 20:[51, 156] Operation: 79+77=156
Exploring Operation: 79+51=130, Resulting Numbers: [77, 130]
Generated Node #0,4,4: 20:[77, 130] Operation: 79+51=130
Moving to Node #0,3,0
Current State: 20:[2, 51], Operations: ['79-77=2', '82-31=51']
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,20 unequal: No Solution
Moving to Node #0,4,0
Current State: 20:[51, 2], Operations: ['82-31=51', '79-77=2']
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[31, 41], Operations: ['79-77=2', '82/2=41']
Exploring Operation: 31+41=72, Resulting Numbers: [72]
72,20 unequal: No Solution
Exploring Operation: 31*41=1271, Resulting Numbers: [1271]
1271,20 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Moving to Node #0,4,1
Current State: 20:[77, 28], Operations: ['82-31=51', '79-51=28']
Exploring Operation: 77-28=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 77*28=2156, Resulting Numbers: [2156]
2156,20 unequal: No Solution
Exploring Operation: 77+28=105, Resulting Numbers: [105]
105,20 unequal: No Solution
Moving to Node #0,4,2
Current State: 20:[79, 26], Operations: ['82-31=51', '77-51=26']
Exploring Operation: 79+26=105, Resulting Numbers: [105]
105,20 unequal: No Solution
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 79*26=2054, Resulting Numbers: [2054]
2054,20 unequal: No Solution
Moving to Node #0,3,1
Current State: 20:[82, 29], Operations: ['79-77=2', '31-2=29']
Exploring Operation: 82*29=2378, Resulting Numbers: [2378]
2378,20 unequal: No Solution
Exploring Operation: 82+29=111, Resulting Numbers: [111]
111,20 unequal: No Solution
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Moving to Node #0,3,4
Current State: 20:[31, 80], Operations: ['79-77=2', '82-2=80']
Exploring Operation: 31+80=111, Resulting Numbers: [111]
111,20 unequal: No Solution
Exploring Operation: 80-31=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 31*80=2480, Resulting Numbers: [2480]
2480,20 unequal: No Solution
Moving to Node #0,3,2
Current State: 20:[31, 84], Operations: ['79-77=2', '82+2=84']
Exploring Operation: 31*84=2604, Resulting Numbers: [2604]
2604,20 unequal: No Solution
Exploring Operation: 84-31=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 31+84=115, Resulting Numbers: [115]
115,20 unequal: No Solution
Moving to Node #0,4,4
Current State: 20:[77, 130], Operations: ['82-31=51', '79+51=130']
Exploring Operation: 130-77=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 77+130=207, Resulting Numbers: [207]
207,20 unequal: No Solution
Exploring Operation: 77*130=10010, Resulting Numbers: [10010]
10010,20 unequal: No Solution
Moving to Node #0,4,3
Current State: 20:[51, 156], Operations: ['82-31=51', '79+77=156']
Exploring Operation: 51*156=7956, Resulting Numbers: [7956]
7956,20 unequal: No Solution
Exploring Operation: 51+156=207, Resulting Numbers: [207]
207,20 unequal: No Solution
Exploring Operation: 156-51=105, Resulting Numbers: [105]
105,20 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
40,
35,
35,
23
] | 18 | [
"40-23=17",
"35/35=1",
"17+1=18"
] | Current State: 18:[40, 35, 35, 23], Operations: []
Exploring Operation: 40-23=17, Resulting Numbers: [35, 35, 17]
Generated Node #2: [35, 35, 17] from Operation: 40-23=17
Current State: 18:[35, 35, 17], Operations: ['40-23=17']
Exploring Operation: 35/35=1, Resulting Numbers: [17, 1]
Generated Node #3: [17, 1] from Operation: 35/35=1
Current State: 18:[17, 1], Operations: ['40-23=17', '35/35=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[40, 35, 35, 23], Operations: []
Exploring Operation: 40-35=5, Resulting Numbers: [35, 23, 5]
Generated Node #0,0: 18:[35, 23, 5] Operation: 40-35=5
Exploring Operation: 35-35=0, Resulting Numbers: [40, 23, 0]
Generated Node #0,1: 18:[40, 23, 0] Operation: 35-35=0
Exploring Operation: 35/35=1, Resulting Numbers: [40, 23, 1]
Generated Node #0,2: 18:[40, 23, 1] Operation: 35/35=1
Exploring Operation: 40-35=5, Resulting Numbers: [35, 23, 5]
Generated Node #0,3: 18:[35, 23, 5] Operation: 40-35=5
Moving to Node #0,0
Current State: 18:[35, 23, 5], Operations: ['40-35=5']
Exploring Operation: 35-23=12, Resulting Numbers: [5, 12]
Generated Node #0,0,0: 18:[5, 12] Operation: 35-23=12
Exploring Operation: 35-5=30, Resulting Numbers: [23, 30]
Generated Node #0,0,1: 18:[23, 30] Operation: 35-5=30
Exploring Operation: 35/5=7, Resulting Numbers: [23, 7]
Generated Node #0,0,2: 18:[23, 7] Operation: 35/5=7
Exploring Operation: 23-5=18, Resulting Numbers: [35, 18]
Generated Node #0,0,3: 18:[35, 18] Operation: 23-5=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[5, 12], Operations: ['40-35=5', '35-23=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 18:[23, 7], Operations: ['40-35=5', '35/5=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,18 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[23, 30], Operations: ['40-35=5', '35-5=30']
Exploring Operation: 23*30=690, Resulting Numbers: [690]
690,18 unequal: No Solution
Exploring Operation: 23+30=53, Resulting Numbers: [53]
53,18 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 18:[35, 18], Operations: ['40-35=5', '23-5=18']
Exploring Operation: 35*18=630, Resulting Numbers: [630]
630,18 unequal: No Solution
Exploring Operation: 35+18=53, Resulting Numbers: [53]
53,18 unequal: No Solution
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,18 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: 18:[35, 23, 5], Operations: ['40-35=5']
Exploring Operation: 23-5=18, Resulting Numbers: [35, 18]
Generated Node #0,3,0: 18:[35, 18] Operation: 23-5=18
Exploring Operation: 35-23=12, Resulting Numbers: [5, 12]
Generated Node #0,3,1: 18:[5, 12] Operation: 35-23=12
Exploring Operation: 35/5=7, Resulting Numbers: [23, 7]
Generated Node #0,3,2: 18:[23, 7] Operation: 35/5=7
Exploring Operation: 35-5=30, Resulting Numbers: [23, 30]
Generated Node #0,3,3: 18:[23, 30] Operation: 35-5=30
Moving to Node #0,2
Current State: 18:[40, 23, 1], Operations: ['35/35=1']
Exploring Operation: 40-23=17, Resulting Numbers: [1, 17]
Generated Node #0,2,0: 18:[1, 17] Operation: 40-23=17
Exploring Operation: 40*1=40, Resulting Numbers: [23, 40]
Generated Node #0,2,1: 18:[23, 40] Operation: 40*1=40
Exploring Operation: 23-1=22, Resulting Numbers: [40, 22]
Generated Node #0,2,2: 18:[40, 22] Operation: 23-1=22
Exploring Operation: 40-1=39, Resulting Numbers: [23, 39]
Generated Node #0,2,3: 18:[23, 39] Operation: 40-1=39
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 18:[1, 17], Operations: ['35/35=1', '40-23=17']
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[40, 35, 35, 23], Operations: []
Exploring Operation: 35/35=1, Resulting Numbers: [40, 23, 1]
Generated Node #0,2: 18:[40, 23, 1] Operation: 35/35=1
Moving to Node #0,2
Current State: 18:[40, 23, 1], Operations: ['35/35=1']
Exploring Operation: 40-23=17, Resulting Numbers: [1, 17]
Generated Node #0,2,0: 18:[1, 17] Operation: 40-23=17
Moving to Node #0,2,0
Current State: 18:[1, 17], Operations: ['35/35=1', '40-23=17']
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
50,
5,
39,
69
] | 85 | [
"50+5=55",
"69-39=30",
"55+30=85"
] | Current State: 85:[50, 5, 39, 69], Operations: []
Exploring Operation: 50+5=55, Resulting Numbers: [39, 69, 55]
Generated Node #2: [39, 69, 55] from Operation: 50+5=55
Current State: 85:[39, 69, 55], Operations: ['50+5=55']
Exploring Operation: 69-39=30, Resulting Numbers: [55, 30]
Generated Node #3: [55, 30] from Operation: 69-39=30
Current State: 85:[55, 30], Operations: ['50+5=55', '69-39=30']
Exploring Operation: 55+30=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[50, 5, 39, 69], Operations: []
Exploring Operation: 50+39=89, Resulting Numbers: [5, 69, 89]
Generated Node #0,0: 85:[5, 69, 89] Operation: 50+39=89
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[5, 69, 89], Operations: ['50+39=89']
Exploring Operation: 89-69=20, Resulting Numbers: [5, 20]
Generated Node #0,0,0: 85:[5, 20] Operation: 89-69=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[5, 20], Operations: ['50+39=89', '89-69=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
84,
28,
18,
54
] | 16 | [
"84-28=56",
"18+54=72",
"72-56=16"
] | Current State: 16:[84, 28, 18, 54], Operations: []
Exploring Operation: 84-28=56, Resulting Numbers: [18, 54, 56]
Generated Node #2: [18, 54, 56] from Operation: 84-28=56
Current State: 16:[18, 54, 56], Operations: ['84-28=56']
Exploring Operation: 18+54=72, Resulting Numbers: [56, 72]
Generated Node #3: [56, 72] from Operation: 18+54=72
Current State: 16:[56, 72], Operations: ['84-28=56', '18+54=72']
Exploring Operation: 72-56=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[84, 28, 18, 54], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [28, 18, 30]
Generated Node #0,0: 16:[28, 18, 30] Operation: 84-54=30
Moving to Node #0,0
Current State: 16:[28, 18, 30], Operations: ['84-54=30']
Exploring Operation: 30-28=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 16:[18, 2] Operation: 30-28=2
Moving to Node #0,0,0
Current State: 16:[18, 2], Operations: ['84-54=30', '30-28=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[84, 28, 18, 54], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [28, 18, 30]
Generated Node #0,0: 16:[28, 18, 30] Operation: 84-54=30
Moving to Node #0,0
Current State: 16:[28, 18, 30], Operations: ['84-54=30']
Exploring Operation: 30-28=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 16:[18, 2] Operation: 30-28=2
Moving to Node #0,0,0
Current State: 16:[18, 2], Operations: ['84-54=30', '30-28=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
84,
34,
29,
30
] | 14 | [
"34-29=5",
"84*5=420",
"420/30=14"
] | Current State: 14:[84, 34, 29, 30], Operations: []
Exploring Operation: 34-29=5, Resulting Numbers: [84, 30, 5]
Generated Node #2: [84, 30, 5] from Operation: 34-29=5
Current State: 14:[84, 30, 5], Operations: ['34-29=5']
Exploring Operation: 84*5=420, Resulting Numbers: [30, 420]
Generated Node #3: [30, 420] from Operation: 84*5=420
Current State: 14:[30, 420], Operations: ['34-29=5', '84*5=420']
Exploring Operation: 420/30=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[84, 34, 29, 30], Operations: []
Exploring Operation: 84-34=50, Resulting Numbers: [29, 30, 50]
Generated Node #0,0: 14:[29, 30, 50] Operation: 84-34=50
Moving to Node #0,0
Current State: 14:[29, 30, 50], Operations: ['84-34=50']
Exploring Operation: 50-30=20, Resulting Numbers: [29, 20]
Generated Node #0,0,0: 14:[29, 20] Operation: 50-30=20
Moving to Node #0,0,0
Current State: 14:[29, 20], Operations: ['84-34=50', '50-30=20']
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,14 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
5,
25,
17
] | 33 | [
"5-3=2",
"25*2=50",
"50-17=33"
] | Current State: 33:[3, 5, 25, 17], Operations: []
Exploring Operation: 5-3=2, Resulting Numbers: [25, 17, 2]
Generated Node #2: [25, 17, 2] from Operation: 5-3=2
Current State: 33:[25, 17, 2], Operations: ['5-3=2']
Exploring Operation: 25*2=50, Resulting Numbers: [17, 50]
Generated Node #3: [17, 50] from Operation: 25*2=50
Current State: 33:[17, 50], Operations: ['5-3=2', '25*2=50']
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[3, 5, 25, 17], Operations: []
Exploring Operation: 25/5=5, Resulting Numbers: [3, 17, 5]
Generated Node #0,0: 33:[3, 17, 5] Operation: 25/5=5
Exploring Operation: 25-17=8, Resulting Numbers: [3, 5, 8]
Generated Node #0,1: 33:[3, 5, 8] Operation: 25-17=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[3, 5, 8], Operations: ['25-17=8']
Exploring Operation: 3+8=11, Resulting Numbers: [5, 11]
Generated Node #0,1,0: 33:[5, 11] Operation: 3+8=11
Exploring Operation: 8-5=3, Resulting Numbers: [3, 3]
Generated Node #0,1,1: 33:[3, 3] Operation: 8-5=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 33:[3, 3], Operations: ['25-17=8', '8-5=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,33 unequal: No Solution
No 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: 33:[5, 11], Operations: ['25-17=8', '3+8=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,33 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: 33:[3, 17, 5], Operations: ['25/5=5']
Exploring Operation: 17-3=14, Resulting Numbers: [5, 14]
Generated Node #0,0,0: 33:[5, 14] Operation: 17-3=14
Exploring Operation: 17-5=12, Resulting Numbers: [3, 12]
Generated Node #0,0,1: 33:[3, 12] Operation: 17-5=12
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[3, 12], Operations: ['25/5=5', '17-5=12']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,33 unequal: No Solution
No 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: 33:[5, 14], Operations: ['25/5=5', '17-3=14']
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,33 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 |
[
6,
30,
1,
43
] | 39 | [
"30/6=5",
"1+43=44",
"44-5=39"
] | Current State: 39:[6, 30, 1, 43], Operations: []
Exploring Operation: 30/6=5, Resulting Numbers: [1, 43, 5]
Generated Node #2: [1, 43, 5] from Operation: 30/6=5
Current State: 39:[1, 43, 5], Operations: ['30/6=5']
Exploring Operation: 1+43=44, Resulting Numbers: [5, 44]
Generated Node #3: [5, 44] from Operation: 1+43=44
Current State: 39:[5, 44], Operations: ['30/6=5', '1+43=44']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[6, 30, 1, 43], Operations: []
Exploring Operation: 43-30=13, Resulting Numbers: [6, 1, 13]
Generated Node #0,0: 39:[6, 1, 13] Operation: 43-30=13
Exploring Operation: 30/6=5, Resulting Numbers: [1, 43, 5]
Generated Node #0,1: 39:[1, 43, 5] Operation: 30/6=5
Moving to Node #0,0
Current State: 39:[6, 1, 13], Operations: ['43-30=13']
Exploring Operation: 6*1=6, Resulting Numbers: [13, 6]
Generated Node #0,0,0: 39:[13, 6] Operation: 6*1=6
Exploring Operation: 6-1=5, Resulting Numbers: [13, 5]
Generated Node #0,0,1: 39:[13, 5] Operation: 6-1=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[13, 5], Operations: ['43-30=13', '6-1=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[13, 6], Operations: ['43-30=13', '6*1=6']
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,39 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,39 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: 39:[1, 43, 5], Operations: ['30/6=5']
Exploring Operation: 43-1=42, Resulting Numbers: [5, 42]
Generated Node #0,1,0: 39:[5, 42] Operation: 43-1=42
Exploring Operation: 43-5=38, Resulting Numbers: [1, 38]
Generated Node #0,1,1: 39:[1, 38] Operation: 43-5=38
Moving to Node #0,1,1
Current State: 39:[1, 38], Operations: ['30/6=5', '43-5=38']
Exploring Operation: 1+38=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[6, 30, 1, 43], Operations: []
Exploring Operation: 30/6=5, Resulting Numbers: [1, 43, 5]
Generated Node #0,1: 39:[1, 43, 5] Operation: 30/6=5
Moving to Node #0,1
Current State: 39:[1, 43, 5], Operations: ['30/6=5']
Exploring Operation: 43-5=38, Resulting Numbers: [1, 38]
Generated Node #0,1,1: 39:[1, 38] Operation: 43-5=38
Moving to Node #0,1,1
Current State: 39:[1, 38], Operations: ['30/6=5', '43-5=38']
Exploring Operation: 1+38=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
51,
24,
66,
54
] | 85 | [
"24+66=90",
"51*90=4590",
"4590/54=85"
] | Current State: 85:[51, 24, 66, 54], Operations: []
Exploring Operation: 24+66=90, Resulting Numbers: [51, 54, 90]
Generated Node #2: [51, 54, 90] from Operation: 24+66=90
Current State: 85:[51, 54, 90], Operations: ['24+66=90']
Exploring Operation: 51*90=4590, Resulting Numbers: [54, 4590]
Generated Node #3: [54, 4590] from Operation: 51*90=4590
Current State: 85:[54, 4590], Operations: ['24+66=90', '51*90=4590']
Exploring Operation: 4590/54=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[51, 24, 66, 54], Operations: []
Exploring Operation: 54-51=3, Resulting Numbers: [24, 66, 3]
Generated Node #0,0: 85:[24, 66, 3] Operation: 54-51=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[24, 66, 3], Operations: ['54-51=3']
Exploring Operation: 24+66=90, Resulting Numbers: [3, 90]
Generated Node #0,0,0: 85:[3, 90] Operation: 24+66=90
Moving to Node #0,0,0
Current State: 85:[3, 90], Operations: ['54-51=3', '24+66=90']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,85 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 |
[
21,
53,
15,
21
] | 80 | [
"21+53=74",
"21-15=6",
"74+6=80"
] | Current State: 80:[21, 53, 15, 21], Operations: []
Exploring Operation: 21+53=74, Resulting Numbers: [15, 74]
Generated Node #2: [15, 74] from Operation: 21+53=74
Current State: 80:[15, 74], Operations: ['21+53=74']
Exploring Operation: 21-15=6, Resulting Numbers: [74, 6]
Generated Node #3: [74, 6] from Operation: 21-15=6
Current State: 80:[74, 6], Operations: ['21+53=74', '21-15=6']
Exploring Operation: 74+6=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[21, 53, 15, 21], Operations: []
Exploring Operation: 53-15=38, Resulting Numbers: [21, 21, 38]
Generated Node #0,0: 80:[21, 21, 38] Operation: 53-15=38
Moving to Node #0,0
Current State: 80:[21, 21, 38], Operations: ['53-15=38']
Exploring Operation: 38-21=17, Resulting Numbers: [21, 17]
Generated Node #0,0,0: 80:[21, 17] Operation: 38-21=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[21, 17], Operations: ['53-15=38', '38-21=17']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,80 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 |
[
55,
95,
7,
90
] | 67 | [
"55+95=150",
"90-7=83",
"150-83=67"
] | Current State: 67:[55, 95, 7, 90], Operations: []
Exploring Operation: 55+95=150, Resulting Numbers: [7, 90, 150]
Generated Node #2: [7, 90, 150] from Operation: 55+95=150
Current State: 67:[7, 90, 150], Operations: ['55+95=150']
Exploring Operation: 90-7=83, Resulting Numbers: [150, 83]
Generated Node #3: [150, 83] from Operation: 90-7=83
Current State: 67:[150, 83], Operations: ['55+95=150', '90-7=83']
Exploring Operation: 150-83=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[55, 95, 7, 90], Operations: []
Exploring Operation: 95-7=88, Resulting Numbers: [55, 90, 88]
Generated Node #0,0: 67:[55, 90, 88] Operation: 95-7=88
Exploring Operation: 90-7=83, Resulting Numbers: [55, 95, 83]
Generated Node #0,1: 67:[55, 95, 83] Operation: 90-7=83
Exploring Operation: 55+7=62, Resulting Numbers: [95, 90, 62]
Generated Node #0,2: 67:[95, 90, 62] Operation: 55+7=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[55, 90, 88], Operations: ['95-7=88']
Exploring Operation: 90-55=35, Resulting Numbers: [88, 35]
Generated Node #0,0,0: 67:[88, 35] Operation: 90-55=35
Exploring Operation: 88-55=33, Resulting Numbers: [90, 33]
Generated Node #0,0,1: 67:[90, 33] Operation: 88-55=33
Exploring Operation: 90-88=2, Resulting Numbers: [55, 2]
Generated Node #0,0,2: 67:[55, 2] Operation: 90-88=2
Moving to Node #0,0,0
Current State: 67:[88, 35], Operations: ['95-7=88', '90-55=35']
Exploring Operation: 88+35=123, Resulting Numbers: [123]
123,67 unequal: No Solution
Exploring Operation: 88*35=3080, Resulting Numbers: [3080]
3080,67 unequal: No Solution
Exploring Operation: 88-35=53, Resulting Numbers: [53]
53,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[90, 33], Operations: ['95-7=88', '88-55=33']
Exploring Operation: 90+33=123, Resulting Numbers: [123]
123,67 unequal: No Solution
Exploring Operation: 90-33=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 90*33=2970, Resulting Numbers: [2970]
2970,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[55, 2], Operations: ['95-7=88', '90-88=2']
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,67 unequal: No Solution
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,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,1
Current State: 67:[55, 95, 83], Operations: ['90-7=83']
Exploring Operation: 95-83=12, Resulting Numbers: [55, 12]
Generated Node #0,1,0: 67:[55, 12] Operation: 95-83=12
Exploring Operation: 95-55=40, Resulting Numbers: [83, 40]
Generated Node #0,1,1: 67:[83, 40] Operation: 95-55=40
Exploring Operation: 83-55=28, Resulting Numbers: [95, 28]
Generated Node #0,1,2: 67:[95, 28] Operation: 83-55=28
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[83, 40], Operations: ['90-7=83', '95-55=40']
Exploring Operation: 83-40=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 83*40=3320, Resulting Numbers: [3320]
3320,67 unequal: No Solution
Exploring Operation: 83+40=123, Resulting Numbers: [123]
123,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:[55, 12], Operations: ['90-7=83', '95-83=12']
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[55, 95, 7, 90], Operations: []
Exploring Operation: 90-7=83, Resulting Numbers: [55, 95, 83]
Generated Node #0,1: 67:[55, 95, 83] Operation: 90-7=83
Moving to Node #0,1
Current State: 67:[55, 95, 83], Operations: ['90-7=83']
Exploring Operation: 95-83=12, Resulting Numbers: [55, 12]
Generated Node #0,1,0: 67:[55, 12] Operation: 95-83=12
Moving to Node #0,1,0
Current State: 67:[55, 12], Operations: ['90-7=83', '95-83=12']
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
61,
24,
36,
21
] | 52 | [
"61-24=37",
"36-21=15",
"37+15=52"
] | Current State: 52:[61, 24, 36, 21], Operations: []
Exploring Operation: 61-24=37, Resulting Numbers: [36, 21, 37]
Generated Node #2: [36, 21, 37] from Operation: 61-24=37
Current State: 52:[36, 21, 37], Operations: ['61-24=37']
Exploring Operation: 36-21=15, Resulting Numbers: [37, 15]
Generated Node #3: [37, 15] from Operation: 36-21=15
Current State: 52:[37, 15], Operations: ['61-24=37', '36-21=15']
Exploring Operation: 37+15=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[61, 24, 36, 21], Operations: []
Exploring Operation: 36-24=12, Resulting Numbers: [61, 21, 12]
Generated Node #0,0: 52:[61, 21, 12] Operation: 36-24=12
Exploring Operation: 36-21=15, Resulting Numbers: [61, 24, 15]
Generated Node #0,1: 52:[61, 24, 15] Operation: 36-21=15
Exploring Operation: 61-36=25, Resulting Numbers: [24, 21, 25]
Generated Node #0,2: 52:[24, 21, 25] Operation: 61-36=25
Moving to Node #0,2
Current State: 52:[24, 21, 25], Operations: ['61-36=25']
Exploring Operation: 25-24=1, Resulting Numbers: [21, 1]
Generated Node #0,2,0: 52:[21, 1] Operation: 25-24=1
Exploring Operation: 25-21=4, Resulting Numbers: [24, 4]
Generated Node #0,2,1: 52:[24, 4] Operation: 25-21=4
Exploring Operation: 24-21=3, Resulting Numbers: [25, 3]
Generated Node #0,2,2: 52:[25, 3] Operation: 24-21=3
Moving to Node #0,1
Current State: 52:[61, 24, 15], Operations: ['36-21=15']
Exploring Operation: 61-15=46, Resulting Numbers: [24, 46]
Generated Node #0,1,0: 52:[24, 46] Operation: 61-15=46
Exploring Operation: 24-15=9, Resulting Numbers: [61, 9]
Generated Node #0,1,1: 52:[61, 9] Operation: 24-15=9
Exploring Operation: 61-24=37, Resulting Numbers: [15, 37]
Generated Node #0,1,2: 52:[15, 37] Operation: 61-24=37
Moving to Node #0,0
Current State: 52:[61, 21, 12], Operations: ['36-24=12']
Exploring Operation: 61-12=49, Resulting Numbers: [21, 49]
Generated Node #0,0,0: 52:[21, 49] Operation: 61-12=49
Exploring Operation: 21-12=9, Resulting Numbers: [61, 9]
Generated Node #0,0,1: 52:[61, 9] Operation: 21-12=9
Exploring Operation: 61-21=40, Resulting Numbers: [12, 40]
Generated Node #0,0,2: 52:[12, 40] Operation: 61-21=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[21, 49], Operations: ['36-24=12', '61-12=49']
Exploring Operation: 21+49=70, Resulting Numbers: [70]
70,52 unequal: No Solution
Exploring Operation: 21*49=1029, Resulting Numbers: [1029]
1029,52 unequal: No Solution
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,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:[61, 9], Operations: ['36-24=12', '21-12=9']
Exploring Operation: 61*9=549, Resulting Numbers: [549]
549,52 unequal: No Solution
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[61, 24, 36, 21], Operations: []
Exploring Operation: 36-24=12, Resulting Numbers: [61, 21, 12]
Generated Node #0,0: 52:[61, 21, 12] Operation: 36-24=12
Moving to Node #0,0
Current State: 52:[61, 21, 12], Operations: ['36-24=12']
Exploring Operation: 21-12=9, Resulting Numbers: [61, 9]
Generated Node #0,0,1: 52:[61, 9] Operation: 21-12=9
Moving to Node #0,0,1
Current State: 52:[61, 9], Operations: ['36-24=12', '21-12=9']
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_3 | mult_heuristic |
[
12,
3,
1,
74
] | 35 | [
"12+1=13",
"3*13=39",
"74-39=35"
] | Current State: 35:[12, 3, 1, 74], Operations: []
Exploring Operation: 12+1=13, Resulting Numbers: [3, 74, 13]
Generated Node #2: [3, 74, 13] from Operation: 12+1=13
Current State: 35:[3, 74, 13], Operations: ['12+1=13']
Exploring Operation: 3*13=39, Resulting Numbers: [74, 39]
Generated Node #3: [74, 39] from Operation: 3*13=39
Current State: 35:[74, 39], Operations: ['12+1=13', '3*13=39']
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[12, 3, 1, 74], Operations: []
Exploring Operation: 12/3=4, Resulting Numbers: [1, 74, 4]
Generated Node #0,0: 35:[1, 74, 4] Operation: 12/3=4
Exploring Operation: 74-12=62, Resulting Numbers: [3, 1, 62]
Generated Node #0,1: 35:[3, 1, 62] Operation: 74-12=62
Exploring Operation: 12-1=11, Resulting Numbers: [3, 74, 11]
Generated Node #0,2: 35:[3, 74, 11] Operation: 12-1=11
Exploring Operation: 12*3=36, Resulting Numbers: [1, 74, 36]
Generated Node #0,3: 35:[1, 74, 36] Operation: 12*3=36
Exploring Operation: 12-3=9, Resulting Numbers: [1, 74, 9]
Generated Node #0,4: 35:[1, 74, 9] Operation: 12-3=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[3, 1, 62], Operations: ['74-12=62']
Exploring Operation: 62-3=59, Resulting Numbers: [1, 59]
Generated Node #0,1,0: 35:[1, 59] Operation: 62-3=59
Exploring Operation: 3+1=4, Resulting Numbers: [62, 4]
Generated Node #0,1,1: 35:[62, 4] Operation: 3+1=4
Exploring Operation: 3*1=3, Resulting Numbers: [62, 3]
Generated Node #0,1,2: 35:[62, 3] Operation: 3*1=3
Exploring Operation: 3/1=3, Resulting Numbers: [62, 3]
Generated Node #0,1,3: 35:[62, 3] Operation: 3/1=3
Exploring Operation: 62-1=61, Resulting Numbers: [3, 61]
Generated Node #0,1,4: 35:[3, 61] Operation: 62-1=61
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 35:[1, 59], Operations: ['74-12=62', '62-3=59']
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,35 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,35 unequal: No Solution
Exploring Operation: 1*59=59, Resulting Numbers: [59]
59,35 unequal: No Solution
Exploring Operation: 1+59=60, Resulting Numbers: [60]
60,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 35:[62, 4], Operations: ['74-12=62', '3+1=4']
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,35 unequal: No Solution
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,35 unequal: No Solution
Exploring Operation: 62*4=248, Resulting Numbers: [248]
248,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 35:[3, 61], Operations: ['74-12=62', '62-1=61']
Exploring Operation: 3+61=64, Resulting Numbers: [64]
64,35 unequal: No Solution
Exploring Operation: 3*61=183, Resulting Numbers: [183]
183,35 unequal: No Solution
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 35:[62, 3], Operations: ['74-12=62', '3*1=3']
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,35 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,35 unequal: No Solution
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 35:[62, 3], Operations: ['74-12=62', '3/1=3']
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,35 unequal: No Solution
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,35 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[1, 74, 4], Operations: ['12/3=4']
Exploring Operation: 74-4=70, Resulting Numbers: [1, 70]
Generated Node #0,0,0: 35:[1, 70] Operation: 74-4=70
Exploring Operation: 74/1=74, Resulting Numbers: [4, 74]
Generated Node #0,0,1: 35:[4, 74] Operation: 74/1=74
Exploring Operation: 1+4=5, Resulting Numbers: [74, 5]
Generated Node #0,0,2: 35:[74, 5] Operation: 1+4=5
Exploring Operation: 74-1=73, Resulting Numbers: [4, 73]
Generated Node #0,0,3: 35:[4, 73] Operation: 74-1=73
Exploring Operation: 1*74=74, Resulting Numbers: [4, 74]
Generated Node #0,0,4: 35:[4, 74] Operation: 1*74=74
Moving to Node #0,0,0
Current State: 35:[1, 70], Operations: ['12/3=4', '74-4=70']
Exploring Operation: 1+70=71, Resulting Numbers: [71]
71,35 unequal: No Solution
Exploring Operation: 1*70=70, Resulting Numbers: [70]
70,35 unequal: No Solution
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,35 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,35 unequal: No Solution
Moving to Node #0,0,3
Current State: 35:[4, 73], Operations: ['12/3=4', '74-1=73']
Exploring Operation: 4+73=77, Resulting Numbers: [77]
77,35 unequal: No Solution
Exploring Operation: 4*73=292, Resulting Numbers: [292]
292,35 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[74, 5], Operations: ['12/3=4', '1+4=5']
Exploring Operation: 74*5=370, Resulting Numbers: [370]
370,35 unequal: No Solution
Exploring Operation: 74+5=79, Resulting Numbers: [79]
79,35 unequal: No Solution
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[4, 74], Operations: ['12/3=4', '74/1=74']
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,35 unequal: No Solution
Exploring Operation: 4+74=78, Resulting Numbers: [78]
78,35 unequal: No Solution
Exploring Operation: 4*74=296, Resulting Numbers: [296]
296,35 unequal: No Solution
Moving to Node #0,0,4
Current State: 35:[4, 74], Operations: ['12/3=4', '1*74=74']
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,35 unequal: No Solution
Exploring Operation: 4*74=296, Resulting Numbers: [296]
296,35 unequal: No Solution
Exploring Operation: 4+74=78, Resulting Numbers: [78]
78,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[1, 74, 36], Operations: ['12*3=36']
Exploring Operation: 74/1=74, Resulting Numbers: [36, 74]
Generated Node #0,3,0: 35:[36, 74] Operation: 74/1=74
Exploring Operation: 74-36=38, Resulting Numbers: [1, 38]
Generated Node #0,3,1: 35:[1, 38] Operation: 74-36=38
Exploring Operation: 36-1=35, Resulting Numbers: [74, 35]
Generated Node #0,3,2: 35:[74, 35] Operation: 36-1=35
Exploring Operation: 74-1=73, Resulting Numbers: [36, 73]
Generated Node #0,3,3: 35:[36, 73] Operation: 74-1=73
Exploring Operation: 1*74=74, Resulting Numbers: [36, 74]
Generated Node #0,3,4: 35:[36, 74] Operation: 1*74=74
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 35:[1, 38], Operations: ['12*3=36', '74-36=38']
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 1+38=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 1*38=38, Resulting Numbers: [38]
38,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 35:[74, 35], Operations: ['12*3=36', '36-1=35']
Exploring Operation: 74*35=2590, Resulting Numbers: [2590]
2590,35 unequal: No Solution
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 74+35=109, Resulting Numbers: [109]
109,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 35:[36, 73], Operations: ['12*3=36', '74-1=73']
Exploring Operation: 36*73=2628, Resulting Numbers: [2628]
2628,35 unequal: No Solution
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 36+73=109, Resulting Numbers: [109]
109,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 35:[36, 74], Operations: ['12*3=36', '74/1=74']
Exploring Operation: 36+74=110, Resulting Numbers: [110]
110,35 unequal: No Solution
Exploring Operation: 36*74=2664, Resulting Numbers: [2664]
2664,35 unequal: No Solution
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 35:[36, 74], Operations: ['12*3=36', '1*74=74']
Exploring Operation: 36+74=110, Resulting Numbers: [110]
110,35 unequal: No Solution
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 36*74=2664, Resulting Numbers: [2664]
2664,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[3, 74, 11], Operations: ['12-1=11']
Exploring Operation: 3+74=77, Resulting Numbers: [11, 77]
Generated Node #0,2,0: 35:[11, 77] Operation: 3+74=77
Exploring Operation: 11-3=8, Resulting Numbers: [74, 8]
Generated Node #0,2,1: 35:[74, 8] Operation: 11-3=8
Exploring Operation: 74-11=63, Resulting Numbers: [3, 63]
Generated Node #0,2,2: 35:[3, 63] Operation: 74-11=63
Exploring Operation: 3*11=33, Resulting Numbers: [74, 33]
Generated Node #0,2,3: 35:[74, 33] Operation: 3*11=33
Exploring Operation: 74-3=71, Resulting Numbers: [11, 71]
Generated Node #0,2,4: 35:[11, 71] Operation: 74-3=71
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 35:[3, 63], Operations: ['12-1=11', '74-11=63']
Exploring Operation: 3+63=66, Resulting Numbers: [66]
66,35 unequal: No Solution
Exploring Operation: 3*63=189, Resulting Numbers: [189]
189,35 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 35:[74, 8], Operations: ['12-1=11', '11-3=8']
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,35 unequal: No Solution
Exploring Operation: 74*8=592, Resulting Numbers: [592]
592,35 unequal: No Solution
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 35:[11, 71], Operations: ['12-1=11', '74-3=71']
Exploring Operation: 11*71=781, Resulting Numbers: [781]
781,35 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 11+71=82, Resulting Numbers: [82]
82,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 35:[74, 33], Operations: ['12-1=11', '3*11=33']
Exploring Operation: 74+33=107, Resulting Numbers: [107]
107,35 unequal: No Solution
Exploring Operation: 74*33=2442, Resulting Numbers: [2442]
2442,35 unequal: No Solution
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 35:[11, 77], Operations: ['12-1=11', '3+74=77']
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,35 unequal: No Solution
Exploring Operation: 11+77=88, Resulting Numbers: [88]
88,35 unequal: No Solution
Exploring Operation: 77/11=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 11*77=847, Resulting Numbers: [847]
847,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 35:[1, 74, 9], Operations: ['12-3=9']
Exploring Operation: 74/1=74, Resulting Numbers: [9, 74]
Generated Node #0,4,0: 35:[9, 74] Operation: 74/1=74
Exploring Operation: 74-9=65, Resulting Numbers: [1, 65]
Generated Node #0,4,1: 35:[1, 65] Operation: 74-9=65
Exploring Operation: 74-1=73, Resulting Numbers: [9, 73]
Generated Node #0,4,2: 35:[9, 73] Operation: 74-1=73
Exploring Operation: 1*74=74, Resulting Numbers: [9, 74]
Generated Node #0,4,3: 35:[9, 74] Operation: 1*74=74
Exploring Operation: 9-1=8, Resulting Numbers: [74, 8]
Generated Node #0,4,4: 35:[74, 8] Operation: 9-1=8
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 35:[1, 65], Operations: ['12-3=9', '74-9=65']
Exploring Operation: 1*65=65, Resulting Numbers: [65]
65,35 unequal: No Solution
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,35 unequal: No Solution
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,35 unequal: No Solution
Exploring Operation: 1+65=66, Resulting Numbers: [66]
66,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 35:[9, 73], Operations: ['12-3=9', '74-1=73']
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,35 unequal: No Solution
Exploring Operation: 9+73=82, Resulting Numbers: [82]
82,35 unequal: No Solution
Exploring Operation: 9*73=657, Resulting Numbers: [657]
657,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 35:[74, 8], Operations: ['12-3=9', '9-1=8']
Exploring Operation: 74*8=592, Resulting Numbers: [592]
592,35 unequal: No Solution
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,35 unequal: No Solution
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 35:[9, 74], Operations: ['12-3=9', '74/1=74']
Exploring Operation: 9*74=666, Resulting Numbers: [666]
666,35 unequal: No Solution
Exploring Operation: 9+74=83, Resulting Numbers: [83]
83,35 unequal: No Solution
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 35:[9, 74], Operations: ['12-3=9', '1*74=74']
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,35 unequal: No Solution
Exploring Operation: 9+74=83, Resulting Numbers: [83]
83,35 unequal: No Solution
Exploring Operation: 9*74=666, Resulting Numbers: [666]
666,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
13,
19,
20,
38
] | 25 | [
"38-13=25",
"20-19=1",
"25*1=25"
] | Current State: 25:[13, 19, 20, 38], Operations: []
Exploring Operation: 38-13=25, Resulting Numbers: [19, 20, 25]
Generated Node #2: [19, 20, 25] from Operation: 38-13=25
Current State: 25:[19, 20, 25], Operations: ['38-13=25']
Exploring Operation: 20-19=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 20-19=1
Current State: 25:[25, 1], Operations: ['38-13=25', '20-19=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[13, 19, 20, 38], Operations: []
Exploring Operation: 38-13=25, Resulting Numbers: [19, 20, 25]
Generated Node #0,0: 25:[19, 20, 25] Operation: 38-13=25
Exploring Operation: 19-13=6, Resulting Numbers: [20, 38, 6]
Generated Node #0,1: 25:[20, 38, 6] Operation: 19-13=6
Exploring Operation: 38-19=19, Resulting Numbers: [13, 20, 19]
Generated Node #0,2: 25:[13, 20, 19] Operation: 38-19=19
Exploring Operation: 38/19=2, Resulting Numbers: [13, 20, 2]
Generated Node #0,3: 25:[13, 20, 2] Operation: 38/19=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[19, 20, 25], Operations: ['38-13=25']
Exploring Operation: 25-19=6, Resulting Numbers: [20, 6]
Generated Node #0,0,0: 25:[20, 6] Operation: 25-19=6
Exploring Operation: 20-19=1, Resulting Numbers: [25, 1]
Generated Node #0,0,1: 25:[25, 1] Operation: 20-19=1
Exploring Operation: 25-20=5, Resulting Numbers: [19, 5]
Generated Node #0,0,2: 25:[19, 5] Operation: 25-20=5
Exploring Operation: 19+20=39, Resulting Numbers: [25, 39]
Generated Node #0,0,3: 25:[25, 39] Operation: 19+20=39
Moving to Node #0,0,1
Current State: 25:[25, 1], Operations: ['38-13=25', '20-19=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[13, 19, 20, 38], Operations: []
Exploring Operation: 38-13=25, Resulting Numbers: [19, 20, 25]
Generated Node #0,0: 25:[19, 20, 25] Operation: 38-13=25
Moving to Node #0,0
Current State: 25:[19, 20, 25], Operations: ['38-13=25']
Exploring Operation: 20-19=1, Resulting Numbers: [25, 1]
Generated Node #0,0,1: 25:[25, 1] Operation: 20-19=1
Moving to Node #0,0,1
Current State: 25:[25, 1], Operations: ['38-13=25', '20-19=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
51,
81,
87,
34
] | 83 | [
"81-51=30",
"87-34=53",
"30+53=83"
] | Current State: 83:[51, 81, 87, 34], Operations: []
Exploring Operation: 81-51=30, Resulting Numbers: [87, 34, 30]
Generated Node #2: [87, 34, 30] from Operation: 81-51=30
Current State: 83:[87, 34, 30], Operations: ['81-51=30']
Exploring Operation: 87-34=53, Resulting Numbers: [30, 53]
Generated Node #3: [30, 53] from Operation: 87-34=53
Current State: 83:[30, 53], Operations: ['81-51=30', '87-34=53']
Exploring Operation: 30+53=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[51, 81, 87, 34], Operations: []
Exploring Operation: 81-34=47, Resulting Numbers: [51, 87, 47]
Generated Node #0,0: 83:[51, 87, 47] Operation: 81-34=47
Exploring Operation: 87-34=53, Resulting Numbers: [51, 81, 53]
Generated Node #0,1: 83:[51, 81, 53] Operation: 87-34=53
Exploring Operation: 51-34=17, Resulting Numbers: [81, 87, 17]
Generated Node #0,2: 83:[81, 87, 17] Operation: 51-34=17
Exploring Operation: 81+34=115, Resulting Numbers: [51, 87, 115]
Generated Node #0,3: 83:[51, 87, 115] Operation: 81+34=115
Exploring Operation: 51+34=85, Resulting Numbers: [81, 87, 85]
Generated Node #0,4: 83:[81, 87, 85] Operation: 51+34=85
Start Sub Search at level 1: Moving to Node #0,4
Current State: 83:[81, 87, 85], Operations: ['51+34=85']
Exploring Operation: 85-81=4, Resulting Numbers: [87, 4]
Generated Node #0,4,0: 83:[87, 4] Operation: 85-81=4
Exploring Operation: 87-85=2, Resulting Numbers: [81, 2]
Generated Node #0,4,1: 83:[81, 2] Operation: 87-85=2
Exploring Operation: 81+87=168, Resulting Numbers: [85, 168]
Generated Node #0,4,2: 83:[85, 168] Operation: 81+87=168
Exploring Operation: 87-81=6, Resulting Numbers: [85, 6]
Generated Node #0,4,3: 83:[85, 6] Operation: 87-81=6
Exploring Operation: 81+85=166, Resulting Numbers: [87, 166]
Generated Node #0,4,4: 83:[87, 166] Operation: 81+85=166
Moving to Node #0,4,3
Current State: 83:[85, 6], Operations: ['51+34=85', '87-81=6']
Exploring Operation: 85-6=79, Resulting Numbers: [79]
79,83 unequal: No Solution
Exploring Operation: 85*6=510, Resulting Numbers: [510]
510,83 unequal: No Solution
Exploring Operation: 85+6=91, Resulting Numbers: [91]
91,83 unequal: No Solution
Moving to Node #0,4,1
Current State: 83:[81, 2], Operations: ['51+34=85', '87-85=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[51, 81, 87, 34], Operations: []
Exploring Operation: 51+34=85, Resulting Numbers: [81, 87, 85]
Generated Node #0,4: 83:[81, 87, 85] Operation: 51+34=85
Moving to Node #0,4
Current State: 83:[81, 87, 85], Operations: ['51+34=85']
Exploring Operation: 87-85=2, Resulting Numbers: [81, 2]
Generated Node #0,4,1: 83:[81, 2] Operation: 87-85=2
Moving to Node #0,4,1
Current State: 83:[81, 2], Operations: ['51+34=85', '87-85=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
59,
58,
9,
50
] | 76 | [
"59+58=117",
"50-9=41",
"117-41=76"
] | Current State: 76:[59, 58, 9, 50], Operations: []
Exploring Operation: 59+58=117, Resulting Numbers: [9, 50, 117]
Generated Node #2: [9, 50, 117] from Operation: 59+58=117
Current State: 76:[9, 50, 117], Operations: ['59+58=117']
Exploring Operation: 50-9=41, Resulting Numbers: [117, 41]
Generated Node #3: [117, 41] from Operation: 50-9=41
Current State: 76:[117, 41], Operations: ['59+58=117', '50-9=41']
Exploring Operation: 117-41=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[59, 58, 9, 50], Operations: []
Exploring Operation: 59-50=9, Resulting Numbers: [58, 9, 9]
Generated Node #0,0: 76:[58, 9, 9] Operation: 59-50=9
Exploring Operation: 59-58=1, Resulting Numbers: [9, 50, 1]
Generated Node #0,1: 76:[9, 50, 1] Operation: 59-58=1
Exploring Operation: 58-50=8, Resulting Numbers: [59, 9, 8]
Generated Node #0,2: 76:[59, 9, 8] Operation: 58-50=8
Moving to Node #0,1
Current State: 76:[9, 50, 1], Operations: ['59-58=1']
Exploring Operation: 50-9=41, Resulting Numbers: [1, 41]
Generated Node #0,1,0: 76:[1, 41] Operation: 50-9=41
Exploring Operation: 9-1=8, Resulting Numbers: [50, 8]
Generated Node #0,1,1: 76:[50, 8] Operation: 9-1=8
Exploring Operation: 50-1=49, Resulting Numbers: [9, 49]
Generated Node #0,1,2: 76:[9, 49] Operation: 50-1=49
Moving to Node #0,2
Current State: 76:[59, 9, 8], Operations: ['58-50=8']
Exploring Operation: 59-9=50, Resulting Numbers: [8, 50]
Generated Node #0,2,0: 76:[8, 50] Operation: 59-9=50
Exploring Operation: 59+9=68, Resulting Numbers: [8, 68]
Generated Node #0,2,1: 76:[8, 68] Operation: 59+9=68
Exploring Operation: 59+8=67, Resulting Numbers: [9, 67]
Generated Node #0,2,2: 76:[9, 67] Operation: 59+8=67
Moving to Node #0,0
Current State: 76:[58, 9, 9], Operations: ['59-50=9']
Exploring Operation: 58-9=49, Resulting Numbers: [9, 49]
Generated Node #0,0,0: 76:[9, 49] Operation: 58-9=49
Exploring Operation: 58+9=67, Resulting Numbers: [9, 67]
Generated Node #0,0,1: 76:[9, 67] Operation: 58+9=67
Exploring Operation: 58+9=67, Resulting Numbers: [9, 67]
Generated Node #0,0,2: 76:[9, 67] Operation: 58+9=67
Moving to Node #0,1,0
Current State: 76:[1, 41], Operations: ['59-58=1', '50-9=41']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[8, 68], Operations: ['58-50=8', '59+9=68']
Exploring Operation: 68-8=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 8+68=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[59, 58, 9, 50], Operations: []
Exploring Operation: 58-50=8, Resulting Numbers: [59, 9, 8]
Generated Node #0,2: 76:[59, 9, 8] Operation: 58-50=8
Moving to Node #0,2
Current State: 76:[59, 9, 8], Operations: ['58-50=8']
Exploring Operation: 59+9=68, Resulting Numbers: [8, 68]
Generated Node #0,2,1: 76:[8, 68] Operation: 59+9=68
Moving to Node #0,2,1
Current State: 76:[8, 68], Operations: ['58-50=8', '59+9=68']
Exploring Operation: 8+68=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.981771 | hs_3 | mult_heuristic |
[
69,
8,
2,
39
] | 20 | [
"69-8=61",
"2+39=41",
"61-41=20"
] | Current State: 20:[69, 8, 2, 39], Operations: []
Exploring Operation: 69-8=61, Resulting Numbers: [2, 39, 61]
Generated Node #2: [2, 39, 61] from Operation: 69-8=61
Current State: 20:[2, 39, 61], Operations: ['69-8=61']
Exploring Operation: 2+39=41, Resulting Numbers: [61, 41]
Generated Node #3: [61, 41] from Operation: 2+39=41
Current State: 20:[61, 41], Operations: ['69-8=61', '2+39=41']
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[69, 8, 2, 39], Operations: []
Exploring Operation: 69-39=30, Resulting Numbers: [8, 2, 30]
Generated Node #0,0: 20:[8, 2, 30] Operation: 69-39=30
Exploring Operation: 39-8=31, Resulting Numbers: [69, 2, 31]
Generated Node #0,1: 20:[69, 2, 31] Operation: 39-8=31
Exploring Operation: 69-2=67, Resulting Numbers: [8, 39, 67]
Generated Node #0,2: 20:[8, 39, 67] Operation: 69-2=67
Exploring Operation: 8+2=10, Resulting Numbers: [69, 39, 10]
Generated Node #0,3: 20:[69, 39, 10] Operation: 8+2=10
Exploring Operation: 69-8=61, Resulting Numbers: [2, 39, 61]
Generated Node #0,4: 20:[2, 39, 61] Operation: 69-8=61
Moving to Node #0,0
Current State: 20:[8, 2, 30], Operations: ['69-39=30']
Exploring Operation: 30-2=28, Resulting Numbers: [8, 28]
Generated Node #0,0,0: 20:[8, 28] Operation: 30-2=28
Exploring Operation: 30-8=22, Resulting Numbers: [2, 22]
Generated Node #0,0,1: 20:[2, 22] Operation: 30-8=22
Exploring Operation: 8+2=10, Resulting Numbers: [30, 10]
Generated Node #0,0,2: 20:[30, 10] Operation: 8+2=10
Exploring Operation: 8/2=4, Resulting Numbers: [30, 4]
Generated Node #0,0,3: 20:[30, 4] Operation: 8/2=4
Exploring Operation: 30/2=15, Resulting Numbers: [8, 15]
Generated Node #0,0,4: 20:[8, 15] Operation: 30/2=15
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[2, 22], Operations: ['69-39=30', '30-8=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[69, 8, 2, 39], Operations: []
Exploring Operation: 69-39=30, Resulting Numbers: [8, 2, 30]
Generated Node #0,0: 20:[8, 2, 30] Operation: 69-39=30
Moving to Node #0,0
Current State: 20:[8, 2, 30], Operations: ['69-39=30']
Exploring Operation: 30-8=22, Resulting Numbers: [2, 22]
Generated Node #0,0,1: 20:[2, 22] Operation: 30-8=22
Moving to Node #0,0,1
Current State: 20:[2, 22], Operations: ['69-39=30', '30-8=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
73,
12,
25,
90
] | 86 | [
"73-25=48",
"48/12=4",
"90-4=86"
] | Current State: 86:[73, 12, 25, 90], Operations: []
Exploring Operation: 73-25=48, Resulting Numbers: [12, 90, 48]
Generated Node #2: [12, 90, 48] from Operation: 73-25=48
Current State: 86:[12, 90, 48], Operations: ['73-25=48']
Exploring Operation: 48/12=4, Resulting Numbers: [90, 4]
Generated Node #3: [90, 4] from Operation: 48/12=4
Current State: 86:[90, 4], Operations: ['73-25=48', '48/12=4']
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[73, 12, 25, 90], Operations: []
Exploring Operation: 25-12=13, Resulting Numbers: [73, 90, 13]
Generated Node #0,0: 86:[73, 90, 13] Operation: 25-12=13
Exploring Operation: 73+25=98, Resulting Numbers: [12, 90, 98]
Generated Node #0,1: 86:[12, 90, 98] Operation: 73+25=98
Exploring Operation: 12+25=37, Resulting Numbers: [73, 90, 37]
Generated Node #0,2: 86:[73, 90, 37] Operation: 12+25=37
Exploring Operation: 73+12=85, Resulting Numbers: [25, 90, 85]
Generated Node #0,3: 86:[25, 90, 85] Operation: 73+12=85
Exploring Operation: 73-25=48, Resulting Numbers: [12, 90, 48]
Generated Node #0,4: 86:[12, 90, 48] Operation: 73-25=48
Moving to Node #0,4
Current State: 86:[12, 90, 48], Operations: ['73-25=48']
Exploring Operation: 48-12=36, Resulting Numbers: [90, 36]
Generated Node #0,4,0: 86:[90, 36] Operation: 48-12=36
Exploring Operation: 12+90=102, Resulting Numbers: [48, 102]
Generated Node #0,4,1: 86:[48, 102] Operation: 12+90=102
Exploring Operation: 48/12=4, Resulting Numbers: [90, 4]
Generated Node #0,4,2: 86:[90, 4] Operation: 48/12=4
Exploring Operation: 90-12=78, Resulting Numbers: [48, 78]
Generated Node #0,4,3: 86:[48, 78] Operation: 90-12=78
Exploring Operation: 90-48=42, Resulting Numbers: [12, 42]
Generated Node #0,4,4: 86:[12, 42] Operation: 90-48=42
Moving to Node #0,3
Current State: 86:[25, 90, 85], Operations: ['73+12=85']
Exploring Operation: 25+85=110, Resulting Numbers: [90, 110]
Generated Node #0,3,0: 86:[90, 110] Operation: 25+85=110
Exploring Operation: 25+90=115, Resulting Numbers: [85, 115]
Generated Node #0,3,1: 86:[85, 115] Operation: 25+90=115
Exploring Operation: 90-85=5, Resulting Numbers: [25, 5]
Generated Node #0,3,2: 86:[25, 5] Operation: 90-85=5
Exploring Operation: 85-25=60, Resulting Numbers: [90, 60]
Generated Node #0,3,3: 86:[90, 60] Operation: 85-25=60
Exploring Operation: 90-25=65, Resulting Numbers: [85, 65]
Generated Node #0,3,4: 86:[85, 65] Operation: 90-25=65
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 86:[25, 5], Operations: ['73+12=85', '90-85=5']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,86 unequal: No Solution
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 86:[90, 60], Operations: ['73+12=85', '85-25=60']
Exploring Operation: 90*60=5400, Resulting Numbers: [5400]
5400,86 unequal: No Solution
Exploring Operation: 90+60=150, Resulting Numbers: [150]
150,86 unequal: No Solution
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 86:[85, 65], Operations: ['73+12=85', '90-25=65']
Exploring Operation: 85*65=5525, Resulting Numbers: [5525]
5525,86 unequal: No Solution
Exploring Operation: 85-65=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 85+65=150, Resulting Numbers: [150]
150,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 86:[90, 110], Operations: ['73+12=85', '25+85=110']
Exploring Operation: 110-90=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 90*110=9900, Resulting Numbers: [9900]
9900,86 unequal: No Solution
Exploring Operation: 90+110=200, Resulting Numbers: [200]
200,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 86:[85, 115], Operations: ['73+12=85', '25+90=115']
Exploring Operation: 115-85=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 85+115=200, Resulting Numbers: [200]
200,86 unequal: No Solution
Exploring Operation: 85*115=9775, Resulting Numbers: [9775]
9775,86 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: 86:[73, 90, 37], Operations: ['12+25=37']
Exploring Operation: 90-37=53, Resulting Numbers: [73, 53]
Generated Node #0,2,0: 86:[73, 53] Operation: 90-37=53
Exploring Operation: 73-37=36, Resulting Numbers: [90, 36]
Generated Node #0,2,1: 86:[90, 36] Operation: 73-37=36
Exploring Operation: 90-73=17, Resulting Numbers: [37, 17]
Generated Node #0,2,2: 86:[37, 17] Operation: 90-73=17
Exploring Operation: 90+37=127, Resulting Numbers: [73, 127]
Generated Node #0,2,3: 86:[73, 127] Operation: 90+37=127
Exploring Operation: 73+37=110, Resulting Numbers: [90, 110]
Generated Node #0,2,4: 86:[90, 110] Operation: 73+37=110
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[90, 36], Operations: ['12+25=37', '73-37=36']
Exploring Operation: 90+36=126, Resulting Numbers: [126]
126,86 unequal: No Solution
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,86 unequal: No Solution
Exploring Operation: 90*36=3240, Resulting Numbers: [3240]
3240,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[37, 17], Operations: ['12+25=37', '90-73=17']
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,86 unequal: No Solution
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[73, 53], Operations: ['12+25=37', '90-37=53']
Exploring Operation: 73*53=3869, Resulting Numbers: [3869]
3869,86 unequal: No Solution
Exploring Operation: 73-53=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 73+53=126, Resulting Numbers: [126]
126,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 86:[90, 110], Operations: ['12+25=37', '73+37=110']
Exploring Operation: 90*110=9900, Resulting Numbers: [9900]
9900,86 unequal: No Solution
Exploring Operation: 90+110=200, Resulting Numbers: [200]
200,86 unequal: No Solution
Exploring Operation: 110-90=20, Resulting Numbers: [20]
20,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 86:[73, 127], Operations: ['12+25=37', '90+37=127']
Exploring Operation: 73*127=9271, Resulting Numbers: [9271]
9271,86 unequal: No Solution
Exploring Operation: 73+127=200, Resulting Numbers: [200]
200,86 unequal: No Solution
Exploring Operation: 127-73=54, Resulting Numbers: [54]
54,86 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: 86:[12, 90, 98], Operations: ['73+25=98']
Exploring Operation: 90-12=78, Resulting Numbers: [98, 78]
Generated Node #0,1,0: 86:[98, 78] Operation: 90-12=78
Exploring Operation: 98-12=86, Resulting Numbers: [90, 86]
Generated Node #0,1,1: 86:[90, 86] Operation: 98-12=86
Exploring Operation: 12+98=110, Resulting Numbers: [90, 110]
Generated Node #0,1,2: 86:[90, 110] Operation: 12+98=110
Exploring Operation: 12+90=102, Resulting Numbers: [98, 102]
Generated Node #0,1,3: 86:[98, 102] Operation: 12+90=102
Exploring Operation: 98-90=8, Resulting Numbers: [12, 8]
Generated Node #0,1,4: 86:[12, 8] Operation: 98-90=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[90, 86], Operations: ['73+25=98', '98-12=86']
Exploring Operation: 90+86=176, Resulting Numbers: [176]
176,86 unequal: No Solution
Exploring Operation: 90-86=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 90*86=7740, Resulting Numbers: [7740]
7740,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 86:[12, 8], Operations: ['73+25=98', '98-90=8']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,86 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[98, 78], Operations: ['73+25=98', '90-12=78']
Exploring Operation: 98-78=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 98*78=7644, Resulting Numbers: [7644]
7644,86 unequal: No Solution
Exploring Operation: 98+78=176, Resulting Numbers: [176]
176,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[90, 110], Operations: ['73+25=98', '12+98=110']
Exploring Operation: 110-90=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 90*110=9900, Resulting Numbers: [9900]
9900,86 unequal: No Solution
Exploring Operation: 90+110=200, Resulting Numbers: [200]
200,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[98, 102], Operations: ['73+25=98', '12+90=102']
Exploring Operation: 98*102=9996, Resulting Numbers: [9996]
9996,86 unequal: No Solution
Exploring Operation: 102-98=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 98+102=200, Resulting Numbers: [200]
200,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 86:[73, 90, 13], Operations: ['25-12=13']
Exploring Operation: 90+13=103, Resulting Numbers: [73, 103]
Generated Node #0,0,0: 86:[73, 103] Operation: 90+13=103
Exploring Operation: 73+13=86, Resulting Numbers: [90, 86]
Generated Node #0,0,1: 86:[90, 86] Operation: 73+13=86
Exploring Operation: 90-73=17, Resulting Numbers: [13, 17]
Generated Node #0,0,2: 86:[13, 17] Operation: 90-73=17
Exploring Operation: 90-13=77, Resulting Numbers: [73, 77]
Generated Node #0,0,3: 86:[73, 77] Operation: 90-13=77
Exploring Operation: 73-13=60, Resulting Numbers: [90, 60]
Generated Node #0,0,4: 86:[90, 60] Operation: 73-13=60
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[90, 86], Operations: ['25-12=13', '73+13=86']
Exploring Operation: 90*86=7740, Resulting Numbers: [7740]
7740,86 unequal: No Solution
Exploring Operation: 90-86=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 90+86=176, Resulting Numbers: [176]
176,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 86:[90, 60], Operations: ['25-12=13', '73-13=60']
Exploring Operation: 90*60=5400, Resulting Numbers: [5400]
5400,86 unequal: No Solution
Exploring Operation: 90+60=150, Resulting Numbers: [150]
150,86 unequal: No Solution
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 86:[73, 77], Operations: ['25-12=13', '90-13=77']
Exploring Operation: 73*77=5621, Resulting Numbers: [5621]
5621,86 unequal: No Solution
Exploring Operation: 77-73=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 73+77=150, Resulting Numbers: [150]
150,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[13, 17], Operations: ['25-12=13', '90-73=17']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 13*17=221, Resulting Numbers: [221]
221,86 unequal: No Solution
Exploring Operation: 13+17=30, Resulting Numbers: [30]
30,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[73, 103], Operations: ['25-12=13', '90+13=103']
Exploring Operation: 73*103=7519, Resulting Numbers: [7519]
7519,86 unequal: No Solution
Exploring Operation: 103-73=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 73+103=176, Resulting Numbers: [176]
176,86 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: 86:[90, 4], Operations: ['73-25=48', '48/12=4']
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,86 unequal: No Solution
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[73, 12, 25, 90], Operations: []
Exploring Operation: 73-25=48, Resulting Numbers: [12, 90, 48]
Generated Node #0,4: 86:[12, 90, 48] Operation: 73-25=48
Moving to Node #0,4
Current State: 86:[12, 90, 48], Operations: ['73-25=48']
Exploring Operation: 48/12=4, Resulting Numbers: [90, 4]
Generated Node #0,4,2: 86:[90, 4] Operation: 48/12=4
Moving to Node #0,4,2
Current State: 86:[90, 4], Operations: ['73-25=48', '48/12=4']
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.915799 | hs_5 | mult_heuristic |
[
37,
91,
50,
36
] | 29 | [
"50-37=13",
"91/13=7",
"36-7=29"
] | Current State: 29:[37, 91, 50, 36], Operations: []
Exploring Operation: 50-37=13, Resulting Numbers: [91, 36, 13]
Generated Node #2: [91, 36, 13] from Operation: 50-37=13
Current State: 29:[91, 36, 13], Operations: ['50-37=13']
Exploring Operation: 91/13=7, Resulting Numbers: [36, 7]
Generated Node #3: [36, 7] from Operation: 91/13=7
Current State: 29:[36, 7], Operations: ['50-37=13', '91/13=7']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[37, 91, 50, 36], Operations: []
Exploring Operation: 91-50=41, Resulting Numbers: [37, 36, 41]
Generated Node #0,0: 29:[37, 36, 41] Operation: 91-50=41
Moving to Node #0,0
Current State: 29:[37, 36, 41], Operations: ['91-50=41']
Exploring Operation: 41-37=4, Resulting Numbers: [36, 4]
Generated Node #0,0,0: 29:[36, 4] Operation: 41-37=4
Moving to Node #0,0,0
Current State: 29:[36, 4], Operations: ['91-50=41', '41-37=4']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,29 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
64,
58,
6,
16
] | 82 | [
"64*6=384",
"384/16=24",
"58+24=82"
] | Current State: 82:[64, 58, 6, 16], Operations: []
Exploring Operation: 64*6=384, Resulting Numbers: [58, 16, 384]
Generated Node #2: [58, 16, 384] from Operation: 64*6=384
Current State: 82:[58, 16, 384], Operations: ['64*6=384']
Exploring Operation: 384/16=24, Resulting Numbers: [58, 24]
Generated Node #3: [58, 24] from Operation: 384/16=24
Current State: 82:[58, 24], Operations: ['64*6=384', '384/16=24']
Exploring Operation: 58+24=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[64, 58, 6, 16], Operations: []
Exploring Operation: 64-16=48, Resulting Numbers: [58, 6, 48]
Generated Node #0,0: 82:[58, 6, 48] Operation: 64-16=48
Exploring Operation: 64-58=6, Resulting Numbers: [6, 16, 6]
Generated Node #0,1: 82:[6, 16, 6] Operation: 64-58=6
Exploring Operation: 64/16=4, Resulting Numbers: [58, 6, 4]
Generated Node #0,2: 82:[58, 6, 4] Operation: 64/16=4
Exploring Operation: 58-16=42, Resulting Numbers: [64, 6, 42]
Generated Node #0,3: 82:[64, 6, 42] Operation: 58-16=42
Exploring Operation: 64+16=80, Resulting Numbers: [58, 6, 80]
Generated Node #0,4: 82:[58, 6, 80] Operation: 64+16=80
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[6, 16, 6], Operations: ['64-58=6']
Exploring Operation: 6*16=96, Resulting Numbers: [6, 96]
Generated Node #0,1,0: 82:[6, 96] Operation: 6*16=96
Exploring Operation: 6-6=0, Resulting Numbers: [16, 0]
Generated Node #0,1,1: 82:[16, 0] Operation: 6-6=0
Exploring Operation: 16-6=10, Resulting Numbers: [6, 10]
Generated Node #0,1,2: 82:[6, 10] Operation: 16-6=10
Exploring Operation: 16-6=10, Resulting Numbers: [6, 10]
Generated Node #0,1,3: 82:[6, 10] Operation: 16-6=10
Exploring Operation: 6/6=1, Resulting Numbers: [16, 1]
Generated Node #0,1,4: 82:[16, 1] Operation: 6/6=1
Moving to Node #0,1,2
Current State: 82:[6, 10], Operations: ['64-58=6', '16-6=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,82 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Moving to Node #0,1,3
Current State: 82:[6, 10], Operations: ['64-58=6', '16-6=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,82 unequal: No Solution
Moving to Node #0,1,4
Current State: 82:[16, 1], Operations: ['64-58=6', '6/6=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[16, 0], Operations: ['64-58=6', '6-6=0']
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 16*0=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[6, 96], Operations: ['64-58=6', '6*16=96']
Exploring Operation: 6*96=576, Resulting Numbers: [576]
576,82 unequal: No Solution
Exploring Operation: 6+96=102, Resulting Numbers: [102]
102,82 unequal: No Solution
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,82 unequal: No Solution
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[58, 6, 4], Operations: ['64/16=4']
Exploring Operation: 58-6=52, Resulting Numbers: [4, 52]
Generated Node #0,2,0: 82:[4, 52] Operation: 58-6=52
Exploring Operation: 6-4=2, Resulting Numbers: [58, 2]
Generated Node #0,2,1: 82:[58, 2] Operation: 6-4=2
Exploring Operation: 58+4=62, Resulting Numbers: [6, 62]
Generated Node #0,2,2: 82:[6, 62] Operation: 58+4=62
Exploring Operation: 58-4=54, Resulting Numbers: [6, 54]
Generated Node #0,2,3: 82:[6, 54] Operation: 58-4=54
Exploring Operation: 58+6=64, Resulting Numbers: [4, 64]
Generated Node #0,2,4: 82:[4, 64] Operation: 58+6=64
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[4, 52], Operations: ['64/16=4', '58-6=52']
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,82 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,82 unequal: No Solution
Exploring Operation: 4*52=208, Resulting Numbers: [208]
208,82 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 82:[58, 2], Operations: ['64/16=4', '6-4=2']
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,82 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,82 unequal: No Solution
Exploring Operation: 58*2=116, Resulting Numbers: [116]
116,82 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 82:[6, 54], Operations: ['64/16=4', '58-4=54']
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,82 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,82 unequal: No Solution
Exploring Operation: 6*54=324, Resulting Numbers: [324]
324,82 unequal: No Solution
Exploring Operation: 6+54=60, Resulting Numbers: [60]
60,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 82:[4, 64], Operations: ['64/16=4', '58+6=64']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,82 unequal: No Solution
Exploring Operation: 4*64=256, Resulting Numbers: [256]
256,82 unequal: No Solution
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,82 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 82:[6, 62], Operations: ['64/16=4', '58+4=62']
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,82 unequal: No Solution
Exploring Operation: 6+62=68, Resulting Numbers: [68]
68,82 unequal: No Solution
Exploring Operation: 6*62=372, Resulting Numbers: [372]
372,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 82:[64, 6, 42], Operations: ['58-16=42']
Exploring Operation: 42-6=36, Resulting Numbers: [64, 36]
Generated Node #0,3,0: 82:[64, 36] Operation: 42-6=36
Exploring Operation: 64+6=70, Resulting Numbers: [42, 70]
Generated Node #0,3,1: 82:[42, 70] Operation: 64+6=70
Exploring Operation: 64-42=22, Resulting Numbers: [6, 22]
Generated Node #0,3,2: 82:[6, 22] Operation: 64-42=22
Exploring Operation: 42/6=7, Resulting Numbers: [64, 7]
Generated Node #0,3,3: 82:[64, 7] Operation: 42/6=7
Exploring Operation: 64-6=58, Resulting Numbers: [42, 58]
Generated Node #0,3,4: 82:[42, 58] Operation: 64-6=58
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 82:[42, 70], Operations: ['58-16=42', '64+6=70']
Exploring Operation: 42+70=112, Resulting Numbers: [112]
112,82 unequal: No Solution
Exploring Operation: 42*70=2940, Resulting Numbers: [2940]
2940,82 unequal: No Solution
Exploring Operation: 70-42=28, Resulting Numbers: [28]
28,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 82:[42, 58], Operations: ['58-16=42', '64-6=58']
Exploring Operation: 42+58=100, Resulting Numbers: [100]
100,82 unequal: No Solution
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 42*58=2436, Resulting Numbers: [2436]
2436,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 82:[64, 36], Operations: ['58-16=42', '42-6=36']
Exploring Operation: 64+36=100, Resulting Numbers: [100]
100,82 unequal: No Solution
Exploring Operation: 64*36=2304, Resulting Numbers: [2304]
2304,82 unequal: No Solution
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 82:[6, 22], Operations: ['58-16=42', '64-42=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,82 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 82:[64, 7], Operations: ['58-16=42', '42/6=7']
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,82 unequal: No Solution
Exploring Operation: 64*7=448, Resulting Numbers: [448]
448,82 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 82:[58, 6, 80], Operations: ['64+16=80']
Exploring Operation: 80-6=74, Resulting Numbers: [58, 74]
Generated Node #0,4,0: 82:[58, 74] Operation: 80-6=74
Exploring Operation: 80-58=22, Resulting Numbers: [6, 22]
Generated Node #0,4,1: 82:[6, 22] Operation: 80-58=22
Exploring Operation: 58-6=52, Resulting Numbers: [80, 52]
Generated Node #0,4,2: 82:[80, 52] Operation: 58-6=52
Exploring Operation: 58+6=64, Resulting Numbers: [80, 64]
Generated Node #0,4,3: 82:[80, 64] Operation: 58+6=64
Exploring Operation: 6+80=86, Resulting Numbers: [58, 86]
Generated Node #0,4,4: 82:[58, 86] Operation: 6+80=86
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 82:[80, 52], Operations: ['64+16=80', '58-6=52']
Exploring Operation: 80+52=132, Resulting Numbers: [132]
132,82 unequal: No Solution
Exploring Operation: 80*52=4160, Resulting Numbers: [4160]
4160,82 unequal: No Solution
Exploring Operation: 80-52=28, Resulting Numbers: [28]
28,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 82:[80, 64], Operations: ['64+16=80', '58+6=64']
Exploring Operation: 80-64=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 80+64=144, Resulting Numbers: [144]
144,82 unequal: No Solution
Exploring Operation: 80*64=5120, Resulting Numbers: [5120]
5120,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 82:[58, 86], Operations: ['64+16=80', '6+80=86']
Exploring Operation: 58*86=4988, Resulting Numbers: [4988]
4988,82 unequal: No Solution
Exploring Operation: 86-58=28, Resulting Numbers: [28]
28,82 unequal: No Solution
Exploring Operation: 58+86=144, Resulting Numbers: [144]
144,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 82:[6, 22], Operations: ['64+16=80', '80-58=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,82 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 82:[58, 74], Operations: ['64+16=80', '80-6=74']
Exploring Operation: 58+74=132, Resulting Numbers: [132]
132,82 unequal: No Solution
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 58*74=4292, Resulting Numbers: [4292]
4292,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[58, 6, 48], Operations: ['64-16=48']
Exploring Operation: 58-6=52, Resulting Numbers: [48, 52]
Generated Node #0,0,0: 82:[48, 52] Operation: 58-6=52
Exploring Operation: 58+6=64, Resulting Numbers: [48, 64]
Generated Node #0,0,1: 82:[48, 64] Operation: 58+6=64
Exploring Operation: 48/6=8, Resulting Numbers: [58, 8]
Generated Node #0,0,2: 82:[58, 8] Operation: 48/6=8
Exploring Operation: 48-6=42, Resulting Numbers: [58, 42]
Generated Node #0,0,3: 82:[58, 42] Operation: 48-6=42
Exploring Operation: 58-48=10, Resulting Numbers: [6, 10]
Generated Node #0,0,4: 82:[6, 10] Operation: 58-48=10
Moving to Node #0,0,4
Current State: 82:[6, 10], Operations: ['64-16=48', '58-48=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,82 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Moving to Node #0,0,3
Current State: 82:[58, 42], Operations: ['64-16=48', '48-6=42']
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 58+42=100, Resulting Numbers: [100]
100,82 unequal: No Solution
Exploring Operation: 58*42=2436, Resulting Numbers: [2436]
2436,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[48, 52], Operations: ['64-16=48', '58-6=52']
Exploring Operation: 48*52=2496, Resulting Numbers: [2496]
2496,82 unequal: No Solution
Exploring Operation: 48+52=100, Resulting Numbers: [100]
100,82 unequal: No Solution
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[58, 8], Operations: ['64-16=48', '48/6=8']
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 58*8=464, Resulting Numbers: [464]
464,82 unequal: No Solution
Exploring Operation: 58+8=66, Resulting Numbers: [66]
66,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[48, 64], Operations: ['64-16=48', '58+6=64']
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 48*64=3072, Resulting Numbers: [3072]
3072,82 unequal: No Solution
Exploring Operation: 48+64=112, Resulting Numbers: [112]
112,82 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 |
[
2,
99,
21,
58
] | 10 | [
"99-21=78",
"78-58=20",
"20/2=10"
] | Current State: 10:[2, 99, 21, 58], Operations: []
Exploring Operation: 99-21=78, Resulting Numbers: [2, 58, 78]
Generated Node #2: [2, 58, 78] from Operation: 99-21=78
Current State: 10:[2, 58, 78], Operations: ['99-21=78']
Exploring Operation: 78-58=20, Resulting Numbers: [2, 20]
Generated Node #3: [2, 20] from Operation: 78-58=20
Current State: 10:[2, 20], Operations: ['99-21=78', '78-58=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[2, 99, 21, 58], Operations: []
Exploring Operation: 99-21=78, Resulting Numbers: [2, 58, 78]
Generated Node #0,0: 10:[2, 58, 78] Operation: 99-21=78
Exploring Operation: 99-58=41, Resulting Numbers: [2, 21, 41]
Generated Node #0,1: 10:[2, 21, 41] Operation: 99-58=41
Exploring Operation: 58-21=37, Resulting Numbers: [2, 99, 37]
Generated Node #0,2: 10:[2, 99, 37] Operation: 58-21=37
Moving to Node #0,1
Current State: 10:[2, 21, 41], Operations: ['99-58=41']
Exploring Operation: 21-2=19, Resulting Numbers: [41, 19]
Generated Node #0,1,0: 10:[41, 19] Operation: 21-2=19
Exploring Operation: 41-21=20, Resulting Numbers: [2, 20]
Generated Node #0,1,1: 10:[2, 20] Operation: 41-21=20
Exploring Operation: 41-2=39, Resulting Numbers: [21, 39]
Generated Node #0,1,2: 10:[21, 39] Operation: 41-2=39
Moving to Node #0,0
Current State: 10:[2, 58, 78], Operations: ['99-21=78']
Exploring Operation: 78-58=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 10:[2, 20] Operation: 78-58=20
Exploring Operation: 78/2=39, Resulting Numbers: [58, 39]
Generated Node #0,0,1: 10:[58, 39] Operation: 78/2=39
Exploring Operation: 58/2=29, Resulting Numbers: [78, 29]
Generated Node #0,0,2: 10:[78, 29] Operation: 58/2=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[2, 20], Operations: ['99-21=78', '78-58=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,10 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[2, 99, 21, 58], Operations: []
Exploring Operation: 99-21=78, Resulting Numbers: [2, 58, 78]
Generated Node #0,0: 10:[2, 58, 78] Operation: 99-21=78
Moving to Node #0,0
Current State: 10:[2, 58, 78], Operations: ['99-21=78']
Exploring Operation: 78-58=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 10:[2, 20] Operation: 78-58=20
Moving to Node #0,0,0
Current State: 10:[2, 20], Operations: ['99-21=78', '78-58=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
83,
60,
56,
20
] | 85 | [
"60*56=3360",
"3360/20=168",
"168-83=85"
] | Current State: 85:[83, 60, 56, 20], Operations: []
Exploring Operation: 60*56=3360, Resulting Numbers: [83, 20, 3360]
Generated Node #2: [83, 20, 3360] from Operation: 60*56=3360
Current State: 85:[83, 20, 3360], Operations: ['60*56=3360']
Exploring Operation: 3360/20=168, Resulting Numbers: [83, 168]
Generated Node #3: [83, 168] from Operation: 3360/20=168
Current State: 85:[83, 168], Operations: ['60*56=3360', '3360/20=168']
Exploring Operation: 168-83=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[83, 60, 56, 20], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [83, 20, 4]
Generated Node #0,0: 85:[83, 20, 4] Operation: 60-56=4
Moving to Node #0,0
Current State: 85:[83, 20, 4], Operations: ['60-56=4']
Exploring Operation: 20/4=5, Resulting Numbers: [83, 5]
Generated Node #0,0,0: 85:[83, 5] Operation: 20/4=5
Moving to Node #0,0,0
Current State: 85:[83, 5], Operations: ['60-56=4', '20/4=5']
Exploring Operation: 83+5=88, Resulting Numbers: [88]
88,85 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
49,
56,
74,
53
] | 75 | [
"74-49=25",
"56-53=3",
"25*3=75"
] | Current State: 75:[49, 56, 74, 53], Operations: []
Exploring Operation: 74-49=25, Resulting Numbers: [56, 53, 25]
Generated Node #2: [56, 53, 25] from Operation: 74-49=25
Current State: 75:[56, 53, 25], Operations: ['74-49=25']
Exploring Operation: 56-53=3, Resulting Numbers: [25, 3]
Generated Node #3: [25, 3] from Operation: 56-53=3
Current State: 75:[25, 3], Operations: ['74-49=25', '56-53=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[49, 56, 74, 53], Operations: []
Exploring Operation: 53-49=4, Resulting Numbers: [56, 74, 4]
Generated Node #0,0: 75:[56, 74, 4] Operation: 53-49=4
Exploring Operation: 56-49=7, Resulting Numbers: [74, 53, 7]
Generated Node #0,1: 75:[74, 53, 7] Operation: 56-49=7
Moving to Node #0,0
Current State: 75:[56, 74, 4], Operations: ['53-49=4']
Exploring Operation: 74-56=18, Resulting Numbers: [4, 18]
Generated Node #0,0,0: 75:[4, 18] Operation: 74-56=18
Exploring Operation: 56/4=14, Resulting Numbers: [74, 14]
Generated Node #0,0,1: 75:[74, 14] Operation: 56/4=14
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[74, 14], Operations: ['53-49=4', '56/4=14']
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 74+14=88, Resulting Numbers: [88]
88,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[4, 18], Operations: ['53-49=4', '74-56=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 75:[74, 53, 7], Operations: ['56-49=7']
Exploring Operation: 53+7=60, Resulting Numbers: [74, 60]
Generated Node #0,1,0: 75:[74, 60] Operation: 53+7=60
Exploring Operation: 74-53=21, Resulting Numbers: [7, 21]
Generated Node #0,1,1: 75:[7, 21] Operation: 74-53=21
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[7, 21], Operations: ['56-49=7', '74-53=21']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[74, 60], Operations: ['56-49=7', '53+7=60']
Exploring Operation: 74-60=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 74+60=134, Resulting Numbers: [134]
134,75 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 |
[
29,
53,
76,
21
] | 73 | [
"53-29=24",
"76+21=97",
"97-24=73"
] | Current State: 73:[29, 53, 76, 21], Operations: []
Exploring Operation: 53-29=24, Resulting Numbers: [76, 21, 24]
Generated Node #2: [76, 21, 24] from Operation: 53-29=24
Current State: 73:[76, 21, 24], Operations: ['53-29=24']
Exploring Operation: 76+21=97, Resulting Numbers: [24, 97]
Generated Node #3: [24, 97] from Operation: 76+21=97
Current State: 73:[24, 97], Operations: ['53-29=24', '76+21=97']
Exploring Operation: 97-24=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[29, 53, 76, 21], Operations: []
Exploring Operation: 29-21=8, Resulting Numbers: [53, 76, 8]
Generated Node #0,0: 73:[53, 76, 8] Operation: 29-21=8
Exploring Operation: 29+53=82, Resulting Numbers: [76, 21, 82]
Generated Node #0,1: 73:[76, 21, 82] Operation: 29+53=82
Exploring Operation: 53+21=74, Resulting Numbers: [29, 76, 74]
Generated Node #0,2: 73:[29, 76, 74] Operation: 53+21=74
Exploring Operation: 29+21=50, Resulting Numbers: [53, 76, 50]
Generated Node #0,3: 73:[53, 76, 50] Operation: 29+21=50
Exploring Operation: 76-21=55, Resulting Numbers: [29, 53, 55]
Generated Node #0,4: 73:[29, 53, 55] Operation: 76-21=55
Moving to Node #0,3
Current State: 73:[53, 76, 50], Operations: ['29+21=50']
Exploring Operation: 53-50=3, Resulting Numbers: [76, 3]
Generated Node #0,3,0: 73:[76, 3] Operation: 53-50=3
Exploring Operation: 76-50=26, Resulting Numbers: [53, 26]
Generated Node #0,3,1: 73:[53, 26] Operation: 76-50=26
Exploring Operation: 76-53=23, Resulting Numbers: [50, 23]
Generated Node #0,3,2: 73:[50, 23] Operation: 76-53=23
Exploring Operation: 76+50=126, Resulting Numbers: [53, 126]
Generated Node #0,3,3: 73:[53, 126] Operation: 76+50=126
Exploring Operation: 53+50=103, Resulting Numbers: [76, 103]
Generated Node #0,3,4: 73:[76, 103] Operation: 53+50=103
Moving to Node #0,2
Current State: 73:[29, 76, 74], Operations: ['53+21=74']
Exploring Operation: 74-29=45, Resulting Numbers: [76, 45]
Generated Node #0,2,0: 73:[76, 45] Operation: 74-29=45
Exploring Operation: 76-29=47, Resulting Numbers: [74, 47]
Generated Node #0,2,1: 73:[74, 47] Operation: 76-29=47
Exploring Operation: 29+74=103, Resulting Numbers: [76, 103]
Generated Node #0,2,2: 73:[76, 103] Operation: 29+74=103
Exploring Operation: 29+76=105, Resulting Numbers: [74, 105]
Generated Node #0,2,3: 73:[74, 105] Operation: 29+76=105
Exploring Operation: 76-74=2, Resulting Numbers: [29, 2]
Generated Node #0,2,4: 73:[29, 2] Operation: 76-74=2
Moving to Node #0,1
Current State: 73:[76, 21, 82], Operations: ['29+53=82']
Exploring Operation: 76-21=55, Resulting Numbers: [82, 55]
Generated Node #0,1,0: 73:[82, 55] Operation: 76-21=55
Exploring Operation: 82-21=61, Resulting Numbers: [76, 61]
Generated Node #0,1,1: 73:[76, 61] Operation: 82-21=61
Exploring Operation: 82-76=6, Resulting Numbers: [21, 6]
Generated Node #0,1,2: 73:[21, 6] Operation: 82-76=6
Exploring Operation: 21+82=103, Resulting Numbers: [76, 103]
Generated Node #0,1,3: 73:[76, 103] Operation: 21+82=103
Exploring Operation: 76+21=97, Resulting Numbers: [82, 97]
Generated Node #0,1,4: 73:[82, 97] Operation: 76+21=97
Moving to Node #0,4
Current State: 73:[29, 53, 55], Operations: ['76-21=55']
Exploring Operation: 55-29=26, Resulting Numbers: [53, 26]
Generated Node #0,4,0: 73:[53, 26] Operation: 55-29=26
Exploring Operation: 29+55=84, Resulting Numbers: [53, 84]
Generated Node #0,4,1: 73:[53, 84] Operation: 29+55=84
Exploring Operation: 29+53=82, Resulting Numbers: [55, 82]
Generated Node #0,4,2: 73:[55, 82] Operation: 29+53=82
Exploring Operation: 53-29=24, Resulting Numbers: [55, 24]
Generated Node #0,4,3: 73:[55, 24] Operation: 53-29=24
Exploring Operation: 53+55=108, Resulting Numbers: [29, 108]
Generated Node #0,4,4: 73:[29, 108] Operation: 53+55=108
Moving to Node #0,0
Current State: 73:[53, 76, 8], Operations: ['29-21=8']
Exploring Operation: 53+8=61, Resulting Numbers: [76, 61]
Generated Node #0,0,0: 73:[76, 61] Operation: 53+8=61
Exploring Operation: 76-8=68, Resulting Numbers: [53, 68]
Generated Node #0,0,1: 73:[53, 68] Operation: 76-8=68
Exploring Operation: 53-8=45, Resulting Numbers: [76, 45]
Generated Node #0,0,2: 73:[76, 45] Operation: 53-8=45
Exploring Operation: 76+8=84, Resulting Numbers: [53, 84]
Generated Node #0,0,3: 73:[53, 84] Operation: 76+8=84
Exploring Operation: 76-53=23, Resulting Numbers: [8, 23]
Generated Node #0,0,4: 73:[8, 23] Operation: 76-53=23
Moving to Node #0,1,1
Current State: 73:[76, 61], Operations: ['29+53=82', '82-21=61']
Exploring Operation: 76-61=15, Resulting Numbers: [15]
15,73 unequal: No Solution
Exploring Operation: 76+61=137, Resulting Numbers: [137]
137,73 unequal: No Solution
Exploring Operation: 76*61=4636, Resulting Numbers: [4636]
4636,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[76, 61], Operations: ['29-21=8', '53+8=61']
Exploring Operation: 76-61=15, Resulting Numbers: [15]
15,73 unequal: No Solution
Exploring Operation: 76*61=4636, Resulting Numbers: [4636]
4636,73 unequal: No Solution
Exploring Operation: 76+61=137, Resulting Numbers: [137]
137,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[53, 68], Operations: ['29-21=8', '76-8=68']
Exploring Operation: 53*68=3604, Resulting Numbers: [3604]
3604,73 unequal: No Solution
Exploring Operation: 68-53=15, Resulting Numbers: [15]
15,73 unequal: No Solution
Exploring Operation: 53+68=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[82, 55], Operations: ['29+53=82', '76-21=55']
Exploring Operation: 82-55=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 82+55=137, Resulting Numbers: [137]
137,73 unequal: No Solution
Exploring Operation: 82*55=4510, Resulting Numbers: [4510]
4510,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[74, 47], Operations: ['53+21=74', '76-29=47']
Exploring Operation: 74*47=3478, Resulting Numbers: [3478]
3478,73 unequal: No Solution
Exploring Operation: 74+47=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 74-47=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Moving to Node #0,4,2
Current State: 73:[55, 82], Operations: ['76-21=55', '29+53=82']
Exploring Operation: 82-55=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 55+82=137, Resulting Numbers: [137]
137,73 unequal: No Solution
Exploring Operation: 55*82=4510, Resulting Numbers: [4510]
4510,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[76, 45], Operations: ['53+21=74', '74-29=45']
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 76*45=3420, Resulting Numbers: [3420]
3420,73 unequal: No Solution
Exploring Operation: 76+45=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[53, 84], Operations: ['29-21=8', '76+8=84']
Exploring Operation: 53*84=4452, Resulting Numbers: [4452]
4452,73 unequal: No Solution
Exploring Operation: 53+84=137, Resulting Numbers: [137]
137,73 unequal: No Solution
Exploring Operation: 84-53=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[76, 45], Operations: ['29-21=8', '53-8=45']
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 76+45=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 76*45=3420, Resulting Numbers: [3420]
3420,73 unequal: No Solution
Moving to Node #0,4,1
Current State: 73:[53, 84], Operations: ['76-21=55', '29+55=84']
Exploring Operation: 53*84=4452, Resulting Numbers: [4452]
4452,73 unequal: No Solution
Exploring Operation: 84-53=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 53+84=137, Resulting Numbers: [137]
137,73 unequal: No Solution
Moving to Node #0,3,4
Current State: 73:[76, 103], Operations: ['29+21=50', '53+50=103']
Exploring Operation: 76+103=179, Resulting Numbers: [179]
179,73 unequal: No Solution
Exploring Operation: 103-76=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 76*103=7828, Resulting Numbers: [7828]
7828,73 unequal: No Solution
Moving to Node #0,1,4
Current State: 73:[82, 97], Operations: ['29+53=82', '76+21=97']
Exploring Operation: 82+97=179, Resulting Numbers: [179]
179,73 unequal: No Solution
Exploring Operation: 97-82=15, Resulting Numbers: [15]
15,73 unequal: No Solution
Exploring Operation: 82*97=7954, Resulting Numbers: [7954]
7954,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[76, 103], Operations: ['29+53=82', '21+82=103']
Exploring Operation: 103-76=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 76+103=179, Resulting Numbers: [179]
179,73 unequal: No Solution
Exploring Operation: 76*103=7828, Resulting Numbers: [7828]
7828,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[76, 103], Operations: ['53+21=74', '29+74=103']
Exploring Operation: 76*103=7828, Resulting Numbers: [7828]
7828,73 unequal: No Solution
Exploring Operation: 103-76=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 76+103=179, Resulting Numbers: [179]
179,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[74, 105], Operations: ['53+21=74', '29+76=105']
Exploring Operation: 74+105=179, Resulting Numbers: [179]
179,73 unequal: No Solution
Exploring Operation: 105-74=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 74*105=7770, Resulting Numbers: [7770]
7770,73 unequal: No Solution
Moving to Node #0,4,3
Current State: 73:[55, 24], Operations: ['76-21=55', '53-29=24']
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 55+24=79, Resulting Numbers: [79]
79,73 unequal: No Solution
Exploring Operation: 55*24=1320, Resulting Numbers: [1320]
1320,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[53, 26], Operations: ['29+21=50', '76-50=26']
Exploring Operation: 53*26=1378, Resulting Numbers: [1378]
1378,73 unequal: No Solution
Exploring Operation: 53+26=79, Resulting Numbers: [79]
79,73 unequal: No Solution
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Moving to Node #0,4,0
Current State: 73:[53, 26], Operations: ['76-21=55', '55-29=26']
Exploring Operation: 53*26=1378, Resulting Numbers: [1378]
1378,73 unequal: No Solution
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 53+26=79, Resulting Numbers: [79]
79,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[50, 23], Operations: ['29+21=50', '76-53=23']
Exploring Operation: 50*23=1150, Resulting Numbers: [1150]
1150,73 unequal: No Solution
Exploring Operation: 50-23=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 50+23=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[29, 53, 76, 21], Operations: []
Exploring Operation: 29+21=50, Resulting Numbers: [53, 76, 50]
Generated Node #0,3: 73:[53, 76, 50] Operation: 29+21=50
Moving to Node #0,3
Current State: 73:[53, 76, 50], Operations: ['29+21=50']
Exploring Operation: 76-53=23, Resulting Numbers: [50, 23]
Generated Node #0,3,2: 73:[50, 23] Operation: 76-53=23
Moving to Node #0,3,2
Current State: 73:[50, 23], Operations: ['29+21=50', '76-53=23']
Exploring Operation: 50+23=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 0.921007 | hs_5 | mult_heuristic |
[
79,
90,
47,
4
] | 19 | [
"79+90=169",
"47*4=188",
"188-169=19"
] | Current State: 19:[79, 90, 47, 4], Operations: []
Exploring Operation: 79+90=169, Resulting Numbers: [47, 4, 169]
Generated Node #2: [47, 4, 169] from Operation: 79+90=169
Current State: 19:[47, 4, 169], Operations: ['79+90=169']
Exploring Operation: 47*4=188, Resulting Numbers: [169, 188]
Generated Node #3: [169, 188] from Operation: 47*4=188
Current State: 19:[169, 188], Operations: ['79+90=169', '47*4=188']
Exploring Operation: 188-169=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[79, 90, 47, 4], Operations: []
Exploring Operation: 90-79=11, Resulting Numbers: [47, 4, 11]
Generated Node #0,0: 19:[47, 4, 11] Operation: 90-79=11
Exploring Operation: 79-47=32, Resulting Numbers: [90, 4, 32]
Generated Node #0,1: 19:[90, 4, 32] Operation: 79-47=32
Moving to Node #0,0
Current State: 19:[47, 4, 11], Operations: ['90-79=11']
Exploring Operation: 47-11=36, Resulting Numbers: [4, 36]
Generated Node #0,0,0: 19:[4, 36] Operation: 47-11=36
Exploring Operation: 47-4=43, Resulting Numbers: [11, 43]
Generated Node #0,0,1: 19:[11, 43] Operation: 47-4=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[4, 36], Operations: ['90-79=11', '47-11=36']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[11, 43], Operations: ['90-79=11', '47-4=43']
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 11+43=54, Resulting Numbers: [54]
54,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 19:[90, 4, 32], Operations: ['79-47=32']
Exploring Operation: 90-32=58, Resulting Numbers: [4, 58]
Generated Node #0,1,0: 19:[4, 58] Operation: 90-32=58
Exploring Operation: 90-4=86, Resulting Numbers: [32, 86]
Generated Node #0,1,1: 19:[32, 86] Operation: 90-4=86
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[4, 58], Operations: ['79-47=32', '90-32=58']
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 4+58=62, Resulting Numbers: [62]
62,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[32, 86], Operations: ['79-47=32', '90-4=86']
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 32+86=118, Resulting Numbers: [118]
118,19 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 |
[
67,
63,
94,
7
] | 14 | [
"67-63=4",
"94+4=98",
"98/7=14"
] | Current State: 14:[67, 63, 94, 7], Operations: []
Exploring Operation: 67-63=4, Resulting Numbers: [94, 7, 4]
Generated Node #2: [94, 7, 4] from Operation: 67-63=4
Current State: 14:[94, 7, 4], Operations: ['67-63=4']
Exploring Operation: 94+4=98, Resulting Numbers: [7, 98]
Generated Node #3: [7, 98] from Operation: 94+4=98
Current State: 14:[7, 98], Operations: ['67-63=4', '94+4=98']
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[67, 63, 94, 7], Operations: []
Exploring Operation: 94-67=27, Resulting Numbers: [63, 7, 27]
Generated Node #0,0: 14:[63, 7, 27] Operation: 94-67=27
Exploring Operation: 94-63=31, Resulting Numbers: [67, 7, 31]
Generated Node #0,1: 14:[67, 7, 31] Operation: 94-63=31
Exploring Operation: 63/7=9, Resulting Numbers: [67, 94, 9]
Generated Node #0,2: 14:[67, 94, 9] Operation: 63/7=9
Exploring Operation: 67-63=4, Resulting Numbers: [94, 7, 4]
Generated Node #0,3: 14:[94, 7, 4] Operation: 67-63=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[63, 7, 27], Operations: ['94-67=27']
Exploring Operation: 63-27=36, Resulting Numbers: [7, 36]
Generated Node #0,0,0: 14:[7, 36] Operation: 63-27=36
Exploring Operation: 63/7=9, Resulting Numbers: [27, 9]
Generated Node #0,0,1: 14:[27, 9] Operation: 63/7=9
Exploring Operation: 63-7=56, Resulting Numbers: [27, 56]
Generated Node #0,0,2: 14:[27, 56] Operation: 63-7=56
Exploring Operation: 27-7=20, Resulting Numbers: [63, 20]
Generated Node #0,0,3: 14:[63, 20] Operation: 27-7=20
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 14:[27, 9], Operations: ['94-67=27', '63/7=9']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,14 unequal: No Solution
Exploring Operation: 27+9=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 27*9=243, Resulting Numbers: [243]
243,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[7, 36], Operations: ['94-67=27', '63-27=36']
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 14:[27, 56], Operations: ['94-67=27', '63-7=56']
Exploring Operation: 27+56=83, Resulting Numbers: [83]
83,14 unequal: No Solution
Exploring Operation: 27*56=1512, Resulting Numbers: [1512]
1512,14 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 14:[63, 20], Operations: ['94-67=27', '27-7=20']
Exploring Operation: 63*20=1260, Resulting Numbers: [1260]
1260,14 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 63+20=83, Resulting Numbers: [83]
83,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[67, 7, 31], Operations: ['94-63=31']
Exploring Operation: 31-7=24, Resulting Numbers: [67, 24]
Generated Node #0,1,0: 14:[67, 24] Operation: 31-7=24
Exploring Operation: 67+7=74, Resulting Numbers: [31, 74]
Generated Node #0,1,1: 14:[31, 74] Operation: 67+7=74
Exploring Operation: 67-7=60, Resulting Numbers: [31, 60]
Generated Node #0,1,2: 14:[31, 60] Operation: 67-7=60
Exploring Operation: 67-31=36, Resulting Numbers: [7, 36]
Generated Node #0,1,3: 14:[7, 36] Operation: 67-31=36
Moving to Node #0,1,3
Current State: 14:[7, 36], Operations: ['94-63=31', '67-31=36']
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,14 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[31, 60], Operations: ['94-63=31', '67-7=60']
Exploring Operation: 31*60=1860, Resulting Numbers: [1860]
1860,14 unequal: No Solution
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 31+60=91, Resulting Numbers: [91]
91,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[67, 24], Operations: ['94-63=31', '31-7=24']
Exploring Operation: 67-24=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 67*24=1608, Resulting Numbers: [1608]
1608,14 unequal: No Solution
Exploring Operation: 67+24=91, Resulting Numbers: [91]
91,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[31, 74], Operations: ['94-63=31', '67+7=74']
Exploring Operation: 74-31=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 31+74=105, Resulting Numbers: [105]
105,14 unequal: No Solution
Exploring Operation: 31*74=2294, Resulting Numbers: [2294]
2294,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[94, 7, 4], Operations: ['67-63=4']
Exploring Operation: 94-7=87, Resulting Numbers: [4, 87]
Generated Node #0,3,0: 14:[4, 87] Operation: 94-7=87
Exploring Operation: 94-4=90, Resulting Numbers: [7, 90]
Generated Node #0,3,1: 14:[7, 90] Operation: 94-4=90
Exploring Operation: 7+4=11, Resulting Numbers: [94, 11]
Generated Node #0,3,2: 14:[94, 11] Operation: 7+4=11
Exploring Operation: 7-4=3, Resulting Numbers: [94, 3]
Generated Node #0,3,3: 14:[94, 3] Operation: 7-4=3
Moving to Node #0,3,0
Current State: 14:[4, 87], Operations: ['67-63=4', '94-7=87']
Exploring Operation: 4+87=91, Resulting Numbers: [91]
91,14 unequal: No Solution
Exploring Operation: 4*87=348, Resulting Numbers: [348]
348,14 unequal: No Solution
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,14 unequal: No Solution
Moving to Node #0,3,1
Current State: 14:[7, 90], Operations: ['67-63=4', '94-4=90']
Exploring Operation: 7*90=630, Resulting Numbers: [630]
630,14 unequal: No Solution
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,14 unequal: No Solution
Exploring Operation: 7+90=97, Resulting Numbers: [97]
97,14 unequal: No Solution
Moving to Node #0,3,3
Current State: 14:[94, 3], Operations: ['67-63=4', '7-4=3']
Exploring Operation: 94*3=282, Resulting Numbers: [282]
282,14 unequal: No Solution
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,14 unequal: No Solution
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,14 unequal: No Solution
Moving to Node #0,3,2
Current State: 14:[94, 11], Operations: ['67-63=4', '7+4=11']
Exploring Operation: 94+11=105, Resulting Numbers: [105]
105,14 unequal: No Solution
Exploring Operation: 94*11=1034, Resulting Numbers: [1034]
1034,14 unequal: No Solution
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[67, 94, 9], Operations: ['63/7=9']
Exploring Operation: 94-67=27, Resulting Numbers: [9, 27]
Generated Node #0,2,0: 14:[9, 27] Operation: 94-67=27
Exploring Operation: 67+9=76, Resulting Numbers: [94, 76]
Generated Node #0,2,1: 14:[94, 76] Operation: 67+9=76
Exploring Operation: 94-9=85, Resulting Numbers: [67, 85]
Generated Node #0,2,2: 14:[67, 85] Operation: 94-9=85
Exploring Operation: 67-9=58, Resulting Numbers: [94, 58]
Generated Node #0,2,3: 14:[94, 58] Operation: 67-9=58
Moving to Node #0,2,0
Current State: 14:[9, 27], Operations: ['63/7=9', '94-67=27']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,14 unequal: No Solution
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 9*27=243, Resulting Numbers: [243]
243,14 unequal: No Solution
Moving to Node #0,2,3
Current State: 14:[94, 58], Operations: ['63/7=9', '67-9=58']
Exploring Operation: 94-58=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 94*58=5452, Resulting Numbers: [5452]
5452,14 unequal: No Solution
Exploring Operation: 94+58=152, Resulting Numbers: [152]
152,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[67, 85], Operations: ['63/7=9', '94-9=85']
Exploring Operation: 85-67=18, Resulting Numbers: [18]
18,14 unequal: No Solution
Exploring Operation: 67+85=152, Resulting Numbers: [152]
152,14 unequal: No Solution
Exploring Operation: 67*85=5695, Resulting Numbers: [5695]
5695,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[94, 76], Operations: ['63/7=9', '67+9=76']
Exploring Operation: 94+76=170, Resulting Numbers: [170]
170,14 unequal: No Solution
Exploring Operation: 94-76=18, Resulting Numbers: [18]
18,14 unequal: No Solution
Exploring Operation: 94*76=7144, Resulting Numbers: [7144]
7144,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
48,
8,
93,
87
] | 64 | [
"48*8=384",
"93-87=6",
"384/6=64"
] | Current State: 64:[48, 8, 93, 87], Operations: []
Exploring Operation: 48*8=384, Resulting Numbers: [93, 87, 384]
Generated Node #2: [93, 87, 384] from Operation: 48*8=384
Current State: 64:[93, 87, 384], Operations: ['48*8=384']
Exploring Operation: 93-87=6, Resulting Numbers: [384, 6]
Generated Node #3: [384, 6] from Operation: 93-87=6
Current State: 64:[384, 6], Operations: ['48*8=384', '93-87=6']
Exploring Operation: 384/6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[48, 8, 93, 87], Operations: []
Exploring Operation: 93-48=45, Resulting Numbers: [8, 87, 45]
Generated Node #0,0: 64:[8, 87, 45] Operation: 93-48=45
Exploring Operation: 93-87=6, Resulting Numbers: [48, 8, 6]
Generated Node #0,1: 64:[48, 8, 6] Operation: 93-87=6
Moving to Node #0,1
Current State: 64:[48, 8, 6], Operations: ['93-87=6']
Exploring Operation: 48/8=6, Resulting Numbers: [6, 6]
Generated Node #0,1,0: 64:[6, 6] Operation: 48/8=6
Exploring Operation: 48/6=8, Resulting Numbers: [8, 8]
Generated Node #0,1,1: 64:[8, 8] Operation: 48/6=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[8, 8], Operations: ['93-87=6', '48/6=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[48, 8, 93, 87], Operations: []
Exploring Operation: 93-87=6, Resulting Numbers: [48, 8, 6]
Generated Node #0,1: 64:[48, 8, 6] Operation: 93-87=6
Moving to Node #0,1
Current State: 64:[48, 8, 6], Operations: ['93-87=6']
Exploring Operation: 48/6=8, Resulting Numbers: [8, 8]
Generated Node #0,1,1: 64:[8, 8] Operation: 48/6=8
Moving to Node #0,1,1
Current State: 64:[8, 8], Operations: ['93-87=6', '48/6=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
88,
42,
60,
12
] | 41 | [
"88-42=46",
"60/12=5",
"46-5=41"
] | Current State: 41:[88, 42, 60, 12], Operations: []
Exploring Operation: 88-42=46, Resulting Numbers: [60, 12, 46]
Generated Node #2: [60, 12, 46] from Operation: 88-42=46
Current State: 41:[60, 12, 46], Operations: ['88-42=46']
Exploring Operation: 60/12=5, Resulting Numbers: [46, 5]
Generated Node #3: [46, 5] from Operation: 60/12=5
Current State: 41:[46, 5], Operations: ['88-42=46', '60/12=5']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[88, 42, 60, 12], Operations: []
Exploring Operation: 88-12=76, Resulting Numbers: [42, 60, 76]
Generated Node #0,0: 41:[42, 60, 76] Operation: 88-12=76
Exploring Operation: 88-42=46, Resulting Numbers: [60, 12, 46]
Generated Node #0,1: 41:[60, 12, 46] Operation: 88-42=46
Exploring Operation: 88-60=28, Resulting Numbers: [42, 12, 28]
Generated Node #0,2: 41:[42, 12, 28] Operation: 88-60=28
Moving to Node #0,2
Current State: 41:[42, 12, 28], Operations: ['88-60=28']
Exploring Operation: 42+12=54, Resulting Numbers: [28, 54]
Generated Node #0,2,0: 41:[28, 54] Operation: 42+12=54
Exploring Operation: 12+28=40, Resulting Numbers: [42, 40]
Generated Node #0,2,1: 41:[42, 40] Operation: 12+28=40
Exploring Operation: 42-12=30, Resulting Numbers: [28, 30]
Generated Node #0,2,2: 41:[28, 30] Operation: 42-12=30
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[42, 40], Operations: ['88-60=28', '12+28=40']
Exploring Operation: 42*40=1680, Resulting Numbers: [1680]
1680,41 unequal: No Solution
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,41 unequal: No Solution
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[28, 30], Operations: ['88-60=28', '42-12=30']
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,41 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 28*30=840, Resulting Numbers: [840]
840,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[28, 54], Operations: ['88-60=28', '42+12=54']
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 28*54=1512, Resulting Numbers: [1512]
1512,41 unequal: No Solution
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 41:[60, 12, 46], Operations: ['88-42=46']
Exploring Operation: 46-12=34, Resulting Numbers: [60, 34]
Generated Node #0,1,0: 41:[60, 34] Operation: 46-12=34
Exploring Operation: 60-12=48, Resulting Numbers: [46, 48]
Generated Node #0,1,1: 41:[46, 48] Operation: 60-12=48
Exploring Operation: 60+12=72, Resulting Numbers: [46, 72]
Generated Node #0,1,2: 41:[46, 72] Operation: 60+12=72
Moving to Node #0,0
Current State: 41:[42, 60, 76], Operations: ['88-12=76']
Exploring Operation: 76-42=34, Resulting Numbers: [60, 34]
Generated Node #0,0,0: 41:[60, 34] Operation: 76-42=34
Exploring Operation: 76-60=16, Resulting Numbers: [42, 16]
Generated Node #0,0,1: 41:[42, 16] Operation: 76-60=16
Exploring Operation: 60-42=18, Resulting Numbers: [76, 18]
Generated Node #0,0,2: 41:[76, 18] Operation: 60-42=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[60, 34], Operations: ['88-12=76', '76-42=34']
Exploring Operation: 60*34=2040, Resulting Numbers: [2040]
2040,41 unequal: No Solution
Exploring Operation: 60+34=94, Resulting Numbers: [94]
94,41 unequal: No Solution
Exploring Operation: 60-34=26, Resulting Numbers: [26]
26,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[42, 16], Operations: ['88-12=76', '76-60=16']
Exploring Operation: 42*16=672, Resulting Numbers: [672]
672,41 unequal: No Solution
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,41 unequal: No Solution
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[76, 18], Operations: ['88-12=76', '60-42=18']
Exploring Operation: 76*18=1368, Resulting Numbers: [1368]
1368,41 unequal: No Solution
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,41 unequal: No Solution
Exploring Operation: 76+18=94, Resulting Numbers: [94]
94,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 41:[46, 48], Operations: ['88-42=46', '60-12=48']
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 46*48=2208, Resulting Numbers: [2208]
2208,41 unequal: No Solution
Exploring Operation: 46+48=94, Resulting Numbers: [94]
94,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[60, 34], Operations: ['88-42=46', '46-12=34']
Exploring Operation: 60*34=2040, Resulting Numbers: [2040]
2040,41 unequal: No Solution
Exploring Operation: 60-34=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 60+34=94, Resulting Numbers: [94]
94,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[46, 72], Operations: ['88-42=46', '60+12=72']
Exploring Operation: 46+72=118, Resulting Numbers: [118]
118,41 unequal: No Solution
Exploring Operation: 72-46=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 46*72=3312, Resulting Numbers: [3312]
3312,41 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
68,
65,
18,
22
] | 84 | [
"68-65=3",
"22*3=66",
"18+66=84"
] | Current State: 84:[68, 65, 18, 22], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [18, 22, 3]
Generated Node #2: [18, 22, 3] from Operation: 68-65=3
Current State: 84:[18, 22, 3], Operations: ['68-65=3']
Exploring Operation: 22*3=66, Resulting Numbers: [18, 66]
Generated Node #3: [18, 66] from Operation: 22*3=66
Current State: 84:[18, 66], Operations: ['68-65=3', '22*3=66']
Exploring Operation: 18+66=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[68, 65, 18, 22], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [18, 22, 3]
Generated Node #0,0: 84:[18, 22, 3] Operation: 68-65=3
Exploring Operation: 65+18=83, Resulting Numbers: [68, 22, 83]
Generated Node #0,1: 84:[68, 22, 83] Operation: 65+18=83
Moving to Node #0,0
Current State: 84:[18, 22, 3], Operations: ['68-65=3']
Exploring Operation: 22-18=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 84:[3, 4] Operation: 22-18=4
Exploring Operation: 18+3=21, Resulting Numbers: [22, 21]
Generated Node #0,0,1: 84:[22, 21] Operation: 18+3=21
Moving to Node #0,1
Current State: 84:[68, 22, 83], Operations: ['65+18=83']
Exploring Operation: 68-22=46, Resulting Numbers: [83, 46]
Generated Node #0,1,0: 84:[83, 46] Operation: 68-22=46
Exploring Operation: 83-68=15, Resulting Numbers: [22, 15]
Generated Node #0,1,1: 84:[22, 15] Operation: 83-68=15
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[22, 15], Operations: ['65+18=83', '83-68=15']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[83, 46], Operations: ['65+18=83', '68-22=46']
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 83+46=129, Resulting Numbers: [129]
129,84 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: 84:[3, 4], Operations: ['68-65=3', '22-18=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[22, 21], Operations: ['68-65=3', '18+3=21']
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,84 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
26,
63,
21,
7
] | 45 | [
"26-21=5",
"63/7=9",
"5*9=45"
] | Current State: 45:[26, 63, 21, 7], Operations: []
Exploring Operation: 26-21=5, Resulting Numbers: [63, 7, 5]
Generated Node #2: [63, 7, 5] from Operation: 26-21=5
Current State: 45:[63, 7, 5], Operations: ['26-21=5']
Exploring Operation: 63/7=9, Resulting Numbers: [5, 9]
Generated Node #3: [5, 9] from Operation: 63/7=9
Current State: 45:[5, 9], Operations: ['26-21=5', '63/7=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[26, 63, 21, 7], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [26, 7, 3]
Generated Node #0,0: 45:[26, 7, 3] Operation: 63/21=3
Exploring Operation: 63-21=42, Resulting Numbers: [26, 7, 42]
Generated Node #0,1: 45:[26, 7, 42] Operation: 63-21=42
Exploring Operation: 63-26=37, Resulting Numbers: [21, 7, 37]
Generated Node #0,2: 45:[21, 7, 37] Operation: 63-26=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[26, 7, 3], Operations: ['63/21=3']
Exploring Operation: 26+7=33, Resulting Numbers: [3, 33]
Generated Node #0,0,0: 45:[3, 33] Operation: 26+7=33
Exploring Operation: 26-7=19, Resulting Numbers: [3, 19]
Generated Node #0,0,1: 45:[3, 19] Operation: 26-7=19
Exploring Operation: 26-3=23, Resulting Numbers: [7, 23]
Generated Node #0,0,2: 45:[7, 23] Operation: 26-3=23
Moving to Node #0,0,1
Current State: 45:[3, 19], Operations: ['63/21=3', '26-7=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,45 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[7, 23], Operations: ['63/21=3', '26-3=23']
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,45 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[3, 33], Operations: ['63/21=3', '26+7=33']
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,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:[26, 7, 42], Operations: ['63-21=42']
Exploring Operation: 42-26=16, Resulting Numbers: [7, 16]
Generated Node #0,1,0: 45:[7, 16] Operation: 42-26=16
Exploring Operation: 42/7=6, Resulting Numbers: [26, 6]
Generated Node #0,1,1: 45:[26, 6] Operation: 42/7=6
Exploring Operation: 26-7=19, Resulting Numbers: [42, 19]
Generated Node #0,1,2: 45:[42, 19] Operation: 26-7=19
Moving to Node #0,1,0
Current State: 45:[7, 16], Operations: ['63-21=42', '42-26=16']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[42, 19], Operations: ['63-21=42', '26-7=19']
Exploring Operation: 42*19=798, Resulting Numbers: [798]
798,45 unequal: No Solution
Exploring Operation: 42+19=61, Resulting Numbers: [61]
61,45 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[26, 6], Operations: ['63-21=42', '42/7=6']
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,45 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,45 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,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,2
Current State: 45:[21, 7, 37], Operations: ['63-26=37']
Exploring Operation: 37-21=16, Resulting Numbers: [7, 16]
Generated Node #0,2,0: 45:[7, 16] Operation: 37-21=16
Exploring Operation: 7+37=44, Resulting Numbers: [21, 44]
Generated Node #0,2,1: 45:[21, 44] Operation: 7+37=44
Exploring Operation: 21/7=3, Resulting Numbers: [37, 3]
Generated Node #0,2,2: 45:[37, 3] Operation: 21/7=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 45:[7, 16], Operations: ['63-26=37', '37-21=16']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,45 unequal: No Solution
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,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,1
Current State: 45:[21, 44], Operations: ['63-26=37', '7+37=44']
Exploring Operation: 21*44=924, Resulting Numbers: [924]
924,45 unequal: No Solution
Exploring Operation: 21+44=65, Resulting Numbers: [65]
65,45 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,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:[37, 3], Operations: ['63-26=37', '21/7=3']
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,45 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,45 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,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 |
[
62,
11,
58,
27
] | 22 | [
"62*11=682",
"58-27=31",
"682/31=22"
] | Current State: 22:[62, 11, 58, 27], Operations: []
Exploring Operation: 62*11=682, Resulting Numbers: [58, 27, 682]
Generated Node #2: [58, 27, 682] from Operation: 62*11=682
Current State: 22:[58, 27, 682], Operations: ['62*11=682']
Exploring Operation: 58-27=31, Resulting Numbers: [682, 31]
Generated Node #3: [682, 31] from Operation: 58-27=31
Current State: 22:[682, 31], Operations: ['62*11=682', '58-27=31']
Exploring Operation: 682/31=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[62, 11, 58, 27], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [11, 27, 4]
Generated Node #0,0: 22:[11, 27, 4] Operation: 62-58=4
Moving to Node #0,0
Current State: 22:[11, 27, 4], Operations: ['62-58=4']
Exploring Operation: 27-4=23, Resulting Numbers: [11, 23]
Generated Node #0,0,0: 22:[11, 23] Operation: 27-4=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[11, 23], Operations: ['62-58=4', '27-4=23']
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,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 | sum_heuristic |
[
19,
40,
63,
14
] | 28 | [
"40-19=21",
"63-14=49",
"49-21=28"
] | Current State: 28:[19, 40, 63, 14], Operations: []
Exploring Operation: 40-19=21, Resulting Numbers: [63, 14, 21]
Generated Node #2: [63, 14, 21] from Operation: 40-19=21
Current State: 28:[63, 14, 21], Operations: ['40-19=21']
Exploring Operation: 63-14=49, Resulting Numbers: [21, 49]
Generated Node #3: [21, 49] from Operation: 63-14=49
Current State: 28:[21, 49], Operations: ['40-19=21', '63-14=49']
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[19, 40, 63, 14], Operations: []
Exploring Operation: 63-40=23, Resulting Numbers: [19, 14, 23]
Generated Node #0,0: 28:[19, 14, 23] Operation: 63-40=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[19, 14, 23], Operations: ['63-40=23']
Exploring Operation: 23-19=4, Resulting Numbers: [14, 4]
Generated Node #0,0,0: 28:[14, 4] Operation: 23-19=4
Moving to Node #0,0,0
Current State: 28:[14, 4], Operations: ['63-40=23', '23-19=4']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,28 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 |
[
21,
45,
81,
6
] | 70 | [
"21+45=66",
"66/6=11",
"81-11=70"
] | Current State: 70:[21, 45, 81, 6], Operations: []
Exploring Operation: 21+45=66, Resulting Numbers: [81, 6, 66]
Generated Node #2: [81, 6, 66] from Operation: 21+45=66
Current State: 70:[81, 6, 66], Operations: ['21+45=66']
Exploring Operation: 66/6=11, Resulting Numbers: [81, 11]
Generated Node #3: [81, 11] from Operation: 66/6=11
Current State: 70:[81, 11], Operations: ['21+45=66', '66/6=11']
Exploring Operation: 81-11=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[21, 45, 81, 6], Operations: []
Exploring Operation: 21+45=66, Resulting Numbers: [81, 6, 66]
Generated Node #0,0: 70:[81, 6, 66] Operation: 21+45=66
Exploring Operation: 81-45=36, Resulting Numbers: [21, 6, 36]
Generated Node #0,1: 70:[21, 6, 36] Operation: 81-45=36
Exploring Operation: 81-21=60, Resulting Numbers: [45, 6, 60]
Generated Node #0,2: 70:[45, 6, 60] Operation: 81-21=60
Moving to Node #0,1
Current State: 70:[21, 6, 36], Operations: ['81-45=36']
Exploring Operation: 21-6=15, Resulting Numbers: [36, 15]
Generated Node #0,1,0: 70:[36, 15] Operation: 21-6=15
Exploring Operation: 36-21=15, Resulting Numbers: [6, 15]
Generated Node #0,1,1: 70:[6, 15] Operation: 36-21=15
Exploring Operation: 36/6=6, Resulting Numbers: [21, 6]
Generated Node #0,1,2: 70:[21, 6] Operation: 36/6=6
Moving to Node #0,0
Current State: 70:[81, 6, 66], Operations: ['21+45=66']
Exploring Operation: 81-6=75, Resulting Numbers: [66, 75]
Generated Node #0,0,0: 70:[66, 75] Operation: 81-6=75
Exploring Operation: 66/6=11, Resulting Numbers: [81, 11]
Generated Node #0,0,1: 70:[81, 11] Operation: 66/6=11
Exploring Operation: 81-66=15, Resulting Numbers: [6, 15]
Generated Node #0,0,2: 70:[6, 15] Operation: 81-66=15
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 70:[6, 15], Operations: ['21+45=66', '81-66=15']
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,70 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[66, 75], Operations: ['21+45=66', '81-6=75']
Exploring Operation: 66+75=141, Resulting Numbers: [141]
141,70 unequal: No Solution
Exploring Operation: 75-66=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 66*75=4950, Resulting Numbers: [4950]
4950,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[81, 11], Operations: ['21+45=66', '66/6=11']
Exploring Operation: 81*11=891, Resulting Numbers: [891]
891,70 unequal: No Solution
Exploring Operation: 81-11=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[21, 45, 81, 6], Operations: []
Exploring Operation: 21+45=66, Resulting Numbers: [81, 6, 66]
Generated Node #0,0: 70:[81, 6, 66] Operation: 21+45=66
Moving to Node #0,0
Current State: 70:[81, 6, 66], Operations: ['21+45=66']
Exploring Operation: 66/6=11, Resulting Numbers: [81, 11]
Generated Node #0,0,1: 70:[81, 11] Operation: 66/6=11
Moving to Node #0,0,1
Current State: 70:[81, 11], Operations: ['21+45=66', '66/6=11']
Exploring Operation: 81-11=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_3 | mult_heuristic |
[
53,
44,
59,
71
] | 21 | [
"53-44=9",
"71-59=12",
"9+12=21"
] | Current State: 21:[53, 44, 59, 71], Operations: []
Exploring Operation: 53-44=9, Resulting Numbers: [59, 71, 9]
Generated Node #2: [59, 71, 9] from Operation: 53-44=9
Current State: 21:[59, 71, 9], Operations: ['53-44=9']
Exploring Operation: 71-59=12, Resulting Numbers: [9, 12]
Generated Node #3: [9, 12] from Operation: 71-59=12
Current State: 21:[9, 12], Operations: ['53-44=9', '71-59=12']
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[53, 44, 59, 71], Operations: []
Exploring Operation: 71-59=12, Resulting Numbers: [53, 44, 12]
Generated Node #0,0: 21:[53, 44, 12] Operation: 71-59=12
Exploring Operation: 59-53=6, Resulting Numbers: [44, 71, 6]
Generated Node #0,1: 21:[44, 71, 6] Operation: 59-53=6
Exploring Operation: 59-44=15, Resulting Numbers: [53, 71, 15]
Generated Node #0,2: 21:[53, 71, 15] Operation: 59-44=15
Exploring Operation: 71-53=18, Resulting Numbers: [44, 59, 18]
Generated Node #0,3: 21:[44, 59, 18] Operation: 71-53=18
Exploring Operation: 71-44=27, Resulting Numbers: [53, 59, 27]
Generated Node #0,4: 21:[53, 59, 27] Operation: 71-44=27
Moving to Node #0,0
Current State: 21:[53, 44, 12], Operations: ['71-59=12']
Exploring Operation: 53-44=9, Resulting Numbers: [12, 9]
Generated Node #0,0,0: 21:[12, 9] Operation: 53-44=9
Exploring Operation: 53-12=41, Resulting Numbers: [44, 41]
Generated Node #0,0,1: 21:[44, 41] Operation: 53-12=41
Exploring Operation: 44+12=56, Resulting Numbers: [53, 56]
Generated Node #0,0,2: 21:[53, 56] Operation: 44+12=56
Exploring Operation: 44-12=32, Resulting Numbers: [53, 32]
Generated Node #0,0,3: 21:[53, 32] Operation: 44-12=32
Exploring Operation: 53+12=65, Resulting Numbers: [44, 65]
Generated Node #0,0,4: 21:[44, 65] Operation: 53+12=65
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[12, 9], Operations: ['71-59=12', '53-44=9']
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,21 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[53, 44, 59, 71], Operations: []
Exploring Operation: 71-59=12, Resulting Numbers: [53, 44, 12]
Generated Node #0,0: 21:[53, 44, 12] Operation: 71-59=12
Moving to Node #0,0
Current State: 21:[53, 44, 12], Operations: ['71-59=12']
Exploring Operation: 53-44=9, Resulting Numbers: [12, 9]
Generated Node #0,0,0: 21:[12, 9] Operation: 53-44=9
Moving to Node #0,0,0
Current State: 21:[12, 9], Operations: ['71-59=12', '53-44=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
34,
13,
83,
11
] | 66 | [
"13-11=2",
"34/2=17",
"83-17=66"
] | Current State: 66:[34, 13, 83, 11], Operations: []
Exploring Operation: 13-11=2, Resulting Numbers: [34, 83, 2]
Generated Node #2: [34, 83, 2] from Operation: 13-11=2
Current State: 66:[34, 83, 2], Operations: ['13-11=2']
Exploring Operation: 34/2=17, Resulting Numbers: [83, 17]
Generated Node #3: [83, 17] from Operation: 34/2=17
Current State: 66:[83, 17], Operations: ['13-11=2', '34/2=17']
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[34, 13, 83, 11], Operations: []
Exploring Operation: 83-13=70, Resulting Numbers: [34, 11, 70]
Generated Node #0,0: 66:[34, 11, 70] Operation: 83-13=70
Exploring Operation: 34-13=21, Resulting Numbers: [83, 11, 21]
Generated Node #0,1: 66:[83, 11, 21] Operation: 34-13=21
Exploring Operation: 83-11=72, Resulting Numbers: [34, 13, 72]
Generated Node #0,2: 66:[34, 13, 72] Operation: 83-11=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[34, 11, 70], Operations: ['83-13=70']
Exploring Operation: 70-11=59, Resulting Numbers: [34, 59]
Generated Node #0,0,0: 66:[34, 59] Operation: 70-11=59
Exploring Operation: 34-11=23, Resulting Numbers: [70, 23]
Generated Node #0,0,1: 66:[70, 23] Operation: 34-11=23
Exploring Operation: 70-34=36, Resulting Numbers: [11, 36]
Generated Node #0,0,2: 66:[11, 36] Operation: 70-34=36
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 66:[11, 36], Operations: ['83-13=70', '70-34=36']
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Exploring Operation: 11+36=47, Resulting Numbers: [47]
47,66 unequal: No Solution
Exploring Operation: 11*36=396, Resulting Numbers: [396]
396,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[70, 23], Operations: ['83-13=70', '34-11=23']
Exploring Operation: 70+23=93, Resulting Numbers: [93]
93,66 unequal: No Solution
Exploring Operation: 70*23=1610, Resulting Numbers: [1610]
1610,66 unequal: No Solution
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[34, 59], Operations: ['83-13=70', '70-11=59']
Exploring Operation: 34*59=2006, Resulting Numbers: [2006]
2006,66 unequal: No Solution
Exploring Operation: 34+59=93, Resulting Numbers: [93]
93,66 unequal: No Solution
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[34, 13, 72], Operations: ['83-11=72']
Exploring Operation: 72-34=38, Resulting Numbers: [13, 38]
Generated Node #0,2,0: 66:[13, 38] Operation: 72-34=38
Exploring Operation: 72-13=59, Resulting Numbers: [34, 59]
Generated Node #0,2,1: 66:[34, 59] Operation: 72-13=59
Exploring Operation: 34-13=21, Resulting Numbers: [72, 21]
Generated Node #0,2,2: 66:[72, 21] Operation: 34-13=21
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 66:[13, 38], Operations: ['83-11=72', '72-34=38']
Exploring Operation: 13+38=51, Resulting Numbers: [51]
51,66 unequal: No Solution
Exploring Operation: 13*38=494, Resulting Numbers: [494]
494,66 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 66:[72, 21], Operations: ['83-11=72', '34-13=21']
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,66 unequal: No Solution
Exploring Operation: 72*21=1512, Resulting Numbers: [1512]
1512,66 unequal: No Solution
Exploring Operation: 72+21=93, Resulting Numbers: [93]
93,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 66:[34, 59], Operations: ['83-11=72', '72-13=59']
Exploring Operation: 34+59=93, Resulting Numbers: [93]
93,66 unequal: No Solution
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Exploring Operation: 34*59=2006, Resulting Numbers: [2006]
2006,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[83, 11, 21], Operations: ['34-13=21']
Exploring Operation: 11+21=32, Resulting Numbers: [83, 32]
Generated Node #0,1,0: 66:[83, 32] Operation: 11+21=32
Exploring Operation: 83-21=62, Resulting Numbers: [11, 62]
Generated Node #0,1,1: 66:[11, 62] Operation: 83-21=62
Exploring Operation: 83-11=72, Resulting Numbers: [21, 72]
Generated Node #0,1,2: 66:[21, 72] Operation: 83-11=72
Moving to Node #0,1,1
Current State: 66:[11, 62], Operations: ['34-13=21', '83-21=62']
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,66 unequal: No Solution
Exploring Operation: 11+62=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 11*62=682, Resulting Numbers: [682]
682,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[21, 72], Operations: ['34-13=21', '83-11=72']
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,66 unequal: No Solution
Exploring Operation: 21*72=1512, Resulting Numbers: [1512]
1512,66 unequal: No Solution
Exploring Operation: 21+72=93, Resulting Numbers: [93]
93,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[83, 32], Operations: ['34-13=21', '11+21=32']
Exploring Operation: 83+32=115, Resulting Numbers: [115]
115,66 unequal: No Solution
Exploring Operation: 83*32=2656, Resulting Numbers: [2656]
2656,66 unequal: No Solution
Exploring Operation: 83-32=51, Resulting Numbers: [51]
51,66 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 |
[
8,
64,
87,
40
] | 71 | [
"64-8=56",
"87+40=127",
"127-56=71"
] | Current State: 71:[8, 64, 87, 40], Operations: []
Exploring Operation: 64-8=56, Resulting Numbers: [87, 40, 56]
Generated Node #2: [87, 40, 56] from Operation: 64-8=56
Current State: 71:[87, 40, 56], Operations: ['64-8=56']
Exploring Operation: 87+40=127, Resulting Numbers: [56, 127]
Generated Node #3: [56, 127] from Operation: 87+40=127
Current State: 71:[56, 127], Operations: ['64-8=56', '87+40=127']
Exploring Operation: 127-56=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[8, 64, 87, 40], Operations: []
Exploring Operation: 64-8=56, Resulting Numbers: [87, 40, 56]
Generated Node #0,0: 71:[87, 40, 56] Operation: 64-8=56
Exploring Operation: 87-8=79, Resulting Numbers: [64, 40, 79]
Generated Node #0,1: 71:[64, 40, 79] Operation: 87-8=79
Exploring Operation: 8+87=95, Resulting Numbers: [64, 40, 95]
Generated Node #0,2: 71:[64, 40, 95] Operation: 8+87=95
Exploring Operation: 8+40=48, Resulting Numbers: [64, 87, 48]
Generated Node #0,3: 71:[64, 87, 48] Operation: 8+40=48
Exploring Operation: 8+64=72, Resulting Numbers: [87, 40, 72]
Generated Node #0,4: 71:[87, 40, 72] Operation: 8+64=72
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[64, 40, 79], Operations: ['87-8=79']
Exploring Operation: 40+79=119, Resulting Numbers: [64, 119]
Generated Node #0,1,0: 71:[64, 119] Operation: 40+79=119
Exploring Operation: 79-40=39, Resulting Numbers: [64, 39]
Generated Node #0,1,1: 71:[64, 39] Operation: 79-40=39
Exploring Operation: 79-64=15, Resulting Numbers: [40, 15]
Generated Node #0,1,2: 71:[40, 15] Operation: 79-64=15
Exploring Operation: 64-40=24, Resulting Numbers: [79, 24]
Generated Node #0,1,3: 71:[79, 24] Operation: 64-40=24
Exploring Operation: 64+40=104, Resulting Numbers: [79, 104]
Generated Node #0,1,4: 71:[79, 104] Operation: 64+40=104
Moving to Node #0,1,1
Current State: 71:[64, 39], Operations: ['87-8=79', '79-40=39']
Exploring Operation: 64+39=103, Resulting Numbers: [103]
103,71 unequal: No Solution
Exploring Operation: 64-39=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 64*39=2496, Resulting Numbers: [2496]
2496,71 unequal: No Solution
Moving to Node #0,1,4
Current State: 71:[79, 104], Operations: ['87-8=79', '64+40=104']
Exploring Operation: 104-79=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 79+104=183, Resulting Numbers: [183]
183,71 unequal: No Solution
Exploring Operation: 79*104=8216, Resulting Numbers: [8216]
8216,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[64, 119], Operations: ['87-8=79', '40+79=119']
Exploring Operation: 64+119=183, Resulting Numbers: [183]
183,71 unequal: No Solution
Exploring Operation: 64*119=7616, Resulting Numbers: [7616]
7616,71 unequal: No Solution
Exploring Operation: 119-64=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[79, 24], Operations: ['87-8=79', '64-40=24']
Exploring Operation: 79*24=1896, Resulting Numbers: [1896]
1896,71 unequal: No Solution
Exploring Operation: 79-24=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Exploring Operation: 79+24=103, Resulting Numbers: [103]
103,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[40, 15], Operations: ['87-8=79', '79-64=15']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[64, 87, 48], Operations: ['8+40=48']
Exploring Operation: 64-48=16, Resulting Numbers: [87, 16]
Generated Node #0,3,0: 71:[87, 16] Operation: 64-48=16
Exploring Operation: 64+48=112, Resulting Numbers: [87, 112]
Generated Node #0,3,1: 71:[87, 112] Operation: 64+48=112
Exploring Operation: 87-48=39, Resulting Numbers: [64, 39]
Generated Node #0,3,2: 71:[64, 39] Operation: 87-48=39
Exploring Operation: 87-64=23, Resulting Numbers: [48, 23]
Generated Node #0,3,3: 71:[48, 23] Operation: 87-64=23
Exploring Operation: 87+48=135, Resulting Numbers: [64, 135]
Generated Node #0,3,4: 71:[64, 135] Operation: 87+48=135
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 71:[64, 39], Operations: ['8+40=48', '87-48=39']
Exploring Operation: 64*39=2496, Resulting Numbers: [2496]
2496,71 unequal: No Solution
Exploring Operation: 64-39=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 64+39=103, Resulting Numbers: [103]
103,71 unequal: No Solution
No 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: 71:[87, 112], Operations: ['8+40=48', '64+48=112']
Exploring Operation: 112-87=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 87*112=9744, Resulting Numbers: [9744]
9744,71 unequal: No Solution
Exploring Operation: 87+112=199, Resulting Numbers: [199]
199,71 unequal: No Solution
No 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: 71:[87, 16], Operations: ['8+40=48', '64-48=16']
Exploring Operation: 87-16=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[8, 64, 87, 40], Operations: []
Exploring Operation: 8+40=48, Resulting Numbers: [64, 87, 48]
Generated Node #0,3: 71:[64, 87, 48] Operation: 8+40=48
Moving to Node #0,3
Current State: 71:[64, 87, 48], Operations: ['8+40=48']
Exploring Operation: 64-48=16, Resulting Numbers: [87, 16]
Generated Node #0,3,0: 71:[87, 16] Operation: 64-48=16
Moving to Node #0,3,0
Current State: 71:[87, 16], Operations: ['8+40=48', '64-48=16']
Exploring Operation: 87-16=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
32,
88,
60,
90
] | 92 | [
"32+88=120",
"120/60=2",
"90+2=92"
] | Current State: 92:[32, 88, 60, 90], Operations: []
Exploring Operation: 32+88=120, Resulting Numbers: [60, 90, 120]
Generated Node #2: [60, 90, 120] from Operation: 32+88=120
Current State: 92:[60, 90, 120], Operations: ['32+88=120']
Exploring Operation: 120/60=2, Resulting Numbers: [90, 2]
Generated Node #3: [90, 2] from Operation: 120/60=2
Current State: 92:[90, 2], Operations: ['32+88=120', '120/60=2']
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[32, 88, 60, 90], Operations: []
Exploring Operation: 88-60=28, Resulting Numbers: [32, 90, 28]
Generated Node #0,0: 92:[32, 90, 28] Operation: 88-60=28
Exploring Operation: 32+60=92, Resulting Numbers: [88, 90, 92]
Generated Node #0,1: 92:[88, 90, 92] Operation: 32+60=92
Exploring Operation: 60-32=28, Resulting Numbers: [88, 90, 28]
Generated Node #0,2: 92:[88, 90, 28] Operation: 60-32=28
Moving to Node #0,1
Current State: 92:[88, 90, 92], Operations: ['32+60=92']
Exploring Operation: 92-88=4, Resulting Numbers: [90, 4]
Generated Node #0,1,0: 92:[90, 4] Operation: 92-88=4
Exploring Operation: 92-90=2, Resulting Numbers: [88, 2]
Generated Node #0,1,1: 92:[88, 2] Operation: 92-90=2
Exploring Operation: 90-88=2, Resulting Numbers: [92, 2]
Generated Node #0,1,2: 92:[92, 2] Operation: 90-88=2
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 92:[92, 2], Operations: ['32+60=92', '90-88=2']
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,92 unequal: No Solution
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,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,0
Current State: 92:[90, 4], Operations: ['32+60=92', '92-88=4']
Exploring Operation: 90*4=360, Resulting Numbers: [360]
360,92 unequal: No Solution
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,92 unequal: No Solution
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[88, 2], Operations: ['32+60=92', '92-90=2']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,92 unequal: No Solution
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,92 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,92 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: 92:[88, 90, 28], Operations: ['60-32=28']
Exploring Operation: 90-28=62, Resulting Numbers: [88, 62]
Generated Node #0,2,0: 92:[88, 62] Operation: 90-28=62
Exploring Operation: 88-28=60, Resulting Numbers: [90, 60]
Generated Node #0,2,1: 92:[90, 60] Operation: 88-28=60
Exploring Operation: 90-88=2, Resulting Numbers: [28, 2]
Generated Node #0,2,2: 92:[28, 2] Operation: 90-88=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[28, 2], Operations: ['60-32=28', '90-88=2']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,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,2,1
Current State: 92:[90, 60], Operations: ['60-32=28', '88-28=60']
Exploring Operation: 90*60=5400, Resulting Numbers: [5400]
5400,92 unequal: No Solution
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 90+60=150, Resulting Numbers: [150]
150,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,2,0
Current State: 92:[88, 62], Operations: ['60-32=28', '90-28=62']
Exploring Operation: 88+62=150, Resulting Numbers: [150]
150,92 unequal: No Solution
Exploring Operation: 88-62=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Exploring Operation: 88*62=5456, Resulting Numbers: [5456]
5456,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 92:[32, 90, 28], Operations: ['88-60=28']
Exploring Operation: 32-28=4, Resulting Numbers: [90, 4]
Generated Node #0,0,0: 92:[90, 4] Operation: 32-28=4
Exploring Operation: 90-32=58, Resulting Numbers: [28, 58]
Generated Node #0,0,1: 92:[28, 58] Operation: 90-32=58
Exploring Operation: 32+28=60, Resulting Numbers: [90, 60]
Generated Node #0,0,2: 92:[90, 60] Operation: 32+28=60
Moving to Node #0,0,0
Current State: 92:[90, 4], Operations: ['88-60=28', '32-28=4']
Exploring Operation: 90*4=360, Resulting Numbers: [360]
360,92 unequal: No Solution
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,92 unequal: No Solution
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[90, 60], Operations: ['88-60=28', '32+28=60']
Exploring Operation: 90*60=5400, Resulting Numbers: [5400]
5400,92 unequal: No Solution
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 90+60=150, Resulting Numbers: [150]
150,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[28, 58], Operations: ['88-60=28', '90-32=58']
Exploring Operation: 28*58=1624, Resulting Numbers: [1624]
1624,92 unequal: No Solution
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 28+58=86, Resulting Numbers: [86]
86,92 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
6,
27,
9,
31
] | 55 | [
"6+27=33",
"31-9=22",
"33+22=55"
] | Current State: 55:[6, 27, 9, 31], Operations: []
Exploring Operation: 6+27=33, Resulting Numbers: [9, 31, 33]
Generated Node #2: [9, 31, 33] from Operation: 6+27=33
Current State: 55:[9, 31, 33], Operations: ['6+27=33']
Exploring Operation: 31-9=22, Resulting Numbers: [33, 22]
Generated Node #3: [33, 22] from Operation: 31-9=22
Current State: 55:[33, 22], Operations: ['6+27=33', '31-9=22']
Exploring Operation: 33+22=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[6, 27, 9, 31], Operations: []
Exploring Operation: 31-27=4, Resulting Numbers: [6, 9, 4]
Generated Node #0,0: 55:[6, 9, 4] Operation: 31-27=4
Exploring Operation: 27+31=58, Resulting Numbers: [6, 9, 58]
Generated Node #0,1: 55:[6, 9, 58] Operation: 27+31=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[6, 9, 4], Operations: ['31-27=4']
Exploring Operation: 9-4=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 55:[6, 5] Operation: 9-4=5
Exploring Operation: 6*9=54, Resulting Numbers: [4, 54]
Generated Node #0,0,1: 55:[4, 54] Operation: 6*9=54
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[6, 5], Operations: ['31-27=4', '9-4=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,55 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,55 unequal: No Solution
No 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: 55:[4, 54], Operations: ['31-27=4', '6*9=54']
Exploring Operation: 4+54=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[6, 9, 58], Operations: ['27+31=58']
Exploring Operation: 6*9=54, Resulting Numbers: [58, 54]
Generated Node #0,1,0: 55:[58, 54] Operation: 6*9=54
Exploring Operation: 9-6=3, Resulting Numbers: [58, 3]
Generated Node #0,1,1: 55:[58, 3] Operation: 9-6=3
Moving to Node #0,1,0
Current State: 55:[58, 54], Operations: ['27+31=58', '6*9=54']
Exploring Operation: 58+54=112, Resulting Numbers: [112]
112,55 unequal: No Solution
Exploring Operation: 58-54=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[58, 3], Operations: ['27+31=58', '9-6=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,55 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[6, 27, 9, 31], Operations: []
Exploring Operation: 27+31=58, Resulting Numbers: [6, 9, 58]
Generated Node #0,1: 55:[6, 9, 58] Operation: 27+31=58
Moving to Node #0,1
Current State: 55:[6, 9, 58], Operations: ['27+31=58']
Exploring Operation: 9-6=3, Resulting Numbers: [58, 3]
Generated Node #0,1,1: 55:[58, 3] Operation: 9-6=3
Moving to Node #0,1,1
Current State: 55:[58, 3], Operations: ['27+31=58', '9-6=3']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
21,
59,
78,
39
] | 77 | [
"59-21=38",
"78-39=39",
"38+39=77"
] | Current State: 77:[21, 59, 78, 39], Operations: []
Exploring Operation: 59-21=38, Resulting Numbers: [78, 39, 38]
Generated Node #2: [78, 39, 38] from Operation: 59-21=38
Current State: 77:[78, 39, 38], Operations: ['59-21=38']
Exploring Operation: 78-39=39, Resulting Numbers: [38, 39]
Generated Node #3: [38, 39] from Operation: 78-39=39
Current State: 77:[38, 39], Operations: ['59-21=38', '78-39=39']
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[21, 59, 78, 39], Operations: []
Exploring Operation: 59-39=20, Resulting Numbers: [21, 78, 20]
Generated Node #0,0: 77:[21, 78, 20] Operation: 59-39=20
Exploring Operation: 59+39=98, Resulting Numbers: [21, 78, 98]
Generated Node #0,1: 77:[21, 78, 98] Operation: 59+39=98
Exploring Operation: 21+59=80, Resulting Numbers: [78, 39, 80]
Generated Node #0,2: 77:[78, 39, 80] Operation: 21+59=80
Exploring Operation: 39-21=18, Resulting Numbers: [59, 78, 18]
Generated Node #0,3: 77:[59, 78, 18] Operation: 39-21=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[21, 78, 20], Operations: ['59-39=20']
Exploring Operation: 78-21=57, Resulting Numbers: [20, 57]
Generated Node #0,0,0: 77:[20, 57] Operation: 78-21=57
Exploring Operation: 78-20=58, Resulting Numbers: [21, 58]
Generated Node #0,0,1: 77:[21, 58] Operation: 78-20=58
Exploring Operation: 21+78=99, Resulting Numbers: [20, 99]
Generated Node #0,0,2: 77:[20, 99] Operation: 21+78=99
Exploring Operation: 21-20=1, Resulting Numbers: [78, 1]
Generated Node #0,0,3: 77:[78, 1] Operation: 21-20=1
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 77:[78, 1], Operations: ['59-39=20', '21-20=1']
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,77 unequal: No Solution
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[21, 59, 78, 39], Operations: []
Exploring Operation: 59-39=20, Resulting Numbers: [21, 78, 20]
Generated Node #0,0: 77:[21, 78, 20] Operation: 59-39=20
Moving to Node #0,0
Current State: 77:[21, 78, 20], Operations: ['59-39=20']
Exploring Operation: 21-20=1, Resulting Numbers: [78, 1]
Generated Node #0,0,3: 77:[78, 1] Operation: 21-20=1
Moving to Node #0,0,3
Current State: 77:[78, 1], Operations: ['59-39=20', '21-20=1']
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
91,
12,
69,
11
] | 22 | [
"91-69=22",
"12-11=1",
"22*1=22"
] | Current State: 22:[91, 12, 69, 11], Operations: []
Exploring Operation: 91-69=22, Resulting Numbers: [12, 11, 22]
Generated Node #2: [12, 11, 22] from Operation: 91-69=22
Current State: 22:[12, 11, 22], Operations: ['91-69=22']
Exploring Operation: 12-11=1, Resulting Numbers: [22, 1]
Generated Node #3: [22, 1] from Operation: 12-11=1
Current State: 22:[22, 1], Operations: ['91-69=22', '12-11=1']
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[91, 12, 69, 11], Operations: []
Exploring Operation: 91-11=80, Resulting Numbers: [12, 69, 80]
Generated Node #0,0: 22:[12, 69, 80] Operation: 91-11=80
Exploring Operation: 91-12=79, Resulting Numbers: [69, 11, 79]
Generated Node #0,1: 22:[69, 11, 79] Operation: 91-12=79
Exploring Operation: 91-69=22, Resulting Numbers: [12, 11, 22]
Generated Node #0,2: 22:[12, 11, 22] Operation: 91-69=22
Exploring Operation: 69-12=57, Resulting Numbers: [91, 11, 57]
Generated Node #0,3: 22:[91, 11, 57] Operation: 69-12=57
Moving to Node #0,2
Current State: 22:[12, 11, 22], Operations: ['91-69=22']
Exploring Operation: 22-12=10, Resulting Numbers: [11, 10]
Generated Node #0,2,0: 22:[11, 10] Operation: 22-12=10
Exploring Operation: 12+11=23, Resulting Numbers: [22, 23]
Generated Node #0,2,1: 22:[22, 23] Operation: 12+11=23
Exploring Operation: 22-11=11, Resulting Numbers: [12, 11]
Generated Node #0,2,2: 22:[12, 11] Operation: 22-11=11
Exploring Operation: 12-11=1, Resulting Numbers: [22, 1]
Generated Node #0,2,3: 22:[22, 1] Operation: 12-11=1
Moving to Node #0,3
Current State: 22:[91, 11, 57], Operations: ['69-12=57']
Exploring Operation: 91-57=34, Resulting Numbers: [11, 34]
Generated Node #0,3,0: 22:[11, 34] Operation: 91-57=34
Exploring Operation: 91+11=102, Resulting Numbers: [57, 102]
Generated Node #0,3,1: 22:[57, 102] Operation: 91+11=102
Exploring Operation: 57-11=46, Resulting Numbers: [91, 46]
Generated Node #0,3,2: 22:[91, 46] Operation: 57-11=46
Exploring Operation: 91-11=80, Resulting Numbers: [57, 80]
Generated Node #0,3,3: 22:[57, 80] Operation: 91-11=80
Moving to Node #0,1
Current State: 22:[69, 11, 79], Operations: ['91-12=79']
Exploring Operation: 69-11=58, Resulting Numbers: [79, 58]
Generated Node #0,1,0: 22:[79, 58] Operation: 69-11=58
Exploring Operation: 69+11=80, Resulting Numbers: [79, 80]
Generated Node #0,1,1: 22:[79, 80] Operation: 69+11=80
Exploring Operation: 79-11=68, Resulting Numbers: [69, 68]
Generated Node #0,1,2: 22:[69, 68] Operation: 79-11=68
Exploring Operation: 79-69=10, Resulting Numbers: [11, 10]
Generated Node #0,1,3: 22:[11, 10] Operation: 79-69=10
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 22:[11, 10], Operations: ['91-12=79', '79-69=10']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[79, 58], Operations: ['91-12=79', '69-11=58']
Exploring Operation: 79+58=137, Resulting Numbers: [137]
137,22 unequal: No Solution
Exploring Operation: 79-58=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 79*58=4582, Resulting Numbers: [4582]
4582,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 22:[69, 68], Operations: ['91-12=79', '79-11=68']
Exploring Operation: 69-68=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 69+68=137, Resulting Numbers: [137]
137,22 unequal: No Solution
Exploring Operation: 69*68=4692, Resulting Numbers: [4692]
4692,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[79, 80], Operations: ['91-12=79', '69+11=80']
Exploring Operation: 79*80=6320, Resulting Numbers: [6320]
6320,22 unequal: No Solution
Exploring Operation: 79+80=159, Resulting Numbers: [159]
159,22 unequal: No Solution
Exploring Operation: 80-79=1, Resulting Numbers: [1]
1,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 22:[12, 69, 80], Operations: ['91-11=80']
Exploring Operation: 12+69=81, Resulting Numbers: [80, 81]
Generated Node #0,0,0: 22:[80, 81] Operation: 12+69=81
Exploring Operation: 69-12=57, Resulting Numbers: [80, 57]
Generated Node #0,0,1: 22:[80, 57] Operation: 69-12=57
Exploring Operation: 80-69=11, Resulting Numbers: [12, 11]
Generated Node #0,0,2: 22:[12, 11] Operation: 80-69=11
Exploring Operation: 80-12=68, Resulting Numbers: [69, 68]
Generated Node #0,0,3: 22:[69, 68] Operation: 80-12=68
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[12, 11], Operations: ['91-11=80', '80-69=11']
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,22 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[80, 57], Operations: ['91-11=80', '69-12=57']
Exploring Operation: 80+57=137, Resulting Numbers: [137]
137,22 unequal: No Solution
Exploring Operation: 80*57=4560, Resulting Numbers: [4560]
4560,22 unequal: No Solution
Exploring Operation: 80-57=23, Resulting Numbers: [23]
23,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 22:[69, 68], Operations: ['91-11=80', '80-12=68']
Exploring Operation: 69+68=137, Resulting Numbers: [137]
137,22 unequal: No Solution
Exploring Operation: 69*68=4692, Resulting Numbers: [4692]
4692,22 unequal: No Solution
Exploring Operation: 69-68=1, Resulting Numbers: [1]
1,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[80, 81], Operations: ['91-11=80', '12+69=81']
Exploring Operation: 80+81=161, Resulting Numbers: [161]
161,22 unequal: No Solution
Exploring Operation: 81-80=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 80*81=6480, Resulting Numbers: [6480]
6480,22 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: 22:[11, 10], Operations: ['91-69=22', '22-12=10']
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[12, 11], Operations: ['91-69=22', '22-11=11']
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,22 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[22, 23], Operations: ['91-69=22', '12+11=23']
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,22 unequal: No Solution
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Moving to Node #0,2,3
Current State: 22:[22, 1], Operations: ['91-69=22', '12-11=1']
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[91, 12, 69, 11], Operations: []
Exploring Operation: 91-69=22, Resulting Numbers: [12, 11, 22]
Generated Node #0,2: 22:[12, 11, 22] Operation: 91-69=22
Moving to Node #0,2
Current State: 22:[12, 11, 22], Operations: ['91-69=22']
Exploring Operation: 12-11=1, Resulting Numbers: [22, 1]
Generated Node #0,2,3: 22:[22, 1] Operation: 12-11=1
Moving to Node #0,2,3
Current State: 22:[22, 1], Operations: ['91-69=22', '12-11=1']
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.948785 | hs_4 | mult_heuristic |
[
12,
2,
76,
2
] | 19 | [
"12/2=6",
"6-2=4",
"76/4=19"
] | Current State: 19:[12, 2, 76, 2], Operations: []
Exploring Operation: 12/2=6, Resulting Numbers: [76, 6]
Generated Node #2: [76, 6] from Operation: 12/2=6
Current State: 19:[76, 6], Operations: ['12/2=6']
Exploring Operation: 6-2=4, Resulting Numbers: [76, 4]
Generated Node #3: [76, 4] from Operation: 6-2=4
Current State: 19:[76, 4], Operations: ['12/2=6', '6-2=4']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[12, 2, 76, 2], Operations: []
Exploring Operation: 76/2=38, Resulting Numbers: [12, 2, 38]
Generated Node #0,0: 19:[12, 2, 38] Operation: 76/2=38
Exploring Operation: 76/2=38, Resulting Numbers: [12, 2, 38]
Generated Node #0,1: 19:[12, 2, 38] Operation: 76/2=38
Moving to Node #0,0
Current State: 19:[12, 2, 38], Operations: ['76/2=38']
Exploring Operation: 12+2=14, Resulting Numbers: [38, 14]
Generated Node #0,0,0: 19:[38, 14] Operation: 12+2=14
Exploring Operation: 38/2=19, Resulting Numbers: [12, 19]
Generated Node #0,0,1: 19:[12, 19] Operation: 38/2=19
Moving to Node #0,1
Current State: 19:[12, 2, 38], Operations: ['76/2=38']
Exploring Operation: 12+2=14, Resulting Numbers: [38, 14]
Generated Node #0,1,0: 19:[38, 14] Operation: 12+2=14
Exploring Operation: 38/2=19, Resulting Numbers: [12, 19]
Generated Node #0,1,1: 19:[12, 19] Operation: 38/2=19
Moving to Node #0,0,1
Current State: 19:[12, 19], Operations: ['76/2=38', '38/2=19']
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[12, 19], Operations: ['76/2=38', '38/2=19']
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[38, 14], Operations: ['76/2=38', '12+2=14']
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[38, 14], Operations: ['76/2=38', '12+2=14']
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,19 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
97,
38,
65,
46
] | 40 | [
"97-38=59",
"65-46=19",
"59-19=40"
] | Current State: 40:[97, 38, 65, 46], Operations: []
Exploring Operation: 97-38=59, Resulting Numbers: [65, 46, 59]
Generated Node #2: [65, 46, 59] from Operation: 97-38=59
Current State: 40:[65, 46, 59], Operations: ['97-38=59']
Exploring Operation: 65-46=19, Resulting Numbers: [59, 19]
Generated Node #3: [59, 19] from Operation: 65-46=19
Current State: 40:[59, 19], Operations: ['97-38=59', '65-46=19']
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[97, 38, 65, 46], Operations: []
Exploring Operation: 97-65=32, Resulting Numbers: [38, 46, 32]
Generated Node #0,0: 40:[38, 46, 32] Operation: 97-65=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[38, 46, 32], Operations: ['97-65=32']
Exploring Operation: 46-32=14, Resulting Numbers: [38, 14]
Generated Node #0,0,0: 40:[38, 14] Operation: 46-32=14
Moving to Node #0,0,0
Current State: 40:[38, 14], Operations: ['97-65=32', '46-32=14']
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,40 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 |
[
88,
11,
89,
47
] | 37 | [
"88+11=99",
"89+47=136",
"136-99=37"
] | Current State: 37:[88, 11, 89, 47], Operations: []
Exploring Operation: 88+11=99, Resulting Numbers: [89, 47, 99]
Generated Node #2: [89, 47, 99] from Operation: 88+11=99
Current State: 37:[89, 47, 99], Operations: ['88+11=99']
Exploring Operation: 89+47=136, Resulting Numbers: [99, 136]
Generated Node #3: [99, 136] from Operation: 89+47=136
Current State: 37:[99, 136], Operations: ['88+11=99', '89+47=136']
Exploring Operation: 136-99=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[88, 11, 89, 47], Operations: []
Exploring Operation: 89-47=42, Resulting Numbers: [88, 11, 42]
Generated Node #0,0: 37:[88, 11, 42] Operation: 89-47=42
Exploring Operation: 88-47=41, Resulting Numbers: [11, 89, 41]
Generated Node #0,1: 37:[11, 89, 41] Operation: 88-47=41
Exploring Operation: 89-88=1, Resulting Numbers: [11, 47, 1]
Generated Node #0,2: 37:[11, 47, 1] Operation: 89-88=1
Exploring Operation: 88/11=8, Resulting Numbers: [89, 47, 8]
Generated Node #0,3: 37:[89, 47, 8] Operation: 88/11=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[11, 47, 1], Operations: ['89-88=1']
Exploring Operation: 11*1=11, Resulting Numbers: [47, 11]
Generated Node #0,2,0: 37:[47, 11] Operation: 11*1=11
Exploring Operation: 47-1=46, Resulting Numbers: [11, 46]
Generated Node #0,2,1: 37:[11, 46] Operation: 47-1=46
Exploring Operation: 11/1=11, Resulting Numbers: [47, 11]
Generated Node #0,2,2: 37:[47, 11] Operation: 11/1=11
Exploring Operation: 11+1=12, Resulting Numbers: [47, 12]
Generated Node #0,2,3: 37:[47, 12] Operation: 11+1=12
Moving to Node #0,2,1
Current State: 37:[11, 46], Operations: ['89-88=1', '47-1=46']
Exploring Operation: 11+46=57, Resulting Numbers: [57]
57,37 unequal: No Solution
Exploring Operation: 11*46=506, Resulting Numbers: [506]
506,37 unequal: No Solution
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Moving to Node #0,2,3
Current State: 37:[47, 12], Operations: ['89-88=1', '11+1=12']
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 47*12=564, Resulting Numbers: [564]
564,37 unequal: No Solution
Exploring Operation: 47+12=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[47, 11], Operations: ['89-88=1', '11/1=11']
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 47*11=517, Resulting Numbers: [517]
517,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[47, 11], Operations: ['89-88=1', '11*1=11']
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 47*11=517, Resulting Numbers: [517]
517,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:[88, 11, 42], Operations: ['89-47=42']
Exploring Operation: 88-42=46, Resulting Numbers: [11, 46]
Generated Node #0,0,0: 37:[11, 46] Operation: 88-42=46
Exploring Operation: 42-11=31, Resulting Numbers: [88, 31]
Generated Node #0,0,1: 37:[88, 31] Operation: 42-11=31
Exploring Operation: 88-11=77, Resulting Numbers: [42, 77]
Generated Node #0,0,2: 37:[42, 77] Operation: 88-11=77
Exploring Operation: 88/11=8, Resulting Numbers: [42, 8]
Generated Node #0,0,3: 37:[42, 8] Operation: 88/11=8
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 37:[42, 8], Operations: ['89-47=42', '88/11=8']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,37 unequal: No Solution
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,37 unequal: No Solution
No 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: 37:[11, 46], Operations: ['89-47=42', '88-42=46']
Exploring Operation: 11*46=506, Resulting Numbers: [506]
506,37 unequal: No Solution
Exploring Operation: 11+46=57, Resulting Numbers: [57]
57,37 unequal: No Solution
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,37 unequal: No Solution
No 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: 37:[42, 77], Operations: ['89-47=42', '88-11=77']
Exploring Operation: 77-42=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 42+77=119, Resulting Numbers: [119]
119,37 unequal: No Solution
Exploring Operation: 42*77=3234, Resulting Numbers: [3234]
3234,37 unequal: No Solution
No 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: 37:[88, 31], Operations: ['89-47=42', '42-11=31']
Exploring Operation: 88-31=57, Resulting Numbers: [57]
57,37 unequal: No Solution
Exploring Operation: 88+31=119, Resulting Numbers: [119]
119,37 unequal: No Solution
Exploring Operation: 88*31=2728, Resulting Numbers: [2728]
2728,37 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: 37:[11, 89, 41], Operations: ['88-47=41']
Exploring Operation: 89-41=48, Resulting Numbers: [11, 48]
Generated Node #0,1,0: 37:[11, 48] Operation: 89-41=48
Exploring Operation: 89-11=78, Resulting Numbers: [41, 78]
Generated Node #0,1,1: 37:[41, 78] Operation: 89-11=78
Exploring Operation: 41-11=30, Resulting Numbers: [89, 30]
Generated Node #0,1,2: 37:[89, 30] Operation: 41-11=30
Exploring Operation: 11+89=100, Resulting Numbers: [41, 100]
Generated Node #0,1,3: 37:[41, 100] Operation: 11+89=100
Moving to Node #0,1,0
Current State: 37:[11, 48], Operations: ['88-47=41', '89-41=48']
Exploring Operation: 11*48=528, Resulting Numbers: [528]
528,37 unequal: No Solution
Exploring Operation: 11+48=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[88, 11, 89, 47], Operations: []
Exploring Operation: 88-47=41, Resulting Numbers: [11, 89, 41]
Generated Node #0,1: 37:[11, 89, 41] Operation: 88-47=41
Moving to Node #0,1
Current State: 37:[11, 89, 41], Operations: ['88-47=41']
Exploring Operation: 89-41=48, Resulting Numbers: [11, 48]
Generated Node #0,1,0: 37:[11, 48] Operation: 89-41=48
Moving to Node #0,1,0
Current State: 37:[11, 48], Operations: ['88-47=41', '89-41=48']
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_4 | mult_heuristic |
[
28,
70,
2,
48
] | 39 | [
"70-48=22",
"22/2=11",
"28+11=39"
] | Current State: 39:[28, 70, 2, 48], Operations: []
Exploring Operation: 70-48=22, Resulting Numbers: [28, 2, 22]
Generated Node #2: [28, 2, 22] from Operation: 70-48=22
Current State: 39:[28, 2, 22], Operations: ['70-48=22']
Exploring Operation: 22/2=11, Resulting Numbers: [28, 11]
Generated Node #3: [28, 11] from Operation: 22/2=11
Current State: 39:[28, 11], Operations: ['70-48=22', '22/2=11']
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[28, 70, 2, 48], Operations: []
Exploring Operation: 70-48=22, Resulting Numbers: [28, 2, 22]
Generated Node #0,0: 39:[28, 2, 22] Operation: 70-48=22
Exploring Operation: 70-28=42, Resulting Numbers: [2, 48, 42]
Generated Node #0,1: 39:[2, 48, 42] Operation: 70-28=42
Exploring Operation: 70/2=35, Resulting Numbers: [28, 48, 35]
Generated Node #0,2: 39:[28, 48, 35] Operation: 70/2=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[2, 48, 42], Operations: ['70-28=42']
Exploring Operation: 48-42=6, Resulting Numbers: [2, 6]
Generated Node #0,1,0: 39:[2, 6] Operation: 48-42=6
Exploring Operation: 48-2=46, Resulting Numbers: [42, 46]
Generated Node #0,1,1: 39:[42, 46] Operation: 48-2=46
Exploring Operation: 42-2=40, Resulting Numbers: [48, 40]
Generated Node #0,1,2: 39:[48, 40] Operation: 42-2=40
Moving to Node #0,1,0
Current State: 39:[2, 6], Operations: ['70-28=42', '48-42=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[42, 46], Operations: ['70-28=42', '48-2=46']
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,39 unequal: No Solution
Exploring Operation: 42*46=1932, Resulting Numbers: [1932]
1932,39 unequal: No Solution
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[48, 40], Operations: ['70-28=42', '42-2=40']
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 48+40=88, Resulting Numbers: [88]
88,39 unequal: No Solution
Exploring Operation: 48*40=1920, Resulting Numbers: [1920]
1920,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[28, 2, 22], Operations: ['70-48=22']
Exploring Operation: 28-22=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 39:[2, 6] Operation: 28-22=6
Exploring Operation: 28+22=50, Resulting Numbers: [2, 50]
Generated Node #0,0,1: 39:[2, 50] Operation: 28+22=50
Exploring Operation: 28/2=14, Resulting Numbers: [22, 14]
Generated Node #0,0,2: 39:[22, 14] Operation: 28/2=14
Moving to Node #0,0,0
Current State: 39:[2, 6], Operations: ['70-48=22', '28-22=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[22, 14], Operations: ['70-48=22', '28/2=14']
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,39 unequal: No Solution
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[2, 50], Operations: ['70-48=22', '28+22=50']
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,39 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[28, 48, 35], Operations: ['70/2=35']
Exploring Operation: 48-35=13, Resulting Numbers: [28, 13]
Generated Node #0,2,0: 39:[28, 13] Operation: 48-35=13
Exploring Operation: 48-28=20, Resulting Numbers: [35, 20]
Generated Node #0,2,1: 39:[35, 20] Operation: 48-28=20
Exploring Operation: 35-28=7, Resulting Numbers: [48, 7]
Generated Node #0,2,2: 39:[48, 7] Operation: 35-28=7
Moving to Node #0,2,0
Current State: 39:[28, 13], Operations: ['70/2=35', '48-35=13']
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 28*13=364, Resulting Numbers: [364]
364,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[35, 20], Operations: ['70/2=35', '48-28=20']
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,39 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[48, 7], Operations: ['70/2=35', '35-28=7']
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,39 unequal: No Solution
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,39 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 |
[
81,
64,
66,
32
] | 97 | [
"66-64=2",
"32/2=16",
"81+16=97"
] | Current State: 97:[81, 64, 66, 32], Operations: []
Exploring Operation: 66-64=2, Resulting Numbers: [81, 32, 2]
Generated Node #2: [81, 32, 2] from Operation: 66-64=2
Current State: 97:[81, 32, 2], Operations: ['66-64=2']
Exploring Operation: 32/2=16, Resulting Numbers: [81, 16]
Generated Node #3: [81, 16] from Operation: 32/2=16
Current State: 97:[81, 16], Operations: ['66-64=2', '32/2=16']
Exploring Operation: 81+16=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[81, 64, 66, 32], Operations: []
Exploring Operation: 64+32=96, Resulting Numbers: [81, 66, 96]
Generated Node #0,0: 97:[81, 66, 96] Operation: 64+32=96
Moving to Node #0,0
Current State: 97:[81, 66, 96], Operations: ['64+32=96']
Exploring Operation: 81+66=147, Resulting Numbers: [96, 147]
Generated Node #0,0,0: 97:[96, 147] Operation: 81+66=147
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[96, 147], Operations: ['64+32=96', '81+66=147']
Exploring Operation: 147-96=51, Resulting Numbers: [51]
51,97 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 |
[
11,
77,
41,
44
] | 69 | [
"77-11=66",
"44-41=3",
"66+3=69"
] | Current State: 69:[11, 77, 41, 44], Operations: []
Exploring Operation: 77-11=66, Resulting Numbers: [41, 44, 66]
Generated Node #2: [41, 44, 66] from Operation: 77-11=66
Current State: 69:[41, 44, 66], Operations: ['77-11=66']
Exploring Operation: 44-41=3, Resulting Numbers: [66, 3]
Generated Node #3: [66, 3] from Operation: 44-41=3
Current State: 69:[66, 3], Operations: ['77-11=66', '44-41=3']
Exploring Operation: 66+3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[11, 77, 41, 44], Operations: []
Exploring Operation: 44-41=3, Resulting Numbers: [11, 77, 3]
Generated Node #0,0: 69:[11, 77, 3] Operation: 44-41=3
Exploring Operation: 44/11=4, Resulting Numbers: [77, 41, 4]
Generated Node #0,1: 69:[77, 41, 4] Operation: 44/11=4
Exploring Operation: 41+44=85, Resulting Numbers: [11, 77, 85]
Generated Node #0,2: 69:[11, 77, 85] Operation: 41+44=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[11, 77, 3], Operations: ['44-41=3']
Exploring Operation: 11-3=8, Resulting Numbers: [77, 8]
Generated Node #0,0,0: 69:[77, 8] Operation: 11-3=8
Exploring Operation: 77-11=66, Resulting Numbers: [3, 66]
Generated Node #0,0,1: 69:[3, 66] Operation: 77-11=66
Exploring Operation: 77/11=7, Resulting Numbers: [3, 7]
Generated Node #0,0,2: 69:[3, 7] Operation: 77/11=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[3, 66], Operations: ['44-41=3', '77-11=66']
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,69 unequal: No Solution
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[11, 77, 41, 44], Operations: []
Exploring Operation: 44-41=3, Resulting Numbers: [11, 77, 3]
Generated Node #0,0: 69:[11, 77, 3] Operation: 44-41=3
Moving to Node #0,0
Current State: 69:[11, 77, 3], Operations: ['44-41=3']
Exploring Operation: 77-11=66, Resulting Numbers: [3, 66]
Generated Node #0,0,1: 69:[3, 66] Operation: 77-11=66
Moving to Node #0,0,1
Current State: 69:[3, 66], Operations: ['44-41=3', '77-11=66']
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
19,
39,
34,
9
] | 33 | [
"19+39=58",
"34-9=25",
"58-25=33"
] | Current State: 33:[19, 39, 34, 9], Operations: []
Exploring Operation: 19+39=58, Resulting Numbers: [34, 9, 58]
Generated Node #2: [34, 9, 58] from Operation: 19+39=58
Current State: 33:[34, 9, 58], Operations: ['19+39=58']
Exploring Operation: 34-9=25, Resulting Numbers: [58, 25]
Generated Node #3: [58, 25] from Operation: 34-9=25
Current State: 33:[58, 25], Operations: ['19+39=58', '34-9=25']
Exploring Operation: 58-25=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[19, 39, 34, 9], Operations: []
Exploring Operation: 39-19=20, Resulting Numbers: [34, 9, 20]
Generated Node #0,0: 33:[34, 9, 20] Operation: 39-19=20
Exploring Operation: 34-19=15, Resulting Numbers: [39, 9, 15]
Generated Node #0,1: 33:[39, 9, 15] Operation: 34-19=15
Exploring Operation: 19-9=10, Resulting Numbers: [39, 34, 10]
Generated Node #0,2: 33:[39, 34, 10] Operation: 19-9=10
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[39, 34, 10], Operations: ['19-9=10']
Exploring Operation: 39-34=5, Resulting Numbers: [10, 5]
Generated Node #0,2,0: 33:[10, 5] Operation: 39-34=5
Exploring Operation: 39-10=29, Resulting Numbers: [34, 29]
Generated Node #0,2,1: 33:[34, 29] Operation: 39-10=29
Exploring Operation: 34-10=24, Resulting Numbers: [39, 24]
Generated Node #0,2,2: 33:[39, 24] Operation: 34-10=24
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 33:[10, 5], Operations: ['19-9=10', '39-34=5']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,33 unequal: No Solution
No 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: 33:[34, 29], Operations: ['19-9=10', '39-10=29']
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,33 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 34*29=986, Resulting Numbers: [986]
986,33 unequal: No Solution
No 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: 33:[39, 24], Operations: ['19-9=10', '34-10=24']
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 39*24=936, Resulting Numbers: [936]
936,33 unequal: No Solution
Exploring Operation: 39+24=63, Resulting Numbers: [63]
63,33 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: 33:[34, 9, 20], Operations: ['39-19=20']
Exploring Operation: 20-9=11, Resulting Numbers: [34, 11]
Generated Node #0,0,0: 33:[34, 11] Operation: 20-9=11
Exploring Operation: 34-20=14, Resulting Numbers: [9, 14]
Generated Node #0,0,1: 33:[9, 14] Operation: 34-20=14
Exploring Operation: 9+20=29, Resulting Numbers: [34, 29]
Generated Node #0,0,2: 33:[34, 29] Operation: 9+20=29
Moving to Node #0,0,0
Current State: 33:[34, 11], Operations: ['39-19=20', '20-9=11']
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,33 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[9, 14], Operations: ['39-19=20', '34-20=14']
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,33 unequal: No Solution
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[34, 29], Operations: ['39-19=20', '9+20=29']
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,33 unequal: No Solution
Exploring Operation: 34*29=986, Resulting Numbers: [986]
986,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
Current State: 33:[39, 9, 15], Operations: ['34-19=15']
Exploring Operation: 15-9=6, Resulting Numbers: [39, 6]
Generated Node #0,1,0: 33:[39, 6] Operation: 15-9=6
Exploring Operation: 39-15=24, Resulting Numbers: [9, 24]
Generated Node #0,1,1: 33:[9, 24] Operation: 39-15=24
Exploring Operation: 39-9=30, Resulting Numbers: [15, 30]
Generated Node #0,1,2: 33:[15, 30] Operation: 39-9=30
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 33:[15, 30], Operations: ['34-19=15', '39-9=30']
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 15+30=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,33 unequal: No Solution
No 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: 33:[39, 6], Operations: ['34-19=15', '15-9=6']
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,33 unequal: No Solution
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[19, 39, 34, 9], Operations: []
Exploring Operation: 34-19=15, Resulting Numbers: [39, 9, 15]
Generated Node #0,1: 33:[39, 9, 15] Operation: 34-19=15
Moving to Node #0,1
Current State: 33:[39, 9, 15], Operations: ['34-19=15']
Exploring Operation: 15-9=6, Resulting Numbers: [39, 6]
Generated Node #0,1,0: 33:[39, 6] Operation: 15-9=6
Moving to Node #0,1,0
Current State: 33:[39, 6], Operations: ['34-19=15', '15-9=6']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.965278 | hs_3 | mult_heuristic |
[
68,
40,
42,
36
] | 70 | [
"42-40=2",
"68/2=34",
"36+34=70"
] | Current State: 70:[68, 40, 42, 36], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [68, 36, 2]
Generated Node #2: [68, 36, 2] from Operation: 42-40=2
Current State: 70:[68, 36, 2], Operations: ['42-40=2']
Exploring Operation: 68/2=34, Resulting Numbers: [36, 34]
Generated Node #3: [36, 34] from Operation: 68/2=34
Current State: 70:[36, 34], Operations: ['42-40=2', '68/2=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[68, 40, 42, 36], Operations: []
Exploring Operation: 42-36=6, Resulting Numbers: [68, 40, 6]
Generated Node #0,0: 70:[68, 40, 6] Operation: 42-36=6
Exploring Operation: 68-40=28, Resulting Numbers: [42, 36, 28]
Generated Node #0,1: 70:[42, 36, 28] Operation: 68-40=28
Exploring Operation: 40-36=4, Resulting Numbers: [68, 42, 4]
Generated Node #0,2: 70:[68, 42, 4] Operation: 40-36=4
Exploring Operation: 42-40=2, Resulting Numbers: [68, 36, 2]
Generated Node #0,3: 70:[68, 36, 2] Operation: 42-40=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[68, 36, 2], Operations: ['42-40=2']
Exploring Operation: 68+2=70, Resulting Numbers: [36, 70]
Generated Node #0,3,0: 70:[36, 70] Operation: 68+2=70
Exploring Operation: 36-2=34, Resulting Numbers: [68, 34]
Generated Node #0,3,1: 70:[68, 34] Operation: 36-2=34
Exploring Operation: 68-36=32, Resulting Numbers: [2, 32]
Generated Node #0,3,2: 70:[2, 32] Operation: 68-36=32
Exploring Operation: 68/2=34, Resulting Numbers: [36, 34]
Generated Node #0,3,3: 70:[36, 34] Operation: 68/2=34
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 70:[36, 70], Operations: ['42-40=2', '68+2=70']
Exploring Operation: 36+70=106, Resulting Numbers: [106]
106,70 unequal: No Solution
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 36*70=2520, Resulting Numbers: [2520]
2520,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 70:[36, 34], Operations: ['42-40=2', '68/2=34']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[68, 40, 42, 36], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [68, 36, 2]
Generated Node #0,3: 70:[68, 36, 2] Operation: 42-40=2
Moving to Node #0,3
Current State: 70:[68, 36, 2], Operations: ['42-40=2']
Exploring Operation: 68/2=34, Resulting Numbers: [36, 34]
Generated Node #0,3,3: 70:[36, 34] Operation: 68/2=34
Moving to Node #0,3,3
Current State: 70:[36, 34], Operations: ['42-40=2', '68/2=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
31,
13,
23,
14
] | 99 | [
"31-23=8",
"14*8=112",
"112-13=99"
] | Current State: 99:[31, 13, 23, 14], Operations: []
Exploring Operation: 31-23=8, Resulting Numbers: [13, 14, 8]
Generated Node #2: [13, 14, 8] from Operation: 31-23=8
Current State: 99:[13, 14, 8], Operations: ['31-23=8']
Exploring Operation: 14*8=112, Resulting Numbers: [13, 112]
Generated Node #3: [13, 112] from Operation: 14*8=112
Current State: 99:[13, 112], Operations: ['31-23=8', '14*8=112']
Exploring Operation: 112-13=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[31, 13, 23, 14], Operations: []
Exploring Operation: 23-14=9, Resulting Numbers: [31, 13, 9]
Generated Node #0,0: 99:[31, 13, 9] Operation: 23-14=9
Exploring Operation: 23-13=10, Resulting Numbers: [31, 14, 10]
Generated Node #0,1: 99:[31, 14, 10] Operation: 23-13=10
Exploring Operation: 31-23=8, Resulting Numbers: [13, 14, 8]
Generated Node #0,2: 99:[13, 14, 8] Operation: 31-23=8
Exploring Operation: 13+23=36, Resulting Numbers: [31, 14, 36]
Generated Node #0,3: 99:[31, 14, 36] Operation: 13+23=36
Moving to Node #0,0
Current State: 99:[31, 13, 9], Operations: ['23-14=9']
Exploring Operation: 31+9=40, Resulting Numbers: [13, 40]
Generated Node #0,0,0: 99:[13, 40] Operation: 31+9=40
Exploring Operation: 31-13=18, Resulting Numbers: [9, 18]
Generated Node #0,0,1: 99:[9, 18] Operation: 31-13=18
Exploring Operation: 13-9=4, Resulting Numbers: [31, 4]
Generated Node #0,0,2: 99:[31, 4] Operation: 13-9=4
Exploring Operation: 31+13=44, Resulting Numbers: [9, 44]
Generated Node #0,0,3: 99:[9, 44] Operation: 31+13=44
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 99:[31, 4], Operations: ['23-14=9', '13-9=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,99 unequal: No Solution
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,99 unequal: No Solution
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,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,1
Current State: 99:[9, 18], Operations: ['23-14=9', '31-13=18']
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: 18-9=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,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:[13, 40], Operations: ['23-14=9', '31+9=40']
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,99 unequal: No Solution
Exploring Operation: 13*40=520, Resulting Numbers: [520]
520,99 unequal: No Solution
Exploring Operation: 13+40=53, Resulting Numbers: [53]
53,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:[9, 44], Operations: ['23-14=9', '31+13=44']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,99 unequal: No Solution
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,99 unequal: No Solution
Exploring Operation: 9*44=396, Resulting Numbers: [396]
396,99 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: 99:[13, 14, 8], Operations: ['31-23=8']
Exploring Operation: 14-8=6, Resulting Numbers: [13, 6]
Generated Node #0,2,0: 99:[13, 6] Operation: 14-8=6
Exploring Operation: 14-13=1, Resulting Numbers: [8, 1]
Generated Node #0,2,1: 99:[8, 1] Operation: 14-13=1
Exploring Operation: 13-8=5, Resulting Numbers: [14, 5]
Generated Node #0,2,2: 99:[14, 5] Operation: 13-8=5
Exploring Operation: 13+14=27, Resulting Numbers: [8, 27]
Generated Node #0,2,3: 99:[8, 27] Operation: 13+14=27
Moving to Node #0,1
Current State: 99:[31, 14, 10], Operations: ['23-13=10']
Exploring Operation: 14+10=24, Resulting Numbers: [31, 24]
Generated Node #0,1,0: 99:[31, 24] Operation: 14+10=24
Exploring Operation: 14-10=4, Resulting Numbers: [31, 4]
Generated Node #0,1,1: 99:[31, 4] Operation: 14-10=4
Exploring Operation: 31-14=17, Resulting Numbers: [10, 17]
Generated Node #0,1,2: 99:[10, 17] Operation: 31-14=17
Exploring Operation: 31+10=41, Resulting Numbers: [14, 41]
Generated Node #0,1,3: 99:[14, 41] Operation: 31+10=41
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[31, 4], Operations: ['23-13=10', '14-10=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,99 unequal: No Solution
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,99 unequal: No Solution
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,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,2
Current State: 99:[10, 17], Operations: ['23-13=10', '31-14=17']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,99 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,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:[31, 24], Operations: ['23-13=10', '14+10=24']
Exploring Operation: 31+24=55, Resulting Numbers: [55]
55,99 unequal: No Solution
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Exploring Operation: 31*24=744, Resulting Numbers: [744]
744,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:[14, 41], Operations: ['23-13=10', '31+10=41']
Exploring Operation: 14*41=574, Resulting Numbers: [574]
574,99 unequal: No Solution
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,99 unequal: No Solution
Exploring Operation: 14+41=55, Resulting Numbers: [55]
55,99 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: 99:[31, 14, 36], Operations: ['13+23=36']
Exploring Operation: 31-14=17, Resulting Numbers: [36, 17]
Generated Node #0,3,0: 99:[36, 17] Operation: 31-14=17
Exploring Operation: 31+14=45, Resulting Numbers: [36, 45]
Generated Node #0,3,1: 99:[36, 45] Operation: 31+14=45
Exploring Operation: 36-31=5, Resulting Numbers: [14, 5]
Generated Node #0,3,2: 99:[14, 5] Operation: 36-31=5
Exploring Operation: 36-14=22, Resulting Numbers: [31, 22]
Generated Node #0,3,3: 99:[31, 22] Operation: 36-14=22
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 99:[14, 5], Operations: ['13+23=36', '36-31=5']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,99 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 99:[36, 17], Operations: ['13+23=36', '31-14=17']
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,99 unequal: No Solution
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,99 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 99:[31, 22], Operations: ['13+23=36', '36-14=22']
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 31+22=53, Resulting Numbers: [53]
53,99 unequal: No Solution
Exploring Operation: 31*22=682, Resulting Numbers: [682]
682,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 99:[36, 45], Operations: ['13+23=36', '31+14=45']
Exploring Operation: 45-36=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 36+45=81, Resulting Numbers: [81]
81,99 unequal: No Solution
Exploring Operation: 36*45=1620, Resulting Numbers: [1620]
1620,99 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: 99:[8, 1], Operations: ['31-23=8', '14-13=1']
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[14, 5], Operations: ['31-23=8', '13-8=5']
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,99 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Moving to Node #0,2,0
Current State: 99:[13, 6], Operations: ['31-23=8', '14-8=6']
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,99 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Moving to Node #0,2,3
Current State: 99:[8, 27], Operations: ['31-23=8', '13+14=27']
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,99 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,99 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
15,
10,
90,
76
] | 10 | [
"90-15=75",
"76-75=1",
"10*1=10"
] | Current State: 10:[15, 10, 90, 76], Operations: []
Exploring Operation: 90-15=75, Resulting Numbers: [10, 76, 75]
Generated Node #2: [10, 76, 75] from Operation: 90-15=75
Current State: 10:[10, 76, 75], Operations: ['90-15=75']
Exploring Operation: 76-75=1, Resulting Numbers: [10, 1]
Generated Node #3: [10, 1] from Operation: 76-75=1
Current State: 10:[10, 1], Operations: ['90-15=75', '76-75=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[15, 10, 90, 76], Operations: []
Exploring Operation: 90-15=75, Resulting Numbers: [10, 76, 75]
Generated Node #0,0: 10:[10, 76, 75] Operation: 90-15=75
Exploring Operation: 90/15=6, Resulting Numbers: [10, 76, 6]
Generated Node #0,1: 10:[10, 76, 6] Operation: 90/15=6
Exploring Operation: 76-15=61, Resulting Numbers: [10, 90, 61]
Generated Node #0,2: 10:[10, 90, 61] Operation: 76-15=61
Exploring Operation: 90/10=9, Resulting Numbers: [15, 76, 9]
Generated Node #0,3: 10:[15, 76, 9] Operation: 90/10=9
Exploring Operation: 90-76=14, Resulting Numbers: [15, 10, 14]
Generated Node #0,4: 10:[15, 10, 14] Operation: 90-76=14
Moving to Node #0,4
Current State: 10:[15, 10, 14], Operations: ['90-76=14']
Exploring Operation: 15-10=5, Resulting Numbers: [14, 5]
Generated Node #0,4,0: 10:[14, 5] Operation: 15-10=5
Exploring Operation: 15+10=25, Resulting Numbers: [14, 25]
Generated Node #0,4,1: 10:[14, 25] Operation: 15+10=25
Exploring Operation: 14-10=4, Resulting Numbers: [15, 4]
Generated Node #0,4,2: 10:[15, 4] Operation: 14-10=4
Exploring Operation: 15-14=1, Resulting Numbers: [10, 1]
Generated Node #0,4,3: 10:[10, 1] Operation: 15-14=1
Exploring Operation: 15+14=29, Resulting Numbers: [10, 29]
Generated Node #0,4,4: 10:[10, 29] Operation: 15+14=29
Moving to Node #0,1
Current State: 10:[10, 76, 6], Operations: ['90/15=6']
Exploring Operation: 76-10=66, Resulting Numbers: [6, 66]
Generated Node #0,1,0: 10:[6, 66] Operation: 76-10=66
Exploring Operation: 76+6=82, Resulting Numbers: [10, 82]
Generated Node #0,1,1: 10:[10, 82] Operation: 76+6=82
Exploring Operation: 76-6=70, Resulting Numbers: [10, 70]
Generated Node #0,1,2: 10:[10, 70] Operation: 76-6=70
Exploring Operation: 10-6=4, Resulting Numbers: [76, 4]
Generated Node #0,1,3: 10:[76, 4] Operation: 10-6=4
Exploring Operation: 10+6=16, Resulting Numbers: [76, 16]
Generated Node #0,1,4: 10:[76, 16] Operation: 10+6=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[6, 66], Operations: ['90/15=6', '76-10=66']
Exploring Operation: 6*66=396, Resulting Numbers: [396]
396,10 unequal: No Solution
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 6+66=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 10:[10, 70], Operations: ['90/15=6', '76-6=70']
Exploring Operation: 10*70=700, Resulting Numbers: [700]
700,10 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 10+70=80, Resulting Numbers: [80]
80,10 unequal: No Solution
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 10:[76, 4], Operations: ['90/15=6', '10-6=4']
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,10 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[10, 82], Operations: ['90/15=6', '76+6=82']
Exploring Operation: 10*82=820, Resulting Numbers: [820]
820,10 unequal: No Solution
Exploring Operation: 10+82=92, Resulting Numbers: [92]
92,10 unequal: No Solution
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 10:[76, 16], Operations: ['90/15=6', '10+6=16']
Exploring Operation: 76-16=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 76+16=92, Resulting Numbers: [92]
92,10 unequal: No Solution
Exploring Operation: 76*16=1216, Resulting Numbers: [1216]
1216,10 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: 10:[15, 76, 9], Operations: ['90/10=9']
Exploring Operation: 76+9=85, Resulting Numbers: [15, 85]
Generated Node #0,3,0: 10:[15, 85] Operation: 76+9=85
Exploring Operation: 15+9=24, Resulting Numbers: [76, 24]
Generated Node #0,3,1: 10:[76, 24] Operation: 15+9=24
Exploring Operation: 15-9=6, Resulting Numbers: [76, 6]
Generated Node #0,3,2: 10:[76, 6] Operation: 15-9=6
Exploring Operation: 76-15=61, Resulting Numbers: [9, 61]
Generated Node #0,3,3: 10:[9, 61] Operation: 76-15=61
Exploring Operation: 76-9=67, Resulting Numbers: [15, 67]
Generated Node #0,3,4: 10:[15, 67] Operation: 76-9=67
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 10:[9, 61], Operations: ['90/10=9', '76-15=61']
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 9*61=549, Resulting Numbers: [549]
549,10 unequal: No Solution
Exploring Operation: 9+61=70, Resulting Numbers: [70]
70,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 10:[15, 67], Operations: ['90/10=9', '76-9=67']
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 15+67=82, Resulting Numbers: [82]
82,10 unequal: No Solution
Exploring Operation: 15*67=1005, Resulting Numbers: [1005]
1005,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 10:[76, 6], Operations: ['90/10=9', '15-9=6']
Exploring Operation: 76*6=456, Resulting Numbers: [456]
456,10 unequal: No Solution
Exploring Operation: 76+6=82, Resulting Numbers: [82]
82,10 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 10:[15, 85], Operations: ['90/10=9', '76+9=85']
Exploring Operation: 15*85=1275, Resulting Numbers: [1275]
1275,10 unequal: No Solution
Exploring Operation: 85-15=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Exploring Operation: 15+85=100, Resulting Numbers: [100]
100,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 10:[76, 24], Operations: ['90/10=9', '15+9=24']
Exploring Operation: 76*24=1824, Resulting Numbers: [1824]
1824,10 unequal: No Solution
Exploring Operation: 76+24=100, Resulting Numbers: [100]
100,10 unequal: No Solution
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 10:[10, 76, 75], Operations: ['90-15=75']
Exploring Operation: 76-10=66, Resulting Numbers: [75, 66]
Generated Node #0,0,0: 10:[75, 66] Operation: 76-10=66
Exploring Operation: 75-10=65, Resulting Numbers: [76, 65]
Generated Node #0,0,1: 10:[76, 65] Operation: 75-10=65
Exploring Operation: 10+75=85, Resulting Numbers: [76, 85]
Generated Node #0,0,2: 10:[76, 85] Operation: 10+75=85
Exploring Operation: 76-75=1, Resulting Numbers: [10, 1]
Generated Node #0,0,3: 10:[10, 1] Operation: 76-75=1
Exploring Operation: 10+76=86, Resulting Numbers: [75, 86]
Generated Node #0,0,4: 10:[75, 86] Operation: 10+76=86
Moving to Node #0,2
Current State: 10:[10, 90, 61], Operations: ['76-15=61']
Exploring Operation: 90-10=80, Resulting Numbers: [61, 80]
Generated Node #0,2,0: 10:[61, 80] Operation: 90-10=80
Exploring Operation: 61-10=51, Resulting Numbers: [90, 51]
Generated Node #0,2,1: 10:[90, 51] Operation: 61-10=51
Exploring Operation: 90-61=29, Resulting Numbers: [10, 29]
Generated Node #0,2,2: 10:[10, 29] Operation: 90-61=29
Exploring Operation: 10+90=100, Resulting Numbers: [61, 100]
Generated Node #0,2,3: 10:[61, 100] Operation: 10+90=100
Exploring Operation: 90/10=9, Resulting Numbers: [61, 9]
Generated Node #0,2,4: 10:[61, 9] Operation: 90/10=9
Moving to Node #0,4,3
Current State: 10:[10, 1], Operations: ['90-76=14', '15-14=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[15, 10, 90, 76], Operations: []
Exploring Operation: 90-76=14, Resulting Numbers: [15, 10, 14]
Generated Node #0,4: 10:[15, 10, 14] Operation: 90-76=14
Moving to Node #0,4
Current State: 10:[15, 10, 14], Operations: ['90-76=14']
Exploring Operation: 15-14=1, Resulting Numbers: [10, 1]
Generated Node #0,4,3: 10:[10, 1] Operation: 15-14=1
Moving to Node #0,4,3
Current State: 10:[10, 1], Operations: ['90-76=14', '15-14=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.940972 | hs_5 | mult_heuristic |
[
38,
87,
41,
62
] | 99 | [
"41-38=3",
"62*3=186",
"186-87=99"
] | Current State: 99:[38, 87, 41, 62], Operations: []
Exploring Operation: 41-38=3, Resulting Numbers: [87, 62, 3]
Generated Node #2: [87, 62, 3] from Operation: 41-38=3
Current State: 99:[87, 62, 3], Operations: ['41-38=3']
Exploring Operation: 62*3=186, Resulting Numbers: [87, 186]
Generated Node #3: [87, 186] from Operation: 62*3=186
Current State: 99:[87, 186], Operations: ['41-38=3', '62*3=186']
Exploring Operation: 186-87=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[38, 87, 41, 62], Operations: []
Exploring Operation: 38+62=100, Resulting Numbers: [87, 41, 100]
Generated Node #0,0: 99:[87, 41, 100] Operation: 38+62=100
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[87, 41, 100], Operations: ['38+62=100']
Exploring Operation: 100-87=13, Resulting Numbers: [41, 13]
Generated Node #0,0,0: 99:[41, 13] Operation: 100-87=13
Moving to Node #0,0,0
Current State: 99:[41, 13], Operations: ['38+62=100', '100-87=13']
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,99 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 |
[
74,
70,
3,
26
] | 22 | [
"74+70=144",
"144/3=48",
"48-26=22"
] | Current State: 22:[74, 70, 3, 26], Operations: []
Exploring Operation: 74+70=144, Resulting Numbers: [3, 26, 144]
Generated Node #2: [3, 26, 144] from Operation: 74+70=144
Current State: 22:[3, 26, 144], Operations: ['74+70=144']
Exploring Operation: 144/3=48, Resulting Numbers: [26, 48]
Generated Node #3: [26, 48] from Operation: 144/3=48
Current State: 22:[26, 48], Operations: ['74+70=144', '144/3=48']
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[74, 70, 3, 26], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [3, 26, 4]
Generated Node #0,0: 22:[3, 26, 4] Operation: 74-70=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[3, 26, 4], Operations: ['74-70=4']
Exploring Operation: 26-4=22, Resulting Numbers: [3, 22]
Generated Node #0,0,0: 22:[3, 22] Operation: 26-4=22
Moving to Node #0,0,0
Current State: 22:[3, 22], Operations: ['74-70=4', '26-4=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,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 |
[
33,
19,
96,
53
] | 44 | [
"33*96=3168",
"19+53=72",
"3168/72=44"
] | Current State: 44:[33, 19, 96, 53], Operations: []
Exploring Operation: 33*96=3168, Resulting Numbers: [19, 53, 3168]
Generated Node #2: [19, 53, 3168] from Operation: 33*96=3168
Current State: 44:[19, 53, 3168], Operations: ['33*96=3168']
Exploring Operation: 19+53=72, Resulting Numbers: [3168, 72]
Generated Node #3: [3168, 72] from Operation: 19+53=72
Current State: 44:[3168, 72], Operations: ['33*96=3168', '19+53=72']
Exploring Operation: 3168/72=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[33, 19, 96, 53], Operations: []
Exploring Operation: 96-33=63, Resulting Numbers: [19, 53, 63]
Generated Node #0,0: 44:[19, 53, 63] Operation: 96-33=63
Exploring Operation: 96-53=43, Resulting Numbers: [33, 19, 43]
Generated Node #0,1: 44:[33, 19, 43] Operation: 96-53=43
Exploring Operation: 33-19=14, Resulting Numbers: [96, 53, 14]
Generated Node #0,2: 44:[96, 53, 14] Operation: 33-19=14
Exploring Operation: 96-19=77, Resulting Numbers: [33, 53, 77]
Generated Node #0,3: 44:[33, 53, 77] Operation: 96-19=77
Exploring Operation: 53-33=20, Resulting Numbers: [19, 96, 20]
Generated Node #0,4: 44:[19, 96, 20] Operation: 53-33=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[33, 19, 43], Operations: ['96-53=43']
Exploring Operation: 33+19=52, Resulting Numbers: [43, 52]
Generated Node #0,1,0: 44:[43, 52] Operation: 33+19=52
Exploring Operation: 19+43=62, Resulting Numbers: [33, 62]
Generated Node #0,1,1: 44:[33, 62] Operation: 19+43=62
Exploring Operation: 43-19=24, Resulting Numbers: [33, 24]
Generated Node #0,1,2: 44:[33, 24] Operation: 43-19=24
Exploring Operation: 33-19=14, Resulting Numbers: [43, 14]
Generated Node #0,1,3: 44:[43, 14] Operation: 33-19=14
Exploring Operation: 43-33=10, Resulting Numbers: [19, 10]
Generated Node #0,1,4: 44:[19, 10] Operation: 43-33=10
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 44:[43, 14], Operations: ['96-53=43', '33-19=14']
Exploring Operation: 43+14=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 43*14=602, Resulting Numbers: [602]
602,44 unequal: No Solution
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,44 unequal: No Solution
No 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: 44:[19, 10], Operations: ['96-53=43', '43-33=10']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,44 unequal: No Solution
No 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: 44:[43, 52], Operations: ['96-53=43', '33+19=52']
Exploring Operation: 43+52=95, Resulting Numbers: [95]
95,44 unequal: No Solution
Exploring Operation: 43*52=2236, Resulting Numbers: [2236]
2236,44 unequal: No Solution
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,44 unequal: No Solution
No 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: 44:[33, 24], Operations: ['96-53=43', '43-19=24']
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,44 unequal: No Solution
No 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: 44:[33, 62], Operations: ['96-53=43', '19+43=62']
Exploring Operation: 33+62=95, Resulting Numbers: [95]
95,44 unequal: No Solution
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 33*62=2046, Resulting Numbers: [2046]
2046,44 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: 44:[19, 53, 63], Operations: ['96-33=63']
Exploring Operation: 19+63=82, Resulting Numbers: [53, 82]
Generated Node #0,0,0: 44:[53, 82] Operation: 19+63=82
Exploring Operation: 63-53=10, Resulting Numbers: [19, 10]
Generated Node #0,0,1: 44:[19, 10] Operation: 63-53=10
Exploring Operation: 19+53=72, Resulting Numbers: [63, 72]
Generated Node #0,0,2: 44:[63, 72] Operation: 19+53=72
Exploring Operation: 53-19=34, Resulting Numbers: [63, 34]
Generated Node #0,0,3: 44:[63, 34] Operation: 53-19=34
Exploring Operation: 63-19=44, Resulting Numbers: [53, 44]
Generated Node #0,0,4: 44:[53, 44] Operation: 63-19=44
Moving to Node #0,0,1
Current State: 44:[19, 10], Operations: ['96-33=63', '63-53=10']
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,44 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Moving to Node #0,0,4
Current State: 44:[53, 44], Operations: ['96-33=63', '63-19=44']
Exploring Operation: 53-44=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 53*44=2332, Resulting Numbers: [2332]
2332,44 unequal: No Solution
Exploring Operation: 53+44=97, Resulting Numbers: [97]
97,44 unequal: No Solution
Moving to Node #0,0,3
Current State: 44:[63, 34], Operations: ['96-33=63', '53-19=34']
Exploring Operation: 63*34=2142, Resulting Numbers: [2142]
2142,44 unequal: No Solution
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 63+34=97, Resulting Numbers: [97]
97,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[53, 82], Operations: ['96-33=63', '19+63=82']
Exploring Operation: 53+82=135, Resulting Numbers: [135]
135,44 unequal: No Solution
Exploring Operation: 53*82=4346, Resulting Numbers: [4346]
4346,44 unequal: No Solution
Exploring Operation: 82-53=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[63, 72], Operations: ['96-33=63', '19+53=72']
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 63+72=135, Resulting Numbers: [135]
135,44 unequal: No Solution
Exploring Operation: 63*72=4536, Resulting Numbers: [4536]
4536,44 unequal: No Solution
No 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: 44:[33, 53, 77], Operations: ['96-19=77']
Exploring Operation: 33+53=86, Resulting Numbers: [77, 86]
Generated Node #0,3,0: 44:[77, 86] Operation: 33+53=86
Exploring Operation: 77-33=44, Resulting Numbers: [53, 44]
Generated Node #0,3,1: 44:[53, 44] Operation: 77-33=44
Exploring Operation: 33+77=110, Resulting Numbers: [53, 110]
Generated Node #0,3,2: 44:[53, 110] Operation: 33+77=110
Exploring Operation: 53-33=20, Resulting Numbers: [77, 20]
Generated Node #0,3,3: 44:[77, 20] Operation: 53-33=20
Exploring Operation: 77-53=24, Resulting Numbers: [33, 24]
Generated Node #0,3,4: 44:[33, 24] Operation: 77-53=24
Moving to Node #0,3,1
Current State: 44:[53, 44], Operations: ['96-19=77', '77-33=44']
Exploring Operation: 53+44=97, Resulting Numbers: [97]
97,44 unequal: No Solution
Exploring Operation: 53-44=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 53*44=2332, Resulting Numbers: [2332]
2332,44 unequal: No Solution
Moving to Node #0,3,4
Current State: 44:[33, 24], Operations: ['96-19=77', '77-53=24']
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,44 unequal: No Solution
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Moving to Node #0,3,3
Current State: 44:[77, 20], Operations: ['96-19=77', '53-33=20']
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,44 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 77*20=1540, Resulting Numbers: [1540]
1540,44 unequal: No Solution
Moving to Node #0,3,0
Current State: 44:[77, 86], Operations: ['96-19=77', '33+53=86']
Exploring Operation: 86-77=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 77*86=6622, Resulting Numbers: [6622]
6622,44 unequal: No Solution
Exploring Operation: 77+86=163, Resulting Numbers: [163]
163,44 unequal: No Solution
Moving to Node #0,3,2
Current State: 44:[53, 110], Operations: ['96-19=77', '33+77=110']
Exploring Operation: 53*110=5830, Resulting Numbers: [5830]
5830,44 unequal: No Solution
Exploring Operation: 53+110=163, Resulting Numbers: [163]
163,44 unequal: No Solution
Exploring Operation: 110-53=57, Resulting Numbers: [57]
57,44 unequal: No Solution
No 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: 44:[19, 96, 20], Operations: ['53-33=20']
Exploring Operation: 96-19=77, Resulting Numbers: [20, 77]
Generated Node #0,4,0: 44:[20, 77] Operation: 96-19=77
Exploring Operation: 20-19=1, Resulting Numbers: [96, 1]
Generated Node #0,4,1: 44:[96, 1] Operation: 20-19=1
Exploring Operation: 19+96=115, Resulting Numbers: [20, 115]
Generated Node #0,4,2: 44:[20, 115] Operation: 19+96=115
Exploring Operation: 19+20=39, Resulting Numbers: [96, 39]
Generated Node #0,4,3: 44:[96, 39] Operation: 19+20=39
Exploring Operation: 96-20=76, Resulting Numbers: [19, 76]
Generated Node #0,4,4: 44:[19, 76] Operation: 96-20=76
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 44:[20, 77], Operations: ['53-33=20', '96-19=77']
Exploring Operation: 20+77=97, Resulting Numbers: [97]
97,44 unequal: No Solution
Exploring Operation: 20*77=1540, Resulting Numbers: [1540]
1540,44 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,44 unequal: No Solution
No 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: 44:[19, 76], Operations: ['53-33=20', '96-20=76']
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 19*76=1444, Resulting Numbers: [1444]
1444,44 unequal: No Solution
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 19+76=95, Resulting Numbers: [95]
95,44 unequal: No Solution
No 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: 44:[96, 1], Operations: ['53-33=20', '20-19=1']
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,44 unequal: No Solution
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,44 unequal: No Solution
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,44 unequal: No Solution
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,44 unequal: No Solution
No 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: 44:[96, 39], Operations: ['53-33=20', '19+20=39']
Exploring Operation: 96*39=3744, Resulting Numbers: [3744]
3744,44 unequal: No Solution
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 96+39=135, Resulting Numbers: [135]
135,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 44:[20, 115], Operations: ['53-33=20', '19+96=115']
Exploring Operation: 20+115=135, Resulting Numbers: [135]
135,44 unequal: No Solution
Exploring Operation: 115-20=95, Resulting Numbers: [95]
95,44 unequal: No Solution
Exploring Operation: 20*115=2300, Resulting Numbers: [2300]
2300,44 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: 44:[96, 53, 14], Operations: ['33-19=14']
Exploring Operation: 53+14=67, Resulting Numbers: [96, 67]
Generated Node #0,2,0: 44:[96, 67] Operation: 53+14=67
Exploring Operation: 96-14=82, Resulting Numbers: [53, 82]
Generated Node #0,2,1: 44:[53, 82] Operation: 96-14=82
Exploring Operation: 96+14=110, Resulting Numbers: [53, 110]
Generated Node #0,2,2: 44:[53, 110] Operation: 96+14=110
Exploring Operation: 96-53=43, Resulting Numbers: [14, 43]
Generated Node #0,2,3: 44:[14, 43] Operation: 96-53=43
Exploring Operation: 53-14=39, Resulting Numbers: [96, 39]
Generated Node #0,2,4: 44:[96, 39] Operation: 53-14=39
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 44:[14, 43], Operations: ['33-19=14', '96-53=43']
Exploring Operation: 14*43=602, Resulting Numbers: [602]
602,44 unequal: No Solution
Exploring Operation: 14+43=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,44 unequal: No Solution
No 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: 44:[53, 82], Operations: ['33-19=14', '96-14=82']
Exploring Operation: 53*82=4346, Resulting Numbers: [4346]
4346,44 unequal: No Solution
Exploring Operation: 82-53=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 53+82=135, Resulting Numbers: [135]
135,44 unequal: No Solution
No 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: 44:[96, 39], Operations: ['33-19=14', '53-14=39']
Exploring Operation: 96*39=3744, Resulting Numbers: [3744]
3744,44 unequal: No Solution
Exploring Operation: 96+39=135, Resulting Numbers: [135]
135,44 unequal: No Solution
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,44 unequal: No Solution
No 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: 44:[96, 67], Operations: ['33-19=14', '53+14=67']
Exploring Operation: 96-67=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 96+67=163, Resulting Numbers: [163]
163,44 unequal: No Solution
Exploring Operation: 96*67=6432, Resulting Numbers: [6432]
6432,44 unequal: No Solution
No 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: 44:[53, 110], Operations: ['33-19=14', '96+14=110']
Exploring Operation: 53+110=163, Resulting Numbers: [163]
163,44 unequal: No Solution
Exploring Operation: 110-53=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 53*110=5830, Resulting Numbers: [5830]
5830,44 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 |
[
27,
94,
63,
9
] | 96 | [
"63-9=54",
"54/27=2",
"94+2=96"
] | Current State: 96:[27, 94, 63, 9], Operations: []
Exploring Operation: 63-9=54, Resulting Numbers: [27, 94, 54]
Generated Node #2: [27, 94, 54] from Operation: 63-9=54
Current State: 96:[27, 94, 54], Operations: ['63-9=54']
Exploring Operation: 54/27=2, Resulting Numbers: [94, 2]
Generated Node #3: [94, 2] from Operation: 54/27=2
Current State: 96:[94, 2], Operations: ['63-9=54', '54/27=2']
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[27, 94, 63, 9], Operations: []
Exploring Operation: 94-63=31, Resulting Numbers: [27, 9, 31]
Generated Node #0,0: 96:[27, 9, 31] Operation: 94-63=31
Moving to Node #0,0
Current State: 96:[27, 9, 31], Operations: ['94-63=31']
Exploring Operation: 27/9=3, Resulting Numbers: [31, 3]
Generated Node #0,0,0: 96:[31, 3] Operation: 27/9=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[31, 3], Operations: ['94-63=31', '27/9=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,96 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 |
[
6,
83,
71,
84
] | 78 | [
"83-6=77",
"71+84=155",
"155-77=78"
] | Current State: 78:[6, 83, 71, 84], Operations: []
Exploring Operation: 83-6=77, Resulting Numbers: [71, 84, 77]
Generated Node #2: [71, 84, 77] from Operation: 83-6=77
Current State: 78:[71, 84, 77], Operations: ['83-6=77']
Exploring Operation: 71+84=155, Resulting Numbers: [77, 155]
Generated Node #3: [77, 155] from Operation: 71+84=155
Current State: 78:[77, 155], Operations: ['83-6=77', '71+84=155']
Exploring Operation: 155-77=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[6, 83, 71, 84], Operations: []
Exploring Operation: 84-71=13, Resulting Numbers: [6, 83, 13]
Generated Node #0,0: 78:[6, 83, 13] Operation: 84-71=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[6, 83, 13], Operations: ['84-71=13']
Exploring Operation: 83-6=77, Resulting Numbers: [13, 77]
Generated Node #0,0,0: 78:[13, 77] Operation: 83-6=77
Moving to Node #0,0,0
Current State: 78:[13, 77], Operations: ['84-71=13', '83-6=77']
Exploring Operation: 13+77=90, Resulting Numbers: [90]
90,78 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 |
[
61,
4,
67,
63
] | 36 | [
"61+63=124",
"124/4=31",
"67-31=36"
] | Current State: 36:[61, 4, 67, 63], Operations: []
Exploring Operation: 61+63=124, Resulting Numbers: [4, 67, 124]
Generated Node #2: [4, 67, 124] from Operation: 61+63=124
Current State: 36:[4, 67, 124], Operations: ['61+63=124']
Exploring Operation: 124/4=31, Resulting Numbers: [67, 31]
Generated Node #3: [67, 31] from Operation: 124/4=31
Current State: 36:[67, 31], Operations: ['61+63=124', '124/4=31']
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[61, 4, 67, 63], Operations: []
Exploring Operation: 67-63=4, Resulting Numbers: [61, 4, 4]
Generated Node #0,0: 36:[61, 4, 4] Operation: 67-63=4
Exploring Operation: 63-61=2, Resulting Numbers: [4, 67, 2]
Generated Node #0,1: 36:[4, 67, 2] Operation: 63-61=2
Exploring Operation: 61-4=57, Resulting Numbers: [67, 63, 57]
Generated Node #0,2: 36:[67, 63, 57] Operation: 61-4=57
Exploring Operation: 67-61=6, Resulting Numbers: [4, 63, 6]
Generated Node #0,3: 36:[4, 63, 6] Operation: 67-61=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[61, 4, 4], Operations: ['67-63=4']
Exploring Operation: 61-4=57, Resulting Numbers: [4, 57]
Generated Node #0,0,0: 36:[4, 57] Operation: 61-4=57
Exploring Operation: 61-4=57, Resulting Numbers: [4, 57]
Generated Node #0,0,1: 36:[4, 57] Operation: 61-4=57
Exploring Operation: 4/4=1, Resulting Numbers: [61, 1]
Generated Node #0,0,2: 36:[61, 1] Operation: 4/4=1
Exploring Operation: 4+4=8, Resulting Numbers: [61, 8]
Generated Node #0,0,3: 36:[61, 8] Operation: 4+4=8
Moving to Node #0,0,0
Current State: 36:[4, 57], Operations: ['67-63=4', '61-4=57']
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 4*57=228, Resulting Numbers: [228]
228,36 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[4, 57], Operations: ['67-63=4', '61-4=57']
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 4*57=228, Resulting Numbers: [228]
228,36 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Moving to Node #0,0,3
Current State: 36:[61, 8], Operations: ['67-63=4', '4+4=8']
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 61+8=69, Resulting Numbers: [69]
69,36 unequal: No Solution
Exploring Operation: 61*8=488, Resulting Numbers: [488]
488,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[61, 1], Operations: ['67-63=4', '4/4=1']
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,36 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,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,3
Current State: 36:[4, 63, 6], Operations: ['67-61=6']
Exploring Operation: 63-6=57, Resulting Numbers: [4, 57]
Generated Node #0,3,0: 36:[4, 57] Operation: 63-6=57
Exploring Operation: 4+6=10, Resulting Numbers: [63, 10]
Generated Node #0,3,1: 36:[63, 10] Operation: 4+6=10
Exploring Operation: 6-4=2, Resulting Numbers: [63, 2]
Generated Node #0,3,2: 36:[63, 2] Operation: 6-4=2
Exploring Operation: 63-4=59, Resulting Numbers: [6, 59]
Generated Node #0,3,3: 36:[6, 59] Operation: 63-4=59
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 36:[4, 57], Operations: ['67-61=6', '63-6=57']
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 4*57=228, Resulting Numbers: [228]
228,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 36:[6, 59], Operations: ['67-61=6', '63-4=59']
Exploring Operation: 6+59=65, Resulting Numbers: [65]
65,36 unequal: No Solution
Exploring Operation: 6*59=354, Resulting Numbers: [354]
354,36 unequal: No Solution
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 36:[63, 2], Operations: ['67-61=6', '6-4=2']
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,36 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 63*2=126, Resulting Numbers: [126]
126,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 36:[63, 10], Operations: ['67-61=6', '4+6=10']
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,36 unequal: No Solution
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[4, 67, 2], Operations: ['63-61=2']
Exploring Operation: 4-2=2, Resulting Numbers: [67, 2]
Generated Node #0,1,0: 36:[67, 2] Operation: 4-2=2
Exploring Operation: 67-4=63, Resulting Numbers: [2, 63]
Generated Node #0,1,1: 36:[2, 63] Operation: 67-4=63
Exploring Operation: 4+2=6, Resulting Numbers: [67, 6]
Generated Node #0,1,2: 36:[67, 6] Operation: 4+2=6
Exploring Operation: 67-2=65, Resulting Numbers: [4, 65]
Generated Node #0,1,3: 36:[4, 65] Operation: 67-2=65
Moving to Node #0,1,1
Current State: 36:[2, 63], Operations: ['63-61=2', '67-4=63']
Exploring Operation: 2*63=126, Resulting Numbers: [126]
126,36 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,36 unequal: No Solution
Moving to Node #0,1,3
Current State: 36:[4, 65], Operations: ['63-61=2', '67-2=65']
Exploring Operation: 4*65=260, Resulting Numbers: [260]
260,36 unequal: No Solution
Exploring Operation: 4+65=69, Resulting Numbers: [69]
69,36 unequal: No Solution
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[67, 6], Operations: ['63-61=2', '4+2=6']
Exploring Operation: 67*6=402, Resulting Numbers: [402]
402,36 unequal: No Solution
Exploring Operation: 67+6=73, Resulting Numbers: [73]
73,36 unequal: No Solution
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[67, 2], Operations: ['63-61=2', '4-2=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,36 unequal: No Solution
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,36 unequal: No Solution
Exploring Operation: 67*2=134, Resulting Numbers: [134]
134,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:[67, 63, 57], Operations: ['61-4=57']
Exploring Operation: 67+63=130, Resulting Numbers: [57, 130]
Generated Node #0,2,0: 36:[57, 130] Operation: 67+63=130
Exploring Operation: 67-57=10, Resulting Numbers: [63, 10]
Generated Node #0,2,1: 36:[63, 10] Operation: 67-57=10
Exploring Operation: 63-57=6, Resulting Numbers: [67, 6]
Generated Node #0,2,2: 36:[67, 6] Operation: 63-57=6
Exploring Operation: 67-63=4, Resulting Numbers: [57, 4]
Generated Node #0,2,3: 36:[57, 4] Operation: 67-63=4
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 36:[57, 4], Operations: ['61-4=57', '67-63=4']
Exploring Operation: 57*4=228, Resulting Numbers: [228]
228,36 unequal: No Solution
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[63, 10], Operations: ['61-4=57', '67-57=10']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,36 unequal: No Solution
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 36:[67, 6], Operations: ['61-4=57', '63-57=6']
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 67+6=73, Resulting Numbers: [73]
73,36 unequal: No Solution
Exploring Operation: 67*6=402, Resulting Numbers: [402]
402,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 36:[57, 130], Operations: ['61-4=57', '67+63=130']
Exploring Operation: 57*130=7410, Resulting Numbers: [7410]
7410,36 unequal: No Solution
Exploring Operation: 57+130=187, Resulting Numbers: [187]
187,36 unequal: No Solution
Exploring Operation: 130-57=73, Resulting Numbers: [73]
73,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_4 | mult_heuristic |
[
52,
6,
19,
12
] | 31 | [
"52-19=33",
"12/6=2",
"33-2=31"
] | Current State: 31:[52, 6, 19, 12], Operations: []
Exploring Operation: 52-19=33, Resulting Numbers: [6, 12, 33]
Generated Node #2: [6, 12, 33] from Operation: 52-19=33
Current State: 31:[6, 12, 33], Operations: ['52-19=33']
Exploring Operation: 12/6=2, Resulting Numbers: [33, 2]
Generated Node #3: [33, 2] from Operation: 12/6=2
Current State: 31:[33, 2], Operations: ['52-19=33', '12/6=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[52, 6, 19, 12], Operations: []
Exploring Operation: 52-6=46, Resulting Numbers: [19, 12, 46]
Generated Node #0,0: 31:[19, 12, 46] Operation: 52-6=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[19, 12, 46], Operations: ['52-6=46']
Exploring Operation: 19+12=31, Resulting Numbers: [46, 31]
Generated Node #0,0,0: 31:[46, 31] Operation: 19+12=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[46, 31], Operations: ['52-6=46', '19+12=31']
Exploring Operation: 46-31=15, Resulting Numbers: [15]
15,31 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 |
[
80,
24,
78,
48
] | 74 | [
"80+24=104",
"78-48=30",
"104-30=74"
] | Current State: 74:[80, 24, 78, 48], Operations: []
Exploring Operation: 80+24=104, Resulting Numbers: [78, 48, 104]
Generated Node #2: [78, 48, 104] from Operation: 80+24=104
Current State: 74:[78, 48, 104], Operations: ['80+24=104']
Exploring Operation: 78-48=30, Resulting Numbers: [104, 30]
Generated Node #3: [104, 30] from Operation: 78-48=30
Current State: 74:[104, 30], Operations: ['80+24=104', '78-48=30']
Exploring Operation: 104-30=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[80, 24, 78, 48], Operations: []
Exploring Operation: 24+48=72, Resulting Numbers: [80, 78, 72]
Generated Node #0,0: 74:[80, 78, 72] Operation: 24+48=72
Exploring Operation: 48/24=2, Resulting Numbers: [80, 78, 2]
Generated Node #0,1: 74:[80, 78, 2] Operation: 48/24=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[80, 78, 2], Operations: ['48/24=2']
Exploring Operation: 80/2=40, Resulting Numbers: [78, 40]
Generated Node #0,1,0: 74:[78, 40] Operation: 80/2=40
Exploring Operation: 80-78=2, Resulting Numbers: [2, 2]
Generated Node #0,1,1: 74:[2, 2] Operation: 80-78=2
Moving to Node #0,1,1
Current State: 74:[2, 2], Operations: ['48/24=2', '80-78=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[78, 40], Operations: ['48/24=2', '80/2=40']
Exploring Operation: 78+40=118, Resulting Numbers: [118]
118,74 unequal: No Solution
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[80, 78, 72], Operations: ['24+48=72']
Exploring Operation: 80-78=2, Resulting Numbers: [72, 2]
Generated Node #0,0,0: 74:[72, 2] Operation: 80-78=2
Exploring Operation: 80-72=8, Resulting Numbers: [78, 8]
Generated Node #0,0,1: 74:[78, 8] Operation: 80-72=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[72, 2], Operations: ['24+48=72', '80-78=2']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[80, 24, 78, 48], Operations: []
Exploring Operation: 24+48=72, Resulting Numbers: [80, 78, 72]
Generated Node #0,0: 74:[80, 78, 72] Operation: 24+48=72
Moving to Node #0,0
Current State: 74:[80, 78, 72], Operations: ['24+48=72']
Exploring Operation: 80-78=2, Resulting Numbers: [72, 2]
Generated Node #0,0,0: 74:[72, 2] Operation: 80-78=2
Moving to Node #0,0,0
Current State: 74:[72, 2], Operations: ['24+48=72', '80-78=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
24,
72,
96,
41
] | 40 | [
"24+72=96",
"96/96=1",
"41-1=40"
] | Current State: 40:[24, 72, 96, 41], Operations: []
Exploring Operation: 24+72=96, Resulting Numbers: [96, 41, 96]
Generated Node #2: [96, 41, 96] from Operation: 24+72=96
Current State: 40:[96, 41, 96], Operations: ['24+72=96']
Exploring Operation: 96/96=1, Resulting Numbers: [41, 1]
Generated Node #3: [41, 1] from Operation: 96/96=1
Current State: 40:[41, 1], Operations: ['24+72=96', '96/96=1']
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[24, 72, 96, 41], Operations: []
Exploring Operation: 96-72=24, Resulting Numbers: [24, 41, 24]
Generated Node #0,0: 40:[24, 41, 24] Operation: 96-72=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[24, 41, 24], Operations: ['96-72=24']
Exploring Operation: 24/24=1, Resulting Numbers: [41, 1]
Generated Node #0,0,0: 40:[41, 1] Operation: 24/24=1
Moving to Node #0,0,0
Current State: 40:[41, 1], Operations: ['96-72=24', '24/24=1']
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[24, 72, 96, 41], Operations: []
Exploring Operation: 96-72=24, Resulting Numbers: [24, 41, 24]
Generated Node #0,0: 40:[24, 41, 24] Operation: 96-72=24
Moving to Node #0,0
Current State: 40:[24, 41, 24], Operations: ['96-72=24']
Exploring Operation: 24/24=1, Resulting Numbers: [41, 1]
Generated Node #0,0,0: 40:[41, 1] Operation: 24/24=1
Moving to Node #0,0,0
Current State: 40:[41, 1], Operations: ['96-72=24', '24/24=1']
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
87,
33,
56,
52
] | 58 | [
"87-33=54",
"56-52=4",
"54+4=58"
] | Current State: 58:[87, 33, 56, 52], Operations: []
Exploring Operation: 87-33=54, Resulting Numbers: [56, 52, 54]
Generated Node #2: [56, 52, 54] from Operation: 87-33=54
Current State: 58:[56, 52, 54], Operations: ['87-33=54']
Exploring Operation: 56-52=4, Resulting Numbers: [54, 4]
Generated Node #3: [54, 4] from Operation: 56-52=4
Current State: 58:[54, 4], Operations: ['87-33=54', '56-52=4']
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[87, 33, 56, 52], Operations: []
Exploring Operation: 87-52=35, Resulting Numbers: [33, 56, 35]
Generated Node #0,0: 58:[33, 56, 35] Operation: 87-52=35
Exploring Operation: 87-56=31, Resulting Numbers: [33, 52, 31]
Generated Node #0,1: 58:[33, 52, 31] Operation: 87-56=31
Exploring Operation: 56-33=23, Resulting Numbers: [87, 52, 23]
Generated Node #0,2: 58:[87, 52, 23] Operation: 56-33=23
Exploring Operation: 87-33=54, Resulting Numbers: [56, 52, 54]
Generated Node #0,3: 58:[56, 52, 54] Operation: 87-33=54
Exploring Operation: 56-52=4, Resulting Numbers: [87, 33, 4]
Generated Node #0,4: 58:[87, 33, 4] Operation: 56-52=4
Moving to Node #0,0
Current State: 58:[33, 56, 35], Operations: ['87-52=35']
Exploring Operation: 33+56=89, Resulting Numbers: [35, 89]
Generated Node #0,0,0: 58:[35, 89] Operation: 33+56=89
Exploring Operation: 56-35=21, Resulting Numbers: [33, 21]
Generated Node #0,0,1: 58:[33, 21] Operation: 56-35=21
Exploring Operation: 35-33=2, Resulting Numbers: [56, 2]
Generated Node #0,0,2: 58:[56, 2] Operation: 35-33=2
Exploring Operation: 56-33=23, Resulting Numbers: [35, 23]
Generated Node #0,0,3: 58:[35, 23] Operation: 56-33=23
Exploring Operation: 33+35=68, Resulting Numbers: [56, 68]
Generated Node #0,0,4: 58:[56, 68] Operation: 33+35=68
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 58:[56, 2], Operations: ['87-52=35', '35-33=2']
Exploring Operation: 56*2=112, Resulting Numbers: [112]
112,58 unequal: No Solution
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[87, 33, 56, 52], Operations: []
Exploring Operation: 87-52=35, Resulting Numbers: [33, 56, 35]
Generated Node #0,0: 58:[33, 56, 35] Operation: 87-52=35
Moving to Node #0,0
Current State: 58:[33, 56, 35], Operations: ['87-52=35']
Exploring Operation: 35-33=2, Resulting Numbers: [56, 2]
Generated Node #0,0,2: 58:[56, 2] Operation: 35-33=2
Moving to Node #0,0,2
Current State: 58:[56, 2], Operations: ['87-52=35', '35-33=2']
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
40,
2,
2,
63
] | 27 | [
"40-2=38",
"2+63=65",
"65-38=27"
] | Current State: 27:[40, 2, 2, 63], Operations: []
Exploring Operation: 40-2=38, Resulting Numbers: [63, 38]
Generated Node #2: [63, 38] from Operation: 40-2=38
Current State: 27:[63, 38], Operations: ['40-2=38']
Exploring Operation: 2+63=65, Resulting Numbers: [38, 65]
Generated Node #3: [38, 65] from Operation: 2+63=65
Current State: 27:[38, 65], Operations: ['40-2=38', '2+63=65']
Exploring Operation: 65-38=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[40, 2, 2, 63], Operations: []
Exploring Operation: 40-2=38, Resulting Numbers: [2, 63, 38]
Generated Node #0,0: 27:[2, 63, 38] Operation: 40-2=38
Exploring Operation: 40/2=20, Resulting Numbers: [2, 63, 20]
Generated Node #0,1: 27:[2, 63, 20] Operation: 40/2=20
Exploring Operation: 63-40=23, Resulting Numbers: [2, 2, 23]
Generated Node #0,2: 27:[2, 2, 23] Operation: 63-40=23
Exploring Operation: 40/2=20, Resulting Numbers: [2, 63, 20]
Generated Node #0,3: 27:[2, 63, 20] Operation: 40/2=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[2, 2, 23], Operations: ['63-40=23']
Exploring Operation: 2*2=4, Resulting Numbers: [23, 4]
Generated Node #0,2,0: 27:[23, 4] Operation: 2*2=4
Exploring Operation: 2+2=4, Resulting Numbers: [23, 4]
Generated Node #0,2,1: 27:[23, 4] Operation: 2+2=4
Exploring Operation: 2+23=25, Resulting Numbers: [2, 25]
Generated Node #0,2,2: 27:[2, 25] Operation: 2+23=25
Exploring Operation: 2+23=25, Resulting Numbers: [2, 25]
Generated Node #0,2,3: 27:[2, 25] Operation: 2+23=25
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 27:[2, 25], Operations: ['63-40=23', '2+23=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,27 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[40, 2, 2, 63], Operations: []
Exploring Operation: 63-40=23, Resulting Numbers: [2, 2, 23]
Generated Node #0,2: 27:[2, 2, 23] Operation: 63-40=23
Moving to Node #0,2
Current State: 27:[2, 2, 23], Operations: ['63-40=23']
Exploring Operation: 2+23=25, Resulting Numbers: [2, 25]
Generated Node #0,2,2: 27:[2, 25] Operation: 2+23=25
Moving to Node #0,2,2
Current State: 27:[2, 25], Operations: ['63-40=23', '2+23=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
21,
14,
31,
3
] | 24 | [
"21/3=7",
"31-14=17",
"7+17=24"
] | Current State: 24:[21, 14, 31, 3], Operations: []
Exploring Operation: 21/3=7, Resulting Numbers: [14, 31, 7]
Generated Node #2: [14, 31, 7] from Operation: 21/3=7
Current State: 24:[14, 31, 7], Operations: ['21/3=7']
Exploring Operation: 31-14=17, Resulting Numbers: [7, 17]
Generated Node #3: [7, 17] from Operation: 31-14=17
Current State: 24:[7, 17], Operations: ['21/3=7', '31-14=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[21, 14, 31, 3], Operations: []
Exploring Operation: 21-14=7, Resulting Numbers: [31, 3, 7]
Generated Node #0,0: 24:[31, 3, 7] Operation: 21-14=7
Exploring Operation: 31-14=17, Resulting Numbers: [21, 3, 17]
Generated Node #0,1: 24:[21, 3, 17] Operation: 31-14=17
Exploring Operation: 31-21=10, Resulting Numbers: [14, 3, 10]
Generated Node #0,2: 24:[14, 3, 10] Operation: 31-21=10
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[14, 3, 10], Operations: ['31-21=10']
Exploring Operation: 14-10=4, Resulting Numbers: [3, 4]
Generated Node #0,2,0: 24:[3, 4] Operation: 14-10=4
Exploring Operation: 14-3=11, Resulting Numbers: [10, 11]
Generated Node #0,2,1: 24:[10, 11] Operation: 14-3=11
Exploring Operation: 14+10=24, Resulting Numbers: [3, 24]
Generated Node #0,2,2: 24:[3, 24] Operation: 14+10=24
Moving to Node #0,2,0
Current State: 24:[3, 4], Operations: ['31-21=10', '14-10=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[3, 24], Operations: ['31-21=10', '14+10=24']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[10, 11], Operations: ['31-21=10', '14-3=11']
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,24 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[31, 3, 7], Operations: ['21-14=7']
Exploring Operation: 31-7=24, Resulting Numbers: [3, 24]
Generated Node #0,0,0: 24:[3, 24] Operation: 31-7=24
Exploring Operation: 31-3=28, Resulting Numbers: [7, 28]
Generated Node #0,0,1: 24:[7, 28] Operation: 31-3=28
Exploring Operation: 7-3=4, Resulting Numbers: [31, 4]
Generated Node #0,0,2: 24:[31, 4] Operation: 7-3=4
Moving to Node #0,0,0
Current State: 24:[3, 24], Operations: ['21-14=7', '31-7=24']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[7, 28], Operations: ['21-14=7', '31-3=28']
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,24 unequal: No Solution
Moving to Node #0,0,2
Current State: 24:[31, 4], Operations: ['21-14=7', '7-3=4']
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,24 unequal: No Solution
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,24 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[21, 3, 17], Operations: ['31-14=17']
Exploring Operation: 17-3=14, Resulting Numbers: [21, 14]
Generated Node #0,1,0: 24:[21, 14] Operation: 17-3=14
Exploring Operation: 21-17=4, Resulting Numbers: [3, 4]
Generated Node #0,1,1: 24:[3, 4] Operation: 21-17=4
Exploring Operation: 21+3=24, Resulting Numbers: [17, 24]
Generated Node #0,1,2: 24:[17, 24] Operation: 21+3=24
Moving to Node #0,1,1
Current State: 24:[3, 4], Operations: ['31-14=17', '21-17=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[21, 14], Operations: ['31-14=17', '17-3=14']
Exploring Operation: 21*14=294, Resulting Numbers: [294]
294,24 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 21+14=35, Resulting Numbers: [35]
35,24 unequal: No Solution
Moving to Node #0,1,2
Current State: 24:[17, 24], Operations: ['31-14=17', '21+3=24']
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,24 unequal: No Solution
Exploring Operation: 17*24=408, Resulting Numbers: [408]
408,24 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 |
[
58,
15,
36,
87
] | 46 | [
"58*15=870",
"870/87=10",
"36+10=46"
] | Current State: 46:[58, 15, 36, 87], Operations: []
Exploring Operation: 58*15=870, Resulting Numbers: [36, 87, 870]
Generated Node #2: [36, 87, 870] from Operation: 58*15=870
Current State: 46:[36, 87, 870], Operations: ['58*15=870']
Exploring Operation: 870/87=10, Resulting Numbers: [36, 10]
Generated Node #3: [36, 10] from Operation: 870/87=10
Current State: 46:[36, 10], Operations: ['58*15=870', '870/87=10']
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[58, 15, 36, 87], Operations: []
Exploring Operation: 87-15=72, Resulting Numbers: [58, 36, 72]
Generated Node #0,0: 46:[58, 36, 72] Operation: 87-15=72
Exploring Operation: 87-36=51, Resulting Numbers: [58, 15, 51]
Generated Node #0,1: 46:[58, 15, 51] Operation: 87-36=51
Exploring Operation: 58-36=22, Resulting Numbers: [15, 87, 22]
Generated Node #0,2: 46:[15, 87, 22] Operation: 58-36=22
Exploring Operation: 58-15=43, Resulting Numbers: [36, 87, 43]
Generated Node #0,3: 46:[36, 87, 43] Operation: 58-15=43
Exploring Operation: 87-58=29, Resulting Numbers: [15, 36, 29]
Generated Node #0,4: 46:[15, 36, 29] Operation: 87-58=29
Moving to Node #0,4
Current State: 46:[15, 36, 29], Operations: ['87-58=29']
Exploring Operation: 36-29=7, Resulting Numbers: [15, 7]
Generated Node #0,4,0: 46:[15, 7] Operation: 36-29=7
Exploring Operation: 15+36=51, Resulting Numbers: [29, 51]
Generated Node #0,4,1: 46:[29, 51] Operation: 15+36=51
Exploring Operation: 29-15=14, Resulting Numbers: [36, 14]
Generated Node #0,4,2: 46:[36, 14] Operation: 29-15=14
Exploring Operation: 15+29=44, Resulting Numbers: [36, 44]
Generated Node #0,4,3: 46:[36, 44] Operation: 15+29=44
Exploring Operation: 36-15=21, Resulting Numbers: [29, 21]
Generated Node #0,4,4: 46:[29, 21] Operation: 36-15=21
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 46:[29, 21], Operations: ['87-58=29', '36-15=21']
Exploring Operation: 29*21=609, Resulting Numbers: [609]
609,46 unequal: No Solution
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,46 unequal: No Solution
No 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: 46:[29, 51], Operations: ['87-58=29', '15+36=51']
Exploring Operation: 29+51=80, Resulting Numbers: [80]
80,46 unequal: No Solution
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 29*51=1479, Resulting Numbers: [1479]
1479,46 unequal: No Solution
No 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: 46:[36, 44], Operations: ['87-58=29', '15+29=44']
Exploring Operation: 36+44=80, Resulting Numbers: [80]
80,46 unequal: No Solution
Exploring Operation: 44-36=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 36*44=1584, Resulting Numbers: [1584]
1584,46 unequal: No Solution
No 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: 46:[15, 7], Operations: ['87-58=29', '36-29=7']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,46 unequal: No Solution
No 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: 46:[36, 14], Operations: ['87-58=29', '29-15=14']
Exploring Operation: 36+14=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Exploring Operation: 36*14=504, Resulting Numbers: [504]
504,46 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,46 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: 46:[58, 15, 51], Operations: ['87-36=51']
Exploring Operation: 15+51=66, Resulting Numbers: [58, 66]
Generated Node #0,1,0: 46:[58, 66] Operation: 15+51=66
Exploring Operation: 58+15=73, Resulting Numbers: [51, 73]
Generated Node #0,1,1: 46:[51, 73] Operation: 58+15=73
Exploring Operation: 58-51=7, Resulting Numbers: [15, 7]
Generated Node #0,1,2: 46:[15, 7] Operation: 58-51=7
Exploring Operation: 51-15=36, Resulting Numbers: [58, 36]
Generated Node #0,1,3: 46:[58, 36] Operation: 51-15=36
Exploring Operation: 58-15=43, Resulting Numbers: [51, 43]
Generated Node #0,1,4: 46:[51, 43] Operation: 58-15=43
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 46:[51, 43], Operations: ['87-36=51', '58-15=43']
Exploring Operation: 51+43=94, Resulting Numbers: [94]
94,46 unequal: No Solution
Exploring Operation: 51-43=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 51*43=2193, Resulting Numbers: [2193]
2193,46 unequal: No Solution
No 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: 46:[15, 7], Operations: ['87-36=51', '58-51=7']
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,46 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,46 unequal: No Solution
No 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: 46:[58, 36], Operations: ['87-36=51', '51-15=36']
Exploring Operation: 58+36=94, Resulting Numbers: [94]
94,46 unequal: No Solution
Exploring Operation: 58*36=2088, Resulting Numbers: [2088]
2088,46 unequal: No Solution
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,46 unequal: No Solution
No 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: 46:[58, 66], Operations: ['87-36=51', '15+51=66']
Exploring Operation: 58+66=124, Resulting Numbers: [124]
124,46 unequal: No Solution
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 58*66=3828, Resulting Numbers: [3828]
3828,46 unequal: No Solution
No 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: 46:[51, 73], Operations: ['87-36=51', '58+15=73']
Exploring Operation: 51+73=124, Resulting Numbers: [124]
124,46 unequal: No Solution
Exploring Operation: 73-51=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 51*73=3723, Resulting Numbers: [3723]
3723,46 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: 46:[58, 36, 72], Operations: ['87-15=72']
Exploring Operation: 72-58=14, Resulting Numbers: [36, 14]
Generated Node #0,0,0: 46:[36, 14] Operation: 72-58=14
Exploring Operation: 58+36=94, Resulting Numbers: [72, 94]
Generated Node #0,0,1: 46:[72, 94] Operation: 58+36=94
Exploring Operation: 72-36=36, Resulting Numbers: [58, 36]
Generated Node #0,0,2: 46:[58, 36] Operation: 72-36=36
Exploring Operation: 58-36=22, Resulting Numbers: [72, 22]
Generated Node #0,0,3: 46:[72, 22] Operation: 58-36=22
Exploring Operation: 72/36=2, Resulting Numbers: [58, 2]
Generated Node #0,0,4: 46:[58, 2] Operation: 72/36=2
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 46:[58, 2], Operations: ['87-15=72', '72/36=2']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 58*2=116, Resulting Numbers: [116]
116,46 unequal: No Solution
No 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: 46:[36, 14], Operations: ['87-15=72', '72-58=14']
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 36*14=504, Resulting Numbers: [504]
504,46 unequal: No Solution
Exploring Operation: 36+14=50, Resulting Numbers: [50]
50,46 unequal: No Solution
No 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: 46:[58, 36], Operations: ['87-15=72', '72-36=36']
Exploring Operation: 58+36=94, Resulting Numbers: [94]
94,46 unequal: No Solution
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 58*36=2088, Resulting Numbers: [2088]
2088,46 unequal: No Solution
No 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: 46:[72, 22], Operations: ['87-15=72', '58-36=22']
Exploring Operation: 72+22=94, Resulting Numbers: [94]
94,46 unequal: No Solution
Exploring Operation: 72-22=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Exploring Operation: 72*22=1584, Resulting Numbers: [1584]
1584,46 unequal: No Solution
No 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: 46:[72, 94], Operations: ['87-15=72', '58+36=94']
Exploring Operation: 72+94=166, Resulting Numbers: [166]
166,46 unequal: No Solution
Exploring Operation: 72*94=6768, Resulting Numbers: [6768]
6768,46 unequal: No Solution
Exploring Operation: 94-72=22, Resulting Numbers: [22]
22,46 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: 46:[15, 87, 22], Operations: ['58-36=22']
Exploring Operation: 87-22=65, Resulting Numbers: [15, 65]
Generated Node #0,2,0: 46:[15, 65] Operation: 87-22=65
Exploring Operation: 22-15=7, Resulting Numbers: [87, 7]
Generated Node #0,2,1: 46:[87, 7] Operation: 22-15=7
Exploring Operation: 15+87=102, Resulting Numbers: [22, 102]
Generated Node #0,2,2: 46:[22, 102] Operation: 15+87=102
Exploring Operation: 87-15=72, Resulting Numbers: [22, 72]
Generated Node #0,2,3: 46:[22, 72] Operation: 87-15=72
Exploring Operation: 15+22=37, Resulting Numbers: [87, 37]
Generated Node #0,2,4: 46:[87, 37] Operation: 15+22=37
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 46:[15, 65], Operations: ['58-36=22', '87-22=65']
Exploring Operation: 15*65=975, Resulting Numbers: [975]
975,46 unequal: No Solution
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Exploring Operation: 15+65=80, Resulting Numbers: [80]
80,46 unequal: No Solution
No 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: 46:[22, 72], Operations: ['58-36=22', '87-15=72']
Exploring Operation: 72-22=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Exploring Operation: 22*72=1584, Resulting Numbers: [1584]
1584,46 unequal: No Solution
Exploring Operation: 22+72=94, Resulting Numbers: [94]
94,46 unequal: No Solution
No 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: 46:[87, 7], Operations: ['58-36=22', '22-15=7']
Exploring Operation: 87*7=609, Resulting Numbers: [609]
609,46 unequal: No Solution
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,46 unequal: No Solution
Exploring Operation: 87+7=94, Resulting Numbers: [94]
94,46 unequal: No Solution
No 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: 46:[87, 37], Operations: ['58-36=22', '15+22=37']
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Exploring Operation: 87*37=3219, Resulting Numbers: [3219]
3219,46 unequal: No Solution
Exploring Operation: 87+37=124, Resulting Numbers: [124]
124,46 unequal: No Solution
No 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: 46:[22, 102], Operations: ['58-36=22', '15+87=102']
Exploring Operation: 22*102=2244, Resulting Numbers: [2244]
2244,46 unequal: No Solution
Exploring Operation: 22+102=124, Resulting Numbers: [124]
124,46 unequal: No Solution
Exploring Operation: 102-22=80, Resulting Numbers: [80]
80,46 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: 46:[36, 87, 43], Operations: ['58-15=43']
Exploring Operation: 36+43=79, Resulting Numbers: [87, 79]
Generated Node #0,3,0: 46:[87, 79] Operation: 36+43=79
Exploring Operation: 43-36=7, Resulting Numbers: [87, 7]
Generated Node #0,3,1: 46:[87, 7] Operation: 43-36=7
Exploring Operation: 87-43=44, Resulting Numbers: [36, 44]
Generated Node #0,3,2: 46:[36, 44] Operation: 87-43=44
Exploring Operation: 36+87=123, Resulting Numbers: [43, 123]
Generated Node #0,3,3: 46:[43, 123] Operation: 36+87=123
Exploring Operation: 87-36=51, Resulting Numbers: [43, 51]
Generated Node #0,3,4: 46:[43, 51] Operation: 87-36=51
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 46:[43, 51], Operations: ['58-15=43', '87-36=51']
Exploring Operation: 43+51=94, Resulting Numbers: [94]
94,46 unequal: No Solution
Exploring Operation: 43*51=2193, Resulting Numbers: [2193]
2193,46 unequal: No Solution
Exploring Operation: 51-43=8, Resulting Numbers: [8]
8,46 unequal: No Solution
No 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: 46:[36, 44], Operations: ['58-15=43', '87-43=44']
Exploring Operation: 36+44=80, Resulting Numbers: [80]
80,46 unequal: No Solution
Exploring Operation: 44-36=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 36*44=1584, Resulting Numbers: [1584]
1584,46 unequal: No Solution
No 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: 46:[87, 7], Operations: ['58-15=43', '43-36=7']
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,46 unequal: No Solution
Exploring Operation: 87*7=609, Resulting Numbers: [609]
609,46 unequal: No Solution
Exploring Operation: 87+7=94, Resulting Numbers: [94]
94,46 unequal: No Solution
No 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: 46:[87, 79], Operations: ['58-15=43', '36+43=79']
Exploring Operation: 87*79=6873, Resulting Numbers: [6873]
6873,46 unequal: No Solution
Exploring Operation: 87-79=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 87+79=166, Resulting Numbers: [166]
166,46 unequal: No Solution
No 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: 46:[43, 123], Operations: ['58-15=43', '36+87=123']
Exploring Operation: 123-43=80, Resulting Numbers: [80]
80,46 unequal: No Solution
Exploring Operation: 43*123=5289, Resulting Numbers: [5289]
5289,46 unequal: No Solution
Exploring Operation: 43+123=166, Resulting Numbers: [166]
166,46 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 |
[
40,
91,
24,
64
] | 53 | [
"91*24=2184",
"2184-64=2120",
"2120/40=53"
] | Current State: 53:[40, 91, 24, 64], Operations: []
Exploring Operation: 91*24=2184, Resulting Numbers: [40, 64, 2184]
Generated Node #2: [40, 64, 2184] from Operation: 91*24=2184
Current State: 53:[40, 64, 2184], Operations: ['91*24=2184']
Exploring Operation: 2184-64=2120, Resulting Numbers: [40, 2120]
Generated Node #3: [40, 2120] from Operation: 2184-64=2120
Current State: 53:[40, 2120], Operations: ['91*24=2184', '2184-64=2120']
Exploring Operation: 2120/40=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[40, 91, 24, 64], Operations: []
Exploring Operation: 91-24=67, Resulting Numbers: [40, 64, 67]
Generated Node #0,0: 53:[40, 64, 67] Operation: 91-24=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[40, 64, 67], Operations: ['91-24=67']
Exploring Operation: 67-40=27, Resulting Numbers: [64, 27]
Generated Node #0,0,0: 53:[64, 27] Operation: 67-40=27
Moving to Node #0,0,0
Current State: 53:[64, 27], Operations: ['91-24=67', '67-40=27']
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
46,
1,
10,
1
] | 56 | [
"46+1=47",
"10-1=9",
"47+9=56"
] | Current State: 56:[46, 1, 10, 1], Operations: []
Exploring Operation: 46+1=47, Resulting Numbers: [10, 47]
Generated Node #2: [10, 47] from Operation: 46+1=47
Current State: 56:[10, 47], Operations: ['46+1=47']
Exploring Operation: 10-1=9, Resulting Numbers: [47, 9]
Generated Node #3: [47, 9] from Operation: 10-1=9
Current State: 56:[47, 9], Operations: ['46+1=47', '10-1=9']
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[46, 1, 10, 1], Operations: []
Exploring Operation: 46-10=36, Resulting Numbers: [1, 1, 36]
Generated Node #0,0: 56:[1, 1, 36] Operation: 46-10=36
Exploring Operation: 46+1=47, Resulting Numbers: [10, 1, 47]
Generated Node #0,1: 56:[10, 1, 47] Operation: 46+1=47
Exploring Operation: 46+10=56, Resulting Numbers: [1, 1, 56]
Generated Node #0,2: 56:[1, 1, 56] Operation: 46+10=56
Exploring Operation: 46+1=47, Resulting Numbers: [1, 10, 47]
Generated Node #0,3: 56:[1, 10, 47] Operation: 46+1=47
Moving to Node #0,2
Current State: 56:[1, 1, 56], Operations: ['46+10=56']
Exploring Operation: 1*56=56, Resulting Numbers: [1, 56]
Generated Node #0,2,0: 56:[1, 56] Operation: 1*56=56
Exploring Operation: 1/1=1, Resulting Numbers: [56, 1]
Generated Node #0,2,1: 56:[56, 1] Operation: 1/1=1
Exploring Operation: 1+1=2, Resulting Numbers: [56, 2]
Generated Node #0,2,2: 56:[56, 2] Operation: 1+1=2
Exploring Operation: 1*1=1, Resulting Numbers: [56, 1]
Generated Node #0,2,3: 56:[56, 1] Operation: 1*1=1
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 56:[56, 2], Operations: ['46+10=56', '1+1=2']
Exploring Operation: 56*2=112, Resulting Numbers: [112]
112,56 unequal: No Solution
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 56:[1, 56], Operations: ['46+10=56', '1*56=56']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 1+56=57, Resulting Numbers: [57]
57,56 unequal: No Solution
Exploring Operation: 1*56=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[46, 1, 10, 1], Operations: []
Exploring Operation: 46+10=56, Resulting Numbers: [1, 1, 56]
Generated Node #0,2: 56:[1, 1, 56] Operation: 46+10=56
Moving to Node #0,2
Current State: 56:[1, 1, 56], Operations: ['46+10=56']
Exploring Operation: 1*56=56, Resulting Numbers: [1, 56]
Generated Node #0,2,0: 56:[1, 56] Operation: 1*56=56
Moving to Node #0,2,0
Current State: 56:[1, 56], Operations: ['46+10=56', '1*56=56']
Exploring Operation: 1*56=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
71,
90,
53,
25
] | 20 | [
"71-53=18",
"90/18=5",
"25-5=20"
] | Current State: 20:[71, 90, 53, 25], Operations: []
Exploring Operation: 71-53=18, Resulting Numbers: [90, 25, 18]
Generated Node #2: [90, 25, 18] from Operation: 71-53=18
Current State: 20:[90, 25, 18], Operations: ['71-53=18']
Exploring Operation: 90/18=5, Resulting Numbers: [25, 5]
Generated Node #3: [25, 5] from Operation: 90/18=5
Current State: 20:[25, 5], Operations: ['71-53=18', '90/18=5']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[71, 90, 53, 25], Operations: []
Exploring Operation: 90-53=37, Resulting Numbers: [71, 25, 37]
Generated Node #0,0: 20:[71, 25, 37] Operation: 90-53=37
Exploring Operation: 90-71=19, Resulting Numbers: [53, 25, 19]
Generated Node #0,1: 20:[53, 25, 19] Operation: 90-71=19
Moving to Node #0,1
Current State: 20:[53, 25, 19], Operations: ['90-71=19']
Exploring Operation: 53-25=28, Resulting Numbers: [19, 28]
Generated Node #0,1,0: 20:[19, 28] Operation: 53-25=28
Exploring Operation: 53-19=34, Resulting Numbers: [25, 34]
Generated Node #0,1,1: 20:[25, 34] Operation: 53-19=34
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[19, 28], Operations: ['90-71=19', '53-25=28']
Exploring Operation: 19+28=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[25, 34], Operations: ['90-71=19', '53-19=34']
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 25+34=59, Resulting Numbers: [59]
59,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 20:[71, 25, 37], Operations: ['90-53=37']
Exploring Operation: 71-37=34, Resulting Numbers: [25, 34]
Generated Node #0,0,0: 20:[25, 34] Operation: 71-37=34
Exploring Operation: 71-25=46, Resulting Numbers: [37, 46]
Generated Node #0,0,1: 20:[37, 46] Operation: 71-25=46
Moving to Node #0,0,0
Current State: 20:[25, 34], Operations: ['90-53=37', '71-37=34']
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 25+34=59, Resulting Numbers: [59]
59,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[37, 46], Operations: ['90-53=37', '71-25=46']
Exploring Operation: 37+46=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,20 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
5,
15,
63,
13
] | 24 | [
"15/5=3",
"13*3=39",
"63-39=24"
] | Current State: 24:[5, 15, 63, 13], Operations: []
Exploring Operation: 15/5=3, Resulting Numbers: [63, 13, 3]
Generated Node #2: [63, 13, 3] from Operation: 15/5=3
Current State: 24:[63, 13, 3], Operations: ['15/5=3']
Exploring Operation: 13*3=39, Resulting Numbers: [63, 39]
Generated Node #3: [63, 39] from Operation: 13*3=39
Current State: 24:[63, 39], Operations: ['15/5=3', '13*3=39']
Exploring Operation: 63-39=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[5, 15, 63, 13], Operations: []
Exploring Operation: 15-13=2, Resulting Numbers: [5, 63, 2]
Generated Node #0,0: 24:[5, 63, 2] Operation: 15-13=2
Exploring Operation: 63-13=50, Resulting Numbers: [5, 15, 50]
Generated Node #0,1: 24:[5, 15, 50] Operation: 63-13=50
Exploring Operation: 63-15=48, Resulting Numbers: [5, 13, 48]
Generated Node #0,2: 24:[5, 13, 48] Operation: 63-15=48
Exploring Operation: 15/5=3, Resulting Numbers: [63, 13, 3]
Generated Node #0,3: 24:[63, 13, 3] Operation: 15/5=3
Exploring Operation: 63-5=58, Resulting Numbers: [15, 13, 58]
Generated Node #0,4: 24:[15, 13, 58] Operation: 63-5=58
Moving to Node #0,2
Current State: 24:[5, 13, 48], Operations: ['63-15=48']
Exploring Operation: 48-5=43, Resulting Numbers: [13, 43]
Generated Node #0,2,0: 24:[13, 43] Operation: 48-5=43
Exploring Operation: 48-13=35, Resulting Numbers: [5, 35]
Generated Node #0,2,1: 24:[5, 35] Operation: 48-13=35
Exploring Operation: 5+48=53, Resulting Numbers: [13, 53]
Generated Node #0,2,2: 24:[13, 53] Operation: 5+48=53
Exploring Operation: 5+13=18, Resulting Numbers: [48, 18]
Generated Node #0,2,3: 24:[48, 18] Operation: 5+13=18
Exploring Operation: 13-5=8, Resulting Numbers: [48, 8]
Generated Node #0,2,4: 24:[48, 8] Operation: 13-5=8
Moving to Node #0,1
Current State: 24:[5, 15, 50], Operations: ['63-13=50']
Exploring Operation: 50/5=10, Resulting Numbers: [15, 10]
Generated Node #0,1,0: 24:[15, 10] Operation: 50/5=10
Exploring Operation: 50-15=35, Resulting Numbers: [5, 35]
Generated Node #0,1,1: 24:[5, 35] Operation: 50-15=35
Exploring Operation: 15-5=10, Resulting Numbers: [50, 10]
Generated Node #0,1,2: 24:[50, 10] Operation: 15-5=10
Exploring Operation: 50-5=45, Resulting Numbers: [15, 45]
Generated Node #0,1,3: 24:[15, 45] Operation: 50-5=45
Exploring Operation: 15/5=3, Resulting Numbers: [50, 3]
Generated Node #0,1,4: 24:[50, 3] Operation: 15/5=3
Moving to Node #0,4
Current State: 24:[15, 13, 58], Operations: ['63-5=58']
Exploring Operation: 58-13=45, Resulting Numbers: [15, 45]
Generated Node #0,4,0: 24:[15, 45] Operation: 58-13=45
Exploring Operation: 15-13=2, Resulting Numbers: [58, 2]
Generated Node #0,4,1: 24:[58, 2] Operation: 15-13=2
Exploring Operation: 58-15=43, Resulting Numbers: [13, 43]
Generated Node #0,4,2: 24:[13, 43] Operation: 58-15=43
Exploring Operation: 15+58=73, Resulting Numbers: [13, 73]
Generated Node #0,4,3: 24:[13, 73] Operation: 15+58=73
Exploring Operation: 15+13=28, Resulting Numbers: [58, 28]
Generated Node #0,4,4: 24:[58, 28] Operation: 15+13=28
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 24:[13, 43], Operations: ['63-5=58', '58-15=43']
Exploring Operation: 13*43=559, Resulting Numbers: [559]
559,24 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 13+43=56, Resulting Numbers: [56]
56,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,4,0
Current State: 24:[15, 45], Operations: ['63-5=58', '58-13=45']
Exploring Operation: 15+45=60, Resulting Numbers: [60]
60,24 unequal: No Solution
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 15*45=675, Resulting Numbers: [675]
675,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,4,1
Current State: 24:[58, 2], Operations: ['63-5=58', '15-13=2']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,24 unequal: No Solution
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,24 unequal: No Solution
Exploring Operation: 58*2=116, Resulting Numbers: [116]
116,24 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,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,4,4
Current State: 24:[58, 28], Operations: ['63-5=58', '15+13=28']
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,24 unequal: No Solution
Exploring Operation: 58*28=1624, Resulting Numbers: [1624]
1624,24 unequal: No Solution
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,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,4,3
Current State: 24:[13, 73], Operations: ['63-5=58', '15+58=73']
Exploring Operation: 13+73=86, Resulting Numbers: [86]
86,24 unequal: No Solution
Exploring Operation: 73-13=60, Resulting Numbers: [60]
60,24 unequal: No Solution
Exploring Operation: 13*73=949, Resulting Numbers: [949]
949,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 24:[5, 63, 2], Operations: ['15-13=2']
Exploring Operation: 63-5=58, Resulting Numbers: [2, 58]
Generated Node #0,0,0: 24:[2, 58] Operation: 63-5=58
Exploring Operation: 5-2=3, Resulting Numbers: [63, 3]
Generated Node #0,0,1: 24:[63, 3] Operation: 5-2=3
Exploring Operation: 63-2=61, Resulting Numbers: [5, 61]
Generated Node #0,0,2: 24:[5, 61] Operation: 63-2=61
Exploring Operation: 5*2=10, Resulting Numbers: [63, 10]
Generated Node #0,0,3: 24:[63, 10] Operation: 5*2=10
Exploring Operation: 5+2=7, Resulting Numbers: [63, 7]
Generated Node #0,0,4: 24:[63, 7] Operation: 5+2=7
Moving to Node #0,3
Current State: 24:[63, 13, 3], Operations: ['15/5=3']
Exploring Operation: 63/3=21, Resulting Numbers: [13, 21]
Generated Node #0,3,0: 24:[13, 21] Operation: 63/3=21
Exploring Operation: 13-3=10, Resulting Numbers: [63, 10]
Generated Node #0,3,1: 24:[63, 10] Operation: 13-3=10
Exploring Operation: 63-13=50, Resulting Numbers: [3, 50]
Generated Node #0,3,2: 24:[3, 50] Operation: 63-13=50
Exploring Operation: 63-3=60, Resulting Numbers: [13, 60]
Generated Node #0,3,3: 24:[13, 60] Operation: 63-3=60
Exploring Operation: 63+3=66, Resulting Numbers: [13, 66]
Generated Node #0,3,4: 24:[13, 66] Operation: 63+3=66
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 24:[13, 21], Operations: ['15/5=3', '63/3=21']
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,24 unequal: No Solution
Exploring Operation: 13*21=273, Resulting Numbers: [273]
273,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 24:[3, 50], Operations: ['15/5=3', '63-13=50']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 24:[13, 60], Operations: ['15/5=3', '63-3=60']
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Exploring Operation: 13*60=780, Resulting Numbers: [780]
780,24 unequal: No Solution
Exploring Operation: 13+60=73, Resulting Numbers: [73]
73,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 24:[63, 10], Operations: ['15/5=3', '13-3=10']
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,24 unequal: No Solution
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 24:[13, 66], Operations: ['15/5=3', '63+3=66']
Exploring Operation: 13*66=858, Resulting Numbers: [858]
858,24 unequal: No Solution
Exploring Operation: 13+66=79, Resulting Numbers: [79]
79,24 unequal: No Solution
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,24 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: 24:[15, 10], Operations: ['63-13=50', '50/5=10']
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,24 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[5, 35], Operations: ['63-15=48', '48-13=35']
Exploring Operation: 5*35=175, Resulting Numbers: [175]
175,24 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[5, 35], Operations: ['63-13=50', '50-15=35']
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 5*35=175, Resulting Numbers: [175]
175,24 unequal: No Solution
Moving to Node #0,2,0
Current State: 24:[13, 43], Operations: ['63-15=48', '48-5=43']
Exploring Operation: 13*43=559, Resulting Numbers: [559]
559,24 unequal: No Solution
Exploring Operation: 13+43=56, Resulting Numbers: [56]
56,24 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Moving to Node #0,2,4
Current State: 24:[48, 8], Operations: ['63-15=48', '13-5=8']
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 48*8=384, Resulting Numbers: [384]
384,24 unequal: No Solution
Exploring Operation: 48+8=56, Resulting Numbers: [56]
56,24 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Moving to Node #0,1,3
Current State: 24:[15, 45], Operations: ['63-13=50', '50-5=45']
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 15*45=675, Resulting Numbers: [675]
675,24 unequal: No Solution
Exploring Operation: 15+45=60, Resulting Numbers: [60]
60,24 unequal: No Solution
Moving to Node #0,1,4
Current State: 24:[50, 3], Operations: ['63-13=50', '15/5=3']
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,24 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Moving to Node #0,1,2
Current State: 24:[50, 10], Operations: ['63-13=50', '15-5=10']
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 50+10=60, Resulting Numbers: [60]
60,24 unequal: No Solution
Exploring Operation: 50*10=500, Resulting Numbers: [500]
500,24 unequal: No Solution
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[48, 18], Operations: ['63-15=48', '5+13=18']
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 48+18=66, Resulting Numbers: [66]
66,24 unequal: No Solution
Exploring Operation: 48*18=864, Resulting Numbers: [864]
864,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[13, 53], Operations: ['63-15=48', '5+48=53']
Exploring Operation: 53-13=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 13*53=689, Resulting Numbers: [689]
689,24 unequal: No Solution
Exploring Operation: 13+53=66, Resulting Numbers: [66]
66,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[2, 58], Operations: ['15-13=2', '63-5=58']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,24 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,24 unequal: No Solution
Exploring Operation: 2*58=116, Resulting Numbers: [116]
116,24 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,24 unequal: No Solution
Moving to Node #0,0,2
Current State: 24:[5, 61], Operations: ['15-13=2', '63-2=61']
Exploring Operation: 5*61=305, Resulting Numbers: [305]
305,24 unequal: No Solution
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,24 unequal: No Solution
Exploring Operation: 5+61=66, Resulting Numbers: [66]
66,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[63, 3], Operations: ['15-13=2', '5-2=3']
Exploring Operation: 63*3=189, Resulting Numbers: [189]
189,24 unequal: No Solution
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,24 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,24 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Moving to Node #0,0,4
Current State: 24:[63, 7], Operations: ['15-13=2', '5+2=7']
Exploring Operation: 63+7=70, Resulting Numbers: [70]
70,24 unequal: No Solution
Exploring Operation: 63/7=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 63-7=56, Resulting Numbers: [56]
56,24 unequal: No Solution
Exploring Operation: 63*7=441, Resulting Numbers: [441]
441,24 unequal: No Solution
Moving to Node #0,0,3
Current State: 24:[63, 10], Operations: ['15-13=2', '5*2=10']
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,24 unequal: No Solution
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,24 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
76,
47,
38,
31
] | 63 | [
"76*47=3572",
"3572/38=94",
"94-31=63"
] | Current State: 63:[76, 47, 38, 31], Operations: []
Exploring Operation: 76*47=3572, Resulting Numbers: [38, 31, 3572]
Generated Node #2: [38, 31, 3572] from Operation: 76*47=3572
Current State: 63:[38, 31, 3572], Operations: ['76*47=3572']
Exploring Operation: 3572/38=94, Resulting Numbers: [31, 94]
Generated Node #3: [31, 94] from Operation: 3572/38=94
Current State: 63:[31, 94], Operations: ['76*47=3572', '3572/38=94']
Exploring Operation: 94-31=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[76, 47, 38, 31], Operations: []
Exploring Operation: 47-38=9, Resulting Numbers: [76, 31, 9]
Generated Node #0,0: 63:[76, 31, 9] Operation: 47-38=9
Exploring Operation: 38-31=7, Resulting Numbers: [76, 47, 7]
Generated Node #0,1: 63:[76, 47, 7] Operation: 38-31=7
Exploring Operation: 76/38=2, Resulting Numbers: [47, 31, 2]
Generated Node #0,2: 63:[47, 31, 2] Operation: 76/38=2
Moving to Node #0,0
Current State: 63:[76, 31, 9], Operations: ['47-38=9']
Exploring Operation: 76-31=45, Resulting Numbers: [9, 45]
Generated Node #0,0,0: 63:[9, 45] Operation: 76-31=45
Exploring Operation: 76-9=67, Resulting Numbers: [31, 67]
Generated Node #0,0,1: 63:[31, 67] Operation: 76-9=67
Exploring Operation: 31-9=22, Resulting Numbers: [76, 22]
Generated Node #0,0,2: 63:[76, 22] Operation: 31-9=22
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 63:[31, 67], Operations: ['47-38=9', '76-9=67']
Exploring Operation: 31*67=2077, Resulting Numbers: [2077]
2077,63 unequal: No Solution
Exploring Operation: 31+67=98, Resulting Numbers: [98]
98,63 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 63:[76, 22], Operations: ['47-38=9', '31-9=22']
Exploring Operation: 76*22=1672, Resulting Numbers: [1672]
1672,63 unequal: No Solution
Exploring Operation: 76+22=98, Resulting Numbers: [98]
98,63 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[9, 45], Operations: ['47-38=9', '76-31=45']
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,63 unequal: No Solution
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,63 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: 63:[47, 31, 2], Operations: ['76/38=2']
Exploring Operation: 31*2=62, Resulting Numbers: [47, 62]
Generated Node #0,2,0: 63:[47, 62] Operation: 31*2=62
Exploring Operation: 47+31=78, Resulting Numbers: [2, 78]
Generated Node #0,2,1: 63:[2, 78] Operation: 47+31=78
Exploring Operation: 47-31=16, Resulting Numbers: [2, 16]
Generated Node #0,2,2: 63:[2, 16] Operation: 47-31=16
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 63:[2, 16], Operations: ['76/38=2', '47-31=16']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 63:[2, 78], Operations: ['76/38=2', '47+31=78']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,63 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,63 unequal: No Solution
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 63:[47, 62], Operations: ['76/38=2', '31*2=62']
Exploring Operation: 62-47=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 47*62=2914, Resulting Numbers: [2914]
2914,63 unequal: No Solution
Exploring Operation: 47+62=109, Resulting Numbers: [109]
109,63 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: 63:[76, 47, 7], Operations: ['38-31=7']
Exploring Operation: 47+7=54, Resulting Numbers: [76, 54]
Generated Node #0,1,0: 63:[76, 54] Operation: 47+7=54
Exploring Operation: 76-7=69, Resulting Numbers: [47, 69]
Generated Node #0,1,1: 63:[47, 69] Operation: 76-7=69
Exploring Operation: 76-47=29, Resulting Numbers: [7, 29]
Generated Node #0,1,2: 63:[7, 29] Operation: 76-47=29
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 63:[7, 29], Operations: ['38-31=7', '76-47=29']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,63 unequal: No Solution
Exploring Operation: 7*29=203, Resulting Numbers: [203]
203,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 63:[76, 54], Operations: ['38-31=7', '47+7=54']
Exploring Operation: 76-54=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 76*54=4104, Resulting Numbers: [4104]
4104,63 unequal: No Solution
Exploring Operation: 76+54=130, Resulting Numbers: [130]
130,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 63:[47, 69], Operations: ['38-31=7', '76-7=69']
Exploring Operation: 47+69=116, Resulting Numbers: [116]
116,63 unequal: No Solution
Exploring Operation: 47*69=3243, Resulting Numbers: [3243]
3243,63 unequal: No Solution
Exploring Operation: 69-47=22, Resulting Numbers: [22]
22,63 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 |
[
14,
32,
10,
9
] | 82 | [
"14-9=5",
"10*5=50",
"32+50=82"
] | Current State: 82:[14, 32, 10, 9], Operations: []
Exploring Operation: 14-9=5, Resulting Numbers: [32, 10, 5]
Generated Node #2: [32, 10, 5] from Operation: 14-9=5
Current State: 82:[32, 10, 5], Operations: ['14-9=5']
Exploring Operation: 10*5=50, Resulting Numbers: [32, 50]
Generated Node #3: [32, 50] from Operation: 10*5=50
Current State: 82:[32, 50], Operations: ['14-9=5', '10*5=50']
Exploring Operation: 32+50=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[14, 32, 10, 9], Operations: []
Exploring Operation: 14+32=46, Resulting Numbers: [10, 9, 46]
Generated Node #0,0: 82:[10, 9, 46] Operation: 14+32=46
Exploring Operation: 14-9=5, Resulting Numbers: [32, 10, 5]
Generated Node #0,1: 82:[32, 10, 5] Operation: 14-9=5
Exploring Operation: 14-10=4, Resulting Numbers: [32, 9, 4]
Generated Node #0,2: 82:[32, 9, 4] Operation: 14-10=4
Exploring Operation: 32+10=42, Resulting Numbers: [14, 9, 42]
Generated Node #0,3: 82:[14, 9, 42] Operation: 32+10=42
Moving to Node #0,2
Current State: 82:[32, 9, 4], Operations: ['14-10=4']
Exploring Operation: 9-4=5, Resulting Numbers: [32, 5]
Generated Node #0,2,0: 82:[32, 5] Operation: 9-4=5
Exploring Operation: 32+4=36, Resulting Numbers: [9, 36]
Generated Node #0,2,1: 82:[9, 36] Operation: 32+4=36
Exploring Operation: 32+9=41, Resulting Numbers: [4, 41]
Generated Node #0,2,2: 82:[4, 41] Operation: 32+9=41
Exploring Operation: 32/4=8, Resulting Numbers: [9, 8]
Generated Node #0,2,3: 82:[9, 8] Operation: 32/4=8
Moving to Node #0,1
Current State: 82:[32, 10, 5], Operations: ['14-9=5']
Exploring Operation: 10-5=5, Resulting Numbers: [32, 5]
Generated Node #0,1,0: 82:[32, 5] Operation: 10-5=5
Exploring Operation: 10/5=2, Resulting Numbers: [32, 2]
Generated Node #0,1,1: 82:[32, 2] Operation: 10/5=2
Exploring Operation: 32+10=42, Resulting Numbers: [5, 42]
Generated Node #0,1,2: 82:[5, 42] Operation: 32+10=42
Exploring Operation: 32+5=37, Resulting Numbers: [10, 37]
Generated Node #0,1,3: 82:[10, 37] Operation: 32+5=37
Moving to Node #0,0
Current State: 82:[10, 9, 46], Operations: ['14+32=46']
Exploring Operation: 46-9=37, Resulting Numbers: [10, 37]
Generated Node #0,0,0: 82:[10, 37] Operation: 46-9=37
Exploring Operation: 10-9=1, Resulting Numbers: [46, 1]
Generated Node #0,0,1: 82:[46, 1] Operation: 10-9=1
Exploring Operation: 10*9=90, Resulting Numbers: [46, 90]
Generated Node #0,0,2: 82:[46, 90] Operation: 10*9=90
Exploring Operation: 46-10=36, Resulting Numbers: [9, 36]
Generated Node #0,0,3: 82:[9, 36] Operation: 46-10=36
Moving to Node #0,3
Current State: 82:[14, 9, 42], Operations: ['32+10=42']
Exploring Operation: 42-14=28, Resulting Numbers: [9, 28]
Generated Node #0,3,0: 82:[9, 28] Operation: 42-14=28
Exploring Operation: 14-9=5, Resulting Numbers: [42, 5]
Generated Node #0,3,1: 82:[42, 5] Operation: 14-9=5
Exploring Operation: 14+9=23, Resulting Numbers: [42, 23]
Generated Node #0,3,2: 82:[42, 23] Operation: 14+9=23
Exploring Operation: 42/14=3, Resulting Numbers: [9, 3]
Generated Node #0,3,3: 82:[9, 3] Operation: 42/14=3
Moving to Node #0,2,2
Current State: 82:[4, 41], Operations: ['14-10=4', '32+9=41']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Exploring Operation: 4*41=164, Resulting Numbers: [164]
164,82 unequal: No Solution
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Moving to Node #0,3,1
Current State: 82:[42, 5], Operations: ['32+10=42', '14-9=5']
Exploring Operation: 42*5=210, Resulting Numbers: [210]
210,82 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Exploring Operation: 42+5=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[5, 42], Operations: ['14-9=5', '32+10=42']
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 5*42=210, Resulting Numbers: [210]
210,82 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[46, 1], Operations: ['14+32=46', '10-9=1']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,82 unequal: No Solution
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,82 unequal: No Solution
Moving to Node #0,3,3
Current State: 82:[9, 3], Operations: ['32+10=42', '42/14=3']
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,82 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,82 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[32, 2], Operations: ['14-9=5', '10/5=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,82 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,82 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[32, 5], Operations: ['14-9=5', '10-5=5']
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,82 unequal: No Solution
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[9, 36], Operations: ['14-10=4', '32+4=36']
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Exploring Operation: 9*36=324, Resulting Numbers: [324]
324,82 unequal: No Solution
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[10, 37], Operations: ['14+32=46', '46-9=37']
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 10*37=370, Resulting Numbers: [370]
370,82 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Moving to Node #0,2,0
Current State: 82:[32, 5], Operations: ['14-10=4', '9-4=5']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,82 unequal: No Solution
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Moving to Node #0,0,3
Current State: 82:[9, 36], Operations: ['14+32=46', '46-10=36']
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Exploring Operation: 9*36=324, Resulting Numbers: [324]
324,82 unequal: No Solution
Moving to Node #0,1,3
Current State: 82:[10, 37], Operations: ['14-9=5', '32+5=37']
Exploring Operation: 10*37=370, Resulting Numbers: [370]
370,82 unequal: No Solution
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[46, 90], Operations: ['14+32=46', '10*9=90']
Exploring Operation: 46+90=136, Resulting Numbers: [136]
136,82 unequal: No Solution
Exploring Operation: 46*90=4140, Resulting Numbers: [4140]
4140,82 unequal: No Solution
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Moving to Node #0,2,3
Current State: 82:[9, 8], Operations: ['14-10=4', '32/4=8']
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,82 unequal: No Solution
Moving to Node #0,3,2
Current State: 82:[42, 23], Operations: ['32+10=42', '14+9=23']
Exploring Operation: 42+23=65, Resulting Numbers: [65]
65,82 unequal: No Solution
Exploring Operation: 42*23=966, Resulting Numbers: [966]
966,82 unequal: No Solution
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,82 unequal: No Solution
Moving to Node #0,3,0
Current State: 82:[9, 28], Operations: ['32+10=42', '42-14=28']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,82 unequal: No Solution
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,82 unequal: No Solution
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,82 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.