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 |
|---|---|---|---|---|---|---|---|---|
[
63,
5,
93,
88
] | 53
|
[
"63-5=58",
"93-88=5",
"58-5=53"
] |
Current State: 53:[63, 5, 93, 88], Operations: []
Exploring Operation: 63-5=58, Resulting Numbers: [93, 88, 58]
Generated Node #2: [93, 88, 58] from Operation: 63-5=58
Current State: 53:[93, 88, 58], Operations: ['63-5=58']
Exploring Operation: 93-88=5, Resulting Numbers: [58, 5]
Generated Node #3: [58, 5] from Operation: 93-88=5
Current State: 53:[58, 5], Operations: ['63-5=58', '93-88=5']
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4
|
Current State: 53:[63, 5, 93, 88], Operations: []
Exploring Operation: 93-5=88, Resulting Numbers: [63, 88, 88]
Generated Node #0,0: 53:[63, 88, 88] Operation: 93-5=88
Exploring Operation: 63-5=58, Resulting Numbers: [93, 88, 58]
Generated Node #0,1: 53:[93, 88, 58] Operation: 63-5=58
Moving to Node #0,0
Current State: 53:[63, 88, 88], Operations: ['93-5=88']
Exploring Operation: 88/88=1, Resulting Numbers: [63, 1]
Generated Node #0,0,0: 53:[63, 1] Operation: 88/88=1
Exploring Operation: 88-63=25, Resulting Numbers: [88, 25]
Generated Node #0,0,1: 53:[88, 25] Operation: 88-63=25
Moving to Node #0,1
Current State: 53:[93, 88, 58], Operations: ['63-5=58']
Exploring Operation: 93-58=35, Resulting Numbers: [88, 35]
Generated Node #0,1,0: 53:[88, 35] Operation: 93-58=35
Exploring Operation: 93-88=5, Resulting Numbers: [58, 5]
Generated Node #0,1,1: 53:[58, 5] Operation: 93-88=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[88, 35], Operations: ['63-5=58', '93-58=35']
Exploring Operation: 88-35=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[63, 5, 93, 88], Operations: []
Exploring Operation: 63-5=58, Resulting Numbers: [93, 88, 58]
Generated Node #0,1: 53:[93, 88, 58] Operation: 63-5=58
Moving to Node #0,1
Current State: 53:[93, 88, 58], Operations: ['63-5=58']
Exploring Operation: 93-58=35, Resulting Numbers: [88, 35]
Generated Node #0,1,0: 53:[88, 35] Operation: 93-58=35
Moving to Node #0,1,0
Current State: 53:[88, 35], Operations: ['63-5=58', '93-58=35']
Exploring Operation: 88-35=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451
|
hs_2
|
mult_heuristic
|
[
2,
21,
13,
46
] | 29
|
[
"21+13=34",
"34/2=17",
"46-17=29"
] |
Current State: 29:[2, 21, 13, 46], Operations: []
Exploring Operation: 21+13=34, Resulting Numbers: [2, 46, 34]
Generated Node #2: [2, 46, 34] from Operation: 21+13=34
Current State: 29:[2, 46, 34], Operations: ['21+13=34']
Exploring Operation: 34/2=17, Resulting Numbers: [46, 17]
Generated Node #3: [46, 17] from Operation: 34/2=17
Current State: 29:[46, 17], Operations: ['21+13=34', '34/2=17']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4
|
Current State: 29:[2, 21, 13, 46], Operations: []
Exploring Operation: 46/2=23, Resulting Numbers: [21, 13, 23]
Generated Node #0,0: 29:[21, 13, 23] Operation: 46/2=23
Exploring Operation: 2*13=26, Resulting Numbers: [21, 46, 26]
Generated Node #0,1: 29:[21, 46, 26] Operation: 2*13=26
Exploring Operation: 2+21=23, Resulting Numbers: [13, 46, 23]
Generated Node #0,2: 29:[13, 46, 23] Operation: 2+21=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[21, 46, 26], Operations: ['2*13=26']
Exploring Operation: 46-21=25, Resulting Numbers: [26, 25]
Generated Node #0,1,0: 29:[26, 25] Operation: 46-21=25
Exploring Operation: 46-26=20, Resulting Numbers: [21, 20]
Generated Node #0,1,1: 29:[21, 20] Operation: 46-26=20
Exploring Operation: 21+26=47, Resulting Numbers: [46, 47]
Generated Node #0,1,2: 29:[46, 47] Operation: 21+26=47
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[26, 25], Operations: ['2*13=26', '46-21=25']
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,29 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,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,1
Current State: 29:[21, 20], Operations: ['2*13=26', '46-26=20']
Exploring Operation: 21*20=420, Resulting Numbers: [420]
420,29 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,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:[46, 47], Operations: ['2*13=26', '21+26=47']
Exploring Operation: 46*47=2162, Resulting Numbers: [2162]
2162,29 unequal: No Solution
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 46+47=93, Resulting Numbers: [93]
93,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,0
Current State: 29:[21, 13, 23], Operations: ['46/2=23']
Exploring Operation: 21-13=8, Resulting Numbers: [23, 8]
Generated Node #0,0,0: 29:[23, 8] Operation: 21-13=8
Exploring Operation: 13+23=36, Resulting Numbers: [21, 36]
Generated Node #0,0,1: 29:[21, 36] Operation: 13+23=36
Exploring Operation: 21+13=34, Resulting Numbers: [23, 34]
Generated Node #0,0,2: 29:[23, 34] Operation: 21+13=34
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 29:[23, 34], Operations: ['46/2=23', '21+13=34']
Exploring Operation: 23*34=782, Resulting Numbers: [782]
782,29 unequal: No Solution
Exploring Operation: 23+34=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[21, 36], Operations: ['46/2=23', '13+23=36']
Exploring Operation: 21*36=756, Resulting Numbers: [756]
756,29 unequal: No Solution
Exploring Operation: 21+36=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[23, 8], Operations: ['46/2=23', '21-13=8']
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[13, 46, 23], Operations: ['2+21=23']
Exploring Operation: 46-23=23, Resulting Numbers: [13, 23]
Generated Node #0,2,0: 29:[13, 23] Operation: 46-23=23
Exploring Operation: 13+23=36, Resulting Numbers: [46, 36]
Generated Node #0,2,1: 29:[46, 36] Operation: 13+23=36
Exploring Operation: 46-13=33, Resulting Numbers: [23, 33]
Generated Node #0,2,2: 29:[23, 33] Operation: 46-13=33
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 29:[23, 33], Operations: ['2+21=23', '46-13=33']
Exploring Operation: 23+33=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 23*33=759, Resulting Numbers: [759]
759,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[13, 23], Operations: ['2+21=23', '46-23=23']
Exploring Operation: 13*23=299, Resulting Numbers: [299]
299,29 unequal: No Solution
Exploring Operation: 13+23=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 29:[46, 36], Operations: ['2+21=23', '13+23=36']
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 46+36=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 46*36=1656, Resulting Numbers: [1656]
1656,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
49,
98,
76,
2
] | 44
|
[
"76-49=27",
"2*27=54",
"98-54=44"
] |
Current State: 44:[49, 98, 76, 2], Operations: []
Exploring Operation: 76-49=27, Resulting Numbers: [98, 2, 27]
Generated Node #2: [98, 2, 27] from Operation: 76-49=27
Current State: 44:[98, 2, 27], Operations: ['76-49=27']
Exploring Operation: 2*27=54, Resulting Numbers: [98, 54]
Generated Node #3: [98, 54] from Operation: 2*27=54
Current State: 44:[98, 54], Operations: ['76-49=27', '2*27=54']
Exploring Operation: 98-54=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4
|
Current State: 44:[49, 98, 76, 2], Operations: []
Exploring Operation: 98-49=49, Resulting Numbers: [76, 2, 49]
Generated Node #0,0: 44:[76, 2, 49] Operation: 98-49=49
Exploring Operation: 98/49=2, Resulting Numbers: [76, 2, 2]
Generated Node #0,1: 44:[76, 2, 2] Operation: 98/49=2
Exploring Operation: 98/2=49, Resulting Numbers: [49, 76, 49]
Generated Node #0,2: 44:[49, 76, 49] Operation: 98/2=49
Exploring Operation: 98-76=22, Resulting Numbers: [49, 2, 22]
Generated Node #0,3: 44:[49, 2, 22] Operation: 98-76=22
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[49, 2, 22], Operations: ['98-76=22']
Exploring Operation: 49-22=27, Resulting Numbers: [2, 27]
Generated Node #0,3,0: 44:[2, 27] Operation: 49-22=27
Exploring Operation: 49-2=47, Resulting Numbers: [22, 47]
Generated Node #0,3,1: 44:[22, 47] Operation: 49-2=47
Exploring Operation: 22/2=11, Resulting Numbers: [49, 11]
Generated Node #0,3,2: 44:[49, 11] Operation: 22/2=11
Exploring Operation: 2*22=44, Resulting Numbers: [49, 44]
Generated Node #0,3,3: 44:[49, 44] Operation: 2*22=44
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 44:[22, 47], Operations: ['98-76=22', '49-2=47']
Exploring Operation: 22*47=1034, Resulting Numbers: [1034]
1034,44 unequal: No Solution
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Exploring Operation: 22+47=69, Resulting Numbers: [69]
69,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,3,0
Current State: 44:[2, 27], Operations: ['98-76=22', '49-22=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,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,3,2
Current State: 44:[49, 11], Operations: ['98-76=22', '22/2=11']
Exploring Operation: 49*11=539, Resulting Numbers: [539]
539,44 unequal: No Solution
Exploring Operation: 49+11=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,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,3,3
Current State: 44:[49, 44], Operations: ['98-76=22', '2*22=44']
Exploring Operation: 49*44=2156, Resulting Numbers: [2156]
2156,44 unequal: No Solution
Exploring Operation: 49+44=93, Resulting Numbers: [93]
93,44 unequal: No Solution
Exploring Operation: 49-44=5, Resulting Numbers: [5]
5,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,1
Current State: 44:[76, 2, 2], Operations: ['98/49=2']
Exploring Operation: 76/2=38, Resulting Numbers: [2, 38]
Generated Node #0,1,0: 44:[2, 38] Operation: 76/2=38
Exploring Operation: 76/2=38, Resulting Numbers: [2, 38]
Generated Node #0,1,1: 44:[2, 38] Operation: 76/2=38
Exploring Operation: 76-2=74, Resulting Numbers: [2, 74]
Generated Node #0,1,2: 44:[2, 74] Operation: 76-2=74
Exploring Operation: 76-2=74, Resulting Numbers: [2, 74]
Generated Node #0,1,3: 44:[2, 74] Operation: 76-2=74
Moving to Node #0,1,0
Current State: 44:[2, 38], Operations: ['98/49=2', '76/2=38']
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,44 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,44 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,44 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[2, 38], Operations: ['98/49=2', '76/2=38']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,44 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,44 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,44 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,44 unequal: No Solution
Moving to Node #0,1,3
Current State: 44:[2, 74], Operations: ['98/49=2', '76-2=74']
Exploring Operation: 2*74=148, Resulting Numbers: [148]
148,44 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,44 unequal: No Solution
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,44 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[2, 74], Operations: ['98/49=2', '76-2=74']
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,44 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,44 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,44 unequal: No Solution
Exploring Operation: 2*74=148, Resulting Numbers: [148]
148,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,0
Current State: 44:[76, 2, 49], Operations: ['98-49=49']
Exploring Operation: 49-2=47, Resulting Numbers: [76, 47]
Generated Node #0,0,0: 44:[76, 47] Operation: 49-2=47
Exploring Operation: 76-2=74, Resulting Numbers: [49, 74]
Generated Node #0,0,1: 44:[49, 74] Operation: 76-2=74
Exploring Operation: 76/2=38, Resulting Numbers: [49, 38]
Generated Node #0,0,2: 44:[49, 38] Operation: 76/2=38
Exploring Operation: 76-49=27, Resulting Numbers: [2, 27]
Generated Node #0,0,3: 44:[2, 27] Operation: 76-49=27
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 44:[2, 27], Operations: ['98-49=49', '76-49=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Exploring Operation: 2+27=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,0,2
Current State: 44:[49, 38], Operations: ['98-49=49', '76/2=38']
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 49+38=87, Resulting Numbers: [87]
87,44 unequal: No Solution
Exploring Operation: 49*38=1862, Resulting Numbers: [1862]
1862,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,0,0
Current State: 44:[76, 47], Operations: ['98-49=49', '49-2=47']
Exploring Operation: 76+47=123, Resulting Numbers: [123]
123,44 unequal: No Solution
Exploring Operation: 76*47=3572, Resulting Numbers: [3572]
3572,44 unequal: No Solution
Exploring Operation: 76-47=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,0,1
Current State: 44:[49, 74], Operations: ['98-49=49', '76-2=74']
Exploring Operation: 49+74=123, Resulting Numbers: [123]
123,44 unequal: No Solution
Exploring Operation: 49*74=3626, Resulting Numbers: [3626]
3626,44 unequal: No Solution
Exploring Operation: 74-49=25, Resulting Numbers: [25]
25,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:[49, 76, 49], Operations: ['98/2=49']
Exploring Operation: 76-49=27, Resulting Numbers: [49, 27]
Generated Node #0,2,0: 44:[49, 27] Operation: 76-49=27
Exploring Operation: 76-49=27, Resulting Numbers: [49, 27]
Generated Node #0,2,1: 44:[49, 27] Operation: 76-49=27
Exploring Operation: 49-49=0, Resulting Numbers: [76, 0]
Generated Node #0,2,2: 44:[76, 0] Operation: 49-49=0
Exploring Operation: 49/49=1, Resulting Numbers: [76, 1]
Generated Node #0,2,3: 44:[76, 1] Operation: 49/49=1
Moving to Node #0,2,0
Current State: 44:[49, 27], Operations: ['98/2=49', '76-49=27']
Exploring Operation: 49+27=76, Resulting Numbers: [76]
76,44 unequal: No Solution
Exploring Operation: 49*27=1323, Resulting Numbers: [1323]
1323,44 unequal: No Solution
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[49, 27], Operations: ['98/2=49', '76-49=27']
Exploring Operation: 49*27=1323, Resulting Numbers: [1323]
1323,44 unequal: No Solution
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,44 unequal: No Solution
Exploring Operation: 49+27=76, Resulting Numbers: [76]
76,44 unequal: No Solution
Moving to Node #0,2,3
Current State: 44:[76, 1], Operations: ['98/2=49', '49/49=1']
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,44 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,44 unequal: No Solution
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,44 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[76, 0], Operations: ['98/2=49', '49-49=0']
Exploring Operation: 76+0=76, Resulting Numbers: [76]
76,44 unequal: No Solution
Exploring Operation: 76-0=76, Resulting Numbers: [76]
76,44 unequal: No Solution
Exploring Operation: 76*0=0, Resulting Numbers: [0]
0,44 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
|
[
10,
42,
42,
88
] | 97
|
[
"10+88=98",
"42/42=1",
"98-1=97"
] |
Current State: 97:[10, 42, 42, 88], Operations: []
Exploring Operation: 10+88=98, Resulting Numbers: [42, 42, 98]
Generated Node #2: [42, 42, 98] from Operation: 10+88=98
Current State: 97:[42, 42, 98], Operations: ['10+88=98']
Exploring Operation: 42/42=1, Resulting Numbers: [98, 1]
Generated Node #3: [98, 1] from Operation: 42/42=1
Current State: 97:[98, 1], Operations: ['10+88=98', '42/42=1']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4
|
Current State: 97:[10, 42, 42, 88], Operations: []
Exploring Operation: 42+42=84, Resulting Numbers: [10, 88, 84]
Generated Node #0,0: 97:[10, 88, 84] Operation: 42+42=84
Exploring Operation: 10+88=98, Resulting Numbers: [42, 42, 98]
Generated Node #0,1: 97:[42, 42, 98] Operation: 10+88=98
Exploring Operation: 10+42=52, Resulting Numbers: [42, 88, 52]
Generated Node #0,2: 97:[42, 88, 52] Operation: 10+42=52
Exploring Operation: 10+42=52, Resulting Numbers: [42, 88, 52]
Generated Node #0,3: 97:[42, 88, 52] Operation: 10+42=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[10, 88, 84], Operations: ['42+42=84']
Exploring Operation: 84-10=74, Resulting Numbers: [88, 74]
Generated Node #0,0,0: 97:[88, 74] Operation: 84-10=74
Exploring Operation: 10+84=94, Resulting Numbers: [88, 94]
Generated Node #0,0,1: 97:[88, 94] Operation: 10+84=94
Exploring Operation: 88-10=78, Resulting Numbers: [84, 78]
Generated Node #0,0,2: 97:[84, 78] Operation: 88-10=78
Exploring Operation: 10+88=98, Resulting Numbers: [84, 98]
Generated Node #0,0,3: 97:[84, 98] Operation: 10+88=98
Moving to Node #0,0,1
Current State: 97:[88, 94], Operations: ['42+42=84', '10+84=94']
Exploring Operation: 88+94=182, Resulting Numbers: [182]
182,97 unequal: No Solution
Exploring Operation: 88*94=8272, Resulting Numbers: [8272]
8272,97 unequal: No Solution
Exploring Operation: 94-88=6, Resulting Numbers: [6]
6,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[84, 98], Operations: ['42+42=84', '10+88=98']
Exploring Operation: 84*98=8232, Resulting Numbers: [8232]
8232,97 unequal: No Solution
Exploring Operation: 84+98=182, Resulting Numbers: [182]
182,97 unequal: No Solution
Exploring Operation: 98-84=14, Resulting Numbers: [14]
14,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[84, 78], Operations: ['42+42=84', '88-10=78']
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,97 unequal: No Solution
Exploring Operation: 84*78=6552, Resulting Numbers: [6552]
6552,97 unequal: No Solution
Exploring Operation: 84+78=162, Resulting Numbers: [162]
162,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[88, 74], Operations: ['42+42=84', '84-10=74']
Exploring Operation: 88*74=6512, Resulting Numbers: [6512]
6512,97 unequal: No Solution
Exploring Operation: 88-74=14, Resulting Numbers: [14]
14,97 unequal: No Solution
Exploring Operation: 88+74=162, Resulting Numbers: [162]
162,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[42, 88, 52], Operations: ['10+42=52']
Exploring Operation: 52-42=10, Resulting Numbers: [88, 10]
Generated Node #0,2,0: 97:[88, 10] Operation: 52-42=10
Exploring Operation: 42+88=130, Resulting Numbers: [52, 130]
Generated Node #0,2,1: 97:[52, 130] Operation: 42+88=130
Exploring Operation: 88-42=46, Resulting Numbers: [52, 46]
Generated Node #0,2,2: 97:[52, 46] Operation: 88-42=46
Exploring Operation: 42+52=94, Resulting Numbers: [88, 94]
Generated Node #0,2,3: 97:[88, 94] Operation: 42+52=94
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 97:[88, 94], Operations: ['10+42=52', '42+52=94']
Exploring Operation: 88+94=182, Resulting Numbers: [182]
182,97 unequal: No Solution
Exploring Operation: 88*94=8272, Resulting Numbers: [8272]
8272,97 unequal: No Solution
Exploring Operation: 94-88=6, Resulting Numbers: [6]
6,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 97:[52, 130], Operations: ['10+42=52', '42+88=130']
Exploring Operation: 52+130=182, Resulting Numbers: [182]
182,97 unequal: No Solution
Exploring Operation: 130-52=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Exploring Operation: 52*130=6760, Resulting Numbers: [6760]
6760,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 97:[88, 10], Operations: ['10+42=52', '52-42=10']
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 97:[52, 46], Operations: ['10+42=52', '88-42=46']
Exploring Operation: 52*46=2392, Resulting Numbers: [2392]
2392,97 unequal: No Solution
Exploring Operation: 52+46=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 52-46=6, Resulting Numbers: [6]
6,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 97:[42, 88, 52], Operations: ['10+42=52']
Exploring Operation: 88-42=46, Resulting Numbers: [52, 46]
Generated Node #0,3,0: 97:[52, 46] Operation: 88-42=46
Exploring Operation: 52-42=10, Resulting Numbers: [88, 10]
Generated Node #0,3,1: 97:[88, 10] Operation: 52-42=10
Exploring Operation: 42+52=94, Resulting Numbers: [88, 94]
Generated Node #0,3,2: 97:[88, 94] Operation: 42+52=94
Exploring Operation: 42+88=130, Resulting Numbers: [52, 130]
Generated Node #0,3,3: 97:[52, 130] Operation: 42+88=130
Moving to Node #0,3,2
Current State: 97:[88, 94], Operations: ['10+42=52', '42+52=94']
Exploring Operation: 88+94=182, Resulting Numbers: [182]
182,97 unequal: No Solution
Exploring Operation: 94-88=6, Resulting Numbers: [6]
6,97 unequal: No Solution
Exploring Operation: 88*94=8272, Resulting Numbers: [8272]
8272,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[52, 130], Operations: ['10+42=52', '42+88=130']
Exploring Operation: 130-52=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Exploring Operation: 52*130=6760, Resulting Numbers: [6760]
6760,97 unequal: No Solution
Exploring Operation: 52+130=182, Resulting Numbers: [182]
182,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[88, 10], Operations: ['10+42=52', '52-42=10']
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,97 unequal: No Solution
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[52, 46], Operations: ['10+42=52', '88-42=46']
Exploring Operation: 52-46=6, Resulting Numbers: [6]
6,97 unequal: No Solution
Exploring Operation: 52+46=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 52*46=2392, Resulting Numbers: [2392]
2392,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[42, 42, 98], Operations: ['10+88=98']
Exploring Operation: 98-42=56, Resulting Numbers: [42, 56]
Generated Node #0,1,0: 97:[42, 56] Operation: 98-42=56
Exploring Operation: 98-42=56, Resulting Numbers: [42, 56]
Generated Node #0,1,1: 97:[42, 56] Operation: 98-42=56
Exploring Operation: 42/42=1, Resulting Numbers: [98, 1]
Generated Node #0,1,2: 97:[98, 1] Operation: 42/42=1
Exploring Operation: 42+42=84, Resulting Numbers: [98, 84]
Generated Node #0,1,3: 97:[98, 84] Operation: 42+42=84
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 97:[98, 84], Operations: ['10+88=98', '42+42=84']
Exploring Operation: 98-84=14, Resulting Numbers: [14]
14,97 unequal: No Solution
Exploring Operation: 98*84=8232, Resulting Numbers: [8232]
8232,97 unequal: No Solution
Exploring Operation: 98+84=182, Resulting Numbers: [182]
182,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[42, 56], Operations: ['10+88=98', '98-42=56']
Exploring Operation: 42*56=2352, Resulting Numbers: [2352]
2352,97 unequal: No Solution
Exploring Operation: 42+56=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[42, 56], Operations: ['10+88=98', '98-42=56']
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,97 unequal: No Solution
Exploring Operation: 42+56=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 42*56=2352, Resulting Numbers: [2352]
2352,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 97:[98, 1], Operations: ['10+88=98', '42/42=1']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[10, 42, 42, 88], Operations: []
Exploring Operation: 10+88=98, Resulting Numbers: [42, 42, 98]
Generated Node #0,1: 97:[42, 42, 98] Operation: 10+88=98
Moving to Node #0,1
Current State: 97:[42, 42, 98], Operations: ['10+88=98']
Exploring Operation: 42/42=1, Resulting Numbers: [98, 1]
Generated Node #0,1,2: 97:[98, 1] Operation: 42/42=1
Moving to Node #0,1,2
Current State: 97:[98, 1], Operations: ['10+88=98', '42/42=1']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.939236
|
hs_4
|
sum_heuristic
|
[
67,
63,
64,
34
] | 32
|
[
"67+63=130",
"64+34=98",
"130-98=32"
] |
Current State: 32:[67, 63, 64, 34], Operations: []
Exploring Operation: 67+63=130, Resulting Numbers: [64, 34, 130]
Generated Node #2: [64, 34, 130] from Operation: 67+63=130
Current State: 32:[64, 34, 130], Operations: ['67+63=130']
Exploring Operation: 64+34=98, Resulting Numbers: [130, 98]
Generated Node #3: [130, 98] from Operation: 64+34=98
Current State: 32:[130, 98], Operations: ['67+63=130', '64+34=98']
Exploring Operation: 130-98=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4
|
Current State: 32:[67, 63, 64, 34], Operations: []
Exploring Operation: 64-34=30, Resulting Numbers: [67, 63, 30]
Generated Node #0,0: 32:[67, 63, 30] Operation: 64-34=30
Exploring Operation: 67-63=4, Resulting Numbers: [64, 34, 4]
Generated Node #0,1: 32:[64, 34, 4] Operation: 67-63=4
Exploring Operation: 67-64=3, Resulting Numbers: [63, 34, 3]
Generated Node #0,2: 32:[63, 34, 3] Operation: 67-64=3
Exploring Operation: 67-34=33, Resulting Numbers: [63, 64, 33]
Generated Node #0,3: 32:[63, 64, 33] Operation: 67-34=33
Exploring Operation: 64-63=1, Resulting Numbers: [67, 34, 1]
Generated Node #0,4: 32:[67, 34, 1] Operation: 64-63=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[64, 34, 4], Operations: ['67-63=4']
Exploring Operation: 64+4=68, Resulting Numbers: [34, 68]
Generated Node #0,1,0: 32:[34, 68] Operation: 64+4=68
Exploring Operation: 64/4=16, Resulting Numbers: [34, 16]
Generated Node #0,1,1: 32:[34, 16] Operation: 64/4=16
Exploring Operation: 34-4=30, Resulting Numbers: [64, 30]
Generated Node #0,1,2: 32:[64, 30] Operation: 34-4=30
Exploring Operation: 64-34=30, Resulting Numbers: [4, 30]
Generated Node #0,1,3: 32:[4, 30] Operation: 64-34=30
Exploring Operation: 64-4=60, Resulting Numbers: [34, 60]
Generated Node #0,1,4: 32:[34, 60] Operation: 64-4=60
Moving to Node #0,1,1
Current State: 32:[34, 16], Operations: ['67-63=4', '64/4=16']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,32 unequal: No Solution
Exploring Operation: 34*16=544, Resulting Numbers: [544]
544,32 unequal: No Solution
Moving to Node #0,1,3
Current State: 32:[4, 30], Operations: ['67-63=4', '64-34=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,32 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,32 unequal: No Solution
Moving to Node #0,1,4
Current State: 32:[34, 60], Operations: ['67-63=4', '64-4=60']
Exploring Operation: 34+60=94, Resulting Numbers: [94]
94,32 unequal: No Solution
Exploring Operation: 34*60=2040, Resulting Numbers: [2040]
2040,32 unequal: No Solution
Exploring Operation: 60-34=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[64, 30], Operations: ['67-63=4', '34-4=30']
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,32 unequal: No Solution
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,32 unequal: No Solution
Exploring Operation: 64*30=1920, Resulting Numbers: [1920]
1920,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[34, 68], Operations: ['67-63=4', '64+4=68']
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,32 unequal: No Solution
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 34+68=102, Resulting Numbers: [102]
102,32 unequal: No Solution
Exploring Operation: 34*68=2312, Resulting Numbers: [2312]
2312,32 unequal: No Solution
No 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: 32:[63, 34, 3], Operations: ['67-64=3']
Exploring Operation: 63/3=21, Resulting Numbers: [34, 21]
Generated Node #0,2,0: 32:[34, 21] Operation: 63/3=21
Exploring Operation: 63-34=29, Resulting Numbers: [3, 29]
Generated Node #0,2,1: 32:[3, 29] Operation: 63-34=29
Exploring Operation: 34-3=31, Resulting Numbers: [63, 31]
Generated Node #0,2,2: 32:[63, 31] Operation: 34-3=31
Exploring Operation: 63-3=60, Resulting Numbers: [34, 60]
Generated Node #0,2,3: 32:[34, 60] Operation: 63-3=60
Exploring Operation: 63+3=66, Resulting Numbers: [34, 66]
Generated Node #0,2,4: 32:[34, 66] Operation: 63+3=66
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 32:[3, 29], Operations: ['67-64=3', '63-34=29']
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[67, 63, 64, 34], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [63, 34, 3]
Generated Node #0,2: 32:[63, 34, 3] Operation: 67-64=3
Moving to Node #0,2
Current State: 32:[63, 34, 3], Operations: ['67-64=3']
Exploring Operation: 63-34=29, Resulting Numbers: [3, 29]
Generated Node #0,2,1: 32:[3, 29] Operation: 63-34=29
Moving to Node #0,2,1
Current State: 32:[3, 29], Operations: ['67-64=3', '63-34=29']
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875
|
hs_5
|
mult_heuristic
|
[
78,
43,
57,
27
] | 91
|
[
"78+43=121",
"57-27=30",
"121-30=91"
] |
Current State: 91:[78, 43, 57, 27], Operations: []
Exploring Operation: 78+43=121, Resulting Numbers: [57, 27, 121]
Generated Node #2: [57, 27, 121] from Operation: 78+43=121
Current State: 91:[57, 27, 121], Operations: ['78+43=121']
Exploring Operation: 57-27=30, Resulting Numbers: [121, 30]
Generated Node #3: [121, 30] from Operation: 57-27=30
Current State: 91:[121, 30], Operations: ['78+43=121', '57-27=30']
Exploring Operation: 121-30=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4
|
Current State: 91:[78, 43, 57, 27], Operations: []
Exploring Operation: 57-43=14, Resulting Numbers: [78, 27, 14]
Generated Node #0,0: 91:[78, 27, 14] Operation: 57-43=14
Exploring Operation: 43+57=100, Resulting Numbers: [78, 27, 100]
Generated Node #0,1: 91:[78, 27, 100] Operation: 43+57=100
Exploring Operation: 57+27=84, Resulting Numbers: [78, 43, 84]
Generated Node #0,2: 91:[78, 43, 84] Operation: 57+27=84
Exploring Operation: 43-27=16, Resulting Numbers: [78, 57, 16]
Generated Node #0,3: 91:[78, 57, 16] Operation: 43-27=16
Moving to Node #0,0
Current State: 91:[78, 27, 14], Operations: ['57-43=14']
Exploring Operation: 27-14=13, Resulting Numbers: [78, 13]
Generated Node #0,0,0: 91:[78, 13] Operation: 27-14=13
Exploring Operation: 78+27=105, Resulting Numbers: [14, 105]
Generated Node #0,0,1: 91:[14, 105] Operation: 78+27=105
Exploring Operation: 78-27=51, Resulting Numbers: [14, 51]
Generated Node #0,0,2: 91:[14, 51] Operation: 78-27=51
Exploring Operation: 78+14=92, Resulting Numbers: [27, 92]
Generated Node #0,0,3: 91:[27, 92] Operation: 78+14=92
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[78, 13], Operations: ['57-43=14', '27-14=13']
Exploring Operation: 78/13=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 78-13=65, Resulting Numbers: [65]
65,91 unequal: No Solution
Exploring Operation: 78*13=1014, Resulting Numbers: [1014]
1014,91 unequal: No Solution
Exploring Operation: 78+13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[78, 43, 57, 27], Operations: []
Exploring Operation: 57-43=14, Resulting Numbers: [78, 27, 14]
Generated Node #0,0: 91:[78, 27, 14] Operation: 57-43=14
Moving to Node #0,0
Current State: 91:[78, 27, 14], Operations: ['57-43=14']
Exploring Operation: 27-14=13, Resulting Numbers: [78, 13]
Generated Node #0,0,0: 91:[78, 13] Operation: 27-14=13
Moving to Node #0,0,0
Current State: 91:[78, 13], Operations: ['57-43=14', '27-14=13']
Exploring Operation: 78+13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111
|
hs_4
|
mult_heuristic
|
[
12,
55,
66,
15
] | 48
|
[
"66-55=11",
"15-11=4",
"12*4=48"
] |
Current State: 48:[12, 55, 66, 15], Operations: []
Exploring Operation: 66-55=11, Resulting Numbers: [12, 15, 11]
Generated Node #2: [12, 15, 11] from Operation: 66-55=11
Current State: 48:[12, 15, 11], Operations: ['66-55=11']
Exploring Operation: 15-11=4, Resulting Numbers: [12, 4]
Generated Node #3: [12, 4] from Operation: 15-11=4
Current State: 48:[12, 4], Operations: ['66-55=11', '15-11=4']
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4
|
Current State: 48:[12, 55, 66, 15], Operations: []
Exploring Operation: 66-55=11, Resulting Numbers: [12, 15, 11]
Generated Node #0,0: 48:[12, 15, 11] Operation: 66-55=11
Moving to Node #0,0
Current State: 48:[12, 15, 11], Operations: ['66-55=11']
Exploring Operation: 15-11=4, Resulting Numbers: [12, 4]
Generated Node #0,0,0: 48:[12, 4] Operation: 15-11=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[12, 4], Operations: ['66-55=11', '15-11=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,48 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
|
[
93,
17,
21,
65
] | 32
|
[
"93-17=76",
"65-21=44",
"76-44=32"
] |
Current State: 32:[93, 17, 21, 65], Operations: []
Exploring Operation: 93-17=76, Resulting Numbers: [21, 65, 76]
Generated Node #2: [21, 65, 76] from Operation: 93-17=76
Current State: 32:[21, 65, 76], Operations: ['93-17=76']
Exploring Operation: 65-21=44, Resulting Numbers: [76, 44]
Generated Node #3: [76, 44] from Operation: 65-21=44
Current State: 32:[76, 44], Operations: ['93-17=76', '65-21=44']
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4
|
Current State: 32:[93, 17, 21, 65], Operations: []
Exploring Operation: 65-17=48, Resulting Numbers: [93, 21, 48]
Generated Node #0,0: 32:[93, 21, 48] Operation: 65-17=48
Exploring Operation: 93-17=76, Resulting Numbers: [21, 65, 76]
Generated Node #0,1: 32:[21, 65, 76] Operation: 93-17=76
Exploring Operation: 93-65=28, Resulting Numbers: [17, 21, 28]
Generated Node #0,2: 32:[17, 21, 28] Operation: 93-65=28
Exploring Operation: 93-21=72, Resulting Numbers: [17, 65, 72]
Generated Node #0,3: 32:[17, 65, 72] Operation: 93-21=72
Exploring Operation: 65-21=44, Resulting Numbers: [93, 17, 44]
Generated Node #0,4: 32:[93, 17, 44] Operation: 65-21=44
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[17, 21, 28], Operations: ['93-65=28']
Exploring Operation: 28-21=7, Resulting Numbers: [17, 7]
Generated Node #0,2,0: 32:[17, 7] Operation: 28-21=7
Exploring Operation: 17+28=45, Resulting Numbers: [21, 45]
Generated Node #0,2,1: 32:[21, 45] Operation: 17+28=45
Exploring Operation: 17+21=38, Resulting Numbers: [28, 38]
Generated Node #0,2,2: 32:[28, 38] Operation: 17+21=38
Exploring Operation: 28-17=11, Resulting Numbers: [21, 11]
Generated Node #0,2,3: 32:[21, 11] Operation: 28-17=11
Exploring Operation: 21-17=4, Resulting Numbers: [28, 4]
Generated Node #0,2,4: 32:[28, 4] Operation: 21-17=4
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 32:[17, 7], Operations: ['93-65=28', '28-21=7']
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,32 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,32 unequal: No Solution
No 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: 32:[28, 4], Operations: ['93-65=28', '21-17=4']
Exploring Operation: 28*4=112, Resulting Numbers: [112]
112,32 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[93, 17, 21, 65], Operations: []
Exploring Operation: 93-65=28, Resulting Numbers: [17, 21, 28]
Generated Node #0,2: 32:[17, 21, 28] Operation: 93-65=28
Moving to Node #0,2
Current State: 32:[17, 21, 28], Operations: ['93-65=28']
Exploring Operation: 21-17=4, Resulting Numbers: [28, 4]
Generated Node #0,2,4: 32:[28, 4] Operation: 21-17=4
Moving to Node #0,2,4
Current State: 32:[28, 4], Operations: ['93-65=28', '21-17=4']
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771
|
hs_5
|
mult_heuristic
|
[
41,
47,
88,
52
] | 51
|
[
"41+47=88",
"88/88=1",
"52-1=51"
] |
Current State: 51:[41, 47, 88, 52], Operations: []
Exploring Operation: 41+47=88, Resulting Numbers: [88, 52, 88]
Generated Node #2: [88, 52, 88] from Operation: 41+47=88
Current State: 51:[88, 52, 88], Operations: ['41+47=88']
Exploring Operation: 88/88=1, Resulting Numbers: [52, 1]
Generated Node #3: [52, 1] from Operation: 88/88=1
Current State: 51:[52, 1], Operations: ['41+47=88', '88/88=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4
|
Current State: 51:[41, 47, 88, 52], Operations: []
Exploring Operation: 88-52=36, Resulting Numbers: [41, 47, 36]
Generated Node #0,0: 51:[41, 47, 36] Operation: 88-52=36
Exploring Operation: 88-47=41, Resulting Numbers: [41, 52, 41]
Generated Node #0,1: 51:[41, 52, 41] Operation: 88-47=41
Exploring Operation: 88-41=47, Resulting Numbers: [47, 52, 47]
Generated Node #0,2: 51:[47, 52, 47] Operation: 88-41=47
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[47, 52, 47], Operations: ['88-41=47']
Exploring Operation: 47-47=0, Resulting Numbers: [52, 0]
Generated Node #0,2,0: 51:[52, 0] Operation: 47-47=0
Exploring Operation: 47/47=1, Resulting Numbers: [52, 1]
Generated Node #0,2,1: 51:[52, 1] Operation: 47/47=1
Exploring Operation: 52-47=5, Resulting Numbers: [47, 5]
Generated Node #0,2,2: 51:[47, 5] Operation: 52-47=5
Moving to Node #0,2,1
Current State: 51:[52, 1], Operations: ['88-41=47', '47/47=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[41, 47, 88, 52], Operations: []
Exploring Operation: 88-41=47, Resulting Numbers: [47, 52, 47]
Generated Node #0,2: 51:[47, 52, 47] Operation: 88-41=47
Moving to Node #0,2
Current State: 51:[47, 52, 47], Operations: ['88-41=47']
Exploring Operation: 47/47=1, Resulting Numbers: [52, 1]
Generated Node #0,2,1: 51:[52, 1] Operation: 47/47=1
Moving to Node #0,2,1
Current State: 51:[52, 1], Operations: ['88-41=47', '47/47=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451
|
hs_3
|
sum_heuristic
|
[
4,
54,
3,
21
] | 44
|
[
"54-21=33",
"4*33=132",
"132/3=44"
] |
Current State: 44:[4, 54, 3, 21], Operations: []
Exploring Operation: 54-21=33, Resulting Numbers: [4, 3, 33]
Generated Node #2: [4, 3, 33] from Operation: 54-21=33
Current State: 44:[4, 3, 33], Operations: ['54-21=33']
Exploring Operation: 4*33=132, Resulting Numbers: [3, 132]
Generated Node #3: [3, 132] from Operation: 4*33=132
Current State: 44:[3, 132], Operations: ['54-21=33', '4*33=132']
Exploring Operation: 132/3=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4
|
Current State: 44:[4, 54, 3, 21], Operations: []
Exploring Operation: 4*3=12, Resulting Numbers: [54, 21, 12]
Generated Node #0,0: 44:[54, 21, 12] Operation: 4*3=12
Exploring Operation: 54/3=18, Resulting Numbers: [4, 21, 18]
Generated Node #0,1: 44:[4, 21, 18] Operation: 54/3=18
Exploring Operation: 54-3=51, Resulting Numbers: [4, 21, 51]
Generated Node #0,2: 44:[4, 21, 51] Operation: 54-3=51
Exploring Operation: 54-4=50, Resulting Numbers: [3, 21, 50]
Generated Node #0,3: 44:[3, 21, 50] Operation: 54-4=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[4, 21, 18], Operations: ['54/3=18']
Exploring Operation: 21-18=3, Resulting Numbers: [4, 3]
Generated Node #0,1,0: 44:[4, 3] Operation: 21-18=3
Exploring Operation: 21+18=39, Resulting Numbers: [4, 39]
Generated Node #0,1,1: 44:[4, 39] Operation: 21+18=39
Exploring Operation: 4+18=22, Resulting Numbers: [21, 22]
Generated Node #0,1,2: 44:[21, 22] Operation: 4+18=22
Exploring Operation: 18-4=14, Resulting Numbers: [21, 14]
Generated Node #0,1,3: 44:[21, 14] Operation: 18-4=14
Moving to Node #0,1,0
Current State: 44:[4, 3], Operations: ['54/3=18', '21-18=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[21, 22], Operations: ['54/3=18', '4+18=22']
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,44 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 21*22=462, Resulting Numbers: [462]
462,44 unequal: No Solution
Moving to Node #0,1,3
Current State: 44:[21, 14], Operations: ['54/3=18', '18-4=14']
Exploring Operation: 21*14=294, Resulting Numbers: [294]
294,44 unequal: No Solution
Exploring Operation: 21+14=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[4, 39], Operations: ['54/3=18', '21+18=39']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,44 unequal: No Solution
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,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,2
Current State: 44:[4, 21, 51], Operations: ['54-3=51']
Exploring Operation: 51-21=30, Resulting Numbers: [4, 30]
Generated Node #0,2,0: 44:[4, 30] Operation: 51-21=30
Exploring Operation: 4+21=25, Resulting Numbers: [51, 25]
Generated Node #0,2,1: 44:[51, 25] Operation: 4+21=25
Exploring Operation: 51-4=47, Resulting Numbers: [21, 47]
Generated Node #0,2,2: 44:[21, 47] Operation: 51-4=47
Exploring Operation: 21-4=17, Resulting Numbers: [51, 17]
Generated Node #0,2,3: 44:[51, 17] Operation: 21-4=17
Moving to Node #0,2,2
Current State: 44:[21, 47], Operations: ['54-3=51', '51-4=47']
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,44 unequal: No Solution
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,44 unequal: No Solution
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[4, 30], Operations: ['54-3=51', '51-21=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,44 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[51, 25], Operations: ['54-3=51', '4+21=25']
Exploring Operation: 51*25=1275, Resulting Numbers: [1275]
1275,44 unequal: No Solution
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,44 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,44 unequal: No Solution
Moving to Node #0,2,3
Current State: 44:[51, 17], Operations: ['54-3=51', '21-4=17']
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,44 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,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:[3, 21, 50], Operations: ['54-4=50']
Exploring Operation: 21/3=7, Resulting Numbers: [50, 7]
Generated Node #0,3,0: 44:[50, 7] Operation: 21/3=7
Exploring Operation: 50-21=29, Resulting Numbers: [3, 29]
Generated Node #0,3,1: 44:[3, 29] Operation: 50-21=29
Exploring Operation: 50-3=47, Resulting Numbers: [21, 47]
Generated Node #0,3,2: 44:[21, 47] Operation: 50-3=47
Exploring Operation: 3+21=24, Resulting Numbers: [50, 24]
Generated Node #0,3,3: 44:[50, 24] Operation: 3+21=24
Moving to Node #0,3,2
Current State: 44:[21, 47], Operations: ['54-4=50', '50-3=47']
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,44 unequal: No Solution
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,44 unequal: No Solution
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,44 unequal: No Solution
Moving to Node #0,3,3
Current State: 44:[50, 24], Operations: ['54-4=50', '3+21=24']
Exploring Operation: 50+24=74, Resulting Numbers: [74]
74,44 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,44 unequal: No Solution
Exploring Operation: 50*24=1200, Resulting Numbers: [1200]
1200,44 unequal: No Solution
Moving to Node #0,3,1
Current State: 44:[3, 29], Operations: ['54-4=50', '50-21=29']
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,44 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,44 unequal: No Solution
Moving to Node #0,3,0
Current State: 44:[50, 7], Operations: ['54-4=50', '21/3=7']
Exploring Operation: 50+7=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,44 unequal: No Solution
Exploring Operation: 50*7=350, Resulting Numbers: [350]
350,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,0
Current State: 44:[54, 21, 12], Operations: ['4*3=12']
Exploring Operation: 21-12=9, Resulting Numbers: [54, 9]
Generated Node #0,0,0: 44:[54, 9] Operation: 21-12=9
Exploring Operation: 54-21=33, Resulting Numbers: [12, 33]
Generated Node #0,0,1: 44:[12, 33] Operation: 54-21=33
Exploring Operation: 21+12=33, Resulting Numbers: [54, 33]
Generated Node #0,0,2: 44:[54, 33] Operation: 21+12=33
Exploring Operation: 54-12=42, Resulting Numbers: [21, 42]
Generated Node #0,0,3: 44:[21, 42] Operation: 54-12=42
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 44:[21, 42], Operations: ['4*3=12', '54-12=42']
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 21+42=63, Resulting Numbers: [63]
63,44 unequal: No Solution
Exploring Operation: 21*42=882, Resulting Numbers: [882]
882,44 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,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,0,0
Current State: 44:[54, 9], Operations: ['4*3=12', '21-12=9']
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,44 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,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,0,1
Current State: 44:[12, 33], Operations: ['4*3=12', '54-21=33']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,44 unequal: No Solution
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 12*33=396, Resulting Numbers: [396]
396,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,0,2
Current State: 44:[54, 33], Operations: ['4*3=12', '21+12=33']
Exploring Operation: 54+33=87, Resulting Numbers: [87]
87,44 unequal: No Solution
Exploring Operation: 54*33=1782, Resulting Numbers: [1782]
1782,44 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,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_4
|
sum_heuristic
|
[
76,
92,
48,
27
] | 91
|
[
"92-76=16",
"48+27=75",
"16+75=91"
] |
Current State: 91:[76, 92, 48, 27], Operations: []
Exploring Operation: 92-76=16, Resulting Numbers: [48, 27, 16]
Generated Node #2: [48, 27, 16] from Operation: 92-76=16
Current State: 91:[48, 27, 16], Operations: ['92-76=16']
Exploring Operation: 48+27=75, Resulting Numbers: [16, 75]
Generated Node #3: [16, 75] from Operation: 48+27=75
Current State: 91:[16, 75], Operations: ['92-76=16', '48+27=75']
Exploring Operation: 16+75=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4
|
Current State: 91:[76, 92, 48, 27], Operations: []
Exploring Operation: 48-27=21, Resulting Numbers: [76, 92, 21]
Generated Node #0,0: 91:[76, 92, 21] Operation: 48-27=21
Moving to Node #0,0
Current State: 91:[76, 92, 21], Operations: ['48-27=21']
Exploring Operation: 76+21=97, Resulting Numbers: [92, 97]
Generated Node #0,0,0: 91:[92, 97] Operation: 76+21=97
Moving to Node #0,0,0
Current State: 91:[92, 97], Operations: ['48-27=21', '76+21=97']
Exploring Operation: 97-92=5, Resulting Numbers: [5]
5,91 unequal: No Solution
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
19,
55,
11,
48
] | 24
|
[
"48-19=29",
"55/11=5",
"29-5=24"
] |
Current State: 24:[19, 55, 11, 48], Operations: []
Exploring Operation: 48-19=29, Resulting Numbers: [55, 11, 29]
Generated Node #2: [55, 11, 29] from Operation: 48-19=29
Current State: 24:[55, 11, 29], Operations: ['48-19=29']
Exploring Operation: 55/11=5, Resulting Numbers: [29, 5]
Generated Node #3: [29, 5] from Operation: 55/11=5
Current State: 24:[29, 5], Operations: ['48-19=29', '55/11=5']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4
|
Current State: 24:[19, 55, 11, 48], Operations: []
Exploring Operation: 55-19=36, Resulting Numbers: [11, 48, 36]
Generated Node #0,0: 24:[11, 48, 36] Operation: 55-19=36
Exploring Operation: 55-11=44, Resulting Numbers: [19, 48, 44]
Generated Node #0,1: 24:[19, 48, 44] Operation: 55-11=44
Exploring Operation: 55-48=7, Resulting Numbers: [19, 11, 7]
Generated Node #0,2: 24:[19, 11, 7] Operation: 55-48=7
Exploring Operation: 55/11=5, Resulting Numbers: [19, 48, 5]
Generated Node #0,3: 24:[19, 48, 5] Operation: 55/11=5
Exploring Operation: 48-19=29, Resulting Numbers: [55, 11, 29]
Generated Node #0,4: 24:[55, 11, 29] Operation: 48-19=29
Moving to Node #0,2
Current State: 24:[19, 11, 7], Operations: ['55-48=7']
Exploring Operation: 19+11=30, Resulting Numbers: [7, 30]
Generated Node #0,2,0: 24:[7, 30] Operation: 19+11=30
Exploring Operation: 19+7=26, Resulting Numbers: [11, 26]
Generated Node #0,2,1: 24:[11, 26] Operation: 19+7=26
Exploring Operation: 19-7=12, Resulting Numbers: [11, 12]
Generated Node #0,2,2: 24:[11, 12] Operation: 19-7=12
Exploring Operation: 11-7=4, Resulting Numbers: [19, 4]
Generated Node #0,2,3: 24:[19, 4] Operation: 11-7=4
Exploring Operation: 19-11=8, Resulting Numbers: [7, 8]
Generated Node #0,2,4: 24:[7, 8] Operation: 19-11=8
Moving to Node #0,3
Current State: 24:[19, 48, 5], Operations: ['55/11=5']
Exploring Operation: 48-5=43, Resulting Numbers: [19, 43]
Generated Node #0,3,0: 24:[19, 43] Operation: 48-5=43
Exploring Operation: 48-19=29, Resulting Numbers: [5, 29]
Generated Node #0,3,1: 24:[5, 29] Operation: 48-19=29
Exploring Operation: 48+5=53, Resulting Numbers: [19, 53]
Generated Node #0,3,2: 24:[19, 53] Operation: 48+5=53
Exploring Operation: 19-5=14, Resulting Numbers: [48, 14]
Generated Node #0,3,3: 24:[48, 14] Operation: 19-5=14
Exploring Operation: 19+5=24, Resulting Numbers: [48, 24]
Generated Node #0,3,4: 24:[48, 24] Operation: 19+5=24
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 24:[5, 29], Operations: ['55/11=5', '48-19=29']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[19, 55, 11, 48], Operations: []
Exploring Operation: 55/11=5, Resulting Numbers: [19, 48, 5]
Generated Node #0,3: 24:[19, 48, 5] Operation: 55/11=5
Moving to Node #0,3
Current State: 24:[19, 48, 5], Operations: ['55/11=5']
Exploring Operation: 48-19=29, Resulting Numbers: [5, 29]
Generated Node #0,3,1: 24:[5, 29] Operation: 48-19=29
Moving to Node #0,3,1
Current State: 24:[5, 29], Operations: ['55/11=5', '48-19=29']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639
|
hs_5
|
mult_heuristic
|
[
10,
1,
1,
60
] | 60
|
[
"1-1=0",
"10*0=0",
"60+0=60"
] |
Current State: 60:[10, 1, 1, 60], Operations: []
Exploring Operation: 1-1=0, Resulting Numbers: [10, 60, 0]
Generated Node #2: [10, 60, 0] from Operation: 1-1=0
Current State: 60:[10, 60, 0], Operations: ['1-1=0']
Exploring Operation: 10*0=0, Resulting Numbers: [60, 0]
Generated Node #3: [60, 0] from Operation: 10*0=0
Current State: 60:[60, 0], Operations: ['1-1=0', '10*0=0']
Exploring Operation: 60+0=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4
|
Current State: 60:[10, 1, 1, 60], Operations: []
Exploring Operation: 10/1=10, Resulting Numbers: [1, 60, 10]
Generated Node #0,0: 60:[1, 60, 10] Operation: 10/1=10
Exploring Operation: 1+1=2, Resulting Numbers: [10, 60, 2]
Generated Node #0,1: 60:[10, 60, 2] Operation: 1+1=2
Exploring Operation: 10*1=10, Resulting Numbers: [1, 60, 10]
Generated Node #0,2: 60:[1, 60, 10] Operation: 10*1=10
Moving to Node #0,1
Current State: 60:[10, 60, 2], Operations: ['1+1=2']
Exploring Operation: 10+2=12, Resulting Numbers: [60, 12]
Generated Node #0,1,0: 60:[60, 12] Operation: 10+2=12
Exploring Operation: 10*2=20, Resulting Numbers: [60, 20]
Generated Node #0,1,1: 60:[60, 20] Operation: 10*2=20
Exploring Operation: 60/10=6, Resulting Numbers: [2, 6]
Generated Node #0,1,2: 60:[2, 6] Operation: 60/10=6
Moving to Node #0,0
Current State: 60:[1, 60, 10], Operations: ['10/1=10']
Exploring Operation: 60/1=60, Resulting Numbers: [10, 60]
Generated Node #0,0,0: 60:[10, 60] Operation: 60/1=60
Exploring Operation: 1*60=60, Resulting Numbers: [10, 60]
Generated Node #0,0,1: 60:[10, 60] Operation: 1*60=60
Exploring Operation: 1*10=10, Resulting Numbers: [60, 10]
Generated Node #0,0,2: 60:[60, 10] Operation: 1*10=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[10, 60], Operations: ['10/1=10', '60/1=60']
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 10+60=70, Resulting Numbers: [70]
70,60 unequal: No Solution
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,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,0,1
Current State: 60:[10, 60], Operations: ['10/1=10', '1*60=60']
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 10+60=70, Resulting Numbers: [70]
70,60 unequal: No Solution
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,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,0,2
Current State: 60:[60, 10], Operations: ['10/1=10', '1*10=10']
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 60+10=70, Resulting Numbers: [70]
70,60 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: 60:[1, 60, 10], Operations: ['10*1=10']
Exploring Operation: 60/1=60, Resulting Numbers: [10, 60]
Generated Node #0,2,0: 60:[10, 60] Operation: 60/1=60
Exploring Operation: 1*10=10, Resulting Numbers: [60, 10]
Generated Node #0,2,1: 60:[60, 10] Operation: 1*10=10
Exploring Operation: 1*60=60, Resulting Numbers: [10, 60]
Generated Node #0,2,2: 60:[10, 60] Operation: 1*60=60
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 60:[10, 60], Operations: ['10*1=10', '60/1=60']
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 10+60=70, Resulting Numbers: [70]
70,60 unequal: No Solution
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,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,2,1
Current State: 60:[60, 10], Operations: ['10*1=10', '1*10=10']
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 60+10=70, Resulting Numbers: [70]
70,60 unequal: No Solution
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,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,2,2
Current State: 60:[10, 60], Operations: ['10*1=10', '1*60=60']
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 10+60=70, Resulting Numbers: [70]
70,60 unequal: No Solution
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,60 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: 60:[60, 12], Operations: ['1+1=2', '10+2=12']
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,60 unequal: No Solution
Exploring Operation: 60/12=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 60+12=72, Resulting Numbers: [72]
72,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[60, 20], Operations: ['1+1=2', '10*2=20']
Exploring Operation: 60+20=80, Resulting Numbers: [80]
80,60 unequal: No Solution
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[2, 6], Operations: ['1+1=2', '60/10=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,60 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
4,
63,
12,
19
] | 98
|
[
"4+63=67",
"12+19=31",
"67+31=98"
] |
Current State: 98:[4, 63, 12, 19], Operations: []
Exploring Operation: 4+63=67, Resulting Numbers: [12, 19, 67]
Generated Node #2: [12, 19, 67] from Operation: 4+63=67
Current State: 98:[12, 19, 67], Operations: ['4+63=67']
Exploring Operation: 12+19=31, Resulting Numbers: [67, 31]
Generated Node #3: [67, 31] from Operation: 12+19=31
Current State: 98:[67, 31], Operations: ['4+63=67', '12+19=31']
Exploring Operation: 67+31=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4
|
Current State: 98:[4, 63, 12, 19], Operations: []
Exploring Operation: 19-12=7, Resulting Numbers: [4, 63, 7]
Generated Node #0,0: 98:[4, 63, 7] Operation: 19-12=7
Exploring Operation: 63-12=51, Resulting Numbers: [4, 19, 51]
Generated Node #0,1: 98:[4, 19, 51] Operation: 63-12=51
Exploring Operation: 63-19=44, Resulting Numbers: [4, 12, 44]
Generated Node #0,2: 98:[4, 12, 44] Operation: 63-19=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[4, 19, 51], Operations: ['63-12=51']
Exploring Operation: 51-4=47, Resulting Numbers: [19, 47]
Generated Node #0,1,0: 98:[19, 47] Operation: 51-4=47
Exploring Operation: 19-4=15, Resulting Numbers: [51, 15]
Generated Node #0,1,1: 98:[51, 15] Operation: 19-4=15
Exploring Operation: 4+19=23, Resulting Numbers: [51, 23]
Generated Node #0,1,2: 98:[51, 23] Operation: 4+19=23
Moving to Node #0,1,1
Current State: 98:[51, 15], Operations: ['63-12=51', '19-4=15']
Exploring Operation: 51*15=765, Resulting Numbers: [765]
765,98 unequal: No Solution
Exploring Operation: 51+15=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[19, 47], Operations: ['63-12=51', '51-4=47']
Exploring Operation: 19+47=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,98 unequal: No Solution
Exploring Operation: 19*47=893, Resulting Numbers: [893]
893,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[51, 23], Operations: ['63-12=51', '4+19=23']
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,98 unequal: No Solution
Exploring Operation: 51*23=1173, Resulting Numbers: [1173]
1173,98 unequal: No Solution
Exploring Operation: 51+23=74, Resulting Numbers: [74]
74,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[4, 12, 44], Operations: ['63-19=44']
Exploring Operation: 4+44=48, Resulting Numbers: [12, 48]
Generated Node #0,2,0: 98:[12, 48] Operation: 4+44=48
Exploring Operation: 44/4=11, Resulting Numbers: [12, 11]
Generated Node #0,2,1: 98:[12, 11] Operation: 44/4=11
Exploring Operation: 4*12=48, Resulting Numbers: [44, 48]
Generated Node #0,2,2: 98:[44, 48] Operation: 4*12=48
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 98:[12, 48], Operations: ['63-19=44', '4+44=48']
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,98 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 98:[12, 11], Operations: ['63-19=44', '44/4=11']
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,98 unequal: No Solution
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,98 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 98:[44, 48], Operations: ['63-19=44', '4*12=48']
Exploring Operation: 44*48=2112, Resulting Numbers: [2112]
2112,98 unequal: No Solution
Exploring Operation: 44+48=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[4, 63, 7], Operations: ['19-12=7']
Exploring Operation: 63-4=59, Resulting Numbers: [7, 59]
Generated Node #0,0,0: 98:[7, 59] Operation: 63-4=59
Exploring Operation: 63/7=9, Resulting Numbers: [4, 9]
Generated Node #0,0,1: 98:[4, 9] Operation: 63/7=9
Exploring Operation: 63-7=56, Resulting Numbers: [4, 56]
Generated Node #0,0,2: 98:[4, 56] Operation: 63-7=56
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[4, 9], Operations: ['19-12=7', '63/7=9']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 98:[4, 56], Operations: ['19-12=7', '63-7=56']
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,98 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,98 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[7, 59], Operations: ['19-12=7', '63-4=59']
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,98 unequal: No Solution
Exploring Operation: 7*59=413, Resulting Numbers: [413]
413,98 unequal: No Solution
Exploring Operation: 7+59=66, Resulting Numbers: [66]
66,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
24,
95,
94,
42
] | 67
|
[
"24+95=119",
"94-42=52",
"119-52=67"
] |
Current State: 67:[24, 95, 94, 42], Operations: []
Exploring Operation: 24+95=119, Resulting Numbers: [94, 42, 119]
Generated Node #2: [94, 42, 119] from Operation: 24+95=119
Current State: 67:[94, 42, 119], Operations: ['24+95=119']
Exploring Operation: 94-42=52, Resulting Numbers: [119, 52]
Generated Node #3: [119, 52] from Operation: 94-42=52
Current State: 67:[119, 52], Operations: ['24+95=119', '94-42=52']
Exploring Operation: 119-52=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4
|
Current State: 67:[24, 95, 94, 42], Operations: []
Exploring Operation: 94-24=70, Resulting Numbers: [95, 42, 70]
Generated Node #0,0: 67:[95, 42, 70] Operation: 94-24=70
Exploring Operation: 95-42=53, Resulting Numbers: [24, 94, 53]
Generated Node #0,1: 67:[24, 94, 53] Operation: 95-42=53
Exploring Operation: 95-24=71, Resulting Numbers: [94, 42, 71]
Generated Node #0,2: 67:[94, 42, 71] Operation: 95-24=71
Exploring Operation: 94-42=52, Resulting Numbers: [24, 95, 52]
Generated Node #0,3: 67:[24, 95, 52] Operation: 94-42=52
Exploring Operation: 24+42=66, Resulting Numbers: [95, 94, 66]
Generated Node #0,4: 67:[95, 94, 66] Operation: 24+42=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[95, 42, 70], Operations: ['94-24=70']
Exploring Operation: 95+42=137, Resulting Numbers: [70, 137]
Generated Node #0,0,0: 67:[70, 137] Operation: 95+42=137
Exploring Operation: 95-70=25, Resulting Numbers: [42, 25]
Generated Node #0,0,1: 67:[42, 25] Operation: 95-70=25
Exploring Operation: 70-42=28, Resulting Numbers: [95, 28]
Generated Node #0,0,2: 67:[95, 28] Operation: 70-42=28
Exploring Operation: 42+70=112, Resulting Numbers: [95, 112]
Generated Node #0,0,3: 67:[95, 112] Operation: 42+70=112
Exploring Operation: 95-42=53, Resulting Numbers: [70, 53]
Generated Node #0,0,4: 67:[70, 53] Operation: 95-42=53
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 67:[70, 53], Operations: ['94-24=70', '95-42=53']
Exploring Operation: 70*53=3710, Resulting Numbers: [3710]
3710,67 unequal: No Solution
Exploring Operation: 70-53=17, Resulting Numbers: [17]
17,67 unequal: No Solution
Exploring Operation: 70+53=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,0,1
Current State: 67:[42, 25], Operations: ['94-24=70', '95-70=25']
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,67 unequal: No Solution
Exploring Operation: 42*25=1050, Resulting Numbers: [1050]
1050,67 unequal: No Solution
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[24, 95, 94, 42], Operations: []
Exploring Operation: 94-24=70, Resulting Numbers: [95, 42, 70]
Generated Node #0,0: 67:[95, 42, 70] Operation: 94-24=70
Moving to Node #0,0
Current State: 67:[95, 42, 70], Operations: ['94-24=70']
Exploring Operation: 95-70=25, Resulting Numbers: [42, 25]
Generated Node #0,0,1: 67:[42, 25] Operation: 95-70=25
Moving to Node #0,0,1
Current State: 67:[42, 25], Operations: ['94-24=70', '95-70=25']
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639
|
hs_5
|
sum_heuristic
|
[
3,
62,
33,
81
] | 82
|
[
"81-33=48",
"3*48=144",
"144-62=82"
] |
Current State: 82:[3, 62, 33, 81], Operations: []
Exploring Operation: 81-33=48, Resulting Numbers: [3, 62, 48]
Generated Node #2: [3, 62, 48] from Operation: 81-33=48
Current State: 82:[3, 62, 48], Operations: ['81-33=48']
Exploring Operation: 3*48=144, Resulting Numbers: [62, 144]
Generated Node #3: [62, 144] from Operation: 3*48=144
Current State: 82:[62, 144], Operations: ['81-33=48', '3*48=144']
Exploring Operation: 144-62=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4
|
Current State: 82:[3, 62, 33, 81], Operations: []
Exploring Operation: 62-33=29, Resulting Numbers: [3, 81, 29]
Generated Node #0,0: 82:[3, 81, 29] Operation: 62-33=29
Exploring Operation: 3+62=65, Resulting Numbers: [33, 81, 65]
Generated Node #0,1: 82:[33, 81, 65] Operation: 3+62=65
Exploring Operation: 62+33=95, Resulting Numbers: [3, 81, 95]
Generated Node #0,2: 82:[3, 81, 95] Operation: 62+33=95
Moving to Node #0,0
Current State: 82:[3, 81, 29], Operations: ['62-33=29']
Exploring Operation: 3*29=87, Resulting Numbers: [81, 87]
Generated Node #0,0,0: 82:[81, 87] Operation: 3*29=87
Exploring Operation: 81-29=52, Resulting Numbers: [3, 52]
Generated Node #0,0,1: 82:[3, 52] Operation: 81-29=52
Exploring Operation: 3+29=32, Resulting Numbers: [81, 32]
Generated Node #0,0,2: 82:[81, 32] Operation: 3+29=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[81, 87], Operations: ['62-33=29', '3*29=87']
Exploring Operation: 81+87=168, Resulting Numbers: [168]
168,82 unequal: No Solution
Exploring Operation: 87-81=6, Resulting Numbers: [6]
6,82 unequal: No Solution
Exploring Operation: 81*87=7047, Resulting Numbers: [7047]
7047,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,0,2
Current State: 82:[81, 32], Operations: ['62-33=29', '3+29=32']
Exploring Operation: 81-32=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 81+32=113, Resulting Numbers: [113]
113,82 unequal: No Solution
Exploring Operation: 81*32=2592, Resulting Numbers: [2592]
2592,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,0,1
Current State: 82:[3, 52], Operations: ['62-33=29', '81-29=52']
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,82 unequal: No Solution
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,82 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,82 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: 82:[3, 81, 95], Operations: ['62+33=95']
Exploring Operation: 3+81=84, Resulting Numbers: [95, 84]
Generated Node #0,2,0: 82:[95, 84] Operation: 3+81=84
Exploring Operation: 95-81=14, Resulting Numbers: [3, 14]
Generated Node #0,2,1: 82:[3, 14] Operation: 95-81=14
Exploring Operation: 95-3=92, Resulting Numbers: [81, 92]
Generated Node #0,2,2: 82:[81, 92] Operation: 95-3=92
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 82:[81, 92], Operations: ['62+33=95', '95-3=92']
Exploring Operation: 81*92=7452, Resulting Numbers: [7452]
7452,82 unequal: No Solution
Exploring Operation: 81+92=173, Resulting Numbers: [173]
173,82 unequal: No Solution
Exploring Operation: 92-81=11, Resulting Numbers: [11]
11,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 82:[3, 14], Operations: ['62+33=95', '95-81=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,82 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,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,0
Current State: 82:[95, 84], Operations: ['62+33=95', '3+81=84']
Exploring Operation: 95-84=11, Resulting Numbers: [11]
11,82 unequal: No Solution
Exploring Operation: 95+84=179, Resulting Numbers: [179]
179,82 unequal: No Solution
Exploring Operation: 95*84=7980, Resulting Numbers: [7980]
7980,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 82:[33, 81, 65], Operations: ['3+62=65']
Exploring Operation: 65-33=32, Resulting Numbers: [81, 32]
Generated Node #0,1,0: 82:[81, 32] Operation: 65-33=32
Exploring Operation: 33+65=98, Resulting Numbers: [81, 98]
Generated Node #0,1,1: 82:[81, 98] Operation: 33+65=98
Exploring Operation: 81-65=16, Resulting Numbers: [33, 16]
Generated Node #0,1,2: 82:[33, 16] Operation: 81-65=16
Moving to Node #0,1,0
Current State: 82:[81, 32], Operations: ['3+62=65', '65-33=32']
Exploring Operation: 81-32=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 81+32=113, Resulting Numbers: [113]
113,82 unequal: No Solution
Exploring Operation: 81*32=2592, Resulting Numbers: [2592]
2592,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[81, 98], Operations: ['3+62=65', '33+65=98']
Exploring Operation: 81+98=179, Resulting Numbers: [179]
179,82 unequal: No Solution
Exploring Operation: 81*98=7938, Resulting Numbers: [7938]
7938,82 unequal: No Solution
Exploring Operation: 98-81=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[33, 16], Operations: ['3+62=65', '81-65=16']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,82 unequal: No Solution
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,82 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
19,
5,
11,
63
] | 23
|
[
"19-11=8",
"5*8=40",
"63-40=23"
] |
Current State: 23:[19, 5, 11, 63], Operations: []
Exploring Operation: 19-11=8, Resulting Numbers: [5, 63, 8]
Generated Node #2: [5, 63, 8] from Operation: 19-11=8
Current State: 23:[5, 63, 8], Operations: ['19-11=8']
Exploring Operation: 5*8=40, Resulting Numbers: [63, 40]
Generated Node #3: [63, 40] from Operation: 5*8=40
Current State: 23:[63, 40], Operations: ['19-11=8', '5*8=40']
Exploring Operation: 63-40=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4
|
Current State: 23:[19, 5, 11, 63], Operations: []
Exploring Operation: 63-5=58, Resulting Numbers: [19, 11, 58]
Generated Node #0,0: 23:[19, 11, 58] Operation: 63-5=58
Exploring Operation: 63-11=52, Resulting Numbers: [19, 5, 52]
Generated Node #0,1: 23:[19, 5, 52] Operation: 63-11=52
Exploring Operation: 5+11=16, Resulting Numbers: [19, 63, 16]
Generated Node #0,2: 23:[19, 63, 16] Operation: 5+11=16
Exploring Operation: 63-19=44, Resulting Numbers: [5, 11, 44]
Generated Node #0,3: 23:[5, 11, 44] Operation: 63-19=44
Moving to Node #0,0
Current State: 23:[19, 11, 58], Operations: ['63-5=58']
Exploring Operation: 19-11=8, Resulting Numbers: [58, 8]
Generated Node #0,0,0: 23:[58, 8] Operation: 19-11=8
Exploring Operation: 58-19=39, Resulting Numbers: [11, 39]
Generated Node #0,0,1: 23:[11, 39] Operation: 58-19=39
Exploring Operation: 19+11=30, Resulting Numbers: [58, 30]
Generated Node #0,0,2: 23:[58, 30] Operation: 19+11=30
Exploring Operation: 58-11=47, Resulting Numbers: [19, 47]
Generated Node #0,0,3: 23:[19, 47] Operation: 58-11=47
Moving to Node #0,2
Current State: 23:[19, 63, 16], Operations: ['5+11=16']
Exploring Operation: 19+16=35, Resulting Numbers: [63, 35]
Generated Node #0,2,0: 23:[63, 35] Operation: 19+16=35
Exploring Operation: 19-16=3, Resulting Numbers: [63, 3]
Generated Node #0,2,1: 23:[63, 3] Operation: 19-16=3
Exploring Operation: 63-19=44, Resulting Numbers: [16, 44]
Generated Node #0,2,2: 23:[16, 44] Operation: 63-19=44
Exploring Operation: 63-16=47, Resulting Numbers: [19, 47]
Generated Node #0,2,3: 23:[19, 47] Operation: 63-16=47
Moving to Node #0,1
Current State: 23:[19, 5, 52], Operations: ['63-11=52']
Exploring Operation: 19+5=24, Resulting Numbers: [52, 24]
Generated Node #0,1,0: 23:[52, 24] Operation: 19+5=24
Exploring Operation: 52-5=47, Resulting Numbers: [19, 47]
Generated Node #0,1,1: 23:[19, 47] Operation: 52-5=47
Exploring Operation: 19-5=14, Resulting Numbers: [52, 14]
Generated Node #0,1,2: 23:[52, 14] Operation: 19-5=14
Exploring Operation: 52-19=33, Resulting Numbers: [5, 33]
Generated Node #0,1,3: 23:[5, 33] Operation: 52-19=33
Moving to Node #0,3
Current State: 23:[5, 11, 44], Operations: ['63-19=44']
Exploring Operation: 44/11=4, Resulting Numbers: [5, 4]
Generated Node #0,3,0: 23:[5, 4] Operation: 44/11=4
Exploring Operation: 5+11=16, Resulting Numbers: [44, 16]
Generated Node #0,3,1: 23:[44, 16] Operation: 5+11=16
Exploring Operation: 44-11=33, Resulting Numbers: [5, 33]
Generated Node #0,3,2: 23:[5, 33] Operation: 44-11=33
Exploring Operation: 44-5=39, Resulting Numbers: [11, 39]
Generated Node #0,3,3: 23:[11, 39] Operation: 44-5=39
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 23:[44, 16], Operations: ['63-19=44', '5+11=16']
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,23 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 44*16=704, Resulting Numbers: [704]
704,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 23:[5, 33], Operations: ['63-19=44', '44-11=33']
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 23:[11, 39], Operations: ['63-19=44', '44-5=39']
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,23 unequal: No Solution
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,23 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 23:[5, 4], Operations: ['63-19=44', '44/11=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 23:[11, 39], Operations: ['63-5=58', '58-19=39']
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,23 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,23 unequal: No Solution
Moving to Node #0,2,3
Current State: 23:[19, 47], Operations: ['5+11=16', '63-16=47']
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 19*47=893, Resulting Numbers: [893]
893,23 unequal: No Solution
Exploring Operation: 19+47=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Moving to Node #0,0,3
Current State: 23:[19, 47], Operations: ['63-5=58', '58-11=47']
Exploring Operation: 19*47=893, Resulting Numbers: [893]
893,23 unequal: No Solution
Exploring Operation: 19+47=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[16, 44], Operations: ['5+11=16', '63-19=44']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,23 unequal: No Solution
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,23 unequal: No Solution
Moving to Node #0,1,3
Current State: 23:[5, 33], Operations: ['63-11=52', '52-19=33']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[19, 47], Operations: ['63-11=52', '52-5=47']
Exploring Operation: 19*47=893, Resulting Numbers: [893]
893,23 unequal: No Solution
Exploring Operation: 19+47=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[52, 24], Operations: ['63-11=52', '19+5=24']
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,23 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[52, 14], Operations: ['63-11=52', '19-5=14']
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 52*14=728, Resulting Numbers: [728]
728,23 unequal: No Solution
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[58, 30], Operations: ['63-5=58', '19+11=30']
Exploring Operation: 58*30=1740, Resulting Numbers: [1740]
1740,23 unequal: No Solution
Exploring Operation: 58+30=88, Resulting Numbers: [88]
88,23 unequal: No Solution
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[58, 8], Operations: ['63-5=58', '19-11=8']
Exploring Operation: 58*8=464, Resulting Numbers: [464]
464,23 unequal: No Solution
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,23 unequal: No Solution
Exploring Operation: 58+8=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[63, 35], Operations: ['5+11=16', '19+16=35']
Exploring Operation: 63*35=2205, Resulting Numbers: [2205]
2205,23 unequal: No Solution
Exploring Operation: 63+35=98, Resulting Numbers: [98]
98,23 unequal: No Solution
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[63, 3], Operations: ['5+11=16', '19-16=3']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,23 unequal: No Solution
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Exploring Operation: 63*3=189, Resulting Numbers: [189]
189,23 unequal: No Solution
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
66,
83,
77,
14
] | 95
|
[
"66*14=924",
"924/77=12",
"83+12=95"
] |
Current State: 95:[66, 83, 77, 14], Operations: []
Exploring Operation: 66*14=924, Resulting Numbers: [83, 77, 924]
Generated Node #2: [83, 77, 924] from Operation: 66*14=924
Current State: 95:[83, 77, 924], Operations: ['66*14=924']
Exploring Operation: 924/77=12, Resulting Numbers: [83, 12]
Generated Node #3: [83, 12] from Operation: 924/77=12
Current State: 95:[83, 12], Operations: ['66*14=924', '924/77=12']
Exploring Operation: 83+12=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4
|
Current State: 95:[66, 83, 77, 14], Operations: []
Exploring Operation: 83-66=17, Resulting Numbers: [77, 14, 17]
Generated Node #0,0: 95:[77, 14, 17] Operation: 83-66=17
Exploring Operation: 77-66=11, Resulting Numbers: [83, 14, 11]
Generated Node #0,1: 95:[83, 14, 11] Operation: 77-66=11
Exploring Operation: 83-77=6, Resulting Numbers: [66, 14, 6]
Generated Node #0,2: 95:[66, 14, 6] Operation: 83-77=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[83, 14, 11], Operations: ['77-66=11']
Exploring Operation: 83+14=97, Resulting Numbers: [11, 97]
Generated Node #0,1,0: 95:[11, 97] Operation: 83+14=97
Exploring Operation: 83+11=94, Resulting Numbers: [14, 94]
Generated Node #0,1,1: 95:[14, 94] Operation: 83+11=94
Exploring Operation: 14-11=3, Resulting Numbers: [83, 3]
Generated Node #0,1,2: 95:[83, 3] Operation: 14-11=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[14, 94], Operations: ['77-66=11', '83+11=94']
Exploring Operation: 14*94=1316, Resulting Numbers: [1316]
1316,95 unequal: No Solution
Exploring Operation: 14+94=108, Resulting Numbers: [108]
108,95 unequal: No Solution
Exploring Operation: 94-14=80, Resulting Numbers: [80]
80,95 unequal: No Solution
No 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: 95:[11, 97], Operations: ['77-66=11', '83+14=97']
Exploring Operation: 11+97=108, Resulting Numbers: [108]
108,95 unequal: No Solution
Exploring Operation: 11*97=1067, Resulting Numbers: [1067]
1067,95 unequal: No Solution
Exploring Operation: 97-11=86, Resulting Numbers: [86]
86,95 unequal: No Solution
No 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: 95:[83, 3], Operations: ['77-66=11', '14-11=3']
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,95 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,95 unequal: No Solution
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[77, 14, 17], Operations: ['83-66=17']
Exploring Operation: 77+14=91, Resulting Numbers: [17, 91]
Generated Node #0,0,0: 95:[17, 91] Operation: 77+14=91
Exploring Operation: 17-14=3, Resulting Numbers: [77, 3]
Generated Node #0,0,1: 95:[77, 3] Operation: 17-14=3
Exploring Operation: 77+17=94, Resulting Numbers: [14, 94]
Generated Node #0,0,2: 95:[14, 94] Operation: 77+17=94
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[17, 91], Operations: ['83-66=17', '77+14=91']
Exploring Operation: 17+91=108, Resulting Numbers: [108]
108,95 unequal: No Solution
Exploring Operation: 17*91=1547, Resulting Numbers: [1547]
1547,95 unequal: No Solution
Exploring Operation: 91-17=74, Resulting Numbers: [74]
74,95 unequal: No Solution
No 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: 95:[14, 94], Operations: ['83-66=17', '77+17=94']
Exploring Operation: 94-14=80, Resulting Numbers: [80]
80,95 unequal: No Solution
Exploring Operation: 14+94=108, Resulting Numbers: [108]
108,95 unequal: No Solution
Exploring Operation: 14*94=1316, Resulting Numbers: [1316]
1316,95 unequal: No Solution
No 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: 95:[77, 3], Operations: ['83-66=17', '17-14=3']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,95 unequal: No Solution
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,95 unequal: No Solution
Exploring Operation: 77*3=231, Resulting Numbers: [231]
231,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[66, 14, 6], Operations: ['83-77=6']
Exploring Operation: 66+6=72, Resulting Numbers: [14, 72]
Generated Node #0,2,0: 95:[14, 72] Operation: 66+6=72
Exploring Operation: 66+14=80, Resulting Numbers: [6, 80]
Generated Node #0,2,1: 95:[6, 80] Operation: 66+14=80
Exploring Operation: 66/6=11, Resulting Numbers: [14, 11]
Generated Node #0,2,2: 95:[14, 11] Operation: 66/6=11
Moving to Node #0,2,2
Current State: 95:[14, 11], Operations: ['83-77=6', '66/6=11']
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,95 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,95 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[6, 80], Operations: ['83-77=6', '66+14=80']
Exploring Operation: 6+80=86, Resulting Numbers: [86]
86,95 unequal: No Solution
Exploring Operation: 6*80=480, Resulting Numbers: [480]
480,95 unequal: No Solution
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[14, 72], Operations: ['83-77=6', '66+6=72']
Exploring Operation: 14*72=1008, Resulting Numbers: [1008]
1008,95 unequal: No Solution
Exploring Operation: 14+72=86, Resulting Numbers: [86]
86,95 unequal: No Solution
Exploring Operation: 72-14=58, Resulting Numbers: [58]
58,95 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
|
[
28,
14,
72,
84
] | 14
|
[
"28/14=2",
"84-72=12",
"2+12=14"
] |
Current State: 14:[28, 14, 72, 84], Operations: []
Exploring Operation: 28/14=2, Resulting Numbers: [72, 84, 2]
Generated Node #2: [72, 84, 2] from Operation: 28/14=2
Current State: 14:[72, 84, 2], Operations: ['28/14=2']
Exploring Operation: 84-72=12, Resulting Numbers: [2, 12]
Generated Node #3: [2, 12] from Operation: 84-72=12
Current State: 14:[2, 12], Operations: ['28/14=2', '84-72=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4
|
Current State: 14:[28, 14, 72, 84], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [14, 72, 3]
Generated Node #0,0: 14:[14, 72, 3] Operation: 84/28=3
Exploring Operation: 84/14=6, Resulting Numbers: [28, 72, 6]
Generated Node #0,1: 14:[28, 72, 6] Operation: 84/14=6
Exploring Operation: 84-28=56, Resulting Numbers: [14, 72, 56]
Generated Node #0,2: 14:[14, 72, 56] Operation: 84-28=56
Exploring Operation: 84-72=12, Resulting Numbers: [28, 14, 12]
Generated Node #0,3: 14:[28, 14, 12] Operation: 84-72=12
Exploring Operation: 72-28=44, Resulting Numbers: [14, 84, 44]
Generated Node #0,4: 14:[14, 84, 44] Operation: 72-28=44
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[28, 14, 12], Operations: ['84-72=12']
Exploring Operation: 28-12=16, Resulting Numbers: [14, 16]
Generated Node #0,3,0: 14:[14, 16] Operation: 28-12=16
Exploring Operation: 28/14=2, Resulting Numbers: [12, 2]
Generated Node #0,3,1: 14:[12, 2] Operation: 28/14=2
Exploring Operation: 28-14=14, Resulting Numbers: [12, 14]
Generated Node #0,3,2: 14:[12, 14] Operation: 28-14=14
Exploring Operation: 28+12=40, Resulting Numbers: [14, 40]
Generated Node #0,3,3: 14:[14, 40] Operation: 28+12=40
Exploring Operation: 14-12=2, Resulting Numbers: [28, 2]
Generated Node #0,3,4: 14:[28, 2] Operation: 14-12=2
Moving to Node #0,3,0
Current State: 14:[14, 16], Operations: ['84-72=12', '28-12=16']
Exploring Operation: 14*16=224, Resulting Numbers: [224]
224,14 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Moving to Node #0,3,2
Current State: 14:[12, 14], Operations: ['84-72=12', '28-14=14']
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 12*14=168, Resulting Numbers: [168]
168,14 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Moving to Node #0,3,1
Current State: 14:[12, 2], Operations: ['84-72=12', '28/14=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[28, 14, 72, 84], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [28, 14, 12]
Generated Node #0,3: 14:[28, 14, 12] Operation: 84-72=12
Moving to Node #0,3
Current State: 14:[28, 14, 12], Operations: ['84-72=12']
Exploring Operation: 28/14=2, Resulting Numbers: [12, 2]
Generated Node #0,3,1: 14:[12, 2] Operation: 28/14=2
Moving to Node #0,3,1
Current State: 14:[12, 2], Operations: ['84-72=12', '28/14=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771
|
hs_5
|
sum_heuristic
|
[
97,
83,
15,
25
] | 18
|
[
"97+83=180",
"25-15=10",
"180/10=18"
] |
Current State: 18:[97, 83, 15, 25], Operations: []
Exploring Operation: 97+83=180, Resulting Numbers: [15, 25, 180]
Generated Node #2: [15, 25, 180] from Operation: 97+83=180
Current State: 18:[15, 25, 180], Operations: ['97+83=180']
Exploring Operation: 25-15=10, Resulting Numbers: [180, 10]
Generated Node #3: [180, 10] from Operation: 25-15=10
Current State: 18:[180, 10], Operations: ['97+83=180', '25-15=10']
Exploring Operation: 180/10=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4
|
Current State: 18:[97, 83, 15, 25], Operations: []
Exploring Operation: 97-83=14, Resulting Numbers: [15, 25, 14]
Generated Node #0,0: 18:[15, 25, 14] Operation: 97-83=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[15, 25, 14], Operations: ['97-83=14']
Exploring Operation: 25-15=10, Resulting Numbers: [14, 10]
Generated Node #0,0,0: 18:[14, 10] Operation: 25-15=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[14, 10], Operations: ['97-83=14', '25-15=10']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,18 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
|
[
15,
84,
28,
14
] | 36
|
[
"15*28=420",
"84+420=504",
"504/14=36"
] |
Current State: 36:[15, 84, 28, 14], Operations: []
Exploring Operation: 15*28=420, Resulting Numbers: [84, 14, 420]
Generated Node #2: [84, 14, 420] from Operation: 15*28=420
Current State: 36:[84, 14, 420], Operations: ['15*28=420']
Exploring Operation: 84+420=504, Resulting Numbers: [14, 504]
Generated Node #3: [14, 504] from Operation: 84+420=504
Current State: 36:[14, 504], Operations: ['15*28=420', '84+420=504']
Exploring Operation: 504/14=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4
|
Current State: 36:[15, 84, 28, 14], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [15, 14, 3]
Generated Node #0,0: 36:[15, 14, 3] Operation: 84/28=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[15, 14, 3], Operations: ['84/28=3']
Exploring Operation: 15-14=1, Resulting Numbers: [3, 1]
Generated Node #0,0,0: 36:[3, 1] Operation: 15-14=1
Moving to Node #0,0,0
Current State: 36:[3, 1], Operations: ['84/28=3', '15-14=1']
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
69,
30,
24,
51
] | 96
|
[
"69+51=120",
"120/30=4",
"24*4=96"
] |
Current State: 96:[69, 30, 24, 51], Operations: []
Exploring Operation: 69+51=120, Resulting Numbers: [30, 24, 120]
Generated Node #2: [30, 24, 120] from Operation: 69+51=120
Current State: 96:[30, 24, 120], Operations: ['69+51=120']
Exploring Operation: 120/30=4, Resulting Numbers: [24, 4]
Generated Node #3: [24, 4] from Operation: 120/30=4
Current State: 96:[24, 4], Operations: ['69+51=120', '120/30=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4
|
Current State: 96:[69, 30, 24, 51], Operations: []
Exploring Operation: 69-51=18, Resulting Numbers: [30, 24, 18]
Generated Node #0,0: 96:[30, 24, 18] Operation: 69-51=18
Exploring Operation: 69+30=99, Resulting Numbers: [24, 51, 99]
Generated Node #0,1: 96:[24, 51, 99] Operation: 69+30=99
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[30, 24, 18], Operations: ['69-51=18']
Exploring Operation: 30-18=12, Resulting Numbers: [24, 12]
Generated Node #0,0,0: 96:[24, 12] Operation: 30-18=12
Exploring Operation: 30+18=48, Resulting Numbers: [24, 48]
Generated Node #0,0,1: 96:[24, 48] Operation: 30+18=48
Moving to Node #0,0,0
Current State: 96:[24, 12], Operations: ['69-51=18', '30-18=12']
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[24, 48], Operations: ['69-51=18', '30+18=48']
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[24, 51, 99], Operations: ['69+30=99']
Exploring Operation: 99-51=48, Resulting Numbers: [24, 48]
Generated Node #0,1,0: 96:[24, 48] Operation: 99-51=48
Exploring Operation: 51-24=27, Resulting Numbers: [99, 27]
Generated Node #0,1,1: 96:[99, 27] Operation: 51-24=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[24, 48], Operations: ['69+30=99', '99-51=48']
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[99, 27], Operations: ['69+30=99', '51-24=27']
Exploring Operation: 99-27=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 99+27=126, Resulting Numbers: [126]
126,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
41,
3,
14,
56
] | 25
|
[
"41-14=27",
"3*27=81",
"81-56=25"
] |
Current State: 25:[41, 3, 14, 56], Operations: []
Exploring Operation: 41-14=27, Resulting Numbers: [3, 56, 27]
Generated Node #2: [3, 56, 27] from Operation: 41-14=27
Current State: 25:[3, 56, 27], Operations: ['41-14=27']
Exploring Operation: 3*27=81, Resulting Numbers: [56, 81]
Generated Node #3: [56, 81] from Operation: 3*27=81
Current State: 25:[56, 81], Operations: ['41-14=27', '3*27=81']
Exploring Operation: 81-56=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4
|
Current State: 25:[41, 3, 14, 56], Operations: []
Exploring Operation: 56-41=15, Resulting Numbers: [3, 14, 15]
Generated Node #0,0: 25:[3, 14, 15] Operation: 56-41=15
Exploring Operation: 41-3=38, Resulting Numbers: [14, 56, 38]
Generated Node #0,1: 25:[14, 56, 38] Operation: 41-3=38
Exploring Operation: 41-14=27, Resulting Numbers: [3, 56, 27]
Generated Node #0,2: 25:[3, 56, 27] Operation: 41-14=27
Exploring Operation: 56-14=42, Resulting Numbers: [41, 3, 42]
Generated Node #0,3: 25:[41, 3, 42] Operation: 56-14=42
Exploring Operation: 56/14=4, Resulting Numbers: [41, 3, 4]
Generated Node #0,4: 25:[41, 3, 4] Operation: 56/14=4
Moving to Node #0,4
Current State: 25:[41, 3, 4], Operations: ['56/14=4']
Exploring Operation: 4-3=1, Resulting Numbers: [41, 1]
Generated Node #0,4,0: 25:[41, 1] Operation: 4-3=1
Exploring Operation: 41-3=38, Resulting Numbers: [4, 38]
Generated Node #0,4,1: 25:[4, 38] Operation: 41-3=38
Exploring Operation: 41+3=44, Resulting Numbers: [4, 44]
Generated Node #0,4,2: 25:[4, 44] Operation: 41+3=44
Exploring Operation: 41-4=37, Resulting Numbers: [3, 37]
Generated Node #0,4,3: 25:[3, 37] Operation: 41-4=37
Exploring Operation: 3+4=7, Resulting Numbers: [41, 7]
Generated Node #0,4,4: 25:[41, 7] Operation: 3+4=7
Moving to Node #0,0
Current State: 25:[3, 14, 15], Operations: ['56-41=15']
Exploring Operation: 15/3=5, Resulting Numbers: [14, 5]
Generated Node #0,0,0: 25:[14, 5] Operation: 15/3=5
Exploring Operation: 14+15=29, Resulting Numbers: [3, 29]
Generated Node #0,0,1: 25:[3, 29] Operation: 14+15=29
Exploring Operation: 15-14=1, Resulting Numbers: [3, 1]
Generated Node #0,0,2: 25:[3, 1] Operation: 15-14=1
Exploring Operation: 14-3=11, Resulting Numbers: [15, 11]
Generated Node #0,0,3: 25:[15, 11] Operation: 14-3=11
Exploring Operation: 3+15=18, Resulting Numbers: [14, 18]
Generated Node #0,0,4: 25:[14, 18] Operation: 3+15=18
Moving to Node #0,2
Current State: 25:[3, 56, 27], Operations: ['41-14=27']
Exploring Operation: 3+56=59, Resulting Numbers: [27, 59]
Generated Node #0,2,0: 25:[27, 59] Operation: 3+56=59
Exploring Operation: 27-3=24, Resulting Numbers: [56, 24]
Generated Node #0,2,1: 25:[56, 24] Operation: 27-3=24
Exploring Operation: 27/3=9, Resulting Numbers: [56, 9]
Generated Node #0,2,2: 25:[56, 9] Operation: 27/3=9
Exploring Operation: 56-27=29, Resulting Numbers: [3, 29]
Generated Node #0,2,3: 25:[3, 29] Operation: 56-27=29
Exploring Operation: 56-3=53, Resulting Numbers: [27, 53]
Generated Node #0,2,4: 25:[27, 53] Operation: 56-3=53
Moving to Node #0,3
Current State: 25:[41, 3, 42], Operations: ['56-14=42']
Exploring Operation: 42-41=1, Resulting Numbers: [3, 1]
Generated Node #0,3,0: 25:[3, 1] Operation: 42-41=1
Exploring Operation: 42/3=14, Resulting Numbers: [41, 14]
Generated Node #0,3,1: 25:[41, 14] Operation: 42/3=14
Exploring Operation: 41-3=38, Resulting Numbers: [42, 38]
Generated Node #0,3,2: 25:[42, 38] Operation: 41-3=38
Exploring Operation: 42-3=39, Resulting Numbers: [41, 39]
Generated Node #0,3,3: 25:[41, 39] Operation: 42-3=39
Exploring Operation: 41+3=44, Resulting Numbers: [42, 44]
Generated Node #0,3,4: 25:[42, 44] Operation: 41+3=44
Moving to Node #0,1
Current State: 25:[14, 56, 38], Operations: ['41-3=38']
Exploring Operation: 56-38=18, Resulting Numbers: [14, 18]
Generated Node #0,1,0: 25:[14, 18] Operation: 56-38=18
Exploring Operation: 14+56=70, Resulting Numbers: [38, 70]
Generated Node #0,1,1: 25:[38, 70] Operation: 14+56=70
Exploring Operation: 56/14=4, Resulting Numbers: [38, 4]
Generated Node #0,1,2: 25:[38, 4] Operation: 56/14=4
Exploring Operation: 38-14=24, Resulting Numbers: [56, 24]
Generated Node #0,1,3: 25:[56, 24] Operation: 38-14=24
Exploring Operation: 56-14=42, Resulting Numbers: [38, 42]
Generated Node #0,1,4: 25:[38, 42] Operation: 56-14=42
Moving to Node #0,0,1
Current State: 25:[3, 29], Operations: ['56-41=15', '14+15=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,25 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[3, 1], Operations: ['56-41=15', '15-14=1']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[3, 29], Operations: ['41-14=27', '56-27=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,25 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Moving to Node #0,3,0
Current State: 25:[3, 1], Operations: ['56-14=42', '42-41=1']
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[14, 5], Operations: ['56-41=15', '15/3=5']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,25 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Moving to Node #0,4,1
Current State: 25:[4, 38], Operations: ['56/14=4', '41-3=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[38, 4], Operations: ['41-3=38', '56/14=4']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,25 unequal: No Solution
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Moving to Node #0,4,3
Current State: 25:[3, 37], Operations: ['56/14=4', '41-4=37']
Exploring Operation: 3*37=111, Resulting Numbers: [111]
111,25 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Moving to Node #0,0,4
Current State: 25:[14, 18], Operations: ['56-41=15', '3+15=18']
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,25 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[14, 18], Operations: ['41-3=38', '56-38=18']
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,25 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Moving to Node #0,0,3
Current State: 25:[15, 11], Operations: ['56-41=15', '14-3=11']
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,25 unequal: No Solution
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Moving to Node #0,4,4
Current State: 25:[41, 7], Operations: ['56/14=4', '3+4=7']
Exploring Operation: 41+7=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 41*7=287, Resulting Numbers: [287]
287,25 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Moving to Node #0,4,2
Current State: 25:[4, 44], Operations: ['56/14=4', '41+3=44']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,25 unequal: No Solution
Moving to Node #0,4,0
Current State: 25:[41, 1], Operations: ['56/14=4', '4-3=1']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[41, 14], Operations: ['56-14=42', '42/3=14']
Exploring Operation: 41*14=574, Resulting Numbers: [574]
574,25 unequal: No Solution
Exploring Operation: 41+14=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Moving to Node #0,2,4
Current State: 25:[27, 53], Operations: ['41-14=27', '56-3=53']
Exploring Operation: 27*53=1431, Resulting Numbers: [1431]
1431,25 unequal: No Solution
Exploring Operation: 27+53=80, Resulting Numbers: [80]
80,25 unequal: No Solution
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Moving to Node #0,1,4
Current State: 25:[38, 42], Operations: ['41-3=38', '56-14=42']
Exploring Operation: 38+42=80, Resulting Numbers: [80]
80,25 unequal: No Solution
Exploring Operation: 38*42=1596, Resulting Numbers: [1596]
1596,25 unequal: No Solution
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Moving to Node #0,3,2
Current State: 25:[42, 38], Operations: ['56-14=42', '41-3=38']
Exploring Operation: 42*38=1596, Resulting Numbers: [1596]
1596,25 unequal: No Solution
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 42+38=80, Resulting Numbers: [80]
80,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[41, 39], Operations: ['56-14=42', '42-3=39']
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 41+39=80, Resulting Numbers: [80]
80,25 unequal: No Solution
Exploring Operation: 41*39=1599, Resulting Numbers: [1599]
1599,25 unequal: No Solution
Moving to Node #0,1,3
Current State: 25:[56, 24], Operations: ['41-3=38', '38-14=24']
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,25 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[56, 24], Operations: ['41-14=27', '27-3=24']
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,25 unequal: No Solution
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,25 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[56, 9], Operations: ['41-14=27', '27/3=9']
Exploring Operation: 56+9=65, Resulting Numbers: [65]
65,25 unequal: No Solution
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 56*9=504, Resulting Numbers: [504]
504,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[27, 59], Operations: ['41-14=27', '3+56=59']
Exploring Operation: 27+59=86, Resulting Numbers: [86]
86,25 unequal: No Solution
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 27*59=1593, Resulting Numbers: [1593]
1593,25 unequal: No Solution
Moving to Node #0,3,4
Current State: 25:[42, 44], Operations: ['56-14=42', '41+3=44']
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 42*44=1848, Resulting Numbers: [1848]
1848,25 unequal: No Solution
Exploring Operation: 42+44=86, Resulting Numbers: [86]
86,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[38, 70], Operations: ['41-3=38', '14+56=70']
Exploring Operation: 38+70=108, Resulting Numbers: [108]
108,25 unequal: No Solution
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 38*70=2660, Resulting Numbers: [2660]
2660,25 unequal: No Solution
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
46,
10,
43,
43
] | 99
|
[
"46-43=3",
"43-10=33",
"3*33=99"
] |
Current State: 99:[46, 10, 43, 43], Operations: []
Exploring Operation: 46-43=3, Resulting Numbers: [10, 3]
Generated Node #2: [10, 3] from Operation: 46-43=3
Current State: 99:[10, 3], Operations: ['46-43=3']
Exploring Operation: 43-10=33, Resulting Numbers: [3, 33]
Generated Node #3: [3, 33] from Operation: 43-10=33
Current State: 99:[3, 33], Operations: ['46-43=3', '43-10=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4
|
Current State: 99:[46, 10, 43, 43], Operations: []
Exploring Operation: 43/43=1, Resulting Numbers: [46, 10, 1]
Generated Node #0,0: 99:[46, 10, 1] Operation: 43/43=1
Exploring Operation: 46-43=3, Resulting Numbers: [10, 43, 3]
Generated Node #0,1: 99:[10, 43, 3] Operation: 46-43=3
Exploring Operation: 46-43=3, Resulting Numbers: [10, 43, 3]
Generated Node #0,2: 99:[10, 43, 3] Operation: 46-43=3
Exploring Operation: 43-43=0, Resulting Numbers: [46, 10, 0]
Generated Node #0,3: 99:[46, 10, 0] Operation: 43-43=0
Moving to Node #0,1
Current State: 99:[10, 43, 3], Operations: ['46-43=3']
Exploring Operation: 10+3=13, Resulting Numbers: [43, 13]
Generated Node #0,1,0: 99:[43, 13] Operation: 10+3=13
Exploring Operation: 10-3=7, Resulting Numbers: [43, 7]
Generated Node #0,1,1: 99:[43, 7] Operation: 10-3=7
Exploring Operation: 43-10=33, Resulting Numbers: [3, 33]
Generated Node #0,1,2: 99:[3, 33] Operation: 43-10=33
Exploring Operation: 43-3=40, Resulting Numbers: [10, 40]
Generated Node #0,1,3: 99:[10, 40] Operation: 43-3=40
Moving to Node #0,2
Current State: 99:[10, 43, 3], Operations: ['46-43=3']
Exploring Operation: 43-3=40, Resulting Numbers: [10, 40]
Generated Node #0,2,0: 99:[10, 40] Operation: 43-3=40
Exploring Operation: 10-3=7, Resulting Numbers: [43, 7]
Generated Node #0,2,1: 99:[43, 7] Operation: 10-3=7
Exploring Operation: 10+3=13, Resulting Numbers: [43, 13]
Generated Node #0,2,2: 99:[43, 13] Operation: 10+3=13
Exploring Operation: 43-10=33, Resulting Numbers: [3, 33]
Generated Node #0,2,3: 99:[3, 33] Operation: 43-10=33
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 99:[3, 33], Operations: ['46-43=3', '43-10=33']
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[46, 10, 43, 43], Operations: []
Exploring Operation: 46-43=3, Resulting Numbers: [10, 43, 3]
Generated Node #0,2: 99:[10, 43, 3] Operation: 46-43=3
Moving to Node #0,2
Current State: 99:[10, 43, 3], Operations: ['46-43=3']
Exploring Operation: 43-10=33, Resulting Numbers: [3, 33]
Generated Node #0,2,3: 99:[3, 33] Operation: 43-10=33
Moving to Node #0,2,3
Current State: 99:[3, 33], Operations: ['46-43=3', '43-10=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375
|
hs_4
|
sum_heuristic
|
[
1,
7,
12,
34
] | 39
|
[
"1*7=7",
"12+34=46",
"46-7=39"
] |
Current State: 39:[1, 7, 12, 34], Operations: []
Exploring Operation: 1*7=7, Resulting Numbers: [12, 34, 7]
Generated Node #2: [12, 34, 7] from Operation: 1*7=7
Current State: 39:[12, 34, 7], Operations: ['1*7=7']
Exploring Operation: 12+34=46, Resulting Numbers: [7, 46]
Generated Node #3: [7, 46] from Operation: 12+34=46
Current State: 39:[7, 46], Operations: ['1*7=7', '12+34=46']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4
|
Current State: 39:[1, 7, 12, 34], Operations: []
Exploring Operation: 7+34=41, Resulting Numbers: [1, 12, 41]
Generated Node #0,0: 39:[1, 12, 41] Operation: 7+34=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[1, 12, 41], Operations: ['7+34=41']
Exploring Operation: 1+12=13, Resulting Numbers: [41, 13]
Generated Node #0,0,0: 39:[41, 13] Operation: 1+12=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[41, 13], Operations: ['7+34=41', '1+12=13']
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,39 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
|
[
97,
19,
49,
52
] | 26
|
[
"97-19=78",
"52-49=3",
"78/3=26"
] |
Current State: 26:[97, 19, 49, 52], Operations: []
Exploring Operation: 97-19=78, Resulting Numbers: [49, 52, 78]
Generated Node #2: [49, 52, 78] from Operation: 97-19=78
Current State: 26:[49, 52, 78], Operations: ['97-19=78']
Exploring Operation: 52-49=3, Resulting Numbers: [78, 3]
Generated Node #3: [78, 3] from Operation: 52-49=3
Current State: 26:[78, 3], Operations: ['97-19=78', '52-49=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4
|
Current State: 26:[97, 19, 49, 52], Operations: []
Exploring Operation: 97-52=45, Resulting Numbers: [19, 49, 45]
Generated Node #0,0: 26:[19, 49, 45] Operation: 97-52=45
Exploring Operation: 97-49=48, Resulting Numbers: [19, 52, 48]
Generated Node #0,1: 26:[19, 52, 48] Operation: 97-49=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[19, 49, 45], Operations: ['97-52=45']
Exploring Operation: 49-45=4, Resulting Numbers: [19, 4]
Generated Node #0,0,0: 26:[19, 4] Operation: 49-45=4
Exploring Operation: 49-19=30, Resulting Numbers: [45, 30]
Generated Node #0,0,1: 26:[45, 30] Operation: 49-19=30
Moving to Node #0,0,0
Current State: 26:[19, 4], Operations: ['97-52=45', '49-45=4']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[45, 30], Operations: ['97-52=45', '49-19=30']
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 45+30=75, Resulting Numbers: [75]
75,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[19, 52, 48], Operations: ['97-49=48']
Exploring Operation: 52-19=33, Resulting Numbers: [48, 33]
Generated Node #0,1,0: 26:[48, 33] Operation: 52-19=33
Exploring Operation: 52-48=4, Resulting Numbers: [19, 4]
Generated Node #0,1,1: 26:[19, 4] Operation: 52-48=4
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 26:[19, 4], Operations: ['97-49=48', '52-48=4']
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,26 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 26:[48, 33], Operations: ['97-49=48', '52-19=33']
Exploring Operation: 48+33=81, Resulting Numbers: [81]
81,26 unequal: No Solution
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
43,
52,
9,
6
] | 35
|
[
"52*9=468",
"468/6=78",
"78-43=35"
] |
Current State: 35:[43, 52, 9, 6], Operations: []
Exploring Operation: 52*9=468, Resulting Numbers: [43, 6, 468]
Generated Node #2: [43, 6, 468] from Operation: 52*9=468
Current State: 35:[43, 6, 468], Operations: ['52*9=468']
Exploring Operation: 468/6=78, Resulting Numbers: [43, 78]
Generated Node #3: [43, 78] from Operation: 468/6=78
Current State: 35:[43, 78], Operations: ['52*9=468', '468/6=78']
Exploring Operation: 78-43=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4
|
Current State: 35:[43, 52, 9, 6], Operations: []
Exploring Operation: 43-6=37, Resulting Numbers: [52, 9, 37]
Generated Node #0,0: 35:[52, 9, 37] Operation: 43-6=37
Exploring Operation: 43-9=34, Resulting Numbers: [52, 6, 34]
Generated Node #0,1: 35:[52, 6, 34] Operation: 43-9=34
Exploring Operation: 52-9=43, Resulting Numbers: [43, 6, 43]
Generated Node #0,2: 35:[43, 6, 43] Operation: 52-9=43
Exploring Operation: 52-43=9, Resulting Numbers: [9, 6, 9]
Generated Node #0,3: 35:[9, 6, 9] Operation: 52-43=9
Exploring Operation: 52-6=46, Resulting Numbers: [43, 9, 46]
Generated Node #0,4: 35:[43, 9, 46] Operation: 52-6=46
Moving to Node #0,3
Current State: 35:[9, 6, 9], Operations: ['52-43=9']
Exploring Operation: 9-6=3, Resulting Numbers: [9, 3]
Generated Node #0,3,0: 35:[9, 3] Operation: 9-6=3
Exploring Operation: 9+6=15, Resulting Numbers: [9, 15]
Generated Node #0,3,1: 35:[9, 15] Operation: 9+6=15
Exploring Operation: 9-9=0, Resulting Numbers: [6, 0]
Generated Node #0,3,2: 35:[6, 0] Operation: 9-9=0
Exploring Operation: 9-6=3, Resulting Numbers: [9, 3]
Generated Node #0,3,3: 35:[9, 3] Operation: 9-6=3
Exploring Operation: 9/9=1, Resulting Numbers: [6, 1]
Generated Node #0,3,4: 35:[6, 1] Operation: 9/9=1
Moving to Node #0,2
Current State: 35:[43, 6, 43], Operations: ['52-9=43']
Exploring Operation: 43-6=37, Resulting Numbers: [43, 37]
Generated Node #0,2,0: 35:[43, 37] Operation: 43-6=37
Exploring Operation: 43-43=0, Resulting Numbers: [6, 0]
Generated Node #0,2,1: 35:[6, 0] Operation: 43-43=0
Exploring Operation: 43-6=37, Resulting Numbers: [43, 37]
Generated Node #0,2,2: 35:[43, 37] Operation: 43-6=37
Exploring Operation: 43+6=49, Resulting Numbers: [43, 49]
Generated Node #0,2,3: 35:[43, 49] Operation: 43+6=49
Exploring Operation: 43/43=1, Resulting Numbers: [6, 1]
Generated Node #0,2,4: 35:[6, 1] Operation: 43/43=1
Moving to Node #0,1
Current State: 35:[52, 6, 34], Operations: ['43-9=34']
Exploring Operation: 52-6=46, Resulting Numbers: [34, 46]
Generated Node #0,1,0: 35:[34, 46] Operation: 52-6=46
Exploring Operation: 34-6=28, Resulting Numbers: [52, 28]
Generated Node #0,1,1: 35:[52, 28] Operation: 34-6=28
Exploring Operation: 6+34=40, Resulting Numbers: [52, 40]
Generated Node #0,1,2: 35:[52, 40] Operation: 6+34=40
Exploring Operation: 52-34=18, Resulting Numbers: [6, 18]
Generated Node #0,1,3: 35:[6, 18] Operation: 52-34=18
Exploring Operation: 52+6=58, Resulting Numbers: [34, 58]
Generated Node #0,1,4: 35:[34, 58] Operation: 52+6=58
Moving to Node #0,0
Current State: 35:[52, 9, 37], Operations: ['43-6=37']
Exploring Operation: 37-9=28, Resulting Numbers: [52, 28]
Generated Node #0,0,0: 35:[52, 28] Operation: 37-9=28
Exploring Operation: 52-9=43, Resulting Numbers: [37, 43]
Generated Node #0,0,1: 35:[37, 43] Operation: 52-9=43
Exploring Operation: 9+37=46, Resulting Numbers: [52, 46]
Generated Node #0,0,2: 35:[52, 46] Operation: 9+37=46
Exploring Operation: 52-37=15, Resulting Numbers: [9, 15]
Generated Node #0,0,3: 35:[9, 15] Operation: 52-37=15
Exploring Operation: 52+9=61, Resulting Numbers: [37, 61]
Generated Node #0,0,4: 35:[37, 61] Operation: 52+9=61
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[37, 43], Operations: ['43-6=37', '52-9=43']
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 37*43=1591, Resulting Numbers: [1591]
1591,35 unequal: No Solution
Exploring Operation: 37+43=80, Resulting Numbers: [80]
80,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 35:[9, 15], Operations: ['43-6=37', '52-37=15']
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,35 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[52, 28], Operations: ['43-6=37', '37-9=28']
Exploring Operation: 52+28=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 52*28=1456, Resulting Numbers: [1456]
1456,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[52, 46], Operations: ['43-6=37', '9+37=46']
Exploring Operation: 52-46=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 52+46=98, Resulting Numbers: [98]
98,35 unequal: No Solution
Exploring Operation: 52*46=2392, Resulting Numbers: [2392]
2392,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 35:[37, 61], Operations: ['43-6=37', '52+9=61']
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 37+61=98, Resulting Numbers: [98]
98,35 unequal: No Solution
Exploring Operation: 37*61=2257, Resulting Numbers: [2257]
2257,35 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: 35:[43, 9, 46], Operations: ['52-6=46']
Exploring Operation: 46-9=37, Resulting Numbers: [43, 37]
Generated Node #0,4,0: 35:[43, 37] Operation: 46-9=37
Exploring Operation: 43-9=34, Resulting Numbers: [46, 34]
Generated Node #0,4,1: 35:[46, 34] Operation: 43-9=34
Exploring Operation: 43+9=52, Resulting Numbers: [46, 52]
Generated Node #0,4,2: 35:[46, 52] Operation: 43+9=52
Exploring Operation: 46-43=3, Resulting Numbers: [9, 3]
Generated Node #0,4,3: 35:[9, 3] Operation: 46-43=3
Exploring Operation: 9+46=55, Resulting Numbers: [43, 55]
Generated Node #0,4,4: 35:[43, 55] Operation: 9+46=55
Moving to Node #0,3,0
Current State: 35:[9, 3], Operations: ['52-43=9', '9-6=3']
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Moving to Node #0,3,3
Current State: 35:[9, 3], Operations: ['52-43=9', '9-6=3']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Moving to Node #0,4,3
Current State: 35:[9, 3], Operations: ['52-6=46', '46-43=3']
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Moving to Node #0,3,4
Current State: 35:[6, 1], Operations: ['52-43=9', '9/9=1']
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Moving to Node #0,2,4
Current State: 35:[6, 1], Operations: ['52-9=43', '43/43=1']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[6, 0], Operations: ['52-9=43', '43-43=0']
Exploring Operation: 6+0=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 6-0=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 6*0=0, Resulting Numbers: [0]
0,35 unequal: No Solution
Moving to Node #0,3,2
Current State: 35:[6, 0], Operations: ['52-43=9', '9-9=0']
Exploring Operation: 6+0=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 6*0=0, Resulting Numbers: [0]
0,35 unequal: No Solution
Exploring Operation: 6-0=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[43, 37], Operations: ['52-9=43', '43-6=37']
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 43*37=1591, Resulting Numbers: [1591]
1591,35 unequal: No Solution
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Moving to Node #0,3,1
Current State: 35:[9, 15], Operations: ['52-43=9', '9+6=15']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[43, 37], Operations: ['52-9=43', '43-6=37']
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 43*37=1591, Resulting Numbers: [1591]
1591,35 unequal: No Solution
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Moving to Node #0,4,0
Current State: 35:[43, 37], Operations: ['52-6=46', '46-9=37']
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 43*37=1591, Resulting Numbers: [1591]
1591,35 unequal: No Solution
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[6, 18], Operations: ['43-9=34', '52-34=18']
Exploring Operation: 6*18=108, Resulting Numbers: [108]
108,35 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[34, 46], Operations: ['43-9=34', '52-6=46']
Exploring Operation: 34*46=1564, Resulting Numbers: [1564]
1564,35 unequal: No Solution
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 34+46=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Moving to Node #0,4,1
Current State: 35:[46, 34], Operations: ['52-6=46', '43-9=34']
Exploring Operation: 46+34=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 46*34=1564, Resulting Numbers: [1564]
1564,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[52, 40], Operations: ['43-9=34', '6+34=40']
Exploring Operation: 52-40=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 52+40=92, Resulting Numbers: [92]
92,35 unequal: No Solution
Exploring Operation: 52*40=2080, Resulting Numbers: [2080]
2080,35 unequal: No Solution
Moving to Node #0,2,3
Current State: 35:[43, 49], Operations: ['52-9=43', '43+6=49']
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 43*49=2107, Resulting Numbers: [2107]
2107,35 unequal: No Solution
Exploring Operation: 43+49=92, Resulting Numbers: [92]
92,35 unequal: No Solution
Moving to Node #0,1,4
Current State: 35:[34, 58], Operations: ['43-9=34', '52+6=58']
Exploring Operation: 34+58=92, Resulting Numbers: [92]
92,35 unequal: No Solution
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 34*58=1972, Resulting Numbers: [1972]
1972,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[52, 28], Operations: ['43-9=34', '34-6=28']
Exploring Operation: 52*28=1456, Resulting Numbers: [1456]
1456,35 unequal: No Solution
Exploring Operation: 52+28=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Moving to Node #0,4,4
Current State: 35:[43, 55], Operations: ['52-6=46', '9+46=55']
Exploring Operation: 43*55=2365, Resulting Numbers: [2365]
2365,35 unequal: No Solution
Exploring Operation: 43+55=98, Resulting Numbers: [98]
98,35 unequal: No Solution
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Moving to Node #0,4,2
Current State: 35:[46, 52], Operations: ['52-6=46', '43+9=52']
Exploring Operation: 46*52=2392, Resulting Numbers: [2392]
2392,35 unequal: No Solution
Exploring Operation: 46+52=98, Resulting Numbers: [98]
98,35 unequal: No Solution
Exploring Operation: 52-46=6, Resulting Numbers: [6]
6,35 unequal: No Solution
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
98,
56,
12,
87
] | 56
|
[
"98-12=86",
"87-86=1",
"56*1=56"
] |
Current State: 56:[98, 56, 12, 87], Operations: []
Exploring Operation: 98-12=86, Resulting Numbers: [56, 87, 86]
Generated Node #2: [56, 87, 86] from Operation: 98-12=86
Current State: 56:[56, 87, 86], Operations: ['98-12=86']
Exploring Operation: 87-86=1, Resulting Numbers: [56, 1]
Generated Node #3: [56, 1] from Operation: 87-86=1
Current State: 56:[56, 1], Operations: ['98-12=86', '87-86=1']
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4
|
Current State: 56:[98, 56, 12, 87], Operations: []
Exploring Operation: 98-87=11, Resulting Numbers: [56, 12, 11]
Generated Node #0,0: 56:[56, 12, 11] Operation: 98-87=11
Moving to Node #0,0
Current State: 56:[56, 12, 11], Operations: ['98-87=11']
Exploring Operation: 12-11=1, Resulting Numbers: [56, 1]
Generated Node #0,0,0: 56:[56, 1] Operation: 12-11=1
Moving to Node #0,0,0
Current State: 56:[56, 1], Operations: ['98-87=11', '12-11=1']
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[98, 56, 12, 87], Operations: []
Exploring Operation: 98-87=11, Resulting Numbers: [56, 12, 11]
Generated Node #0,0: 56:[56, 12, 11] Operation: 98-87=11
Moving to Node #0,0
Current State: 56:[56, 12, 11], Operations: ['98-87=11']
Exploring Operation: 12-11=1, Resulting Numbers: [56, 1]
Generated Node #0,0,0: 56:[56, 1] Operation: 12-11=1
Moving to Node #0,0,0
Current State: 56:[56, 1], Operations: ['98-87=11', '12-11=1']
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.993924
|
hs_1
|
mult_heuristic
|
[
17,
56,
63,
2
] | 32
|
[
"17+63=80",
"56*2=112",
"112-80=32"
] |
Current State: 32:[17, 56, 63, 2], Operations: []
Exploring Operation: 17+63=80, Resulting Numbers: [56, 2, 80]
Generated Node #2: [56, 2, 80] from Operation: 17+63=80
Current State: 32:[56, 2, 80], Operations: ['17+63=80']
Exploring Operation: 56*2=112, Resulting Numbers: [80, 112]
Generated Node #3: [80, 112] from Operation: 56*2=112
Current State: 32:[80, 112], Operations: ['17+63=80', '56*2=112']
Exploring Operation: 112-80=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4
|
Current State: 32:[17, 56, 63, 2], Operations: []
Exploring Operation: 63-56=7, Resulting Numbers: [17, 2, 7]
Generated Node #0,0: 32:[17, 2, 7] Operation: 63-56=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[17, 2, 7], Operations: ['63-56=7']
Exploring Operation: 17-2=15, Resulting Numbers: [7, 15]
Generated Node #0,0,0: 32:[7, 15] Operation: 17-2=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[7, 15], Operations: ['63-56=7', '17-2=15']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,32 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
|
[
18,
21,
98,
38
] | 20
|
[
"21-18=3",
"98-38=60",
"60/3=20"
] |
Current State: 20:[18, 21, 98, 38], Operations: []
Exploring Operation: 21-18=3, Resulting Numbers: [98, 38, 3]
Generated Node #2: [98, 38, 3] from Operation: 21-18=3
Current State: 20:[98, 38, 3], Operations: ['21-18=3']
Exploring Operation: 98-38=60, Resulting Numbers: [3, 60]
Generated Node #3: [3, 60] from Operation: 98-38=60
Current State: 20:[3, 60], Operations: ['21-18=3', '98-38=60']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4
|
Current State: 20:[18, 21, 98, 38], Operations: []
Exploring Operation: 98-18=80, Resulting Numbers: [21, 38, 80]
Generated Node #0,0: 20:[21, 38, 80] Operation: 98-18=80
Exploring Operation: 38-18=20, Resulting Numbers: [21, 98, 20]
Generated Node #0,1: 20:[21, 98, 20] Operation: 38-18=20
Exploring Operation: 98-38=60, Resulting Numbers: [18, 21, 60]
Generated Node #0,2: 20:[18, 21, 60] Operation: 98-38=60
Exploring Operation: 98-21=77, Resulting Numbers: [18, 38, 77]
Generated Node #0,3: 20:[18, 38, 77] Operation: 98-21=77
Moving to Node #0,2
Current State: 20:[18, 21, 60], Operations: ['98-38=60']
Exploring Operation: 18+21=39, Resulting Numbers: [60, 39]
Generated Node #0,2,0: 20:[60, 39] Operation: 18+21=39
Exploring Operation: 60-18=42, Resulting Numbers: [21, 42]
Generated Node #0,2,1: 20:[21, 42] Operation: 60-18=42
Exploring Operation: 60-21=39, Resulting Numbers: [18, 39]
Generated Node #0,2,2: 20:[18, 39] Operation: 60-21=39
Exploring Operation: 21-18=3, Resulting Numbers: [60, 3]
Generated Node #0,2,3: 20:[60, 3] Operation: 21-18=3
Moving to Node #0,3
Current State: 20:[18, 38, 77], Operations: ['98-21=77']
Exploring Operation: 77-18=59, Resulting Numbers: [38, 59]
Generated Node #0,3,0: 20:[38, 59] Operation: 77-18=59
Exploring Operation: 38-18=20, Resulting Numbers: [77, 20]
Generated Node #0,3,1: 20:[77, 20] Operation: 38-18=20
Exploring Operation: 18+38=56, Resulting Numbers: [77, 56]
Generated Node #0,3,2: 20:[77, 56] Operation: 18+38=56
Exploring Operation: 77-38=39, Resulting Numbers: [18, 39]
Generated Node #0,3,3: 20:[18, 39] Operation: 77-38=39
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 20:[18, 39], Operations: ['98-21=77', '77-38=39']
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,20 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 20:[38, 59], Operations: ['98-21=77', '77-18=59']
Exploring Operation: 38*59=2242, Resulting Numbers: [2242]
2242,20 unequal: No Solution
Exploring Operation: 59-38=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 38+59=97, Resulting Numbers: [97]
97,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 20:[77, 20], Operations: ['98-21=77', '38-18=20']
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,20 unequal: No Solution
Exploring Operation: 77*20=1540, Resulting Numbers: [1540]
1540,20 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 20:[77, 56], Operations: ['98-21=77', '18+38=56']
Exploring Operation: 77-56=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 77*56=4312, Resulting Numbers: [4312]
4312,20 unequal: No Solution
Exploring Operation: 77+56=133, Resulting Numbers: [133]
133,20 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: 20:[21, 98, 20], Operations: ['38-18=20']
Exploring Operation: 21+98=119, Resulting Numbers: [20, 119]
Generated Node #0,1,0: 20:[20, 119] Operation: 21+98=119
Exploring Operation: 21-20=1, Resulting Numbers: [98, 1]
Generated Node #0,1,1: 20:[98, 1] Operation: 21-20=1
Exploring Operation: 98-21=77, Resulting Numbers: [20, 77]
Generated Node #0,1,2: 20:[20, 77] Operation: 98-21=77
Exploring Operation: 98-20=78, Resulting Numbers: [21, 78]
Generated Node #0,1,3: 20:[21, 78] Operation: 98-20=78
Moving to Node #0,0
Current State: 20:[21, 38, 80], Operations: ['98-18=80']
Exploring Operation: 38-21=17, Resulting Numbers: [80, 17]
Generated Node #0,0,0: 20:[80, 17] Operation: 38-21=17
Exploring Operation: 80-38=42, Resulting Numbers: [21, 42]
Generated Node #0,0,1: 20:[21, 42] Operation: 80-38=42
Exploring Operation: 21+38=59, Resulting Numbers: [80, 59]
Generated Node #0,0,2: 20:[80, 59] Operation: 21+38=59
Exploring Operation: 80-21=59, Resulting Numbers: [38, 59]
Generated Node #0,0,3: 20:[38, 59] Operation: 80-21=59
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[21, 42], Operations: ['98-18=80', '80-38=42']
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 21+42=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 21*42=882, Resulting Numbers: [882]
882,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:[38, 59], Operations: ['98-18=80', '80-21=59']
Exploring Operation: 38*59=2242, Resulting Numbers: [2242]
2242,20 unequal: No Solution
Exploring Operation: 38+59=97, Resulting Numbers: [97]
97,20 unequal: No Solution
Exploring Operation: 59-38=21, Resulting Numbers: [21]
21,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:[80, 17], Operations: ['98-18=80', '38-21=17']
Exploring Operation: 80+17=97, Resulting Numbers: [97]
97,20 unequal: No Solution
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 80*17=1360, Resulting Numbers: [1360]
1360,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[80, 59], Operations: ['98-18=80', '21+38=59']
Exploring Operation: 80-59=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 80+59=139, Resulting Numbers: [139]
139,20 unequal: No Solution
Exploring Operation: 80*59=4720, Resulting Numbers: [4720]
4720,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 20:[18, 39], Operations: ['98-38=60', '60-21=39']
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,20 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[21, 42], Operations: ['98-38=60', '60-18=42']
Exploring Operation: 21+42=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 21*42=882, Resulting Numbers: [882]
882,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[60, 3], Operations: ['98-38=60', '21-18=3']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[18, 21, 98, 38], Operations: []
Exploring Operation: 98-38=60, Resulting Numbers: [18, 21, 60]
Generated Node #0,2: 20:[18, 21, 60] Operation: 98-38=60
Moving to Node #0,2
Current State: 20:[18, 21, 60], Operations: ['98-38=60']
Exploring Operation: 21-18=3, Resulting Numbers: [60, 3]
Generated Node #0,2,3: 20:[60, 3] Operation: 21-18=3
Moving to Node #0,2,3
Current State: 20:[60, 3], Operations: ['98-38=60', '21-18=3']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.950521
|
hs_4
|
mult_heuristic
|
[
63,
95,
88,
85
] | 76
|
[
"95-88=7",
"63/7=9",
"85-9=76"
] |
Current State: 76:[63, 95, 88, 85], Operations: []
Exploring Operation: 95-88=7, Resulting Numbers: [63, 85, 7]
Generated Node #2: [63, 85, 7] from Operation: 95-88=7
Current State: 76:[63, 85, 7], Operations: ['95-88=7']
Exploring Operation: 63/7=9, Resulting Numbers: [85, 9]
Generated Node #3: [85, 9] from Operation: 63/7=9
Current State: 76:[85, 9], Operations: ['95-88=7', '63/7=9']
Exploring Operation: 85-9=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4
|
Current State: 76:[63, 95, 88, 85], Operations: []
Exploring Operation: 95-88=7, Resulting Numbers: [63, 85, 7]
Generated Node #0,0: 76:[63, 85, 7] Operation: 95-88=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[63, 85, 7], Operations: ['95-88=7']
Exploring Operation: 85-63=22, Resulting Numbers: [7, 22]
Generated Node #0,0,0: 76:[7, 22] Operation: 85-63=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[7, 22], Operations: ['95-88=7', '85-63=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
12,
6,
18,
44
] | 45
|
[
"12+6=18",
"18/18=1",
"44+1=45"
] |
Current State: 45:[12, 6, 18, 44], Operations: []
Exploring Operation: 12+6=18, Resulting Numbers: [18, 44, 18]
Generated Node #2: [18, 44, 18] from Operation: 12+6=18
Current State: 45:[18, 44, 18], Operations: ['12+6=18']
Exploring Operation: 18/18=1, Resulting Numbers: [44, 1]
Generated Node #3: [44, 1] from Operation: 18/18=1
Current State: 45:[44, 1], Operations: ['12+6=18', '18/18=1']
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4
|
Current State: 45:[12, 6, 18, 44], Operations: []
Exploring Operation: 18-12=6, Resulting Numbers: [6, 44, 6]
Generated Node #0,0: 45:[6, 44, 6] Operation: 18-12=6
Exploring Operation: 12-6=6, Resulting Numbers: [18, 44, 6]
Generated Node #0,1: 45:[18, 44, 6] Operation: 12-6=6
Exploring Operation: 18/6=3, Resulting Numbers: [12, 44, 3]
Generated Node #0,2: 45:[12, 44, 3] Operation: 18/6=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[6, 44, 6], Operations: ['18-12=6']
Exploring Operation: 6+6=12, Resulting Numbers: [44, 12]
Generated Node #0,0,0: 45:[44, 12] Operation: 6+6=12
Exploring Operation: 6-6=0, Resulting Numbers: [44, 0]
Generated Node #0,0,1: 45:[44, 0] Operation: 6-6=0
Exploring Operation: 6/6=1, Resulting Numbers: [44, 1]
Generated Node #0,0,2: 45:[44, 1] Operation: 6/6=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 45:[44, 1], Operations: ['18-12=6', '6/6=1']
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[12, 6, 18, 44], Operations: []
Exploring Operation: 18-12=6, Resulting Numbers: [6, 44, 6]
Generated Node #0,0: 45:[6, 44, 6] Operation: 18-12=6
Moving to Node #0,0
Current State: 45:[6, 44, 6], Operations: ['18-12=6']
Exploring Operation: 6/6=1, Resulting Numbers: [44, 1]
Generated Node #0,0,2: 45:[44, 1] Operation: 6/6=1
Moving to Node #0,0,2
Current State: 45:[44, 1], Operations: ['18-12=6', '6/6=1']
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583
|
hs_3
|
mult_heuristic
|
[
6,
16,
3,
12
] | 42
|
[
"16-6=10",
"3*10=30",
"12+30=42"
] |
Current State: 42:[6, 16, 3, 12], Operations: []
Exploring Operation: 16-6=10, Resulting Numbers: [3, 12, 10]
Generated Node #2: [3, 12, 10] from Operation: 16-6=10
Current State: 42:[3, 12, 10], Operations: ['16-6=10']
Exploring Operation: 3*10=30, Resulting Numbers: [12, 30]
Generated Node #3: [12, 30] from Operation: 3*10=30
Current State: 42:[12, 30], Operations: ['16-6=10', '3*10=30']
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4
|
Current State: 42:[6, 16, 3, 12], Operations: []
Exploring Operation: 6+16=22, Resulting Numbers: [3, 12, 22]
Generated Node #0,0: 42:[3, 12, 22] Operation: 6+16=22
Exploring Operation: 12/6=2, Resulting Numbers: [16, 3, 2]
Generated Node #0,1: 42:[16, 3, 2] Operation: 12/6=2
Exploring Operation: 16-12=4, Resulting Numbers: [6, 3, 4]
Generated Node #0,2: 42:[6, 3, 4] Operation: 16-12=4
Exploring Operation: 12-6=6, Resulting Numbers: [16, 3, 6]
Generated Node #0,3: 42:[16, 3, 6] Operation: 12-6=6
Moving to Node #0,2
Current State: 42:[6, 3, 4], Operations: ['16-12=4']
Exploring Operation: 6-3=3, Resulting Numbers: [4, 3]
Generated Node #0,2,0: 42:[4, 3] Operation: 6-3=3
Exploring Operation: 3+4=7, Resulting Numbers: [6, 7]
Generated Node #0,2,1: 42:[6, 7] Operation: 3+4=7
Exploring Operation: 6-4=2, Resulting Numbers: [3, 2]
Generated Node #0,2,2: 42:[3, 2] Operation: 6-4=2
Exploring Operation: 6/3=2, Resulting Numbers: [4, 2]
Generated Node #0,2,3: 42:[4, 2] Operation: 6/3=2
Moving to Node #0,3
Current State: 42:[16, 3, 6], Operations: ['12-6=6']
Exploring Operation: 16+6=22, Resulting Numbers: [3, 22]
Generated Node #0,3,0: 42:[3, 22] Operation: 16+6=22
Exploring Operation: 6-3=3, Resulting Numbers: [16, 3]
Generated Node #0,3,1: 42:[16, 3] Operation: 6-3=3
Exploring Operation: 16+3=19, Resulting Numbers: [6, 19]
Generated Node #0,3,2: 42:[6, 19] Operation: 16+3=19
Exploring Operation: 16-3=13, Resulting Numbers: [6, 13]
Generated Node #0,3,3: 42:[6, 13] Operation: 16-3=13
Moving to Node #0,1
Current State: 42:[16, 3, 2], Operations: ['12/6=2']
Exploring Operation: 16/2=8, Resulting Numbers: [3, 8]
Generated Node #0,1,0: 42:[3, 8] Operation: 16/2=8
Exploring Operation: 16-2=14, Resulting Numbers: [3, 14]
Generated Node #0,1,1: 42:[3, 14] Operation: 16-2=14
Exploring Operation: 16+3=19, Resulting Numbers: [2, 19]
Generated Node #0,1,2: 42:[2, 19] Operation: 16+3=19
Exploring Operation: 16-3=13, Resulting Numbers: [2, 13]
Generated Node #0,1,3: 42:[2, 13] Operation: 16-3=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[3, 14], Operations: ['12/6=2', '16-2=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,42 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[6, 16, 3, 12], Operations: []
Exploring Operation: 12/6=2, Resulting Numbers: [16, 3, 2]
Generated Node #0,1: 42:[16, 3, 2] Operation: 12/6=2
Moving to Node #0,1
Current State: 42:[16, 3, 2], Operations: ['12/6=2']
Exploring Operation: 16-2=14, Resulting Numbers: [3, 14]
Generated Node #0,1,1: 42:[3, 14] Operation: 16-2=14
Moving to Node #0,1,1
Current State: 42:[3, 14], Operations: ['12/6=2', '16-2=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035
|
hs_4
|
sum_heuristic
|
[
72,
75,
84,
83
] | 75
|
[
"84-75=9",
"72/9=8",
"83-8=75"
] |
Current State: 75:[72, 75, 84, 83], Operations: []
Exploring Operation: 84-75=9, Resulting Numbers: [72, 83, 9]
Generated Node #2: [72, 83, 9] from Operation: 84-75=9
Current State: 75:[72, 83, 9], Operations: ['84-75=9']
Exploring Operation: 72/9=8, Resulting Numbers: [83, 8]
Generated Node #3: [83, 8] from Operation: 72/9=8
Current State: 75:[83, 8], Operations: ['84-75=9', '72/9=8']
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4
|
Current State: 75:[72, 75, 84, 83], Operations: []
Exploring Operation: 83-72=11, Resulting Numbers: [75, 84, 11]
Generated Node #0,0: 75:[75, 84, 11] Operation: 83-72=11
Exploring Operation: 84-83=1, Resulting Numbers: [72, 75, 1]
Generated Node #0,1: 75:[72, 75, 1] Operation: 84-83=1
Exploring Operation: 84-72=12, Resulting Numbers: [75, 83, 12]
Generated Node #0,2: 75:[75, 83, 12] Operation: 84-72=12
Moving to Node #0,1
Current State: 75:[72, 75, 1], Operations: ['84-83=1']
Exploring Operation: 75-72=3, Resulting Numbers: [1, 3]
Generated Node #0,1,0: 75:[1, 3] Operation: 75-72=3
Exploring Operation: 72*1=72, Resulting Numbers: [75, 72]
Generated Node #0,1,1: 75:[75, 72] Operation: 72*1=72
Exploring Operation: 72+1=73, Resulting Numbers: [75, 73]
Generated Node #0,1,2: 75:[75, 73] Operation: 72+1=73
Moving to Node #0,2
Current State: 75:[75, 83, 12], Operations: ['84-72=12']
Exploring Operation: 83-75=8, Resulting Numbers: [12, 8]
Generated Node #0,2,0: 75:[12, 8] Operation: 83-75=8
Exploring Operation: 75+12=87, Resulting Numbers: [83, 87]
Generated Node #0,2,1: 75:[83, 87] Operation: 75+12=87
Exploring Operation: 83-12=71, Resulting Numbers: [75, 71]
Generated Node #0,2,2: 75:[75, 71] Operation: 83-12=71
Moving to Node #0,0
Current State: 75:[75, 84, 11], Operations: ['83-72=11']
Exploring Operation: 75+11=86, Resulting Numbers: [84, 86]
Generated Node #0,0,0: 75:[84, 86] Operation: 75+11=86
Exploring Operation: 84-75=9, Resulting Numbers: [11, 9]
Generated Node #0,0,1: 75:[11, 9] Operation: 84-75=9
Exploring Operation: 84-11=73, Resulting Numbers: [75, 73]
Generated Node #0,0,2: 75:[75, 73] Operation: 84-11=73
Moving to Node #0,1,0
Current State: 75:[1, 3], Operations: ['84-83=1', '75-72=3']
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[75, 73], Operations: ['83-72=11', '84-11=73']
Exploring Operation: 75+73=148, Resulting Numbers: [148]
148,75 unequal: No Solution
Exploring Operation: 75-73=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 75*73=5475, Resulting Numbers: [5475]
5475,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[75, 73], Operations: ['84-83=1', '72+1=73']
Exploring Operation: 75-73=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 75*73=5475, Resulting Numbers: [5475]
5475,75 unequal: No Solution
Exploring Operation: 75+73=148, Resulting Numbers: [148]
148,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[75, 72], Operations: ['84-83=1', '72*1=72']
Exploring Operation: 75+72=147, Resulting Numbers: [147]
147,75 unequal: No Solution
Exploring Operation: 75-72=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 75*72=5400, Resulting Numbers: [5400]
5400,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[75, 71], Operations: ['84-72=12', '83-12=71']
Exploring Operation: 75*71=5325, Resulting Numbers: [5325]
5325,75 unequal: No Solution
Exploring Operation: 75+71=146, Resulting Numbers: [146]
146,75 unequal: No Solution
Exploring Operation: 75-71=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[12, 8], Operations: ['84-72=12', '83-75=8']
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,75 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[11, 9], Operations: ['83-72=11', '84-75=9']
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[84, 86], Operations: ['83-72=11', '75+11=86']
Exploring Operation: 86-84=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 84*86=7224, Resulting Numbers: [7224]
7224,75 unequal: No Solution
Exploring Operation: 84+86=170, Resulting Numbers: [170]
170,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[83, 87], Operations: ['84-72=12', '75+12=87']
Exploring Operation: 87-83=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 83+87=170, Resulting Numbers: [170]
170,75 unequal: No Solution
Exploring Operation: 83*87=7221, Resulting Numbers: [7221]
7221,75 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
34,
82,
79,
16
] | 14
|
[
"82-79=3",
"16*3=48",
"48-34=14"
] |
Current State: 14:[34, 82, 79, 16], Operations: []
Exploring Operation: 82-79=3, Resulting Numbers: [34, 16, 3]
Generated Node #2: [34, 16, 3] from Operation: 82-79=3
Current State: 14:[34, 16, 3], Operations: ['82-79=3']
Exploring Operation: 16*3=48, Resulting Numbers: [34, 48]
Generated Node #3: [34, 48] from Operation: 16*3=48
Current State: 14:[34, 48], Operations: ['82-79=3', '16*3=48']
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4
|
Current State: 14:[34, 82, 79, 16], Operations: []
Exploring Operation: 82-79=3, Resulting Numbers: [34, 16, 3]
Generated Node #0,0: 14:[34, 16, 3] Operation: 82-79=3
Exploring Operation: 82-34=48, Resulting Numbers: [79, 16, 48]
Generated Node #0,1: 14:[79, 16, 48] Operation: 82-34=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[34, 16, 3], Operations: ['82-79=3']
Exploring Operation: 34-16=18, Resulting Numbers: [3, 18]
Generated Node #0,0,0: 14:[3, 18] Operation: 34-16=18
Exploring Operation: 34-3=31, Resulting Numbers: [16, 31]
Generated Node #0,0,1: 14:[16, 31] Operation: 34-3=31
Moving to Node #0,0,0
Current State: 14:[3, 18], Operations: ['82-79=3', '34-16=18']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[16, 31], Operations: ['82-79=3', '34-3=31']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 16+31=47, Resulting Numbers: [47]
47,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[79, 16, 48], Operations: ['82-34=48']
Exploring Operation: 79-48=31, Resulting Numbers: [16, 31]
Generated Node #0,1,0: 14:[16, 31] Operation: 79-48=31
Exploring Operation: 48/16=3, Resulting Numbers: [79, 3]
Generated Node #0,1,1: 14:[79, 3] Operation: 48/16=3
Moving to Node #0,1,0
Current State: 14:[16, 31], Operations: ['82-34=48', '79-48=31']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 16+31=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[79, 3], Operations: ['82-34=48', '48/16=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
10,
78,
24,
68
] | 44
|
[
"10+78=88",
"68-24=44",
"88-44=44"
] |
Current State: 44:[10, 78, 24, 68], Operations: []
Exploring Operation: 10+78=88, Resulting Numbers: [24, 68, 88]
Generated Node #2: [24, 68, 88] from Operation: 10+78=88
Current State: 44:[24, 68, 88], Operations: ['10+78=88']
Exploring Operation: 68-24=44, Resulting Numbers: [88, 44]
Generated Node #3: [88, 44] from Operation: 68-24=44
Current State: 44:[88, 44], Operations: ['10+78=88', '68-24=44']
Exploring Operation: 88-44=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4
|
Current State: 44:[10, 78, 24, 68], Operations: []
Exploring Operation: 78-10=68, Resulting Numbers: [24, 68, 68]
Generated Node #0,0: 44:[24, 68, 68] Operation: 78-10=68
Exploring Operation: 78-24=54, Resulting Numbers: [10, 68, 54]
Generated Node #0,1: 44:[10, 68, 54] Operation: 78-24=54
Exploring Operation: 78-68=10, Resulting Numbers: [10, 24, 10]
Generated Node #0,2: 44:[10, 24, 10] Operation: 78-68=10
Exploring Operation: 68-24=44, Resulting Numbers: [10, 78, 44]
Generated Node #0,3: 44:[10, 78, 44] Operation: 68-24=44
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[10, 24, 10], Operations: ['78-68=10']
Exploring Operation: 10-10=0, Resulting Numbers: [24, 0]
Generated Node #0,2,0: 44:[24, 0] Operation: 10-10=0
Exploring Operation: 10+10=20, Resulting Numbers: [24, 20]
Generated Node #0,2,1: 44:[24, 20] Operation: 10+10=20
Exploring Operation: 24-10=14, Resulting Numbers: [10, 14]
Generated Node #0,2,2: 44:[10, 14] Operation: 24-10=14
Exploring Operation: 10/10=1, Resulting Numbers: [24, 1]
Generated Node #0,2,3: 44:[24, 1] Operation: 10/10=1
Moving to Node #0,2,3
Current State: 44:[24, 1], Operations: ['78-68=10', '10/10=1']
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[24, 20], Operations: ['78-68=10', '10+10=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[10, 78, 24, 68], Operations: []
Exploring Operation: 78-68=10, Resulting Numbers: [10, 24, 10]
Generated Node #0,2: 44:[10, 24, 10] Operation: 78-68=10
Moving to Node #0,2
Current State: 44:[10, 24, 10], Operations: ['78-68=10']
Exploring Operation: 10+10=20, Resulting Numbers: [24, 20]
Generated Node #0,2,1: 44:[24, 20] Operation: 10+10=20
Moving to Node #0,2,1
Current State: 44:[24, 20], Operations: ['78-68=10', '10+10=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243
|
hs_4
|
mult_heuristic
|
[
7,
72,
34,
27
] | 18
|
[
"7+72=79",
"34+27=61",
"79-61=18"
] |
Current State: 18:[7, 72, 34, 27], Operations: []
Exploring Operation: 7+72=79, Resulting Numbers: [34, 27, 79]
Generated Node #2: [34, 27, 79] from Operation: 7+72=79
Current State: 18:[34, 27, 79], Operations: ['7+72=79']
Exploring Operation: 34+27=61, Resulting Numbers: [79, 61]
Generated Node #3: [79, 61] from Operation: 34+27=61
Current State: 18:[79, 61], Operations: ['7+72=79', '34+27=61']
Exploring Operation: 79-61=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4
|
Current State: 18:[7, 72, 34, 27], Operations: []
Exploring Operation: 72-7=65, Resulting Numbers: [34, 27, 65]
Generated Node #0,0: 18:[34, 27, 65] Operation: 72-7=65
Exploring Operation: 72-27=45, Resulting Numbers: [7, 34, 45]
Generated Node #0,1: 18:[7, 34, 45] Operation: 72-27=45
Exploring Operation: 72-34=38, Resulting Numbers: [7, 27, 38]
Generated Node #0,2: 18:[7, 27, 38] Operation: 72-34=38
Exploring Operation: 34-27=7, Resulting Numbers: [7, 72, 7]
Generated Node #0,3: 18:[7, 72, 7] Operation: 34-27=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[7, 27, 38], Operations: ['72-34=38']
Exploring Operation: 7+27=34, Resulting Numbers: [38, 34]
Generated Node #0,2,0: 18:[38, 34] Operation: 7+27=34
Exploring Operation: 38-7=31, Resulting Numbers: [27, 31]
Generated Node #0,2,1: 18:[27, 31] Operation: 38-7=31
Exploring Operation: 38-27=11, Resulting Numbers: [7, 11]
Generated Node #0,2,2: 18:[7, 11] Operation: 38-27=11
Exploring Operation: 27-7=20, Resulting Numbers: [38, 20]
Generated Node #0,2,3: 18:[38, 20] Operation: 27-7=20
Moving to Node #0,2,2
Current State: 18:[7, 11], Operations: ['72-34=38', '38-27=11']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[7, 72, 34, 27], Operations: []
Exploring Operation: 72-34=38, Resulting Numbers: [7, 27, 38]
Generated Node #0,2: 18:[7, 27, 38] Operation: 72-34=38
Moving to Node #0,2
Current State: 18:[7, 27, 38], Operations: ['72-34=38']
Exploring Operation: 38-27=11, Resulting Numbers: [7, 11]
Generated Node #0,2,2: 18:[7, 11] Operation: 38-27=11
Moving to Node #0,2,2
Current State: 18:[7, 11], Operations: ['72-34=38', '38-27=11']
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847
|
hs_4
|
sum_heuristic
|
[
57,
62,
94,
72
] | 97
|
[
"57+62=119",
"94-72=22",
"119-22=97"
] |
Current State: 97:[57, 62, 94, 72], Operations: []
Exploring Operation: 57+62=119, Resulting Numbers: [94, 72, 119]
Generated Node #2: [94, 72, 119] from Operation: 57+62=119
Current State: 97:[94, 72, 119], Operations: ['57+62=119']
Exploring Operation: 94-72=22, Resulting Numbers: [119, 22]
Generated Node #3: [119, 22] from Operation: 94-72=22
Current State: 97:[119, 22], Operations: ['57+62=119', '94-72=22']
Exploring Operation: 119-22=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4
|
Current State: 97:[57, 62, 94, 72], Operations: []
Exploring Operation: 57+62=119, Resulting Numbers: [94, 72, 119]
Generated Node #0,0: 97:[94, 72, 119] Operation: 57+62=119
Exploring Operation: 57+72=129, Resulting Numbers: [62, 94, 129]
Generated Node #0,1: 97:[62, 94, 129] Operation: 57+72=129
Moving to Node #0,0
Current State: 97:[94, 72, 119], Operations: ['57+62=119']
Exploring Operation: 119-72=47, Resulting Numbers: [94, 47]
Generated Node #0,0,0: 97:[94, 47] Operation: 119-72=47
Exploring Operation: 94+72=166, Resulting Numbers: [119, 166]
Generated Node #0,0,1: 97:[119, 166] Operation: 94+72=166
Moving to Node #0,1
Current State: 97:[62, 94, 129], Operations: ['57+72=129']
Exploring Operation: 129-62=67, Resulting Numbers: [94, 67]
Generated Node #0,1,0: 97:[94, 67] Operation: 129-62=67
Exploring Operation: 62+94=156, Resulting Numbers: [129, 156]
Generated Node #0,1,1: 97:[129, 156] Operation: 62+94=156
Moving to Node #0,1,0
Current State: 97:[94, 67], Operations: ['57+72=129', '129-62=67']
Exploring Operation: 94+67=161, Resulting Numbers: [161]
161,97 unequal: No Solution
Exploring Operation: 94-67=27, Resulting Numbers: [27]
27,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[94, 47], Operations: ['57+62=119', '119-72=47']
Exploring Operation: 94+47=141, Resulting Numbers: [141]
141,97 unequal: No Solution
Exploring Operation: 94-47=47, Resulting Numbers: [47]
47,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[119, 166], Operations: ['57+62=119', '94+72=166']
Exploring Operation: 166-119=47, Resulting Numbers: [47]
47,97 unequal: No Solution
Exploring Operation: 119+166=285, Resulting Numbers: [285]
285,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[129, 156], Operations: ['57+72=129', '62+94=156']
Exploring Operation: 156-129=27, Resulting Numbers: [27]
27,97 unequal: No Solution
Exploring Operation: 129+156=285, Resulting Numbers: [285]
285,97 unequal: No Solution
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
12,
84,
45,
90
] | 63
|
[
"84-12=72",
"45+90=135",
"135-72=63"
] |
Current State: 63:[12, 84, 45, 90], Operations: []
Exploring Operation: 84-12=72, Resulting Numbers: [45, 90, 72]
Generated Node #2: [45, 90, 72] from Operation: 84-12=72
Current State: 63:[45, 90, 72], Operations: ['84-12=72']
Exploring Operation: 45+90=135, Resulting Numbers: [72, 135]
Generated Node #3: [72, 135] from Operation: 45+90=135
Current State: 63:[72, 135], Operations: ['84-12=72', '45+90=135']
Exploring Operation: 135-72=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4
|
Current State: 63:[12, 84, 45, 90], Operations: []
Exploring Operation: 90-45=45, Resulting Numbers: [12, 84, 45]
Generated Node #0,0: 63:[12, 84, 45] Operation: 90-45=45
Exploring Operation: 90-84=6, Resulting Numbers: [12, 45, 6]
Generated Node #0,1: 63:[12, 45, 6] Operation: 90-84=6
Exploring Operation: 90/45=2, Resulting Numbers: [12, 84, 2]
Generated Node #0,2: 63:[12, 84, 2] Operation: 90/45=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[12, 45, 6], Operations: ['90-84=6']
Exploring Operation: 45-12=33, Resulting Numbers: [6, 33]
Generated Node #0,1,0: 63:[6, 33] Operation: 45-12=33
Exploring Operation: 12+45=57, Resulting Numbers: [6, 57]
Generated Node #0,1,1: 63:[6, 57] Operation: 12+45=57
Exploring Operation: 45+6=51, Resulting Numbers: [12, 51]
Generated Node #0,1,2: 63:[12, 51] Operation: 45+6=51
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 63:[6, 57], Operations: ['90-84=6', '12+45=57']
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[12, 84, 45, 90], Operations: []
Exploring Operation: 90-84=6, Resulting Numbers: [12, 45, 6]
Generated Node #0,1: 63:[12, 45, 6] Operation: 90-84=6
Moving to Node #0,1
Current State: 63:[12, 45, 6], Operations: ['90-84=6']
Exploring Operation: 12+45=57, Resulting Numbers: [6, 57]
Generated Node #0,1,1: 63:[6, 57] Operation: 12+45=57
Moving to Node #0,1,1
Current State: 63:[6, 57], Operations: ['90-84=6', '12+45=57']
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451
|
hs_3
|
sum_heuristic
|
[
52,
52,
22,
36
] | 56
|
[
"52+36=88",
"88/22=4",
"52+4=56"
] |
Current State: 56:[52, 52, 22, 36], Operations: []
Exploring Operation: 52+36=88, Resulting Numbers: [22, 88]
Generated Node #2: [22, 88] from Operation: 52+36=88
Current State: 56:[22, 88], Operations: ['52+36=88']
Exploring Operation: 88/22=4, Resulting Numbers: [4]
4,56 equal: Goal Reached
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4
|
Current State: 56:[52, 52, 22, 36], Operations: []
Exploring Operation: 52-36=16, Resulting Numbers: [52, 22, 16]
Generated Node #0,0: 56:[52, 22, 16] Operation: 52-36=16
Exploring Operation: 52-36=16, Resulting Numbers: [52, 22, 16]
Generated Node #0,1: 56:[52, 22, 16] Operation: 52-36=16
Exploring Operation: 22+36=58, Resulting Numbers: [52, 52, 58]
Generated Node #0,2: 56:[52, 52, 58] Operation: 22+36=58
Exploring Operation: 36-22=14, Resulting Numbers: [52, 52, 14]
Generated Node #0,3: 56:[52, 52, 14] Operation: 36-22=14
Exploring Operation: 52-22=30, Resulting Numbers: [52, 36, 30]
Generated Node #0,4: 56:[52, 36, 30] Operation: 52-22=30
Moving to Node #0,3
Current State: 56:[52, 52, 14], Operations: ['36-22=14']
Exploring Operation: 52/52=1, Resulting Numbers: [14, 1]
Generated Node #0,3,0: 56:[14, 1] Operation: 52/52=1
Exploring Operation: 52-52=0, Resulting Numbers: [14, 0]
Generated Node #0,3,1: 56:[14, 0] Operation: 52-52=0
Exploring Operation: 52-14=38, Resulting Numbers: [52, 38]
Generated Node #0,3,2: 56:[52, 38] Operation: 52-14=38
Exploring Operation: 52+14=66, Resulting Numbers: [52, 66]
Generated Node #0,3,3: 56:[52, 66] Operation: 52+14=66
Exploring Operation: 52+14=66, Resulting Numbers: [52, 66]
Generated Node #0,3,4: 56:[52, 66] Operation: 52+14=66
Moving to Node #0,2
Current State: 56:[52, 52, 58], Operations: ['22+36=58']
Exploring Operation: 52-52=0, Resulting Numbers: [58, 0]
Generated Node #0,2,0: 56:[58, 0] Operation: 52-52=0
Exploring Operation: 52+52=104, Resulting Numbers: [58, 104]
Generated Node #0,2,1: 56:[58, 104] Operation: 52+52=104
Exploring Operation: 58-52=6, Resulting Numbers: [52, 6]
Generated Node #0,2,2: 56:[52, 6] Operation: 58-52=6
Exploring Operation: 52/52=1, Resulting Numbers: [58, 1]
Generated Node #0,2,3: 56:[58, 1] Operation: 52/52=1
Exploring Operation: 58-52=6, Resulting Numbers: [52, 6]
Generated Node #0,2,4: 56:[52, 6] Operation: 58-52=6
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 56:[58, 1], Operations: ['22+36=58', '52/52=1']
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,56 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,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:[58, 0], Operations: ['22+36=58', '52-52=0']
Exploring Operation: 58-0=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Exploring Operation: 58*0=0, Resulting Numbers: [0]
0,56 unequal: No Solution
Exploring Operation: 58+0=58, Resulting Numbers: [58]
58,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 56:[52, 6], Operations: ['22+36=58', '58-52=6']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 52*6=312, Resulting Numbers: [312]
312,56 unequal: No Solution
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,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,4
Current State: 56:[52, 6], Operations: ['22+36=58', '58-52=6']
Exploring Operation: 52*6=312, Resulting Numbers: [312]
312,56 unequal: No Solution
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,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,1
Current State: 56:[58, 104], Operations: ['22+36=58', '52+52=104']
Exploring Operation: 58+104=162, Resulting Numbers: [162]
162,56 unequal: No Solution
Exploring Operation: 104-58=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 58*104=6032, Resulting Numbers: [6032]
6032,56 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: 56:[52, 22, 16], Operations: ['52-36=16']
Exploring Operation: 52-22=30, Resulting Numbers: [16, 30]
Generated Node #0,0,0: 56:[16, 30] Operation: 52-22=30
Exploring Operation: 22+16=38, Resulting Numbers: [52, 38]
Generated Node #0,0,1: 56:[52, 38] Operation: 22+16=38
Exploring Operation: 22-16=6, Resulting Numbers: [52, 6]
Generated Node #0,0,2: 56:[52, 6] Operation: 22-16=6
Exploring Operation: 52+16=68, Resulting Numbers: [22, 68]
Generated Node #0,0,3: 56:[22, 68] Operation: 52+16=68
Exploring Operation: 52-16=36, Resulting Numbers: [22, 36]
Generated Node #0,0,4: 56:[22, 36] Operation: 52-16=36
Moving to Node #0,1
Current State: 56:[52, 22, 16], Operations: ['52-36=16']
Exploring Operation: 52-22=30, Resulting Numbers: [16, 30]
Generated Node #0,1,0: 56:[16, 30] Operation: 52-22=30
Exploring Operation: 22+16=38, Resulting Numbers: [52, 38]
Generated Node #0,1,1: 56:[52, 38] Operation: 22+16=38
Exploring Operation: 52+16=68, Resulting Numbers: [22, 68]
Generated Node #0,1,2: 56:[22, 68] Operation: 52+16=68
Exploring Operation: 22-16=6, Resulting Numbers: [52, 6]
Generated Node #0,1,3: 56:[52, 6] Operation: 22-16=6
Exploring Operation: 52-16=36, Resulting Numbers: [22, 36]
Generated Node #0,1,4: 56:[22, 36] Operation: 52-16=36
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[16, 30], Operations: ['52-36=16', '52-22=30']
Exploring Operation: 16*30=480, Resulting Numbers: [480]
480,56 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 56:[52, 6], Operations: ['52-36=16', '22-16=6']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 52*6=312, Resulting Numbers: [312]
312,56 unequal: No Solution
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[52, 38], Operations: ['52-36=16', '22+16=38']
Exploring Operation: 52*38=1976, Resulting Numbers: [1976]
1976,56 unequal: No Solution
Exploring Operation: 52-38=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 52+38=90, Resulting Numbers: [90]
90,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 56:[22, 36], Operations: ['52-36=16', '52-16=36']
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 22*36=792, Resulting Numbers: [792]
792,56 unequal: No Solution
Exploring Operation: 22+36=58, Resulting Numbers: [58]
58,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 56:[22, 68], Operations: ['52-36=16', '52+16=68']
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 22*68=1496, Resulting Numbers: [1496]
1496,56 unequal: No Solution
Exploring Operation: 22+68=90, Resulting Numbers: [90]
90,56 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: 56:[52, 36, 30], Operations: ['52-22=30']
Exploring Operation: 52-36=16, Resulting Numbers: [30, 16]
Generated Node #0,4,0: 56:[30, 16] Operation: 52-36=16
Exploring Operation: 52+36=88, Resulting Numbers: [30, 88]
Generated Node #0,4,1: 56:[30, 88] Operation: 52+36=88
Exploring Operation: 36-30=6, Resulting Numbers: [52, 6]
Generated Node #0,4,2: 56:[52, 6] Operation: 36-30=6
Exploring Operation: 36+30=66, Resulting Numbers: [52, 66]
Generated Node #0,4,3: 56:[52, 66] Operation: 36+30=66
Exploring Operation: 52-30=22, Resulting Numbers: [36, 22]
Generated Node #0,4,4: 56:[36, 22] Operation: 52-30=22
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 56:[30, 16], Operations: ['52-22=30', '52-36=16']
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,56 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,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,4,2
Current State: 56:[52, 6], Operations: ['52-22=30', '36-30=6']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 52*6=312, Resulting Numbers: [312]
312,56 unequal: No Solution
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,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,4,3
Current State: 56:[52, 66], Operations: ['52-22=30', '36+30=66']
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 52+66=118, Resulting Numbers: [118]
118,56 unequal: No Solution
Exploring Operation: 52*66=3432, Resulting Numbers: [3432]
3432,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,4,4
Current State: 56:[36, 22], Operations: ['52-22=30', '52-30=22']
Exploring Operation: 36*22=792, Resulting Numbers: [792]
792,56 unequal: No Solution
Exploring Operation: 36+22=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,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,4,1
Current State: 56:[30, 88], Operations: ['52-22=30', '52+36=88']
Exploring Operation: 30*88=2640, Resulting Numbers: [2640]
2640,56 unequal: No Solution
Exploring Operation: 30+88=118, Resulting Numbers: [118]
118,56 unequal: No Solution
Exploring Operation: 88-30=58, Resulting Numbers: [58]
58,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 56:[14, 1], Operations: ['36-22=14', '52/52=1']
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,56 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Moving to Node #0,3,1
Current State: 56:[14, 0], Operations: ['36-22=14', '52-52=0']
Exploring Operation: 14-0=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 14*0=0, Resulting Numbers: [0]
0,56 unequal: No Solution
Exploring Operation: 14+0=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[16, 30], Operations: ['52-36=16', '52-22=30']
Exploring Operation: 16*30=480, Resulting Numbers: [480]
480,56 unequal: No Solution
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[52, 6], Operations: ['52-36=16', '22-16=6']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 52*6=312, Resulting Numbers: [312]
312,56 unequal: No Solution
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Moving to Node #0,0,4
Current State: 56:[22, 36], Operations: ['52-36=16', '52-16=36']
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 22*36=792, Resulting Numbers: [792]
792,56 unequal: No Solution
Exploring Operation: 22+36=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Moving to Node #0,3,2
Current State: 56:[52, 38], Operations: ['36-22=14', '52-14=38']
Exploring Operation: 52+38=90, Resulting Numbers: [90]
90,56 unequal: No Solution
Exploring Operation: 52*38=1976, Resulting Numbers: [1976]
1976,56 unequal: No Solution
Exploring Operation: 52-38=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[52, 38], Operations: ['52-36=16', '22+16=38']
Exploring Operation: 52*38=1976, Resulting Numbers: [1976]
1976,56 unequal: No Solution
Exploring Operation: 52+38=90, Resulting Numbers: [90]
90,56 unequal: No Solution
Exploring Operation: 52-38=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Moving to Node #0,3,4
Current State: 56:[52, 66], Operations: ['36-22=14', '52+14=66']
Exploring Operation: 52+66=118, Resulting Numbers: [118]
118,56 unequal: No Solution
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 52*66=3432, Resulting Numbers: [3432]
3432,56 unequal: No Solution
Moving to Node #0,3,3
Current State: 56:[52, 66], Operations: ['36-22=14', '52+14=66']
Exploring Operation: 52*66=3432, Resulting Numbers: [3432]
3432,56 unequal: No Solution
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 52+66=118, Resulting Numbers: [118]
118,56 unequal: No Solution
Moving to Node #0,0,3
Current State: 56:[22, 68], Operations: ['52-36=16', '52+16=68']
Exploring Operation: 22*68=1496, Resulting Numbers: [1496]
1496,56 unequal: No Solution
Exploring Operation: 22+68=90, Resulting Numbers: [90]
90,56 unequal: No Solution
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,56 unequal: No Solution
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
88,
71,
4,
55
] | 100
|
[
"88+71=159",
"4+55=59",
"159-59=100"
] |
Current State: 100:[88, 71, 4, 55], Operations: []
Exploring Operation: 88+71=159, Resulting Numbers: [4, 55, 159]
Generated Node #2: [4, 55, 159] from Operation: 88+71=159
Current State: 100:[4, 55, 159], Operations: ['88+71=159']
Exploring Operation: 4+55=59, Resulting Numbers: [159, 59]
Generated Node #3: [159, 59] from Operation: 4+55=59
Current State: 100:[159, 59], Operations: ['88+71=159', '4+55=59']
Exploring Operation: 159-59=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4
|
Current State: 100:[88, 71, 4, 55], Operations: []
Exploring Operation: 88-71=17, Resulting Numbers: [4, 55, 17]
Generated Node #0,0: 100:[4, 55, 17] Operation: 88-71=17
Exploring Operation: 71-55=16, Resulting Numbers: [88, 4, 16]
Generated Node #0,1: 100:[88, 4, 16] Operation: 71-55=16
Exploring Operation: 88/4=22, Resulting Numbers: [71, 55, 22]
Generated Node #0,2: 100:[71, 55, 22] Operation: 88/4=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[4, 55, 17], Operations: ['88-71=17']
Exploring Operation: 55-4=51, Resulting Numbers: [17, 51]
Generated Node #0,0,0: 100:[17, 51] Operation: 55-4=51
Exploring Operation: 4+17=21, Resulting Numbers: [55, 21]
Generated Node #0,0,1: 100:[55, 21] Operation: 4+17=21
Exploring Operation: 17-4=13, Resulting Numbers: [55, 13]
Generated Node #0,0,2: 100:[55, 13] Operation: 17-4=13
Moving to Node #0,0,0
Current State: 100:[17, 51], Operations: ['88-71=17', '55-4=51']
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 17+51=68, Resulting Numbers: [68]
68,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[55, 21], Operations: ['88-71=17', '4+17=21']
Exploring Operation: 55+21=76, Resulting Numbers: [76]
76,100 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 55*21=1155, Resulting Numbers: [1155]
1155,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[55, 13], Operations: ['88-71=17', '17-4=13']
Exploring Operation: 55-13=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 55*13=715, Resulting Numbers: [715]
715,100 unequal: No Solution
Exploring Operation: 55+13=68, Resulting Numbers: [68]
68,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[88, 4, 16], Operations: ['71-55=16']
Exploring Operation: 88/4=22, Resulting Numbers: [16, 22]
Generated Node #0,1,0: 100:[16, 22] Operation: 88/4=22
Exploring Operation: 88+4=92, Resulting Numbers: [16, 92]
Generated Node #0,1,1: 100:[16, 92] Operation: 88+4=92
Exploring Operation: 88+16=104, Resulting Numbers: [4, 104]
Generated Node #0,1,2: 100:[4, 104] Operation: 88+16=104
Moving to Node #0,1,2
Current State: 100:[4, 104], Operations: ['71-55=16', '88+16=104']
Exploring Operation: 104/4=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 104-4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[88, 71, 4, 55], Operations: []
Exploring Operation: 71-55=16, Resulting Numbers: [88, 4, 16]
Generated Node #0,1: 100:[88, 4, 16] Operation: 71-55=16
Moving to Node #0,1
Current State: 100:[88, 4, 16], Operations: ['71-55=16']
Exploring Operation: 88+16=104, Resulting Numbers: [4, 104]
Generated Node #0,1,2: 100:[4, 104] Operation: 88+16=104
Moving to Node #0,1,2
Current State: 100:[4, 104], Operations: ['71-55=16', '88+16=104']
Exploring Operation: 104-4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167
|
hs_3
|
mult_heuristic
|
[
5,
50,
20,
99
] | 74
|
[
"50-5=45",
"20+99=119",
"119-45=74"
] |
Current State: 74:[5, 50, 20, 99], Operations: []
Exploring Operation: 50-5=45, Resulting Numbers: [20, 99, 45]
Generated Node #2: [20, 99, 45] from Operation: 50-5=45
Current State: 74:[20, 99, 45], Operations: ['50-5=45']
Exploring Operation: 20+99=119, Resulting Numbers: [45, 119]
Generated Node #3: [45, 119] from Operation: 20+99=119
Current State: 74:[45, 119], Operations: ['50-5=45', '20+99=119']
Exploring Operation: 119-45=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4
|
Current State: 74:[5, 50, 20, 99], Operations: []
Exploring Operation: 99-20=79, Resulting Numbers: [5, 50, 79]
Generated Node #0,0: 74:[5, 50, 79] Operation: 99-20=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[5, 50, 79], Operations: ['99-20=79']
Exploring Operation: 79-50=29, Resulting Numbers: [5, 29]
Generated Node #0,0,0: 74:[5, 29] Operation: 79-50=29
Moving to Node #0,0,0
Current State: 74:[5, 29], Operations: ['99-20=79', '79-50=29']
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,74 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,
47,
83,
32
] | 24
|
[
"74-47=27",
"83-32=51",
"51-27=24"
] |
Current State: 24:[74, 47, 83, 32], Operations: []
Exploring Operation: 74-47=27, Resulting Numbers: [83, 32, 27]
Generated Node #2: [83, 32, 27] from Operation: 74-47=27
Current State: 24:[83, 32, 27], Operations: ['74-47=27']
Exploring Operation: 83-32=51, Resulting Numbers: [27, 51]
Generated Node #3: [27, 51] from Operation: 83-32=51
Current State: 24:[27, 51], Operations: ['74-47=27', '83-32=51']
Exploring Operation: 51-27=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4
|
Current State: 24:[74, 47, 83, 32], Operations: []
Exploring Operation: 74-32=42, Resulting Numbers: [47, 83, 42]
Generated Node #0,0: 24:[47, 83, 42] Operation: 74-32=42
Exploring Operation: 83-47=36, Resulting Numbers: [74, 32, 36]
Generated Node #0,1: 24:[74, 32, 36] Operation: 83-47=36
Exploring Operation: 83-74=9, Resulting Numbers: [47, 32, 9]
Generated Node #0,2: 24:[47, 32, 9] Operation: 83-74=9
Exploring Operation: 74-47=27, Resulting Numbers: [83, 32, 27]
Generated Node #0,3: 24:[83, 32, 27] Operation: 74-47=27
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[47, 32, 9], Operations: ['83-74=9']
Exploring Operation: 32-9=23, Resulting Numbers: [47, 23]
Generated Node #0,2,0: 24:[47, 23] Operation: 32-9=23
Exploring Operation: 47-9=38, Resulting Numbers: [32, 38]
Generated Node #0,2,1: 24:[32, 38] Operation: 47-9=38
Exploring Operation: 47+9=56, Resulting Numbers: [32, 56]
Generated Node #0,2,2: 24:[32, 56] Operation: 47+9=56
Exploring Operation: 47-32=15, Resulting Numbers: [9, 15]
Generated Node #0,2,3: 24:[9, 15] Operation: 47-32=15
Moving to Node #0,2,3
Current State: 24:[9, 15], Operations: ['83-74=9', '47-32=15']
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,24 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[74, 47, 83, 32], Operations: []
Exploring Operation: 83-74=9, Resulting Numbers: [47, 32, 9]
Generated Node #0,2: 24:[47, 32, 9] Operation: 83-74=9
Moving to Node #0,2
Current State: 24:[47, 32, 9], Operations: ['83-74=9']
Exploring Operation: 47-32=15, Resulting Numbers: [9, 15]
Generated Node #0,2,3: 24:[9, 15] Operation: 47-32=15
Moving to Node #0,2,3
Current State: 24:[9, 15], Operations: ['83-74=9', '47-32=15']
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_4
|
sum_heuristic
|
[
33,
3,
46,
10
] | 92
|
[
"33+3=36",
"46+10=56",
"36+56=92"
] |
Current State: 92:[33, 3, 46, 10], Operations: []
Exploring Operation: 33+3=36, Resulting Numbers: [46, 10, 36]
Generated Node #2: [46, 10, 36] from Operation: 33+3=36
Current State: 92:[46, 10, 36], Operations: ['33+3=36']
Exploring Operation: 46+10=56, Resulting Numbers: [36, 56]
Generated Node #3: [36, 56] from Operation: 46+10=56
Current State: 92:[36, 56], Operations: ['33+3=36', '46+10=56']
Exploring Operation: 36+56=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4
|
Current State: 92:[33, 3, 46, 10], Operations: []
Exploring Operation: 33-3=30, Resulting Numbers: [46, 10, 30]
Generated Node #0,0: 92:[46, 10, 30] Operation: 33-3=30
Exploring Operation: 33+10=43, Resulting Numbers: [3, 46, 43]
Generated Node #0,1: 92:[3, 46, 43] Operation: 33+10=43
Exploring Operation: 33*3=99, Resulting Numbers: [46, 10, 99]
Generated Node #0,2: 92:[46, 10, 99] Operation: 33*3=99
Exploring Operation: 33-10=23, Resulting Numbers: [3, 46, 23]
Generated Node #0,3: 92:[3, 46, 23] Operation: 33-10=23
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[3, 46, 23], Operations: ['33-10=23']
Exploring Operation: 46/23=2, Resulting Numbers: [3, 2]
Generated Node #0,3,0: 92:[3, 2] Operation: 46/23=2
Exploring Operation: 46-3=43, Resulting Numbers: [23, 43]
Generated Node #0,3,1: 92:[23, 43] Operation: 46-3=43
Exploring Operation: 3+46=49, Resulting Numbers: [23, 49]
Generated Node #0,3,2: 92:[23, 49] Operation: 3+46=49
Exploring Operation: 46-23=23, Resulting Numbers: [3, 23]
Generated Node #0,3,3: 92:[3, 23] Operation: 46-23=23
Moving to Node #0,3,0
Current State: 92:[3, 2], Operations: ['33-10=23', '46/23=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Moving to Node #0,3,3
Current State: 92:[3, 23], Operations: ['33-10=23', '46-23=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Moving to Node #0,3,2
Current State: 92:[23, 49], Operations: ['33-10=23', '3+46=49']
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Exploring Operation: 23*49=1127, Resulting Numbers: [1127]
1127,92 unequal: No Solution
Exploring Operation: 23+49=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Moving to Node #0,3,1
Current State: 92:[23, 43], Operations: ['33-10=23', '46-3=43']
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Exploring Operation: 23*43=989, Resulting Numbers: [989]
989,92 unequal: No Solution
Exploring Operation: 23+43=66, Resulting Numbers: [66]
66,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[3, 46, 43], Operations: ['33+10=43']
Exploring Operation: 46-43=3, Resulting Numbers: [3, 3]
Generated Node #0,1,0: 92:[3, 3] Operation: 46-43=3
Exploring Operation: 3+46=49, Resulting Numbers: [43, 49]
Generated Node #0,1,1: 92:[43, 49] Operation: 3+46=49
Exploring Operation: 46+43=89, Resulting Numbers: [3, 89]
Generated Node #0,1,2: 92:[3, 89] Operation: 46+43=89
Exploring Operation: 3+43=46, Resulting Numbers: [46, 46]
Generated Node #0,1,3: 92:[46, 46] Operation: 3+43=46
Moving to Node #0,1,3
Current State: 92:[46, 46], Operations: ['33+10=43', '3+43=46']
Exploring Operation: 46-46=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 46/46=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 46*46=2116, Resulting Numbers: [2116]
2116,92 unequal: No Solution
Exploring Operation: 46+46=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[33, 3, 46, 10], Operations: []
Exploring Operation: 33+10=43, Resulting Numbers: [3, 46, 43]
Generated Node #0,1: 92:[3, 46, 43] Operation: 33+10=43
Moving to Node #0,1
Current State: 92:[3, 46, 43], Operations: ['33+10=43']
Exploring Operation: 3+43=46, Resulting Numbers: [46, 46]
Generated Node #0,1,3: 92:[46, 46] Operation: 3+43=46
Moving to Node #0,1,3
Current State: 92:[46, 46], Operations: ['33+10=43', '3+43=46']
Exploring Operation: 46+46=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222
|
hs_4
|
mult_heuristic
|
[
40,
6,
29,
50
] | 84
|
[
"40+50=90",
"6*29=174",
"174-90=84"
] |
Current State: 84:[40, 6, 29, 50], Operations: []
Exploring Operation: 40+50=90, Resulting Numbers: [6, 29, 90]
Generated Node #2: [6, 29, 90] from Operation: 40+50=90
Current State: 84:[6, 29, 90], Operations: ['40+50=90']
Exploring Operation: 6*29=174, Resulting Numbers: [90, 174]
Generated Node #3: [90, 174] from Operation: 6*29=174
Current State: 84:[90, 174], Operations: ['40+50=90', '6*29=174']
Exploring Operation: 174-90=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4
|
Current State: 84:[40, 6, 29, 50], Operations: []
Exploring Operation: 50-29=21, Resulting Numbers: [40, 6, 21]
Generated Node #0,0: 84:[40, 6, 21] Operation: 50-29=21
Moving to Node #0,0
Current State: 84:[40, 6, 21], Operations: ['50-29=21']
Exploring Operation: 40-21=19, Resulting Numbers: [6, 19]
Generated Node #0,0,0: 84:[6, 19] Operation: 40-21=19
Moving to Node #0,0,0
Current State: 84:[6, 19], Operations: ['50-29=21', '40-21=19']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,84 unequal: No Solution
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
43,
30,
5,
51
] | 17
|
[
"43+30=73",
"5+51=56",
"73-56=17"
] |
Current State: 17:[43, 30, 5, 51], Operations: []
Exploring Operation: 43+30=73, Resulting Numbers: [5, 51, 73]
Generated Node #2: [5, 51, 73] from Operation: 43+30=73
Current State: 17:[5, 51, 73], Operations: ['43+30=73']
Exploring Operation: 5+51=56, Resulting Numbers: [73, 56]
Generated Node #3: [73, 56] from Operation: 5+51=56
Current State: 17:[73, 56], Operations: ['43+30=73', '5+51=56']
Exploring Operation: 73-56=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4
|
Current State: 17:[43, 30, 5, 51], Operations: []
Exploring Operation: 51-43=8, Resulting Numbers: [30, 5, 8]
Generated Node #0,0: 17:[30, 5, 8] Operation: 51-43=8
Moving to Node #0,0
Current State: 17:[30, 5, 8], Operations: ['51-43=8']
Exploring Operation: 30-5=25, Resulting Numbers: [8, 25]
Generated Node #0,0,0: 17:[8, 25] Operation: 30-5=25
Moving to Node #0,0,0
Current State: 17:[8, 25], Operations: ['51-43=8', '30-5=25']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[43, 30, 5, 51], Operations: []
Exploring Operation: 51-43=8, Resulting Numbers: [30, 5, 8]
Generated Node #0,0: 17:[30, 5, 8] Operation: 51-43=8
Moving to Node #0,0
Current State: 17:[30, 5, 8], Operations: ['51-43=8']
Exploring Operation: 30-5=25, Resulting Numbers: [8, 25]
Generated Node #0,0,0: 17:[8, 25] Operation: 30-5=25
Moving to Node #0,0,0
Current State: 17:[8, 25], Operations: ['51-43=8', '30-5=25']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 0.993924
|
hs_1
|
sum_heuristic
|
[
59,
74,
51,
91
] | 93
|
[
"59+74=133",
"91-51=40",
"133-40=93"
] |
Current State: 93:[59, 74, 51, 91], Operations: []
Exploring Operation: 59+74=133, Resulting Numbers: [51, 91, 133]
Generated Node #2: [51, 91, 133] from Operation: 59+74=133
Current State: 93:[51, 91, 133], Operations: ['59+74=133']
Exploring Operation: 91-51=40, Resulting Numbers: [133, 40]
Generated Node #3: [133, 40] from Operation: 91-51=40
Current State: 93:[133, 40], Operations: ['59+74=133', '91-51=40']
Exploring Operation: 133-40=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4
|
Current State: 93:[59, 74, 51, 91], Operations: []
Exploring Operation: 59-51=8, Resulting Numbers: [74, 91, 8]
Generated Node #0,0: 93:[74, 91, 8] Operation: 59-51=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[74, 91, 8], Operations: ['59-51=8']
Exploring Operation: 74+8=82, Resulting Numbers: [91, 82]
Generated Node #0,0,0: 93:[91, 82] Operation: 74+8=82
Moving to Node #0,0,0
Current State: 93:[91, 82], Operations: ['59-51=8', '74+8=82']
Exploring Operation: 91-82=9, Resulting Numbers: [9]
9,93 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
|
[
94,
93,
24,
32
] | 36
|
[
"94-32=62",
"93*24=2232",
"2232/62=36"
] |
Current State: 36:[94, 93, 24, 32], Operations: []
Exploring Operation: 94-32=62, Resulting Numbers: [93, 24, 62]
Generated Node #2: [93, 24, 62] from Operation: 94-32=62
Current State: 36:[93, 24, 62], Operations: ['94-32=62']
Exploring Operation: 93*24=2232, Resulting Numbers: [62, 2232]
Generated Node #3: [62, 2232] from Operation: 93*24=2232
Current State: 36:[62, 2232], Operations: ['94-32=62', '93*24=2232']
Exploring Operation: 2232/62=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4
|
Current State: 36:[94, 93, 24, 32], Operations: []
Exploring Operation: 94-32=62, Resulting Numbers: [93, 24, 62]
Generated Node #0,0: 36:[93, 24, 62] Operation: 94-32=62
Exploring Operation: 94-93=1, Resulting Numbers: [24, 32, 1]
Generated Node #0,1: 36:[24, 32, 1] Operation: 94-93=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[24, 32, 1], Operations: ['94-93=1']
Exploring Operation: 24-1=23, Resulting Numbers: [32, 23]
Generated Node #0,1,0: 36:[32, 23] Operation: 24-1=23
Exploring Operation: 32-24=8, Resulting Numbers: [1, 8]
Generated Node #0,1,1: 36:[1, 8] Operation: 32-24=8
Moving to Node #0,1,1
Current State: 36:[1, 8], Operations: ['94-93=1', '32-24=8']
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[32, 23], Operations: ['94-93=1', '24-1=23']
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[93, 24, 62], Operations: ['94-32=62']
Exploring Operation: 93-62=31, Resulting Numbers: [24, 31]
Generated Node #0,0,0: 36:[24, 31] Operation: 93-62=31
Exploring Operation: 93-24=69, Resulting Numbers: [62, 69]
Generated Node #0,0,1: 36:[62, 69] Operation: 93-24=69
Moving to Node #0,0,0
Current State: 36:[24, 31], Operations: ['94-32=62', '93-62=31']
Exploring Operation: 24+31=55, Resulting Numbers: [55]
55,36 unequal: No Solution
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[62, 69], Operations: ['94-32=62', '93-24=69']
Exploring Operation: 69-62=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 62+69=131, Resulting Numbers: [131]
131,36 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
|
[
2,
25,
12,
77
] | 39
|
[
"2*25=50",
"12+77=89",
"89-50=39"
] |
Current State: 39:[2, 25, 12, 77], Operations: []
Exploring Operation: 2*25=50, Resulting Numbers: [12, 77, 50]
Generated Node #2: [12, 77, 50] from Operation: 2*25=50
Current State: 39:[12, 77, 50], Operations: ['2*25=50']
Exploring Operation: 12+77=89, Resulting Numbers: [50, 89]
Generated Node #3: [50, 89] from Operation: 12+77=89
Current State: 39:[50, 89], Operations: ['2*25=50', '12+77=89']
Exploring Operation: 89-50=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4
|
Current State: 39:[2, 25, 12, 77], Operations: []
Exploring Operation: 77-25=52, Resulting Numbers: [2, 12, 52]
Generated Node #0,0: 39:[2, 12, 52] Operation: 77-25=52
Exploring Operation: 25-12=13, Resulting Numbers: [2, 77, 13]
Generated Node #0,1: 39:[2, 77, 13] Operation: 25-12=13
Moving to Node #0,0
Current State: 39:[2, 12, 52], Operations: ['77-25=52']
Exploring Operation: 52-12=40, Resulting Numbers: [2, 40]
Generated Node #0,0,0: 39:[2, 40] Operation: 52-12=40
Exploring Operation: 52-2=50, Resulting Numbers: [12, 50]
Generated Node #0,0,1: 39:[12, 50] Operation: 52-2=50
Moving to Node #0,1
Current State: 39:[2, 77, 13], Operations: ['25-12=13']
Exploring Operation: 77-2=75, Resulting Numbers: [13, 75]
Generated Node #0,1,0: 39:[13, 75] Operation: 77-2=75
Exploring Operation: 77-13=64, Resulting Numbers: [2, 64]
Generated Node #0,1,1: 39:[2, 64] Operation: 77-13=64
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[2, 64], Operations: ['25-12=13', '77-13=64']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,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,1,0
Current State: 39:[13, 75], Operations: ['25-12=13', '77-2=75']
Exploring Operation: 75-13=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Exploring Operation: 13+75=88, Resulting Numbers: [88]
88,39 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: 39:[2, 40], Operations: ['77-25=52', '52-12=40']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[12, 50], Operations: ['77-25=52', '52-2=50']
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,39 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
71,
85,
23,
5
] | 77
|
[
"71+23=94",
"85/5=17",
"94-17=77"
] |
Current State: 77:[71, 85, 23, 5], Operations: []
Exploring Operation: 71+23=94, Resulting Numbers: [85, 5, 94]
Generated Node #2: [85, 5, 94] from Operation: 71+23=94
Current State: 77:[85, 5, 94], Operations: ['71+23=94']
Exploring Operation: 85/5=17, Resulting Numbers: [94, 17]
Generated Node #3: [94, 17] from Operation: 85/5=17
Current State: 77:[94, 17], Operations: ['71+23=94', '85/5=17']
Exploring Operation: 94-17=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4
|
Current State: 77:[71, 85, 23, 5], Operations: []
Exploring Operation: 85-71=14, Resulting Numbers: [23, 5, 14]
Generated Node #0,0: 77:[23, 5, 14] Operation: 85-71=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[23, 5, 14], Operations: ['85-71=14']
Exploring Operation: 23-14=9, Resulting Numbers: [5, 9]
Generated Node #0,0,0: 77:[5, 9] Operation: 23-14=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[5, 9], Operations: ['85-71=14', '23-14=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
38,
9,
70,
99
] | 18
|
[
"38+9=47",
"99-70=29",
"47-29=18"
] |
Current State: 18:[38, 9, 70, 99], Operations: []
Exploring Operation: 38+9=47, Resulting Numbers: [70, 99, 47]
Generated Node #2: [70, 99, 47] from Operation: 38+9=47
Current State: 18:[70, 99, 47], Operations: ['38+9=47']
Exploring Operation: 99-70=29, Resulting Numbers: [47, 29]
Generated Node #3: [47, 29] from Operation: 99-70=29
Current State: 18:[47, 29], Operations: ['38+9=47', '99-70=29']
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4
|
Current State: 18:[38, 9, 70, 99], Operations: []
Exploring Operation: 99-38=61, Resulting Numbers: [9, 70, 61]
Generated Node #0,0: 18:[9, 70, 61] Operation: 99-38=61
Exploring Operation: 70-38=32, Resulting Numbers: [9, 99, 32]
Generated Node #0,1: 18:[9, 99, 32] Operation: 70-38=32
Exploring Operation: 38-9=29, Resulting Numbers: [70, 99, 29]
Generated Node #0,2: 18:[70, 99, 29] Operation: 38-9=29
Exploring Operation: 99/9=11, Resulting Numbers: [38, 70, 11]
Generated Node #0,3: 18:[38, 70, 11] Operation: 99/9=11
Exploring Operation: 99-70=29, Resulting Numbers: [38, 9, 29]
Generated Node #0,4: 18:[38, 9, 29] Operation: 99-70=29
Start Sub Search at level 1: Moving to Node #0,4
Current State: 18:[38, 9, 29], Operations: ['99-70=29']
Exploring Operation: 38-29=9, Resulting Numbers: [9, 9]
Generated Node #0,4,0: 18:[9, 9] Operation: 38-29=9
Exploring Operation: 29-9=20, Resulting Numbers: [38, 20]
Generated Node #0,4,1: 18:[38, 20] Operation: 29-9=20
Exploring Operation: 38-9=29, Resulting Numbers: [29, 29]
Generated Node #0,4,2: 18:[29, 29] Operation: 38-9=29
Exploring Operation: 38+9=47, Resulting Numbers: [29, 47]
Generated Node #0,4,3: 18:[29, 47] Operation: 38+9=47
Exploring Operation: 9+29=38, Resulting Numbers: [38, 38]
Generated Node #0,4,4: 18:[38, 38] Operation: 9+29=38
Moving to Node #0,4,0
Current State: 18:[9, 9], Operations: ['99-70=29', '38-29=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[38, 9, 70, 99], Operations: []
Exploring Operation: 99-70=29, Resulting Numbers: [38, 9, 29]
Generated Node #0,4: 18:[38, 9, 29] Operation: 99-70=29
Moving to Node #0,4
Current State: 18:[38, 9, 29], Operations: ['99-70=29']
Exploring Operation: 38-29=9, Resulting Numbers: [9, 9]
Generated Node #0,4,0: 18:[9, 9] Operation: 38-29=9
Moving to Node #0,4,0
Current State: 18:[9, 9], Operations: ['99-70=29', '38-29=9']
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111
|
hs_5
|
mult_heuristic
|
[
35,
21,
28,
30
] | 10
|
[
"35+28=63",
"21*30=630",
"630/63=10"
] |
Current State: 10:[35, 21, 28, 30], Operations: []
Exploring Operation: 35+28=63, Resulting Numbers: [21, 30, 63]
Generated Node #2: [21, 30, 63] from Operation: 35+28=63
Current State: 10:[21, 30, 63], Operations: ['35+28=63']
Exploring Operation: 21*30=630, Resulting Numbers: [63, 630]
Generated Node #3: [63, 630] from Operation: 21*30=630
Current State: 10:[63, 630], Operations: ['35+28=63', '21*30=630']
Exploring Operation: 630/63=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4
|
Current State: 10:[35, 21, 28, 30], Operations: []
Exploring Operation: 30-28=2, Resulting Numbers: [35, 21, 2]
Generated Node #0,0: 10:[35, 21, 2] Operation: 30-28=2
Exploring Operation: 35-28=7, Resulting Numbers: [21, 30, 7]
Generated Node #0,1: 10:[21, 30, 7] Operation: 35-28=7
Exploring Operation: 35-30=5, Resulting Numbers: [21, 28, 5]
Generated Node #0,2: 10:[21, 28, 5] Operation: 35-30=5
Moving to Node #0,2
Current State: 10:[21, 28, 5], Operations: ['35-30=5']
Exploring Operation: 21-5=16, Resulting Numbers: [28, 16]
Generated Node #0,2,0: 10:[28, 16] Operation: 21-5=16
Exploring Operation: 28-21=7, Resulting Numbers: [5, 7]
Generated Node #0,2,1: 10:[5, 7] Operation: 28-21=7
Exploring Operation: 28-5=23, Resulting Numbers: [21, 23]
Generated Node #0,2,2: 10:[21, 23] Operation: 28-5=23
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[5, 7], Operations: ['35-30=5', '28-21=7']
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,10 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[28, 16], Operations: ['35-30=5', '21-5=16']
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,10 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,10 unequal: No Solution
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[21, 23], Operations: ['35-30=5', '28-5=23']
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,10 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,10 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: 10:[21, 30, 7], Operations: ['35-28=7']
Exploring Operation: 21-7=14, Resulting Numbers: [30, 14]
Generated Node #0,1,0: 10:[30, 14] Operation: 21-7=14
Exploring Operation: 30-21=9, Resulting Numbers: [7, 9]
Generated Node #0,1,1: 10:[7, 9] Operation: 30-21=9
Exploring Operation: 21/7=3, Resulting Numbers: [30, 3]
Generated Node #0,1,2: 10:[30, 3] Operation: 21/7=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[7, 9], Operations: ['35-28=7', '30-21=9']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,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:[30, 3], Operations: ['35-28=7', '21/7=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,10 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,10 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[35, 21, 28, 30], Operations: []
Exploring Operation: 35-28=7, Resulting Numbers: [21, 30, 7]
Generated Node #0,1: 10:[21, 30, 7] Operation: 35-28=7
Moving to Node #0,1
Current State: 10:[21, 30, 7], Operations: ['35-28=7']
Exploring Operation: 21/7=3, Resulting Numbers: [30, 3]
Generated Node #0,1,2: 10:[30, 3] Operation: 21/7=3
Moving to Node #0,1,2
Current State: 10:[30, 3], Operations: ['35-28=7', '21/7=3']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694
|
hs_3
|
sum_heuristic
|
[
26,
34,
15,
27
] | 34
|
[
"34-26=8",
"15+27=42",
"42-8=34"
] |
Current State: 34:[26, 34, 15, 27], Operations: []
Exploring Operation: 34-26=8, Resulting Numbers: [15, 27, 8]
Generated Node #2: [15, 27, 8] from Operation: 34-26=8
Current State: 34:[15, 27, 8], Operations: ['34-26=8']
Exploring Operation: 15+27=42, Resulting Numbers: [8, 42]
Generated Node #3: [8, 42] from Operation: 15+27=42
Current State: 34:[8, 42], Operations: ['34-26=8', '15+27=42']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4
|
Current State: 34:[26, 34, 15, 27], Operations: []
Exploring Operation: 27-15=12, Resulting Numbers: [26, 34, 12]
Generated Node #0,0: 34:[26, 34, 12] Operation: 27-15=12
Exploring Operation: 27-26=1, Resulting Numbers: [34, 15, 1]
Generated Node #0,1: 34:[34, 15, 1] Operation: 27-26=1
Exploring Operation: 26-15=11, Resulting Numbers: [34, 27, 11]
Generated Node #0,2: 34:[34, 27, 11] Operation: 26-15=11
Exploring Operation: 26+15=41, Resulting Numbers: [34, 27, 41]
Generated Node #0,3: 34:[34, 27, 41] Operation: 26+15=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[34, 15, 1], Operations: ['27-26=1']
Exploring Operation: 34*1=34, Resulting Numbers: [15, 34]
Generated Node #0,1,0: 34:[15, 34] Operation: 34*1=34
Exploring Operation: 15+1=16, Resulting Numbers: [34, 16]
Generated Node #0,1,1: 34:[34, 16] Operation: 15+1=16
Exploring Operation: 34/1=34, Resulting Numbers: [15, 34]
Generated Node #0,1,2: 34:[15, 34] Operation: 34/1=34
Exploring Operation: 15*1=15, Resulting Numbers: [34, 15]
Generated Node #0,1,3: 34:[34, 15] Operation: 15*1=15
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[34, 16], Operations: ['27-26=1', '15+1=16']
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 34*16=544, Resulting Numbers: [544]
544,34 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[15, 34], Operations: ['27-26=1', '34*1=34']
Exploring Operation: 15*34=510, Resulting Numbers: [510]
510,34 unequal: No Solution
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 34:[15, 34], Operations: ['27-26=1', '34/1=34']
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 15*34=510, Resulting Numbers: [510]
510,34 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 34:[34, 15], Operations: ['27-26=1', '15*1=15']
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 34*15=510, Resulting Numbers: [510]
510,34 unequal: No Solution
Exploring Operation: 34+15=49, Resulting Numbers: [49]
49,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[26, 34, 12], Operations: ['27-15=12']
Exploring Operation: 26+12=38, Resulting Numbers: [34, 38]
Generated Node #0,0,0: 34:[34, 38] Operation: 26+12=38
Exploring Operation: 26-12=14, Resulting Numbers: [34, 14]
Generated Node #0,0,1: 34:[34, 14] Operation: 26-12=14
Exploring Operation: 34-12=22, Resulting Numbers: [26, 22]
Generated Node #0,0,2: 34:[26, 22] Operation: 34-12=22
Exploring Operation: 34-26=8, Resulting Numbers: [12, 8]
Generated Node #0,0,3: 34:[12, 8] Operation: 34-26=8
Moving to Node #0,0,1
Current State: 34:[34, 14], Operations: ['27-15=12', '26-12=14']
Exploring Operation: 34+14=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Exploring Operation: 34*14=476, Resulting Numbers: [476]
476,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[34, 38], Operations: ['27-15=12', '26+12=38']
Exploring Operation: 34*38=1292, Resulting Numbers: [1292]
1292,34 unequal: No Solution
Exploring Operation: 34+38=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[12, 8], Operations: ['27-15=12', '34-26=8']
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,34 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[26, 22], Operations: ['27-15=12', '34-12=22']
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,34 unequal: No Solution
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[34, 27, 11], Operations: ['26-15=11']
Exploring Operation: 27+11=38, Resulting Numbers: [34, 38]
Generated Node #0,2,0: 34:[34, 38] Operation: 27+11=38
Exploring Operation: 27-11=16, Resulting Numbers: [34, 16]
Generated Node #0,2,1: 34:[34, 16] Operation: 27-11=16
Exploring Operation: 34-27=7, Resulting Numbers: [11, 7]
Generated Node #0,2,2: 34:[11, 7] Operation: 34-27=7
Exploring Operation: 34-11=23, Resulting Numbers: [27, 23]
Generated Node #0,2,3: 34:[27, 23] Operation: 34-11=23
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 34:[34, 16], Operations: ['26-15=11', '27-11=16']
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 34*16=544, Resulting Numbers: [544]
544,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 34:[34, 38], Operations: ['26-15=11', '27+11=38']
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 34*38=1292, Resulting Numbers: [1292]
1292,34 unequal: No Solution
Exploring Operation: 34+38=72, Resulting Numbers: [72]
72,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 34:[11, 7], Operations: ['26-15=11', '34-27=7']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 34:[27, 23], Operations: ['26-15=11', '34-11=23']
Exploring Operation: 27*23=621, Resulting Numbers: [621]
621,34 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[34, 27, 41], Operations: ['26+15=41']
Exploring Operation: 41-34=7, Resulting Numbers: [27, 7]
Generated Node #0,3,0: 34:[27, 7] Operation: 41-34=7
Exploring Operation: 34-27=7, Resulting Numbers: [41, 7]
Generated Node #0,3,1: 34:[41, 7] Operation: 34-27=7
Exploring Operation: 41-27=14, Resulting Numbers: [34, 14]
Generated Node #0,3,2: 34:[34, 14] Operation: 41-27=14
Exploring Operation: 34+27=61, Resulting Numbers: [41, 61]
Generated Node #0,3,3: 34:[41, 61] Operation: 34+27=61
Moving to Node #0,3,2
Current State: 34:[34, 14], Operations: ['26+15=41', '41-27=14']
Exploring Operation: 34+14=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 34*14=476, Resulting Numbers: [476]
476,34 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Moving to Node #0,3,1
Current State: 34:[41, 7], Operations: ['26+15=41', '34-27=7']
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[26, 34, 15, 27], Operations: []
Exploring Operation: 26+15=41, Resulting Numbers: [34, 27, 41]
Generated Node #0,3: 34:[34, 27, 41] Operation: 26+15=41
Moving to Node #0,3
Current State: 34:[34, 27, 41], Operations: ['26+15=41']
Exploring Operation: 34-27=7, Resulting Numbers: [41, 7]
Generated Node #0,3,1: 34:[41, 7] Operation: 34-27=7
Moving to Node #0,3,1
Current State: 34:[41, 7], Operations: ['26+15=41', '34-27=7']
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.944444
|
hs_4
|
sum_heuristic
|
[
41,
43,
6,
20
] | 13
|
[
"43-41=2",
"6+20=26",
"26/2=13"
] |
Current State: 13:[41, 43, 6, 20], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [6, 20, 2]
Generated Node #2: [6, 20, 2] from Operation: 43-41=2
Current State: 13:[6, 20, 2], Operations: ['43-41=2']
Exploring Operation: 6+20=26, Resulting Numbers: [2, 26]
Generated Node #3: [2, 26] from Operation: 6+20=26
Current State: 13:[2, 26], Operations: ['43-41=2', '6+20=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4
|
Current State: 13:[41, 43, 6, 20], Operations: []
Exploring Operation: 41-6=35, Resulting Numbers: [43, 20, 35]
Generated Node #0,0: 13:[43, 20, 35] Operation: 41-6=35
Exploring Operation: 43-41=2, Resulting Numbers: [6, 20, 2]
Generated Node #0,1: 13:[6, 20, 2] Operation: 43-41=2
Exploring Operation: 41-20=21, Resulting Numbers: [43, 6, 21]
Generated Node #0,2: 13:[43, 6, 21] Operation: 41-20=21
Exploring Operation: 43-6=37, Resulting Numbers: [41, 20, 37]
Generated Node #0,3: 13:[41, 20, 37] Operation: 43-6=37
Exploring Operation: 43-20=23, Resulting Numbers: [41, 6, 23]
Generated Node #0,4: 13:[41, 6, 23] Operation: 43-20=23
Moving to Node #0,1
Current State: 13:[6, 20, 2], Operations: ['43-41=2']
Exploring Operation: 6*2=12, Resulting Numbers: [20, 12]
Generated Node #0,1,0: 13:[20, 12] Operation: 6*2=12
Exploring Operation: 6+2=8, Resulting Numbers: [20, 8]
Generated Node #0,1,1: 13:[20, 8] Operation: 6+2=8
Exploring Operation: 20-6=14, Resulting Numbers: [2, 14]
Generated Node #0,1,2: 13:[2, 14] Operation: 20-6=14
Exploring Operation: 20-2=18, Resulting Numbers: [6, 18]
Generated Node #0,1,3: 13:[6, 18] Operation: 20-2=18
Exploring Operation: 20/2=10, Resulting Numbers: [6, 10]
Generated Node #0,1,4: 13:[6, 10] Operation: 20/2=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[20, 12], Operations: ['43-41=2', '6*2=12']
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,13 unequal: No Solution
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,13 unequal: No Solution
No 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: 13:[6, 10], Operations: ['43-41=2', '20/2=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,13 unequal: No Solution
No 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: 13:[20, 8], Operations: ['43-41=2', '6+2=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,13 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,13 unequal: No Solution
No 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: 13:[2, 14], Operations: ['43-41=2', '20-6=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,13 unequal: No Solution
No 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: 13:[6, 18], Operations: ['43-41=2', '20-2=18']
Exploring Operation: 6*18=108, Resulting Numbers: [108]
108,13 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,13 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: 13:[41, 6, 23], Operations: ['43-20=23']
Exploring Operation: 23-6=17, Resulting Numbers: [41, 17]
Generated Node #0,4,0: 13:[41, 17] Operation: 23-6=17
Exploring Operation: 41-23=18, Resulting Numbers: [6, 18]
Generated Node #0,4,1: 13:[6, 18] Operation: 41-23=18
Exploring Operation: 41+6=47, Resulting Numbers: [23, 47]
Generated Node #0,4,2: 13:[23, 47] Operation: 41+6=47
Exploring Operation: 6+23=29, Resulting Numbers: [41, 29]
Generated Node #0,4,3: 13:[41, 29] Operation: 6+23=29
Exploring Operation: 41-6=35, Resulting Numbers: [23, 35]
Generated Node #0,4,4: 13:[23, 35] Operation: 41-6=35
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 13:[6, 18], Operations: ['43-20=23', '41-23=18']
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 6*18=108, Resulting Numbers: [108]
108,13 unequal: No Solution
No 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: 13:[41, 17], Operations: ['43-20=23', '23-6=17']
Exploring Operation: 41+17=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 41*17=697, Resulting Numbers: [697]
697,13 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,13 unequal: No Solution
No 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: 13:[23, 35], Operations: ['43-20=23', '41-6=35']
Exploring Operation: 23*35=805, Resulting Numbers: [805]
805,13 unequal: No Solution
Exploring Operation: 23+35=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,13 unequal: No Solution
No 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: 13:[23, 47], Operations: ['43-20=23', '41+6=47']
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 23+47=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Exploring Operation: 23*47=1081, Resulting Numbers: [1081]
1081,13 unequal: No Solution
No 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: 13:[41, 29], Operations: ['43-20=23', '6+23=29']
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 41+29=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Exploring Operation: 41*29=1189, Resulting Numbers: [1189]
1189,13 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: 13:[43, 6, 21], Operations: ['41-20=21']
Exploring Operation: 6+21=27, Resulting Numbers: [43, 27]
Generated Node #0,2,0: 13:[43, 27] Operation: 6+21=27
Exploring Operation: 43+6=49, Resulting Numbers: [21, 49]
Generated Node #0,2,1: 13:[21, 49] Operation: 43+6=49
Exploring Operation: 43-21=22, Resulting Numbers: [6, 22]
Generated Node #0,2,2: 13:[6, 22] Operation: 43-21=22
Exploring Operation: 43-6=37, Resulting Numbers: [21, 37]
Generated Node #0,2,3: 13:[21, 37] Operation: 43-6=37
Exploring Operation: 21-6=15, Resulting Numbers: [43, 15]
Generated Node #0,2,4: 13:[43, 15] Operation: 21-6=15
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 13:[6, 22], Operations: ['41-20=21', '43-21=22']
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,13 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,13 unequal: No Solution
No 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: 13:[21, 37], Operations: ['41-20=21', '43-6=37']
Exploring Operation: 21*37=777, Resulting Numbers: [777]
777,13 unequal: No Solution
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 21+37=58, Resulting Numbers: [58]
58,13 unequal: No Solution
No 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: 13:[43, 15], Operations: ['41-20=21', '21-6=15']
Exploring Operation: 43+15=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 43*15=645, Resulting Numbers: [645]
645,13 unequal: No Solution
No 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: 13:[43, 27], Operations: ['41-20=21', '6+21=27']
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 43*27=1161, Resulting Numbers: [1161]
1161,13 unequal: No Solution
Exploring Operation: 43+27=70, Resulting Numbers: [70]
70,13 unequal: No Solution
No 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: 13:[21, 49], Operations: ['41-20=21', '43+6=49']
Exploring Operation: 21*49=1029, Resulting Numbers: [1029]
1029,13 unequal: No Solution
Exploring Operation: 21+49=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,13 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: 13:[43, 20, 35], Operations: ['41-6=35']
Exploring Operation: 43+20=63, Resulting Numbers: [35, 63]
Generated Node #0,0,0: 13:[35, 63] Operation: 43+20=63
Exploring Operation: 43+35=78, Resulting Numbers: [20, 78]
Generated Node #0,0,1: 13:[20, 78] Operation: 43+35=78
Exploring Operation: 35-20=15, Resulting Numbers: [43, 15]
Generated Node #0,0,2: 13:[43, 15] Operation: 35-20=15
Exploring Operation: 43-20=23, Resulting Numbers: [35, 23]
Generated Node #0,0,3: 13:[35, 23] Operation: 43-20=23
Exploring Operation: 43-35=8, Resulting Numbers: [20, 8]
Generated Node #0,0,4: 13:[20, 8] Operation: 43-35=8
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 13:[20, 8], Operations: ['41-6=35', '43-35=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,13 unequal: No Solution
No 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: 13:[43, 15], Operations: ['41-6=35', '35-20=15']
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 43+15=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 43*15=645, Resulting Numbers: [645]
645,13 unequal: No Solution
No 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: 13:[35, 23], Operations: ['41-6=35', '43-20=23']
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 35+23=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 35*23=805, Resulting Numbers: [805]
805,13 unequal: No Solution
No 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: 13:[35, 63], Operations: ['41-6=35', '43+20=63']
Exploring Operation: 35*63=2205, Resulting Numbers: [2205]
2205,13 unequal: No Solution
Exploring Operation: 35+63=98, Resulting Numbers: [98]
98,13 unequal: No Solution
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,13 unequal: No Solution
No 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: 13:[20, 78], Operations: ['41-6=35', '43+35=78']
Exploring Operation: 20*78=1560, Resulting Numbers: [1560]
1560,13 unequal: No Solution
Exploring Operation: 20+78=98, Resulting Numbers: [98]
98,13 unequal: No Solution
Exploring Operation: 78-20=58, Resulting Numbers: [58]
58,13 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: 13:[41, 20, 37], Operations: ['43-6=37']
Exploring Operation: 41+20=61, Resulting Numbers: [37, 61]
Generated Node #0,3,0: 13:[37, 61] Operation: 41+20=61
Exploring Operation: 37-20=17, Resulting Numbers: [41, 17]
Generated Node #0,3,1: 13:[41, 17] Operation: 37-20=17
Exploring Operation: 41-37=4, Resulting Numbers: [20, 4]
Generated Node #0,3,2: 13:[20, 4] Operation: 41-37=4
Exploring Operation: 41-20=21, Resulting Numbers: [37, 21]
Generated Node #0,3,3: 13:[37, 21] Operation: 41-20=21
Exploring Operation: 41+37=78, Resulting Numbers: [20, 78]
Generated Node #0,3,4: 13:[20, 78] Operation: 41+37=78
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 13:[20, 4], Operations: ['43-6=37', '41-37=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,13 unequal: No Solution
No 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: 13:[41, 17], Operations: ['43-6=37', '37-20=17']
Exploring Operation: 41+17=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 41*17=697, Resulting Numbers: [697]
697,13 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,13 unequal: No Solution
No 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: 13:[37, 21], Operations: ['43-6=37', '41-20=21']
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 37+21=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 37*21=777, Resulting Numbers: [777]
777,13 unequal: No Solution
No 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: 13:[37, 61], Operations: ['43-6=37', '41+20=61']
Exploring Operation: 37*61=2257, Resulting Numbers: [2257]
2257,13 unequal: No Solution
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 37+61=98, Resulting Numbers: [98]
98,13 unequal: No Solution
No 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: 13:[20, 78], Operations: ['43-6=37', '41+37=78']
Exploring Operation: 78-20=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 20*78=1560, Resulting Numbers: [1560]
1560,13 unequal: No Solution
Exploring Operation: 20+78=98, Resulting Numbers: [98]
98,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
1,
35,
18,
96
] | 80
|
[
"35-1=34",
"18+96=114",
"114-34=80"
] |
Current State: 80:[1, 35, 18, 96], Operations: []
Exploring Operation: 35-1=34, Resulting Numbers: [18, 96, 34]
Generated Node #2: [18, 96, 34] from Operation: 35-1=34
Current State: 80:[18, 96, 34], Operations: ['35-1=34']
Exploring Operation: 18+96=114, Resulting Numbers: [34, 114]
Generated Node #3: [34, 114] from Operation: 18+96=114
Current State: 80:[34, 114], Operations: ['35-1=34', '18+96=114']
Exploring Operation: 114-34=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4
|
Current State: 80:[1, 35, 18, 96], Operations: []
Exploring Operation: 96-18=78, Resulting Numbers: [1, 35, 78]
Generated Node #0,0: 80:[1, 35, 78] Operation: 96-18=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[1, 35, 78], Operations: ['96-18=78']
Exploring Operation: 78-35=43, Resulting Numbers: [1, 43]
Generated Node #0,0,0: 80:[1, 43] Operation: 78-35=43
Moving to Node #0,0,0
Current State: 80:[1, 43], Operations: ['96-18=78', '78-35=43']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,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
|
[
7,
89,
26,
4
] | 97
|
[
"7*26=182",
"89-4=85",
"182-85=97"
] |
Current State: 97:[7, 89, 26, 4], Operations: []
Exploring Operation: 7*26=182, Resulting Numbers: [89, 4, 182]
Generated Node #2: [89, 4, 182] from Operation: 7*26=182
Current State: 97:[89, 4, 182], Operations: ['7*26=182']
Exploring Operation: 89-4=85, Resulting Numbers: [182, 85]
Generated Node #3: [182, 85] from Operation: 89-4=85
Current State: 97:[182, 85], Operations: ['7*26=182', '89-4=85']
Exploring Operation: 182-85=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4
|
Current State: 97:[7, 89, 26, 4], Operations: []
Exploring Operation: 7*4=28, Resulting Numbers: [89, 26, 28]
Generated Node #0,0: 97:[89, 26, 28] Operation: 7*4=28
Exploring Operation: 7+89=96, Resulting Numbers: [26, 4, 96]
Generated Node #0,1: 97:[26, 4, 96] Operation: 7+89=96
Exploring Operation: 7+26=33, Resulting Numbers: [89, 4, 33]
Generated Node #0,2: 97:[89, 4, 33] Operation: 7+26=33
Exploring Operation: 26*4=104, Resulting Numbers: [7, 89, 104]
Generated Node #0,3: 97:[7, 89, 104] Operation: 26*4=104
Moving to Node #0,3
Current State: 97:[7, 89, 104], Operations: ['26*4=104']
Exploring Operation: 7+89=96, Resulting Numbers: [104, 96]
Generated Node #0,3,0: 97:[104, 96] Operation: 7+89=96
Exploring Operation: 7+104=111, Resulting Numbers: [89, 111]
Generated Node #0,3,1: 97:[89, 111] Operation: 7+104=111
Exploring Operation: 104-7=97, Resulting Numbers: [89, 97]
Generated Node #0,3,2: 97:[89, 97] Operation: 104-7=97
Exploring Operation: 89-7=82, Resulting Numbers: [104, 82]
Generated Node #0,3,3: 97:[104, 82] Operation: 89-7=82
Moving to Node #0,0
Current State: 97:[89, 26, 28], Operations: ['7*4=28']
Exploring Operation: 89+28=117, Resulting Numbers: [26, 117]
Generated Node #0,0,0: 97:[26, 117] Operation: 89+28=117
Exploring Operation: 89-26=63, Resulting Numbers: [28, 63]
Generated Node #0,0,1: 97:[28, 63] Operation: 89-26=63
Exploring Operation: 89+26=115, Resulting Numbers: [28, 115]
Generated Node #0,0,2: 97:[28, 115] Operation: 89+26=115
Exploring Operation: 26+28=54, Resulting Numbers: [89, 54]
Generated Node #0,0,3: 97:[89, 54] Operation: 26+28=54
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 97:[89, 54], Operations: ['7*4=28', '26+28=54']
Exploring Operation: 89*54=4806, Resulting Numbers: [4806]
4806,97 unequal: No Solution
Exploring Operation: 89+54=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Exploring Operation: 89-54=35, Resulting Numbers: [35]
35,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[28, 115], Operations: ['7*4=28', '89+26=115']
Exploring Operation: 28+115=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Exploring Operation: 115-28=87, Resulting Numbers: [87]
87,97 unequal: No Solution
Exploring Operation: 28*115=3220, Resulting Numbers: [3220]
3220,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[26, 117], Operations: ['7*4=28', '89+28=117']
Exploring Operation: 26+117=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Exploring Operation: 26*117=3042, Resulting Numbers: [3042]
3042,97 unequal: No Solution
Exploring Operation: 117-26=91, Resulting Numbers: [91]
91,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[28, 63], Operations: ['7*4=28', '89-26=63']
Exploring Operation: 28*63=1764, Resulting Numbers: [1764]
1764,97 unequal: No Solution
Exploring Operation: 28+63=91, Resulting Numbers: [91]
91,97 unequal: No Solution
Exploring Operation: 63-28=35, Resulting Numbers: [35]
35,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 97:[89, 4, 33], Operations: ['7+26=33']
Exploring Operation: 89-4=85, Resulting Numbers: [33, 85]
Generated Node #0,2,0: 97:[33, 85] Operation: 89-4=85
Exploring Operation: 89+4=93, Resulting Numbers: [33, 93]
Generated Node #0,2,1: 97:[33, 93] Operation: 89+4=93
Exploring Operation: 4*33=132, Resulting Numbers: [89, 132]
Generated Node #0,2,2: 97:[89, 132] Operation: 4*33=132
Exploring Operation: 4+33=37, Resulting Numbers: [89, 37]
Generated Node #0,2,3: 97:[89, 37] Operation: 4+33=37
Moving to Node #0,1
Current State: 97:[26, 4, 96], Operations: ['7+89=96']
Exploring Operation: 26-4=22, Resulting Numbers: [96, 22]
Generated Node #0,1,0: 97:[96, 22] Operation: 26-4=22
Exploring Operation: 26+4=30, Resulting Numbers: [96, 30]
Generated Node #0,1,1: 97:[96, 30] Operation: 26+4=30
Exploring Operation: 4+96=100, Resulting Numbers: [26, 100]
Generated Node #0,1,2: 97:[26, 100] Operation: 4+96=100
Exploring Operation: 26*4=104, Resulting Numbers: [96, 104]
Generated Node #0,1,3: 97:[96, 104] Operation: 26*4=104
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 97:[96, 104], Operations: ['7+89=96', '26*4=104']
Exploring Operation: 104-96=8, Resulting Numbers: [8]
8,97 unequal: No Solution
Exploring Operation: 96*104=9984, Resulting Numbers: [9984]
9984,97 unequal: No Solution
Exploring Operation: 96+104=200, Resulting Numbers: [200]
200,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[96, 30], Operations: ['7+89=96', '26+4=30']
Exploring Operation: 96*30=2880, Resulting Numbers: [2880]
2880,97 unequal: No Solution
Exploring Operation: 96-30=66, Resulting Numbers: [66]
66,97 unequal: No Solution
Exploring Operation: 96+30=126, Resulting Numbers: [126]
126,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[26, 100], Operations: ['7+89=96', '4+96=100']
Exploring Operation: 100-26=74, Resulting Numbers: [74]
74,97 unequal: No Solution
Exploring Operation: 26*100=2600, Resulting Numbers: [2600]
2600,97 unequal: No Solution
Exploring Operation: 26+100=126, Resulting Numbers: [126]
126,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[96, 22], Operations: ['7+89=96', '26-4=22']
Exploring Operation: 96*22=2112, Resulting Numbers: [2112]
2112,97 unequal: No Solution
Exploring Operation: 96-22=74, Resulting Numbers: [74]
74,97 unequal: No Solution
Exploring Operation: 96+22=118, Resulting Numbers: [118]
118,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 97:[104, 96], Operations: ['26*4=104', '7+89=96']
Exploring Operation: 104-96=8, Resulting Numbers: [8]
8,97 unequal: No Solution
Exploring Operation: 104+96=200, Resulting Numbers: [200]
200,97 unequal: No Solution
Exploring Operation: 104*96=9984, Resulting Numbers: [9984]
9984,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[89, 97], Operations: ['26*4=104', '104-7=97']
Exploring Operation: 89+97=186, Resulting Numbers: [186]
186,97 unequal: No Solution
Exploring Operation: 89*97=8633, Resulting Numbers: [8633]
8633,97 unequal: No Solution
Exploring Operation: 97-89=8, Resulting Numbers: [8]
8,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[89, 111], Operations: ['26*4=104', '7+104=111']
Exploring Operation: 89*111=9879, Resulting Numbers: [9879]
9879,97 unequal: No Solution
Exploring Operation: 111-89=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Exploring Operation: 89+111=200, Resulting Numbers: [200]
200,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[104, 82], Operations: ['26*4=104', '89-7=82']
Exploring Operation: 104+82=186, Resulting Numbers: [186]
186,97 unequal: No Solution
Exploring Operation: 104*82=8528, Resulting Numbers: [8528]
8528,97 unequal: No Solution
Exploring Operation: 104-82=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[89, 132], Operations: ['7+26=33', '4*33=132']
Exploring Operation: 132-89=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Exploring Operation: 89+132=221, Resulting Numbers: [221]
221,97 unequal: No Solution
Exploring Operation: 89*132=11748, Resulting Numbers: [11748]
11748,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[33, 93], Operations: ['7+26=33', '89+4=93']
Exploring Operation: 33*93=3069, Resulting Numbers: [3069]
3069,97 unequal: No Solution
Exploring Operation: 33+93=126, Resulting Numbers: [126]
126,97 unequal: No Solution
Exploring Operation: 93-33=60, Resulting Numbers: [60]
60,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[89, 37], Operations: ['7+26=33', '4+33=37']
Exploring Operation: 89*37=3293, Resulting Numbers: [3293]
3293,97 unequal: No Solution
Exploring Operation: 89-37=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Exploring Operation: 89+37=126, Resulting Numbers: [126]
126,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[33, 85], Operations: ['7+26=33', '89-4=85']
Exploring Operation: 85-33=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Exploring Operation: 33*85=2805, Resulting Numbers: [2805]
2805,97 unequal: No Solution
Exploring Operation: 33+85=118, Resulting Numbers: [118]
118,97 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
27,
99,
5,
16
] | 44
|
[
"27-16=11",
"5*11=55",
"99-55=44"
] |
Current State: 44:[27, 99, 5, 16], Operations: []
Exploring Operation: 27-16=11, Resulting Numbers: [99, 5, 11]
Generated Node #2: [99, 5, 11] from Operation: 27-16=11
Current State: 44:[99, 5, 11], Operations: ['27-16=11']
Exploring Operation: 5*11=55, Resulting Numbers: [99, 55]
Generated Node #3: [99, 55] from Operation: 5*11=55
Current State: 44:[99, 55], Operations: ['27-16=11', '5*11=55']
Exploring Operation: 99-55=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4
|
Current State: 44:[27, 99, 5, 16], Operations: []
Exploring Operation: 99-27=72, Resulting Numbers: [5, 16, 72]
Generated Node #0,0: 44:[5, 16, 72] Operation: 99-27=72
Moving to Node #0,0
Current State: 44:[5, 16, 72], Operations: ['99-27=72']
Exploring Operation: 72-16=56, Resulting Numbers: [5, 56]
Generated Node #0,0,0: 44:[5, 56] Operation: 72-16=56
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[5, 56], Operations: ['99-27=72', '72-16=56']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,44 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
|
[
47,
68,
47,
30
] | 38
|
[
"47+68=115",
"47+30=77",
"115-77=38"
] |
Current State: 38:[47, 68, 47, 30], Operations: []
Exploring Operation: 47+68=115, Resulting Numbers: [30, 115]
Generated Node #2: [30, 115] from Operation: 47+68=115
Current State: 38:[30, 115], Operations: ['47+68=115']
Exploring Operation: 47+30=77, Resulting Numbers: [115, 77]
Generated Node #3: [115, 77] from Operation: 47+30=77
Current State: 38:[115, 77], Operations: ['47+68=115', '47+30=77']
Exploring Operation: 115-77=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4
|
Current State: 38:[47, 68, 47, 30], Operations: []
Exploring Operation: 68-47=21, Resulting Numbers: [47, 30, 21]
Generated Node #0,0: 38:[47, 30, 21] Operation: 68-47=21
Exploring Operation: 68-47=21, Resulting Numbers: [47, 30, 21]
Generated Node #0,1: 38:[47, 30, 21] Operation: 68-47=21
Exploring Operation: 47-47=0, Resulting Numbers: [68, 30, 0]
Generated Node #0,2: 38:[68, 30, 0] Operation: 47-47=0
Exploring Operation: 68-30=38, Resulting Numbers: [47, 47, 38]
Generated Node #0,3: 38:[47, 47, 38] Operation: 68-30=38
Exploring Operation: 47/47=1, Resulting Numbers: [68, 30, 1]
Generated Node #0,4: 38:[68, 30, 1] Operation: 47/47=1
Moving to Node #0,3
Current State: 38:[47, 47, 38], Operations: ['68-30=38']
Exploring Operation: 47-47=0, Resulting Numbers: [38, 0]
Generated Node #0,3,0: 38:[38, 0] Operation: 47-47=0
Exploring Operation: 47-38=9, Resulting Numbers: [47, 9]
Generated Node #0,3,1: 38:[47, 9] Operation: 47-38=9
Exploring Operation: 47-38=9, Resulting Numbers: [47, 9]
Generated Node #0,3,2: 38:[47, 9] Operation: 47-38=9
Exploring Operation: 47/47=1, Resulting Numbers: [38, 1]
Generated Node #0,3,3: 38:[38, 1] Operation: 47/47=1
Exploring Operation: 47+47=94, Resulting Numbers: [38, 94]
Generated Node #0,3,4: 38:[38, 94] Operation: 47+47=94
Moving to Node #0,1
Current State: 38:[47, 30, 21], Operations: ['68-47=21']
Exploring Operation: 47+21=68, Resulting Numbers: [30, 68]
Generated Node #0,1,0: 38:[30, 68] Operation: 47+21=68
Exploring Operation: 47-30=17, Resulting Numbers: [21, 17]
Generated Node #0,1,1: 38:[21, 17] Operation: 47-30=17
Exploring Operation: 30+21=51, Resulting Numbers: [47, 51]
Generated Node #0,1,2: 38:[47, 51] Operation: 30+21=51
Exploring Operation: 47-21=26, Resulting Numbers: [30, 26]
Generated Node #0,1,3: 38:[30, 26] Operation: 47-21=26
Exploring Operation: 30-21=9, Resulting Numbers: [47, 9]
Generated Node #0,1,4: 38:[47, 9] Operation: 30-21=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[21, 17], Operations: ['68-47=21', '47-30=17']
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,38 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[47, 68, 47, 30], Operations: []
Exploring Operation: 68-47=21, Resulting Numbers: [47, 30, 21]
Generated Node #0,1: 38:[47, 30, 21] Operation: 68-47=21
Moving to Node #0,1
Current State: 38:[47, 30, 21], Operations: ['68-47=21']
Exploring Operation: 47-30=17, Resulting Numbers: [21, 17]
Generated Node #0,1,1: 38:[21, 17] Operation: 47-30=17
Moving to Node #0,1,1
Current State: 38:[21, 17], Operations: ['68-47=21', '47-30=17']
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771
|
hs_5
|
sum_heuristic
|
[
86,
78,
76,
60
] | 73
|
[
"86+60=146",
"78-76=2",
"146/2=73"
] |
Current State: 73:[86, 78, 76, 60], Operations: []
Exploring Operation: 86+60=146, Resulting Numbers: [78, 76, 146]
Generated Node #2: [78, 76, 146] from Operation: 86+60=146
Current State: 73:[78, 76, 146], Operations: ['86+60=146']
Exploring Operation: 78-76=2, Resulting Numbers: [146, 2]
Generated Node #3: [146, 2] from Operation: 78-76=2
Current State: 73:[146, 2], Operations: ['86+60=146', '78-76=2']
Exploring Operation: 146/2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4
|
Current State: 73:[86, 78, 76, 60], Operations: []
Exploring Operation: 86-60=26, Resulting Numbers: [78, 76, 26]
Generated Node #0,0: 73:[78, 76, 26] Operation: 86-60=26
Moving to Node #0,0
Current State: 73:[78, 76, 26], Operations: ['86-60=26']
Exploring Operation: 78-26=52, Resulting Numbers: [76, 52]
Generated Node #0,0,0: 73:[76, 52] Operation: 78-26=52
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[76, 52], Operations: ['86-60=26', '78-26=52']
Exploring Operation: 76-52=24, Resulting Numbers: [24]
24,73 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
|
[
76,
25,
50,
20
] | 28
|
[
"76-20=56",
"50/25=2",
"56/2=28"
] |
Current State: 28:[76, 25, 50, 20], Operations: []
Exploring Operation: 76-20=56, Resulting Numbers: [25, 50, 56]
Generated Node #2: [25, 50, 56] from Operation: 76-20=56
Current State: 28:[25, 50, 56], Operations: ['76-20=56']
Exploring Operation: 50/25=2, Resulting Numbers: [56, 2]
Generated Node #3: [56, 2] from Operation: 50/25=2
Current State: 28:[56, 2], Operations: ['76-20=56', '50/25=2']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4
|
Current State: 28:[76, 25, 50, 20], Operations: []
Exploring Operation: 50/25=2, Resulting Numbers: [76, 20, 2]
Generated Node #0,0: 28:[76, 20, 2] Operation: 50/25=2
Exploring Operation: 76-20=56, Resulting Numbers: [25, 50, 56]
Generated Node #0,1: 28:[25, 50, 56] Operation: 76-20=56
Exploring Operation: 76-25=51, Resulting Numbers: [50, 20, 51]
Generated Node #0,2: 28:[50, 20, 51] Operation: 76-25=51
Exploring Operation: 76-50=26, Resulting Numbers: [25, 20, 26]
Generated Node #0,3: 28:[25, 20, 26] Operation: 76-50=26
Exploring Operation: 50-20=30, Resulting Numbers: [76, 25, 30]
Generated Node #0,4: 28:[76, 25, 30] Operation: 50-20=30
Moving to Node #0,3
Current State: 28:[25, 20, 26], Operations: ['76-50=26']
Exploring Operation: 25+20=45, Resulting Numbers: [26, 45]
Generated Node #0,3,0: 28:[26, 45] Operation: 25+20=45
Exploring Operation: 20+26=46, Resulting Numbers: [25, 46]
Generated Node #0,3,1: 28:[25, 46] Operation: 20+26=46
Exploring Operation: 26-20=6, Resulting Numbers: [25, 6]
Generated Node #0,3,2: 28:[25, 6] Operation: 26-20=6
Exploring Operation: 25-20=5, Resulting Numbers: [26, 5]
Generated Node #0,3,3: 28:[26, 5] Operation: 25-20=5
Exploring Operation: 26-25=1, Resulting Numbers: [20, 1]
Generated Node #0,3,4: 28:[20, 1] Operation: 26-25=1
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 28:[26, 5], Operations: ['76-50=26', '25-20=5']
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 26*5=130, Resulting Numbers: [130]
130,28 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 28:[25, 6], Operations: ['76-50=26', '26-20=6']
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,28 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 28:[20, 1], Operations: ['76-50=26', '26-25=1']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,28 unequal: No Solution
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 28:[26, 45], Operations: ['76-50=26', '25+20=45']
Exploring Operation: 26*45=1170, Resulting Numbers: [1170]
1170,28 unequal: No Solution
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 26+45=71, Resulting Numbers: [71]
71,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 28:[25, 46], Operations: ['76-50=26', '20+26=46']
Exploring Operation: 25*46=1150, Resulting Numbers: [1150]
1150,28 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Exploring Operation: 25+46=71, Resulting Numbers: [71]
71,28 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: 28:[50, 20, 51], Operations: ['76-25=51']
Exploring Operation: 51-50=1, Resulting Numbers: [20, 1]
Generated Node #0,2,0: 28:[20, 1] Operation: 51-50=1
Exploring Operation: 51-20=31, Resulting Numbers: [50, 31]
Generated Node #0,2,1: 28:[50, 31] Operation: 51-20=31
Exploring Operation: 50+20=70, Resulting Numbers: [51, 70]
Generated Node #0,2,2: 28:[51, 70] Operation: 50+20=70
Exploring Operation: 20+51=71, Resulting Numbers: [50, 71]
Generated Node #0,2,3: 28:[50, 71] Operation: 20+51=71
Exploring Operation: 50-20=30, Resulting Numbers: [51, 30]
Generated Node #0,2,4: 28:[51, 30] Operation: 50-20=30
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 28:[20, 1], Operations: ['76-25=51', '51-50=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,28 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 28:[50, 31], Operations: ['76-25=51', '51-20=31']
Exploring Operation: 50+31=81, Resulting Numbers: [81]
81,28 unequal: No Solution
Exploring Operation: 50*31=1550, Resulting Numbers: [1550]
1550,28 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 28:[51, 30], Operations: ['76-25=51', '50-20=30']
Exploring Operation: 51+30=81, Resulting Numbers: [81]
81,28 unequal: No Solution
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Exploring Operation: 51*30=1530, Resulting Numbers: [1530]
1530,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 28:[51, 70], Operations: ['76-25=51', '50+20=70']
Exploring Operation: 51*70=3570, Resulting Numbers: [3570]
3570,28 unequal: No Solution
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 51+70=121, Resulting Numbers: [121]
121,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 28:[50, 71], Operations: ['76-25=51', '20+51=71']
Exploring Operation: 50+71=121, Resulting Numbers: [121]
121,28 unequal: No Solution
Exploring Operation: 50*71=3550, Resulting Numbers: [3550]
3550,28 unequal: No Solution
Exploring Operation: 71-50=21, Resulting Numbers: [21]
21,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 28:[25, 50, 56], Operations: ['76-20=56']
Exploring Operation: 50-25=25, Resulting Numbers: [56, 25]
Generated Node #0,1,0: 28:[56, 25] Operation: 50-25=25
Exploring Operation: 50/25=2, Resulting Numbers: [56, 2]
Generated Node #0,1,1: 28:[56, 2] Operation: 50/25=2
Exploring Operation: 56-25=31, Resulting Numbers: [50, 31]
Generated Node #0,1,2: 28:[50, 31] Operation: 56-25=31
Exploring Operation: 25+50=75, Resulting Numbers: [56, 75]
Generated Node #0,1,3: 28:[56, 75] Operation: 25+50=75
Exploring Operation: 56-50=6, Resulting Numbers: [25, 6]
Generated Node #0,1,4: 28:[25, 6] Operation: 56-50=6
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 28:[25, 6], Operations: ['76-20=56', '56-50=6']
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,28 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[50, 31], Operations: ['76-20=56', '56-25=31']
Exploring Operation: 50+31=81, Resulting Numbers: [81]
81,28 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 50*31=1550, Resulting Numbers: [1550]
1550,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[56, 2], Operations: ['76-20=56', '50/25=2']
Exploring Operation: 56*2=112, Resulting Numbers: [112]
112,28 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,28 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[76, 25, 50, 20], Operations: []
Exploring Operation: 76-20=56, Resulting Numbers: [25, 50, 56]
Generated Node #0,1: 28:[25, 50, 56] Operation: 76-20=56
Moving to Node #0,1
Current State: 28:[25, 50, 56], Operations: ['76-20=56']
Exploring Operation: 50/25=2, Resulting Numbers: [56, 2]
Generated Node #0,1,1: 28:[56, 2] Operation: 50/25=2
Moving to Node #0,1,1
Current State: 28:[56, 2], Operations: ['76-20=56', '50/25=2']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.942708
|
hs_5
|
sum_heuristic
|
[
87,
75,
9,
23
] | 99
|
[
"87-75=12",
"23-12=11",
"9*11=99"
] |
Current State: 99:[87, 75, 9, 23], Operations: []
Exploring Operation: 87-75=12, Resulting Numbers: [9, 23, 12]
Generated Node #2: [9, 23, 12] from Operation: 87-75=12
Current State: 99:[9, 23, 12], Operations: ['87-75=12']
Exploring Operation: 23-12=11, Resulting Numbers: [9, 11]
Generated Node #3: [9, 11] from Operation: 23-12=11
Current State: 99:[9, 11], Operations: ['87-75=12', '23-12=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4
|
Current State: 99:[87, 75, 9, 23], Operations: []
Exploring Operation: 87-75=12, Resulting Numbers: [9, 23, 12]
Generated Node #0,0: 99:[9, 23, 12] Operation: 87-75=12
Exploring Operation: 75+23=98, Resulting Numbers: [87, 9, 98]
Generated Node #0,1: 99:[87, 9, 98] Operation: 75+23=98
Exploring Operation: 75-23=52, Resulting Numbers: [87, 9, 52]
Generated Node #0,2: 99:[87, 9, 52] Operation: 75-23=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[9, 23, 12], Operations: ['87-75=12']
Exploring Operation: 23-12=11, Resulting Numbers: [9, 11]
Generated Node #0,0,0: 99:[9, 11] Operation: 23-12=11
Exploring Operation: 23+12=35, Resulting Numbers: [9, 35]
Generated Node #0,0,1: 99:[9, 35] Operation: 23+12=35
Exploring Operation: 9+23=32, Resulting Numbers: [12, 32]
Generated Node #0,0,2: 99:[12, 32] Operation: 9+23=32
Moving to Node #0,0,0
Current State: 99:[9, 11], Operations: ['87-75=12', '23-12=11']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[87, 75, 9, 23], Operations: []
Exploring Operation: 87-75=12, Resulting Numbers: [9, 23, 12]
Generated Node #0,0: 99:[9, 23, 12] Operation: 87-75=12
Moving to Node #0,0
Current State: 99:[9, 23, 12], Operations: ['87-75=12']
Exploring Operation: 23-12=11, Resulting Numbers: [9, 11]
Generated Node #0,0,0: 99:[9, 11] Operation: 23-12=11
Moving to Node #0,0,0
Current State: 99:[9, 11], Operations: ['87-75=12', '23-12=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583
|
hs_3
|
mult_heuristic
|
[
95,
27,
71,
4
] | 47
|
[
"95+27=122",
"71+4=75",
"122-75=47"
] |
Current State: 47:[95, 27, 71, 4], Operations: []
Exploring Operation: 95+27=122, Resulting Numbers: [71, 4, 122]
Generated Node #2: [71, 4, 122] from Operation: 95+27=122
Current State: 47:[71, 4, 122], Operations: ['95+27=122']
Exploring Operation: 71+4=75, Resulting Numbers: [122, 75]
Generated Node #3: [122, 75] from Operation: 71+4=75
Current State: 47:[122, 75], Operations: ['95+27=122', '71+4=75']
Exploring Operation: 122-75=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4
|
Current State: 47:[95, 27, 71, 4], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [27, 4, 24]
Generated Node #0,0: 47:[27, 4, 24] Operation: 95-71=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[27, 4, 24], Operations: ['95-71=24']
Exploring Operation: 27+4=31, Resulting Numbers: [24, 31]
Generated Node #0,0,0: 47:[24, 31] Operation: 27+4=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[24, 31], Operations: ['95-71=24', '27+4=31']
Exploring Operation: 24+31=55, Resulting Numbers: [55]
55,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
52,
58,
57,
33
] | 18
|
[
"58-52=6",
"57-33=24",
"24-6=18"
] |
Current State: 18:[52, 58, 57, 33], Operations: []
Exploring Operation: 58-52=6, Resulting Numbers: [57, 33, 6]
Generated Node #2: [57, 33, 6] from Operation: 58-52=6
Current State: 18:[57, 33, 6], Operations: ['58-52=6']
Exploring Operation: 57-33=24, Resulting Numbers: [6, 24]
Generated Node #3: [6, 24] from Operation: 57-33=24
Current State: 18:[6, 24], Operations: ['58-52=6', '57-33=24']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4
|
Current State: 18:[52, 58, 57, 33], Operations: []
Exploring Operation: 58-52=6, Resulting Numbers: [57, 33, 6]
Generated Node #0,0: 18:[57, 33, 6] Operation: 58-52=6
Exploring Operation: 58-57=1, Resulting Numbers: [52, 33, 1]
Generated Node #0,1: 18:[52, 33, 1] Operation: 58-57=1
Moving to Node #0,1
Current State: 18:[52, 33, 1], Operations: ['58-57=1']
Exploring Operation: 52-33=19, Resulting Numbers: [1, 19]
Generated Node #0,1,0: 18:[1, 19] Operation: 52-33=19
Exploring Operation: 52-1=51, Resulting Numbers: [33, 51]
Generated Node #0,1,1: 18:[33, 51] Operation: 52-1=51
Moving to Node #0,0
Current State: 18:[57, 33, 6], Operations: ['58-52=6']
Exploring Operation: 57-6=51, Resulting Numbers: [33, 51]
Generated Node #0,0,0: 18:[33, 51] Operation: 57-6=51
Exploring Operation: 57-33=24, Resulting Numbers: [6, 24]
Generated Node #0,0,1: 18:[6, 24] Operation: 57-33=24
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[6, 24], Operations: ['58-52=6', '57-33=24']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[52, 58, 57, 33], Operations: []
Exploring Operation: 58-52=6, Resulting Numbers: [57, 33, 6]
Generated Node #0,0: 18:[57, 33, 6] Operation: 58-52=6
Moving to Node #0,0
Current State: 18:[57, 33, 6], Operations: ['58-52=6']
Exploring Operation: 57-33=24, Resulting Numbers: [6, 24]
Generated Node #0,0,1: 18:[6, 24] Operation: 57-33=24
Moving to Node #0,0,1
Current State: 18:[6, 24], Operations: ['58-52=6', '57-33=24']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451
|
hs_2
|
sum_heuristic
|
[
88,
6,
96,
2
] | 92
|
[
"88+6=94",
"2*94=188",
"188-96=92"
] |
Current State: 92:[88, 6, 96, 2], Operations: []
Exploring Operation: 88+6=94, Resulting Numbers: [96, 2, 94]
Generated Node #2: [96, 2, 94] from Operation: 88+6=94
Current State: 92:[96, 2, 94], Operations: ['88+6=94']
Exploring Operation: 2*94=188, Resulting Numbers: [96, 188]
Generated Node #3: [96, 188] from Operation: 2*94=188
Current State: 92:[96, 188], Operations: ['88+6=94', '2*94=188']
Exploring Operation: 188-96=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4
|
Current State: 92:[88, 6, 96, 2], Operations: []
Exploring Operation: 96-88=8, Resulting Numbers: [6, 2, 8]
Generated Node #0,0: 92:[6, 2, 8] Operation: 96-88=8
Exploring Operation: 88+6=94, Resulting Numbers: [96, 2, 94]
Generated Node #0,1: 92:[96, 2, 94] Operation: 88+6=94
Exploring Operation: 96-6=90, Resulting Numbers: [88, 2, 90]
Generated Node #0,2: 92:[88, 2, 90] Operation: 96-6=90
Exploring Operation: 88/2=44, Resulting Numbers: [6, 96, 44]
Generated Node #0,3: 92:[6, 96, 44] Operation: 88/2=44
Exploring Operation: 88+2=90, Resulting Numbers: [6, 96, 90]
Generated Node #0,4: 92:[6, 96, 90] Operation: 88+2=90
Moving to Node #0,0
Current State: 92:[6, 2, 8], Operations: ['96-88=8']
Exploring Operation: 6-2=4, Resulting Numbers: [8, 4]
Generated Node #0,0,0: 92:[8, 4] Operation: 6-2=4
Exploring Operation: 8-2=6, Resulting Numbers: [6, 6]
Generated Node #0,0,1: 92:[6, 6] Operation: 8-2=6
Exploring Operation: 6*8=48, Resulting Numbers: [2, 48]
Generated Node #0,0,2: 92:[2, 48] Operation: 6*8=48
Exploring Operation: 8/2=4, Resulting Numbers: [6, 4]
Generated Node #0,0,3: 92:[6, 4] Operation: 8/2=4
Exploring Operation: 8-6=2, Resulting Numbers: [2, 2]
Generated Node #0,0,4: 92:[2, 2] Operation: 8-6=2
Moving to Node #0,2
Current State: 92:[88, 2, 90], Operations: ['96-6=90']
Exploring Operation: 90-88=2, Resulting Numbers: [2, 2]
Generated Node #0,2,0: 92:[2, 2] Operation: 90-88=2
Exploring Operation: 88+2=90, Resulting Numbers: [90, 90]
Generated Node #0,2,1: 92:[90, 90] Operation: 88+2=90
Exploring Operation: 2+90=92, Resulting Numbers: [88, 92]
Generated Node #0,2,2: 92:[88, 92] Operation: 2+90=92
Exploring Operation: 88/2=44, Resulting Numbers: [90, 44]
Generated Node #0,2,3: 92:[90, 44] Operation: 88/2=44
Exploring Operation: 90/2=45, Resulting Numbers: [88, 45]
Generated Node #0,2,4: 92:[88, 45] Operation: 90/2=45
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[2, 2], Operations: ['96-6=90', '90-88=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,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, 90], Operations: ['96-6=90', '88+2=90']
Exploring Operation: 90*90=8100, Resulting Numbers: [8100]
8100,92 unequal: No Solution
Exploring Operation: 90/90=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 90-90=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 90+90=180, Resulting Numbers: [180]
180,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,2
Current State: 92:[88, 92], Operations: ['96-6=90', '2+90=92']
Exploring Operation: 88*92=8096, Resulting Numbers: [8096]
8096,92 unequal: No Solution
Exploring Operation: 92-88=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 88+92=180, Resulting Numbers: [180]
180,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,3
Current State: 92:[90, 44], Operations: ['96-6=90', '88/2=44']
Exploring Operation: 90+44=134, Resulting Numbers: [134]
134,92 unequal: No Solution
Exploring Operation: 90-44=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 90*44=3960, Resulting Numbers: [3960]
3960,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,4
Current State: 92:[88, 45], Operations: ['96-6=90', '90/2=45']
Exploring Operation: 88-45=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 88+45=133, Resulting Numbers: [133]
133,92 unequal: No Solution
Exploring Operation: 88*45=3960, Resulting Numbers: [3960]
3960,92 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: 92:[96, 2, 94], Operations: ['88+6=94']
Exploring Operation: 94/2=47, Resulting Numbers: [96, 47]
Generated Node #0,1,0: 92:[96, 47] Operation: 94/2=47
Exploring Operation: 96/2=48, Resulting Numbers: [94, 48]
Generated Node #0,1,1: 92:[94, 48] Operation: 96/2=48
Exploring Operation: 96-2=94, Resulting Numbers: [94, 94]
Generated Node #0,1,2: 92:[94, 94] Operation: 96-2=94
Exploring Operation: 94-2=92, Resulting Numbers: [96, 92]
Generated Node #0,1,3: 92:[96, 92] Operation: 94-2=92
Exploring Operation: 96-94=2, Resulting Numbers: [2, 2]
Generated Node #0,1,4: 92:[2, 2] Operation: 96-94=2
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 92:[2, 2], Operations: ['88+6=94', '96-94=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[94, 48], Operations: ['88+6=94', '96/2=48']
Exploring Operation: 94-48=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 94*48=4512, Resulting Numbers: [4512]
4512,92 unequal: No Solution
Exploring Operation: 94+48=142, Resulting Numbers: [142]
142,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 92:[94, 94], Operations: ['88+6=94', '96-2=94']
Exploring Operation: 94/94=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 94+94=188, Resulting Numbers: [188]
188,92 unequal: No Solution
Exploring Operation: 94-94=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 94*94=8836, Resulting Numbers: [8836]
8836,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 92:[96, 92], Operations: ['88+6=94', '94-2=92']
Exploring Operation: 96-92=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 96+92=188, Resulting Numbers: [188]
188,92 unequal: No Solution
Exploring Operation: 96*92=8832, Resulting Numbers: [8832]
8832,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:[96, 47], Operations: ['88+6=94', '94/2=47']
Exploring Operation: 96-47=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 96+47=143, Resulting Numbers: [143]
143,92 unequal: No Solution
Exploring Operation: 96*47=4512, Resulting Numbers: [4512]
4512,92 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: 92:[6, 96, 44], Operations: ['88/2=44']
Exploring Operation: 96-44=52, Resulting Numbers: [6, 52]
Generated Node #0,3,0: 92:[6, 52] Operation: 96-44=52
Exploring Operation: 96/6=16, Resulting Numbers: [44, 16]
Generated Node #0,3,1: 92:[44, 16] Operation: 96/6=16
Exploring Operation: 6+96=102, Resulting Numbers: [44, 102]
Generated Node #0,3,2: 92:[44, 102] Operation: 6+96=102
Exploring Operation: 96-6=90, Resulting Numbers: [44, 90]
Generated Node #0,3,3: 92:[44, 90] Operation: 96-6=90
Exploring Operation: 6+44=50, Resulting Numbers: [96, 50]
Generated Node #0,3,4: 92:[96, 50] Operation: 6+44=50
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 92:[44, 90], Operations: ['88/2=44', '96-6=90']
Exploring Operation: 44*90=3960, Resulting Numbers: [3960]
3960,92 unequal: No Solution
Exploring Operation: 90-44=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 44+90=134, Resulting Numbers: [134]
134,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,3,0
Current State: 92:[6, 52], Operations: ['88/2=44', '96-44=52']
Exploring Operation: 6*52=312, Resulting Numbers: [312]
312,92 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 6+52=58, Resulting Numbers: [58]
58,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,3,4
Current State: 92:[96, 50], Operations: ['88/2=44', '6+44=50']
Exploring Operation: 96*50=4800, Resulting Numbers: [4800]
4800,92 unequal: No Solution
Exploring Operation: 96+50=146, Resulting Numbers: [146]
146,92 unequal: No Solution
Exploring Operation: 96-50=46, Resulting Numbers: [46]
46,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,3,1
Current State: 92:[44, 16], Operations: ['88/2=44', '96/6=16']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 44*16=704, Resulting Numbers: [704]
704,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,3,2
Current State: 92:[44, 102], Operations: ['88/2=44', '6+96=102']
Exploring Operation: 102-44=58, Resulting Numbers: [58]
58,92 unequal: No Solution
Exploring Operation: 44*102=4488, Resulting Numbers: [4488]
4488,92 unequal: No Solution
Exploring Operation: 44+102=146, Resulting Numbers: [146]
146,92 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: 92:[6, 96, 90], Operations: ['88+2=90']
Exploring Operation: 96/6=16, Resulting Numbers: [90, 16]
Generated Node #0,4,0: 92:[90, 16] Operation: 96/6=16
Exploring Operation: 6+90=96, Resulting Numbers: [96, 96]
Generated Node #0,4,1: 92:[96, 96] Operation: 6+90=96
Exploring Operation: 96-6=90, Resulting Numbers: [90, 90]
Generated Node #0,4,2: 92:[90, 90] Operation: 96-6=90
Exploring Operation: 96-90=6, Resulting Numbers: [6, 6]
Generated Node #0,4,3: 92:[6, 6] Operation: 96-90=6
Exploring Operation: 6+96=102, Resulting Numbers: [90, 102]
Generated Node #0,4,4: 92:[90, 102] Operation: 6+96=102
Moving to Node #0,0,4
Current State: 92:[2, 2], Operations: ['96-88=8', '8-6=2']
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[6, 4], Operations: ['96-88=8', '8/2=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[2, 48], Operations: ['96-88=8', '6*8=48']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,92 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Moving to Node #0,4,3
Current State: 92:[6, 6], Operations: ['88+2=90', '96-90=6']
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Moving to Node #0,4,2
Current State: 92:[90, 90], Operations: ['88+2=90', '96-6=90']
Exploring Operation: 90-90=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 90+90=180, Resulting Numbers: [180]
180,92 unequal: No Solution
Exploring Operation: 90/90=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 90*90=8100, Resulting Numbers: [8100]
8100,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[6, 6], Operations: ['96-88=8', '8-2=6']
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[8, 4], Operations: ['96-88=8', '6-2=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,92 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Moving to Node #0,4,1
Current State: 92:[96, 96], Operations: ['88+2=90', '6+90=96']
Exploring Operation: 96-96=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 96*96=9216, Resulting Numbers: [9216]
9216,92 unequal: No Solution
Exploring Operation: 96/96=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 96+96=192, Resulting Numbers: [192]
192,92 unequal: No Solution
Moving to Node #0,4,0
Current State: 92:[90, 16], Operations: ['88+2=90', '96/6=16']
Exploring Operation: 90-16=74, Resulting Numbers: [74]
74,92 unequal: No Solution
Exploring Operation: 90*16=1440, Resulting Numbers: [1440]
1440,92 unequal: No Solution
Exploring Operation: 90+16=106, Resulting Numbers: [106]
106,92 unequal: No Solution
Moving to Node #0,4,4
Current State: 92:[90, 102], Operations: ['88+2=90', '6+96=102']
Exploring Operation: 90+102=192, Resulting Numbers: [192]
192,92 unequal: No Solution
Exploring Operation: 102-90=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 90*102=9180, Resulting Numbers: [9180]
9180,92 unequal: No Solution
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
30,
21,
4,
54
] | 16
|
[
"30+54=84",
"84/21=4",
"4*4=16"
] |
Current State: 16:[30, 21, 4, 54], Operations: []
Exploring Operation: 30+54=84, Resulting Numbers: [21, 4, 84]
Generated Node #2: [21, 4, 84] from Operation: 30+54=84
Current State: 16:[21, 4, 84], Operations: ['30+54=84']
Exploring Operation: 84/21=4, Resulting Numbers: [4, 4]
Generated Node #3: [4, 4] from Operation: 84/21=4
Current State: 16:[4, 4], Operations: ['30+54=84', '84/21=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4
|
Current State: 16:[30, 21, 4, 54], Operations: []
Exploring Operation: 54-30=24, Resulting Numbers: [21, 4, 24]
Generated Node #0,0: 16:[21, 4, 24] Operation: 54-30=24
Exploring Operation: 54-21=33, Resulting Numbers: [30, 4, 33]
Generated Node #0,1: 16:[30, 4, 33] Operation: 54-21=33
Moving to Node #0,0
Current State: 16:[21, 4, 24], Operations: ['54-30=24']
Exploring Operation: 24/4=6, Resulting Numbers: [21, 6]
Generated Node #0,0,0: 16:[21, 6] Operation: 24/4=6
Exploring Operation: 24-21=3, Resulting Numbers: [4, 3]
Generated Node #0,0,1: 16:[4, 3] Operation: 24-21=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[4, 3], Operations: ['54-30=24', '24-21=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[21, 6], Operations: ['54-30=24', '24/4=6']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,16 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: 16:[30, 4, 33], Operations: ['54-21=33']
Exploring Operation: 30-4=26, Resulting Numbers: [33, 26]
Generated Node #0,1,0: 16:[33, 26] Operation: 30-4=26
Exploring Operation: 33-30=3, Resulting Numbers: [4, 3]
Generated Node #0,1,1: 16:[4, 3] Operation: 33-30=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[4, 3], Operations: ['54-21=33', '33-30=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[33, 26], Operations: ['54-21=33', '30-4=26']
Exploring Operation: 33+26=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,16 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
|
[
4,
27,
49,
75
] | 94
|
[
"4*49=196",
"27+75=102",
"196-102=94"
] |
Current State: 94:[4, 27, 49, 75], Operations: []
Exploring Operation: 4*49=196, Resulting Numbers: [27, 75, 196]
Generated Node #2: [27, 75, 196] from Operation: 4*49=196
Current State: 94:[27, 75, 196], Operations: ['4*49=196']
Exploring Operation: 27+75=102, Resulting Numbers: [196, 102]
Generated Node #3: [196, 102] from Operation: 27+75=102
Current State: 94:[196, 102], Operations: ['4*49=196', '27+75=102']
Exploring Operation: 196-102=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4
|
Current State: 94:[4, 27, 49, 75], Operations: []
Exploring Operation: 75-27=48, Resulting Numbers: [4, 49, 48]
Generated Node #0,0: 94:[4, 49, 48] Operation: 75-27=48
Exploring Operation: 4+27=31, Resulting Numbers: [49, 75, 31]
Generated Node #0,1: 94:[49, 75, 31] Operation: 4+27=31
Exploring Operation: 4*27=108, Resulting Numbers: [49, 75, 108]
Generated Node #0,2: 94:[49, 75, 108] Operation: 4*27=108
Exploring Operation: 4+75=79, Resulting Numbers: [27, 49, 79]
Generated Node #0,3: 94:[27, 49, 79] Operation: 4+75=79
Exploring Operation: 27+75=102, Resulting Numbers: [4, 49, 102]
Generated Node #0,4: 94:[4, 49, 102] Operation: 27+75=102
Moving to Node #0,0
Current State: 94:[4, 49, 48], Operations: ['75-27=48']
Exploring Operation: 48-4=44, Resulting Numbers: [49, 44]
Generated Node #0,0,0: 94:[49, 44] Operation: 48-4=44
Exploring Operation: 49-48=1, Resulting Numbers: [4, 1]
Generated Node #0,0,1: 94:[4, 1] Operation: 49-48=1
Exploring Operation: 4+49=53, Resulting Numbers: [48, 53]
Generated Node #0,0,2: 94:[48, 53] Operation: 4+49=53
Exploring Operation: 49-4=45, Resulting Numbers: [48, 45]
Generated Node #0,0,3: 94:[48, 45] Operation: 49-4=45
Exploring Operation: 49+48=97, Resulting Numbers: [4, 97]
Generated Node #0,0,4: 94:[4, 97] Operation: 49+48=97
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[4, 1], Operations: ['75-27=48', '49-48=1']
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 94:[48, 45], Operations: ['75-27=48', '49-4=45']
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 48+45=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 48*45=2160, Resulting Numbers: [2160]
2160,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[49, 44], Operations: ['75-27=48', '48-4=44']
Exploring Operation: 49+44=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 49-44=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 49*44=2156, Resulting Numbers: [2156]
2156,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 94:[4, 97], Operations: ['75-27=48', '49+48=97']
Exploring Operation: 4+97=101, Resulting Numbers: [101]
101,94 unequal: No Solution
Exploring Operation: 4*97=388, Resulting Numbers: [388]
388,94 unequal: No Solution
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[48, 53], Operations: ['75-27=48', '4+49=53']
Exploring Operation: 48*53=2544, Resulting Numbers: [2544]
2544,94 unequal: No Solution
Exploring Operation: 53-48=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 48+53=101, Resulting Numbers: [101]
101,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 94:[4, 49, 102], Operations: ['27+75=102']
Exploring Operation: 102-4=98, Resulting Numbers: [49, 98]
Generated Node #0,4,0: 94:[49, 98] Operation: 102-4=98
Exploring Operation: 4+49=53, Resulting Numbers: [102, 53]
Generated Node #0,4,1: 94:[102, 53] Operation: 4+49=53
Exploring Operation: 102-49=53, Resulting Numbers: [4, 53]
Generated Node #0,4,2: 94:[4, 53] Operation: 102-49=53
Exploring Operation: 49-4=45, Resulting Numbers: [102, 45]
Generated Node #0,4,3: 94:[102, 45] Operation: 49-4=45
Exploring Operation: 4+102=106, Resulting Numbers: [49, 106]
Generated Node #0,4,4: 94:[49, 106] Operation: 4+102=106
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 94:[49, 98], Operations: ['27+75=102', '102-4=98']
Exploring Operation: 98-49=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 49+98=147, Resulting Numbers: [147]
147,94 unequal: No Solution
Exploring Operation: 98/49=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 49*98=4802, Resulting Numbers: [4802]
4802,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 94:[4, 53], Operations: ['27+75=102', '102-49=53']
Exploring Operation: 4*53=212, Resulting Numbers: [212]
212,94 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 94:[102, 45], Operations: ['27+75=102', '49-4=45']
Exploring Operation: 102+45=147, Resulting Numbers: [147]
147,94 unequal: No Solution
Exploring Operation: 102*45=4590, Resulting Numbers: [4590]
4590,94 unequal: No Solution
Exploring Operation: 102-45=57, Resulting Numbers: [57]
57,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 94:[102, 53], Operations: ['27+75=102', '4+49=53']
Exploring Operation: 102+53=155, Resulting Numbers: [155]
155,94 unequal: No Solution
Exploring Operation: 102-53=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 102*53=5406, Resulting Numbers: [5406]
5406,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 94:[49, 106], Operations: ['27+75=102', '4+102=106']
Exploring Operation: 49+106=155, Resulting Numbers: [155]
155,94 unequal: No Solution
Exploring Operation: 106-49=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 49*106=5194, Resulting Numbers: [5194]
5194,94 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: 94:[49, 75, 108], Operations: ['4*27=108']
Exploring Operation: 49+108=157, Resulting Numbers: [75, 157]
Generated Node #0,2,0: 94:[75, 157] Operation: 49+108=157
Exploring Operation: 108-75=33, Resulting Numbers: [49, 33]
Generated Node #0,2,1: 94:[49, 33] Operation: 108-75=33
Exploring Operation: 49+75=124, Resulting Numbers: [108, 124]
Generated Node #0,2,2: 94:[108, 124] Operation: 49+75=124
Exploring Operation: 75-49=26, Resulting Numbers: [108, 26]
Generated Node #0,2,3: 94:[108, 26] Operation: 75-49=26
Exploring Operation: 108-49=59, Resulting Numbers: [75, 59]
Generated Node #0,2,4: 94:[75, 59] Operation: 108-49=59
Moving to Node #0,1
Current State: 94:[49, 75, 31], Operations: ['4+27=31']
Exploring Operation: 75-49=26, Resulting Numbers: [31, 26]
Generated Node #0,1,0: 94:[31, 26] Operation: 75-49=26
Exploring Operation: 49+31=80, Resulting Numbers: [75, 80]
Generated Node #0,1,1: 94:[75, 80] Operation: 49+31=80
Exploring Operation: 75+31=106, Resulting Numbers: [49, 106]
Generated Node #0,1,2: 94:[49, 106] Operation: 75+31=106
Exploring Operation: 75-31=44, Resulting Numbers: [49, 44]
Generated Node #0,1,3: 94:[49, 44] Operation: 75-31=44
Exploring Operation: 49-31=18, Resulting Numbers: [75, 18]
Generated Node #0,1,4: 94:[75, 18] Operation: 49-31=18
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 94:[49, 44], Operations: ['4+27=31', '75-31=44']
Exploring Operation: 49*44=2156, Resulting Numbers: [2156]
2156,94 unequal: No Solution
Exploring Operation: 49-44=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 49+44=93, Resulting Numbers: [93]
93,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 94:[49, 106], Operations: ['4+27=31', '75+31=106']
Exploring Operation: 49+106=155, Resulting Numbers: [155]
155,94 unequal: No Solution
Exploring Operation: 49*106=5194, Resulting Numbers: [5194]
5194,94 unequal: No Solution
Exploring Operation: 106-49=57, Resulting Numbers: [57]
57,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[75, 80], Operations: ['4+27=31', '49+31=80']
Exploring Operation: 80-75=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 75+80=155, Resulting Numbers: [155]
155,94 unequal: No Solution
Exploring Operation: 75*80=6000, Resulting Numbers: [6000]
6000,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 94:[75, 18], Operations: ['4+27=31', '49-31=18']
Exploring Operation: 75+18=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 75*18=1350, Resulting Numbers: [1350]
1350,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[31, 26], Operations: ['4+27=31', '75-49=26']
Exploring Operation: 31+26=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 31*26=806, Resulting Numbers: [806]
806,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 94:[27, 49, 79], Operations: ['4+75=79']
Exploring Operation: 79-49=30, Resulting Numbers: [27, 30]
Generated Node #0,3,0: 94:[27, 30] Operation: 79-49=30
Exploring Operation: 79-27=52, Resulting Numbers: [49, 52]
Generated Node #0,3,1: 94:[49, 52] Operation: 79-27=52
Exploring Operation: 27+79=106, Resulting Numbers: [49, 106]
Generated Node #0,3,2: 94:[49, 106] Operation: 27+79=106
Exploring Operation: 49-27=22, Resulting Numbers: [79, 22]
Generated Node #0,3,3: 94:[79, 22] Operation: 49-27=22
Exploring Operation: 27+49=76, Resulting Numbers: [79, 76]
Generated Node #0,3,4: 94:[79, 76] Operation: 27+49=76
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 94:[49, 52], Operations: ['4+75=79', '79-27=52']
Exploring Operation: 49+52=101, Resulting Numbers: [101]
101,94 unequal: No Solution
Exploring Operation: 49*52=2548, Resulting Numbers: [2548]
2548,94 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 94:[49, 106], Operations: ['4+75=79', '27+79=106']
Exploring Operation: 49*106=5194, Resulting Numbers: [5194]
5194,94 unequal: No Solution
Exploring Operation: 106-49=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 49+106=155, Resulting Numbers: [155]
155,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 94:[79, 76], Operations: ['4+75=79', '27+49=76']
Exploring Operation: 79-76=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 79+76=155, Resulting Numbers: [155]
155,94 unequal: No Solution
Exploring Operation: 79*76=6004, Resulting Numbers: [6004]
6004,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 94:[79, 22], Operations: ['4+75=79', '49-27=22']
Exploring Operation: 79-22=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 79*22=1738, Resulting Numbers: [1738]
1738,94 unequal: No Solution
Exploring Operation: 79+22=101, Resulting Numbers: [101]
101,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 94:[27, 30], Operations: ['4+75=79', '79-49=30']
Exploring Operation: 27+30=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 27*30=810, Resulting Numbers: [810]
810,94 unequal: No Solution
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,94 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: 94:[49, 33], Operations: ['4*27=108', '108-75=33']
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,94 unequal: No Solution
Exploring Operation: 49*33=1617, Resulting Numbers: [1617]
1617,94 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Moving to Node #0,2,4
Current State: 94:[75, 59], Operations: ['4*27=108', '108-49=59']
Exploring Operation: 75+59=134, Resulting Numbers: [134]
134,94 unequal: No Solution
Exploring Operation: 75-59=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 75*59=4425, Resulting Numbers: [4425]
4425,94 unequal: No Solution
Moving to Node #0,2,3
Current State: 94:[108, 26], Operations: ['4*27=108', '75-49=26']
Exploring Operation: 108*26=2808, Resulting Numbers: [2808]
2808,94 unequal: No Solution
Exploring Operation: 108-26=82, Resulting Numbers: [82]
82,94 unequal: No Solution
Exploring Operation: 108+26=134, Resulting Numbers: [134]
134,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[108, 124], Operations: ['4*27=108', '49+75=124']
Exploring Operation: 108+124=232, Resulting Numbers: [232]
232,94 unequal: No Solution
Exploring Operation: 124-108=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 108*124=13392, Resulting Numbers: [13392]
13392,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[75, 157], Operations: ['4*27=108', '49+108=157']
Exploring Operation: 75*157=11775, Resulting Numbers: [11775]
11775,94 unequal: No Solution
Exploring Operation: 75+157=232, Resulting Numbers: [232]
232,94 unequal: No Solution
Exploring Operation: 157-75=82, Resulting Numbers: [82]
82,94 unequal: No Solution
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
94,
89,
39,
28
] | 16
|
[
"94-89=5",
"39-28=11",
"5+11=16"
] |
Current State: 16:[94, 89, 39, 28], Operations: []
Exploring Operation: 94-89=5, Resulting Numbers: [39, 28, 5]
Generated Node #2: [39, 28, 5] from Operation: 94-89=5
Current State: 16:[39, 28, 5], Operations: ['94-89=5']
Exploring Operation: 39-28=11, Resulting Numbers: [5, 11]
Generated Node #3: [5, 11] from Operation: 39-28=11
Current State: 16:[5, 11], Operations: ['94-89=5', '39-28=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4
|
Current State: 16:[94, 89, 39, 28], Operations: []
Exploring Operation: 94-39=55, Resulting Numbers: [89, 28, 55]
Generated Node #0,0: 16:[89, 28, 55] Operation: 94-39=55
Exploring Operation: 89-39=50, Resulting Numbers: [94, 28, 50]
Generated Node #0,1: 16:[94, 28, 50] Operation: 89-39=50
Exploring Operation: 94-28=66, Resulting Numbers: [89, 39, 66]
Generated Node #0,2: 16:[89, 39, 66] Operation: 94-28=66
Exploring Operation: 94-89=5, Resulting Numbers: [39, 28, 5]
Generated Node #0,3: 16:[39, 28, 5] Operation: 94-89=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 16:[39, 28, 5], Operations: ['94-89=5']
Exploring Operation: 39+5=44, Resulting Numbers: [28, 44]
Generated Node #0,3,0: 16:[28, 44] Operation: 39+5=44
Exploring Operation: 28-5=23, Resulting Numbers: [39, 23]
Generated Node #0,3,1: 16:[39, 23] Operation: 28-5=23
Exploring Operation: 39-28=11, Resulting Numbers: [5, 11]
Generated Node #0,3,2: 16:[5, 11] Operation: 39-28=11
Exploring Operation: 39-5=34, Resulting Numbers: [28, 34]
Generated Node #0,3,3: 16:[28, 34] Operation: 39-5=34
Moving to Node #0,3,2
Current State: 16:[5, 11], Operations: ['94-89=5', '39-28=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[94, 89, 39, 28], Operations: []
Exploring Operation: 94-89=5, Resulting Numbers: [39, 28, 5]
Generated Node #0,3: 16:[39, 28, 5] Operation: 94-89=5
Moving to Node #0,3
Current State: 16:[39, 28, 5], Operations: ['94-89=5']
Exploring Operation: 39-28=11, Resulting Numbers: [5, 11]
Generated Node #0,3,2: 16:[5, 11] Operation: 39-28=11
Moving to Node #0,3,2
Current State: 16:[5, 11], Operations: ['94-89=5', '39-28=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_4
|
sum_heuristic
|
[
37,
87,
26,
8
] | 78
|
[
"37-8=29",
"87*26=2262",
"2262/29=78"
] |
Current State: 78:[37, 87, 26, 8], Operations: []
Exploring Operation: 37-8=29, Resulting Numbers: [87, 26, 29]
Generated Node #2: [87, 26, 29] from Operation: 37-8=29
Current State: 78:[87, 26, 29], Operations: ['37-8=29']
Exploring Operation: 87*26=2262, Resulting Numbers: [29, 2262]
Generated Node #3: [29, 2262] from Operation: 87*26=2262
Current State: 78:[29, 2262], Operations: ['37-8=29', '87*26=2262']
Exploring Operation: 2262/29=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4
|
Current State: 78:[37, 87, 26, 8], Operations: []
Exploring Operation: 87-8=79, Resulting Numbers: [37, 26, 79]
Generated Node #0,0: 78:[37, 26, 79] Operation: 87-8=79
Exploring Operation: 37-8=29, Resulting Numbers: [87, 26, 29]
Generated Node #0,1: 78:[87, 26, 29] Operation: 37-8=29
Moving to Node #0,0
Current State: 78:[37, 26, 79], Operations: ['87-8=79']
Exploring Operation: 37-26=11, Resulting Numbers: [79, 11]
Generated Node #0,0,0: 78:[79, 11] Operation: 37-26=11
Exploring Operation: 79-37=42, Resulting Numbers: [26, 42]
Generated Node #0,0,1: 78:[26, 42] Operation: 79-37=42
Moving to Node #0,1
Current State: 78:[87, 26, 29], Operations: ['37-8=29']
Exploring Operation: 87/29=3, Resulting Numbers: [26, 3]
Generated Node #0,1,0: 78:[26, 3] Operation: 87/29=3
Exploring Operation: 29-26=3, Resulting Numbers: [87, 3]
Generated Node #0,1,1: 78:[87, 3] Operation: 29-26=3
Moving to Node #0,1,0
Current State: 78:[26, 3], Operations: ['37-8=29', '87/29=3']
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[37, 87, 26, 8], Operations: []
Exploring Operation: 37-8=29, Resulting Numbers: [87, 26, 29]
Generated Node #0,1: 78:[87, 26, 29] Operation: 37-8=29
Moving to Node #0,1
Current State: 78:[87, 26, 29], Operations: ['37-8=29']
Exploring Operation: 87/29=3, Resulting Numbers: [26, 3]
Generated Node #0,1,0: 78:[26, 3] Operation: 87/29=3
Moving to Node #0,1,0
Current State: 78:[26, 3], Operations: ['37-8=29', '87/29=3']
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.990451
|
hs_2
|
sum_heuristic
|
[
89,
54,
58,
85
] | 62
|
[
"89-54=35",
"85-58=27",
"35+27=62"
] |
Current State: 62:[89, 54, 58, 85], Operations: []
Exploring Operation: 89-54=35, Resulting Numbers: [58, 85, 35]
Generated Node #2: [58, 85, 35] from Operation: 89-54=35
Current State: 62:[58, 85, 35], Operations: ['89-54=35']
Exploring Operation: 85-58=27, Resulting Numbers: [35, 27]
Generated Node #3: [35, 27] from Operation: 85-58=27
Current State: 62:[35, 27], Operations: ['89-54=35', '85-58=27']
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4
|
Current State: 62:[89, 54, 58, 85], Operations: []
Exploring Operation: 89-54=35, Resulting Numbers: [58, 85, 35]
Generated Node #0,0: 62:[58, 85, 35] Operation: 89-54=35
Exploring Operation: 89-85=4, Resulting Numbers: [54, 58, 4]
Generated Node #0,1: 62:[54, 58, 4] Operation: 89-85=4
Moving to Node #0,1
Current State: 62:[54, 58, 4], Operations: ['89-85=4']
Exploring Operation: 58-54=4, Resulting Numbers: [4, 4]
Generated Node #0,1,0: 62:[4, 4] Operation: 58-54=4
Exploring Operation: 54+4=58, Resulting Numbers: [58, 58]
Generated Node #0,1,1: 62:[58, 58] Operation: 54+4=58
Moving to Node #0,0
Current State: 62:[58, 85, 35], Operations: ['89-54=35']
Exploring Operation: 85-58=27, Resulting Numbers: [35, 27]
Generated Node #0,0,0: 62:[35, 27] Operation: 85-58=27
Exploring Operation: 85-35=50, Resulting Numbers: [58, 50]
Generated Node #0,0,1: 62:[58, 50] Operation: 85-35=50
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[35, 27], Operations: ['89-54=35', '85-58=27']
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[89, 54, 58, 85], Operations: []
Exploring Operation: 89-54=35, Resulting Numbers: [58, 85, 35]
Generated Node #0,0: 62:[58, 85, 35] Operation: 89-54=35
Moving to Node #0,0
Current State: 62:[58, 85, 35], Operations: ['89-54=35']
Exploring Operation: 85-58=27, Resulting Numbers: [35, 27]
Generated Node #0,0,0: 62:[35, 27] Operation: 85-58=27
Moving to Node #0,0,0
Current State: 62:[35, 27], Operations: ['89-54=35', '85-58=27']
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451
|
hs_2
|
sum_heuristic
|
[
35,
35,
64,
79
] | 55
|
[
"35+35=70",
"79-64=15",
"70-15=55"
] |
Current State: 55:[35, 35, 64, 79], Operations: []
Exploring Operation: 35+35=70, Resulting Numbers: [64, 79, 70]
Generated Node #2: [64, 79, 70] from Operation: 35+35=70
Current State: 55:[64, 79, 70], Operations: ['35+35=70']
Exploring Operation: 79-64=15, Resulting Numbers: [70, 15]
Generated Node #3: [70, 15] from Operation: 79-64=15
Current State: 55:[70, 15], Operations: ['35+35=70', '79-64=15']
Exploring Operation: 70-15=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4
|
Current State: 55:[35, 35, 64, 79], Operations: []
Exploring Operation: 79-35=44, Resulting Numbers: [35, 64, 44]
Generated Node #0,0: 55:[35, 64, 44] Operation: 79-35=44
Exploring Operation: 35-35=0, Resulting Numbers: [64, 79, 0]
Generated Node #0,1: 55:[64, 79, 0] Operation: 35-35=0
Exploring Operation: 35/35=1, Resulting Numbers: [64, 79, 1]
Generated Node #0,2: 55:[64, 79, 1] Operation: 35/35=1
Exploring Operation: 79-64=15, Resulting Numbers: [35, 35, 15]
Generated Node #0,3: 55:[35, 35, 15] Operation: 79-64=15
Exploring Operation: 79-35=44, Resulting Numbers: [35, 64, 44]
Generated Node #0,4: 55:[35, 64, 44] Operation: 79-35=44
Moving to Node #0,2
Current State: 55:[64, 79, 1], Operations: ['35/35=1']
Exploring Operation: 79-64=15, Resulting Numbers: [1, 15]
Generated Node #0,2,0: 55:[1, 15] Operation: 79-64=15
Exploring Operation: 64*1=64, Resulting Numbers: [79, 64]
Generated Node #0,2,1: 55:[79, 64] Operation: 64*1=64
Exploring Operation: 64-1=63, Resulting Numbers: [79, 63]
Generated Node #0,2,2: 55:[79, 63] Operation: 64-1=63
Exploring Operation: 64/1=64, Resulting Numbers: [79, 64]
Generated Node #0,2,3: 55:[79, 64] Operation: 64/1=64
Exploring Operation: 79-1=78, Resulting Numbers: [64, 78]
Generated Node #0,2,4: 55:[64, 78] Operation: 79-1=78
Moving to Node #0,1
Current State: 55:[64, 79, 0], Operations: ['35-35=0']
Exploring Operation: 79-64=15, Resulting Numbers: [0, 15]
Generated Node #0,1,0: 55:[0, 15] Operation: 79-64=15
Exploring Operation: 64-0=64, Resulting Numbers: [79, 64]
Generated Node #0,1,1: 55:[79, 64] Operation: 64-0=64
Exploring Operation: 64+0=64, Resulting Numbers: [79, 64]
Generated Node #0,1,2: 55:[79, 64] Operation: 64+0=64
Exploring Operation: 79*0=0, Resulting Numbers: [64, 0]
Generated Node #0,1,3: 55:[64, 0] Operation: 79*0=0
Exploring Operation: 64*0=0, Resulting Numbers: [79, 0]
Generated Node #0,1,4: 55:[79, 0] Operation: 64*0=0
Moving to Node #0,0
Current State: 55:[35, 64, 44], Operations: ['79-35=44']
Exploring Operation: 35+64=99, Resulting Numbers: [44, 99]
Generated Node #0,0,0: 55:[44, 99] Operation: 35+64=99
Exploring Operation: 35+44=79, Resulting Numbers: [64, 79]
Generated Node #0,0,1: 55:[64, 79] Operation: 35+44=79
Exploring Operation: 44-35=9, Resulting Numbers: [64, 9]
Generated Node #0,0,2: 55:[64, 9] Operation: 44-35=9
Exploring Operation: 64-35=29, Resulting Numbers: [44, 29]
Generated Node #0,0,3: 55:[44, 29] Operation: 64-35=29
Exploring Operation: 64-44=20, Resulting Numbers: [35, 20]
Generated Node #0,0,4: 55:[35, 20] Operation: 64-44=20
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 55:[64, 9], Operations: ['79-35=44', '44-35=9']
Exploring Operation: 64*9=576, Resulting Numbers: [576]
576,55 unequal: No Solution
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,55 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[35, 35, 64, 79], Operations: []
Exploring Operation: 79-35=44, Resulting Numbers: [35, 64, 44]
Generated Node #0,0: 55:[35, 64, 44] Operation: 79-35=44
Moving to Node #0,0
Current State: 55:[35, 64, 44], Operations: ['79-35=44']
Exploring Operation: 44-35=9, Resulting Numbers: [64, 9]
Generated Node #0,0,2: 55:[64, 9] Operation: 44-35=9
Moving to Node #0,0,2
Current State: 55:[64, 9], Operations: ['79-35=44', '44-35=9']
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563
|
hs_5
|
sum_heuristic
|
[
19,
56,
10,
1
] | 58
|
[
"19+1=20",
"20/10=2",
"56+2=58"
] |
Current State: 58:[19, 56, 10, 1], Operations: []
Exploring Operation: 19+1=20, Resulting Numbers: [56, 10, 20]
Generated Node #2: [56, 10, 20] from Operation: 19+1=20
Current State: 58:[56, 10, 20], Operations: ['19+1=20']
Exploring Operation: 20/10=2, Resulting Numbers: [56, 2]
Generated Node #3: [56, 2] from Operation: 20/10=2
Current State: 58:[56, 2], Operations: ['19+1=20', '20/10=2']
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4
|
Current State: 58:[19, 56, 10, 1], Operations: []
Exploring Operation: 19+10=29, Resulting Numbers: [56, 1, 29]
Generated Node #0,0: 58:[56, 1, 29] Operation: 19+10=29
Exploring Operation: 19-10=9, Resulting Numbers: [56, 1, 9]
Generated Node #0,1: 58:[56, 1, 9] Operation: 19-10=9
Exploring Operation: 19+1=20, Resulting Numbers: [56, 10, 20]
Generated Node #0,2: 58:[56, 10, 20] Operation: 19+1=20
Exploring Operation: 56-19=37, Resulting Numbers: [10, 1, 37]
Generated Node #0,3: 58:[10, 1, 37] Operation: 56-19=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[56, 1, 29], Operations: ['19+10=29']
Exploring Operation: 1*29=29, Resulting Numbers: [56, 29]
Generated Node #0,0,0: 58:[56, 29] Operation: 1*29=29
Exploring Operation: 56+1=57, Resulting Numbers: [29, 57]
Generated Node #0,0,1: 58:[29, 57] Operation: 56+1=57
Exploring Operation: 56/1=56, Resulting Numbers: [29, 56]
Generated Node #0,0,2: 58:[29, 56] Operation: 56/1=56
Exploring Operation: 56*1=56, Resulting Numbers: [29, 56]
Generated Node #0,0,3: 58:[29, 56] Operation: 56*1=56
Moving to Node #0,0,1
Current State: 58:[29, 57], Operations: ['19+10=29', '56+1=57']
Exploring Operation: 29+57=86, Resulting Numbers: [86]
86,58 unequal: No Solution
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 29*57=1653, Resulting Numbers: [1653]
1653,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[29, 56], Operations: ['19+10=29', '56/1=56']
Exploring Operation: 29*56=1624, Resulting Numbers: [1624]
1624,58 unequal: No Solution
Exploring Operation: 29+56=85, Resulting Numbers: [85]
85,58 unequal: No Solution
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[56, 29], Operations: ['19+10=29', '1*29=29']
Exploring Operation: 56*29=1624, Resulting Numbers: [1624]
1624,58 unequal: No Solution
Exploring Operation: 56+29=85, Resulting Numbers: [85]
85,58 unequal: No Solution
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,58 unequal: No Solution
Moving to Node #0,0,3
Current State: 58:[29, 56], Operations: ['19+10=29', '56*1=56']
Exploring Operation: 29+56=85, Resulting Numbers: [85]
85,58 unequal: No Solution
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,58 unequal: No Solution
Exploring Operation: 29*56=1624, Resulting Numbers: [1624]
1624,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
Current State: 58:[56, 1, 9], Operations: ['19-10=9']
Exploring Operation: 56+9=65, Resulting Numbers: [1, 65]
Generated Node #0,1,0: 58:[1, 65] Operation: 56+9=65
Exploring Operation: 56*1=56, Resulting Numbers: [9, 56]
Generated Node #0,1,1: 58:[9, 56] Operation: 56*1=56
Exploring Operation: 9-1=8, Resulting Numbers: [56, 8]
Generated Node #0,1,2: 58:[56, 8] Operation: 9-1=8
Exploring Operation: 56+1=57, Resulting Numbers: [9, 57]
Generated Node #0,1,3: 58:[9, 57] Operation: 56+1=57
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 58:[1, 65], Operations: ['19-10=9', '56+9=65']
Exploring Operation: 1*65=65, Resulting Numbers: [65]
65,58 unequal: No Solution
Exploring Operation: 1+65=66, Resulting Numbers: [66]
66,58 unequal: No Solution
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,58 unequal: No Solution
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 58:[56, 8], Operations: ['19-10=9', '9-1=8']
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 56*8=448, Resulting Numbers: [448]
448,58 unequal: No Solution
Exploring Operation: 56+8=64, Resulting Numbers: [64]
64,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 58:[9, 57], Operations: ['19-10=9', '56+1=57']
Exploring Operation: 9*57=513, Resulting Numbers: [513]
513,58 unequal: No Solution
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 9+57=66, Resulting Numbers: [66]
66,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[9, 56], Operations: ['19-10=9', '56*1=56']
Exploring Operation: 9*56=504, Resulting Numbers: [504]
504,58 unequal: No Solution
Exploring Operation: 9+56=65, Resulting Numbers: [65]
65,58 unequal: No Solution
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 58:[10, 1, 37], Operations: ['56-19=37']
Exploring Operation: 37-10=27, Resulting Numbers: [1, 27]
Generated Node #0,3,0: 58:[1, 27] Operation: 37-10=27
Exploring Operation: 10+37=47, Resulting Numbers: [1, 47]
Generated Node #0,3,1: 58:[1, 47] Operation: 10+37=47
Exploring Operation: 10-1=9, Resulting Numbers: [37, 9]
Generated Node #0,3,2: 58:[37, 9] Operation: 10-1=9
Exploring Operation: 37-1=36, Resulting Numbers: [10, 36]
Generated Node #0,3,3: 58:[10, 36] Operation: 37-1=36
Moving to Node #0,3,0
Current State: 58:[1, 27], Operations: ['56-19=37', '37-10=27']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,58 unequal: No Solution
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,58 unequal: No Solution
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,58 unequal: No Solution
Moving to Node #0,3,1
Current State: 58:[1, 47], Operations: ['56-19=37', '10+37=47']
Exploring Operation: 1*47=47, Resulting Numbers: [47]
47,58 unequal: No Solution
Exploring Operation: 1+47=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,58 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Moving to Node #0,3,3
Current State: 58:[10, 36], Operations: ['56-19=37', '37-1=36']
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,58 unequal: No Solution
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,58 unequal: No Solution
Moving to Node #0,3,2
Current State: 58:[37, 9], Operations: ['56-19=37', '10-1=9']
Exploring Operation: 37*9=333, Resulting Numbers: [333]
333,58 unequal: No Solution
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[56, 10, 20], Operations: ['19+1=20']
Exploring Operation: 56-20=36, Resulting Numbers: [10, 36]
Generated Node #0,2,0: 58:[10, 36] Operation: 56-20=36
Exploring Operation: 20/10=2, Resulting Numbers: [56, 2]
Generated Node #0,2,1: 58:[56, 2] Operation: 20/10=2
Exploring Operation: 10+20=30, Resulting Numbers: [56, 30]
Generated Node #0,2,2: 58:[56, 30] Operation: 10+20=30
Exploring Operation: 20-10=10, Resulting Numbers: [56, 10]
Generated Node #0,2,3: 58:[56, 10] Operation: 20-10=10
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 58:[56, 2], Operations: ['19+1=20', '20/10=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:[19, 56, 10, 1], Operations: []
Exploring Operation: 19+1=20, Resulting Numbers: [56, 10, 20]
Generated Node #0,2: 58:[56, 10, 20] Operation: 19+1=20
Moving to Node #0,2
Current State: 58:[56, 10, 20], Operations: ['19+1=20']
Exploring Operation: 20/10=2, Resulting Numbers: [56, 2]
Generated Node #0,2,1: 58:[56, 2] Operation: 20/10=2
Moving to Node #0,2,1
Current State: 58:[56, 2], Operations: ['19+1=20', '20/10=2']
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.942708
|
hs_4
|
sum_heuristic
|
[
75,
99,
80,
8
] | 33
|
[
"80-75=5",
"8-5=3",
"99/3=33"
] |
Current State: 33:[75, 99, 80, 8], Operations: []
Exploring Operation: 80-75=5, Resulting Numbers: [99, 8, 5]
Generated Node #2: [99, 8, 5] from Operation: 80-75=5
Current State: 33:[99, 8, 5], Operations: ['80-75=5']
Exploring Operation: 8-5=3, Resulting Numbers: [99, 3]
Generated Node #3: [99, 3] from Operation: 8-5=3
Current State: 33:[99, 3], Operations: ['80-75=5', '8-5=3']
Exploring Operation: 99/3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4
|
Current State: 33:[75, 99, 80, 8], Operations: []
Exploring Operation: 99-75=24, Resulting Numbers: [80, 8, 24]
Generated Node #0,0: 33:[80, 8, 24] Operation: 99-75=24
Exploring Operation: 99-80=19, Resulting Numbers: [75, 8, 19]
Generated Node #0,1: 33:[75, 8, 19] Operation: 99-80=19
Moving to Node #0,1
Current State: 33:[75, 8, 19], Operations: ['99-80=19']
Exploring Operation: 75-19=56, Resulting Numbers: [8, 56]
Generated Node #0,1,0: 33:[8, 56] Operation: 75-19=56
Exploring Operation: 75-8=67, Resulting Numbers: [19, 67]
Generated Node #0,1,1: 33:[19, 67] Operation: 75-8=67
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[8, 56], Operations: ['99-80=19', '75-19=56']
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[19, 67], Operations: ['99-80=19', '75-8=67']
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Exploring Operation: 19+67=86, Resulting Numbers: [86]
86,33 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: 33:[80, 8, 24], Operations: ['99-75=24']
Exploring Operation: 80-24=56, Resulting Numbers: [8, 56]
Generated Node #0,0,0: 33:[8, 56] Operation: 80-24=56
Exploring Operation: 80/8=10, Resulting Numbers: [24, 10]
Generated Node #0,0,1: 33:[24, 10] Operation: 80/8=10
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[24, 10], Operations: ['99-75=24', '80/8=10']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,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,0,0
Current State: 33:[8, 56], Operations: ['99-75=24', '80-24=56']
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
73,
77,
85,
60
] | 82
|
[
"85-73=12",
"60/12=5",
"77+5=82"
] |
Current State: 82:[73, 77, 85, 60], Operations: []
Exploring Operation: 85-73=12, Resulting Numbers: [77, 60, 12]
Generated Node #2: [77, 60, 12] from Operation: 85-73=12
Current State: 82:[77, 60, 12], Operations: ['85-73=12']
Exploring Operation: 60/12=5, Resulting Numbers: [77, 5]
Generated Node #3: [77, 5] from Operation: 60/12=5
Current State: 82:[77, 5], Operations: ['85-73=12', '60/12=5']
Exploring Operation: 77+5=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4
|
Current State: 82:[73, 77, 85, 60], Operations: []
Exploring Operation: 73-60=13, Resulting Numbers: [77, 85, 13]
Generated Node #0,0: 82:[77, 85, 13] Operation: 73-60=13
Exploring Operation: 77-60=17, Resulting Numbers: [73, 85, 17]
Generated Node #0,1: 82:[73, 85, 17] Operation: 77-60=17
Exploring Operation: 85-73=12, Resulting Numbers: [77, 60, 12]
Generated Node #0,2: 82:[77, 60, 12] Operation: 85-73=12
Exploring Operation: 85-60=25, Resulting Numbers: [73, 77, 25]
Generated Node #0,3: 82:[73, 77, 25] Operation: 85-60=25
Exploring Operation: 77-73=4, Resulting Numbers: [85, 60, 4]
Generated Node #0,4: 82:[85, 60, 4] Operation: 77-73=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[77, 85, 13], Operations: ['73-60=13']
Exploring Operation: 85-13=72, Resulting Numbers: [77, 72]
Generated Node #0,0,0: 82:[77, 72] Operation: 85-13=72
Exploring Operation: 85+13=98, Resulting Numbers: [77, 98]
Generated Node #0,0,1: 82:[77, 98] Operation: 85+13=98
Exploring Operation: 85-77=8, Resulting Numbers: [13, 8]
Generated Node #0,0,2: 82:[13, 8] Operation: 85-77=8
Exploring Operation: 77-13=64, Resulting Numbers: [85, 64]
Generated Node #0,0,3: 82:[85, 64] Operation: 77-13=64
Exploring Operation: 77+13=90, Resulting Numbers: [85, 90]
Generated Node #0,0,4: 82:[85, 90] Operation: 77+13=90
Moving to Node #0,0,4
Current State: 82:[85, 90], Operations: ['73-60=13', '77+13=90']
Exploring Operation: 90-85=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 85+90=175, Resulting Numbers: [175]
175,82 unequal: No Solution
Exploring Operation: 85*90=7650, Resulting Numbers: [7650]
7650,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[77, 72], Operations: ['73-60=13', '85-13=72']
Exploring Operation: 77*72=5544, Resulting Numbers: [5544]
5544,82 unequal: No Solution
Exploring Operation: 77+72=149, Resulting Numbers: [149]
149,82 unequal: No Solution
Exploring Operation: 77-72=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[13, 8], Operations: ['73-60=13', '85-77=8']
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,82 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[77, 98], Operations: ['73-60=13', '85+13=98']
Exploring Operation: 77+98=175, Resulting Numbers: [175]
175,82 unequal: No Solution
Exploring Operation: 77*98=7546, Resulting Numbers: [7546]
7546,82 unequal: No Solution
Exploring Operation: 98-77=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Moving to Node #0,0,3
Current State: 82:[85, 64], Operations: ['73-60=13', '77-13=64']
Exploring Operation: 85-64=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 85*64=5440, Resulting Numbers: [5440]
5440,82 unequal: No Solution
Exploring Operation: 85+64=149, Resulting Numbers: [149]
149,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,4
Current State: 82:[85, 60, 4], Operations: ['77-73=4']
Exploring Operation: 60+4=64, Resulting Numbers: [85, 64]
Generated Node #0,4,0: 82:[85, 64] Operation: 60+4=64
Exploring Operation: 60/4=15, Resulting Numbers: [85, 15]
Generated Node #0,4,1: 82:[85, 15] Operation: 60/4=15
Exploring Operation: 85-60=25, Resulting Numbers: [4, 25]
Generated Node #0,4,2: 82:[4, 25] Operation: 85-60=25
Exploring Operation: 60-4=56, Resulting Numbers: [85, 56]
Generated Node #0,4,3: 82:[85, 56] Operation: 60-4=56
Exploring Operation: 85-4=81, Resulting Numbers: [60, 81]
Generated Node #0,4,4: 82:[60, 81] Operation: 85-4=81
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 82:[85, 15], Operations: ['77-73=4', '60/4=15']
Exploring Operation: 85*15=1275, Resulting Numbers: [1275]
1275,82 unequal: No Solution
Exploring Operation: 85+15=100, Resulting Numbers: [100]
100,82 unequal: No Solution
Exploring Operation: 85-15=70, Resulting Numbers: [70]
70,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,2
Current State: 82:[4, 25], Operations: ['77-73=4', '85-60=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,82 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 4+25=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,4,3
Current State: 82:[85, 56], Operations: ['77-73=4', '60-4=56']
Exploring Operation: 85+56=141, Resulting Numbers: [141]
141,82 unequal: No Solution
Exploring Operation: 85*56=4760, Resulting Numbers: [4760]
4760,82 unequal: No Solution
Exploring Operation: 85-56=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,4,4
Current State: 82:[60, 81], Operations: ['77-73=4', '85-4=81']
Exploring Operation: 81-60=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 60*81=4860, Resulting Numbers: [4860]
4860,82 unequal: No Solution
Exploring Operation: 60+81=141, Resulting Numbers: [141]
141,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:[85, 64], Operations: ['77-73=4', '60+4=64']
Exploring Operation: 85*64=5440, Resulting Numbers: [5440]
5440,82 unequal: No Solution
Exploring Operation: 85+64=149, Resulting Numbers: [149]
149,82 unequal: No Solution
Exploring Operation: 85-64=21, Resulting Numbers: [21]
21,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[73, 85, 17], Operations: ['77-60=17']
Exploring Operation: 73+17=90, Resulting Numbers: [85, 90]
Generated Node #0,1,0: 82:[85, 90] Operation: 73+17=90
Exploring Operation: 85-17=68, Resulting Numbers: [73, 68]
Generated Node #0,1,1: 82:[73, 68] Operation: 85-17=68
Exploring Operation: 85/17=5, Resulting Numbers: [73, 5]
Generated Node #0,1,2: 82:[73, 5] Operation: 85/17=5
Exploring Operation: 85-73=12, Resulting Numbers: [17, 12]
Generated Node #0,1,3: 82:[17, 12] Operation: 85-73=12
Exploring Operation: 73-17=56, Resulting Numbers: [85, 56]
Generated Node #0,1,4: 82:[85, 56] Operation: 73-17=56
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[85, 90], Operations: ['77-60=17', '73+17=90']
Exploring Operation: 85*90=7650, Resulting Numbers: [7650]
7650,82 unequal: No Solution
Exploring Operation: 90-85=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 85+90=175, Resulting Numbers: [175]
175,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 82:[73, 5], Operations: ['77-60=17', '85/17=5']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,82 unequal: No Solution
Exploring Operation: 73*5=365, Resulting Numbers: [365]
365,82 unequal: No Solution
Exploring Operation: 73+5=78, Resulting Numbers: [78]
78,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 82:[85, 56], Operations: ['77-60=17', '73-17=56']
Exploring Operation: 85-56=29, Resulting Numbers: [29]
29,82 unequal: No Solution
Exploring Operation: 85*56=4760, Resulting Numbers: [4760]
4760,82 unequal: No Solution
Exploring Operation: 85+56=141, Resulting Numbers: [141]
141,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[73, 68], Operations: ['77-60=17', '85-17=68']
Exploring Operation: 73-68=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 73+68=141, Resulting Numbers: [141]
141,82 unequal: No Solution
Exploring Operation: 73*68=4964, Resulting Numbers: [4964]
4964,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 82:[17, 12], Operations: ['77-60=17', '85-73=12']
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,82 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,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:[73, 77, 25], Operations: ['85-60=25']
Exploring Operation: 77-73=4, Resulting Numbers: [25, 4]
Generated Node #0,3,0: 82:[25, 4] Operation: 77-73=4
Exploring Operation: 77-25=52, Resulting Numbers: [73, 52]
Generated Node #0,3,1: 82:[73, 52] Operation: 77-25=52
Exploring Operation: 73-25=48, Resulting Numbers: [77, 48]
Generated Node #0,3,2: 82:[77, 48] Operation: 73-25=48
Exploring Operation: 77+25=102, Resulting Numbers: [73, 102]
Generated Node #0,3,3: 82:[73, 102] Operation: 77+25=102
Exploring Operation: 73+25=98, Resulting Numbers: [77, 98]
Generated Node #0,3,4: 82:[77, 98] Operation: 73+25=98
Moving to Node #0,3,2
Current State: 82:[77, 48], Operations: ['85-60=25', '73-25=48']
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,82 unequal: No Solution
Exploring Operation: 77+48=125, Resulting Numbers: [125]
125,82 unequal: No Solution
Exploring Operation: 77*48=3696, Resulting Numbers: [3696]
3696,82 unequal: No Solution
Moving to Node #0,3,0
Current State: 82:[25, 4], Operations: ['85-60=25', '77-73=4']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,82 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,82 unequal: No Solution
Moving to Node #0,3,1
Current State: 82:[73, 52], Operations: ['85-60=25', '77-25=52']
Exploring Operation: 73*52=3796, Resulting Numbers: [3796]
3796,82 unequal: No Solution
Exploring Operation: 73-52=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 73+52=125, Resulting Numbers: [125]
125,82 unequal: No Solution
Moving to Node #0,3,4
Current State: 82:[77, 98], Operations: ['85-60=25', '73+25=98']
Exploring Operation: 98-77=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 77*98=7546, Resulting Numbers: [7546]
7546,82 unequal: No Solution
Exploring Operation: 77+98=175, Resulting Numbers: [175]
175,82 unequal: No Solution
Moving to Node #0,3,3
Current State: 82:[73, 102], Operations: ['85-60=25', '77+25=102']
Exploring Operation: 73*102=7446, Resulting Numbers: [7446]
7446,82 unequal: No Solution
Exploring Operation: 73+102=175, Resulting Numbers: [175]
175,82 unequal: No Solution
Exploring Operation: 102-73=29, Resulting Numbers: [29]
29,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:[77, 60, 12], Operations: ['85-73=12']
Exploring Operation: 77-60=17, Resulting Numbers: [12, 17]
Generated Node #0,2,0: 82:[12, 17] Operation: 77-60=17
Exploring Operation: 60-12=48, Resulting Numbers: [77, 48]
Generated Node #0,2,1: 82:[77, 48] Operation: 60-12=48
Exploring Operation: 77+12=89, Resulting Numbers: [60, 89]
Generated Node #0,2,2: 82:[60, 89] Operation: 77+12=89
Exploring Operation: 60+12=72, Resulting Numbers: [77, 72]
Generated Node #0,2,3: 82:[77, 72] Operation: 60+12=72
Exploring Operation: 60/12=5, Resulting Numbers: [77, 5]
Generated Node #0,2,4: 82:[77, 5] Operation: 60/12=5
Moving to Node #0,2,4
Current State: 82:[77, 5], Operations: ['85-73=12', '60/12=5']
Exploring Operation: 77+5=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[73, 77, 85, 60], Operations: []
Exploring Operation: 85-73=12, Resulting Numbers: [77, 60, 12]
Generated Node #0,2: 82:[77, 60, 12] Operation: 85-73=12
Moving to Node #0,2
Current State: 82:[77, 60, 12], Operations: ['85-73=12']
Exploring Operation: 60/12=5, Resulting Numbers: [77, 5]
Generated Node #0,2,4: 82:[77, 5] Operation: 60/12=5
Moving to Node #0,2,4
Current State: 82:[77, 5], Operations: ['85-73=12', '60/12=5']
Exploring Operation: 77+5=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.917535
|
hs_5
|
sum_heuristic
|
[
19,
99,
69,
95
] | 84
|
[
"99-19=80",
"69+95=164",
"164-80=84"
] |
Current State: 84:[19, 99, 69, 95], Operations: []
Exploring Operation: 99-19=80, Resulting Numbers: [69, 95, 80]
Generated Node #2: [69, 95, 80] from Operation: 99-19=80
Current State: 84:[69, 95, 80], Operations: ['99-19=80']
Exploring Operation: 69+95=164, Resulting Numbers: [80, 164]
Generated Node #3: [80, 164] from Operation: 69+95=164
Current State: 84:[80, 164], Operations: ['99-19=80', '69+95=164']
Exploring Operation: 164-80=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4
|
Current State: 84:[19, 99, 69, 95], Operations: []
Exploring Operation: 99-69=30, Resulting Numbers: [19, 95, 30]
Generated Node #0,0: 84:[19, 95, 30] Operation: 99-69=30
Moving to Node #0,0
Current State: 84:[19, 95, 30], Operations: ['99-69=30']
Exploring Operation: 95/19=5, Resulting Numbers: [30, 5]
Generated Node #0,0,0: 84:[30, 5] Operation: 95/19=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[30, 5], Operations: ['99-69=30', '95/19=5']
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,84 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
|
[
27,
8,
14,
41
] | 63
|
[
"27-14=13",
"8*13=104",
"104-41=63"
] |
Current State: 63:[27, 8, 14, 41], Operations: []
Exploring Operation: 27-14=13, Resulting Numbers: [8, 41, 13]
Generated Node #2: [8, 41, 13] from Operation: 27-14=13
Current State: 63:[8, 41, 13], Operations: ['27-14=13']
Exploring Operation: 8*13=104, Resulting Numbers: [41, 104]
Generated Node #3: [41, 104] from Operation: 8*13=104
Current State: 63:[41, 104], Operations: ['27-14=13', '8*13=104']
Exploring Operation: 104-41=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4
|
Current State: 63:[27, 8, 14, 41], Operations: []
Exploring Operation: 41-27=14, Resulting Numbers: [8, 14, 14]
Generated Node #0,0: 63:[8, 14, 14] Operation: 41-27=14
Exploring Operation: 14+41=55, Resulting Numbers: [27, 8, 55]
Generated Node #0,1: 63:[27, 8, 55] Operation: 14+41=55
Exploring Operation: 27+41=68, Resulting Numbers: [8, 14, 68]
Generated Node #0,2: 63:[8, 14, 68] Operation: 27+41=68
Exploring Operation: 41-8=33, Resulting Numbers: [27, 14, 33]
Generated Node #0,3: 63:[27, 14, 33] Operation: 41-8=33
Exploring Operation: 41-14=27, Resulting Numbers: [27, 8, 27]
Generated Node #0,4: 63:[27, 8, 27] Operation: 41-14=27
Moving to Node #0,0
Current State: 63:[8, 14, 14], Operations: ['41-27=14']
Exploring Operation: 14-14=0, Resulting Numbers: [8, 0]
Generated Node #0,0,0: 63:[8, 0] Operation: 14-14=0
Exploring Operation: 14-8=6, Resulting Numbers: [14, 6]
Generated Node #0,0,1: 63:[14, 6] Operation: 14-8=6
Exploring Operation: 8+14=22, Resulting Numbers: [14, 22]
Generated Node #0,0,2: 63:[14, 22] Operation: 8+14=22
Exploring Operation: 14/14=1, Resulting Numbers: [8, 1]
Generated Node #0,0,3: 63:[8, 1] Operation: 14/14=1
Exploring Operation: 8+14=22, Resulting Numbers: [14, 22]
Generated Node #0,0,4: 63:[14, 22] Operation: 8+14=22
Moving to Node #0,2
Current State: 63:[8, 14, 68], Operations: ['27+41=68']
Exploring Operation: 68-14=54, Resulting Numbers: [8, 54]
Generated Node #0,2,0: 63:[8, 54] Operation: 68-14=54
Exploring Operation: 8+68=76, Resulting Numbers: [14, 76]
Generated Node #0,2,1: 63:[14, 76] Operation: 8+68=76
Exploring Operation: 8+14=22, Resulting Numbers: [68, 22]
Generated Node #0,2,2: 63:[68, 22] Operation: 8+14=22
Exploring Operation: 14-8=6, Resulting Numbers: [68, 6]
Generated Node #0,2,3: 63:[68, 6] Operation: 14-8=6
Exploring Operation: 68-8=60, Resulting Numbers: [14, 60]
Generated Node #0,2,4: 63:[14, 60] Operation: 68-8=60
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 63:[68, 22], Operations: ['27+41=68', '8+14=22']
Exploring Operation: 68+22=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 68*22=1496, Resulting Numbers: [1496]
1496,63 unequal: No Solution
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,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,3
Current State: 63:[68, 6], Operations: ['27+41=68', '14-8=6']
Exploring Operation: 68*6=408, Resulting Numbers: [408]
408,63 unequal: No Solution
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 68+6=74, Resulting Numbers: [74]
74,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,4
Current State: 63:[14, 60], Operations: ['27+41=68', '68-8=60']
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 14*60=840, Resulting Numbers: [840]
840,63 unequal: No Solution
Exploring Operation: 14+60=74, Resulting Numbers: [74]
74,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:[8, 54], Operations: ['27+41=68', '68-14=54']
Exploring Operation: 8*54=432, Resulting Numbers: [432]
432,63 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,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:[14, 76], Operations: ['27+41=68', '8+68=76']
Exploring Operation: 14+76=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 76-14=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 14*76=1064, Resulting Numbers: [1064]
1064,63 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: 63:[27, 8, 27], Operations: ['41-14=27']
Exploring Operation: 27+27=54, Resulting Numbers: [8, 54]
Generated Node #0,4,0: 63:[8, 54] Operation: 27+27=54
Exploring Operation: 27-8=19, Resulting Numbers: [27, 19]
Generated Node #0,4,1: 63:[27, 19] Operation: 27-8=19
Exploring Operation: 27-8=19, Resulting Numbers: [27, 19]
Generated Node #0,4,2: 63:[27, 19] Operation: 27-8=19
Exploring Operation: 27-27=0, Resulting Numbers: [8, 0]
Generated Node #0,4,3: 63:[8, 0] Operation: 27-27=0
Exploring Operation: 27/27=1, Resulting Numbers: [8, 1]
Generated Node #0,4,4: 63:[8, 1] Operation: 27/27=1
Moving to Node #0,1
Current State: 63:[27, 8, 55], Operations: ['14+41=55']
Exploring Operation: 55-27=28, Resulting Numbers: [8, 28]
Generated Node #0,1,0: 63:[8, 28] Operation: 55-27=28
Exploring Operation: 8+55=63, Resulting Numbers: [27, 63]
Generated Node #0,1,1: 63:[27, 63] Operation: 8+55=63
Exploring Operation: 27-8=19, Resulting Numbers: [55, 19]
Generated Node #0,1,2: 63:[55, 19] Operation: 27-8=19
Exploring Operation: 27+8=35, Resulting Numbers: [55, 35]
Generated Node #0,1,3: 63:[55, 35] Operation: 27+8=35
Exploring Operation: 27+55=82, Resulting Numbers: [8, 82]
Generated Node #0,1,4: 63:[8, 82] Operation: 27+55=82
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 63:[27, 63], Operations: ['14+41=55', '8+55=63']
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,63 unequal: No Solution
Exploring Operation: 27*63=1701, Resulting Numbers: [1701]
1701,63 unequal: No Solution
Exploring Operation: 27+63=90, Resulting Numbers: [90]
90,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:[8, 28], Operations: ['14+41=55', '55-27=28']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,63 unequal: No Solution
Exploring Operation: 8+28=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,1,2
Current State: 63:[55, 19], Operations: ['14+41=55', '27-8=19']
Exploring Operation: 55+19=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Exploring Operation: 55*19=1045, Resulting Numbers: [1045]
1045,63 unequal: No Solution
Exploring Operation: 55-19=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,1,4
Current State: 63:[8, 82], Operations: ['14+41=55', '27+55=82']
Exploring Operation: 8*82=656, Resulting Numbers: [656]
656,63 unequal: No Solution
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Exploring Operation: 8+82=90, Resulting Numbers: [90]
90,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,3
Current State: 63:[55, 35], Operations: ['14+41=55', '27+8=35']
Exploring Operation: 55*35=1925, Resulting Numbers: [1925]
1925,63 unequal: No Solution
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 55+35=90, Resulting Numbers: [90]
90,63 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: 63:[27, 14, 33], Operations: ['41-8=33']
Exploring Operation: 33-14=19, Resulting Numbers: [27, 19]
Generated Node #0,3,0: 63:[27, 19] Operation: 33-14=19
Exploring Operation: 27+33=60, Resulting Numbers: [14, 60]
Generated Node #0,3,1: 63:[14, 60] Operation: 27+33=60
Exploring Operation: 27-14=13, Resulting Numbers: [33, 13]
Generated Node #0,3,2: 63:[33, 13] Operation: 27-14=13
Exploring Operation: 14+33=47, Resulting Numbers: [27, 47]
Generated Node #0,3,3: 63:[27, 47] Operation: 14+33=47
Exploring Operation: 33-27=6, Resulting Numbers: [14, 6]
Generated Node #0,3,4: 63:[14, 6] Operation: 33-27=6
Moving to Node #0,0,3
Current State: 63:[8, 1], Operations: ['41-27=14', '14/14=1']
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Moving to Node #0,4,4
Current State: 63:[8, 1], Operations: ['41-14=27', '27/27=1']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Moving to Node #0,4,3
Current State: 63:[8, 0], Operations: ['41-14=27', '27-27=0']
Exploring Operation: 8*0=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 8+0=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 8-0=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[8, 0], Operations: ['41-27=14', '14-14=0']
Exploring Operation: 8*0=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 8+0=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 8-0=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[14, 6], Operations: ['41-27=14', '14-8=6']
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,63 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Moving to Node #0,0,4
Current State: 63:[14, 22], Operations: ['41-27=14', '8+14=22']
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 14*22=308, Resulting Numbers: [308]
308,63 unequal: No Solution
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,63 unequal: No Solution
Moving to Node #0,3,4
Current State: 63:[14, 6], Operations: ['41-8=33', '33-27=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,63 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[14, 22], Operations: ['41-27=14', '8+14=22']
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,63 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 14*22=308, Resulting Numbers: [308]
308,63 unequal: No Solution
Moving to Node #0,3,1
Current State: 63:[14, 60], Operations: ['41-8=33', '27+33=60']
Exploring Operation: 14*60=840, Resulting Numbers: [840]
840,63 unequal: No Solution
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 14+60=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Moving to Node #0,3,0
Current State: 63:[27, 19], Operations: ['41-8=33', '33-14=19']
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 27*19=513, Resulting Numbers: [513]
513,63 unequal: No Solution
Moving to Node #0,4,2
Current State: 63:[27, 19], Operations: ['41-14=27', '27-8=19']
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 27*19=513, Resulting Numbers: [513]
513,63 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Moving to Node #0,4,1
Current State: 63:[27, 19], Operations: ['41-14=27', '27-8=19']
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 27*19=513, Resulting Numbers: [513]
513,63 unequal: No Solution
Moving to Node #0,4,0
Current State: 63:[8, 54], Operations: ['41-14=27', '27+27=54']
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 8*54=432, Resulting Numbers: [432]
432,63 unequal: No Solution
Moving to Node #0,3,2
Current State: 63:[33, 13], Operations: ['41-8=33', '27-14=13']
Exploring Operation: 33+13=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 33*13=429, Resulting Numbers: [429]
429,63 unequal: No Solution
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Moving to Node #0,3,3
Current State: 63:[27, 47], Operations: ['41-8=33', '14+33=47']
Exploring Operation: 27*47=1269, Resulting Numbers: [1269]
1269,63 unequal: No Solution
Exploring Operation: 47-27=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 27+47=74, Resulting Numbers: [74]
74,63 unequal: No Solution
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
56,
16,
70,
8
] | 84
|
[
"16*70=1120",
"1120/8=140",
"140-56=84"
] |
Current State: 84:[56, 16, 70, 8], Operations: []
Exploring Operation: 16*70=1120, Resulting Numbers: [56, 8, 1120]
Generated Node #2: [56, 8, 1120] from Operation: 16*70=1120
Current State: 84:[56, 8, 1120], Operations: ['16*70=1120']
Exploring Operation: 1120/8=140, Resulting Numbers: [56, 140]
Generated Node #3: [56, 140] from Operation: 1120/8=140
Current State: 84:[56, 140], Operations: ['16*70=1120', '1120/8=140']
Exploring Operation: 140-56=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4
|
Current State: 84:[56, 16, 70, 8], Operations: []
Exploring Operation: 56/8=7, Resulting Numbers: [16, 70, 7]
Generated Node #0,0: 84:[16, 70, 7] Operation: 56/8=7
Exploring Operation: 70-56=14, Resulting Numbers: [16, 8, 14]
Generated Node #0,1: 84:[16, 8, 14] Operation: 70-56=14
Moving to Node #0,1
Current State: 84:[16, 8, 14], Operations: ['70-56=14']
Exploring Operation: 16/8=2, Resulting Numbers: [14, 2]
Generated Node #0,1,0: 84:[14, 2] Operation: 16/8=2
Exploring Operation: 16-8=8, Resulting Numbers: [14, 8]
Generated Node #0,1,1: 84:[14, 8] Operation: 16-8=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[14, 2], Operations: ['70-56=14', '16/8=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,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,1
Current State: 84:[14, 8], Operations: ['70-56=14', '16-8=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,84 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,84 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: 84:[16, 70, 7], Operations: ['56/8=7']
Exploring Operation: 16+70=86, Resulting Numbers: [7, 86]
Generated Node #0,0,0: 84:[7, 86] Operation: 16+70=86
Exploring Operation: 70/7=10, Resulting Numbers: [16, 10]
Generated Node #0,0,1: 84:[16, 10] Operation: 70/7=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[7, 86], Operations: ['56/8=7', '16+70=86']
Exploring Operation: 86-7=79, Resulting Numbers: [79]
79,84 unequal: No Solution
Exploring Operation: 7+86=93, Resulting Numbers: [93]
93,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,0,1
Current State: 84:[16, 10], Operations: ['56/8=7', '70/7=10']
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,84 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
|
[
35,
10,
39,
5
] | 23
|
[
"39*5=195",
"35+195=230",
"230/10=23"
] |
Current State: 23:[35, 10, 39, 5], Operations: []
Exploring Operation: 39*5=195, Resulting Numbers: [35, 10, 195]
Generated Node #2: [35, 10, 195] from Operation: 39*5=195
Current State: 23:[35, 10, 195], Operations: ['39*5=195']
Exploring Operation: 35+195=230, Resulting Numbers: [10, 230]
Generated Node #3: [10, 230] from Operation: 35+195=230
Current State: 23:[10, 230], Operations: ['39*5=195', '35+195=230']
Exploring Operation: 230/10=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4
|
Current State: 23:[35, 10, 39, 5], Operations: []
Exploring Operation: 35-5=30, Resulting Numbers: [10, 39, 30]
Generated Node #0,0: 23:[10, 39, 30] Operation: 35-5=30
Exploring Operation: 39-10=29, Resulting Numbers: [35, 5, 29]
Generated Node #0,1: 23:[35, 5, 29] Operation: 39-10=29
Exploring Operation: 10+5=15, Resulting Numbers: [35, 39, 15]
Generated Node #0,2: 23:[35, 39, 15] Operation: 10+5=15
Exploring Operation: 35-10=25, Resulting Numbers: [39, 5, 25]
Generated Node #0,3: 23:[39, 5, 25] Operation: 35-10=25
Moving to Node #0,0
Current State: 23:[10, 39, 30], Operations: ['35-5=30']
Exploring Operation: 30-10=20, Resulting Numbers: [39, 20]
Generated Node #0,0,0: 23:[39, 20] Operation: 30-10=20
Exploring Operation: 39-10=29, Resulting Numbers: [30, 29]
Generated Node #0,0,1: 23:[30, 29] Operation: 39-10=29
Exploring Operation: 39-30=9, Resulting Numbers: [10, 9]
Generated Node #0,0,2: 23:[10, 9] Operation: 39-30=9
Exploring Operation: 10+39=49, Resulting Numbers: [30, 49]
Generated Node #0,0,3: 23:[30, 49] Operation: 10+39=49
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[30, 29], Operations: ['35-5=30', '39-10=29']
Exploring Operation: 30*29=870, Resulting Numbers: [870]
870,23 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[39, 20], Operations: ['35-5=30', '30-10=20']
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Exploring Operation: 39*20=780, Resulting Numbers: [780]
780,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[10, 9], Operations: ['35-5=30', '39-30=9']
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,23 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 23:[30, 49], Operations: ['35-5=30', '10+39=49']
Exploring Operation: 30*49=1470, Resulting Numbers: [1470]
1470,23 unequal: No Solution
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Exploring Operation: 30+49=79, Resulting Numbers: [79]
79,23 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: 23:[35, 39, 15], Operations: ['10+5=15']
Exploring Operation: 35+15=50, Resulting Numbers: [39, 50]
Generated Node #0,2,0: 23:[39, 50] Operation: 35+15=50
Exploring Operation: 39-15=24, Resulting Numbers: [35, 24]
Generated Node #0,2,1: 23:[35, 24] Operation: 39-15=24
Exploring Operation: 35-15=20, Resulting Numbers: [39, 20]
Generated Node #0,2,2: 23:[39, 20] Operation: 35-15=20
Exploring Operation: 39-35=4, Resulting Numbers: [15, 4]
Generated Node #0,2,3: 23:[15, 4] Operation: 39-35=4
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[35, 24], Operations: ['10+5=15', '39-15=24']
Exploring Operation: 35*24=840, Resulting Numbers: [840]
840,23 unequal: No Solution
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,23 unequal: No Solution
Exploring Operation: 35+24=59, Resulting Numbers: [59]
59,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[39, 20], Operations: ['10+5=15', '35-15=20']
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Exploring Operation: 39*20=780, Resulting Numbers: [780]
780,23 unequal: No Solution
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 23:[15, 4], Operations: ['10+5=15', '39-35=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,23 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[39, 50], Operations: ['10+5=15', '35+15=50']
Exploring Operation: 39+50=89, Resulting Numbers: [89]
89,23 unequal: No Solution
Exploring Operation: 39*50=1950, Resulting Numbers: [1950]
1950,23 unequal: No Solution
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,23 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: 23:[35, 5, 29], Operations: ['39-10=29']
Exploring Operation: 35/5=7, Resulting Numbers: [29, 7]
Generated Node #0,1,0: 23:[29, 7] Operation: 35/5=7
Exploring Operation: 29-5=24, Resulting Numbers: [35, 24]
Generated Node #0,1,1: 23:[35, 24] Operation: 29-5=24
Exploring Operation: 35+5=40, Resulting Numbers: [29, 40]
Generated Node #0,1,2: 23:[29, 40] Operation: 35+5=40
Exploring Operation: 35-5=30, Resulting Numbers: [29, 30]
Generated Node #0,1,3: 23:[29, 30] Operation: 35-5=30
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[35, 24], Operations: ['39-10=29', '29-5=24']
Exploring Operation: 35*24=840, Resulting Numbers: [840]
840,23 unequal: No Solution
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,23 unequal: No Solution
Exploring Operation: 35+24=59, Resulting Numbers: [59]
59,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 23:[29, 30], Operations: ['39-10=29', '35-5=30']
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 29*30=870, Resulting Numbers: [870]
870,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[29, 7], Operations: ['39-10=29', '35/5=7']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,23 unequal: No Solution
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[29, 40], Operations: ['39-10=29', '35+5=40']
Exploring Operation: 29*40=1160, Resulting Numbers: [1160]
1160,23 unequal: No Solution
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,23 unequal: No Solution
Exploring Operation: 29+40=69, Resulting Numbers: [69]
69,23 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: 23:[39, 5, 25], Operations: ['35-10=25']
Exploring Operation: 39-5=34, Resulting Numbers: [25, 34]
Generated Node #0,3,0: 23:[25, 34] Operation: 39-5=34
Exploring Operation: 5+25=30, Resulting Numbers: [39, 30]
Generated Node #0,3,1: 23:[39, 30] Operation: 5+25=30
Exploring Operation: 25-5=20, Resulting Numbers: [39, 20]
Generated Node #0,3,2: 23:[39, 20] Operation: 25-5=20
Exploring Operation: 39+5=44, Resulting Numbers: [25, 44]
Generated Node #0,3,3: 23:[25, 44] Operation: 39+5=44
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 23:[25, 34], Operations: ['35-10=25', '39-5=34']
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 25*34=850, Resulting Numbers: [850]
850,23 unequal: No Solution
Exploring Operation: 25+34=59, Resulting Numbers: [59]
59,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 23:[39, 20], Operations: ['35-10=25', '25-5=20']
Exploring Operation: 39*20=780, Resulting Numbers: [780]
780,23 unequal: No Solution
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 23:[39, 30], Operations: ['35-10=25', '5+25=30']
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,23 unequal: No Solution
Exploring Operation: 39*30=1170, Resulting Numbers: [1170]
1170,23 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 23:[25, 44], Operations: ['35-10=25', '39+5=44']
Exploring Operation: 25+44=69, Resulting Numbers: [69]
69,23 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Exploring Operation: 25*44=1100, Resulting Numbers: [1100]
1100,23 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
|
[
94,
32,
82,
75
] | 18
|
[
"94+32=126",
"82-75=7",
"126/7=18"
] |
Current State: 18:[94, 32, 82, 75], Operations: []
Exploring Operation: 94+32=126, Resulting Numbers: [82, 75, 126]
Generated Node #2: [82, 75, 126] from Operation: 94+32=126
Current State: 18:[82, 75, 126], Operations: ['94+32=126']
Exploring Operation: 82-75=7, Resulting Numbers: [126, 7]
Generated Node #3: [126, 7] from Operation: 82-75=7
Current State: 18:[126, 7], Operations: ['94+32=126', '82-75=7']
Exploring Operation: 126/7=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4
|
Current State: 18:[94, 32, 82, 75], Operations: []
Exploring Operation: 94-75=19, Resulting Numbers: [32, 82, 19]
Generated Node #0,0: 18:[32, 82, 19] Operation: 94-75=19
Exploring Operation: 82-75=7, Resulting Numbers: [94, 32, 7]
Generated Node #0,1: 18:[94, 32, 7] Operation: 82-75=7
Exploring Operation: 94-82=12, Resulting Numbers: [32, 75, 12]
Generated Node #0,2: 18:[32, 75, 12] Operation: 94-82=12
Moving to Node #0,2
Current State: 18:[32, 75, 12], Operations: ['94-82=12']
Exploring Operation: 75-12=63, Resulting Numbers: [32, 63]
Generated Node #0,2,0: 18:[32, 63] Operation: 75-12=63
Exploring Operation: 75-32=43, Resulting Numbers: [12, 43]
Generated Node #0,2,1: 18:[12, 43] Operation: 75-32=43
Exploring Operation: 32-12=20, Resulting Numbers: [75, 20]
Generated Node #0,2,2: 18:[75, 20] Operation: 32-12=20
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 18:[12, 43], Operations: ['94-82=12', '75-32=43']
Exploring Operation: 12+43=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 12*43=516, Resulting Numbers: [516]
516,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,2,0
Current State: 18:[32, 63], Operations: ['94-82=12', '75-12=63']
Exploring Operation: 32*63=2016, Resulting Numbers: [2016]
2016,18 unequal: No Solution
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 32+63=95, Resulting Numbers: [95]
95,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,2,2
Current State: 18:[75, 20], Operations: ['94-82=12', '32-12=20']
Exploring Operation: 75+20=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Exploring Operation: 75-20=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 75*20=1500, Resulting Numbers: [1500]
1500,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 18:[32, 82, 19], Operations: ['94-75=19']
Exploring Operation: 82-32=50, Resulting Numbers: [19, 50]
Generated Node #0,0,0: 18:[19, 50] Operation: 82-32=50
Exploring Operation: 82-19=63, Resulting Numbers: [32, 63]
Generated Node #0,0,1: 18:[32, 63] Operation: 82-19=63
Exploring Operation: 32-19=13, Resulting Numbers: [82, 13]
Generated Node #0,0,2: 18:[82, 13] Operation: 32-19=13
Moving to Node #0,1
Current State: 18:[94, 32, 7], Operations: ['82-75=7']
Exploring Operation: 94-7=87, Resulting Numbers: [32, 87]
Generated Node #0,1,0: 18:[32, 87] Operation: 94-7=87
Exploring Operation: 94-32=62, Resulting Numbers: [7, 62]
Generated Node #0,1,1: 18:[7, 62] Operation: 94-32=62
Exploring Operation: 32-7=25, Resulting Numbers: [94, 25]
Generated Node #0,1,2: 18:[94, 25] Operation: 32-7=25
Moving to Node #0,0,0
Current State: 18:[19, 50], Operations: ['94-75=19', '82-32=50']
Exploring Operation: 19*50=950, Resulting Numbers: [950]
950,18 unequal: No Solution
Exploring Operation: 19+50=69, Resulting Numbers: [69]
69,18 unequal: No Solution
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[7, 62], Operations: ['82-75=7', '94-32=62']
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 7+62=69, Resulting Numbers: [69]
69,18 unequal: No Solution
Exploring Operation: 7*62=434, Resulting Numbers: [434]
434,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[32, 63], Operations: ['94-75=19', '82-19=63']
Exploring Operation: 32+63=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 32*63=2016, Resulting Numbers: [2016]
2016,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[82, 13], Operations: ['94-75=19', '32-19=13']
Exploring Operation: 82+13=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Exploring Operation: 82*13=1066, Resulting Numbers: [1066]
1066,18 unequal: No Solution
Exploring Operation: 82-13=69, Resulting Numbers: [69]
69,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[94, 25], Operations: ['82-75=7', '32-7=25']
Exploring Operation: 94+25=119, Resulting Numbers: [119]
119,18 unequal: No Solution
Exploring Operation: 94*25=2350, Resulting Numbers: [2350]
2350,18 unequal: No Solution
Exploring Operation: 94-25=69, Resulting Numbers: [69]
69,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[32, 87], Operations: ['82-75=7', '94-7=87']
Exploring Operation: 32+87=119, Resulting Numbers: [119]
119,18 unequal: No Solution
Exploring Operation: 32*87=2784, Resulting Numbers: [2784]
2784,18 unequal: No Solution
Exploring Operation: 87-32=55, Resulting Numbers: [55]
55,18 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
2,
32,
9,
9
] | 73
|
[
"32+9=41",
"2*41=82",
"82-9=73"
] |
Current State: 73:[2, 32, 9, 9], Operations: []
Exploring Operation: 32+9=41, Resulting Numbers: [2, 41]
Generated Node #2: [2, 41] from Operation: 32+9=41
Current State: 73:[2, 41], Operations: ['32+9=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,73 equal: Goal Reached
Exploring Operation: 82-9=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4
|
Current State: 73:[2, 32, 9, 9], Operations: []
Exploring Operation: 9*9=81, Resulting Numbers: [2, 32, 81]
Generated Node #0,0: 73:[2, 32, 81] Operation: 9*9=81
Exploring Operation: 2*32=64, Resulting Numbers: [9, 9, 64]
Generated Node #0,1: 73:[9, 9, 64] Operation: 2*32=64
Moving to Node #0,0
Current State: 73:[2, 32, 81], Operations: ['9*9=81']
Exploring Operation: 2*32=64, Resulting Numbers: [81, 64]
Generated Node #0,0,0: 73:[81, 64] Operation: 2*32=64
Exploring Operation: 2+32=34, Resulting Numbers: [81, 34]
Generated Node #0,0,1: 73:[81, 34] Operation: 2+32=34
Moving to Node #0,1
Current State: 73:[9, 9, 64], Operations: ['2*32=64']
Exploring Operation: 9+9=18, Resulting Numbers: [64, 18]
Generated Node #0,1,0: 73:[64, 18] Operation: 9+9=18
Exploring Operation: 9*9=81, Resulting Numbers: [64, 81]
Generated Node #0,1,1: 73:[64, 81] Operation: 9*9=81
Moving to Node #0,0,0
Current State: 73:[81, 64], Operations: ['9*9=81', '2*32=64']
Exploring Operation: 81+64=145, Resulting Numbers: [145]
145,73 unequal: No Solution
Exploring Operation: 81-64=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[64, 81], Operations: ['2*32=64', '9*9=81']
Exploring Operation: 64+81=145, Resulting Numbers: [145]
145,73 unequal: No Solution
Exploring Operation: 81-64=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[81, 34], Operations: ['9*9=81', '2+32=34']
Exploring Operation: 81+34=115, Resulting Numbers: [115]
115,73 unequal: No Solution
Exploring Operation: 81-34=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[64, 18], Operations: ['2*32=64', '9+9=18']
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,73 unequal: No Solution
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,73 unequal: No Solution
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
28,
17,
18,
6
] | 13
|
[
"28-17=11",
"18+6=24",
"24-11=13"
] |
Current State: 13:[28, 17, 18, 6], Operations: []
Exploring Operation: 28-17=11, Resulting Numbers: [18, 6, 11]
Generated Node #2: [18, 6, 11] from Operation: 28-17=11
Current State: 13:[18, 6, 11], Operations: ['28-17=11']
Exploring Operation: 18+6=24, Resulting Numbers: [11, 24]
Generated Node #3: [11, 24] from Operation: 18+6=24
Current State: 13:[11, 24], Operations: ['28-17=11', '18+6=24']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4
|
Current State: 13:[28, 17, 18, 6], Operations: []
Exploring Operation: 28-6=22, Resulting Numbers: [17, 18, 22]
Generated Node #0,0: 13:[17, 18, 22] Operation: 28-6=22
Exploring Operation: 17-6=11, Resulting Numbers: [28, 18, 11]
Generated Node #0,1: 13:[28, 18, 11] Operation: 17-6=11
Exploring Operation: 28-18=10, Resulting Numbers: [17, 6, 10]
Generated Node #0,2: 13:[17, 6, 10] Operation: 28-18=10
Exploring Operation: 18-6=12, Resulting Numbers: [28, 17, 12]
Generated Node #0,3: 13:[28, 17, 12] Operation: 18-6=12
Exploring Operation: 28-17=11, Resulting Numbers: [18, 6, 11]
Generated Node #0,4: 13:[18, 6, 11] Operation: 28-17=11
Moving to Node #0,2
Current State: 13:[17, 6, 10], Operations: ['28-18=10']
Exploring Operation: 17-10=7, Resulting Numbers: [6, 7]
Generated Node #0,2,0: 13:[6, 7] Operation: 17-10=7
Exploring Operation: 17-6=11, Resulting Numbers: [10, 11]
Generated Node #0,2,1: 13:[10, 11] Operation: 17-6=11
Exploring Operation: 10-6=4, Resulting Numbers: [17, 4]
Generated Node #0,2,2: 13:[17, 4] Operation: 10-6=4
Exploring Operation: 6+10=16, Resulting Numbers: [17, 16]
Generated Node #0,2,3: 13:[17, 16] Operation: 6+10=16
Exploring Operation: 17+6=23, Resulting Numbers: [10, 23]
Generated Node #0,2,4: 13:[10, 23] Operation: 17+6=23
Moving to Node #0,4
Current State: 13:[18, 6, 11], Operations: ['28-17=11']
Exploring Operation: 18-11=7, Resulting Numbers: [6, 7]
Generated Node #0,4,0: 13:[6, 7] Operation: 18-11=7
Exploring Operation: 18-6=12, Resulting Numbers: [11, 12]
Generated Node #0,4,1: 13:[11, 12] Operation: 18-6=12
Exploring Operation: 6+11=17, Resulting Numbers: [18, 17]
Generated Node #0,4,2: 13:[18, 17] Operation: 6+11=17
Exploring Operation: 18/6=3, Resulting Numbers: [11, 3]
Generated Node #0,4,3: 13:[11, 3] Operation: 18/6=3
Exploring Operation: 18+6=24, Resulting Numbers: [11, 24]
Generated Node #0,4,4: 13:[11, 24] Operation: 18+6=24
Moving to Node #0,0
Current State: 13:[17, 18, 22], Operations: ['28-6=22']
Exploring Operation: 18-17=1, Resulting Numbers: [22, 1]
Generated Node #0,0,0: 13:[22, 1] Operation: 18-17=1
Exploring Operation: 17+18=35, Resulting Numbers: [22, 35]
Generated Node #0,0,1: 13:[22, 35] Operation: 17+18=35
Exploring Operation: 22-18=4, Resulting Numbers: [17, 4]
Generated Node #0,0,2: 13:[17, 4] Operation: 22-18=4
Exploring Operation: 17+22=39, Resulting Numbers: [18, 39]
Generated Node #0,0,3: 13:[18, 39] Operation: 17+22=39
Exploring Operation: 22-17=5, Resulting Numbers: [18, 5]
Generated Node #0,0,4: 13:[18, 5] Operation: 22-17=5
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 13:[17, 4], Operations: ['28-6=22', '22-18=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,13 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[28, 17, 18, 6], Operations: []
Exploring Operation: 28-6=22, Resulting Numbers: [17, 18, 22]
Generated Node #0,0: 13:[17, 18, 22] Operation: 28-6=22
Moving to Node #0,0
Current State: 13:[17, 18, 22], Operations: ['28-6=22']
Exploring Operation: 22-18=4, Resulting Numbers: [17, 4]
Generated Node #0,0,2: 13:[17, 4] Operation: 22-18=4
Moving to Node #0,0,2
Current State: 13:[17, 4], Operations: ['28-6=22', '22-18=4']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563
|
hs_5
|
mult_heuristic
|
[
15,
9,
2,
98
] | 52
|
[
"15-9=6",
"98+6=104",
"104/2=52"
] |
Current State: 52:[15, 9, 2, 98], Operations: []
Exploring Operation: 15-9=6, Resulting Numbers: [2, 98, 6]
Generated Node #2: [2, 98, 6] from Operation: 15-9=6
Current State: 52:[2, 98, 6], Operations: ['15-9=6']
Exploring Operation: 98+6=104, Resulting Numbers: [2, 104]
Generated Node #3: [2, 104] from Operation: 98+6=104
Current State: 52:[2, 104], Operations: ['15-9=6', '98+6=104']
Exploring Operation: 104/2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4
|
Current State: 52:[15, 9, 2, 98], Operations: []
Exploring Operation: 98-9=89, Resulting Numbers: [15, 2, 89]
Generated Node #0,0: 52:[15, 2, 89] Operation: 98-9=89
Exploring Operation: 15+9=24, Resulting Numbers: [2, 98, 24]
Generated Node #0,1: 52:[2, 98, 24] Operation: 15+9=24
Exploring Operation: 98-15=83, Resulting Numbers: [9, 2, 83]
Generated Node #0,2: 52:[9, 2, 83] Operation: 98-15=83
Exploring Operation: 98/2=49, Resulting Numbers: [15, 9, 49]
Generated Node #0,3: 52:[15, 9, 49] Operation: 98/2=49
Start Sub Search at level 1: Moving to Node #0,3
Current State: 52:[15, 9, 49], Operations: ['98/2=49']
Exploring Operation: 15+9=24, Resulting Numbers: [49, 24]
Generated Node #0,3,0: 52:[49, 24] Operation: 15+9=24
Exploring Operation: 9+49=58, Resulting Numbers: [15, 58]
Generated Node #0,3,1: 52:[15, 58] Operation: 9+49=58
Exploring Operation: 49-15=34, Resulting Numbers: [9, 34]
Generated Node #0,3,2: 52:[9, 34] Operation: 49-15=34
Exploring Operation: 15-9=6, Resulting Numbers: [49, 6]
Generated Node #0,3,3: 52:[49, 6] Operation: 15-9=6
Moving to Node #0,3,0
Current State: 52:[49, 24], Operations: ['98/2=49', '15+9=24']
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 49*24=1176, Resulting Numbers: [1176]
1176,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[49, 6], Operations: ['98/2=49', '15-9=6']
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 49*6=294, Resulting Numbers: [294]
294,52 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[15, 58], Operations: ['98/2=49', '9+49=58']
Exploring Operation: 15*58=870, Resulting Numbers: [870]
870,52 unequal: No Solution
Exploring Operation: 15+58=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[9, 34], Operations: ['98/2=49', '49-15=34']
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[9, 2, 83], Operations: ['98-15=83']
Exploring Operation: 9-2=7, Resulting Numbers: [83, 7]
Generated Node #0,2,0: 52:[83, 7] Operation: 9-2=7
Exploring Operation: 83-2=81, Resulting Numbers: [9, 81]
Generated Node #0,2,1: 52:[9, 81] Operation: 83-2=81
Exploring Operation: 9+2=11, Resulting Numbers: [83, 11]
Generated Node #0,2,2: 52:[83, 11] Operation: 9+2=11
Exploring Operation: 83-9=74, Resulting Numbers: [2, 74]
Generated Node #0,2,3: 52:[2, 74] Operation: 83-9=74
Moving to Node #0,2,3
Current State: 52:[2, 74], Operations: ['98-15=83', '83-9=74']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,52 unequal: No Solution
Exploring Operation: 2*74=148, Resulting Numbers: [148]
148,52 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[83, 11], Operations: ['98-15=83', '9+2=11']
Exploring Operation: 83-11=72, Resulting Numbers: [72]
72,52 unequal: No Solution
Exploring Operation: 83*11=913, Resulting Numbers: [913]
913,52 unequal: No Solution
Exploring Operation: 83+11=94, Resulting Numbers: [94]
94,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[9, 81], Operations: ['98-15=83', '83-2=81']
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,52 unequal: No Solution
Exploring Operation: 9+81=90, Resulting Numbers: [90]
90,52 unequal: No Solution
Exploring Operation: 9*81=729, Resulting Numbers: [729]
729,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[83, 7], Operations: ['98-15=83', '9-2=7']
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,52 unequal: No Solution
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,52 unequal: No Solution
Exploring Operation: 83*7=581, Resulting Numbers: [581]
581,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[15, 2, 89], Operations: ['98-9=89']
Exploring Operation: 15+2=17, Resulting Numbers: [89, 17]
Generated Node #0,0,0: 52:[89, 17] Operation: 15+2=17
Exploring Operation: 89-2=87, Resulting Numbers: [15, 87]
Generated Node #0,0,1: 52:[15, 87] Operation: 89-2=87
Exploring Operation: 15-2=13, Resulting Numbers: [89, 13]
Generated Node #0,0,2: 52:[89, 13] Operation: 15-2=13
Exploring Operation: 89-15=74, Resulting Numbers: [2, 74]
Generated Node #0,0,3: 52:[2, 74] Operation: 89-15=74
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 52:[2, 74], Operations: ['98-9=89', '89-15=74']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 2*74=148, Resulting Numbers: [148]
148,52 unequal: No Solution
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,52 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[15, 87], Operations: ['98-9=89', '89-2=87']
Exploring Operation: 15*87=1305, Resulting Numbers: [1305]
1305,52 unequal: No Solution
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,52 unequal: No Solution
Exploring Operation: 15+87=102, Resulting Numbers: [102]
102,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 52:[89, 13], Operations: ['98-9=89', '15-2=13']
Exploring Operation: 89*13=1157, Resulting Numbers: [1157]
1157,52 unequal: No Solution
Exploring Operation: 89-13=76, Resulting Numbers: [76]
76,52 unequal: No Solution
Exploring Operation: 89+13=102, Resulting Numbers: [102]
102,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[89, 17], Operations: ['98-9=89', '15+2=17']
Exploring Operation: 89+17=106, Resulting Numbers: [106]
106,52 unequal: No Solution
Exploring Operation: 89*17=1513, Resulting Numbers: [1513]
1513,52 unequal: No Solution
Exploring Operation: 89-17=72, Resulting Numbers: [72]
72,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[2, 98, 24], Operations: ['15+9=24']
Exploring Operation: 98/2=49, Resulting Numbers: [24, 49]
Generated Node #0,1,0: 52:[24, 49] Operation: 98/2=49
Exploring Operation: 98-24=74, Resulting Numbers: [2, 74]
Generated Node #0,1,1: 52:[2, 74] Operation: 98-24=74
Exploring Operation: 2+24=26, Resulting Numbers: [98, 26]
Generated Node #0,1,2: 52:[98, 26] Operation: 2+24=26
Exploring Operation: 98-2=96, Resulting Numbers: [24, 96]
Generated Node #0,1,3: 52:[24, 96] Operation: 98-2=96
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[24, 49], Operations: ['15+9=24', '98/2=49']
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,52 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 52:[2, 74], Operations: ['15+9=24', '98-24=74']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,52 unequal: No Solution
Exploring Operation: 2*74=148, Resulting Numbers: [148]
148,52 unequal: No Solution
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 52:[98, 26], Operations: ['15+9=24', '2+24=26']
Exploring Operation: 98-26=72, Resulting Numbers: [72]
72,52 unequal: No Solution
Exploring Operation: 98+26=124, Resulting Numbers: [124]
124,52 unequal: No Solution
Exploring Operation: 98*26=2548, Resulting Numbers: [2548]
2548,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 52:[24, 96], Operations: ['15+9=24', '98-2=96']
Exploring Operation: 24+96=120, Resulting Numbers: [120]
120,52 unequal: No Solution
Exploring Operation: 96-24=72, Resulting Numbers: [72]
72,52 unequal: No Solution
Exploring Operation: 24*96=2304, Resulting Numbers: [2304]
2304,52 unequal: No Solution
Exploring Operation: 96/24=4, Resulting Numbers: [4]
4,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
35,
6,
61,
65
] | 97
|
[
"35-6=29",
"61+65=126",
"126-29=97"
] |
Current State: 97:[35, 6, 61, 65], Operations: []
Exploring Operation: 35-6=29, Resulting Numbers: [61, 65, 29]
Generated Node #2: [61, 65, 29] from Operation: 35-6=29
Current State: 97:[61, 65, 29], Operations: ['35-6=29']
Exploring Operation: 61+65=126, Resulting Numbers: [29, 126]
Generated Node #3: [29, 126] from Operation: 61+65=126
Current State: 97:[29, 126], Operations: ['35-6=29', '61+65=126']
Exploring Operation: 126-29=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4
|
Current State: 97:[35, 6, 61, 65], Operations: []
Exploring Operation: 35+6=41, Resulting Numbers: [61, 65, 41]
Generated Node #0,0: 97:[61, 65, 41] Operation: 35+6=41
Exploring Operation: 35+61=96, Resulting Numbers: [6, 65, 96]
Generated Node #0,1: 97:[6, 65, 96] Operation: 35+61=96
Moving to Node #0,0
Current State: 97:[61, 65, 41], Operations: ['35+6=41']
Exploring Operation: 61+41=102, Resulting Numbers: [65, 102]
Generated Node #0,0,0: 97:[65, 102] Operation: 61+41=102
Exploring Operation: 65+41=106, Resulting Numbers: [61, 106]
Generated Node #0,0,1: 97:[61, 106] Operation: 65+41=106
Moving to Node #0,1
Current State: 97:[6, 65, 96], Operations: ['35+61=96']
Exploring Operation: 6+96=102, Resulting Numbers: [65, 102]
Generated Node #0,1,0: 97:[65, 102] Operation: 6+96=102
Exploring Operation: 6+65=71, Resulting Numbers: [96, 71]
Generated Node #0,1,1: 97:[96, 71] Operation: 6+65=71
Moving to Node #0,1,1
Current State: 97:[96, 71], Operations: ['35+61=96', '6+65=71']
Exploring Operation: 96-71=25, Resulting Numbers: [25]
25,97 unequal: No Solution
Exploring Operation: 96+71=167, Resulting Numbers: [167]
167,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[65, 102], Operations: ['35+6=41', '61+41=102']
Exploring Operation: 65+102=167, Resulting Numbers: [167]
167,97 unequal: No Solution
Exploring Operation: 102-65=37, Resulting Numbers: [37]
37,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[65, 102], Operations: ['35+61=96', '6+96=102']
Exploring Operation: 102-65=37, Resulting Numbers: [37]
37,97 unequal: No Solution
Exploring Operation: 65+102=167, Resulting Numbers: [167]
167,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[61, 106], Operations: ['35+6=41', '65+41=106']
Exploring Operation: 61+106=167, Resulting Numbers: [167]
167,97 unequal: No Solution
Exploring Operation: 106-61=45, Resulting Numbers: [45]
45,97 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
28,
63,
5,
34
] | 33
|
[
"34-28=6",
"5*6=30",
"63-30=33"
] |
Current State: 33:[28, 63, 5, 34], Operations: []
Exploring Operation: 34-28=6, Resulting Numbers: [63, 5, 6]
Generated Node #2: [63, 5, 6] from Operation: 34-28=6
Current State: 33:[63, 5, 6], Operations: ['34-28=6']
Exploring Operation: 5*6=30, Resulting Numbers: [63, 30]
Generated Node #3: [63, 30] from Operation: 5*6=30
Current State: 33:[63, 30], Operations: ['34-28=6', '5*6=30']
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4
|
Current State: 33:[28, 63, 5, 34], Operations: []
Exploring Operation: 28+5=33, Resulting Numbers: [63, 34, 33]
Generated Node #0,0: 33:[63, 34, 33] Operation: 28+5=33
Exploring Operation: 63-34=29, Resulting Numbers: [28, 5, 29]
Generated Node #0,1: 33:[28, 5, 29] Operation: 63-34=29
Exploring Operation: 63-28=35, Resulting Numbers: [5, 34, 35]
Generated Node #0,2: 33:[5, 34, 35] Operation: 63-28=35
Moving to Node #0,2
Current State: 33:[5, 34, 35], Operations: ['63-28=35']
Exploring Operation: 35/5=7, Resulting Numbers: [34, 7]
Generated Node #0,2,0: 33:[34, 7] Operation: 35/5=7
Exploring Operation: 35-5=30, Resulting Numbers: [34, 30]
Generated Node #0,2,1: 33:[34, 30] Operation: 35-5=30
Exploring Operation: 35-34=1, Resulting Numbers: [5, 1]
Generated Node #0,2,2: 33:[5, 1] Operation: 35-34=1
Moving to Node #0,1
Current State: 33:[28, 5, 29], Operations: ['63-34=29']
Exploring Operation: 5+29=34, Resulting Numbers: [28, 34]
Generated Node #0,1,0: 33:[28, 34] Operation: 5+29=34
Exploring Operation: 29-28=1, Resulting Numbers: [5, 1]
Generated Node #0,1,1: 33:[5, 1] Operation: 29-28=1
Exploring Operation: 28+5=33, Resulting Numbers: [29, 33]
Generated Node #0,1,2: 33:[29, 33] Operation: 28+5=33
Moving to Node #0,0
Current State: 33:[63, 34, 33], Operations: ['28+5=33']
Exploring Operation: 34-33=1, Resulting Numbers: [63, 1]
Generated Node #0,0,0: 33:[63, 1] Operation: 34-33=1
Exploring Operation: 63-34=29, Resulting Numbers: [33, 29]
Generated Node #0,0,1: 33:[33, 29] Operation: 63-34=29
Exploring Operation: 63-33=30, Resulting Numbers: [34, 30]
Generated Node #0,0,2: 33:[34, 30] Operation: 63-33=30
Moving to Node #0,2,1
Current State: 33:[34, 30], Operations: ['63-28=35', '35-5=30']
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 34+30=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 34*30=1020, Resulting Numbers: [1020]
1020,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[33, 29], Operations: ['28+5=33', '63-34=29']
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 33*29=957, Resulting Numbers: [957]
957,33 unequal: No Solution
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[5, 1], Operations: ['63-28=35', '35-34=1']
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[29, 33], Operations: ['63-34=29', '28+5=33']
Exploring Operation: 29*33=957, Resulting Numbers: [957]
957,33 unequal: No Solution
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[34, 30], Operations: ['28+5=33', '63-33=30']
Exploring Operation: 34+30=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 34*30=1020, Resulting Numbers: [1020]
1020,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[5, 1], Operations: ['63-34=29', '29-28=1']
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[34, 7], Operations: ['63-28=35', '35/5=7']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,33 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[28, 34], Operations: ['63-34=29', '5+29=34']
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[63, 1], Operations: ['28+5=33', '34-33=1']
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,33 unequal: No Solution
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,33 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,33 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
6,
25,
8,
6
] | 21
|
[
"25-6=19",
"8-6=2",
"19+2=21"
] |
Current State: 21:[6, 25, 8, 6], Operations: []
Exploring Operation: 25-6=19, Resulting Numbers: [8, 19]
Generated Node #2: [8, 19] from Operation: 25-6=19
Current State: 21:[8, 19], Operations: ['25-6=19']
Exploring Operation: 8-6=2, Resulting Numbers: [19, 2]
Generated Node #3: [19, 2] from Operation: 8-6=2
Current State: 21:[19, 2], Operations: ['25-6=19', '8-6=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4
|
Current State: 21:[6, 25, 8, 6], Operations: []
Exploring Operation: 25-8=17, Resulting Numbers: [6, 6, 17]
Generated Node #0,0: 21:[6, 6, 17] Operation: 25-8=17
Exploring Operation: 25-6=19, Resulting Numbers: [6, 8, 19]
Generated Node #0,1: 21:[6, 8, 19] Operation: 25-6=19
Exploring Operation: 8-6=2, Resulting Numbers: [6, 25, 2]
Generated Node #0,2: 21:[6, 25, 2] Operation: 8-6=2
Exploring Operation: 8-6=2, Resulting Numbers: [25, 6, 2]
Generated Node #0,3: 21:[25, 6, 2] Operation: 8-6=2
Exploring Operation: 25-6=19, Resulting Numbers: [8, 6, 19]
Generated Node #0,4: 21:[8, 6, 19] Operation: 25-6=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[6, 8, 19], Operations: ['25-6=19']
Exploring Operation: 19-8=11, Resulting Numbers: [6, 11]
Generated Node #0,1,0: 21:[6, 11] Operation: 19-8=11
Exploring Operation: 19-6=13, Resulting Numbers: [8, 13]
Generated Node #0,1,1: 21:[8, 13] Operation: 19-6=13
Exploring Operation: 6+19=25, Resulting Numbers: [8, 25]
Generated Node #0,1,2: 21:[8, 25] Operation: 6+19=25
Exploring Operation: 8+19=27, Resulting Numbers: [6, 27]
Generated Node #0,1,3: 21:[6, 27] Operation: 8+19=27
Exploring Operation: 8-6=2, Resulting Numbers: [19, 2]
Generated Node #0,1,4: 21:[19, 2] Operation: 8-6=2
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 21:[19, 2], Operations: ['25-6=19', '8-6=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,21 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[6, 25, 8, 6], Operations: []
Exploring Operation: 25-6=19, Resulting Numbers: [6, 8, 19]
Generated Node #0,1: 21:[6, 8, 19] Operation: 25-6=19
Moving to Node #0,1
Current State: 21:[6, 8, 19], Operations: ['25-6=19']
Exploring Operation: 8-6=2, Resulting Numbers: [19, 2]
Generated Node #0,1,4: 21:[19, 2] Operation: 8-6=2
Moving to Node #0,1,4
Current State: 21:[19, 2], Operations: ['25-6=19', '8-6=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111
|
hs_5
|
sum_heuristic
|
[
75,
31,
23,
58
] | 37
|
[
"75-31=44",
"23+58=81",
"81-44=37"
] |
Current State: 37:[75, 31, 23, 58], Operations: []
Exploring Operation: 75-31=44, Resulting Numbers: [23, 58, 44]
Generated Node #2: [23, 58, 44] from Operation: 75-31=44
Current State: 37:[23, 58, 44], Operations: ['75-31=44']
Exploring Operation: 23+58=81, Resulting Numbers: [44, 81]
Generated Node #3: [44, 81] from Operation: 23+58=81
Current State: 37:[44, 81], Operations: ['75-31=44', '23+58=81']
Exploring Operation: 81-44=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4
|
Current State: 37:[75, 31, 23, 58], Operations: []
Exploring Operation: 75-58=17, Resulting Numbers: [31, 23, 17]
Generated Node #0,0: 37:[31, 23, 17] Operation: 75-58=17
Moving to Node #0,0
Current State: 37:[31, 23, 17], Operations: ['75-58=17']
Exploring Operation: 23+17=40, Resulting Numbers: [31, 40]
Generated Node #0,0,0: 37:[31, 40] Operation: 23+17=40
Moving to Node #0,0,0
Current State: 37:[31, 40], Operations: ['75-58=17', '23+17=40']
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,37 unequal: No Solution
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
7,
61,
5,
59
] | 14
|
[
"7+61=68",
"59-5=54",
"68-54=14"
] |
Current State: 14:[7, 61, 5, 59], Operations: []
Exploring Operation: 7+61=68, Resulting Numbers: [5, 59, 68]
Generated Node #2: [5, 59, 68] from Operation: 7+61=68
Current State: 14:[5, 59, 68], Operations: ['7+61=68']
Exploring Operation: 59-5=54, Resulting Numbers: [68, 54]
Generated Node #3: [68, 54] from Operation: 59-5=54
Current State: 14:[68, 54], Operations: ['7+61=68', '59-5=54']
Exploring Operation: 68-54=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4
|
Current State: 14:[7, 61, 5, 59], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [7, 5, 2]
Generated Node #0,0: 14:[7, 5, 2] Operation: 61-59=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[7, 5, 2], Operations: ['61-59=2']
Exploring Operation: 7-5=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 14:[2, 2] Operation: 7-5=2
Moving to Node #0,0,0
Current State: 14:[2, 2], Operations: ['61-59=2', '7-5=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,14 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
|
[
90,
54,
98,
9
] | 55
|
[
"90+54=144",
"98-9=89",
"144-89=55"
] |
Current State: 55:[90, 54, 98, 9], Operations: []
Exploring Operation: 90+54=144, Resulting Numbers: [98, 9, 144]
Generated Node #2: [98, 9, 144] from Operation: 90+54=144
Current State: 55:[98, 9, 144], Operations: ['90+54=144']
Exploring Operation: 98-9=89, Resulting Numbers: [144, 89]
Generated Node #3: [144, 89] from Operation: 98-9=89
Current State: 55:[144, 89], Operations: ['90+54=144', '98-9=89']
Exploring Operation: 144-89=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4
|
Current State: 55:[90, 54, 98, 9], Operations: []
Exploring Operation: 98-90=8, Resulting Numbers: [54, 9, 8]
Generated Node #0,0: 55:[54, 9, 8] Operation: 98-90=8
Exploring Operation: 90/9=10, Resulting Numbers: [54, 98, 10]
Generated Node #0,1: 55:[54, 98, 10] Operation: 90/9=10
Exploring Operation: 90-9=81, Resulting Numbers: [54, 98, 81]
Generated Node #0,2: 55:[54, 98, 81] Operation: 90-9=81
Exploring Operation: 90-54=36, Resulting Numbers: [98, 9, 36]
Generated Node #0,3: 55:[98, 9, 36] Operation: 90-54=36
Exploring Operation: 98-54=44, Resulting Numbers: [90, 9, 44]
Generated Node #0,4: 55:[90, 9, 44] Operation: 98-54=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[54, 9, 8], Operations: ['98-90=8']
Exploring Operation: 9-8=1, Resulting Numbers: [54, 1]
Generated Node #0,0,0: 55:[54, 1] Operation: 9-8=1
Exploring Operation: 54/9=6, Resulting Numbers: [8, 6]
Generated Node #0,0,1: 55:[8, 6] Operation: 54/9=6
Exploring Operation: 54+8=62, Resulting Numbers: [9, 62]
Generated Node #0,0,2: 55:[9, 62] Operation: 54+8=62
Exploring Operation: 9+8=17, Resulting Numbers: [54, 17]
Generated Node #0,0,3: 55:[54, 17] Operation: 9+8=17
Exploring Operation: 54+9=63, Resulting Numbers: [8, 63]
Generated Node #0,0,4: 55:[8, 63] Operation: 54+9=63
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 55:[8, 6], Operations: ['98-90=8', '54/9=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,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,0
Current State: 55:[54, 1], Operations: ['98-90=8', '9-8=1']
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[90, 54, 98, 9], Operations: []
Exploring Operation: 98-90=8, Resulting Numbers: [54, 9, 8]
Generated Node #0,0: 55:[54, 9, 8] Operation: 98-90=8
Moving to Node #0,0
Current State: 55:[54, 9, 8], Operations: ['98-90=8']
Exploring Operation: 9-8=1, Resulting Numbers: [54, 1]
Generated Node #0,0,0: 55:[54, 1] Operation: 9-8=1
Moving to Node #0,0,0
Current State: 55:[54, 1], Operations: ['98-90=8', '9-8=1']
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639
|
hs_5
|
mult_heuristic
|
[
3,
6,
55,
26
] | 98
|
[
"3+55=58",
"6*26=156",
"156-58=98"
] |
Current State: 98:[3, 6, 55, 26], Operations: []
Exploring Operation: 3+55=58, Resulting Numbers: [6, 26, 58]
Generated Node #2: [6, 26, 58] from Operation: 3+55=58
Current State: 98:[6, 26, 58], Operations: ['3+55=58']
Exploring Operation: 6*26=156, Resulting Numbers: [58, 156]
Generated Node #3: [58, 156] from Operation: 6*26=156
Current State: 98:[58, 156], Operations: ['3+55=58', '6*26=156']
Exploring Operation: 156-58=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4
|
Current State: 98:[3, 6, 55, 26], Operations: []
Exploring Operation: 55-3=52, Resulting Numbers: [6, 26, 52]
Generated Node #0,0: 98:[6, 26, 52] Operation: 55-3=52
Exploring Operation: 55-6=49, Resulting Numbers: [3, 26, 49]
Generated Node #0,1: 98:[3, 26, 49] Operation: 55-6=49
Exploring Operation: 26-6=20, Resulting Numbers: [3, 55, 20]
Generated Node #0,2: 98:[3, 55, 20] Operation: 26-6=20
Moving to Node #0,1
Current State: 98:[3, 26, 49], Operations: ['55-6=49']
Exploring Operation: 49-26=23, Resulting Numbers: [3, 23]
Generated Node #0,1,0: 98:[3, 23] Operation: 49-26=23
Exploring Operation: 26-3=23, Resulting Numbers: [49, 23]
Generated Node #0,1,1: 98:[49, 23] Operation: 26-3=23
Exploring Operation: 3+26=29, Resulting Numbers: [49, 29]
Generated Node #0,1,2: 98:[49, 29] Operation: 3+26=29
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[49, 23], Operations: ['55-6=49', '26-3=23']
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Exploring Operation: 49+23=72, Resulting Numbers: [72]
72,98 unequal: No Solution
Exploring Operation: 49*23=1127, Resulting Numbers: [1127]
1127,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[3, 23], Operations: ['55-6=49', '49-26=23']
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,98 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 98:[49, 29], Operations: ['55-6=49', '3+26=29']
Exploring Operation: 49*29=1421, Resulting Numbers: [1421]
1421,98 unequal: No Solution
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Exploring Operation: 49+29=78, Resulting Numbers: [78]
78,98 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: 98:[3, 55, 20], Operations: ['26-6=20']
Exploring Operation: 20-3=17, Resulting Numbers: [55, 17]
Generated Node #0,2,0: 98:[55, 17] Operation: 20-3=17
Exploring Operation: 3+55=58, Resulting Numbers: [20, 58]
Generated Node #0,2,1: 98:[20, 58] Operation: 3+55=58
Exploring Operation: 55-3=52, Resulting Numbers: [20, 52]
Generated Node #0,2,2: 98:[20, 52] Operation: 55-3=52
Moving to Node #0,0
Current State: 98:[6, 26, 52], Operations: ['55-3=52']
Exploring Operation: 52-26=26, Resulting Numbers: [6, 26]
Generated Node #0,0,0: 98:[6, 26] Operation: 52-26=26
Exploring Operation: 52/26=2, Resulting Numbers: [6, 2]
Generated Node #0,0,1: 98:[6, 2] Operation: 52/26=2
Exploring Operation: 26-6=20, Resulting Numbers: [52, 20]
Generated Node #0,0,2: 98:[52, 20] Operation: 26-6=20
Moving to Node #0,0,1
Current State: 98:[6, 2], Operations: ['55-3=52', '52/26=2']
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[55, 17], Operations: ['26-6=20', '20-3=17']
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Exploring Operation: 55+17=72, Resulting Numbers: [72]
72,98 unequal: No Solution
Exploring Operation: 55*17=935, Resulting Numbers: [935]
935,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[52, 20], Operations: ['55-3=52', '26-6=20']
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 52*20=1040, Resulting Numbers: [1040]
1040,98 unequal: No Solution
Exploring Operation: 52+20=72, Resulting Numbers: [72]
72,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[20, 52], Operations: ['26-6=20', '55-3=52']
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 20*52=1040, Resulting Numbers: [1040]
1040,98 unequal: No Solution
Exploring Operation: 20+52=72, Resulting Numbers: [72]
72,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[6, 26], Operations: ['55-3=52', '52-26=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[20, 58], Operations: ['26-6=20', '3+55=58']
Exploring Operation: 58-20=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Exploring Operation: 20+58=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 20*58=1160, Resulting Numbers: [1160]
1160,98 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
45,
85,
29,
80
] | 53
|
[
"85*29=2465",
"2465-80=2385",
"2385/45=53"
] |
Current State: 53:[45, 85, 29, 80], Operations: []
Exploring Operation: 85*29=2465, Resulting Numbers: [45, 80, 2465]
Generated Node #2: [45, 80, 2465] from Operation: 85*29=2465
Current State: 53:[45, 80, 2465], Operations: ['85*29=2465']
Exploring Operation: 2465-80=2385, Resulting Numbers: [45, 2385]
Generated Node #3: [45, 2385] from Operation: 2465-80=2385
Current State: 53:[45, 2385], Operations: ['85*29=2465', '2465-80=2385']
Exploring Operation: 2385/45=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4
|
Current State: 53:[45, 85, 29, 80], Operations: []
Exploring Operation: 85-29=56, Resulting Numbers: [45, 80, 56]
Generated Node #0,0: 53:[45, 80, 56] Operation: 85-29=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[45, 80, 56], Operations: ['85-29=56']
Exploring Operation: 80-45=35, Resulting Numbers: [56, 35]
Generated Node #0,0,0: 53:[56, 35] Operation: 80-45=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[56, 35], Operations: ['85-29=56', '80-45=35']
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
12,
83,
82,
77
] | 66
|
[
"83-12=71",
"82-77=5",
"71-5=66"
] |
Current State: 66:[12, 83, 82, 77], Operations: []
Exploring Operation: 83-12=71, Resulting Numbers: [82, 77, 71]
Generated Node #2: [82, 77, 71] from Operation: 83-12=71
Current State: 66:[82, 77, 71], Operations: ['83-12=71']
Exploring Operation: 82-77=5, Resulting Numbers: [71, 5]
Generated Node #3: [71, 5] from Operation: 82-77=5
Current State: 66:[71, 5], Operations: ['83-12=71', '82-77=5']
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4
|
Current State: 66:[12, 83, 82, 77], Operations: []
Exploring Operation: 83-82=1, Resulting Numbers: [12, 77, 1]
Generated Node #0,0: 66:[12, 77, 1] Operation: 83-82=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[12, 77, 1], Operations: ['83-82=1']
Exploring Operation: 77-12=65, Resulting Numbers: [1, 65]
Generated Node #0,0,0: 66:[1, 65] Operation: 77-12=65
Moving to Node #0,0,0
Current State: 66:[1, 65], Operations: ['83-82=1', '77-12=65']
Exploring Operation: 1+65=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[12, 83, 82, 77], Operations: []
Exploring Operation: 83-82=1, Resulting Numbers: [12, 77, 1]
Generated Node #0,0: 66:[12, 77, 1] Operation: 83-82=1
Moving to Node #0,0
Current State: 66:[12, 77, 1], Operations: ['83-82=1']
Exploring Operation: 77-12=65, Resulting Numbers: [1, 65]
Generated Node #0,0,0: 66:[1, 65] Operation: 77-12=65
Moving to Node #0,0,0
Current State: 66:[1, 65], Operations: ['83-82=1', '77-12=65']
Exploring Operation: 1+65=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
mult_heuristic
|
[
53,
47,
39,
12
] | 73
|
[
"53+47=100",
"39-12=27",
"100-27=73"
] |
Current State: 73:[53, 47, 39, 12], Operations: []
Exploring Operation: 53+47=100, Resulting Numbers: [39, 12, 100]
Generated Node #2: [39, 12, 100] from Operation: 53+47=100
Current State: 73:[39, 12, 100], Operations: ['53+47=100']
Exploring Operation: 39-12=27, Resulting Numbers: [100, 27]
Generated Node #3: [100, 27] from Operation: 39-12=27
Current State: 73:[100, 27], Operations: ['53+47=100', '39-12=27']
Exploring Operation: 100-27=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4
|
Current State: 73:[53, 47, 39, 12], Operations: []
Exploring Operation: 53+12=65, Resulting Numbers: [47, 39, 65]
Generated Node #0,0: 73:[47, 39, 65] Operation: 53+12=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[47, 39, 65], Operations: ['53+12=65']
Exploring Operation: 47+39=86, Resulting Numbers: [65, 86]
Generated Node #0,0,0: 73:[65, 86] Operation: 47+39=86
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[65, 86], Operations: ['53+12=65', '47+39=86']
Exploring Operation: 86-65=21, Resulting Numbers: [21]
21,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
78,
21,
54,
37
] | 18
|
[
"78*21=1638",
"54+37=91",
"1638/91=18"
] |
Current State: 18:[78, 21, 54, 37], Operations: []
Exploring Operation: 78*21=1638, Resulting Numbers: [54, 37, 1638]
Generated Node #2: [54, 37, 1638] from Operation: 78*21=1638
Current State: 18:[54, 37, 1638], Operations: ['78*21=1638']
Exploring Operation: 54+37=91, Resulting Numbers: [1638, 91]
Generated Node #3: [1638, 91] from Operation: 54+37=91
Current State: 18:[1638, 91], Operations: ['78*21=1638', '54+37=91']
Exploring Operation: 1638/91=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4
|
Current State: 18:[78, 21, 54, 37], Operations: []
Exploring Operation: 78-37=41, Resulting Numbers: [21, 54, 41]
Generated Node #0,0: 18:[21, 54, 41] Operation: 78-37=41
Exploring Operation: 54-37=17, Resulting Numbers: [78, 21, 17]
Generated Node #0,1: 18:[78, 21, 17] Operation: 54-37=17
Exploring Operation: 78-54=24, Resulting Numbers: [21, 37, 24]
Generated Node #0,2: 18:[21, 37, 24] Operation: 78-54=24
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[21, 37, 24], Operations: ['78-54=24']
Exploring Operation: 24-21=3, Resulting Numbers: [37, 3]
Generated Node #0,2,0: 18:[37, 3] Operation: 24-21=3
Exploring Operation: 37-21=16, Resulting Numbers: [24, 16]
Generated Node #0,2,1: 18:[24, 16] Operation: 37-21=16
Exploring Operation: 37-24=13, Resulting Numbers: [21, 13]
Generated Node #0,2,2: 18:[21, 13] Operation: 37-24=13
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 18:[21, 13], Operations: ['78-54=24', '37-24=13']
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,18 unequal: No Solution
No 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: 18:[24, 16], Operations: ['78-54=24', '37-21=16']
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 24*16=384, Resulting Numbers: [384]
384,18 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,18 unequal: No Solution
No 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: 18:[37, 3], Operations: ['78-54=24', '24-21=3']
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,18 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,18 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: 18:[21, 54, 41], Operations: ['78-37=41']
Exploring Operation: 54-21=33, Resulting Numbers: [41, 33]
Generated Node #0,0,0: 18:[41, 33] Operation: 54-21=33
Exploring Operation: 41-21=20, Resulting Numbers: [54, 20]
Generated Node #0,0,1: 18:[54, 20] Operation: 41-21=20
Exploring Operation: 54-41=13, Resulting Numbers: [21, 13]
Generated Node #0,0,2: 18:[21, 13] Operation: 54-41=13
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 18:[21, 13], Operations: ['78-37=41', '54-41=13']
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,18 unequal: No Solution
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,18 unequal: No Solution
No 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: 18:[41, 33], Operations: ['78-37=41', '54-21=33']
Exploring Operation: 41*33=1353, Resulting Numbers: [1353]
1353,18 unequal: No Solution
Exploring Operation: 41+33=74, Resulting Numbers: [74]
74,18 unequal: No Solution
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,18 unequal: No Solution
No 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: 18:[54, 20], Operations: ['78-37=41', '41-21=20']
Exploring Operation: 54+20=74, Resulting Numbers: [74]
74,18 unequal: No Solution
Exploring Operation: 54*20=1080, Resulting Numbers: [1080]
1080,18 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,18 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: 18:[78, 21, 17], Operations: ['54-37=17']
Exploring Operation: 78-21=57, Resulting Numbers: [17, 57]
Generated Node #0,1,0: 18:[17, 57] Operation: 78-21=57
Exploring Operation: 21-17=4, Resulting Numbers: [78, 4]
Generated Node #0,1,1: 18:[78, 4] Operation: 21-17=4
Exploring Operation: 78-17=61, Resulting Numbers: [21, 61]
Generated Node #0,1,2: 18:[21, 61] Operation: 78-17=61
Moving to Node #0,1,0
Current State: 18:[17, 57], Operations: ['54-37=17', '78-21=57']
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 17*57=969, Resulting Numbers: [969]
969,18 unequal: No Solution
Exploring Operation: 17+57=74, Resulting Numbers: [74]
74,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[21, 61], Operations: ['54-37=17', '78-17=61']
Exploring Operation: 21*61=1281, Resulting Numbers: [1281]
1281,18 unequal: No Solution
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 21+61=82, Resulting Numbers: [82]
82,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[78, 4], Operations: ['54-37=17', '21-17=4']
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,18 unequal: No Solution
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,18 unequal: No Solution
Exploring Operation: 78*4=312, Resulting Numbers: [312]
312,18 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
|
[
89,
33,
41,
88
] | 78
|
[
"41-33=8",
"88/8=11",
"89-11=78"
] |
Current State: 78:[89, 33, 41, 88], Operations: []
Exploring Operation: 41-33=8, Resulting Numbers: [89, 88, 8]
Generated Node #2: [89, 88, 8] from Operation: 41-33=8
Current State: 78:[89, 88, 8], Operations: ['41-33=8']
Exploring Operation: 88/8=11, Resulting Numbers: [89, 11]
Generated Node #3: [89, 11] from Operation: 88/8=11
Current State: 78:[89, 11], Operations: ['41-33=8', '88/8=11']
Exploring Operation: 89-11=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4
|
Current State: 78:[89, 33, 41, 88], Operations: []
Exploring Operation: 89-88=1, Resulting Numbers: [33, 41, 1]
Generated Node #0,0: 78:[33, 41, 1] Operation: 89-88=1
Exploring Operation: 41-33=8, Resulting Numbers: [89, 88, 8]
Generated Node #0,1: 78:[89, 88, 8] Operation: 41-33=8
Exploring Operation: 89-41=48, Resulting Numbers: [33, 88, 48]
Generated Node #0,2: 78:[33, 88, 48] Operation: 89-41=48
Moving to Node #0,0
Current State: 78:[33, 41, 1], Operations: ['89-88=1']
Exploring Operation: 41-33=8, Resulting Numbers: [1, 8]
Generated Node #0,0,0: 78:[1, 8] Operation: 41-33=8
Exploring Operation: 33+41=74, Resulting Numbers: [1, 74]
Generated Node #0,0,1: 78:[1, 74] Operation: 33+41=74
Exploring Operation: 33+1=34, Resulting Numbers: [41, 34]
Generated Node #0,0,2: 78:[41, 34] Operation: 33+1=34
Moving to Node #0,1
Current State: 78:[89, 88, 8], Operations: ['41-33=8']
Exploring Operation: 89-8=81, Resulting Numbers: [88, 81]
Generated Node #0,1,0: 78:[88, 81] Operation: 89-8=81
Exploring Operation: 88-8=80, Resulting Numbers: [89, 80]
Generated Node #0,1,1: 78:[89, 80] Operation: 88-8=80
Exploring Operation: 89-88=1, Resulting Numbers: [8, 1]
Generated Node #0,1,2: 78:[8, 1] Operation: 89-88=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 78:[8, 1], Operations: ['41-33=8', '89-88=1']
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[88, 81], Operations: ['41-33=8', '89-8=81']
Exploring Operation: 88-81=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 88+81=169, Resulting Numbers: [169]
169,78 unequal: No Solution
Exploring Operation: 88*81=7128, Resulting Numbers: [7128]
7128,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[89, 80], Operations: ['41-33=8', '88-8=80']
Exploring Operation: 89+80=169, Resulting Numbers: [169]
169,78 unequal: No Solution
Exploring Operation: 89-80=9, Resulting Numbers: [9]
9,78 unequal: No Solution
Exploring Operation: 89*80=7120, Resulting Numbers: [7120]
7120,78 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: 78:[33, 88, 48], Operations: ['89-41=48']
Exploring Operation: 48-33=15, Resulting Numbers: [88, 15]
Generated Node #0,2,0: 78:[88, 15] Operation: 48-33=15
Exploring Operation: 33+48=81, Resulting Numbers: [88, 81]
Generated Node #0,2,1: 78:[88, 81] Operation: 33+48=81
Exploring Operation: 88-48=40, Resulting Numbers: [33, 40]
Generated Node #0,2,2: 78:[33, 40] Operation: 88-48=40
Moving to Node #0,0,0
Current State: 78:[1, 8], Operations: ['89-88=1', '41-33=8']
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[1, 74], Operations: ['89-88=1', '33+41=74']
Exploring Operation: 74/1=74, Resulting Numbers: [74]
74,78 unequal: No Solution
Exploring Operation: 1*74=74, Resulting Numbers: [74]
74,78 unequal: No Solution
Exploring Operation: 1+74=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Moving to Node #0,0,2
Current State: 78:[41, 34], Operations: ['89-88=1', '33+1=34']
Exploring Operation: 41+34=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 41*34=1394, Resulting Numbers: [1394]
1394,78 unequal: No Solution
Moving to Node #0,2,2
Current State: 78:[33, 40], Operations: ['89-41=48', '88-48=40']
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 33+40=73, Resulting Numbers: [73]
73,78 unequal: No Solution
Exploring Operation: 33*40=1320, Resulting Numbers: [1320]
1320,78 unequal: No Solution
Moving to Node #0,2,0
Current State: 78:[88, 15], Operations: ['89-41=48', '48-33=15']
Exploring Operation: 88+15=103, Resulting Numbers: [103]
103,78 unequal: No Solution
Exploring Operation: 88*15=1320, Resulting Numbers: [1320]
1320,78 unequal: No Solution
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,78 unequal: No Solution
Moving to Node #0,2,1
Current State: 78:[88, 81], Operations: ['89-41=48', '33+48=81']
Exploring Operation: 88*81=7128, Resulting Numbers: [7128]
7128,78 unequal: No Solution
Exploring Operation: 88-81=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 88+81=169, Resulting Numbers: [169]
169,78 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
2,
57,
9,
8
] | 47
|
[
"2*9=18",
"57+8=65",
"65-18=47"
] |
Current State: 47:[2, 57, 9, 8], Operations: []
Exploring Operation: 2*9=18, Resulting Numbers: [57, 8, 18]
Generated Node #2: [57, 8, 18] from Operation: 2*9=18
Current State: 47:[57, 8, 18], Operations: ['2*9=18']
Exploring Operation: 57+8=65, Resulting Numbers: [18, 65]
Generated Node #3: [18, 65] from Operation: 57+8=65
Current State: 47:[18, 65], Operations: ['2*9=18', '57+8=65']
Exploring Operation: 65-18=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4
|
Current State: 47:[2, 57, 9, 8], Operations: []
Exploring Operation: 2*9=18, Resulting Numbers: [57, 8, 18]
Generated Node #0,0: 47:[57, 8, 18] Operation: 2*9=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[57, 8, 18], Operations: ['2*9=18']
Exploring Operation: 57-8=49, Resulting Numbers: [18, 49]
Generated Node #0,0,0: 47:[18, 49] Operation: 57-8=49
Moving to Node #0,0,0
Current State: 47:[18, 49], Operations: ['2*9=18', '57-8=49']
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,47 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
|
[
54,
76,
11,
22
] | 44
|
[
"76-54=22",
"22/11=2",
"22*2=44"
] |
Current State: 44:[54, 76, 11, 22], Operations: []
Exploring Operation: 76-54=22, Resulting Numbers: [11, 22, 22]
Generated Node #2: [11, 22, 22] from Operation: 76-54=22
Current State: 44:[11, 22, 22], Operations: ['76-54=22']
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,44 equal: Goal Reached
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4
|
Current State: 44:[54, 76, 11, 22], Operations: []
Exploring Operation: 76-54=22, Resulting Numbers: [11, 22, 22]
Generated Node #0,0: 44:[11, 22, 22] Operation: 76-54=22
Moving to Node #0,0
Current State: 44:[11, 22, 22], Operations: ['76-54=22']
Exploring Operation: 22-11=11, Resulting Numbers: [22, 11]
Generated Node #0,0,0: 44:[22, 11] Operation: 22-11=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[22, 11], Operations: ['76-54=22', '22-11=11']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,44 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
|
[
3,
6,
79,
17
] | 10
|
[
"6+17=23",
"3*23=69",
"79-69=10"
] |
Current State: 10:[3, 6, 79, 17], Operations: []
Exploring Operation: 6+17=23, Resulting Numbers: [3, 79, 23]
Generated Node #2: [3, 79, 23] from Operation: 6+17=23
Current State: 10:[3, 79, 23], Operations: ['6+17=23']
Exploring Operation: 3*23=69, Resulting Numbers: [79, 69]
Generated Node #3: [79, 69] from Operation: 3*23=69
Current State: 10:[79, 69], Operations: ['6+17=23', '3*23=69']
Exploring Operation: 79-69=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4
|
Current State: 10:[3, 6, 79, 17], Operations: []
Exploring Operation: 17-6=11, Resulting Numbers: [3, 79, 11]
Generated Node #0,0: 10:[3, 79, 11] Operation: 17-6=11
Exploring Operation: 79-17=62, Resulting Numbers: [3, 6, 62]
Generated Node #0,1: 10:[3, 6, 62] Operation: 79-17=62
Exploring Operation: 79-6=73, Resulting Numbers: [3, 17, 73]
Generated Node #0,2: 10:[3, 17, 73] Operation: 79-6=73
Moving to Node #0,1
Current State: 10:[3, 6, 62], Operations: ['79-17=62']
Exploring Operation: 62-6=56, Resulting Numbers: [3, 56]
Generated Node #0,1,0: 10:[3, 56] Operation: 62-6=56
Exploring Operation: 62-3=59, Resulting Numbers: [6, 59]
Generated Node #0,1,1: 10:[6, 59] Operation: 62-3=59
Exploring Operation: 6/3=2, Resulting Numbers: [62, 2]
Generated Node #0,1,2: 10:[62, 2] Operation: 6/3=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[3, 56], Operations: ['79-17=62', '62-6=56']
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,10 unequal: No Solution
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,10 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,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:[6, 59], Operations: ['79-17=62', '62-3=59']
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 6+59=65, Resulting Numbers: [65]
65,10 unequal: No Solution
Exploring Operation: 6*59=354, Resulting Numbers: [354]
354,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:[62, 2], Operations: ['79-17=62', '6/3=2']
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,10 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,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:[3, 79, 11], Operations: ['17-6=11']
Exploring Operation: 79-11=68, Resulting Numbers: [3, 68]
Generated Node #0,0,0: 10:[3, 68] Operation: 79-11=68
Exploring Operation: 79-3=76, Resulting Numbers: [11, 76]
Generated Node #0,0,1: 10:[11, 76] Operation: 79-3=76
Exploring Operation: 11-3=8, Resulting Numbers: [79, 8]
Generated Node #0,0,2: 10:[79, 8] Operation: 11-3=8
Moving to Node #0,2
Current State: 10:[3, 17, 73], Operations: ['79-6=73']
Exploring Operation: 17-3=14, Resulting Numbers: [73, 14]
Generated Node #0,2,0: 10:[73, 14] Operation: 17-3=14
Exploring Operation: 73-3=70, Resulting Numbers: [17, 70]
Generated Node #0,2,1: 10:[17, 70] Operation: 73-3=70
Exploring Operation: 73-17=56, Resulting Numbers: [3, 56]
Generated Node #0,2,2: 10:[3, 56] Operation: 73-17=56
Moving to Node #0,2,2
Current State: 10:[3, 56], Operations: ['79-6=73', '73-17=56']
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,10 unequal: No Solution
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,10 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[3, 68], Operations: ['17-6=11', '79-11=68']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,10 unequal: No Solution
Exploring Operation: 3*68=204, Resulting Numbers: [204]
204,10 unequal: No Solution
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[17, 70], Operations: ['79-6=73', '73-3=70']
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 17+70=87, Resulting Numbers: [87]
87,10 unequal: No Solution
Exploring Operation: 17*70=1190, Resulting Numbers: [1190]
1190,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[73, 14], Operations: ['79-6=73', '17-3=14']
Exploring Operation: 73*14=1022, Resulting Numbers: [1022]
1022,10 unequal: No Solution
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,10 unequal: No Solution
Exploring Operation: 73+14=87, Resulting Numbers: [87]
87,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[11, 76], Operations: ['17-6=11', '79-3=76']
Exploring Operation: 11*76=836, Resulting Numbers: [836]
836,10 unequal: No Solution
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,10 unequal: No Solution
Exploring Operation: 11+76=87, Resulting Numbers: [87]
87,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[79, 8], Operations: ['17-6=11', '11-3=8']
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,10 unequal: No Solution
Exploring Operation: 79*8=632, Resulting Numbers: [632]
632,10 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
47,
24,
46,
69
] | 47
|
[
"24+46=70",
"70-69=1",
"47*1=47"
] |
Current State: 47:[47, 24, 46, 69], Operations: []
Exploring Operation: 24+46=70, Resulting Numbers: [47, 69, 70]
Generated Node #2: [47, 69, 70] from Operation: 24+46=70
Current State: 47:[47, 69, 70], Operations: ['24+46=70']
Exploring Operation: 70-69=1, Resulting Numbers: [47, 1]
Generated Node #3: [47, 1] from Operation: 70-69=1
Current State: 47:[47, 1], Operations: ['24+46=70', '70-69=1']
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4
|
Current State: 47:[47, 24, 46, 69], Operations: []
Exploring Operation: 47+24=71, Resulting Numbers: [46, 69, 71]
Generated Node #0,0: 47:[46, 69, 71] Operation: 47+24=71
Exploring Operation: 24+46=70, Resulting Numbers: [47, 69, 70]
Generated Node #0,1: 47:[47, 69, 70] Operation: 24+46=70
Exploring Operation: 69-24=45, Resulting Numbers: [47, 46, 45]
Generated Node #0,2: 47:[47, 46, 45] Operation: 69-24=45
Moving to Node #0,2
Current State: 47:[47, 46, 45], Operations: ['69-24=45']
Exploring Operation: 46+45=91, Resulting Numbers: [47, 91]
Generated Node #0,2,0: 47:[47, 91] Operation: 46+45=91
Exploring Operation: 47+45=92, Resulting Numbers: [46, 92]
Generated Node #0,2,1: 47:[46, 92] Operation: 47+45=92
Exploring Operation: 47-45=2, Resulting Numbers: [46, 2]
Generated Node #0,2,2: 47:[46, 2] Operation: 47-45=2
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[47, 91], Operations: ['69-24=45', '46+45=91']
Exploring Operation: 91-47=44, Resulting Numbers: [44]
44,47 unequal: No Solution
Exploring Operation: 47+91=138, Resulting Numbers: [138]
138,47 unequal: No Solution
Exploring Operation: 47*91=4277, Resulting Numbers: [4277]
4277,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:[46, 92], Operations: ['69-24=45', '47+45=92']
Exploring Operation: 92/46=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 46+92=138, Resulting Numbers: [138]
138,47 unequal: No Solution
Exploring Operation: 92-46=46, Resulting Numbers: [46]
46,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:[46, 2], Operations: ['69-24=45', '47-45=2']
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,47 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,47 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: 47:[47, 69, 70], Operations: ['24+46=70']
Exploring Operation: 70-69=1, Resulting Numbers: [47, 1]
Generated Node #0,1,0: 47:[47, 1] Operation: 70-69=1
Exploring Operation: 69-47=22, Resulting Numbers: [70, 22]
Generated Node #0,1,1: 47:[70, 22] Operation: 69-47=22
Exploring Operation: 70-47=23, Resulting Numbers: [69, 23]
Generated Node #0,1,2: 47:[69, 23] Operation: 70-47=23
Moving to Node #0,0
Current State: 47:[46, 69, 71], Operations: ['47+24=71']
Exploring Operation: 69-46=23, Resulting Numbers: [71, 23]
Generated Node #0,0,0: 47:[71, 23] Operation: 69-46=23
Exploring Operation: 71-46=25, Resulting Numbers: [69, 25]
Generated Node #0,0,1: 47:[69, 25] Operation: 71-46=25
Exploring Operation: 71-69=2, Resulting Numbers: [46, 2]
Generated Node #0,0,2: 47:[46, 2] Operation: 71-69=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[69, 25], Operations: ['47+24=71', '71-46=25']
Exploring Operation: 69+25=94, Resulting Numbers: [94]
94,47 unequal: No Solution
Exploring Operation: 69*25=1725, Resulting Numbers: [1725]
1725,47 unequal: No Solution
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,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:[46, 2], Operations: ['47+24=71', '71-69=2']
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,47 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,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:[71, 23], Operations: ['47+24=71', '69-46=23']
Exploring Operation: 71+23=94, Resulting Numbers: [94]
94,47 unequal: No Solution
Exploring Operation: 71*23=1633, Resulting Numbers: [1633]
1633,47 unequal: No Solution
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,47 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: 47:[47, 1], Operations: ['24+46=70', '70-69=1']
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[47, 24, 46, 69], Operations: []
Exploring Operation: 24+46=70, Resulting Numbers: [47, 69, 70]
Generated Node #0,1: 47:[47, 69, 70] Operation: 24+46=70
Moving to Node #0,1
Current State: 47:[47, 69, 70], Operations: ['24+46=70']
Exploring Operation: 70-69=1, Resulting Numbers: [47, 1]
Generated Node #0,1,0: 47:[47, 1] Operation: 70-69=1
Moving to Node #0,1,0
Current State: 47:[47, 1], Operations: ['24+46=70', '70-69=1']
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 0.96875
|
hs_3
|
mult_heuristic
|
[
62,
16,
73,
2
] | 25
|
[
"62-16=46",
"73-2=71",
"71-46=25"
] |
Current State: 25:[62, 16, 73, 2], Operations: []
Exploring Operation: 62-16=46, Resulting Numbers: [73, 2, 46]
Generated Node #2: [73, 2, 46] from Operation: 62-16=46
Current State: 25:[73, 2, 46], Operations: ['62-16=46']
Exploring Operation: 73-2=71, Resulting Numbers: [46, 71]
Generated Node #3: [46, 71] from Operation: 73-2=71
Current State: 25:[46, 71], Operations: ['62-16=46', '73-2=71']
Exploring Operation: 71-46=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4
|
Current State: 25:[62, 16, 73, 2], Operations: []
Exploring Operation: 62/2=31, Resulting Numbers: [16, 73, 31]
Generated Node #0,0: 25:[16, 73, 31] Operation: 62/2=31
Exploring Operation: 73-62=11, Resulting Numbers: [16, 2, 11]
Generated Node #0,1: 25:[16, 2, 11] Operation: 73-62=11
Exploring Operation: 62-16=46, Resulting Numbers: [73, 2, 46]
Generated Node #0,2: 25:[73, 2, 46] Operation: 62-16=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[16, 2, 11], Operations: ['73-62=11']
Exploring Operation: 16+11=27, Resulting Numbers: [2, 27]
Generated Node #0,1,0: 25:[2, 27] Operation: 16+11=27
Exploring Operation: 16/2=8, Resulting Numbers: [11, 8]
Generated Node #0,1,1: 25:[11, 8] Operation: 16/2=8
Exploring Operation: 16-11=5, Resulting Numbers: [2, 5]
Generated Node #0,1,2: 25:[2, 5] Operation: 16-11=5
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 25:[2, 5], Operations: ['73-62=11', '16-11=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,25 unequal: No Solution
No 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: 25:[2, 27], Operations: ['73-62=11', '16+11=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[62, 16, 73, 2], Operations: []
Exploring Operation: 73-62=11, Resulting Numbers: [16, 2, 11]
Generated Node #0,1: 25:[16, 2, 11] Operation: 73-62=11
Moving to Node #0,1
Current State: 25:[16, 2, 11], Operations: ['73-62=11']
Exploring Operation: 16+11=27, Resulting Numbers: [2, 27]
Generated Node #0,1,0: 25:[2, 27] Operation: 16+11=27
Moving to Node #0,1,0
Current State: 25:[2, 27], Operations: ['73-62=11', '16+11=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111
|
hs_3
|
mult_heuristic
|
[
40,
1,
35,
79
] | 70
|
[
"1+79=80",
"80/40=2",
"35*2=70"
] |
Current State: 70:[40, 1, 35, 79], Operations: []
Exploring Operation: 1+79=80, Resulting Numbers: [40, 35, 80]
Generated Node #2: [40, 35, 80] from Operation: 1+79=80
Current State: 70:[40, 35, 80], Operations: ['1+79=80']
Exploring Operation: 80/40=2, Resulting Numbers: [35, 2]
Generated Node #3: [35, 2] from Operation: 80/40=2
Current State: 70:[35, 2], Operations: ['1+79=80', '80/40=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4
|
Current State: 70:[40, 1, 35, 79], Operations: []
Exploring Operation: 79-40=39, Resulting Numbers: [1, 35, 39]
Generated Node #0,0: 70:[1, 35, 39] Operation: 79-40=39
Exploring Operation: 40-1=39, Resulting Numbers: [35, 79, 39]
Generated Node #0,1: 70:[35, 79, 39] Operation: 40-1=39
Exploring Operation: 40-35=5, Resulting Numbers: [1, 79, 5]
Generated Node #0,2: 70:[1, 79, 5] Operation: 40-35=5
Exploring Operation: 79-1=78, Resulting Numbers: [40, 35, 78]
Generated Node #0,3: 70:[40, 35, 78] Operation: 79-1=78
Exploring Operation: 40*1=40, Resulting Numbers: [35, 79, 40]
Generated Node #0,4: 70:[35, 79, 40] Operation: 40*1=40
Moving to Node #0,0
Current State: 70:[1, 35, 39], Operations: ['79-40=39']
Exploring Operation: 39-35=4, Resulting Numbers: [1, 4]
Generated Node #0,0,0: 70:[1, 4] Operation: 39-35=4
Exploring Operation: 39-1=38, Resulting Numbers: [35, 38]
Generated Node #0,0,1: 70:[35, 38] Operation: 39-1=38
Exploring Operation: 35/1=35, Resulting Numbers: [39, 35]
Generated Node #0,0,2: 70:[39, 35] Operation: 35/1=35
Exploring Operation: 1*35=35, Resulting Numbers: [39, 35]
Generated Node #0,0,3: 70:[39, 35] Operation: 1*35=35
Exploring Operation: 1*39=39, Resulting Numbers: [35, 39]
Generated Node #0,0,4: 70:[35, 39] Operation: 1*39=39
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[1, 4], Operations: ['79-40=39', '39-35=4']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,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:[35, 38], Operations: ['79-40=39', '39-1=38']
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 35+38=73, Resulting Numbers: [73]
73,70 unequal: No Solution
Exploring Operation: 35*38=1330, Resulting Numbers: [1330]
1330,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 70:[39, 35], Operations: ['79-40=39', '35/1=35']
Exploring Operation: 39*35=1365, Resulting Numbers: [1365]
1365,70 unequal: No Solution
Exploring Operation: 39+35=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 70:[39, 35], Operations: ['79-40=39', '1*35=35']
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 39*35=1365, Resulting Numbers: [1365]
1365,70 unequal: No Solution
Exploring Operation: 39+35=74, Resulting Numbers: [74]
74,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,4
Current State: 70:[35, 39], Operations: ['79-40=39', '1*39=39']
Exploring Operation: 35+39=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 35*39=1365, Resulting Numbers: [1365]
1365,70 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: 70:[1, 79, 5], Operations: ['40-35=5']
Exploring Operation: 1*79=79, Resulting Numbers: [5, 79]
Generated Node #0,2,0: 70:[5, 79] Operation: 1*79=79
Exploring Operation: 79-5=74, Resulting Numbers: [1, 74]
Generated Node #0,2,1: 70:[1, 74] Operation: 79-5=74
Exploring Operation: 79/1=79, Resulting Numbers: [5, 79]
Generated Node #0,2,2: 70:[5, 79] Operation: 79/1=79
Exploring Operation: 79-1=78, Resulting Numbers: [5, 78]
Generated Node #0,2,3: 70:[5, 78] Operation: 79-1=78
Exploring Operation: 1*5=5, Resulting Numbers: [79, 5]
Generated Node #0,2,4: 70:[79, 5] Operation: 1*5=5
Moving to Node #0,1
Current State: 70:[35, 79, 39], Operations: ['40-1=39']
Exploring Operation: 79-35=44, Resulting Numbers: [39, 44]
Generated Node #0,1,0: 70:[39, 44] Operation: 79-35=44
Exploring Operation: 79-39=40, Resulting Numbers: [35, 40]
Generated Node #0,1,1: 70:[35, 40] Operation: 79-39=40
Exploring Operation: 35+39=74, Resulting Numbers: [79, 74]
Generated Node #0,1,2: 70:[79, 74] Operation: 35+39=74
Exploring Operation: 39-35=4, Resulting Numbers: [79, 4]
Generated Node #0,1,3: 70:[79, 4] Operation: 39-35=4
Exploring Operation: 35+79=114, Resulting Numbers: [39, 114]
Generated Node #0,1,4: 70:[39, 114] Operation: 35+79=114
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[35, 40], Operations: ['40-1=39', '79-39=40']
Exploring Operation: 35*40=1400, Resulting Numbers: [1400]
1400,70 unequal: No Solution
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 35+40=75, Resulting Numbers: [75]
75,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,1,3
Current State: 70:[79, 4], Operations: ['40-1=39', '39-35=4']
Exploring Operation: 79*4=316, Resulting Numbers: [316]
316,70 unequal: No Solution
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,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,1,0
Current State: 70:[39, 44], Operations: ['40-1=39', '79-35=44']
Exploring Operation: 39*44=1716, Resulting Numbers: [1716]
1716,70 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 39+44=83, Resulting Numbers: [83]
83,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,1,2
Current State: 70:[79, 74], Operations: ['40-1=39', '35+39=74']
Exploring Operation: 79+74=153, Resulting Numbers: [153]
153,70 unequal: No Solution
Exploring Operation: 79*74=5846, Resulting Numbers: [5846]
5846,70 unequal: No Solution
Exploring Operation: 79-74=5, Resulting Numbers: [5]
5,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,1,4
Current State: 70:[39, 114], Operations: ['40-1=39', '35+79=114']
Exploring Operation: 39+114=153, Resulting Numbers: [153]
153,70 unequal: No Solution
Exploring Operation: 114-39=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 39*114=4446, Resulting Numbers: [4446]
4446,70 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: 70:[40, 35, 78], Operations: ['79-1=78']
Exploring Operation: 78-40=38, Resulting Numbers: [35, 38]
Generated Node #0,3,0: 70:[35, 38] Operation: 78-40=38
Exploring Operation: 40+78=118, Resulting Numbers: [35, 118]
Generated Node #0,3,1: 70:[35, 118] Operation: 40+78=118
Exploring Operation: 78-35=43, Resulting Numbers: [40, 43]
Generated Node #0,3,2: 70:[40, 43] Operation: 78-35=43
Exploring Operation: 40+35=75, Resulting Numbers: [78, 75]
Generated Node #0,3,3: 70:[78, 75] Operation: 40+35=75
Exploring Operation: 40-35=5, Resulting Numbers: [78, 5]
Generated Node #0,3,4: 70:[78, 5] Operation: 40-35=5
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 70:[35, 38], Operations: ['79-1=78', '78-40=38']
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 35*38=1330, Resulting Numbers: [1330]
1330,70 unequal: No Solution
Exploring Operation: 35+38=73, Resulting Numbers: [73]
73,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 70:[78, 5], Operations: ['79-1=78', '40-35=5']
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,70 unequal: No Solution
Exploring Operation: 78+5=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 78*5=390, Resulting Numbers: [390]
390,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 70:[40, 43], Operations: ['79-1=78', '78-35=43']
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 40*43=1720, Resulting Numbers: [1720]
1720,70 unequal: No Solution
Exploring Operation: 40+43=83, Resulting Numbers: [83]
83,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 70:[78, 75], Operations: ['79-1=78', '40+35=75']
Exploring Operation: 78*75=5850, Resulting Numbers: [5850]
5850,70 unequal: No Solution
Exploring Operation: 78+75=153, Resulting Numbers: [153]
153,70 unequal: No Solution
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 70:[35, 118], Operations: ['79-1=78', '40+78=118']
Exploring Operation: 118-35=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 35*118=4130, Resulting Numbers: [4130]
4130,70 unequal: No Solution
Exploring Operation: 35+118=153, Resulting Numbers: [153]
153,70 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: 70:[35, 79, 40], Operations: ['40*1=40']
Exploring Operation: 35+79=114, Resulting Numbers: [40, 114]
Generated Node #0,4,0: 70:[40, 114] Operation: 35+79=114
Exploring Operation: 79-40=39, Resulting Numbers: [35, 39]
Generated Node #0,4,1: 70:[35, 39] Operation: 79-40=39
Exploring Operation: 40-35=5, Resulting Numbers: [79, 5]
Generated Node #0,4,2: 70:[79, 5] Operation: 40-35=5
Exploring Operation: 35+40=75, Resulting Numbers: [79, 75]
Generated Node #0,4,3: 70:[79, 75] Operation: 35+40=75
Exploring Operation: 79-35=44, Resulting Numbers: [40, 44]
Generated Node #0,4,4: 70:[40, 44] Operation: 79-35=44
Moving to Node #0,4,1
Current State: 70:[35, 39], Operations: ['40*1=40', '79-40=39']
Exploring Operation: 35*39=1365, Resulting Numbers: [1365]
1365,70 unequal: No Solution
Exploring Operation: 35+39=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[1, 74], Operations: ['40-35=5', '79-5=74']
Exploring Operation: 1+74=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,70 unequal: No Solution
Exploring Operation: 74/1=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 1*74=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[5, 78], Operations: ['40-35=5', '79-1=78']
Exploring Operation: 5*78=390, Resulting Numbers: [390]
390,70 unequal: No Solution
Exploring Operation: 5+78=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,70 unequal: No Solution
Moving to Node #0,4,2
Current State: 70:[79, 5], Operations: ['40*1=40', '40-35=5']
Exploring Operation: 79*5=395, Resulting Numbers: [395]
395,70 unequal: No Solution
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 79+5=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[5, 79], Operations: ['40-35=5', '1*79=79']
Exploring Operation: 5+79=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 5*79=395, Resulting Numbers: [395]
395,70 unequal: No Solution
Moving to Node #0,2,4
Current State: 70:[79, 5], Operations: ['40-35=5', '1*5=5']
Exploring Operation: 79+5=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 79*5=395, Resulting Numbers: [395]
395,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[5, 79], Operations: ['40-35=5', '79/1=79']
Exploring Operation: 5+79=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 5*79=395, Resulting Numbers: [395]
395,70 unequal: No Solution
Moving to Node #0,4,3
Current State: 70:[79, 75], Operations: ['40*1=40', '35+40=75']
Exploring Operation: 79+75=154, Resulting Numbers: [154]
154,70 unequal: No Solution
Exploring Operation: 79*75=5925, Resulting Numbers: [5925]
5925,70 unequal: No Solution
Exploring Operation: 79-75=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Moving to Node #0,4,4
Current State: 70:[40, 44], Operations: ['40*1=40', '79-35=44']
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 40*44=1760, Resulting Numbers: [1760]
1760,70 unequal: No Solution
Exploring Operation: 40+44=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Moving to Node #0,4,0
Current State: 70:[40, 114], Operations: ['40*1=40', '35+79=114']
Exploring Operation: 40+114=154, Resulting Numbers: [154]
154,70 unequal: No Solution
Exploring Operation: 114-40=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 40*114=4560, Resulting Numbers: [4560]
4560,70 unequal: No Solution
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
86,
82,
21,
7
] | 18
|
[
"86-82=4",
"21-7=14",
"4+14=18"
] |
Current State: 18:[86, 82, 21, 7], Operations: []
Exploring Operation: 86-82=4, Resulting Numbers: [21, 7, 4]
Generated Node #2: [21, 7, 4] from Operation: 86-82=4
Current State: 18:[21, 7, 4], Operations: ['86-82=4']
Exploring Operation: 21-7=14, Resulting Numbers: [4, 14]
Generated Node #3: [4, 14] from Operation: 21-7=14
Current State: 18:[4, 14], Operations: ['86-82=4', '21-7=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4
|
Current State: 18:[86, 82, 21, 7], Operations: []
Exploring Operation: 86-82=4, Resulting Numbers: [21, 7, 4]
Generated Node #0,0: 18:[21, 7, 4] Operation: 86-82=4
Exploring Operation: 82-21=61, Resulting Numbers: [86, 7, 61]
Generated Node #0,1: 18:[86, 7, 61] Operation: 82-21=61
Exploring Operation: 86-7=79, Resulting Numbers: [82, 21, 79]
Generated Node #0,2: 18:[82, 21, 79] Operation: 86-7=79
Exploring Operation: 82-7=75, Resulting Numbers: [86, 21, 75]
Generated Node #0,3: 18:[86, 21, 75] Operation: 82-7=75
Exploring Operation: 86-21=65, Resulting Numbers: [82, 7, 65]
Generated Node #0,4: 18:[82, 7, 65] Operation: 86-21=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[21, 7, 4], Operations: ['86-82=4']
Exploring Operation: 7+4=11, Resulting Numbers: [21, 11]
Generated Node #0,0,0: 18:[21, 11] Operation: 7+4=11
Exploring Operation: 7-4=3, Resulting Numbers: [21, 3]
Generated Node #0,0,1: 18:[21, 3] Operation: 7-4=3
Exploring Operation: 21/7=3, Resulting Numbers: [4, 3]
Generated Node #0,0,2: 18:[4, 3] Operation: 21/7=3
Exploring Operation: 21-4=17, Resulting Numbers: [7, 17]
Generated Node #0,0,3: 18:[7, 17] Operation: 21-4=17
Exploring Operation: 21-7=14, Resulting Numbers: [4, 14]
Generated Node #0,0,4: 18:[4, 14] Operation: 21-7=14
Moving to Node #0,0,2
Current State: 18:[4, 3], Operations: ['86-82=4', '21/7=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Moving to Node #0,0,3
Current State: 18:[7, 17], Operations: ['86-82=4', '21-4=17']
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,18 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[21, 3], Operations: ['86-82=4', '7-4=3']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[86, 82, 21, 7], Operations: []
Exploring Operation: 86-82=4, Resulting Numbers: [21, 7, 4]
Generated Node #0,0: 18:[21, 7, 4] Operation: 86-82=4
Moving to Node #0,0
Current State: 18:[21, 7, 4], Operations: ['86-82=4']
Exploring Operation: 7-4=3, Resulting Numbers: [21, 3]
Generated Node #0,0,1: 18:[21, 3] Operation: 7-4=3
Moving to Node #0,0,1
Current State: 18:[21, 3], Operations: ['86-82=4', '7-4=3']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771
|
hs_5
|
mult_heuristic
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.