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 |
|---|---|---|---|---|---|---|---|---|
[
70,
27,
37,
73
] | 66 | [
"37-27=10",
"70/10=7",
"73-7=66"
] | Current State: 66:[70, 27, 37, 73], Operations: []
Exploring Operation: 37-27=10, Resulting Numbers: [70, 73, 10]
Generated Node #2: [70, 73, 10] from Operation: 37-27=10
Current State: 66:[70, 73, 10], Operations: ['37-27=10']
Exploring Operation: 70/10=7, Resulting Numbers: [73, 7]
Generated Node #3: [73, 7] from Operation: 70/10=7
Current State: 66:[73, 7], Operations: ['37-27=10', '70/10=7']
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[70, 27, 37, 73], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [27, 37, 3]
Generated Node #0,0: 66:[27, 37, 3] Operation: 73-70=3
Exploring Operation: 70-37=33, Resulting Numbers: [27, 73, 33]
Generated Node #0,1: 66:[27, 73, 33] Operation: 70-37=33
Exploring Operation: 37-27=10, Resulting Numbers: [70, 73, 10]
Generated Node #0,2: 66:[70, 73, 10] Operation: 37-27=10
Exploring Operation: 73-37=36, Resulting Numbers: [70, 27, 36]
Generated Node #0,3: 66:[70, 27, 36] Operation: 73-37=36
Moving to Node #0,0
Current State: 66:[27, 37, 3], Operations: ['73-70=3']
Exploring Operation: 37-27=10, Resulting Numbers: [3, 10]
Generated Node #0,0,0: 66:[3, 10] Operation: 37-27=10
Exploring Operation: 27-3=24, Resulting Numbers: [37, 24]
Generated Node #0,0,1: 66:[37, 24] Operation: 27-3=24
Exploring Operation: 27/3=9, Resulting Numbers: [37, 9]
Generated Node #0,0,2: 66:[37, 9] Operation: 27/3=9
Exploring Operation: 27+37=64, Resulting Numbers: [3, 64]
Generated Node #0,0,3: 66:[3, 64] Operation: 27+37=64
Moving to Node #0,2
Current State: 66:[70, 73, 10], Operations: ['37-27=10']
Exploring Operation: 70/10=7, Resulting Numbers: [73, 7]
Generated Node #0,2,0: 66:[73, 7] Operation: 70/10=7
Exploring Operation: 73-10=63, Resulting Numbers: [70, 63]
Generated Node #0,2,1: 66:[70, 63] Operation: 73-10=63
Exploring Operation: 70-10=60, Resulting Numbers: [73, 60]
Generated Node #0,2,2: 66:[73, 60] Operation: 70-10=60
Exploring Operation: 73-70=3, Resulting Numbers: [10, 3]
Generated Node #0,2,3: 66:[10, 3] Operation: 73-70=3
Moving to Node #0,1
Current State: 66:[27, 73, 33], Operations: ['70-37=33']
Exploring Operation: 33-27=6, Resulting Numbers: [73, 6]
Generated Node #0,1,0: 66:[73, 6] Operation: 33-27=6
Exploring Operation: 27+33=60, Resulting Numbers: [73, 60]
Generated Node #0,1,1: 66:[73, 60] Operation: 27+33=60
Exploring Operation: 73-27=46, Resulting Numbers: [33, 46]
Generated Node #0,1,2: 66:[33, 46] Operation: 73-27=46
Exploring Operation: 73-33=40, Resulting Numbers: [27, 40]
Generated Node #0,1,3: 66:[27, 40] Operation: 73-33=40
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[73, 6], Operations: ['70-37=33', '33-27=6']
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,66 unequal: No Solution
Exploring Operation: 73*6=438, Resulting Numbers: [438]
438,66 unequal: No Solution
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 66:[27, 40], Operations: ['70-37=33', '73-33=40']
Exploring Operation: 27*40=1080, Resulting Numbers: [1080]
1080,66 unequal: No Solution
Exploring Operation: 27+40=67, Resulting Numbers: [67]
67,66 unequal: No Solution
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[73, 60], Operations: ['70-37=33', '27+33=60']
Exploring Operation: 73-60=13, Resulting Numbers: [13]
13,66 unequal: No Solution
Exploring Operation: 73+60=133, Resulting Numbers: [133]
133,66 unequal: No Solution
Exploring Operation: 73*60=4380, Resulting Numbers: [4380]
4380,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[33, 46], Operations: ['70-37=33', '73-27=46']
Exploring Operation: 33+46=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 33*46=1518, Resulting Numbers: [1518]
1518,66 unequal: No Solution
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,66 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: 66:[70, 27, 36], Operations: ['73-37=36']
Exploring Operation: 70-27=43, Resulting Numbers: [36, 43]
Generated Node #0,3,0: 66:[36, 43] Operation: 70-27=43
Exploring Operation: 36-27=9, Resulting Numbers: [70, 9]
Generated Node #0,3,1: 66:[70, 9] Operation: 36-27=9
Exploring Operation: 70-36=34, Resulting Numbers: [27, 34]
Generated Node #0,3,2: 66:[27, 34] Operation: 70-36=34
Exploring Operation: 27+36=63, Resulting Numbers: [70, 63]
Generated Node #0,3,3: 66:[70, 63] Operation: 27+36=63
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 66:[70, 9], Operations: ['73-37=36', '36-27=9']
Exploring Operation: 70*9=630, Resulting Numbers: [630]
630,66 unequal: No Solution
Exploring Operation: 70+9=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 66:[27, 34], Operations: ['73-37=36', '70-36=34']
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,66 unequal: No Solution
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,66 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 66:[70, 63], Operations: ['73-37=36', '27+36=63']
Exploring Operation: 70-63=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 70+63=133, Resulting Numbers: [133]
133,66 unequal: No Solution
Exploring Operation: 70*63=4410, Resulting Numbers: [4410]
4410,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 66:[36, 43], Operations: ['73-37=36', '70-27=43']
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 36+43=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 36*43=1548, Resulting Numbers: [1548]
1548,66 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: 66:[3, 10], Operations: ['73-70=3', '37-27=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,66 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[10, 3], Operations: ['37-27=10', '73-70=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,66 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[3, 64], Operations: ['73-70=3', '27+37=64']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,66 unequal: No Solution
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,66 unequal: No Solution
Exploring Operation: 3*64=192, Resulting Numbers: [192]
192,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[37, 24], Operations: ['73-70=3', '27-3=24']
Exploring Operation: 37*24=888, Resulting Numbers: [888]
888,66 unequal: No Solution
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,66 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[37, 9], Operations: ['73-70=3', '27/3=9']
Exploring Operation: 37*9=333, Resulting Numbers: [333]
333,66 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[70, 63], Operations: ['37-27=10', '73-10=63']
Exploring Operation: 70-63=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 70*63=4410, Resulting Numbers: [4410]
4410,66 unequal: No Solution
Exploring Operation: 70+63=133, Resulting Numbers: [133]
133,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[73, 7], Operations: ['37-27=10', '70/10=7']
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[70, 27, 37, 73], Operations: []
Exploring Operation: 37-27=10, Resulting Numbers: [70, 73, 10]
Generated Node #0,2: 66:[70, 73, 10] Operation: 37-27=10
Moving to Node #0,2
Current State: 66:[70, 73, 10], Operations: ['37-27=10']
Exploring Operation: 70/10=7, Resulting Numbers: [73, 7]
Generated Node #0,2,0: 66:[73, 7] Operation: 70/10=7
Moving to Node #0,2,0
Current State: 66:[73, 7], Operations: ['37-27=10', '70/10=7']
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 0.94184 | hs_4 | sum_heuristic |
[
80,
19,
81,
72
] | 90 | [
"80+19=99",
"81-72=9",
"99-9=90"
] | Current State: 90:[80, 19, 81, 72], Operations: []
Exploring Operation: 80+19=99, Resulting Numbers: [81, 72, 99]
Generated Node #2: [81, 72, 99] from Operation: 80+19=99
Current State: 90:[81, 72, 99], Operations: ['80+19=99']
Exploring Operation: 81-72=9, Resulting Numbers: [99, 9]
Generated Node #3: [99, 9] from Operation: 81-72=9
Current State: 90:[99, 9], Operations: ['80+19=99', '81-72=9']
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[80, 19, 81, 72], Operations: []
Exploring Operation: 80-72=8, Resulting Numbers: [19, 81, 8]
Generated Node #0,0: 90:[19, 81, 8] Operation: 80-72=8
Exploring Operation: 19+72=91, Resulting Numbers: [80, 81, 91]
Generated Node #0,1: 90:[80, 81, 91] Operation: 19+72=91
Exploring Operation: 81-72=9, Resulting Numbers: [80, 19, 9]
Generated Node #0,2: 90:[80, 19, 9] Operation: 81-72=9
Exploring Operation: 81-80=1, Resulting Numbers: [19, 72, 1]
Generated Node #0,3: 90:[19, 72, 1] Operation: 81-80=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[19, 81, 8], Operations: ['80-72=8']
Exploring Operation: 19+8=27, Resulting Numbers: [81, 27]
Generated Node #0,0,0: 90:[81, 27] Operation: 19+8=27
Exploring Operation: 19+81=100, Resulting Numbers: [8, 100]
Generated Node #0,0,1: 90:[8, 100] Operation: 19+81=100
Exploring Operation: 81+8=89, Resulting Numbers: [19, 89]
Generated Node #0,0,2: 90:[19, 89] Operation: 81+8=89
Exploring Operation: 19-8=11, Resulting Numbers: [81, 11]
Generated Node #0,0,3: 90:[81, 11] Operation: 19-8=11
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[19, 89], Operations: ['80-72=8', '81+8=89']
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Exploring Operation: 19+89=108, Resulting Numbers: [108]
108,90 unequal: No Solution
Exploring Operation: 19*89=1691, Resulting Numbers: [1691]
1691,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 90:[81, 11], Operations: ['80-72=8', '19-8=11']
Exploring Operation: 81*11=891, Resulting Numbers: [891]
891,90 unequal: No Solution
Exploring Operation: 81-11=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Exploring Operation: 81+11=92, Resulting Numbers: [92]
92,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[8, 100], Operations: ['80-72=8', '19+81=100']
Exploring Operation: 8+100=108, Resulting Numbers: [108]
108,90 unequal: No Solution
Exploring Operation: 8*100=800, Resulting Numbers: [800]
800,90 unequal: No Solution
Exploring Operation: 100-8=92, Resulting Numbers: [92]
92,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[81, 27], Operations: ['80-72=8', '19+8=27']
Exploring Operation: 81+27=108, Resulting Numbers: [108]
108,90 unequal: No Solution
Exploring Operation: 81*27=2187, Resulting Numbers: [2187]
2187,90 unequal: No Solution
Exploring Operation: 81/27=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 81-27=54, Resulting Numbers: [54]
54,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[80, 19, 9], Operations: ['81-72=9']
Exploring Operation: 19-9=10, Resulting Numbers: [80, 10]
Generated Node #0,2,0: 90:[80, 10] Operation: 19-9=10
Exploring Operation: 80+9=89, Resulting Numbers: [19, 89]
Generated Node #0,2,1: 90:[19, 89] Operation: 80+9=89
Exploring Operation: 19+9=28, Resulting Numbers: [80, 28]
Generated Node #0,2,2: 90:[80, 28] Operation: 19+9=28
Exploring Operation: 80+19=99, Resulting Numbers: [9, 99]
Generated Node #0,2,3: 90:[9, 99] Operation: 80+19=99
Moving to Node #0,2,1
Current State: 90:[19, 89], Operations: ['81-72=9', '80+9=89']
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Exploring Operation: 19*89=1691, Resulting Numbers: [1691]
1691,90 unequal: No Solution
Exploring Operation: 19+89=108, Resulting Numbers: [108]
108,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[9, 99], Operations: ['81-72=9', '80+19=99']
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 9+99=108, Resulting Numbers: [108]
108,90 unequal: No Solution
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[80, 19, 81, 72], Operations: []
Exploring Operation: 81-72=9, Resulting Numbers: [80, 19, 9]
Generated Node #0,2: 90:[80, 19, 9] Operation: 81-72=9
Moving to Node #0,2
Current State: 90:[80, 19, 9], Operations: ['81-72=9']
Exploring Operation: 80+19=99, Resulting Numbers: [9, 99]
Generated Node #0,2,3: 90:[9, 99] Operation: 80+19=99
Moving to Node #0,2,3
Current State: 90:[9, 99], Operations: ['81-72=9', '80+19=99']
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | mult_heuristic |
[
99,
2,
88,
97
] | 54 | [
"99-88=11",
"97+11=108",
"108/2=54"
] | Current State: 54:[99, 2, 88, 97], Operations: []
Exploring Operation: 99-88=11, Resulting Numbers: [2, 97, 11]
Generated Node #2: [2, 97, 11] from Operation: 99-88=11
Current State: 54:[2, 97, 11], Operations: ['99-88=11']
Exploring Operation: 97+11=108, Resulting Numbers: [2, 108]
Generated Node #3: [2, 108] from Operation: 97+11=108
Current State: 54:[2, 108], Operations: ['99-88=11', '97+11=108']
Exploring Operation: 108/2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[99, 2, 88, 97], Operations: []
Exploring Operation: 99-97=2, Resulting Numbers: [2, 88, 2]
Generated Node #0,0: 54:[2, 88, 2] Operation: 99-97=2
Exploring Operation: 88/2=44, Resulting Numbers: [99, 97, 44]
Generated Node #0,1: 54:[99, 97, 44] Operation: 88/2=44
Exploring Operation: 97-88=9, Resulting Numbers: [99, 2, 9]
Generated Node #0,2: 54:[99, 2, 9] Operation: 97-88=9
Exploring Operation: 99-88=11, Resulting Numbers: [2, 97, 11]
Generated Node #0,3: 54:[2, 97, 11] Operation: 99-88=11
Moving to Node #0,0
Current State: 54:[2, 88, 2], Operations: ['99-97=2']
Exploring Operation: 88-2=86, Resulting Numbers: [2, 86]
Generated Node #0,0,0: 54:[2, 86] Operation: 88-2=86
Exploring Operation: 88-2=86, Resulting Numbers: [2, 86]
Generated Node #0,0,1: 54:[2, 86] Operation: 88-2=86
Exploring Operation: 88/2=44, Resulting Numbers: [2, 44]
Generated Node #0,0,2: 54:[2, 44] Operation: 88/2=44
Exploring Operation: 88/2=44, Resulting Numbers: [2, 44]
Generated Node #0,0,3: 54:[2, 44] Operation: 88/2=44
Moving to Node #0,3
Current State: 54:[2, 97, 11], Operations: ['99-88=11']
Exploring Operation: 2+97=99, Resulting Numbers: [11, 99]
Generated Node #0,3,0: 54:[11, 99] Operation: 2+97=99
Exploring Operation: 11-2=9, Resulting Numbers: [97, 9]
Generated Node #0,3,1: 54:[97, 9] Operation: 11-2=9
Exploring Operation: 97-2=95, Resulting Numbers: [11, 95]
Generated Node #0,3,2: 54:[11, 95] Operation: 97-2=95
Exploring Operation: 97-11=86, Resulting Numbers: [2, 86]
Generated Node #0,3,3: 54:[2, 86] Operation: 97-11=86
Moving to Node #0,2
Current State: 54:[99, 2, 9], Operations: ['97-88=9']
Exploring Operation: 99-2=97, Resulting Numbers: [9, 97]
Generated Node #0,2,0: 54:[9, 97] Operation: 99-2=97
Exploring Operation: 2*9=18, Resulting Numbers: [99, 18]
Generated Node #0,2,1: 54:[99, 18] Operation: 2*9=18
Exploring Operation: 99/9=11, Resulting Numbers: [2, 11]
Generated Node #0,2,2: 54:[2, 11] Operation: 99/9=11
Exploring Operation: 99-9=90, Resulting Numbers: [2, 90]
Generated Node #0,2,3: 54:[2, 90] Operation: 99-9=90
Moving to Node #0,1
Current State: 54:[99, 97, 44], Operations: ['88/2=44']
Exploring Operation: 97-44=53, Resulting Numbers: [99, 53]
Generated Node #0,1,0: 54:[99, 53] Operation: 97-44=53
Exploring Operation: 99+44=143, Resulting Numbers: [97, 143]
Generated Node #0,1,1: 54:[97, 143] Operation: 99+44=143
Exploring Operation: 99-44=55, Resulting Numbers: [97, 55]
Generated Node #0,1,2: 54:[97, 55] Operation: 99-44=55
Exploring Operation: 99-97=2, Resulting Numbers: [44, 2]
Generated Node #0,1,3: 54:[44, 2] Operation: 99-97=2
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 54:[44, 2], Operations: ['88/2=44', '99-97=2']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,54 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 54:[97, 55], Operations: ['88/2=44', '99-44=55']
Exploring Operation: 97-55=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 97+55=152, Resulting Numbers: [152]
152,54 unequal: No Solution
Exploring Operation: 97*55=5335, Resulting Numbers: [5335]
5335,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[99, 53], Operations: ['88/2=44', '97-44=53']
Exploring Operation: 99*53=5247, Resulting Numbers: [5247]
5247,54 unequal: No Solution
Exploring Operation: 99-53=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 99+53=152, Resulting Numbers: [152]
152,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[97, 143], Operations: ['88/2=44', '99+44=143']
Exploring Operation: 97+143=240, Resulting Numbers: [240]
240,54 unequal: No Solution
Exploring Operation: 97*143=13871, Resulting Numbers: [13871]
13871,54 unequal: No Solution
Exploring Operation: 143-97=46, Resulting Numbers: [46]
46,54 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: 54:[2, 11], Operations: ['97-88=9', '99/9=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[2, 44], Operations: ['99-97=2', '88/2=44']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,54 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Moving to Node #0,0,3
Current State: 54:[2, 44], Operations: ['99-97=2', '88/2=44']
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,54 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[2, 86], Operations: ['99-97=2', '88-2=86']
Exploring Operation: 2*86=172, Resulting Numbers: [172]
172,54 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,54 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,54 unequal: No Solution
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,54 unequal: No Solution
Moving to Node #0,3,3
Current State: 54:[2, 86], Operations: ['99-88=11', '97-11=86']
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,54 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,54 unequal: No Solution
Exploring Operation: 2*86=172, Resulting Numbers: [172]
172,54 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[2, 86], Operations: ['99-97=2', '88-2=86']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,54 unequal: No Solution
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,54 unequal: No Solution
Exploring Operation: 2*86=172, Resulting Numbers: [172]
172,54 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,54 unequal: No Solution
Moving to Node #0,2,3
Current State: 54:[2, 90], Operations: ['97-88=9', '99-9=90']
Exploring Operation: 2+90=92, Resulting Numbers: [92]
92,54 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,54 unequal: No Solution
Exploring Operation: 2*90=180, Resulting Numbers: [180]
180,54 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,54 unequal: No Solution
Moving to Node #0,3,2
Current State: 54:[11, 95], Operations: ['99-88=11', '97-2=95']
Exploring Operation: 95-11=84, Resulting Numbers: [84]
84,54 unequal: No Solution
Exploring Operation: 11+95=106, Resulting Numbers: [106]
106,54 unequal: No Solution
Exploring Operation: 11*95=1045, Resulting Numbers: [1045]
1045,54 unequal: No Solution
Moving to Node #0,3,1
Current State: 54:[97, 9], Operations: ['99-88=11', '11-2=9']
Exploring Operation: 97*9=873, Resulting Numbers: [873]
873,54 unequal: No Solution
Exploring Operation: 97+9=106, Resulting Numbers: [106]
106,54 unequal: No Solution
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[9, 97], Operations: ['97-88=9', '99-2=97']
Exploring Operation: 9*97=873, Resulting Numbers: [873]
873,54 unequal: No Solution
Exploring Operation: 9+97=106, Resulting Numbers: [106]
106,54 unequal: No Solution
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[99, 18], Operations: ['97-88=9', '2*9=18']
Exploring Operation: 99-18=81, Resulting Numbers: [81]
81,54 unequal: No Solution
Exploring Operation: 99+18=117, Resulting Numbers: [117]
117,54 unequal: No Solution
Exploring Operation: 99*18=1782, Resulting Numbers: [1782]
1782,54 unequal: No Solution
Moving to Node #0,3,0
Current State: 54:[11, 99], Operations: ['99-88=11', '2+97=99']
Exploring Operation: 99/11=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 11*99=1089, Resulting Numbers: [1089]
1089,54 unequal: No Solution
Exploring Operation: 99-11=88, Resulting Numbers: [88]
88,54 unequal: No Solution
Exploring Operation: 11+99=110, Resulting Numbers: [110]
110,54 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
87,
11,
89,
5
] | 80 | [
"87+89=176",
"176/11=16",
"5*16=80"
] | Current State: 80:[87, 11, 89, 5], Operations: []
Exploring Operation: 87+89=176, Resulting Numbers: [11, 5, 176]
Generated Node #2: [11, 5, 176] from Operation: 87+89=176
Current State: 80:[11, 5, 176], Operations: ['87+89=176']
Exploring Operation: 176/11=16, Resulting Numbers: [5, 16]
Generated Node #3: [5, 16] from Operation: 176/11=16
Current State: 80:[5, 16], Operations: ['87+89=176', '176/11=16']
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[87, 11, 89, 5], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [11, 5, 2]
Generated Node #0,0: 80:[11, 5, 2] Operation: 89-87=2
Moving to Node #0,0
Current State: 80:[11, 5, 2], Operations: ['89-87=2']
Exploring Operation: 11+5=16, Resulting Numbers: [2, 16]
Generated Node #0,0,0: 80:[2, 16] Operation: 11+5=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[2, 16], Operations: ['89-87=2', '11+5=16']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,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 | mult_heuristic |
[
20,
91,
69,
90
] | 88 | [
"91-20=71",
"69+90=159",
"159-71=88"
] | Current State: 88:[20, 91, 69, 90], Operations: []
Exploring Operation: 91-20=71, Resulting Numbers: [69, 90, 71]
Generated Node #2: [69, 90, 71] from Operation: 91-20=71
Current State: 88:[69, 90, 71], Operations: ['91-20=71']
Exploring Operation: 69+90=159, Resulting Numbers: [71, 159]
Generated Node #3: [71, 159] from Operation: 69+90=159
Current State: 88:[71, 159], Operations: ['91-20=71', '69+90=159']
Exploring Operation: 159-71=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[20, 91, 69, 90], Operations: []
Exploring Operation: 69-20=49, Resulting Numbers: [91, 90, 49]
Generated Node #0,0: 88:[91, 90, 49] Operation: 69-20=49
Exploring Operation: 91-69=22, Resulting Numbers: [20, 90, 22]
Generated Node #0,1: 88:[20, 90, 22] Operation: 91-69=22
Exploring Operation: 90-69=21, Resulting Numbers: [20, 91, 21]
Generated Node #0,2: 88:[20, 91, 21] Operation: 90-69=21
Exploring Operation: 20+69=89, Resulting Numbers: [91, 90, 89]
Generated Node #0,3: 88:[91, 90, 89] Operation: 20+69=89
Moving to Node #0,1
Current State: 88:[20, 90, 22], Operations: ['91-69=22']
Exploring Operation: 90-20=70, Resulting Numbers: [22, 70]
Generated Node #0,1,0: 88:[22, 70] Operation: 90-20=70
Exploring Operation: 22-20=2, Resulting Numbers: [90, 2]
Generated Node #0,1,1: 88:[90, 2] Operation: 22-20=2
Exploring Operation: 20+22=42, Resulting Numbers: [90, 42]
Generated Node #0,1,2: 88:[90, 42] Operation: 20+22=42
Exploring Operation: 20+90=110, Resulting Numbers: [22, 110]
Generated Node #0,1,3: 88:[22, 110] Operation: 20+90=110
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[90, 2], Operations: ['91-69=22', '22-20=2']
Exploring Operation: 90*2=180, Resulting Numbers: [180]
180,88 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,88 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[20, 91, 69, 90], Operations: []
Exploring Operation: 91-69=22, Resulting Numbers: [20, 90, 22]
Generated Node #0,1: 88:[20, 90, 22] Operation: 91-69=22
Moving to Node #0,1
Current State: 88:[20, 90, 22], Operations: ['91-69=22']
Exploring Operation: 22-20=2, Resulting Numbers: [90, 2]
Generated Node #0,1,1: 88:[90, 2] Operation: 22-20=2
Moving to Node #0,1,1
Current State: 88:[90, 2], Operations: ['91-69=22', '22-20=2']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
81,
30,
41,
5
] | 65 | [
"81+30=111",
"41+5=46",
"111-46=65"
] | Current State: 65:[81, 30, 41, 5], Operations: []
Exploring Operation: 81+30=111, Resulting Numbers: [41, 5, 111]
Generated Node #2: [41, 5, 111] from Operation: 81+30=111
Current State: 65:[41, 5, 111], Operations: ['81+30=111']
Exploring Operation: 41+5=46, Resulting Numbers: [111, 46]
Generated Node #3: [111, 46] from Operation: 41+5=46
Current State: 65:[111, 46], Operations: ['81+30=111', '41+5=46']
Exploring Operation: 111-46=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[81, 30, 41, 5], Operations: []
Exploring Operation: 30+41=71, Resulting Numbers: [81, 5, 71]
Generated Node #0,0: 65:[81, 5, 71] Operation: 30+41=71
Exploring Operation: 41-30=11, Resulting Numbers: [81, 5, 11]
Generated Node #0,1: 65:[81, 5, 11] Operation: 41-30=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[81, 5, 11], Operations: ['41-30=11']
Exploring Operation: 81-11=70, Resulting Numbers: [5, 70]
Generated Node #0,1,0: 65:[5, 70] Operation: 81-11=70
Exploring Operation: 81-5=76, Resulting Numbers: [11, 76]
Generated Node #0,1,1: 65:[11, 76] Operation: 81-5=76
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 65:[5, 70], Operations: ['41-30=11', '81-11=70']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[81, 30, 41, 5], Operations: []
Exploring Operation: 41-30=11, Resulting Numbers: [81, 5, 11]
Generated Node #0,1: 65:[81, 5, 11] Operation: 41-30=11
Moving to Node #0,1
Current State: 65:[81, 5, 11], Operations: ['41-30=11']
Exploring Operation: 81-11=70, Resulting Numbers: [5, 70]
Generated Node #0,1,0: 65:[5, 70] Operation: 81-11=70
Moving to Node #0,1,0
Current State: 65:[5, 70], Operations: ['41-30=11', '81-11=70']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
94,
92,
38,
77
] | 37 | [
"94-92=2",
"77-38=39",
"39-2=37"
] | Current State: 37:[94, 92, 38, 77], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [38, 77, 2]
Generated Node #2: [38, 77, 2] from Operation: 94-92=2
Current State: 37:[38, 77, 2], Operations: ['94-92=2']
Exploring Operation: 77-38=39, Resulting Numbers: [2, 39]
Generated Node #3: [2, 39] from Operation: 77-38=39
Current State: 37:[2, 39], Operations: ['94-92=2', '77-38=39']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[94, 92, 38, 77], Operations: []
Exploring Operation: 94-77=17, Resulting Numbers: [92, 38, 17]
Generated Node #0,0: 37:[92, 38, 17] Operation: 94-77=17
Exploring Operation: 92-77=15, Resulting Numbers: [94, 38, 15]
Generated Node #0,1: 37:[94, 38, 15] Operation: 92-77=15
Exploring Operation: 94-38=56, Resulting Numbers: [92, 77, 56]
Generated Node #0,2: 37:[92, 77, 56] Operation: 94-38=56
Exploring Operation: 94-92=2, Resulting Numbers: [38, 77, 2]
Generated Node #0,3: 37:[38, 77, 2] Operation: 94-92=2
Moving to Node #0,0
Current State: 37:[92, 38, 17], Operations: ['94-77=17']
Exploring Operation: 92-17=75, Resulting Numbers: [38, 75]
Generated Node #0,0,0: 37:[38, 75] Operation: 92-17=75
Exploring Operation: 92+17=109, Resulting Numbers: [38, 109]
Generated Node #0,0,1: 37:[38, 109] Operation: 92+17=109
Exploring Operation: 92-38=54, Resulting Numbers: [17, 54]
Generated Node #0,0,2: 37:[17, 54] Operation: 92-38=54
Exploring Operation: 38-17=21, Resulting Numbers: [92, 21]
Generated Node #0,0,3: 37:[92, 21] Operation: 38-17=21
Moving to Node #0,3
Current State: 37:[38, 77, 2], Operations: ['94-92=2']
Exploring Operation: 77-38=39, Resulting Numbers: [2, 39]
Generated Node #0,3,0: 37:[2, 39] Operation: 77-38=39
Exploring Operation: 38+2=40, Resulting Numbers: [77, 40]
Generated Node #0,3,1: 37:[77, 40] Operation: 38+2=40
Exploring Operation: 77-2=75, Resulting Numbers: [38, 75]
Generated Node #0,3,2: 37:[38, 75] Operation: 77-2=75
Exploring Operation: 38-2=36, Resulting Numbers: [77, 36]
Generated Node #0,3,3: 37:[77, 36] Operation: 38-2=36
Moving to Node #0,1
Current State: 37:[94, 38, 15], Operations: ['92-77=15']
Exploring Operation: 94-38=56, Resulting Numbers: [15, 56]
Generated Node #0,1,0: 37:[15, 56] Operation: 94-38=56
Exploring Operation: 38-15=23, Resulting Numbers: [94, 23]
Generated Node #0,1,1: 37:[94, 23] Operation: 38-15=23
Exploring Operation: 94-15=79, Resulting Numbers: [38, 79]
Generated Node #0,1,2: 37:[38, 79] Operation: 94-15=79
Exploring Operation: 94+15=109, Resulting Numbers: [38, 109]
Generated Node #0,1,3: 37:[38, 109] Operation: 94+15=109
Moving to Node #0,2
Current State: 37:[92, 77, 56], Operations: ['94-38=56']
Exploring Operation: 92-56=36, Resulting Numbers: [77, 36]
Generated Node #0,2,0: 37:[77, 36] Operation: 92-56=36
Exploring Operation: 77-56=21, Resulting Numbers: [92, 21]
Generated Node #0,2,1: 37:[92, 21] Operation: 77-56=21
Exploring Operation: 92+77=169, Resulting Numbers: [56, 169]
Generated Node #0,2,2: 37:[56, 169] Operation: 92+77=169
Exploring Operation: 92-77=15, Resulting Numbers: [56, 15]
Generated Node #0,2,3: 37:[56, 15] Operation: 92-77=15
Moving to Node #0,0,2
Current State: 37:[17, 54], Operations: ['94-77=17', '92-38=54']
Exploring Operation: 17+54=71, Resulting Numbers: [71]
71,37 unequal: No Solution
Exploring Operation: 17*54=918, Resulting Numbers: [918]
918,37 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[94, 92, 38, 77], Operations: []
Exploring Operation: 94-77=17, Resulting Numbers: [92, 38, 17]
Generated Node #0,0: 37:[92, 38, 17] Operation: 94-77=17
Moving to Node #0,0
Current State: 37:[92, 38, 17], Operations: ['94-77=17']
Exploring Operation: 92-38=54, Resulting Numbers: [17, 54]
Generated Node #0,0,2: 37:[17, 54] Operation: 92-38=54
Moving to Node #0,0,2
Current State: 37:[17, 54], Operations: ['94-77=17', '92-38=54']
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 0.976563 | hs_4 | sum_heuristic |
[
2,
18,
88,
1
] | 98 | [
"18/2=9",
"88+1=89",
"9+89=98"
] | Current State: 98:[2, 18, 88, 1], Operations: []
Exploring Operation: 18/2=9, Resulting Numbers: [88, 1, 9]
Generated Node #2: [88, 1, 9] from Operation: 18/2=9
Current State: 98:[88, 1, 9], Operations: ['18/2=9']
Exploring Operation: 88+1=89, Resulting Numbers: [9, 89]
Generated Node #3: [9, 89] from Operation: 88+1=89
Current State: 98:[9, 89], Operations: ['18/2=9', '88+1=89']
Exploring Operation: 9+89=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[2, 18, 88, 1], Operations: []
Exploring Operation: 18+88=106, Resulting Numbers: [2, 1, 106]
Generated Node #0,0: 98:[2, 1, 106] Operation: 18+88=106
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[2, 1, 106], Operations: ['18+88=106']
Exploring Operation: 106/2=53, Resulting Numbers: [1, 53]
Generated Node #0,0,0: 98:[1, 53] Operation: 106/2=53
Moving to Node #0,0,0
Current State: 98:[1, 53], Operations: ['18+88=106', '106/2=53']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,98 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 |
[
72,
64,
5,
23
] | 68 | [
"23-5=18",
"72/18=4",
"64+4=68"
] | Current State: 68:[72, 64, 5, 23], Operations: []
Exploring Operation: 23-5=18, Resulting Numbers: [72, 64, 18]
Generated Node #2: [72, 64, 18] from Operation: 23-5=18
Current State: 68:[72, 64, 18], Operations: ['23-5=18']
Exploring Operation: 72/18=4, Resulting Numbers: [64, 4]
Generated Node #3: [64, 4] from Operation: 72/18=4
Current State: 68:[64, 4], Operations: ['23-5=18', '72/18=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[72, 64, 5, 23], Operations: []
Exploring Operation: 72-64=8, Resulting Numbers: [5, 23, 8]
Generated Node #0,0: 68:[5, 23, 8] Operation: 72-64=8
Exploring Operation: 72-5=67, Resulting Numbers: [64, 23, 67]
Generated Node #0,1: 68:[64, 23, 67] Operation: 72-5=67
Exploring Operation: 23-5=18, Resulting Numbers: [72, 64, 18]
Generated Node #0,2: 68:[72, 64, 18] Operation: 23-5=18
Moving to Node #0,2
Current State: 68:[72, 64, 18], Operations: ['23-5=18']
Exploring Operation: 64-18=46, Resulting Numbers: [72, 46]
Generated Node #0,2,0: 68:[72, 46] Operation: 64-18=46
Exploring Operation: 72-64=8, Resulting Numbers: [18, 8]
Generated Node #0,2,1: 68:[18, 8] Operation: 72-64=8
Exploring Operation: 72/18=4, Resulting Numbers: [64, 4]
Generated Node #0,2,2: 68:[64, 4] Operation: 72/18=4
Moving to Node #0,0
Current State: 68:[5, 23, 8], Operations: ['72-64=8']
Exploring Operation: 23+8=31, Resulting Numbers: [5, 31]
Generated Node #0,0,0: 68:[5, 31] Operation: 23+8=31
Exploring Operation: 23-5=18, Resulting Numbers: [8, 18]
Generated Node #0,0,1: 68:[8, 18] Operation: 23-5=18
Exploring Operation: 23-8=15, Resulting Numbers: [5, 15]
Generated Node #0,0,2: 68:[5, 15] Operation: 23-8=15
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 68:[5, 15], Operations: ['72-64=8', '23-8=15']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[5, 31], Operations: ['72-64=8', '23+8=31']
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,68 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[8, 18], Operations: ['72-64=8', '23-5=18']
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,68 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,68 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: 68:[64, 23, 67], Operations: ['72-5=67']
Exploring Operation: 67-64=3, Resulting Numbers: [23, 3]
Generated Node #0,1,0: 68:[23, 3] Operation: 67-64=3
Exploring Operation: 67-23=44, Resulting Numbers: [64, 44]
Generated Node #0,1,1: 68:[64, 44] Operation: 67-23=44
Exploring Operation: 64-23=41, Resulting Numbers: [67, 41]
Generated Node #0,1,2: 68:[67, 41] Operation: 64-23=41
Moving to Node #0,2,2
Current State: 68:[64, 4], Operations: ['23-5=18', '72/18=4']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[72, 64, 5, 23], Operations: []
Exploring Operation: 23-5=18, Resulting Numbers: [72, 64, 18]
Generated Node #0,2: 68:[72, 64, 18] Operation: 23-5=18
Moving to Node #0,2
Current State: 68:[72, 64, 18], Operations: ['23-5=18']
Exploring Operation: 72/18=4, Resulting Numbers: [64, 4]
Generated Node #0,2,2: 68:[64, 4] Operation: 72/18=4
Moving to Node #0,2,2
Current State: 68:[64, 4], Operations: ['23-5=18', '72/18=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
70,
86,
98,
17
] | 41 | [
"70+86=156",
"98+17=115",
"156-115=41"
] | Current State: 41:[70, 86, 98, 17], Operations: []
Exploring Operation: 70+86=156, Resulting Numbers: [98, 17, 156]
Generated Node #2: [98, 17, 156] from Operation: 70+86=156
Current State: 41:[98, 17, 156], Operations: ['70+86=156']
Exploring Operation: 98+17=115, Resulting Numbers: [156, 115]
Generated Node #3: [156, 115] from Operation: 98+17=115
Current State: 41:[156, 115], Operations: ['70+86=156', '98+17=115']
Exploring Operation: 156-115=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[70, 86, 98, 17], Operations: []
Exploring Operation: 98-86=12, Resulting Numbers: [70, 17, 12]
Generated Node #0,0: 41:[70, 17, 12] Operation: 98-86=12
Exploring Operation: 86-70=16, Resulting Numbers: [98, 17, 16]
Generated Node #0,1: 41:[98, 17, 16] Operation: 86-70=16
Exploring Operation: 98-70=28, Resulting Numbers: [86, 17, 28]
Generated Node #0,2: 41:[86, 17, 28] Operation: 98-70=28
Exploring Operation: 70-17=53, Resulting Numbers: [86, 98, 53]
Generated Node #0,3: 41:[86, 98, 53] Operation: 70-17=53
Moving to Node #0,0
Current State: 41:[70, 17, 12], Operations: ['98-86=12']
Exploring Operation: 70-12=58, Resulting Numbers: [17, 58]
Generated Node #0,0,0: 41:[17, 58] Operation: 70-12=58
Exploring Operation: 70-17=53, Resulting Numbers: [12, 53]
Generated Node #0,0,1: 41:[12, 53] Operation: 70-17=53
Exploring Operation: 17+12=29, Resulting Numbers: [70, 29]
Generated Node #0,0,2: 41:[70, 29] Operation: 17+12=29
Exploring Operation: 70+12=82, Resulting Numbers: [17, 82]
Generated Node #0,0,3: 41:[17, 82] Operation: 70+12=82
Moving to Node #0,2
Current State: 41:[86, 17, 28], Operations: ['98-70=28']
Exploring Operation: 86-28=58, Resulting Numbers: [17, 58]
Generated Node #0,2,0: 41:[17, 58] Operation: 86-28=58
Exploring Operation: 17+28=45, Resulting Numbers: [86, 45]
Generated Node #0,2,1: 41:[86, 45] Operation: 17+28=45
Exploring Operation: 86-17=69, Resulting Numbers: [28, 69]
Generated Node #0,2,2: 41:[28, 69] Operation: 86-17=69
Exploring Operation: 86+17=103, Resulting Numbers: [28, 103]
Generated Node #0,2,3: 41:[28, 103] Operation: 86+17=103
Moving to Node #0,1
Current State: 41:[98, 17, 16], Operations: ['86-70=16']
Exploring Operation: 98+16=114, Resulting Numbers: [17, 114]
Generated Node #0,1,0: 41:[17, 114] Operation: 98+16=114
Exploring Operation: 98-17=81, Resulting Numbers: [16, 81]
Generated Node #0,1,1: 41:[16, 81] Operation: 98-17=81
Exploring Operation: 17+16=33, Resulting Numbers: [98, 33]
Generated Node #0,1,2: 41:[98, 33] Operation: 17+16=33
Exploring Operation: 98-16=82, Resulting Numbers: [17, 82]
Generated Node #0,1,3: 41:[17, 82] Operation: 98-16=82
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[16, 81], Operations: ['86-70=16', '98-17=81']
Exploring Operation: 16+81=97, Resulting Numbers: [97]
97,41 unequal: No Solution
Exploring Operation: 16*81=1296, Resulting Numbers: [1296]
1296,41 unequal: No Solution
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[98, 33], Operations: ['86-70=16', '17+16=33']
Exploring Operation: 98+33=131, Resulting Numbers: [131]
131,41 unequal: No Solution
Exploring Operation: 98-33=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Exploring Operation: 98*33=3234, Resulting Numbers: [3234]
3234,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 41:[17, 82], Operations: ['86-70=16', '98-16=82']
Exploring Operation: 82-17=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Exploring Operation: 17+82=99, Resulting Numbers: [99]
99,41 unequal: No Solution
Exploring Operation: 17*82=1394, Resulting Numbers: [1394]
1394,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[17, 114], Operations: ['86-70=16', '98+16=114']
Exploring Operation: 114-17=97, Resulting Numbers: [97]
97,41 unequal: No Solution
Exploring Operation: 17+114=131, Resulting Numbers: [131]
131,41 unequal: No Solution
Exploring Operation: 17*114=1938, Resulting Numbers: [1938]
1938,41 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: 41:[86, 98, 53], Operations: ['70-17=53']
Exploring Operation: 98-53=45, Resulting Numbers: [86, 45]
Generated Node #0,3,0: 41:[86, 45] Operation: 98-53=45
Exploring Operation: 98-86=12, Resulting Numbers: [53, 12]
Generated Node #0,3,1: 41:[53, 12] Operation: 98-86=12
Exploring Operation: 86-53=33, Resulting Numbers: [98, 33]
Generated Node #0,3,2: 41:[98, 33] Operation: 86-53=33
Exploring Operation: 86+98=184, Resulting Numbers: [53, 184]
Generated Node #0,3,3: 41:[53, 184] Operation: 86+98=184
Moving to Node #0,0,0
Current State: 41:[17, 58], Operations: ['98-86=12', '70-12=58']
Exploring Operation: 17+58=75, Resulting Numbers: [75]
75,41 unequal: No Solution
Exploring Operation: 17*58=986, Resulting Numbers: [986]
986,41 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[70, 86, 98, 17], Operations: []
Exploring Operation: 98-86=12, Resulting Numbers: [70, 17, 12]
Generated Node #0,0: 41:[70, 17, 12] Operation: 98-86=12
Moving to Node #0,0
Current State: 41:[70, 17, 12], Operations: ['98-86=12']
Exploring Operation: 70-12=58, Resulting Numbers: [17, 58]
Generated Node #0,0,0: 41:[17, 58] Operation: 70-12=58
Moving to Node #0,0,0
Current State: 41:[17, 58], Operations: ['98-86=12', '70-12=58']
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 0.966146 | hs_4 | sum_heuristic |
[
80,
27,
68,
61
] | 22 | [
"80+27=107",
"68+61=129",
"129-107=22"
] | Current State: 22:[80, 27, 68, 61], Operations: []
Exploring Operation: 80+27=107, Resulting Numbers: [68, 61, 107]
Generated Node #2: [68, 61, 107] from Operation: 80+27=107
Current State: 22:[68, 61, 107], Operations: ['80+27=107']
Exploring Operation: 68+61=129, Resulting Numbers: [107, 129]
Generated Node #3: [107, 129] from Operation: 68+61=129
Current State: 22:[107, 129], Operations: ['80+27=107', '68+61=129']
Exploring Operation: 129-107=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[80, 27, 68, 61], Operations: []
Exploring Operation: 80-61=19, Resulting Numbers: [27, 68, 19]
Generated Node #0,0: 22:[27, 68, 19] Operation: 80-61=19
Exploring Operation: 80-68=12, Resulting Numbers: [27, 61, 12]
Generated Node #0,1: 22:[27, 61, 12] Operation: 80-68=12
Moving to Node #0,1
Current State: 22:[27, 61, 12], Operations: ['80-68=12']
Exploring Operation: 61-27=34, Resulting Numbers: [12, 34]
Generated Node #0,1,0: 22:[12, 34] Operation: 61-27=34
Exploring Operation: 61-12=49, Resulting Numbers: [27, 49]
Generated Node #0,1,1: 22:[27, 49] Operation: 61-12=49
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[12, 34], Operations: ['80-68=12', '61-27=34']
Exploring Operation: 12+34=46, Resulting Numbers: [46]
46,22 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[80, 27, 68, 61], Operations: []
Exploring Operation: 80-68=12, Resulting Numbers: [27, 61, 12]
Generated Node #0,1: 22:[27, 61, 12] Operation: 80-68=12
Moving to Node #0,1
Current State: 22:[27, 61, 12], Operations: ['80-68=12']
Exploring Operation: 61-27=34, Resulting Numbers: [12, 34]
Generated Node #0,1,0: 22:[12, 34] Operation: 61-27=34
Moving to Node #0,1,0
Current State: 22:[12, 34], Operations: ['80-68=12', '61-27=34']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
79,
16,
11,
74
] | 25 | [
"79-74=5",
"16-11=5",
"5*5=25"
] | Current State: 25:[79, 16, 11, 74], Operations: []
Exploring Operation: 79-74=5, Resulting Numbers: [16, 11, 5]
Generated Node #2: [16, 11, 5] from Operation: 79-74=5
Current State: 25:[16, 11, 5], Operations: ['79-74=5']
Exploring Operation: 16-11=5, Resulting Numbers: [5, 5]
Generated Node #3: [5, 5] from Operation: 16-11=5
Current State: 25:[5, 5], Operations: ['79-74=5', '16-11=5']
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[79, 16, 11, 74], Operations: []
Exploring Operation: 79-74=5, Resulting Numbers: [16, 11, 5]
Generated Node #0,0: 25:[16, 11, 5] Operation: 79-74=5
Exploring Operation: 79-16=63, Resulting Numbers: [11, 74, 63]
Generated Node #0,1: 25:[11, 74, 63] Operation: 79-16=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[16, 11, 5], Operations: ['79-74=5']
Exploring Operation: 16+11=27, Resulting Numbers: [5, 27]
Generated Node #0,0,0: 25:[5, 27] Operation: 16+11=27
Exploring Operation: 16-11=5, Resulting Numbers: [5, 5]
Generated Node #0,0,1: 25:[5, 5] Operation: 16-11=5
Moving to Node #0,0,1
Current State: 25:[5, 5], Operations: ['79-74=5', '16-11=5']
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[79, 16, 11, 74], Operations: []
Exploring Operation: 79-74=5, Resulting Numbers: [16, 11, 5]
Generated Node #0,0: 25:[16, 11, 5] Operation: 79-74=5
Moving to Node #0,0
Current State: 25:[16, 11, 5], Operations: ['79-74=5']
Exploring Operation: 16-11=5, Resulting Numbers: [5, 5]
Generated Node #0,0,1: 25:[5, 5] Operation: 16-11=5
Moving to Node #0,0,1
Current State: 25:[5, 5], Operations: ['79-74=5', '16-11=5']
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
80,
19,
90,
13
] | 57 | [
"90-80=10",
"13-10=3",
"19*3=57"
] | Current State: 57:[80, 19, 90, 13], Operations: []
Exploring Operation: 90-80=10, Resulting Numbers: [19, 13, 10]
Generated Node #2: [19, 13, 10] from Operation: 90-80=10
Current State: 57:[19, 13, 10], Operations: ['90-80=10']
Exploring Operation: 13-10=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 13-10=3
Current State: 57:[19, 3], Operations: ['90-80=10', '13-10=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[80, 19, 90, 13], Operations: []
Exploring Operation: 90-80=10, Resulting Numbers: [19, 13, 10]
Generated Node #0,0: 57:[19, 13, 10] Operation: 90-80=10
Moving to Node #0,0
Current State: 57:[19, 13, 10], Operations: ['90-80=10']
Exploring Operation: 13-10=3, Resulting Numbers: [19, 3]
Generated Node #0,0,0: 57:[19, 3] Operation: 13-10=3
Moving to Node #0,0,0
Current State: 57:[19, 3], Operations: ['90-80=10', '13-10=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[80, 19, 90, 13], Operations: []
Exploring Operation: 90-80=10, Resulting Numbers: [19, 13, 10]
Generated Node #0,0: 57:[19, 13, 10] Operation: 90-80=10
Moving to Node #0,0
Current State: 57:[19, 13, 10], Operations: ['90-80=10']
Exploring Operation: 13-10=3, Resulting Numbers: [19, 3]
Generated Node #0,0,0: 57:[19, 3] Operation: 13-10=3
Moving to Node #0,0,0
Current State: 57:[19, 3], Operations: ['90-80=10', '13-10=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
62,
54,
19,
58
] | 77 | [
"62+54=116",
"58-19=39",
"116-39=77"
] | Current State: 77:[62, 54, 19, 58], Operations: []
Exploring Operation: 62+54=116, Resulting Numbers: [19, 58, 116]
Generated Node #2: [19, 58, 116] from Operation: 62+54=116
Current State: 77:[19, 58, 116], Operations: ['62+54=116']
Exploring Operation: 58-19=39, Resulting Numbers: [116, 39]
Generated Node #3: [116, 39] from Operation: 58-19=39
Current State: 77:[116, 39], Operations: ['62+54=116', '58-19=39']
Exploring Operation: 116-39=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[62, 54, 19, 58], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [54, 19, 4]
Generated Node #0,0: 77:[54, 19, 4] Operation: 62-58=4
Exploring Operation: 62-54=8, Resulting Numbers: [19, 58, 8]
Generated Node #0,1: 77:[19, 58, 8] Operation: 62-54=8
Exploring Operation: 58-54=4, Resulting Numbers: [62, 19, 4]
Generated Node #0,2: 77:[62, 19, 4] Operation: 58-54=4
Moving to Node #0,2
Current State: 77:[62, 19, 4], Operations: ['58-54=4']
Exploring Operation: 62+4=66, Resulting Numbers: [19, 66]
Generated Node #0,2,0: 77:[19, 66] Operation: 62+4=66
Exploring Operation: 19*4=76, Resulting Numbers: [62, 76]
Generated Node #0,2,1: 77:[62, 76] Operation: 19*4=76
Exploring Operation: 62+19=81, Resulting Numbers: [4, 81]
Generated Node #0,2,2: 77:[4, 81] Operation: 62+19=81
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 77:[4, 81], Operations: ['58-54=4', '62+19=81']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[62, 54, 19, 58], Operations: []
Exploring Operation: 58-54=4, Resulting Numbers: [62, 19, 4]
Generated Node #0,2: 77:[62, 19, 4] Operation: 58-54=4
Moving to Node #0,2
Current State: 77:[62, 19, 4], Operations: ['58-54=4']
Exploring Operation: 62+19=81, Resulting Numbers: [4, 81]
Generated Node #0,2,2: 77:[4, 81] Operation: 62+19=81
Moving to Node #0,2,2
Current State: 77:[4, 81], Operations: ['58-54=4', '62+19=81']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
17,
46,
19,
44
] | 92 | [
"46-17=29",
"19+44=63",
"29+63=92"
] | Current State: 92:[17, 46, 19, 44], Operations: []
Exploring Operation: 46-17=29, Resulting Numbers: [19, 44, 29]
Generated Node #2: [19, 44, 29] from Operation: 46-17=29
Current State: 92:[19, 44, 29], Operations: ['46-17=29']
Exploring Operation: 19+44=63, Resulting Numbers: [29, 63]
Generated Node #3: [29, 63] from Operation: 19+44=63
Current State: 92:[29, 63], Operations: ['46-17=29', '19+44=63']
Exploring Operation: 29+63=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[17, 46, 19, 44], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [46, 44, 2]
Generated Node #0,0: 92:[46, 44, 2] Operation: 19-17=2
Exploring Operation: 44-17=27, Resulting Numbers: [46, 19, 27]
Generated Node #0,1: 92:[46, 19, 27] Operation: 44-17=27
Moving to Node #0,0
Current State: 92:[46, 44, 2], Operations: ['19-17=2']
Exploring Operation: 44+2=46, Resulting Numbers: [46, 46]
Generated Node #0,0,0: 92:[46, 46] Operation: 44+2=46
Exploring Operation: 46-44=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 92:[2, 2] Operation: 46-44=2
Moving to Node #0,1
Current State: 92:[46, 19, 27], Operations: ['44-17=27']
Exploring Operation: 19+27=46, Resulting Numbers: [46, 46]
Generated Node #0,1,0: 92:[46, 46] Operation: 19+27=46
Exploring Operation: 27-19=8, Resulting Numbers: [46, 8]
Generated Node #0,1,1: 92:[46, 8] Operation: 27-19=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[46, 46], Operations: ['44-17=27', '19+27=46']
Exploring Operation: 46+46=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[17, 46, 19, 44], Operations: []
Exploring Operation: 44-17=27, Resulting Numbers: [46, 19, 27]
Generated Node #0,1: 92:[46, 19, 27] Operation: 44-17=27
Moving to Node #0,1
Current State: 92:[46, 19, 27], Operations: ['44-17=27']
Exploring Operation: 19+27=46, Resulting Numbers: [46, 46]
Generated Node #0,1,0: 92:[46, 46] Operation: 19+27=46
Moving to Node #0,1,0
Current State: 92:[46, 46], Operations: ['44-17=27', '19+27=46']
Exploring Operation: 46+46=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
84,
53,
42,
47
] | 98 | [
"84/42=2",
"53+47=100",
"100-2=98"
] | Current State: 98:[84, 53, 42, 47], Operations: []
Exploring Operation: 84/42=2, Resulting Numbers: [53, 47, 2]
Generated Node #2: [53, 47, 2] from Operation: 84/42=2
Current State: 98:[53, 47, 2], Operations: ['84/42=2']
Exploring Operation: 53+47=100, Resulting Numbers: [2, 100]
Generated Node #3: [2, 100] from Operation: 53+47=100
Current State: 98:[2, 100], Operations: ['84/42=2', '53+47=100']
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[84, 53, 42, 47], Operations: []
Exploring Operation: 84-42=42, Resulting Numbers: [53, 47, 42]
Generated Node #0,0: 98:[53, 47, 42] Operation: 84-42=42
Exploring Operation: 53+42=95, Resulting Numbers: [84, 47, 95]
Generated Node #0,1: 98:[84, 47, 95] Operation: 53+42=95
Exploring Operation: 84/42=2, Resulting Numbers: [53, 47, 2]
Generated Node #0,2: 98:[53, 47, 2] Operation: 84/42=2
Moving to Node #0,2
Current State: 98:[53, 47, 2], Operations: ['84/42=2']
Exploring Operation: 53+47=100, Resulting Numbers: [2, 100]
Generated Node #0,2,0: 98:[2, 100] Operation: 53+47=100
Exploring Operation: 53-47=6, Resulting Numbers: [2, 6]
Generated Node #0,2,1: 98:[2, 6] Operation: 53-47=6
Exploring Operation: 53-2=51, Resulting Numbers: [47, 51]
Generated Node #0,2,2: 98:[47, 51] Operation: 53-2=51
Moving to Node #0,0
Current State: 98:[53, 47, 42], Operations: ['84-42=42']
Exploring Operation: 47-42=5, Resulting Numbers: [53, 5]
Generated Node #0,0,0: 98:[53, 5] Operation: 47-42=5
Exploring Operation: 53+42=95, Resulting Numbers: [47, 95]
Generated Node #0,0,1: 98:[47, 95] Operation: 53+42=95
Exploring Operation: 53-42=11, Resulting Numbers: [47, 11]
Generated Node #0,0,2: 98:[47, 11] Operation: 53-42=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[47, 95], Operations: ['84-42=42', '53+42=95']
Exploring Operation: 95-47=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 47*95=4465, Resulting Numbers: [4465]
4465,98 unequal: No Solution
Exploring Operation: 47+95=142, Resulting Numbers: [142]
142,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 98:[47, 11], Operations: ['84-42=42', '53-42=11']
Exploring Operation: 47*11=517, Resulting Numbers: [517]
517,98 unequal: No Solution
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,98 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[53, 5], Operations: ['84-42=42', '47-42=5']
Exploring Operation: 53*5=265, Resulting Numbers: [265]
265,98 unequal: No Solution
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,98 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,98 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: 98:[84, 47, 95], Operations: ['53+42=95']
Exploring Operation: 95-47=48, Resulting Numbers: [84, 48]
Generated Node #0,1,0: 98:[84, 48] Operation: 95-47=48
Exploring Operation: 95-84=11, Resulting Numbers: [47, 11]
Generated Node #0,1,1: 98:[47, 11] Operation: 95-84=11
Exploring Operation: 84-47=37, Resulting Numbers: [95, 37]
Generated Node #0,1,2: 98:[95, 37] Operation: 84-47=37
Moving to Node #0,2,1
Current State: 98:[2, 6], Operations: ['84/42=2', '53-47=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[2, 100], Operations: ['84/42=2', '53+47=100']
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[84, 53, 42, 47], Operations: []
Exploring Operation: 84/42=2, Resulting Numbers: [53, 47, 2]
Generated Node #0,2: 98:[53, 47, 2] Operation: 84/42=2
Moving to Node #0,2
Current State: 98:[53, 47, 2], Operations: ['84/42=2']
Exploring Operation: 53+47=100, Resulting Numbers: [2, 100]
Generated Node #0,2,0: 98:[2, 100] Operation: 53+47=100
Moving to Node #0,2,0
Current State: 98:[2, 100], Operations: ['84/42=2', '53+47=100']
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.974826 | hs_3 | mult_heuristic |
[
10,
86,
12,
7
] | 91 | [
"10+86=96",
"12-7=5",
"96-5=91"
] | Current State: 91:[10, 86, 12, 7], Operations: []
Exploring Operation: 10+86=96, Resulting Numbers: [12, 7, 96]
Generated Node #2: [12, 7, 96] from Operation: 10+86=96
Current State: 91:[12, 7, 96], Operations: ['10+86=96']
Exploring Operation: 12-7=5, Resulting Numbers: [96, 5]
Generated Node #3: [96, 5] from Operation: 12-7=5
Current State: 91:[96, 5], Operations: ['10+86=96', '12-7=5']
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[10, 86, 12, 7], Operations: []
Exploring Operation: 12-10=2, Resulting Numbers: [86, 7, 2]
Generated Node #0,0: 91:[86, 7, 2] Operation: 12-10=2
Exploring Operation: 10+86=96, Resulting Numbers: [12, 7, 96]
Generated Node #0,1: 91:[12, 7, 96] Operation: 10+86=96
Exploring Operation: 86+7=93, Resulting Numbers: [10, 12, 93]
Generated Node #0,2: 91:[10, 12, 93] Operation: 86+7=93
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[12, 7, 96], Operations: ['10+86=96']
Exploring Operation: 96-7=89, Resulting Numbers: [12, 89]
Generated Node #0,1,0: 91:[12, 89] Operation: 96-7=89
Exploring Operation: 12-7=5, Resulting Numbers: [96, 5]
Generated Node #0,1,1: 91:[96, 5] Operation: 12-7=5
Exploring Operation: 96/12=8, Resulting Numbers: [7, 8]
Generated Node #0,1,2: 91:[7, 8] Operation: 96/12=8
Moving to Node #0,1,2
Current State: 91:[7, 8], Operations: ['10+86=96', '96/12=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[12, 89], Operations: ['10+86=96', '96-7=89']
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 12*89=1068, Resulting Numbers: [1068]
1068,91 unequal: No Solution
Exploring Operation: 12+89=101, Resulting Numbers: [101]
101,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[96, 5], Operations: ['10+86=96', '12-7=5']
Exploring Operation: 96*5=480, Resulting Numbers: [480]
480,91 unequal: No Solution
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[10, 86, 12, 7], Operations: []
Exploring Operation: 10+86=96, Resulting Numbers: [12, 7, 96]
Generated Node #0,1: 91:[12, 7, 96] Operation: 10+86=96
Moving to Node #0,1
Current State: 91:[12, 7, 96], Operations: ['10+86=96']
Exploring Operation: 12-7=5, Resulting Numbers: [96, 5]
Generated Node #0,1,1: 91:[96, 5] Operation: 12-7=5
Moving to Node #0,1,1
Current State: 91:[96, 5], Operations: ['10+86=96', '12-7=5']
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
6,
24,
1,
67
] | 48 | [
"24-6=18",
"67-1=66",
"66-18=48"
] | Current State: 48:[6, 24, 1, 67], Operations: []
Exploring Operation: 24-6=18, Resulting Numbers: [1, 67, 18]
Generated Node #2: [1, 67, 18] from Operation: 24-6=18
Current State: 48:[1, 67, 18], Operations: ['24-6=18']
Exploring Operation: 67-1=66, Resulting Numbers: [18, 66]
Generated Node #3: [18, 66] from Operation: 67-1=66
Current State: 48:[18, 66], Operations: ['24-6=18', '67-1=66']
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[6, 24, 1, 67], Operations: []
Exploring Operation: 67-24=43, Resulting Numbers: [6, 1, 43]
Generated Node #0,0: 48:[6, 1, 43] Operation: 67-24=43
Moving to Node #0,0
Current State: 48:[6, 1, 43], Operations: ['67-24=43']
Exploring Operation: 6+43=49, Resulting Numbers: [1, 49]
Generated Node #0,0,0: 48:[1, 49] Operation: 6+43=49
Moving to Node #0,0,0
Current State: 48:[1, 49], Operations: ['67-24=43', '6+43=49']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[6, 24, 1, 67], Operations: []
Exploring Operation: 67-24=43, Resulting Numbers: [6, 1, 43]
Generated Node #0,0: 48:[6, 1, 43] Operation: 67-24=43
Moving to Node #0,0
Current State: 48:[6, 1, 43], Operations: ['67-24=43']
Exploring Operation: 6+43=49, Resulting Numbers: [1, 49]
Generated Node #0,0,0: 48:[1, 49] Operation: 6+43=49
Moving to Node #0,0,0
Current State: 48:[1, 49], Operations: ['67-24=43', '6+43=49']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
27,
51,
29,
47
] | 43 | [
"29-27=2",
"47*2=94",
"94-51=43"
] | Current State: 43:[27, 51, 29, 47], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [51, 47, 2]
Generated Node #2: [51, 47, 2] from Operation: 29-27=2
Current State: 43:[51, 47, 2], Operations: ['29-27=2']
Exploring Operation: 47*2=94, Resulting Numbers: [51, 94]
Generated Node #3: [51, 94] from Operation: 47*2=94
Current State: 43:[51, 94], Operations: ['29-27=2', '47*2=94']
Exploring Operation: 94-51=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[27, 51, 29, 47], Operations: []
Exploring Operation: 27+29=56, Resulting Numbers: [51, 47, 56]
Generated Node #0,0: 43:[51, 47, 56] Operation: 27+29=56
Exploring Operation: 51-27=24, Resulting Numbers: [29, 47, 24]
Generated Node #0,1: 43:[29, 47, 24] Operation: 51-27=24
Exploring Operation: 51-29=22, Resulting Numbers: [27, 47, 22]
Generated Node #0,2: 43:[27, 47, 22] Operation: 51-29=22
Moving to Node #0,0
Current State: 43:[51, 47, 56], Operations: ['27+29=56']
Exploring Operation: 56-47=9, Resulting Numbers: [51, 9]
Generated Node #0,0,0: 43:[51, 9] Operation: 56-47=9
Exploring Operation: 51-47=4, Resulting Numbers: [56, 4]
Generated Node #0,0,1: 43:[56, 4] Operation: 51-47=4
Exploring Operation: 56-51=5, Resulting Numbers: [47, 5]
Generated Node #0,0,2: 43:[47, 5] Operation: 56-51=5
Moving to Node #0,1
Current State: 43:[29, 47, 24], Operations: ['51-27=24']
Exploring Operation: 29+24=53, Resulting Numbers: [47, 53]
Generated Node #0,1,0: 43:[47, 53] Operation: 29+24=53
Exploring Operation: 47-24=23, Resulting Numbers: [29, 23]
Generated Node #0,1,1: 43:[29, 23] Operation: 47-24=23
Exploring Operation: 29-24=5, Resulting Numbers: [47, 5]
Generated Node #0,1,2: 43:[47, 5] Operation: 29-24=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[47, 53], Operations: ['51-27=24', '29+24=53']
Exploring Operation: 47+53=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 47*53=2491, Resulting Numbers: [2491]
2491,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[29, 23], Operations: ['51-27=24', '47-24=23']
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 29*23=667, Resulting Numbers: [667]
667,43 unequal: No Solution
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 43:[47, 5], Operations: ['51-27=24', '29-24=5']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,43 unequal: No Solution
Exploring Operation: 47*5=235, Resulting Numbers: [235]
235,43 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: 43:[27, 47, 22], Operations: ['51-29=22']
Exploring Operation: 27-22=5, Resulting Numbers: [47, 5]
Generated Node #0,2,0: 43:[47, 5] Operation: 27-22=5
Exploring Operation: 47-22=25, Resulting Numbers: [27, 25]
Generated Node #0,2,1: 43:[27, 25] Operation: 47-22=25
Exploring Operation: 27+22=49, Resulting Numbers: [47, 49]
Generated Node #0,2,2: 43:[47, 49] Operation: 27+22=49
Moving to Node #0,2,2
Current State: 43:[47, 49], Operations: ['51-29=22', '27+22=49']
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 47+49=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Exploring Operation: 47*49=2303, Resulting Numbers: [2303]
2303,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[27, 25], Operations: ['51-29=22', '47-22=25']
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,43 unequal: No Solution
Exploring Operation: 27*25=675, Resulting Numbers: [675]
675,43 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[47, 5], Operations: ['51-29=22', '27-22=5']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 47*5=235, Resulting Numbers: [235]
235,43 unequal: No Solution
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[51, 9], Operations: ['27+29=56', '56-47=9']
Exploring Operation: 51*9=459, Resulting Numbers: [459]
459,43 unequal: No Solution
Exploring Operation: 51+9=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[47, 5], Operations: ['27+29=56', '56-51=5']
Exploring Operation: 47*5=235, Resulting Numbers: [235]
235,43 unequal: No Solution
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,43 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[56, 4], Operations: ['27+29=56', '51-47=4']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,43 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,43 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
83,
67,
57,
38
] | 100 | [
"83+67=150",
"38*150=5700",
"5700/57=100"
] | Current State: 100:[83, 67, 57, 38], Operations: []
Exploring Operation: 83+67=150, Resulting Numbers: [57, 38, 150]
Generated Node #2: [57, 38, 150] from Operation: 83+67=150
Current State: 100:[57, 38, 150], Operations: ['83+67=150']
Exploring Operation: 38*150=5700, Resulting Numbers: [57, 5700]
Generated Node #3: [57, 5700] from Operation: 38*150=5700
Current State: 100:[57, 5700], Operations: ['83+67=150', '38*150=5700']
Exploring Operation: 5700/57=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[83, 67, 57, 38], Operations: []
Exploring Operation: 67-38=29, Resulting Numbers: [83, 57, 29]
Generated Node #0,0: 100:[83, 57, 29] Operation: 67-38=29
Exploring Operation: 83-38=45, Resulting Numbers: [67, 57, 45]
Generated Node #0,1: 100:[67, 57, 45] Operation: 83-38=45
Exploring Operation: 83-67=16, Resulting Numbers: [57, 38, 16]
Generated Node #0,2: 100:[57, 38, 16] Operation: 83-67=16
Moving to Node #0,2
Current State: 100:[57, 38, 16], Operations: ['83-67=16']
Exploring Operation: 57+38=95, Resulting Numbers: [16, 95]
Generated Node #0,2,0: 100:[16, 95] Operation: 57+38=95
Exploring Operation: 57-38=19, Resulting Numbers: [16, 19]
Generated Node #0,2,1: 100:[16, 19] Operation: 57-38=19
Exploring Operation: 38-16=22, Resulting Numbers: [57, 22]
Generated Node #0,2,2: 100:[57, 22] Operation: 38-16=22
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 100:[16, 19], Operations: ['83-67=16', '57-38=19']
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,100 unequal: No Solution
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,100 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,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,2,0
Current State: 100:[16, 95], Operations: ['83-67=16', '57+38=95']
Exploring Operation: 16+95=111, Resulting Numbers: [111]
111,100 unequal: No Solution
Exploring Operation: 95-16=79, Resulting Numbers: [79]
79,100 unequal: No Solution
Exploring Operation: 16*95=1520, Resulting Numbers: [1520]
1520,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,2,2
Current State: 100:[57, 22], Operations: ['83-67=16', '38-16=22']
Exploring Operation: 57+22=79, Resulting Numbers: [79]
79,100 unequal: No Solution
Exploring Operation: 57*22=1254, Resulting Numbers: [1254]
1254,100 unequal: No Solution
Exploring Operation: 57-22=35, Resulting Numbers: [35]
35,100 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: 100:[83, 57, 29], Operations: ['67-38=29']
Exploring Operation: 83-57=26, Resulting Numbers: [29, 26]
Generated Node #0,0,0: 100:[29, 26] Operation: 83-57=26
Exploring Operation: 83+29=112, Resulting Numbers: [57, 112]
Generated Node #0,0,1: 100:[57, 112] Operation: 83+29=112
Exploring Operation: 83-29=54, Resulting Numbers: [57, 54]
Generated Node #0,0,2: 100:[57, 54] Operation: 83-29=54
Moving to Node #0,1
Current State: 100:[67, 57, 45], Operations: ['83-38=45']
Exploring Operation: 67-57=10, Resulting Numbers: [45, 10]
Generated Node #0,1,0: 100:[45, 10] Operation: 67-57=10
Exploring Operation: 67-45=22, Resulting Numbers: [57, 22]
Generated Node #0,1,1: 100:[57, 22] Operation: 67-45=22
Exploring Operation: 67+45=112, Resulting Numbers: [57, 112]
Generated Node #0,1,2: 100:[57, 112] Operation: 67+45=112
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[45, 10], Operations: ['83-38=45', '67-57=10']
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,100 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,100 unequal: No Solution
Exploring Operation: 45*10=450, Resulting Numbers: [450]
450,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,1
Current State: 100:[57, 22], Operations: ['83-38=45', '67-45=22']
Exploring Operation: 57*22=1254, Resulting Numbers: [1254]
1254,100 unequal: No Solution
Exploring Operation: 57+22=79, Resulting Numbers: [79]
79,100 unequal: No Solution
Exploring Operation: 57-22=35, Resulting Numbers: [35]
35,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,2
Current State: 100:[57, 112], Operations: ['83-38=45', '67+45=112']
Exploring Operation: 57+112=169, Resulting Numbers: [169]
169,100 unequal: No Solution
Exploring Operation: 57*112=6384, Resulting Numbers: [6384]
6384,100 unequal: No Solution
Exploring Operation: 112-57=55, Resulting Numbers: [55]
55,100 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: 100:[29, 26], Operations: ['67-38=29', '83-57=26']
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 29*26=754, Resulting Numbers: [754]
754,100 unequal: No Solution
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[57, 54], Operations: ['67-38=29', '83-29=54']
Exploring Operation: 57+54=111, Resulting Numbers: [111]
111,100 unequal: No Solution
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 57*54=3078, Resulting Numbers: [3078]
3078,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[57, 112], Operations: ['67-38=29', '83+29=112']
Exploring Operation: 57+112=169, Resulting Numbers: [169]
169,100 unequal: No Solution
Exploring Operation: 57*112=6384, Resulting Numbers: [6384]
6384,100 unequal: No Solution
Exploring Operation: 112-57=55, Resulting Numbers: [55]
55,100 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
56,
65,
80,
20
] | 61 | [
"56+65=121",
"80-20=60",
"121-60=61"
] | Current State: 61:[56, 65, 80, 20], Operations: []
Exploring Operation: 56+65=121, Resulting Numbers: [80, 20, 121]
Generated Node #2: [80, 20, 121] from Operation: 56+65=121
Current State: 61:[80, 20, 121], Operations: ['56+65=121']
Exploring Operation: 80-20=60, Resulting Numbers: [121, 60]
Generated Node #3: [121, 60] from Operation: 80-20=60
Current State: 61:[121, 60], Operations: ['56+65=121', '80-20=60']
Exploring Operation: 121-60=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[56, 65, 80, 20], Operations: []
Exploring Operation: 56+20=76, Resulting Numbers: [65, 80, 76]
Generated Node #0,0: 61:[65, 80, 76] Operation: 56+20=76
Exploring Operation: 80-20=60, Resulting Numbers: [56, 65, 60]
Generated Node #0,1: 61:[56, 65, 60] Operation: 80-20=60
Exploring Operation: 65-20=45, Resulting Numbers: [56, 80, 45]
Generated Node #0,2: 61:[56, 80, 45] Operation: 65-20=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[56, 65, 60], Operations: ['80-20=60']
Exploring Operation: 56+65=121, Resulting Numbers: [60, 121]
Generated Node #0,1,0: 61:[60, 121] Operation: 56+65=121
Exploring Operation: 65-56=9, Resulting Numbers: [60, 9]
Generated Node #0,1,1: 61:[60, 9] Operation: 65-56=9
Exploring Operation: 56+60=116, Resulting Numbers: [65, 116]
Generated Node #0,1,2: 61:[65, 116] Operation: 56+60=116
Moving to Node #0,1,1
Current State: 61:[60, 9], Operations: ['80-20=60', '65-56=9']
Exploring Operation: 60+9=69, Resulting Numbers: [69]
69,61 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,61 unequal: No Solution
Exploring Operation: 60*9=540, Resulting Numbers: [540]
540,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[65, 116], Operations: ['80-20=60', '56+60=116']
Exploring Operation: 116-65=51, Resulting Numbers: [51]
51,61 unequal: No Solution
Exploring Operation: 65*116=7540, Resulting Numbers: [7540]
7540,61 unequal: No Solution
Exploring Operation: 65+116=181, Resulting Numbers: [181]
181,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[60, 121], Operations: ['80-20=60', '56+65=121']
Exploring Operation: 121-60=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[56, 65, 80, 20], Operations: []
Exploring Operation: 80-20=60, Resulting Numbers: [56, 65, 60]
Generated Node #0,1: 61:[56, 65, 60] Operation: 80-20=60
Moving to Node #0,1
Current State: 61:[56, 65, 60], Operations: ['80-20=60']
Exploring Operation: 56+65=121, Resulting Numbers: [60, 121]
Generated Node #0,1,0: 61:[60, 121] Operation: 56+65=121
Moving to Node #0,1,0
Current State: 61:[60, 121], Operations: ['80-20=60', '56+65=121']
Exploring Operation: 121-60=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
5,
82,
66,
81
] | 61 | [
"66-5=61",
"82-81=1",
"61*1=61"
] | Current State: 61:[5, 82, 66, 81], Operations: []
Exploring Operation: 66-5=61, Resulting Numbers: [82, 81, 61]
Generated Node #2: [82, 81, 61] from Operation: 66-5=61
Current State: 61:[82, 81, 61], Operations: ['66-5=61']
Exploring Operation: 82-81=1, Resulting Numbers: [61, 1]
Generated Node #3: [61, 1] from Operation: 82-81=1
Current State: 61:[61, 1], Operations: ['66-5=61', '82-81=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[5, 82, 66, 81], Operations: []
Exploring Operation: 66-5=61, Resulting Numbers: [82, 81, 61]
Generated Node #0,0: 61:[82, 81, 61] Operation: 66-5=61
Exploring Operation: 82-5=77, Resulting Numbers: [66, 81, 77]
Generated Node #0,1: 61:[66, 81, 77] Operation: 82-5=77
Exploring Operation: 81-5=76, Resulting Numbers: [82, 66, 76]
Generated Node #0,2: 61:[82, 66, 76] Operation: 81-5=76
Exploring Operation: 5+66=71, Resulting Numbers: [82, 81, 71]
Generated Node #0,3: 61:[82, 81, 71] Operation: 5+66=71
Exploring Operation: 5+82=87, Resulting Numbers: [66, 81, 87]
Generated Node #0,4: 61:[66, 81, 87] Operation: 5+82=87
Moving to Node #0,0
Current State: 61:[82, 81, 61], Operations: ['66-5=61']
Exploring Operation: 82-81=1, Resulting Numbers: [61, 1]
Generated Node #0,0,0: 61:[61, 1] Operation: 82-81=1
Exploring Operation: 82+81=163, Resulting Numbers: [61, 163]
Generated Node #0,0,1: 61:[61, 163] Operation: 82+81=163
Exploring Operation: 82+61=143, Resulting Numbers: [81, 143]
Generated Node #0,0,2: 61:[81, 143] Operation: 82+61=143
Exploring Operation: 82-61=21, Resulting Numbers: [81, 21]
Generated Node #0,0,3: 61:[81, 21] Operation: 82-61=21
Exploring Operation: 81-61=20, Resulting Numbers: [82, 20]
Generated Node #0,0,4: 61:[82, 20] Operation: 81-61=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[61, 1], Operations: ['66-5=61', '82-81=1']
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[5, 82, 66, 81], Operations: []
Exploring Operation: 66-5=61, Resulting Numbers: [82, 81, 61]
Generated Node #0,0: 61:[82, 81, 61] Operation: 66-5=61
Moving to Node #0,0
Current State: 61:[82, 81, 61], Operations: ['66-5=61']
Exploring Operation: 82-81=1, Resulting Numbers: [61, 1]
Generated Node #0,0,0: 61:[61, 1] Operation: 82-81=1
Moving to Node #0,0,0
Current State: 61:[61, 1], Operations: ['66-5=61', '82-81=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
17,
48,
52,
82
] | 54 | [
"82-48=34",
"34/17=2",
"52+2=54"
] | Current State: 54:[17, 48, 52, 82], Operations: []
Exploring Operation: 82-48=34, Resulting Numbers: [17, 52, 34]
Generated Node #2: [17, 52, 34] from Operation: 82-48=34
Current State: 54:[17, 52, 34], Operations: ['82-48=34']
Exploring Operation: 34/17=2, Resulting Numbers: [52, 2]
Generated Node #3: [52, 2] from Operation: 34/17=2
Current State: 54:[52, 2], Operations: ['82-48=34', '34/17=2']
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[17, 48, 52, 82], Operations: []
Exploring Operation: 82-48=34, Resulting Numbers: [17, 52, 34]
Generated Node #0,0: 54:[17, 52, 34] Operation: 82-48=34
Exploring Operation: 52-48=4, Resulting Numbers: [17, 82, 4]
Generated Node #0,1: 54:[17, 82, 4] Operation: 52-48=4
Exploring Operation: 82-52=30, Resulting Numbers: [17, 48, 30]
Generated Node #0,2: 54:[17, 48, 30] Operation: 82-52=30
Exploring Operation: 82-17=65, Resulting Numbers: [48, 52, 65]
Generated Node #0,3: 54:[48, 52, 65] Operation: 82-17=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[17, 52, 34], Operations: ['82-48=34']
Exploring Operation: 17+34=51, Resulting Numbers: [52, 51]
Generated Node #0,0,0: 54:[52, 51] Operation: 17+34=51
Exploring Operation: 34/17=2, Resulting Numbers: [52, 2]
Generated Node #0,0,1: 54:[52, 2] Operation: 34/17=2
Exploring Operation: 34-17=17, Resulting Numbers: [52, 17]
Generated Node #0,0,2: 54:[52, 17] Operation: 34-17=17
Exploring Operation: 52-34=18, Resulting Numbers: [17, 18]
Generated Node #0,0,3: 54:[17, 18] Operation: 52-34=18
Moving to Node #0,0,3
Current State: 54:[17, 18], Operations: ['82-48=34', '52-34=18']
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 17*18=306, Resulting Numbers: [306]
306,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[52, 2], Operations: ['82-48=34', '34/17=2']
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[17, 48, 52, 82], Operations: []
Exploring Operation: 82-48=34, Resulting Numbers: [17, 52, 34]
Generated Node #0,0: 54:[17, 52, 34] Operation: 82-48=34
Moving to Node #0,0
Current State: 54:[17, 52, 34], Operations: ['82-48=34']
Exploring Operation: 34/17=2, Resulting Numbers: [52, 2]
Generated Node #0,0,1: 54:[52, 2] Operation: 34/17=2
Moving to Node #0,0,1
Current State: 54:[52, 2], Operations: ['82-48=34', '34/17=2']
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
15,
29,
49,
47
] | 88 | [
"15+29=44",
"49-47=2",
"44*2=88"
] | Current State: 88:[15, 29, 49, 47], Operations: []
Exploring Operation: 15+29=44, Resulting Numbers: [49, 47, 44]
Generated Node #2: [49, 47, 44] from Operation: 15+29=44
Current State: 88:[49, 47, 44], Operations: ['15+29=44']
Exploring Operation: 49-47=2, Resulting Numbers: [44, 2]
Generated Node #3: [44, 2] from Operation: 49-47=2
Current State: 88:[44, 2], Operations: ['15+29=44', '49-47=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[15, 29, 49, 47], Operations: []
Exploring Operation: 49-29=20, Resulting Numbers: [15, 47, 20]
Generated Node #0,0: 88:[15, 47, 20] Operation: 49-29=20
Exploring Operation: 29-15=14, Resulting Numbers: [49, 47, 14]
Generated Node #0,1: 88:[49, 47, 14] Operation: 29-15=14
Exploring Operation: 15+29=44, Resulting Numbers: [49, 47, 44]
Generated Node #0,2: 88:[49, 47, 44] Operation: 15+29=44
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[49, 47, 44], Operations: ['15+29=44']
Exploring Operation: 49-47=2, Resulting Numbers: [44, 2]
Generated Node #0,2,0: 88:[44, 2] Operation: 49-47=2
Exploring Operation: 49-44=5, Resulting Numbers: [47, 5]
Generated Node #0,2,1: 88:[47, 5] Operation: 49-44=5
Exploring Operation: 47-44=3, Resulting Numbers: [49, 3]
Generated Node #0,2,2: 88:[49, 3] Operation: 47-44=3
Moving to Node #0,2,0
Current State: 88:[44, 2], Operations: ['15+29=44', '49-47=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[15, 29, 49, 47], Operations: []
Exploring Operation: 15+29=44, Resulting Numbers: [49, 47, 44]
Generated Node #0,2: 88:[49, 47, 44] Operation: 15+29=44
Moving to Node #0,2
Current State: 88:[49, 47, 44], Operations: ['15+29=44']
Exploring Operation: 49-47=2, Resulting Numbers: [44, 2]
Generated Node #0,2,0: 88:[44, 2] Operation: 49-47=2
Moving to Node #0,2,0
Current State: 88:[44, 2], Operations: ['15+29=44', '49-47=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
49,
42,
11,
8
] | 63 | [
"11-8=3",
"42/3=14",
"49+14=63"
] | Current State: 63:[49, 42, 11, 8], Operations: []
Exploring Operation: 11-8=3, Resulting Numbers: [49, 42, 3]
Generated Node #2: [49, 42, 3] from Operation: 11-8=3
Current State: 63:[49, 42, 3], Operations: ['11-8=3']
Exploring Operation: 42/3=14, Resulting Numbers: [49, 14]
Generated Node #3: [49, 14] from Operation: 42/3=14
Current State: 63:[49, 14], Operations: ['11-8=3', '42/3=14']
Exploring Operation: 49+14=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[49, 42, 11, 8], Operations: []
Exploring Operation: 49-42=7, Resulting Numbers: [11, 8, 7]
Generated Node #0,0: 63:[11, 8, 7] Operation: 49-42=7
Exploring Operation: 49+11=60, Resulting Numbers: [42, 8, 60]
Generated Node #0,1: 63:[42, 8, 60] Operation: 49+11=60
Moving to Node #0,0
Current State: 63:[11, 8, 7], Operations: ['49-42=7']
Exploring Operation: 11+8=19, Resulting Numbers: [7, 19]
Generated Node #0,0,0: 63:[7, 19] Operation: 11+8=19
Exploring Operation: 11-8=3, Resulting Numbers: [7, 3]
Generated Node #0,0,1: 63:[7, 3] Operation: 11-8=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 63:[7, 3], Operations: ['49-42=7', '11-8=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[7, 19], Operations: ['49-42=7', '11+8=19']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 63:[42, 8, 60], Operations: ['49+11=60']
Exploring Operation: 60-42=18, Resulting Numbers: [8, 18]
Generated Node #0,1,0: 63:[8, 18] Operation: 60-42=18
Exploring Operation: 42+8=50, Resulting Numbers: [60, 50]
Generated Node #0,1,1: 63:[60, 50] Operation: 42+8=50
Moving to Node #0,1,0
Current State: 63:[8, 18], Operations: ['49+11=60', '60-42=18']
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[60, 50], Operations: ['49+11=60', '42+8=50']
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 60+50=110, Resulting Numbers: [110]
110,63 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
1,
50,
47,
33
] | 66 | [
"50-1=49",
"49-47=2",
"33*2=66"
] | Current State: 66:[1, 50, 47, 33], Operations: []
Exploring Operation: 50-1=49, Resulting Numbers: [47, 33, 49]
Generated Node #2: [47, 33, 49] from Operation: 50-1=49
Current State: 66:[47, 33, 49], Operations: ['50-1=49']
Exploring Operation: 49-47=2, Resulting Numbers: [33, 2]
Generated Node #3: [33, 2] from Operation: 49-47=2
Current State: 66:[33, 2], Operations: ['50-1=49', '49-47=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[1, 50, 47, 33], Operations: []
Exploring Operation: 50-47=3, Resulting Numbers: [1, 33, 3]
Generated Node #0,0: 66:[1, 33, 3] Operation: 50-47=3
Exploring Operation: 50-33=17, Resulting Numbers: [1, 47, 17]
Generated Node #0,1: 66:[1, 47, 17] Operation: 50-33=17
Moving to Node #0,0
Current State: 66:[1, 33, 3], Operations: ['50-47=3']
Exploring Operation: 33/1=33, Resulting Numbers: [3, 33]
Generated Node #0,0,0: 66:[3, 33] Operation: 33/1=33
Exploring Operation: 1*33=33, Resulting Numbers: [3, 33]
Generated Node #0,0,1: 66:[3, 33] Operation: 1*33=33
Moving to Node #0,1
Current State: 66:[1, 47, 17], Operations: ['50-33=17']
Exploring Operation: 47+17=64, Resulting Numbers: [1, 64]
Generated Node #0,1,0: 66:[1, 64] Operation: 47+17=64
Exploring Operation: 47-17=30, Resulting Numbers: [1, 30]
Generated Node #0,1,1: 66:[1, 30] Operation: 47-17=30
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[1, 64], Operations: ['50-33=17', '47+17=64']
Exploring Operation: 1*64=64, Resulting Numbers: [64]
64,66 unequal: No Solution
Exploring Operation: 1+64=65, Resulting Numbers: [65]
65,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[1, 30], Operations: ['50-33=17', '47-17=30']
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 1+30=31, Resulting Numbers: [31]
31,66 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: 66:[3, 33], Operations: ['50-47=3', '33/1=33']
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,66 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[3, 33], Operations: ['50-47=3', '1*33=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,66 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
17,
78,
6,
32
] | 57 | [
"17+78=95",
"6+32=38",
"95-38=57"
] | Current State: 57:[17, 78, 6, 32], Operations: []
Exploring Operation: 17+78=95, Resulting Numbers: [6, 32, 95]
Generated Node #2: [6, 32, 95] from Operation: 17+78=95
Current State: 57:[6, 32, 95], Operations: ['17+78=95']
Exploring Operation: 6+32=38, Resulting Numbers: [95, 38]
Generated Node #3: [95, 38] from Operation: 6+32=38
Current State: 57:[95, 38], Operations: ['17+78=95', '6+32=38']
Exploring Operation: 95-38=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[17, 78, 6, 32], Operations: []
Exploring Operation: 78-17=61, Resulting Numbers: [6, 32, 61]
Generated Node #0,0: 57:[6, 32, 61] Operation: 78-17=61
Exploring Operation: 78-32=46, Resulting Numbers: [17, 6, 46]
Generated Node #0,1: 57:[17, 6, 46] Operation: 78-32=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[17, 6, 46], Operations: ['78-32=46']
Exploring Operation: 17+46=63, Resulting Numbers: [6, 63]
Generated Node #0,1,0: 57:[6, 63] Operation: 17+46=63
Exploring Operation: 6+46=52, Resulting Numbers: [17, 52]
Generated Node #0,1,1: 57:[17, 52] Operation: 6+46=52
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[17, 52], Operations: ['78-32=46', '6+46=52']
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,57 unequal: No Solution
Exploring Operation: 17+52=69, Resulting Numbers: [69]
69,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[6, 63], Operations: ['78-32=46', '17+46=63']
Exploring Operation: 6+63=69, Resulting Numbers: [69]
69,57 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[17, 78, 6, 32], Operations: []
Exploring Operation: 78-32=46, Resulting Numbers: [17, 6, 46]
Generated Node #0,1: 57:[17, 6, 46] Operation: 78-32=46
Moving to Node #0,1
Current State: 57:[17, 6, 46], Operations: ['78-32=46']
Exploring Operation: 17+46=63, Resulting Numbers: [6, 63]
Generated Node #0,1,0: 57:[6, 63] Operation: 17+46=63
Moving to Node #0,1,0
Current State: 57:[6, 63], Operations: ['78-32=46', '17+46=63']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
54,
79,
85,
91
] | 43 | [
"54+79=133",
"85+91=176",
"176-133=43"
] | Current State: 43:[54, 79, 85, 91], Operations: []
Exploring Operation: 54+79=133, Resulting Numbers: [85, 91, 133]
Generated Node #2: [85, 91, 133] from Operation: 54+79=133
Current State: 43:[85, 91, 133], Operations: ['54+79=133']
Exploring Operation: 85+91=176, Resulting Numbers: [133, 176]
Generated Node #3: [133, 176] from Operation: 85+91=176
Current State: 43:[133, 176], Operations: ['54+79=133', '85+91=176']
Exploring Operation: 176-133=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[54, 79, 85, 91], Operations: []
Exploring Operation: 85-54=31, Resulting Numbers: [79, 91, 31]
Generated Node #0,0: 43:[79, 91, 31] Operation: 85-54=31
Exploring Operation: 91-85=6, Resulting Numbers: [54, 79, 6]
Generated Node #0,1: 43:[54, 79, 6] Operation: 91-85=6
Exploring Operation: 91-54=37, Resulting Numbers: [79, 85, 37]
Generated Node #0,2: 43:[79, 85, 37] Operation: 91-54=37
Exploring Operation: 91-79=12, Resulting Numbers: [54, 85, 12]
Generated Node #0,3: 43:[54, 85, 12] Operation: 91-79=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[54, 79, 6], Operations: ['91-85=6']
Exploring Operation: 79+6=85, Resulting Numbers: [54, 85]
Generated Node #0,1,0: 43:[54, 85] Operation: 79+6=85
Exploring Operation: 54-6=48, Resulting Numbers: [79, 48]
Generated Node #0,1,1: 43:[79, 48] Operation: 54-6=48
Exploring Operation: 54+6=60, Resulting Numbers: [79, 60]
Generated Node #0,1,2: 43:[79, 60] Operation: 54+6=60
Exploring Operation: 79-6=73, Resulting Numbers: [54, 73]
Generated Node #0,1,3: 43:[54, 73] Operation: 79-6=73
Moving to Node #0,1,1
Current State: 43:[79, 48], Operations: ['91-85=6', '54-6=48']
Exploring Operation: 79*48=3792, Resulting Numbers: [3792]
3792,43 unequal: No Solution
Exploring Operation: 79+48=127, Resulting Numbers: [127]
127,43 unequal: No Solution
Exploring Operation: 79-48=31, Resulting Numbers: [31]
31,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[54, 73], Operations: ['91-85=6', '79-6=73']
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,43 unequal: No Solution
Exploring Operation: 54*73=3942, Resulting Numbers: [3942]
3942,43 unequal: No Solution
Exploring Operation: 54+73=127, Resulting Numbers: [127]
127,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[79, 60], Operations: ['91-85=6', '54+6=60']
Exploring Operation: 79*60=4740, Resulting Numbers: [4740]
4740,43 unequal: No Solution
Exploring Operation: 79-60=19, Resulting Numbers: [19]
19,43 unequal: No Solution
Exploring Operation: 79+60=139, Resulting Numbers: [139]
139,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[54, 85], Operations: ['91-85=6', '79+6=85']
Exploring Operation: 54*85=4590, Resulting Numbers: [4590]
4590,43 unequal: No Solution
Exploring Operation: 85-54=31, Resulting Numbers: [31]
31,43 unequal: No Solution
Exploring Operation: 54+85=139, Resulting Numbers: [139]
139,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[79, 85, 37], Operations: ['91-54=37']
Exploring Operation: 79-37=42, Resulting Numbers: [85, 42]
Generated Node #0,2,0: 43:[85, 42] Operation: 79-37=42
Exploring Operation: 85-79=6, Resulting Numbers: [37, 6]
Generated Node #0,2,1: 43:[37, 6] Operation: 85-79=6
Exploring Operation: 85-37=48, Resulting Numbers: [79, 48]
Generated Node #0,2,2: 43:[79, 48] Operation: 85-37=48
Exploring Operation: 79+37=116, Resulting Numbers: [85, 116]
Generated Node #0,2,3: 43:[85, 116] Operation: 79+37=116
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[79, 48], Operations: ['91-54=37', '85-37=48']
Exploring Operation: 79-48=31, Resulting Numbers: [31]
31,43 unequal: No Solution
Exploring Operation: 79*48=3792, Resulting Numbers: [3792]
3792,43 unequal: No Solution
Exploring Operation: 79+48=127, Resulting Numbers: [127]
127,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[85, 42], Operations: ['91-54=37', '79-37=42']
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[54, 79, 85, 91], Operations: []
Exploring Operation: 91-54=37, Resulting Numbers: [79, 85, 37]
Generated Node #0,2: 43:[79, 85, 37] Operation: 91-54=37
Moving to Node #0,2
Current State: 43:[79, 85, 37], Operations: ['91-54=37']
Exploring Operation: 79-37=42, Resulting Numbers: [85, 42]
Generated Node #0,2,0: 43:[85, 42] Operation: 79-37=42
Moving to Node #0,2,0
Current State: 43:[85, 42], Operations: ['91-54=37', '79-37=42']
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
33,
94,
2,
85
] | 35 | [
"33+85=118",
"118/2=59",
"94-59=35"
] | Current State: 35:[33, 94, 2, 85], Operations: []
Exploring Operation: 33+85=118, Resulting Numbers: [94, 2, 118]
Generated Node #2: [94, 2, 118] from Operation: 33+85=118
Current State: 35:[94, 2, 118], Operations: ['33+85=118']
Exploring Operation: 118/2=59, Resulting Numbers: [94, 59]
Generated Node #3: [94, 59] from Operation: 118/2=59
Current State: 35:[94, 59], Operations: ['33+85=118', '118/2=59']
Exploring Operation: 94-59=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[33, 94, 2, 85], Operations: []
Exploring Operation: 94/2=47, Resulting Numbers: [33, 85, 47]
Generated Node #0,0: 35:[33, 85, 47] Operation: 94/2=47
Exploring Operation: 94-33=61, Resulting Numbers: [2, 85, 61]
Generated Node #0,1: 35:[2, 85, 61] Operation: 94-33=61
Exploring Operation: 94-85=9, Resulting Numbers: [33, 2, 9]
Generated Node #0,2: 35:[33, 2, 9] Operation: 94-85=9
Moving to Node #0,2
Current State: 35:[33, 2, 9], Operations: ['94-85=9']
Exploring Operation: 33+2=35, Resulting Numbers: [9, 35]
Generated Node #0,2,0: 35:[9, 35] Operation: 33+2=35
Exploring Operation: 9-2=7, Resulting Numbers: [33, 7]
Generated Node #0,2,1: 35:[33, 7] Operation: 9-2=7
Exploring Operation: 33-2=31, Resulting Numbers: [9, 31]
Generated Node #0,2,2: 35:[9, 31] Operation: 33-2=31
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[9, 35], Operations: ['94-85=9', '33+2=35']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,35 unequal: No Solution
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,35 unequal: No Solution
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 35:[33, 7], Operations: ['94-85=9', '9-2=7']
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,35 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,35 unequal: No Solution
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[9, 31], Operations: ['94-85=9', '33-2=31']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 9*31=279, Resulting Numbers: [279]
279,35 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: 35:[33, 85, 47], Operations: ['94/2=47']
Exploring Operation: 85-47=38, Resulting Numbers: [33, 38]
Generated Node #0,0,0: 35:[33, 38] Operation: 85-47=38
Exploring Operation: 85-33=52, Resulting Numbers: [47, 52]
Generated Node #0,0,1: 35:[47, 52] Operation: 85-33=52
Exploring Operation: 47-33=14, Resulting Numbers: [85, 14]
Generated Node #0,0,2: 35:[85, 14] Operation: 47-33=14
Moving to Node #0,1
Current State: 35:[2, 85, 61], Operations: ['94-33=61']
Exploring Operation: 85-61=24, Resulting Numbers: [2, 24]
Generated Node #0,1,0: 35:[2, 24] Operation: 85-61=24
Exploring Operation: 61-2=59, Resulting Numbers: [85, 59]
Generated Node #0,1,1: 35:[85, 59] Operation: 61-2=59
Exploring Operation: 85-2=83, Resulting Numbers: [61, 83]
Generated Node #0,1,2: 35:[61, 83] Operation: 85-2=83
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[2, 24], Operations: ['94-33=61', '85-61=24']
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,35 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[85, 59], Operations: ['94-33=61', '61-2=59']
Exploring Operation: 85-59=26, Resulting Numbers: [26]
26,35 unequal: No Solution
Exploring Operation: 85+59=144, Resulting Numbers: [144]
144,35 unequal: No Solution
Exploring Operation: 85*59=5015, Resulting Numbers: [5015]
5015,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 35:[61, 83], Operations: ['94-33=61', '85-2=83']
Exploring Operation: 61+83=144, Resulting Numbers: [144]
144,35 unequal: No Solution
Exploring Operation: 61*83=5063, Resulting Numbers: [5063]
5063,35 unequal: No Solution
Exploring Operation: 83-61=22, Resulting Numbers: [22]
22,35 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: 35:[33, 38], Operations: ['94/2=47', '85-47=38']
Exploring Operation: 33*38=1254, Resulting Numbers: [1254]
1254,35 unequal: No Solution
Exploring Operation: 33+38=71, Resulting Numbers: [71]
71,35 unequal: No Solution
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[47, 52], Operations: ['94/2=47', '85-33=52']
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 47*52=2444, Resulting Numbers: [2444]
2444,35 unequal: No Solution
Exploring Operation: 47+52=99, Resulting Numbers: [99]
99,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[85, 14], Operations: ['94/2=47', '47-33=14']
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,35 unequal: No Solution
Exploring Operation: 85+14=99, Resulting Numbers: [99]
99,35 unequal: No Solution
Exploring Operation: 85*14=1190, Resulting Numbers: [1190]
1190,35 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
97,
1,
66,
77
] | 84 | [
"97+1=98",
"66*98=6468",
"6468/77=84"
] | Current State: 84:[97, 1, 66, 77], Operations: []
Exploring Operation: 97+1=98, Resulting Numbers: [66, 77, 98]
Generated Node #2: [66, 77, 98] from Operation: 97+1=98
Current State: 84:[66, 77, 98], Operations: ['97+1=98']
Exploring Operation: 66*98=6468, Resulting Numbers: [77, 6468]
Generated Node #3: [77, 6468] from Operation: 66*98=6468
Current State: 84:[77, 6468], Operations: ['97+1=98', '66*98=6468']
Exploring Operation: 6468/77=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[97, 1, 66, 77], Operations: []
Exploring Operation: 77-66=11, Resulting Numbers: [97, 1, 11]
Generated Node #0,0: 84:[97, 1, 11] Operation: 77-66=11
Exploring Operation: 97-77=20, Resulting Numbers: [1, 66, 20]
Generated Node #0,1: 84:[1, 66, 20] Operation: 97-77=20
Exploring Operation: 97-66=31, Resulting Numbers: [1, 77, 31]
Generated Node #0,2: 84:[1, 77, 31] Operation: 97-66=31
Moving to Node #0,2
Current State: 84:[1, 77, 31], Operations: ['97-66=31']
Exploring Operation: 1+77=78, Resulting Numbers: [31, 78]
Generated Node #0,2,0: 84:[31, 78] Operation: 1+77=78
Exploring Operation: 31-1=30, Resulting Numbers: [77, 30]
Generated Node #0,2,1: 84:[77, 30] Operation: 31-1=30
Exploring Operation: 77-31=46, Resulting Numbers: [1, 46]
Generated Node #0,2,2: 84:[1, 46] Operation: 77-31=46
Moving to Node #0,0
Current State: 84:[97, 1, 11], Operations: ['77-66=11']
Exploring Operation: 97-1=96, Resulting Numbers: [11, 96]
Generated Node #0,0,0: 84:[11, 96] Operation: 97-1=96
Exploring Operation: 97-11=86, Resulting Numbers: [1, 86]
Generated Node #0,0,1: 84:[1, 86] Operation: 97-11=86
Exploring Operation: 1+11=12, Resulting Numbers: [97, 12]
Generated Node #0,0,2: 84:[97, 12] Operation: 1+11=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[1, 86], Operations: ['77-66=11', '97-11=86']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,84 unequal: No Solution
Exploring Operation: 1*86=86, Resulting Numbers: [86]
86,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,0
Current State: 84:[11, 96], Operations: ['77-66=11', '97-1=96']
Exploring Operation: 96-11=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 11+96=107, Resulting Numbers: [107]
107,84 unequal: No Solution
Exploring Operation: 11*96=1056, Resulting Numbers: [1056]
1056,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,2
Current State: 84:[97, 12], Operations: ['77-66=11', '1+11=12']
Exploring Operation: 97+12=109, Resulting Numbers: [109]
109,84 unequal: No Solution
Exploring Operation: 97-12=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 97*12=1164, Resulting Numbers: [1164]
1164,84 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: 84:[1, 66, 20], Operations: ['97-77=20']
Exploring Operation: 66+20=86, Resulting Numbers: [1, 86]
Generated Node #0,1,0: 84:[1, 86] Operation: 66+20=86
Exploring Operation: 1+66=67, Resulting Numbers: [20, 67]
Generated Node #0,1,1: 84:[20, 67] Operation: 1+66=67
Exploring Operation: 66-20=46, Resulting Numbers: [1, 46]
Generated Node #0,1,2: 84:[1, 46] Operation: 66-20=46
Moving to Node #0,1,0
Current State: 84:[1, 86], Operations: ['97-77=20', '66+20=86']
Exploring Operation: 1*86=86, Resulting Numbers: [86]
86,84 unequal: No Solution
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[1, 46], Operations: ['97-66=31', '77-31=46']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 1*46=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[1, 46], Operations: ['97-77=20', '66-20=46']
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 1*46=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[77, 30], Operations: ['97-66=31', '31-1=30']
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Exploring Operation: 77+30=107, Resulting Numbers: [107]
107,84 unequal: No Solution
Exploring Operation: 77*30=2310, Resulting Numbers: [2310]
2310,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[31, 78], Operations: ['97-66=31', '1+77=78']
Exploring Operation: 78-31=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Exploring Operation: 31+78=109, Resulting Numbers: [109]
109,84 unequal: No Solution
Exploring Operation: 31*78=2418, Resulting Numbers: [2418]
2418,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[20, 67], Operations: ['97-77=20', '1+66=67']
Exploring Operation: 20*67=1340, Resulting Numbers: [1340]
1340,84 unequal: No Solution
Exploring Operation: 67-20=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Exploring Operation: 20+67=87, Resulting Numbers: [87]
87,84 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
7,
83,
41,
6
] | 42 | [
"7-6=1",
"83-41=42",
"1*42=42"
] | Current State: 42:[7, 83, 41, 6], Operations: []
Exploring Operation: 7-6=1, Resulting Numbers: [83, 41, 1]
Generated Node #2: [83, 41, 1] from Operation: 7-6=1
Current State: 42:[83, 41, 1], Operations: ['7-6=1']
Exploring Operation: 83-41=42, Resulting Numbers: [1, 42]
Generated Node #3: [1, 42] from Operation: 83-41=42
Current State: 42:[1, 42], Operations: ['7-6=1', '83-41=42']
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[7, 83, 41, 6], Operations: []
Exploring Operation: 83-41=42, Resulting Numbers: [7, 6, 42]
Generated Node #0,0: 42:[7, 6, 42] Operation: 83-41=42
Exploring Operation: 83-7=76, Resulting Numbers: [41, 6, 76]
Generated Node #0,1: 42:[41, 6, 76] Operation: 83-7=76
Moving to Node #0,0
Current State: 42:[7, 6, 42], Operations: ['83-41=42']
Exploring Operation: 42/7=6, Resulting Numbers: [6, 6]
Generated Node #0,0,0: 42:[6, 6] Operation: 42/7=6
Exploring Operation: 7*6=42, Resulting Numbers: [42, 42]
Generated Node #0,0,1: 42:[42, 42] Operation: 7*6=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[6, 6], Operations: ['83-41=42', '42/7=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[42, 42], Operations: ['83-41=42', '7*6=42']
Exploring Operation: 42/42=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 42-42=0, Resulting Numbers: [0]
0,42 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: 42:[41, 6, 76], Operations: ['83-7=76']
Exploring Operation: 76-6=70, Resulting Numbers: [41, 70]
Generated Node #0,1,0: 42:[41, 70] Operation: 76-6=70
Exploring Operation: 76-41=35, Resulting Numbers: [6, 35]
Generated Node #0,1,1: 42:[6, 35] Operation: 76-41=35
Moving to Node #0,1,1
Current State: 42:[6, 35], Operations: ['83-7=76', '76-41=35']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,42 unequal: No Solution
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[41, 70], Operations: ['83-7=76', '76-6=70']
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,42 unequal: No Solution
Exploring Operation: 41+70=111, Resulting Numbers: [111]
111,42 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
63,
26,
23,
65
] | 75 | [
"65-63=2",
"26*2=52",
"23+52=75"
] | Current State: 75:[63, 26, 23, 65], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [26, 23, 2]
Generated Node #2: [26, 23, 2] from Operation: 65-63=2
Current State: 75:[26, 23, 2], Operations: ['65-63=2']
Exploring Operation: 26*2=52, Resulting Numbers: [23, 52]
Generated Node #3: [23, 52] from Operation: 26*2=52
Current State: 75:[23, 52], Operations: ['65-63=2', '26*2=52']
Exploring Operation: 23+52=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[63, 26, 23, 65], Operations: []
Exploring Operation: 63-26=37, Resulting Numbers: [23, 65, 37]
Generated Node #0,0: 75:[23, 65, 37] Operation: 63-26=37
Exploring Operation: 63+23=86, Resulting Numbers: [26, 65, 86]
Generated Node #0,1: 75:[26, 65, 86] Operation: 63+23=86
Exploring Operation: 63+26=89, Resulting Numbers: [23, 65, 89]
Generated Node #0,2: 75:[23, 65, 89] Operation: 63+26=89
Exploring Operation: 65-63=2, Resulting Numbers: [26, 23, 2]
Generated Node #0,3: 75:[26, 23, 2] Operation: 65-63=2
Exploring Operation: 26-23=3, Resulting Numbers: [63, 65, 3]
Generated Node #0,4: 75:[63, 65, 3] Operation: 26-23=3
Moving to Node #0,3
Current State: 75:[26, 23, 2], Operations: ['65-63=2']
Exploring Operation: 26+2=28, Resulting Numbers: [23, 28]
Generated Node #0,3,0: 75:[23, 28] Operation: 26+2=28
Exploring Operation: 23+2=25, Resulting Numbers: [26, 25]
Generated Node #0,3,1: 75:[26, 25] Operation: 23+2=25
Exploring Operation: 26-23=3, Resulting Numbers: [2, 3]
Generated Node #0,3,2: 75:[2, 3] Operation: 26-23=3
Exploring Operation: 26-2=24, Resulting Numbers: [23, 24]
Generated Node #0,3,3: 75:[23, 24] Operation: 26-2=24
Exploring Operation: 26/2=13, Resulting Numbers: [23, 13]
Generated Node #0,3,4: 75:[23, 13] Operation: 26/2=13
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 75:[26, 25], Operations: ['65-63=2', '23+2=25']
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,75 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 75:[2, 3], Operations: ['65-63=2', '26-23=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 75:[23, 24], Operations: ['65-63=2', '26-2=24']
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,75 unequal: No Solution
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 75:[23, 13], Operations: ['65-63=2', '26/2=13']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 23+13=36, Resulting Numbers: [36]
36,75 unequal: No Solution
Exploring Operation: 23*13=299, Resulting Numbers: [299]
299,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 75:[23, 28], Operations: ['65-63=2', '26+2=28']
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 23*28=644, Resulting Numbers: [644]
644,75 unequal: No Solution
Exploring Operation: 23+28=51, Resulting Numbers: [51]
51,75 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: 75:[63, 65, 3], Operations: ['26-23=3']
Exploring Operation: 63/3=21, Resulting Numbers: [65, 21]
Generated Node #0,4,0: 75:[65, 21] Operation: 63/3=21
Exploring Operation: 63-3=60, Resulting Numbers: [65, 60]
Generated Node #0,4,1: 75:[65, 60] Operation: 63-3=60
Exploring Operation: 65-63=2, Resulting Numbers: [3, 2]
Generated Node #0,4,2: 75:[3, 2] Operation: 65-63=2
Exploring Operation: 65+3=68, Resulting Numbers: [63, 68]
Generated Node #0,4,3: 75:[63, 68] Operation: 65+3=68
Exploring Operation: 63+3=66, Resulting Numbers: [65, 66]
Generated Node #0,4,4: 75:[65, 66] Operation: 63+3=66
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 75:[3, 2], Operations: ['26-23=3', '65-63=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 75:[65, 21], Operations: ['26-23=3', '63/3=21']
Exploring Operation: 65+21=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Exploring Operation: 65*21=1365, Resulting Numbers: [1365]
1365,75 unequal: No Solution
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 75:[63, 68], Operations: ['26-23=3', '65+3=68']
Exploring Operation: 63*68=4284, Resulting Numbers: [4284]
4284,75 unequal: No Solution
Exploring Operation: 63+68=131, Resulting Numbers: [131]
131,75 unequal: No Solution
Exploring Operation: 68-63=5, Resulting Numbers: [5]
5,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 75:[65, 66], Operations: ['26-23=3', '63+3=66']
Exploring Operation: 65+66=131, Resulting Numbers: [131]
131,75 unequal: No Solution
Exploring Operation: 65*66=4290, Resulting Numbers: [4290]
4290,75 unequal: No Solution
Exploring Operation: 66-65=1, Resulting Numbers: [1]
1,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 75:[65, 60], Operations: ['26-23=3', '63-3=60']
Exploring Operation: 65-60=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 65*60=3900, Resulting Numbers: [3900]
3900,75 unequal: No Solution
Exploring Operation: 65+60=125, Resulting Numbers: [125]
125,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 75:[26, 65, 86], Operations: ['63+23=86']
Exploring Operation: 86-65=21, Resulting Numbers: [26, 21]
Generated Node #0,1,0: 75:[26, 21] Operation: 86-65=21
Exploring Operation: 26+86=112, Resulting Numbers: [65, 112]
Generated Node #0,1,1: 75:[65, 112] Operation: 26+86=112
Exploring Operation: 65-26=39, Resulting Numbers: [86, 39]
Generated Node #0,1,2: 75:[86, 39] Operation: 65-26=39
Exploring Operation: 26+65=91, Resulting Numbers: [86, 91]
Generated Node #0,1,3: 75:[86, 91] Operation: 26+65=91
Exploring Operation: 86-26=60, Resulting Numbers: [65, 60]
Generated Node #0,1,4: 75:[65, 60] Operation: 86-26=60
Moving to Node #0,0
Current State: 75:[23, 65, 37], Operations: ['63-26=37']
Exploring Operation: 65-37=28, Resulting Numbers: [23, 28]
Generated Node #0,0,0: 75:[23, 28] Operation: 65-37=28
Exploring Operation: 65-23=42, Resulting Numbers: [37, 42]
Generated Node #0,0,1: 75:[37, 42] Operation: 65-23=42
Exploring Operation: 37-23=14, Resulting Numbers: [65, 14]
Generated Node #0,0,2: 75:[65, 14] Operation: 37-23=14
Exploring Operation: 23+37=60, Resulting Numbers: [65, 60]
Generated Node #0,0,3: 75:[65, 60] Operation: 23+37=60
Exploring Operation: 23+65=88, Resulting Numbers: [37, 88]
Generated Node #0,0,4: 75:[37, 88] Operation: 23+65=88
Moving to Node #0,2
Current State: 75:[23, 65, 89], Operations: ['63+26=89']
Exploring Operation: 89-23=66, Resulting Numbers: [65, 66]
Generated Node #0,2,0: 75:[65, 66] Operation: 89-23=66
Exploring Operation: 23+65=88, Resulting Numbers: [89, 88]
Generated Node #0,2,1: 75:[89, 88] Operation: 23+65=88
Exploring Operation: 89-65=24, Resulting Numbers: [23, 24]
Generated Node #0,2,2: 75:[23, 24] Operation: 89-65=24
Exploring Operation: 65-23=42, Resulting Numbers: [89, 42]
Generated Node #0,2,3: 75:[89, 42] Operation: 65-23=42
Exploring Operation: 23+89=112, Resulting Numbers: [65, 112]
Generated Node #0,2,4: 75:[65, 112] Operation: 23+89=112
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 75:[23, 24], Operations: ['63+26=89', '89-65=24']
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,75 unequal: No Solution
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,75 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 75:[65, 66], Operations: ['63+26=89', '89-23=66']
Exploring Operation: 66-65=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 65+66=131, Resulting Numbers: [131]
131,75 unequal: No Solution
Exploring Operation: 65*66=4290, Resulting Numbers: [4290]
4290,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 75:[89, 88], Operations: ['63+26=89', '23+65=88']
Exploring Operation: 89+88=177, Resulting Numbers: [177]
177,75 unequal: No Solution
Exploring Operation: 89*88=7832, Resulting Numbers: [7832]
7832,75 unequal: No Solution
Exploring Operation: 89-88=1, Resulting Numbers: [1]
1,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 75:[89, 42], Operations: ['63+26=89', '65-23=42']
Exploring Operation: 89-42=47, Resulting Numbers: [47]
47,75 unequal: No Solution
Exploring Operation: 89*42=3738, Resulting Numbers: [3738]
3738,75 unequal: No Solution
Exploring Operation: 89+42=131, Resulting Numbers: [131]
131,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 75:[65, 112], Operations: ['63+26=89', '23+89=112']
Exploring Operation: 65*112=7280, Resulting Numbers: [7280]
7280,75 unequal: No Solution
Exploring Operation: 65+112=177, Resulting Numbers: [177]
177,75 unequal: No Solution
Exploring Operation: 112-65=47, Resulting Numbers: [47]
47,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 75:[26, 21], Operations: ['63+23=86', '86-65=21']
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 26*21=546, Resulting Numbers: [546]
546,75 unequal: No Solution
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[23, 28], Operations: ['63-26=37', '65-37=28']
Exploring Operation: 23*28=644, Resulting Numbers: [644]
644,75 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 23+28=51, Resulting Numbers: [51]
51,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[65, 14], Operations: ['63-26=37', '37-23=14']
Exploring Operation: 65+14=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Exploring Operation: 65*14=910, Resulting Numbers: [910]
910,75 unequal: No Solution
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,75 unequal: No Solution
Moving to Node #0,1,4
Current State: 75:[65, 60], Operations: ['63+23=86', '86-26=60']
Exploring Operation: 65+60=125, Resulting Numbers: [125]
125,75 unequal: No Solution
Exploring Operation: 65-60=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 65*60=3900, Resulting Numbers: [3900]
3900,75 unequal: No Solution
Moving to Node #0,0,4
Current State: 75:[37, 88], Operations: ['63-26=37', '23+65=88']
Exploring Operation: 37+88=125, Resulting Numbers: [125]
125,75 unequal: No Solution
Exploring Operation: 88-37=51, Resulting Numbers: [51]
51,75 unequal: No Solution
Exploring Operation: 37*88=3256, Resulting Numbers: [3256]
3256,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[86, 39], Operations: ['63+23=86', '65-26=39']
Exploring Operation: 86*39=3354, Resulting Numbers: [3354]
3354,75 unequal: No Solution
Exploring Operation: 86-39=47, Resulting Numbers: [47]
47,75 unequal: No Solution
Exploring Operation: 86+39=125, Resulting Numbers: [125]
125,75 unequal: No Solution
Moving to Node #0,0,3
Current State: 75:[65, 60], Operations: ['63-26=37', '23+37=60']
Exploring Operation: 65-60=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 65*60=3900, Resulting Numbers: [3900]
3900,75 unequal: No Solution
Exploring Operation: 65+60=125, Resulting Numbers: [125]
125,75 unequal: No Solution
Moving to Node #0,1,3
Current State: 75:[86, 91], Operations: ['63+23=86', '26+65=91']
Exploring Operation: 86+91=177, Resulting Numbers: [177]
177,75 unequal: No Solution
Exploring Operation: 91-86=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 86*91=7826, Resulting Numbers: [7826]
7826,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[37, 42], Operations: ['63-26=37', '65-23=42']
Exploring Operation: 37*42=1554, Resulting Numbers: [1554]
1554,75 unequal: No Solution
Exploring Operation: 37+42=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[65, 112], Operations: ['63+23=86', '26+86=112']
Exploring Operation: 112-65=47, Resulting Numbers: [47]
47,75 unequal: No Solution
Exploring Operation: 65*112=7280, Resulting Numbers: [7280]
7280,75 unequal: No Solution
Exploring Operation: 65+112=177, Resulting Numbers: [177]
177,75 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
62,
71,
90,
40
] | 50 | [
"71-62=9",
"90/9=10",
"40+10=50"
] | Current State: 50:[62, 71, 90, 40], Operations: []
Exploring Operation: 71-62=9, Resulting Numbers: [90, 40, 9]
Generated Node #2: [90, 40, 9] from Operation: 71-62=9
Current State: 50:[90, 40, 9], Operations: ['71-62=9']
Exploring Operation: 90/9=10, Resulting Numbers: [40, 10]
Generated Node #3: [40, 10] from Operation: 90/9=10
Current State: 50:[40, 10], Operations: ['71-62=9', '90/9=10']
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[62, 71, 90, 40], Operations: []
Exploring Operation: 90-71=19, Resulting Numbers: [62, 40, 19]
Generated Node #0,0: 50:[62, 40, 19] Operation: 90-71=19
Exploring Operation: 90-40=50, Resulting Numbers: [62, 71, 50]
Generated Node #0,1: 50:[62, 71, 50] Operation: 90-40=50
Moving to Node #0,0
Current State: 50:[62, 40, 19], Operations: ['90-71=19']
Exploring Operation: 40-19=21, Resulting Numbers: [62, 21]
Generated Node #0,0,0: 50:[62, 21] Operation: 40-19=21
Exploring Operation: 62-40=22, Resulting Numbers: [19, 22]
Generated Node #0,0,1: 50:[19, 22] Operation: 62-40=22
Moving to Node #0,1
Current State: 50:[62, 71, 50], Operations: ['90-40=50']
Exploring Operation: 71-62=9, Resulting Numbers: [50, 9]
Generated Node #0,1,0: 50:[50, 9] Operation: 71-62=9
Exploring Operation: 71-50=21, Resulting Numbers: [62, 21]
Generated Node #0,1,1: 50:[62, 21] Operation: 71-50=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[50, 9], Operations: ['90-40=50', '71-62=9']
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,50 unequal: No Solution
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,50 unequal: No Solution
No 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: 50:[62, 21], Operations: ['90-40=50', '71-50=21']
Exploring Operation: 62+21=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,50 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: 50:[19, 22], Operations: ['90-71=19', '62-40=22']
Exploring Operation: 19+22=41, Resulting Numbers: [41]
41,50 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[62, 21], Operations: ['90-71=19', '40-19=21']
Exploring Operation: 62+21=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,50 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
5,
90,
2,
80
] | 40 | [
"5+80=85",
"90/2=45",
"85-45=40"
] | Current State: 40:[5, 90, 2, 80], Operations: []
Exploring Operation: 5+80=85, Resulting Numbers: [90, 2, 85]
Generated Node #2: [90, 2, 85] from Operation: 5+80=85
Current State: 40:[90, 2, 85], Operations: ['5+80=85']
Exploring Operation: 90/2=45, Resulting Numbers: [85, 45]
Generated Node #3: [85, 45] from Operation: 90/2=45
Current State: 40:[85, 45], Operations: ['5+80=85', '90/2=45']
Exploring Operation: 85-45=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[5, 90, 2, 80], Operations: []
Exploring Operation: 90-80=10, Resulting Numbers: [5, 2, 10]
Generated Node #0,0: 40:[5, 2, 10] Operation: 90-80=10
Exploring Operation: 90/5=18, Resulting Numbers: [2, 80, 18]
Generated Node #0,1: 40:[2, 80, 18] Operation: 90/5=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[5, 2, 10], Operations: ['90-80=10']
Exploring Operation: 5*2=10, Resulting Numbers: [10, 10]
Generated Node #0,0,0: 40:[10, 10] Operation: 5*2=10
Exploring Operation: 10-5=5, Resulting Numbers: [2, 5]
Generated Node #0,0,1: 40:[2, 5] Operation: 10-5=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[10, 10], Operations: ['90-80=10', '5*2=10']
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,40 unequal: No Solution
No 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: 40:[2, 5], Operations: ['90-80=10', '10-5=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,40 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: 40:[2, 80, 18], Operations: ['90/5=18']
Exploring Operation: 80-18=62, Resulting Numbers: [2, 62]
Generated Node #0,1,0: 40:[2, 62] Operation: 80-18=62
Exploring Operation: 80/2=40, Resulting Numbers: [18, 40]
Generated Node #0,1,1: 40:[18, 40] Operation: 80/2=40
Moving to Node #0,1,1
Current State: 40:[18, 40], Operations: ['90/5=18', '80/2=40']
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[2, 62], Operations: ['90/5=18', '80-18=62']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,40 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,40 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 |
[
34,
33,
37,
35
] | 65 | [
"34+33=67",
"37-35=2",
"67-2=65"
] | Current State: 65:[34, 33, 37, 35], Operations: []
Exploring Operation: 34+33=67, Resulting Numbers: [37, 35, 67]
Generated Node #2: [37, 35, 67] from Operation: 34+33=67
Current State: 65:[37, 35, 67], Operations: ['34+33=67']
Exploring Operation: 37-35=2, Resulting Numbers: [67, 2]
Generated Node #3: [67, 2] from Operation: 37-35=2
Current State: 65:[67, 2], Operations: ['34+33=67', '37-35=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[34, 33, 37, 35], Operations: []
Exploring Operation: 37-34=3, Resulting Numbers: [33, 35, 3]
Generated Node #0,0: 65:[33, 35, 3] Operation: 37-34=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[33, 35, 3], Operations: ['37-34=3']
Exploring Operation: 33+35=68, Resulting Numbers: [3, 68]
Generated Node #0,0,0: 65:[3, 68] Operation: 33+35=68
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[3, 68], Operations: ['37-34=3', '33+35=68']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[34, 33, 37, 35], Operations: []
Exploring Operation: 37-34=3, Resulting Numbers: [33, 35, 3]
Generated Node #0,0: 65:[33, 35, 3] Operation: 37-34=3
Moving to Node #0,0
Current State: 65:[33, 35, 3], Operations: ['37-34=3']
Exploring Operation: 33+35=68, Resulting Numbers: [3, 68]
Generated Node #0,0,0: 65:[3, 68] Operation: 33+35=68
Moving to Node #0,0,0
Current State: 65:[3, 68], Operations: ['37-34=3', '33+35=68']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
76,
63,
21,
77
] | 84 | [
"77-76=1",
"63+21=84",
"1*84=84"
] | Current State: 84:[76, 63, 21, 77], Operations: []
Exploring Operation: 77-76=1, Resulting Numbers: [63, 21, 1]
Generated Node #2: [63, 21, 1] from Operation: 77-76=1
Current State: 84:[63, 21, 1], Operations: ['77-76=1']
Exploring Operation: 63+21=84, Resulting Numbers: [1, 84]
Generated Node #3: [1, 84] from Operation: 63+21=84
Current State: 84:[1, 84], Operations: ['77-76=1', '63+21=84']
Exploring Operation: 1*84=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[76, 63, 21, 77], Operations: []
Exploring Operation: 76-63=13, Resulting Numbers: [21, 77, 13]
Generated Node #0,0: 84:[21, 77, 13] Operation: 76-63=13
Exploring Operation: 77-63=14, Resulting Numbers: [76, 21, 14]
Generated Node #0,1: 84:[76, 21, 14] Operation: 77-63=14
Exploring Operation: 63+21=84, Resulting Numbers: [76, 77, 84]
Generated Node #0,2: 84:[76, 77, 84] Operation: 63+21=84
Exploring Operation: 63-21=42, Resulting Numbers: [76, 77, 42]
Generated Node #0,3: 84:[76, 77, 42] Operation: 63-21=42
Exploring Operation: 63/21=3, Resulting Numbers: [76, 77, 3]
Generated Node #0,4: 84:[76, 77, 3] Operation: 63/21=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[21, 77, 13], Operations: ['76-63=13']
Exploring Operation: 21-13=8, Resulting Numbers: [77, 8]
Generated Node #0,0,0: 84:[77, 8] Operation: 21-13=8
Exploring Operation: 21+13=34, Resulting Numbers: [77, 34]
Generated Node #0,0,1: 84:[77, 34] Operation: 21+13=34
Exploring Operation: 77-21=56, Resulting Numbers: [13, 56]
Generated Node #0,0,2: 84:[13, 56] Operation: 77-21=56
Exploring Operation: 21+77=98, Resulting Numbers: [13, 98]
Generated Node #0,0,3: 84:[13, 98] Operation: 21+77=98
Exploring Operation: 77+13=90, Resulting Numbers: [21, 90]
Generated Node #0,0,4: 84:[21, 90] Operation: 77+13=90
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 84:[21, 90], Operations: ['76-63=13', '77+13=90']
Exploring Operation: 21*90=1890, Resulting Numbers: [1890]
1890,84 unequal: No Solution
Exploring Operation: 21+90=111, Resulting Numbers: [111]
111,84 unequal: No Solution
Exploring Operation: 90-21=69, Resulting Numbers: [69]
69,84 unequal: No Solution
No 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: 84:[77, 8], Operations: ['76-63=13', '21-13=8']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,84 unequal: No Solution
Exploring Operation: 77*8=616, Resulting Numbers: [616]
616,84 unequal: No Solution
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,84 unequal: No Solution
No 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: 84:[77, 34], Operations: ['76-63=13', '21+13=34']
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Exploring Operation: 77*34=2618, Resulting Numbers: [2618]
2618,84 unequal: No Solution
Exploring Operation: 77+34=111, Resulting Numbers: [111]
111,84 unequal: No Solution
No 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: 84:[13, 56], Operations: ['76-63=13', '77-21=56']
Exploring Operation: 13*56=728, Resulting Numbers: [728]
728,84 unequal: No Solution
Exploring Operation: 56-13=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Exploring Operation: 13+56=69, Resulting Numbers: [69]
69,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 84:[13, 98], Operations: ['76-63=13', '21+77=98']
Exploring Operation: 13*98=1274, Resulting Numbers: [1274]
1274,84 unequal: No Solution
Exploring Operation: 13+98=111, Resulting Numbers: [111]
111,84 unequal: No Solution
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,84 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: 84:[76, 21, 14], Operations: ['77-63=14']
Exploring Operation: 76-21=55, Resulting Numbers: [14, 55]
Generated Node #0,1,0: 84:[14, 55] Operation: 76-21=55
Exploring Operation: 76+14=90, Resulting Numbers: [21, 90]
Generated Node #0,1,1: 84:[21, 90] Operation: 76+14=90
Exploring Operation: 21-14=7, Resulting Numbers: [76, 7]
Generated Node #0,1,2: 84:[76, 7] Operation: 21-14=7
Exploring Operation: 76+21=97, Resulting Numbers: [14, 97]
Generated Node #0,1,3: 84:[14, 97] Operation: 76+21=97
Exploring Operation: 21+14=35, Resulting Numbers: [76, 35]
Generated Node #0,1,4: 84:[76, 35] Operation: 21+14=35
Moving to Node #0,1,1
Current State: 84:[21, 90], Operations: ['77-63=14', '76+14=90']
Exploring Operation: 21*90=1890, Resulting Numbers: [1890]
1890,84 unequal: No Solution
Exploring Operation: 21+90=111, Resulting Numbers: [111]
111,84 unequal: No Solution
Exploring Operation: 90-21=69, Resulting Numbers: [69]
69,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[76, 7], Operations: ['77-63=14', '21-14=7']
Exploring Operation: 76*7=532, Resulting Numbers: [532]
532,84 unequal: No Solution
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,84 unequal: No Solution
Exploring Operation: 76+7=83, Resulting Numbers: [83]
83,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[14, 55], Operations: ['77-63=14', '76-21=55']
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,84 unequal: No Solution
Exploring Operation: 14+55=69, Resulting Numbers: [69]
69,84 unequal: No Solution
Exploring Operation: 14*55=770, Resulting Numbers: [770]
770,84 unequal: No Solution
Moving to Node #0,1,3
Current State: 84:[14, 97], Operations: ['77-63=14', '76+21=97']
Exploring Operation: 14+97=111, Resulting Numbers: [111]
111,84 unequal: No Solution
Exploring Operation: 14*97=1358, Resulting Numbers: [1358]
1358,84 unequal: No Solution
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,84 unequal: No Solution
Moving to Node #0,1,4
Current State: 84:[76, 35], Operations: ['77-63=14', '21+14=35']
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,84 unequal: No Solution
Exploring Operation: 76+35=111, Resulting Numbers: [111]
111,84 unequal: No Solution
Exploring Operation: 76*35=2660, Resulting Numbers: [2660]
2660,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,2
Current State: 84:[76, 77, 84], Operations: ['63+21=84']
Exploring Operation: 84-76=8, Resulting Numbers: [77, 8]
Generated Node #0,2,0: 84:[77, 8] Operation: 84-76=8
Exploring Operation: 77-76=1, Resulting Numbers: [84, 1]
Generated Node #0,2,1: 84:[84, 1] Operation: 77-76=1
Exploring Operation: 84-77=7, Resulting Numbers: [76, 7]
Generated Node #0,2,2: 84:[76, 7] Operation: 84-77=7
Exploring Operation: 76+77=153, Resulting Numbers: [84, 153]
Generated Node #0,2,3: 84:[84, 153] Operation: 76+77=153
Exploring Operation: 76+84=160, Resulting Numbers: [77, 160]
Generated Node #0,2,4: 84:[77, 160] Operation: 76+84=160
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 84:[84, 1], Operations: ['63+21=84', '77-76=1']
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,84 unequal: No Solution
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 84/1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[76, 63, 21, 77], Operations: []
Exploring Operation: 63+21=84, Resulting Numbers: [76, 77, 84]
Generated Node #0,2: 84:[76, 77, 84] Operation: 63+21=84
Moving to Node #0,2
Current State: 84:[76, 77, 84], Operations: ['63+21=84']
Exploring Operation: 77-76=1, Resulting Numbers: [84, 1]
Generated Node #0,2,1: 84:[84, 1] Operation: 77-76=1
Moving to Node #0,2,1
Current State: 84:[84, 1], Operations: ['63+21=84', '77-76=1']
Exploring Operation: 84/1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.950521 | hs_5 | mult_heuristic |
[
4,
7,
77,
13
] | 87 | [
"7-4=3",
"77+13=90",
"90-3=87"
] | Current State: 87:[4, 7, 77, 13], Operations: []
Exploring Operation: 7-4=3, Resulting Numbers: [77, 13, 3]
Generated Node #2: [77, 13, 3] from Operation: 7-4=3
Current State: 87:[77, 13, 3], Operations: ['7-4=3']
Exploring Operation: 77+13=90, Resulting Numbers: [3, 90]
Generated Node #3: [3, 90] from Operation: 77+13=90
Current State: 87:[3, 90], Operations: ['7-4=3', '77+13=90']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[4, 7, 77, 13], Operations: []
Exploring Operation: 13-7=6, Resulting Numbers: [4, 77, 6]
Generated Node #0,0: 87:[4, 77, 6] Operation: 13-7=6
Exploring Operation: 7+77=84, Resulting Numbers: [4, 13, 84]
Generated Node #0,1: 87:[4, 13, 84] Operation: 7+77=84
Exploring Operation: 77+13=90, Resulting Numbers: [4, 7, 90]
Generated Node #0,2: 87:[4, 7, 90] Operation: 77+13=90
Moving to Node #0,2
Current State: 87:[4, 7, 90], Operations: ['77+13=90']
Exploring Operation: 7-4=3, Resulting Numbers: [90, 3]
Generated Node #0,2,0: 87:[90, 3] Operation: 7-4=3
Exploring Operation: 4*7=28, Resulting Numbers: [90, 28]
Generated Node #0,2,1: 87:[90, 28] Operation: 4*7=28
Exploring Operation: 90-4=86, Resulting Numbers: [7, 86]
Generated Node #0,2,2: 87:[7, 86] Operation: 90-4=86
Moving to Node #0,0
Current State: 87:[4, 77, 6], Operations: ['13-7=6']
Exploring Operation: 4+77=81, Resulting Numbers: [6, 81]
Generated Node #0,0,0: 87:[6, 81] Operation: 4+77=81
Exploring Operation: 77+6=83, Resulting Numbers: [4, 83]
Generated Node #0,0,1: 87:[4, 83] Operation: 77+6=83
Exploring Operation: 6-4=2, Resulting Numbers: [77, 2]
Generated Node #0,0,2: 87:[77, 2] Operation: 6-4=2
Moving to Node #0,1
Current State: 87:[4, 13, 84], Operations: ['7+77=84']
Exploring Operation: 13+84=97, Resulting Numbers: [4, 97]
Generated Node #0,1,0: 87:[4, 97] Operation: 13+84=97
Exploring Operation: 4+84=88, Resulting Numbers: [13, 88]
Generated Node #0,1,1: 87:[13, 88] Operation: 4+84=88
Exploring Operation: 13-4=9, Resulting Numbers: [84, 9]
Generated Node #0,1,2: 87:[84, 9] Operation: 13-4=9
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 87:[84, 9], Operations: ['7+77=84', '13-4=9']
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,87 unequal: No Solution
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,87 unequal: No Solution
Exploring Operation: 84*9=756, Resulting Numbers: [756]
756,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[4, 97], Operations: ['7+77=84', '13+84=97']
Exploring Operation: 4+97=101, Resulting Numbers: [101]
101,87 unequal: No Solution
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,87 unequal: No Solution
Exploring Operation: 4*97=388, Resulting Numbers: [388]
388,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[13, 88], Operations: ['7+77=84', '4+84=88']
Exploring Operation: 13+88=101, Resulting Numbers: [101]
101,87 unequal: No Solution
Exploring Operation: 13*88=1144, Resulting Numbers: [1144]
1144,87 unequal: No Solution
Exploring Operation: 88-13=75, Resulting Numbers: [75]
75,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 87:[90, 3], Operations: ['77+13=90', '7-4=3']
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,87 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[4, 7, 77, 13], Operations: []
Exploring Operation: 77+13=90, Resulting Numbers: [4, 7, 90]
Generated Node #0,2: 87:[4, 7, 90] Operation: 77+13=90
Moving to Node #0,2
Current State: 87:[4, 7, 90], Operations: ['77+13=90']
Exploring Operation: 7-4=3, Resulting Numbers: [90, 3]
Generated Node #0,2,0: 87:[90, 3] Operation: 7-4=3
Moving to Node #0,2,0
Current State: 87:[90, 3], Operations: ['77+13=90', '7-4=3']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
25,
31,
97,
37
] | 42 | [
"31*37=1147",
"1147-97=1050",
"1050/25=42"
] | Current State: 42:[25, 31, 97, 37], Operations: []
Exploring Operation: 31*37=1147, Resulting Numbers: [25, 97, 1147]
Generated Node #2: [25, 97, 1147] from Operation: 31*37=1147
Current State: 42:[25, 97, 1147], Operations: ['31*37=1147']
Exploring Operation: 1147-97=1050, Resulting Numbers: [25, 1050]
Generated Node #3: [25, 1050] from Operation: 1147-97=1050
Current State: 42:[25, 1050], Operations: ['31*37=1147', '1147-97=1050']
Exploring Operation: 1050/25=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[25, 31, 97, 37], Operations: []
Exploring Operation: 97-25=72, Resulting Numbers: [31, 37, 72]
Generated Node #0,0: 42:[31, 37, 72] Operation: 97-25=72
Exploring Operation: 37-31=6, Resulting Numbers: [25, 97, 6]
Generated Node #0,1: 42:[25, 97, 6] Operation: 37-31=6
Exploring Operation: 97-31=66, Resulting Numbers: [25, 37, 66]
Generated Node #0,2: 42:[25, 37, 66] Operation: 97-31=66
Exploring Operation: 97-37=60, Resulting Numbers: [25, 31, 60]
Generated Node #0,3: 42:[25, 31, 60] Operation: 97-37=60
Moving to Node #0,3
Current State: 42:[25, 31, 60], Operations: ['97-37=60']
Exploring Operation: 60-31=29, Resulting Numbers: [25, 29]
Generated Node #0,3,0: 42:[25, 29] Operation: 60-31=29
Exploring Operation: 31-25=6, Resulting Numbers: [60, 6]
Generated Node #0,3,1: 42:[60, 6] Operation: 31-25=6
Exploring Operation: 60-25=35, Resulting Numbers: [31, 35]
Generated Node #0,3,2: 42:[31, 35] Operation: 60-25=35
Exploring Operation: 25+31=56, Resulting Numbers: [60, 56]
Generated Node #0,3,3: 42:[60, 56] Operation: 25+31=56
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 42:[25, 29], Operations: ['97-37=60', '60-31=29']
Exploring Operation: 25+29=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 25*29=725, Resulting Numbers: [725]
725,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 42:[31, 35], Operations: ['97-37=60', '60-25=35']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 31+35=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Exploring Operation: 31*35=1085, Resulting Numbers: [1085]
1085,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 42:[60, 6], Operations: ['97-37=60', '31-25=6']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 60*6=360, Resulting Numbers: [360]
360,42 unequal: No Solution
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 42:[60, 56], Operations: ['97-37=60', '25+31=56']
Exploring Operation: 60*56=3360, Resulting Numbers: [3360]
3360,42 unequal: No Solution
Exploring Operation: 60+56=116, Resulting Numbers: [116]
116,42 unequal: No Solution
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,42 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: 42:[25, 37, 66], Operations: ['97-31=66']
Exploring Operation: 66-25=41, Resulting Numbers: [37, 41]
Generated Node #0,2,0: 42:[37, 41] Operation: 66-25=41
Exploring Operation: 37-25=12, Resulting Numbers: [66, 12]
Generated Node #0,2,1: 42:[66, 12] Operation: 37-25=12
Exploring Operation: 66-37=29, Resulting Numbers: [25, 29]
Generated Node #0,2,2: 42:[25, 29] Operation: 66-37=29
Exploring Operation: 25+37=62, Resulting Numbers: [66, 62]
Generated Node #0,2,3: 42:[66, 62] Operation: 25+37=62
Moving to Node #0,0
Current State: 42:[31, 37, 72], Operations: ['97-25=72']
Exploring Operation: 72-37=35, Resulting Numbers: [31, 35]
Generated Node #0,0,0: 42:[31, 35] Operation: 72-37=35
Exploring Operation: 31+37=68, Resulting Numbers: [72, 68]
Generated Node #0,0,1: 42:[72, 68] Operation: 31+37=68
Exploring Operation: 72-31=41, Resulting Numbers: [37, 41]
Generated Node #0,0,2: 42:[37, 41] Operation: 72-31=41
Exploring Operation: 37-31=6, Resulting Numbers: [72, 6]
Generated Node #0,0,3: 42:[72, 6] Operation: 37-31=6
Moving to Node #0,1
Current State: 42:[25, 97, 6], Operations: ['37-31=6']
Exploring Operation: 25+6=31, Resulting Numbers: [97, 31]
Generated Node #0,1,0: 42:[97, 31] Operation: 25+6=31
Exploring Operation: 97-6=91, Resulting Numbers: [25, 91]
Generated Node #0,1,1: 42:[25, 91] Operation: 97-6=91
Exploring Operation: 25-6=19, Resulting Numbers: [97, 19]
Generated Node #0,1,2: 42:[97, 19] Operation: 25-6=19
Exploring Operation: 97-25=72, Resulting Numbers: [6, 72]
Generated Node #0,1,3: 42:[6, 72] Operation: 97-25=72
Moving to Node #0,2,0
Current State: 42:[37, 41], Operations: ['97-31=66', '66-25=41']
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,42 unequal: No Solution
Exploring Operation: 37*41=1517, Resulting Numbers: [1517]
1517,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[37, 41], Operations: ['97-25=72', '72-31=41']
Exploring Operation: 37*41=1517, Resulting Numbers: [1517]
1517,42 unequal: No Solution
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[25, 29], Operations: ['97-31=66', '66-37=29']
Exploring Operation: 25+29=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 25*29=725, Resulting Numbers: [725]
725,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[31, 35], Operations: ['97-25=72', '72-37=35']
Exploring Operation: 31+35=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 31*35=1085, Resulting Numbers: [1085]
1085,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[66, 12], Operations: ['97-31=66', '37-25=12']
Exploring Operation: 66*12=792, Resulting Numbers: [792]
792,42 unequal: No Solution
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 66+12=78, Resulting Numbers: [78]
78,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[72, 6], Operations: ['97-25=72', '37-31=6']
Exploring Operation: 72*6=432, Resulting Numbers: [432]
432,42 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,42 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Moving to Node #0,1,3
Current State: 42:[6, 72], Operations: ['37-31=6', '97-25=72']
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,42 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Exploring Operation: 6*72=432, Resulting Numbers: [432]
432,42 unequal: No Solution
Moving to Node #0,2,3
Current State: 42:[66, 62], Operations: ['97-31=66', '25+37=62']
Exploring Operation: 66-62=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 66+62=128, Resulting Numbers: [128]
128,42 unequal: No Solution
Exploring Operation: 66*62=4092, Resulting Numbers: [4092]
4092,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[25, 91], Operations: ['37-31=6', '97-6=91']
Exploring Operation: 25+91=116, Resulting Numbers: [116]
116,42 unequal: No Solution
Exploring Operation: 91-25=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Exploring Operation: 25*91=2275, Resulting Numbers: [2275]
2275,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[72, 68], Operations: ['97-25=72', '31+37=68']
Exploring Operation: 72-68=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 72*68=4896, Resulting Numbers: [4896]
4896,42 unequal: No Solution
Exploring Operation: 72+68=140, Resulting Numbers: [140]
140,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[97, 19], Operations: ['37-31=6', '25-6=19']
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,42 unequal: No Solution
Exploring Operation: 97*19=1843, Resulting Numbers: [1843]
1843,42 unequal: No Solution
Exploring Operation: 97+19=116, Resulting Numbers: [116]
116,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[97, 31], Operations: ['37-31=6', '25+6=31']
Exploring Operation: 97-31=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Exploring Operation: 97*31=3007, Resulting Numbers: [3007]
3007,42 unequal: No Solution
Exploring Operation: 97+31=128, Resulting Numbers: [128]
128,42 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
29,
64,
9,
7
] | 28 | [
"64-29=35",
"9*7=63",
"63-35=28"
] | Current State: 28:[29, 64, 9, 7], Operations: []
Exploring Operation: 64-29=35, Resulting Numbers: [9, 7, 35]
Generated Node #2: [9, 7, 35] from Operation: 64-29=35
Current State: 28:[9, 7, 35], Operations: ['64-29=35']
Exploring Operation: 9*7=63, Resulting Numbers: [35, 63]
Generated Node #3: [35, 63] from Operation: 9*7=63
Current State: 28:[35, 63], Operations: ['64-29=35', '9*7=63']
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[29, 64, 9, 7], Operations: []
Exploring Operation: 64-29=35, Resulting Numbers: [9, 7, 35]
Generated Node #0,0: 28:[9, 7, 35] Operation: 64-29=35
Exploring Operation: 64-9=55, Resulting Numbers: [29, 7, 55]
Generated Node #0,1: 28:[29, 7, 55] Operation: 64-9=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[9, 7, 35], Operations: ['64-29=35']
Exploring Operation: 35-9=26, Resulting Numbers: [7, 26]
Generated Node #0,0,0: 28:[7, 26] Operation: 35-9=26
Exploring Operation: 35-7=28, Resulting Numbers: [9, 28]
Generated Node #0,0,1: 28:[9, 28] Operation: 35-7=28
Moving to Node #0,0,0
Current State: 28:[7, 26], Operations: ['64-29=35', '35-9=26']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[9, 28], Operations: ['64-29=35', '35-7=28']
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 28-9=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
Current State: 28:[29, 7, 55], Operations: ['64-9=55']
Exploring Operation: 55-29=26, Resulting Numbers: [7, 26]
Generated Node #0,1,0: 28:[7, 26] Operation: 55-29=26
Exploring Operation: 55-7=48, Resulting Numbers: [29, 48]
Generated Node #0,1,1: 28:[29, 48] Operation: 55-7=48
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[7, 26], Operations: ['64-9=55', '55-29=26']
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,28 unequal: No Solution
No 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: 28:[29, 48], Operations: ['64-9=55', '55-7=48']
Exploring Operation: 29+48=77, Resulting Numbers: [77]
77,28 unequal: No Solution
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,28 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 |
[
27,
58,
3,
58
] | 86 | [
"58-27=31",
"58-3=55",
"31+55=86"
] | Current State: 86:[27, 58, 3, 58], Operations: []
Exploring Operation: 58-27=31, Resulting Numbers: [3, 31]
Generated Node #2: [3, 31] from Operation: 58-27=31
Current State: 86:[3, 31], Operations: ['58-27=31']
Exploring Operation: 58-3=55, Resulting Numbers: [31, 55]
Generated Node #3: [31, 55] from Operation: 58-3=55
Current State: 86:[31, 55], Operations: ['58-27=31', '58-3=55']
Exploring Operation: 31+55=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[27, 58, 3, 58], Operations: []
Exploring Operation: 27+58=85, Resulting Numbers: [58, 3, 85]
Generated Node #0,0: 86:[58, 3, 85] Operation: 27+58=85
Exploring Operation: 58/58=1, Resulting Numbers: [27, 3, 1]
Generated Node #0,1: 86:[27, 3, 1] Operation: 58/58=1
Exploring Operation: 27+58=85, Resulting Numbers: [3, 58, 85]
Generated Node #0,2: 86:[3, 58, 85] Operation: 27+58=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[58, 3, 85], Operations: ['27+58=85']
Exploring Operation: 85-58=27, Resulting Numbers: [3, 27]
Generated Node #0,0,0: 86:[3, 27] Operation: 85-58=27
Exploring Operation: 58-3=55, Resulting Numbers: [85, 55]
Generated Node #0,0,1: 86:[85, 55] Operation: 58-3=55
Exploring Operation: 3+85=88, Resulting Numbers: [58, 88]
Generated Node #0,0,2: 86:[58, 88] Operation: 3+85=88
Moving to Node #0,0,1
Current State: 86:[85, 55], Operations: ['27+58=85', '58-3=55']
Exploring Operation: 85-55=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 85*55=4675, Resulting Numbers: [4675]
4675,86 unequal: No Solution
Exploring Operation: 85+55=140, Resulting Numbers: [140]
140,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[3, 27], Operations: ['27+58=85', '85-58=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[58, 88], Operations: ['27+58=85', '3+85=88']
Exploring Operation: 88-58=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 58+88=146, Resulting Numbers: [146]
146,86 unequal: No Solution
Exploring Operation: 58*88=5104, Resulting Numbers: [5104]
5104,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[3, 58, 85], Operations: ['27+58=85']
Exploring Operation: 85-58=27, Resulting Numbers: [3, 27]
Generated Node #0,2,0: 86:[3, 27] Operation: 85-58=27
Exploring Operation: 58-3=55, Resulting Numbers: [85, 55]
Generated Node #0,2,1: 86:[85, 55] Operation: 58-3=55
Exploring Operation: 3+85=88, Resulting Numbers: [58, 88]
Generated Node #0,2,2: 86:[58, 88] Operation: 3+85=88
Moving to Node #0,2,1
Current State: 86:[85, 55], Operations: ['27+58=85', '58-3=55']
Exploring Operation: 85-55=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 85+55=140, Resulting Numbers: [140]
140,86 unequal: No Solution
Exploring Operation: 85*55=4675, Resulting Numbers: [4675]
4675,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[3, 27], Operations: ['27+58=85', '85-58=27']
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[58, 88], Operations: ['27+58=85', '3+85=88']
Exploring Operation: 58+88=146, Resulting Numbers: [146]
146,86 unequal: No Solution
Exploring Operation: 58*88=5104, Resulting Numbers: [5104]
5104,86 unequal: No Solution
Exploring Operation: 88-58=30, Resulting Numbers: [30]
30,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[27, 3, 1], Operations: ['58/58=1']
Exploring Operation: 27/3=9, Resulting Numbers: [1, 9]
Generated Node #0,1,0: 86:[1, 9] Operation: 27/3=9
Exploring Operation: 27*3=81, Resulting Numbers: [1, 81]
Generated Node #0,1,1: 86:[1, 81] Operation: 27*3=81
Exploring Operation: 27+3=30, Resulting Numbers: [1, 30]
Generated Node #0,1,2: 86:[1, 30] Operation: 27+3=30
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 86:[1, 81], Operations: ['58/58=1', '27*3=81']
Exploring Operation: 1*81=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Exploring Operation: 1+81=82, Resulting Numbers: [82]
82,86 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 86:[1, 9], Operations: ['58/58=1', '27/3=9']
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,86 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 86:[1, 30], Operations: ['58/58=1', '27+3=30']
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 1+30=31, Resulting Numbers: [31]
31,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
28,
66,
48,
99
] | 13 | [
"66-28=38",
"99-48=51",
"51-38=13"
] | Current State: 13:[28, 66, 48, 99], Operations: []
Exploring Operation: 66-28=38, Resulting Numbers: [48, 99, 38]
Generated Node #2: [48, 99, 38] from Operation: 66-28=38
Current State: 13:[48, 99, 38], Operations: ['66-28=38']
Exploring Operation: 99-48=51, Resulting Numbers: [38, 51]
Generated Node #3: [38, 51] from Operation: 99-48=51
Current State: 13:[38, 51], Operations: ['66-28=38', '99-48=51']
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[28, 66, 48, 99], Operations: []
Exploring Operation: 99-66=33, Resulting Numbers: [28, 48, 33]
Generated Node #0,0: 13:[28, 48, 33] Operation: 99-66=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[28, 48, 33], Operations: ['99-66=33']
Exploring Operation: 48-33=15, Resulting Numbers: [28, 15]
Generated Node #0,0,0: 13:[28, 15] Operation: 48-33=15
Moving to Node #0,0,0
Current State: 13:[28, 15], Operations: ['99-66=33', '48-33=15']
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[28, 66, 48, 99], Operations: []
Exploring Operation: 99-66=33, Resulting Numbers: [28, 48, 33]
Generated Node #0,0: 13:[28, 48, 33] Operation: 99-66=33
Moving to Node #0,0
Current State: 13:[28, 48, 33], Operations: ['99-66=33']
Exploring Operation: 48-33=15, Resulting Numbers: [28, 15]
Generated Node #0,0,0: 13:[28, 15] Operation: 48-33=15
Moving to Node #0,0,0
Current State: 13:[28, 15], Operations: ['99-66=33', '48-33=15']
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
45,
5,
33,
33
] | 93 | [
"45-33=12",
"5*12=60",
"33+60=93"
] | Current State: 93:[45, 5, 33, 33], Operations: []
Exploring Operation: 45-33=12, Resulting Numbers: [5, 12]
Generated Node #2: [5, 12] from Operation: 45-33=12
Current State: 93:[5, 12], Operations: ['45-33=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,93 equal: Goal Reached
Exploring Operation: 33+60=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[45, 5, 33, 33], Operations: []
Exploring Operation: 45/5=9, Resulting Numbers: [33, 33, 9]
Generated Node #0,0: 93:[33, 33, 9] Operation: 45/5=9
Exploring Operation: 45-33=12, Resulting Numbers: [5, 33, 12]
Generated Node #0,1: 93:[5, 33, 12] Operation: 45-33=12
Exploring Operation: 45-33=12, Resulting Numbers: [5, 33, 12]
Generated Node #0,2: 93:[5, 33, 12] Operation: 45-33=12
Exploring Operation: 45-5=40, Resulting Numbers: [33, 33, 40]
Generated Node #0,3: 93:[33, 33, 40] Operation: 45-5=40
Moving to Node #0,0
Current State: 93:[33, 33, 9], Operations: ['45/5=9']
Exploring Operation: 33-33=0, Resulting Numbers: [9, 0]
Generated Node #0,0,0: 93:[9, 0] Operation: 33-33=0
Exploring Operation: 33-9=24, Resulting Numbers: [33, 24]
Generated Node #0,0,1: 93:[33, 24] Operation: 33-9=24
Exploring Operation: 33-9=24, Resulting Numbers: [33, 24]
Generated Node #0,0,2: 93:[33, 24] Operation: 33-9=24
Exploring Operation: 33/33=1, Resulting Numbers: [9, 1]
Generated Node #0,0,3: 93:[9, 1] Operation: 33/33=1
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 93:[9, 1], Operations: ['45/5=9', '33/33=1']
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[9, 0], Operations: ['45/5=9', '33-33=0']
Exploring Operation: 9*0=0, Resulting Numbers: [0]
0,93 unequal: No Solution
Exploring Operation: 9+0=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 9-0=9, Resulting Numbers: [9]
9,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[33, 24], Operations: ['45/5=9', '33-9=24']
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,93 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[33, 24], Operations: ['45/5=9', '33-9=24']
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,93 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: 93:[5, 33, 12], Operations: ['45-33=12']
Exploring Operation: 33-12=21, Resulting Numbers: [5, 21]
Generated Node #0,2,0: 93:[5, 21] Operation: 33-12=21
Exploring Operation: 33-5=28, Resulting Numbers: [12, 28]
Generated Node #0,2,1: 93:[12, 28] Operation: 33-5=28
Exploring Operation: 5+33=38, Resulting Numbers: [12, 38]
Generated Node #0,2,2: 93:[12, 38] Operation: 5+33=38
Exploring Operation: 12-5=7, Resulting Numbers: [33, 7]
Generated Node #0,2,3: 93:[33, 7] Operation: 12-5=7
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 93:[33, 7], Operations: ['45-33=12', '12-5=7']
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,93 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,93 unequal: No Solution
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[5, 21], Operations: ['45-33=12', '33-12=21']
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,93 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,93 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[12, 28], Operations: ['45-33=12', '33-5=28']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,93 unequal: No Solution
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,93 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[12, 38], Operations: ['45-33=12', '5+33=38']
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,93 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,93 unequal: No Solution
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 93:[5, 33, 12], Operations: ['45-33=12']
Exploring Operation: 33-5=28, Resulting Numbers: [12, 28]
Generated Node #0,1,0: 93:[12, 28] Operation: 33-5=28
Exploring Operation: 5+33=38, Resulting Numbers: [12, 38]
Generated Node #0,1,1: 93:[12, 38] Operation: 5+33=38
Exploring Operation: 12-5=7, Resulting Numbers: [33, 7]
Generated Node #0,1,2: 93:[33, 7] Operation: 12-5=7
Exploring Operation: 33-12=21, Resulting Numbers: [5, 21]
Generated Node #0,1,3: 93:[5, 21] Operation: 33-12=21
Moving to Node #0,3
Current State: 93:[33, 33, 40], Operations: ['45-5=40']
Exploring Operation: 40-33=7, Resulting Numbers: [33, 7]
Generated Node #0,3,0: 93:[33, 7] Operation: 40-33=7
Exploring Operation: 40-33=7, Resulting Numbers: [33, 7]
Generated Node #0,3,1: 93:[33, 7] Operation: 40-33=7
Exploring Operation: 33-33=0, Resulting Numbers: [40, 0]
Generated Node #0,3,2: 93:[40, 0] Operation: 33-33=0
Exploring Operation: 33/33=1, Resulting Numbers: [40, 1]
Generated Node #0,3,3: 93:[40, 1] Operation: 33/33=1
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 93:[33, 7], Operations: ['45-5=40', '40-33=7']
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,93 unequal: No Solution
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 93:[33, 7], Operations: ['45-5=40', '40-33=7']
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,93 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 93:[40, 1], Operations: ['45-5=40', '33/33=1']
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 93:[40, 0], Operations: ['45-5=40', '33-33=0']
Exploring Operation: 40*0=0, Resulting Numbers: [0]
0,93 unequal: No Solution
Exploring Operation: 40+0=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 40-0=40, Resulting Numbers: [40]
40,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 93:[33, 7], Operations: ['45-33=12', '12-5=7']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,93 unequal: No Solution
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,93 unequal: No Solution
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Moving to Node #0,1,3
Current State: 93:[5, 21], Operations: ['45-33=12', '33-12=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,93 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,93 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[12, 28], Operations: ['45-33=12', '33-5=28']
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,93 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[12, 38], Operations: ['45-33=12', '5+33=38']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,93 unequal: No Solution
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,93 unequal: No Solution
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,93 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
6,
35,
12,
49
] | 66 | [
"35-6=29",
"49-12=37",
"29+37=66"
] | Current State: 66:[6, 35, 12, 49], Operations: []
Exploring Operation: 35-6=29, Resulting Numbers: [12, 49, 29]
Generated Node #2: [12, 49, 29] from Operation: 35-6=29
Current State: 66:[12, 49, 29], Operations: ['35-6=29']
Exploring Operation: 49-12=37, Resulting Numbers: [29, 37]
Generated Node #3: [29, 37] from Operation: 49-12=37
Current State: 66:[29, 37], Operations: ['35-6=29', '49-12=37']
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[6, 35, 12, 49], Operations: []
Exploring Operation: 49-6=43, Resulting Numbers: [35, 12, 43]
Generated Node #0,0: 66:[35, 12, 43] Operation: 49-6=43
Exploring Operation: 12+49=61, Resulting Numbers: [6, 35, 61]
Generated Node #0,1: 66:[6, 35, 61] Operation: 12+49=61
Exploring Operation: 49-12=37, Resulting Numbers: [6, 35, 37]
Generated Node #0,2: 66:[6, 35, 37] Operation: 49-12=37
Exploring Operation: 6+49=55, Resulting Numbers: [35, 12, 55]
Generated Node #0,3: 66:[35, 12, 55] Operation: 6+49=55
Exploring Operation: 49-35=14, Resulting Numbers: [6, 12, 14]
Generated Node #0,4: 66:[6, 12, 14] Operation: 49-35=14
Start Sub Search at level 1: Moving to Node #0,4
Current State: 66:[6, 12, 14], Operations: ['49-35=14']
Exploring Operation: 12/6=2, Resulting Numbers: [14, 2]
Generated Node #0,4,0: 66:[14, 2] Operation: 12/6=2
Exploring Operation: 12-6=6, Resulting Numbers: [14, 6]
Generated Node #0,4,1: 66:[14, 6] Operation: 12-6=6
Exploring Operation: 6+14=20, Resulting Numbers: [12, 20]
Generated Node #0,4,2: 66:[12, 20] Operation: 6+14=20
Exploring Operation: 14-12=2, Resulting Numbers: [6, 2]
Generated Node #0,4,3: 66:[6, 2] Operation: 14-12=2
Exploring Operation: 14-6=8, Resulting Numbers: [12, 8]
Generated Node #0,4,4: 66:[12, 8] Operation: 14-6=8
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 66:[6, 2], Operations: ['49-35=14', '14-12=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 66:[14, 2], Operations: ['49-35=14', '12/6=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 66:[14, 6], Operations: ['49-35=14', '12-6=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,66 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 66:[12, 20], Operations: ['49-35=14', '6+14=20']
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 12*20=240, Resulting Numbers: [240]
240,66 unequal: No Solution
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 66:[12, 8], Operations: ['49-35=14', '14-6=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,66 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[6, 35, 37], Operations: ['49-12=37']
Exploring Operation: 35+37=72, Resulting Numbers: [6, 72]
Generated Node #0,2,0: 66:[6, 72] Operation: 35+37=72
Exploring Operation: 6+35=41, Resulting Numbers: [37, 41]
Generated Node #0,2,1: 66:[37, 41] Operation: 6+35=41
Exploring Operation: 37-6=31, Resulting Numbers: [35, 31]
Generated Node #0,2,2: 66:[35, 31] Operation: 37-6=31
Exploring Operation: 37-35=2, Resulting Numbers: [6, 2]
Generated Node #0,2,3: 66:[6, 2] Operation: 37-35=2
Exploring Operation: 35-6=29, Resulting Numbers: [37, 29]
Generated Node #0,2,4: 66:[37, 29] Operation: 35-6=29
Moving to Node #0,2,3
Current State: 66:[6, 2], Operations: ['49-12=37', '37-35=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[35, 31], Operations: ['49-12=37', '37-6=31']
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,66 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[6, 35, 12, 49], Operations: []
Exploring Operation: 49-12=37, Resulting Numbers: [6, 35, 37]
Generated Node #0,2: 66:[6, 35, 37] Operation: 49-12=37
Moving to Node #0,2
Current State: 66:[6, 35, 37], Operations: ['49-12=37']
Exploring Operation: 37-6=31, Resulting Numbers: [35, 31]
Generated Node #0,2,2: 66:[35, 31] Operation: 37-6=31
Moving to Node #0,2,2
Current State: 66:[35, 31], Operations: ['49-12=37', '37-6=31']
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | mult_heuristic |
[
2,
6,
72,
55
] | 65 | [
"55-2=53",
"72/6=12",
"53+12=65"
] | Current State: 65:[2, 6, 72, 55], Operations: []
Exploring Operation: 55-2=53, Resulting Numbers: [6, 72, 53]
Generated Node #2: [6, 72, 53] from Operation: 55-2=53
Current State: 65:[6, 72, 53], Operations: ['55-2=53']
Exploring Operation: 72/6=12, Resulting Numbers: [53, 12]
Generated Node #3: [53, 12] from Operation: 72/6=12
Current State: 65:[53, 12], Operations: ['55-2=53', '72/6=12']
Exploring Operation: 53+12=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[2, 6, 72, 55], Operations: []
Exploring Operation: 6+55=61, Resulting Numbers: [2, 72, 61]
Generated Node #0,0: 65:[2, 72, 61] Operation: 6+55=61
Exploring Operation: 72-2=70, Resulting Numbers: [6, 55, 70]
Generated Node #0,1: 65:[6, 55, 70] Operation: 72-2=70
Exploring Operation: 72-6=66, Resulting Numbers: [2, 55, 66]
Generated Node #0,2: 65:[2, 55, 66] Operation: 72-6=66
Exploring Operation: 72-55=17, Resulting Numbers: [2, 6, 17]
Generated Node #0,3: 65:[2, 6, 17] Operation: 72-55=17
Exploring Operation: 72/6=12, Resulting Numbers: [2, 55, 12]
Generated Node #0,4: 65:[2, 55, 12] Operation: 72/6=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[2, 6, 17], Operations: ['72-55=17']
Exploring Operation: 6-2=4, Resulting Numbers: [17, 4]
Generated Node #0,3,0: 65:[17, 4] Operation: 6-2=4
Exploring Operation: 6/2=3, Resulting Numbers: [17, 3]
Generated Node #0,3,1: 65:[17, 3] Operation: 6/2=3
Exploring Operation: 2*6=12, Resulting Numbers: [17, 12]
Generated Node #0,3,2: 65:[17, 12] Operation: 2*6=12
Exploring Operation: 17-6=11, Resulting Numbers: [2, 11]
Generated Node #0,3,3: 65:[2, 11] Operation: 17-6=11
Exploring Operation: 17-2=15, Resulting Numbers: [6, 15]
Generated Node #0,3,4: 65:[6, 15] Operation: 17-2=15
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 65:[6, 15], Operations: ['72-55=17', '17-2=15']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,65 unequal: No Solution
No 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: 65:[17, 4], Operations: ['72-55=17', '6-2=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,65 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,65 unequal: No Solution
No 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: 65:[17, 12], Operations: ['72-55=17', '2*6=12']
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,65 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,65 unequal: No Solution
No 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: 65:[2, 11], Operations: ['72-55=17', '17-6=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 65:[17, 3], Operations: ['72-55=17', '6/2=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,65 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,65 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: 65:[2, 72, 61], Operations: ['6+55=61']
Exploring Operation: 72-61=11, Resulting Numbers: [2, 11]
Generated Node #0,0,0: 65:[2, 11] Operation: 72-61=11
Exploring Operation: 61-2=59, Resulting Numbers: [72, 59]
Generated Node #0,0,1: 65:[72, 59] Operation: 61-2=59
Exploring Operation: 72-2=70, Resulting Numbers: [61, 70]
Generated Node #0,0,2: 65:[61, 70] Operation: 72-2=70
Exploring Operation: 2+72=74, Resulting Numbers: [61, 74]
Generated Node #0,0,3: 65:[61, 74] Operation: 2+72=74
Exploring Operation: 2+61=63, Resulting Numbers: [72, 63]
Generated Node #0,0,4: 65:[72, 63] Operation: 2+61=63
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[2, 11], Operations: ['6+55=61', '72-61=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,65 unequal: No Solution
No 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: 65:[61, 70], Operations: ['6+55=61', '72-2=70']
Exploring Operation: 70-61=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 61*70=4270, Resulting Numbers: [4270]
4270,65 unequal: No Solution
Exploring Operation: 61+70=131, Resulting Numbers: [131]
131,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 65:[72, 63], Operations: ['6+55=61', '2+61=63']
Exploring Operation: 72*63=4536, Resulting Numbers: [4536]
4536,65 unequal: No Solution
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 72+63=135, Resulting Numbers: [135]
135,65 unequal: No Solution
No 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: 65:[72, 59], Operations: ['6+55=61', '61-2=59']
Exploring Operation: 72+59=131, Resulting Numbers: [131]
131,65 unequal: No Solution
Exploring Operation: 72*59=4248, Resulting Numbers: [4248]
4248,65 unequal: No Solution
Exploring Operation: 72-59=13, Resulting Numbers: [13]
13,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 65:[61, 74], Operations: ['6+55=61', '2+72=74']
Exploring Operation: 61*74=4514, Resulting Numbers: [4514]
4514,65 unequal: No Solution
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 61+74=135, Resulting Numbers: [135]
135,65 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: 65:[2, 55, 66], Operations: ['72-6=66']
Exploring Operation: 55-2=53, Resulting Numbers: [66, 53]
Generated Node #0,2,0: 65:[66, 53] Operation: 55-2=53
Exploring Operation: 2+66=68, Resulting Numbers: [55, 68]
Generated Node #0,2,1: 65:[55, 68] Operation: 2+66=68
Exploring Operation: 66-55=11, Resulting Numbers: [2, 11]
Generated Node #0,2,2: 65:[2, 11] Operation: 66-55=11
Exploring Operation: 2+55=57, Resulting Numbers: [66, 57]
Generated Node #0,2,3: 65:[66, 57] Operation: 2+55=57
Exploring Operation: 66-2=64, Resulting Numbers: [55, 64]
Generated Node #0,2,4: 65:[55, 64] Operation: 66-2=64
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 65:[2, 11], Operations: ['72-6=66', '66-55=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,65 unequal: No Solution
No 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: 65:[66, 57], Operations: ['72-6=66', '2+55=57']
Exploring Operation: 66+57=123, Resulting Numbers: [123]
123,65 unequal: No Solution
Exploring Operation: 66-57=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 66*57=3762, Resulting Numbers: [3762]
3762,65 unequal: No Solution
No 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: 65:[55, 64], Operations: ['72-6=66', '66-2=64']
Exploring Operation: 55+64=119, Resulting Numbers: [119]
119,65 unequal: No Solution
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 55*64=3520, Resulting Numbers: [3520]
3520,65 unequal: No Solution
No 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: 65:[66, 53], Operations: ['72-6=66', '55-2=53']
Exploring Operation: 66-53=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 66+53=119, Resulting Numbers: [119]
119,65 unequal: No Solution
Exploring Operation: 66*53=3498, Resulting Numbers: [3498]
3498,65 unequal: No Solution
No 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: 65:[55, 68], Operations: ['72-6=66', '2+66=68']
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 55*68=3740, Resulting Numbers: [3740]
3740,65 unequal: No Solution
Exploring Operation: 55+68=123, Resulting Numbers: [123]
123,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 65:[2, 55, 12], Operations: ['72/6=12']
Exploring Operation: 55+12=67, Resulting Numbers: [2, 67]
Generated Node #0,4,0: 65:[2, 67] Operation: 55+12=67
Exploring Operation: 12/2=6, Resulting Numbers: [55, 6]
Generated Node #0,4,1: 65:[55, 6] Operation: 12/2=6
Exploring Operation: 55-2=53, Resulting Numbers: [12, 53]
Generated Node #0,4,2: 65:[12, 53] Operation: 55-2=53
Exploring Operation: 2+12=14, Resulting Numbers: [55, 14]
Generated Node #0,4,3: 65:[55, 14] Operation: 2+12=14
Exploring Operation: 2+55=57, Resulting Numbers: [12, 57]
Generated Node #0,4,4: 65:[12, 57] Operation: 2+55=57
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 65:[2, 67], Operations: ['72/6=12', '55+12=67']
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,65 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[2, 6, 72, 55], Operations: []
Exploring Operation: 72/6=12, Resulting Numbers: [2, 55, 12]
Generated Node #0,4: 65:[2, 55, 12] Operation: 72/6=12
Moving to Node #0,4
Current State: 65:[2, 55, 12], Operations: ['72/6=12']
Exploring Operation: 55+12=67, Resulting Numbers: [2, 67]
Generated Node #0,4,0: 65:[2, 67] Operation: 55+12=67
Moving to Node #0,4,0
Current State: 65:[2, 67], Operations: ['72/6=12', '55+12=67']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.934028 | hs_5 | mult_heuristic |
[
32,
84,
36,
11
] | 32 | [
"36-32=4",
"84/4=21",
"11+21=32"
] | Current State: 32:[32, 84, 36, 11], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [84, 11, 4]
Generated Node #2: [84, 11, 4] from Operation: 36-32=4
Current State: 32:[84, 11, 4], Operations: ['36-32=4']
Exploring Operation: 84/4=21, Resulting Numbers: [11, 21]
Generated Node #3: [11, 21] from Operation: 84/4=21
Current State: 32:[11, 21], Operations: ['36-32=4', '84/4=21']
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[32, 84, 36, 11], Operations: []
Exploring Operation: 84-32=52, Resulting Numbers: [36, 11, 52]
Generated Node #0,0: 32:[36, 11, 52] Operation: 84-32=52
Exploring Operation: 84-36=48, Resulting Numbers: [32, 11, 48]
Generated Node #0,1: 32:[32, 11, 48] Operation: 84-36=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[32, 11, 48], Operations: ['84-36=48']
Exploring Operation: 48-11=37, Resulting Numbers: [32, 37]
Generated Node #0,1,0: 32:[32, 37] Operation: 48-11=37
Exploring Operation: 48-32=16, Resulting Numbers: [11, 16]
Generated Node #0,1,1: 32:[11, 16] Operation: 48-32=16
Moving to Node #0,1,1
Current State: 32:[11, 16], Operations: ['84-36=48', '48-32=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,32 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[32, 37], Operations: ['84-36=48', '48-11=37']
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 32+37=69, Resulting Numbers: [69]
69,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,0
Current State: 32:[36, 11, 52], Operations: ['84-32=52']
Exploring Operation: 52-36=16, Resulting Numbers: [11, 16]
Generated Node #0,0,0: 32:[11, 16] Operation: 52-36=16
Exploring Operation: 52-11=41, Resulting Numbers: [36, 41]
Generated Node #0,0,1: 32:[36, 41] Operation: 52-11=41
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[11, 16], Operations: ['84-32=52', '52-36=16']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,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,0,1
Current State: 32:[36, 41], Operations: ['84-32=52', '52-11=41']
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 36+41=77, Resulting Numbers: [77]
77,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_2 | sum_heuristic |
[
91,
16,
4,
2
] | 54 | [
"16*4=64",
"91-64=27",
"2*27=54"
] | Current State: 54:[91, 16, 4, 2], Operations: []
Exploring Operation: 16*4=64, Resulting Numbers: [91, 2, 64]
Generated Node #2: [91, 2, 64] from Operation: 16*4=64
Current State: 54:[91, 2, 64], Operations: ['16*4=64']
Exploring Operation: 91-64=27, Resulting Numbers: [2, 27]
Generated Node #3: [2, 27] from Operation: 91-64=27
Current State: 54:[2, 27], Operations: ['16*4=64', '91-64=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[91, 16, 4, 2], Operations: []
Exploring Operation: 91-16=75, Resulting Numbers: [4, 2, 75]
Generated Node #0,0: 54:[4, 2, 75] Operation: 91-16=75
Exploring Operation: 91-4=87, Resulting Numbers: [16, 2, 87]
Generated Node #0,1: 54:[16, 2, 87] Operation: 91-4=87
Exploring Operation: 91-2=89, Resulting Numbers: [16, 4, 89]
Generated Node #0,2: 54:[16, 4, 89] Operation: 91-2=89
Moving to Node #0,0
Current State: 54:[4, 2, 75], Operations: ['91-16=75']
Exploring Operation: 75-2=73, Resulting Numbers: [4, 73]
Generated Node #0,0,0: 54:[4, 73] Operation: 75-2=73
Exploring Operation: 75-4=71, Resulting Numbers: [2, 71]
Generated Node #0,0,1: 54:[2, 71] Operation: 75-4=71
Exploring Operation: 4+2=6, Resulting Numbers: [75, 6]
Generated Node #0,0,2: 54:[75, 6] Operation: 4+2=6
Moving to Node #0,1
Current State: 54:[16, 2, 87], Operations: ['91-4=87']
Exploring Operation: 87-2=85, Resulting Numbers: [16, 85]
Generated Node #0,1,0: 54:[16, 85] Operation: 87-2=85
Exploring Operation: 87-16=71, Resulting Numbers: [2, 71]
Generated Node #0,1,1: 54:[2, 71] Operation: 87-16=71
Exploring Operation: 16+2=18, Resulting Numbers: [87, 18]
Generated Node #0,1,2: 54:[87, 18] Operation: 16+2=18
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[2, 71], Operations: ['91-4=87', '87-16=71']
Exploring Operation: 2*71=142, Resulting Numbers: [142]
142,54 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,54 unequal: No Solution
Exploring Operation: 2+71=73, Resulting Numbers: [73]
73,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[16, 85], Operations: ['91-4=87', '87-2=85']
Exploring Operation: 85-16=69, Resulting Numbers: [69]
69,54 unequal: No Solution
Exploring Operation: 16*85=1360, Resulting Numbers: [1360]
1360,54 unequal: No Solution
Exploring Operation: 16+85=101, Resulting Numbers: [101]
101,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 54:[87, 18], Operations: ['91-4=87', '16+2=18']
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,54 unequal: No Solution
Exploring Operation: 87*18=1566, Resulting Numbers: [1566]
1566,54 unequal: No Solution
Exploring Operation: 87+18=105, Resulting Numbers: [105]
105,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 54:[16, 4, 89], Operations: ['91-2=89']
Exploring Operation: 89-16=73, Resulting Numbers: [4, 73]
Generated Node #0,2,0: 54:[4, 73] Operation: 89-16=73
Exploring Operation: 16/4=4, Resulting Numbers: [89, 4]
Generated Node #0,2,1: 54:[89, 4] Operation: 16/4=4
Exploring Operation: 89-4=85, Resulting Numbers: [16, 85]
Generated Node #0,2,2: 54:[16, 85] Operation: 89-4=85
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[4, 73], Operations: ['91-2=89', '89-16=73']
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,54 unequal: No Solution
Exploring Operation: 4*73=292, Resulting Numbers: [292]
292,54 unequal: No Solution
Exploring Operation: 4+73=77, Resulting Numbers: [77]
77,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[16, 85], Operations: ['91-2=89', '89-4=85']
Exploring Operation: 85-16=69, Resulting Numbers: [69]
69,54 unequal: No Solution
Exploring Operation: 16*85=1360, Resulting Numbers: [1360]
1360,54 unequal: No Solution
Exploring Operation: 16+85=101, Resulting Numbers: [101]
101,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 54:[89, 4], Operations: ['91-2=89', '16/4=4']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,54 unequal: No Solution
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,54 unequal: No Solution
Exploring Operation: 89*4=356, Resulting Numbers: [356]
356,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 54:[2, 71], Operations: ['91-16=75', '75-4=71']
Exploring Operation: 2*71=142, Resulting Numbers: [142]
142,54 unequal: No Solution
Exploring Operation: 2+71=73, Resulting Numbers: [73]
73,54 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[4, 73], Operations: ['91-16=75', '75-2=73']
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,54 unequal: No Solution
Exploring Operation: 4*73=292, Resulting Numbers: [292]
292,54 unequal: No Solution
Exploring Operation: 4+73=77, Resulting Numbers: [77]
77,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[75, 6], Operations: ['91-16=75', '4+2=6']
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,54 unequal: No Solution
Exploring Operation: 75*6=450, Resulting Numbers: [450]
450,54 unequal: No Solution
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,54 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
31,
63,
18,
64
] | 36 | [
"63-31=32",
"18*64=1152",
"1152/32=36"
] | Current State: 36:[31, 63, 18, 64], Operations: []
Exploring Operation: 63-31=32, Resulting Numbers: [18, 64, 32]
Generated Node #2: [18, 64, 32] from Operation: 63-31=32
Current State: 36:[18, 64, 32], Operations: ['63-31=32']
Exploring Operation: 18*64=1152, Resulting Numbers: [32, 1152]
Generated Node #3: [32, 1152] from Operation: 18*64=1152
Current State: 36:[32, 1152], Operations: ['63-31=32', '18*64=1152']
Exploring Operation: 1152/32=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[31, 63, 18, 64], Operations: []
Exploring Operation: 64-63=1, Resulting Numbers: [31, 18, 1]
Generated Node #0,0: 36:[31, 18, 1] Operation: 64-63=1
Exploring Operation: 63-31=32, Resulting Numbers: [18, 64, 32]
Generated Node #0,1: 36:[18, 64, 32] Operation: 63-31=32
Exploring Operation: 64-31=33, Resulting Numbers: [63, 18, 33]
Generated Node #0,2: 36:[63, 18, 33] Operation: 64-31=33
Moving to Node #0,0
Current State: 36:[31, 18, 1], Operations: ['64-63=1']
Exploring Operation: 31*1=31, Resulting Numbers: [18, 31]
Generated Node #0,0,0: 36:[18, 31] Operation: 31*1=31
Exploring Operation: 31-18=13, Resulting Numbers: [1, 13]
Generated Node #0,0,1: 36:[1, 13] Operation: 31-18=13
Exploring Operation: 31+1=32, Resulting Numbers: [18, 32]
Generated Node #0,0,2: 36:[18, 32] Operation: 31+1=32
Moving to Node #0,2
Current State: 36:[63, 18, 33], Operations: ['64-31=33']
Exploring Operation: 63-33=30, Resulting Numbers: [18, 30]
Generated Node #0,2,0: 36:[18, 30] Operation: 63-33=30
Exploring Operation: 33-18=15, Resulting Numbers: [63, 15]
Generated Node #0,2,1: 36:[63, 15] Operation: 33-18=15
Exploring Operation: 63-18=45, Resulting Numbers: [33, 45]
Generated Node #0,2,2: 36:[33, 45] Operation: 63-18=45
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 36:[18, 30], Operations: ['64-31=33', '63-33=30']
Exploring Operation: 18*30=540, Resulting Numbers: [540]
540,36 unequal: No Solution
Exploring Operation: 18+30=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 36:[33, 45], Operations: ['64-31=33', '63-18=45']
Exploring Operation: 33*45=1485, Resulting Numbers: [1485]
1485,36 unequal: No Solution
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 33+45=78, Resulting Numbers: [78]
78,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 36:[63, 15], Operations: ['64-31=33', '33-18=15']
Exploring Operation: 63*15=945, Resulting Numbers: [945]
945,36 unequal: No Solution
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 63+15=78, Resulting Numbers: [78]
78,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 36:[18, 64, 32], Operations: ['63-31=32']
Exploring Operation: 64-18=46, Resulting Numbers: [32, 46]
Generated Node #0,1,0: 36:[32, 46] Operation: 64-18=46
Exploring Operation: 64/32=2, Resulting Numbers: [18, 2]
Generated Node #0,1,1: 36:[18, 2] Operation: 64/32=2
Exploring Operation: 64-32=32, Resulting Numbers: [18, 32]
Generated Node #0,1,2: 36:[18, 32] Operation: 64-32=32
Moving to Node #0,1,1
Current State: 36:[18, 2], Operations: ['63-31=32', '64/32=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[31, 63, 18, 64], Operations: []
Exploring Operation: 63-31=32, Resulting Numbers: [18, 64, 32]
Generated Node #0,1: 36:[18, 64, 32] Operation: 63-31=32
Moving to Node #0,1
Current State: 36:[18, 64, 32], Operations: ['63-31=32']
Exploring Operation: 64/32=2, Resulting Numbers: [18, 2]
Generated Node #0,1,1: 36:[18, 2] Operation: 64/32=2
Moving to Node #0,1,1
Current State: 36:[18, 2], Operations: ['63-31=32', '64/32=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
27,
16,
77,
60
] | 94 | [
"27+16=43",
"77+60=137",
"137-43=94"
] | Current State: 94:[27, 16, 77, 60], Operations: []
Exploring Operation: 27+16=43, Resulting Numbers: [77, 60, 43]
Generated Node #2: [77, 60, 43] from Operation: 27+16=43
Current State: 94:[77, 60, 43], Operations: ['27+16=43']
Exploring Operation: 77+60=137, Resulting Numbers: [43, 137]
Generated Node #3: [43, 137] from Operation: 77+60=137
Current State: 94:[43, 137], Operations: ['27+16=43', '77+60=137']
Exploring Operation: 137-43=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[27, 16, 77, 60], Operations: []
Exploring Operation: 77-27=50, Resulting Numbers: [16, 60, 50]
Generated Node #0,0: 94:[16, 60, 50] Operation: 77-27=50
Moving to Node #0,0
Current State: 94:[16, 60, 50], Operations: ['77-27=50']
Exploring Operation: 60-16=44, Resulting Numbers: [50, 44]
Generated Node #0,0,0: 94:[50, 44] Operation: 60-16=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[50, 44], Operations: ['77-27=50', '60-16=44']
Exploring Operation: 50+44=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[27, 16, 77, 60], Operations: []
Exploring Operation: 77-27=50, Resulting Numbers: [16, 60, 50]
Generated Node #0,0: 94:[16, 60, 50] Operation: 77-27=50
Moving to Node #0,0
Current State: 94:[16, 60, 50], Operations: ['77-27=50']
Exploring Operation: 60-16=44, Resulting Numbers: [50, 44]
Generated Node #0,0,0: 94:[50, 44] Operation: 60-16=44
Moving to Node #0,0,0
Current State: 94:[50, 44], Operations: ['77-27=50', '60-16=44']
Exploring Operation: 50+44=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
13,
93,
54,
35
] | 38 | [
"93-54=39",
"39/13=3",
"35+3=38"
] | Current State: 38:[13, 93, 54, 35], Operations: []
Exploring Operation: 93-54=39, Resulting Numbers: [13, 35, 39]
Generated Node #2: [13, 35, 39] from Operation: 93-54=39
Current State: 38:[13, 35, 39], Operations: ['93-54=39']
Exploring Operation: 39/13=3, Resulting Numbers: [35, 3]
Generated Node #3: [35, 3] from Operation: 39/13=3
Current State: 38:[35, 3], Operations: ['93-54=39', '39/13=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[13, 93, 54, 35], Operations: []
Exploring Operation: 93-35=58, Resulting Numbers: [13, 54, 58]
Generated Node #0,0: 38:[13, 54, 58] Operation: 93-35=58
Exploring Operation: 93-54=39, Resulting Numbers: [13, 35, 39]
Generated Node #0,1: 38:[13, 35, 39] Operation: 93-54=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[13, 35, 39], Operations: ['93-54=39']
Exploring Operation: 35-13=22, Resulting Numbers: [39, 22]
Generated Node #0,1,0: 38:[39, 22] Operation: 35-13=22
Exploring Operation: 39/13=3, Resulting Numbers: [35, 3]
Generated Node #0,1,1: 38:[35, 3] Operation: 39/13=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 38:[39, 22], Operations: ['93-54=39', '35-13=22']
Exploring Operation: 39+22=61, Resulting Numbers: [61]
61,38 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,38 unequal: No Solution
No 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: 38:[35, 3], Operations: ['93-54=39', '39/13=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[13, 93, 54, 35], Operations: []
Exploring Operation: 93-54=39, Resulting Numbers: [13, 35, 39]
Generated Node #0,1: 38:[13, 35, 39] Operation: 93-54=39
Moving to Node #0,1
Current State: 38:[13, 35, 39], Operations: ['93-54=39']
Exploring Operation: 39/13=3, Resulting Numbers: [35, 3]
Generated Node #0,1,1: 38:[35, 3] Operation: 39/13=3
Moving to Node #0,1,1
Current State: 38:[35, 3], Operations: ['93-54=39', '39/13=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
66,
38,
67,
85
] | 10 | [
"66-38=28",
"85-67=18",
"28-18=10"
] | Current State: 10:[66, 38, 67, 85], Operations: []
Exploring Operation: 66-38=28, Resulting Numbers: [67, 85, 28]
Generated Node #2: [67, 85, 28] from Operation: 66-38=28
Current State: 10:[67, 85, 28], Operations: ['66-38=28']
Exploring Operation: 85-67=18, Resulting Numbers: [28, 18]
Generated Node #3: [28, 18] from Operation: 85-67=18
Current State: 10:[28, 18], Operations: ['66-38=28', '85-67=18']
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[66, 38, 67, 85], Operations: []
Exploring Operation: 67-66=1, Resulting Numbers: [38, 85, 1]
Generated Node #0,0: 10:[38, 85, 1] Operation: 67-66=1
Exploring Operation: 66-38=28, Resulting Numbers: [67, 85, 28]
Generated Node #0,1: 10:[67, 85, 28] Operation: 66-38=28
Exploring Operation: 85-66=19, Resulting Numbers: [38, 67, 19]
Generated Node #0,2: 10:[38, 67, 19] Operation: 85-66=19
Exploring Operation: 67-38=29, Resulting Numbers: [66, 85, 29]
Generated Node #0,3: 10:[66, 85, 29] Operation: 67-38=29
Exploring Operation: 85-67=18, Resulting Numbers: [66, 38, 18]
Generated Node #0,4: 10:[66, 38, 18] Operation: 85-67=18
Start Sub Search at level 1: Moving to Node #0,4
Current State: 10:[66, 38, 18], Operations: ['85-67=18']
Exploring Operation: 38-18=20, Resulting Numbers: [66, 20]
Generated Node #0,4,0: 10:[66, 20] Operation: 38-18=20
Exploring Operation: 66-18=48, Resulting Numbers: [38, 48]
Generated Node #0,4,1: 10:[38, 48] Operation: 66-18=48
Exploring Operation: 66-38=28, Resulting Numbers: [18, 28]
Generated Node #0,4,2: 10:[18, 28] Operation: 66-38=28
Exploring Operation: 66+18=84, Resulting Numbers: [38, 84]
Generated Node #0,4,3: 10:[38, 84] Operation: 66+18=84
Exploring Operation: 66+38=104, Resulting Numbers: [18, 104]
Generated Node #0,4,4: 10:[18, 104] Operation: 66+38=104
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 10:[18, 28], Operations: ['85-67=18', '66-38=28']
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[66, 38, 67, 85], Operations: []
Exploring Operation: 85-67=18, Resulting Numbers: [66, 38, 18]
Generated Node #0,4: 10:[66, 38, 18] Operation: 85-67=18
Moving to Node #0,4
Current State: 10:[66, 38, 18], Operations: ['85-67=18']
Exploring Operation: 66-38=28, Resulting Numbers: [18, 28]
Generated Node #0,4,2: 10:[18, 28] Operation: 66-38=28
Moving to Node #0,4,2
Current State: 10:[18, 28], Operations: ['85-67=18', '66-38=28']
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
59,
54,
83,
4
] | 57 | [
"83-54=29",
"4*29=116",
"116-59=57"
] | Current State: 57:[59, 54, 83, 4], Operations: []
Exploring Operation: 83-54=29, Resulting Numbers: [59, 4, 29]
Generated Node #2: [59, 4, 29] from Operation: 83-54=29
Current State: 57:[59, 4, 29], Operations: ['83-54=29']
Exploring Operation: 4*29=116, Resulting Numbers: [59, 116]
Generated Node #3: [59, 116] from Operation: 4*29=116
Current State: 57:[59, 116], Operations: ['83-54=29', '4*29=116']
Exploring Operation: 116-59=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[59, 54, 83, 4], Operations: []
Exploring Operation: 83-4=79, Resulting Numbers: [59, 54, 79]
Generated Node #0,0: 57:[59, 54, 79] Operation: 83-4=79
Exploring Operation: 54+4=58, Resulting Numbers: [59, 83, 58]
Generated Node #0,1: 57:[59, 83, 58] Operation: 54+4=58
Exploring Operation: 83-54=29, Resulting Numbers: [59, 4, 29]
Generated Node #0,2: 57:[59, 4, 29] Operation: 83-54=29
Exploring Operation: 59-54=5, Resulting Numbers: [83, 4, 5]
Generated Node #0,3: 57:[83, 4, 5] Operation: 59-54=5
Exploring Operation: 83-59=24, Resulting Numbers: [54, 4, 24]
Generated Node #0,4: 57:[54, 4, 24] Operation: 83-59=24
Start Sub Search at level 1: Moving to Node #0,4
Current State: 57:[54, 4, 24], Operations: ['83-59=24']
Exploring Operation: 54-4=50, Resulting Numbers: [24, 50]
Generated Node #0,4,0: 57:[24, 50] Operation: 54-4=50
Exploring Operation: 24-4=20, Resulting Numbers: [54, 20]
Generated Node #0,4,1: 57:[54, 20] Operation: 24-4=20
Exploring Operation: 54+4=58, Resulting Numbers: [24, 58]
Generated Node #0,4,2: 57:[24, 58] Operation: 54+4=58
Exploring Operation: 54-24=30, Resulting Numbers: [4, 30]
Generated Node #0,4,3: 57:[4, 30] Operation: 54-24=30
Exploring Operation: 24/4=6, Resulting Numbers: [54, 6]
Generated Node #0,4,4: 57:[54, 6] Operation: 24/4=6
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 57:[54, 20], Operations: ['83-59=24', '24-4=20']
Exploring Operation: 54+20=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 54*20=1080, Resulting Numbers: [1080]
1080,57 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 57:[24, 58], Operations: ['83-59=24', '54+4=58']
Exploring Operation: 24+58=82, Resulting Numbers: [82]
82,57 unequal: No Solution
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 24*58=1392, Resulting Numbers: [1392]
1392,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 57:[54, 6], Operations: ['83-59=24', '24/4=6']
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,57 unequal: No Solution
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 54*6=324, Resulting Numbers: [324]
324,57 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 57:[24, 50], Operations: ['83-59=24', '54-4=50']
Exploring Operation: 24*50=1200, Resulting Numbers: [1200]
1200,57 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 24+50=74, Resulting Numbers: [74]
74,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 57:[4, 30], Operations: ['83-59=24', '54-24=30']
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,57 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[59, 4, 29], Operations: ['83-54=29']
Exploring Operation: 4+29=33, Resulting Numbers: [59, 33]
Generated Node #0,2,0: 57:[59, 33] Operation: 4+29=33
Exploring Operation: 59+4=63, Resulting Numbers: [29, 63]
Generated Node #0,2,1: 57:[29, 63] Operation: 59+4=63
Exploring Operation: 59-4=55, Resulting Numbers: [29, 55]
Generated Node #0,2,2: 57:[29, 55] Operation: 59-4=55
Exploring Operation: 59-29=30, Resulting Numbers: [4, 30]
Generated Node #0,2,3: 57:[4, 30] Operation: 59-29=30
Exploring Operation: 29-4=25, Resulting Numbers: [59, 25]
Generated Node #0,2,4: 57:[59, 25] Operation: 29-4=25
Moving to Node #0,2,4
Current State: 57:[59, 25], Operations: ['83-54=29', '29-4=25']
Exploring Operation: 59*25=1475, Resulting Numbers: [1475]
1475,57 unequal: No Solution
Exploring Operation: 59+25=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[4, 30], Operations: ['83-54=29', '59-29=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,57 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[29, 55], Operations: ['83-54=29', '59-4=55']
Exploring Operation: 29*55=1595, Resulting Numbers: [1595]
1595,57 unequal: No Solution
Exploring Operation: 29+55=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[59, 33], Operations: ['83-54=29', '4+29=33']
Exploring Operation: 59*33=1947, Resulting Numbers: [1947]
1947,57 unequal: No Solution
Exploring Operation: 59-33=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 59+33=92, Resulting Numbers: [92]
92,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[29, 63], Operations: ['83-54=29', '59+4=63']
Exploring Operation: 29*63=1827, Resulting Numbers: [1827]
1827,57 unequal: No Solution
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 29+63=92, Resulting Numbers: [92]
92,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[59, 54, 79], Operations: ['83-4=79']
Exploring Operation: 79-54=25, Resulting Numbers: [59, 25]
Generated Node #0,0,0: 57:[59, 25] Operation: 79-54=25
Exploring Operation: 54+79=133, Resulting Numbers: [59, 133]
Generated Node #0,0,1: 57:[59, 133] Operation: 54+79=133
Exploring Operation: 59-54=5, Resulting Numbers: [79, 5]
Generated Node #0,0,2: 57:[79, 5] Operation: 59-54=5
Exploring Operation: 59+54=113, Resulting Numbers: [79, 113]
Generated Node #0,0,3: 57:[79, 113] Operation: 59+54=113
Exploring Operation: 79-59=20, Resulting Numbers: [54, 20]
Generated Node #0,0,4: 57:[54, 20] Operation: 79-59=20
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 57:[54, 20], Operations: ['83-4=79', '79-59=20']
Exploring Operation: 54*20=1080, Resulting Numbers: [1080]
1080,57 unequal: No Solution
Exploring Operation: 54+20=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[59, 25], Operations: ['83-4=79', '79-54=25']
Exploring Operation: 59*25=1475, Resulting Numbers: [1475]
1475,57 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 59+25=84, Resulting Numbers: [84]
84,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 57:[79, 5], Operations: ['83-4=79', '59-54=5']
Exploring Operation: 79*5=395, Resulting Numbers: [395]
395,57 unequal: No Solution
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 79+5=84, Resulting Numbers: [84]
84,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[59, 133], Operations: ['83-4=79', '54+79=133']
Exploring Operation: 59*133=7847, Resulting Numbers: [7847]
7847,57 unequal: No Solution
Exploring Operation: 59+133=192, Resulting Numbers: [192]
192,57 unequal: No Solution
Exploring Operation: 133-59=74, Resulting Numbers: [74]
74,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 57:[79, 113], Operations: ['83-4=79', '59+54=113']
Exploring Operation: 113-79=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 79+113=192, Resulting Numbers: [192]
192,57 unequal: No Solution
Exploring Operation: 79*113=8927, Resulting Numbers: [8927]
8927,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[59, 83, 58], Operations: ['54+4=58']
Exploring Operation: 83-59=24, Resulting Numbers: [58, 24]
Generated Node #0,1,0: 57:[58, 24] Operation: 83-59=24
Exploring Operation: 59+83=142, Resulting Numbers: [58, 142]
Generated Node #0,1,1: 57:[58, 142] Operation: 59+83=142
Exploring Operation: 83-58=25, Resulting Numbers: [59, 25]
Generated Node #0,1,2: 57:[59, 25] Operation: 83-58=25
Exploring Operation: 59-58=1, Resulting Numbers: [83, 1]
Generated Node #0,1,3: 57:[83, 1] Operation: 59-58=1
Exploring Operation: 59+58=117, Resulting Numbers: [83, 117]
Generated Node #0,1,4: 57:[83, 117] Operation: 59+58=117
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[58, 24], Operations: ['54+4=58', '83-59=24']
Exploring Operation: 58*24=1392, Resulting Numbers: [1392]
1392,57 unequal: No Solution
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 58+24=82, Resulting Numbers: [82]
82,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[59, 25], Operations: ['54+4=58', '83-58=25']
Exploring Operation: 59+25=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 59*25=1475, Resulting Numbers: [1475]
1475,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 57:[83, 1], Operations: ['54+4=58', '59-58=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,57 unequal: No Solution
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[58, 142], Operations: ['54+4=58', '59+83=142']
Exploring Operation: 142-58=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 58+142=200, Resulting Numbers: [200]
200,57 unequal: No Solution
Exploring Operation: 58*142=8236, Resulting Numbers: [8236]
8236,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 57:[83, 117], Operations: ['54+4=58', '59+58=117']
Exploring Operation: 83+117=200, Resulting Numbers: [200]
200,57 unequal: No Solution
Exploring Operation: 83*117=9711, Resulting Numbers: [9711]
9711,57 unequal: No Solution
Exploring Operation: 117-83=34, Resulting Numbers: [34]
34,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[83, 4, 5], Operations: ['59-54=5']
Exploring Operation: 83-4=79, Resulting Numbers: [5, 79]
Generated Node #0,3,0: 57:[5, 79] Operation: 83-4=79
Exploring Operation: 4*5=20, Resulting Numbers: [83, 20]
Generated Node #0,3,1: 57:[83, 20] Operation: 4*5=20
Exploring Operation: 5-4=1, Resulting Numbers: [83, 1]
Generated Node #0,3,2: 57:[83, 1] Operation: 5-4=1
Exploring Operation: 83+4=87, Resulting Numbers: [5, 87]
Generated Node #0,3,3: 57:[5, 87] Operation: 83+4=87
Exploring Operation: 83-5=78, Resulting Numbers: [4, 78]
Generated Node #0,3,4: 57:[4, 78] Operation: 83-5=78
Moving to Node #0,3,4
Current State: 57:[4, 78], Operations: ['59-54=5', '83-5=78']
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 4*78=312, Resulting Numbers: [312]
312,57 unequal: No Solution
Exploring Operation: 4+78=82, Resulting Numbers: [82]
82,57 unequal: No Solution
Moving to Node #0,3,0
Current State: 57:[5, 79], Operations: ['59-54=5', '83-4=79']
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 5+79=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 5*79=395, Resulting Numbers: [395]
395,57 unequal: No Solution
Moving to Node #0,3,1
Current State: 57:[83, 20], Operations: ['59-54=5', '4*5=20']
Exploring Operation: 83+20=103, Resulting Numbers: [103]
103,57 unequal: No Solution
Exploring Operation: 83-20=63, Resulting Numbers: [63]
63,57 unequal: No Solution
Exploring Operation: 83*20=1660, Resulting Numbers: [1660]
1660,57 unequal: No Solution
Moving to Node #0,3,2
Current State: 57:[83, 1], Operations: ['59-54=5', '5-4=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,57 unequal: No Solution
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Moving to Node #0,3,3
Current State: 57:[5, 87], Operations: ['59-54=5', '83+4=87']
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,57 unequal: No Solution
Exploring Operation: 5*87=435, Resulting Numbers: [435]
435,57 unequal: No Solution
Exploring Operation: 5+87=92, Resulting Numbers: [92]
92,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
71,
65,
46,
8
] | 23 | [
"71-65=6",
"8-6=2",
"46/2=23"
] | Current State: 23:[71, 65, 46, 8], Operations: []
Exploring Operation: 71-65=6, Resulting Numbers: [46, 8, 6]
Generated Node #2: [46, 8, 6] from Operation: 71-65=6
Current State: 23:[46, 8, 6], Operations: ['71-65=6']
Exploring Operation: 8-6=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 8-6=2
Current State: 23:[46, 2], Operations: ['71-65=6', '8-6=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[71, 65, 46, 8], Operations: []
Exploring Operation: 71-65=6, Resulting Numbers: [46, 8, 6]
Generated Node #0,0: 23:[46, 8, 6] Operation: 71-65=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[46, 8, 6], Operations: ['71-65=6']
Exploring Operation: 46-8=38, Resulting Numbers: [6, 38]
Generated Node #0,0,0: 23:[6, 38] Operation: 46-8=38
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[6, 38], Operations: ['71-65=6', '46-8=38']
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
79,
84,
91,
7
] | 18 | [
"84-79=5",
"91/7=13",
"5+13=18"
] | Current State: 18:[79, 84, 91, 7], Operations: []
Exploring Operation: 84-79=5, Resulting Numbers: [91, 7, 5]
Generated Node #2: [91, 7, 5] from Operation: 84-79=5
Current State: 18:[91, 7, 5], Operations: ['84-79=5']
Exploring Operation: 91/7=13, Resulting Numbers: [5, 13]
Generated Node #3: [5, 13] from Operation: 91/7=13
Current State: 18:[5, 13], Operations: ['84-79=5', '91/7=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[79, 84, 91, 7], Operations: []
Exploring Operation: 91-84=7, Resulting Numbers: [79, 7, 7]
Generated Node #0,0: 18:[79, 7, 7] Operation: 91-84=7
Moving to Node #0,0
Current State: 18:[79, 7, 7], Operations: ['91-84=7']
Exploring Operation: 79-7=72, Resulting Numbers: [7, 72]
Generated Node #0,0,0: 18:[7, 72] Operation: 79-7=72
Moving to Node #0,0,0
Current State: 18:[7, 72], Operations: ['91-84=7', '79-7=72']
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,18 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
90,
28,
80,
10
] | 85 | [
"28-10=18",
"90/18=5",
"80+5=85"
] | Current State: 85:[90, 28, 80, 10], Operations: []
Exploring Operation: 28-10=18, Resulting Numbers: [90, 80, 18]
Generated Node #2: [90, 80, 18] from Operation: 28-10=18
Current State: 85:[90, 80, 18], Operations: ['28-10=18']
Exploring Operation: 90/18=5, Resulting Numbers: [80, 5]
Generated Node #3: [80, 5] from Operation: 90/18=5
Current State: 85:[80, 5], Operations: ['28-10=18', '90/18=5']
Exploring Operation: 80+5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[90, 28, 80, 10], Operations: []
Exploring Operation: 28-10=18, Resulting Numbers: [90, 80, 18]
Generated Node #0,0: 85:[90, 80, 18] Operation: 28-10=18
Moving to Node #0,0
Current State: 85:[90, 80, 18], Operations: ['28-10=18']
Exploring Operation: 90/18=5, Resulting Numbers: [80, 5]
Generated Node #0,0,0: 85:[80, 5] Operation: 90/18=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[80, 5], Operations: ['28-10=18', '90/18=5']
Exploring Operation: 80+5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[90, 28, 80, 10], Operations: []
Exploring Operation: 28-10=18, Resulting Numbers: [90, 80, 18]
Generated Node #0,0: 85:[90, 80, 18] Operation: 28-10=18
Moving to Node #0,0
Current State: 85:[90, 80, 18], Operations: ['28-10=18']
Exploring Operation: 90/18=5, Resulting Numbers: [80, 5]
Generated Node #0,0,0: 85:[80, 5] Operation: 90/18=5
Moving to Node #0,0,0
Current State: 85:[80, 5], Operations: ['28-10=18', '90/18=5']
Exploring Operation: 80+5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
25,
3,
50,
6
] | 19 | [
"25*3=75",
"50+6=56",
"75-56=19"
] | Current State: 19:[25, 3, 50, 6], Operations: []
Exploring Operation: 25*3=75, Resulting Numbers: [50, 6, 75]
Generated Node #2: [50, 6, 75] from Operation: 25*3=75
Current State: 19:[50, 6, 75], Operations: ['25*3=75']
Exploring Operation: 50+6=56, Resulting Numbers: [75, 56]
Generated Node #3: [75, 56] from Operation: 50+6=56
Current State: 19:[75, 56], Operations: ['25*3=75', '50+6=56']
Exploring Operation: 75-56=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[25, 3, 50, 6], Operations: []
Exploring Operation: 50/25=2, Resulting Numbers: [3, 6, 2]
Generated Node #0,0: 19:[3, 6, 2] Operation: 50/25=2
Exploring Operation: 50-25=25, Resulting Numbers: [3, 6, 25]
Generated Node #0,1: 19:[3, 6, 25] Operation: 50-25=25
Exploring Operation: 3*6=18, Resulting Numbers: [25, 50, 18]
Generated Node #0,2: 19:[25, 50, 18] Operation: 3*6=18
Exploring Operation: 25-3=22, Resulting Numbers: [50, 6, 22]
Generated Node #0,3: 19:[50, 6, 22] Operation: 25-3=22
Moving to Node #0,1
Current State: 19:[3, 6, 25], Operations: ['50-25=25']
Exploring Operation: 25-6=19, Resulting Numbers: [3, 19]
Generated Node #0,1,0: 19:[3, 19] Operation: 25-6=19
Exploring Operation: 25-3=22, Resulting Numbers: [6, 22]
Generated Node #0,1,1: 19:[6, 22] Operation: 25-3=22
Exploring Operation: 3*6=18, Resulting Numbers: [25, 18]
Generated Node #0,1,2: 19:[25, 18] Operation: 3*6=18
Exploring Operation: 3+6=9, Resulting Numbers: [25, 9]
Generated Node #0,1,3: 19:[25, 9] Operation: 3+6=9
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 19:[25, 18], Operations: ['50-25=25', '3*6=18']
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,19 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Exploring Operation: 25*18=450, Resulting Numbers: [450]
450,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[3, 19], Operations: ['50-25=25', '25-6=19']
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[6, 22], Operations: ['50-25=25', '25-3=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,19 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 19:[25, 9], Operations: ['50-25=25', '3+6=9']
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,19 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: 19:[25, 50, 18], Operations: ['3*6=18']
Exploring Operation: 25-18=7, Resulting Numbers: [50, 7]
Generated Node #0,2,0: 19:[50, 7] Operation: 25-18=7
Exploring Operation: 50-18=32, Resulting Numbers: [25, 32]
Generated Node #0,2,1: 19:[25, 32] Operation: 50-18=32
Exploring Operation: 50-25=25, Resulting Numbers: [18, 25]
Generated Node #0,2,2: 19:[18, 25] Operation: 50-25=25
Exploring Operation: 50/25=2, Resulting Numbers: [18, 2]
Generated Node #0,2,3: 19:[18, 2] Operation: 50/25=2
Moving to Node #0,0
Current State: 19:[3, 6, 2], Operations: ['50/25=2']
Exploring Operation: 6*2=12, Resulting Numbers: [3, 12]
Generated Node #0,0,0: 19:[3, 12] Operation: 6*2=12
Exploring Operation: 3*2=6, Resulting Numbers: [6, 6]
Generated Node #0,0,1: 19:[6, 6] Operation: 3*2=6
Exploring Operation: 3*6=18, Resulting Numbers: [2, 18]
Generated Node #0,0,2: 19:[2, 18] Operation: 3*6=18
Exploring Operation: 3+6=9, Resulting Numbers: [2, 9]
Generated Node #0,0,3: 19:[2, 9] Operation: 3+6=9
Moving to Node #0,3
Current State: 19:[50, 6, 22], Operations: ['25-3=22']
Exploring Operation: 50-22=28, Resulting Numbers: [6, 28]
Generated Node #0,3,0: 19:[6, 28] Operation: 50-22=28
Exploring Operation: 50+6=56, Resulting Numbers: [22, 56]
Generated Node #0,3,1: 19:[22, 56] Operation: 50+6=56
Exploring Operation: 50-6=44, Resulting Numbers: [22, 44]
Generated Node #0,3,2: 19:[22, 44] Operation: 50-6=44
Exploring Operation: 22-6=16, Resulting Numbers: [50, 16]
Generated Node #0,3,3: 19:[50, 16] Operation: 22-6=16
Moving to Node #0,2,2
Current State: 19:[18, 25], Operations: ['3*6=18', '50-25=25']
Exploring Operation: 18*25=450, Resulting Numbers: [450]
450,19 unequal: No Solution
Exploring Operation: 18+25=43, Resulting Numbers: [43]
43,19 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Moving to Node #0,2,3
Current State: 19:[18, 2], Operations: ['3*6=18', '50/25=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[2, 18], Operations: ['50/25=2', '3*6=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[25, 32], Operations: ['3*6=18', '50-18=32']
Exploring Operation: 25+32=57, Resulting Numbers: [57]
57,19 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Exploring Operation: 25*32=800, Resulting Numbers: [800]
800,19 unequal: No Solution
Moving to Node #0,3,0
Current State: 19:[6, 28], Operations: ['25-3=22', '50-22=28']
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[3, 12], Operations: ['50/25=2', '6*2=12']
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[6, 6], Operations: ['50/25=2', '3*2=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,19 unequal: No Solution
Moving to Node #0,0,3
Current State: 19:[2, 9], Operations: ['50/25=2', '3+6=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Moving to Node #0,3,2
Current State: 19:[22, 44], Operations: ['25-3=22', '50-6=44']
Exploring Operation: 22+44=66, Resulting Numbers: [66]
66,19 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 22*44=968, Resulting Numbers: [968]
968,19 unequal: No Solution
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Moving to Node #0,3,3
Current State: 19:[50, 16], Operations: ['25-3=22', '22-6=16']
Exploring Operation: 50+16=66, Resulting Numbers: [66]
66,19 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 50*16=800, Resulting Numbers: [800]
800,19 unequal: No Solution
Moving to Node #0,3,1
Current State: 19:[22, 56], Operations: ['25-3=22', '50+6=56']
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 22*56=1232, Resulting Numbers: [1232]
1232,19 unequal: No Solution
Exploring Operation: 22+56=78, Resulting Numbers: [78]
78,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[50, 7], Operations: ['3*6=18', '25-18=7']
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,19 unequal: No Solution
Exploring Operation: 50+7=57, Resulting Numbers: [57]
57,19 unequal: No Solution
Exploring Operation: 50*7=350, Resulting Numbers: [350]
350,19 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
39,
21,
20,
6
] | 86 | [
"39+21=60",
"20+6=26",
"60+26=86"
] | Current State: 86:[39, 21, 20, 6], Operations: []
Exploring Operation: 39+21=60, Resulting Numbers: [20, 6, 60]
Generated Node #2: [20, 6, 60] from Operation: 39+21=60
Current State: 86:[20, 6, 60], Operations: ['39+21=60']
Exploring Operation: 20+6=26, Resulting Numbers: [60, 26]
Generated Node #3: [60, 26] from Operation: 20+6=26
Current State: 86:[60, 26], Operations: ['39+21=60', '20+6=26']
Exploring Operation: 60+26=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[39, 21, 20, 6], Operations: []
Exploring Operation: 21-20=1, Resulting Numbers: [39, 6, 1]
Generated Node #0,0: 86:[39, 6, 1] Operation: 21-20=1
Moving to Node #0,0
Current State: 86:[39, 6, 1], Operations: ['21-20=1']
Exploring Operation: 39+6=45, Resulting Numbers: [1, 45]
Generated Node #0,0,0: 86:[1, 45] Operation: 39+6=45
Moving to Node #0,0,0
Current State: 86:[1, 45], Operations: ['21-20=1', '39+6=45']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,86 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
34,
67,
63,
63
] | 33 | [
"67-34=33",
"63-63=0",
"33+0=33"
] | Current State: 33:[34, 67, 63, 63], Operations: []
Exploring Operation: 67-34=33, Resulting Numbers: [63, 63, 33]
Generated Node #2: [63, 63, 33] from Operation: 67-34=33
Current State: 33:[63, 63, 33], Operations: ['67-34=33']
Exploring Operation: 63-63=0, Resulting Numbers: [33, 0]
Generated Node #3: [33, 0] from Operation: 63-63=0
Current State: 33:[33, 0], Operations: ['67-34=33', '63-63=0']
Exploring Operation: 33+0=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[34, 67, 63, 63], Operations: []
Exploring Operation: 67-63=4, Resulting Numbers: [34, 63, 4]
Generated Node #0,0: 33:[34, 63, 4] Operation: 67-63=4
Exploring Operation: 67-63=4, Resulting Numbers: [34, 63, 4]
Generated Node #0,1: 33:[34, 63, 4] Operation: 67-63=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[34, 63, 4], Operations: ['67-63=4']
Exploring Operation: 63-4=59, Resulting Numbers: [34, 59]
Generated Node #0,0,0: 33:[34, 59] Operation: 63-4=59
Exploring Operation: 63-34=29, Resulting Numbers: [4, 29]
Generated Node #0,0,1: 33:[4, 29] Operation: 63-34=29
Moving to Node #0,0,1
Current State: 33:[4, 29], Operations: ['67-63=4', '63-34=29']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[34, 67, 63, 63], Operations: []
Exploring Operation: 67-63=4, Resulting Numbers: [34, 63, 4]
Generated Node #0,0: 33:[34, 63, 4] Operation: 67-63=4
Moving to Node #0,0
Current State: 33:[34, 63, 4], Operations: ['67-63=4']
Exploring Operation: 63-34=29, Resulting Numbers: [4, 29]
Generated Node #0,0,1: 33:[4, 29] Operation: 63-34=29
Moving to Node #0,0,1
Current State: 33:[4, 29], Operations: ['67-63=4', '63-34=29']
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
78,
55,
3,
53
] | 36 | [
"55-53=2",
"78/2=39",
"39-3=36"
] | Current State: 36:[78, 55, 3, 53], Operations: []
Exploring Operation: 55-53=2, Resulting Numbers: [78, 3, 2]
Generated Node #2: [78, 3, 2] from Operation: 55-53=2
Current State: 36:[78, 3, 2], Operations: ['55-53=2']
Exploring Operation: 78/2=39, Resulting Numbers: [3, 39]
Generated Node #3: [3, 39] from Operation: 78/2=39
Current State: 36:[3, 39], Operations: ['55-53=2', '78/2=39']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[78, 55, 3, 53], Operations: []
Exploring Operation: 78-55=23, Resulting Numbers: [3, 53, 23]
Generated Node #0,0: 36:[3, 53, 23] Operation: 78-55=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[3, 53, 23], Operations: ['78-55=23']
Exploring Operation: 53-23=30, Resulting Numbers: [3, 30]
Generated Node #0,0,0: 36:[3, 30] Operation: 53-23=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[3, 30], Operations: ['78-55=23', '53-23=30']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
93,
52,
89,
52
] | 39 | [
"93-89=4",
"52/4=13",
"52-13=39"
] | Current State: 39:[93, 52, 89, 52], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [52, 52, 4]
Generated Node #2: [52, 52, 4] from Operation: 93-89=4
Current State: 39:[52, 52, 4], Operations: ['93-89=4']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,39 equal: Goal Reached
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[93, 52, 89, 52], Operations: []
Exploring Operation: 89-52=37, Resulting Numbers: [93, 52, 37]
Generated Node #0,0: 39:[93, 52, 37] Operation: 89-52=37
Exploring Operation: 93-52=41, Resulting Numbers: [52, 89, 41]
Generated Node #0,1: 39:[52, 89, 41] Operation: 93-52=41
Exploring Operation: 93-89=4, Resulting Numbers: [52, 52, 4]
Generated Node #0,2: 39:[52, 52, 4] Operation: 93-89=4
Exploring Operation: 93-52=41, Resulting Numbers: [89, 52, 41]
Generated Node #0,3: 39:[89, 52, 41] Operation: 93-52=41
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[52, 52, 4], Operations: ['93-89=4']
Exploring Operation: 52-52=0, Resulting Numbers: [4, 0]
Generated Node #0,2,0: 39:[4, 0] Operation: 52-52=0
Exploring Operation: 52/4=13, Resulting Numbers: [52, 13]
Generated Node #0,2,1: 39:[52, 13] Operation: 52/4=13
Exploring Operation: 52/52=1, Resulting Numbers: [4, 1]
Generated Node #0,2,2: 39:[4, 1] Operation: 52/52=1
Exploring Operation: 52/4=13, Resulting Numbers: [52, 13]
Generated Node #0,2,3: 39:[52, 13] Operation: 52/4=13
Moving to Node #0,2,2
Current State: 39:[4, 1], Operations: ['93-89=4', '52/52=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[4, 0], Operations: ['93-89=4', '52-52=0']
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[52, 13], Operations: ['93-89=4', '52/4=13']
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 52+13=65, Resulting Numbers: [65]
65,39 unequal: No Solution
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[93, 52, 89, 52], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [52, 52, 4]
Generated Node #0,2: 39:[52, 52, 4] Operation: 93-89=4
Moving to Node #0,2
Current State: 39:[52, 52, 4], Operations: ['93-89=4']
Exploring Operation: 52/4=13, Resulting Numbers: [52, 13]
Generated Node #0,2,3: 39:[52, 13] Operation: 52/4=13
Moving to Node #0,2,3
Current State: 39:[52, 13], Operations: ['93-89=4', '52/4=13']
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
81,
7,
32,
62
] | 25 | [
"81+32=113",
"62+113=175",
"175/7=25"
] | Current State: 25:[81, 7, 32, 62], Operations: []
Exploring Operation: 81+32=113, Resulting Numbers: [7, 62, 113]
Generated Node #2: [7, 62, 113] from Operation: 81+32=113
Current State: 25:[7, 62, 113], Operations: ['81+32=113']
Exploring Operation: 62+113=175, Resulting Numbers: [7, 175]
Generated Node #3: [7, 175] from Operation: 62+113=175
Current State: 25:[7, 175], Operations: ['81+32=113', '62+113=175']
Exploring Operation: 175/7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[81, 7, 32, 62], Operations: []
Exploring Operation: 81-62=19, Resulting Numbers: [7, 32, 19]
Generated Node #0,0: 25:[7, 32, 19] Operation: 81-62=19
Exploring Operation: 62-32=30, Resulting Numbers: [81, 7, 30]
Generated Node #0,1: 25:[81, 7, 30] Operation: 62-32=30
Exploring Operation: 81-32=49, Resulting Numbers: [7, 62, 49]
Generated Node #0,2: 25:[7, 62, 49] Operation: 81-32=49
Exploring Operation: 32-7=25, Resulting Numbers: [81, 62, 25]
Generated Node #0,3: 25:[81, 62, 25] Operation: 32-7=25
Exploring Operation: 81-7=74, Resulting Numbers: [32, 62, 74]
Generated Node #0,4: 25:[32, 62, 74] Operation: 81-7=74
Moving to Node #0,0
Current State: 25:[7, 32, 19], Operations: ['81-62=19']
Exploring Operation: 32-19=13, Resulting Numbers: [7, 13]
Generated Node #0,0,0: 25:[7, 13] Operation: 32-19=13
Exploring Operation: 19-7=12, Resulting Numbers: [32, 12]
Generated Node #0,0,1: 25:[32, 12] Operation: 19-7=12
Exploring Operation: 7+32=39, Resulting Numbers: [19, 39]
Generated Node #0,0,2: 25:[19, 39] Operation: 7+32=39
Exploring Operation: 32-7=25, Resulting Numbers: [19, 25]
Generated Node #0,0,3: 25:[19, 25] Operation: 32-7=25
Exploring Operation: 7+19=26, Resulting Numbers: [32, 26]
Generated Node #0,0,4: 25:[32, 26] Operation: 7+19=26
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 25:[19, 25], Operations: ['81-62=19', '32-7=25']
Exploring Operation: 19*25=475, Resulting Numbers: [475]
475,25 unequal: No Solution
Exploring Operation: 19+25=44, Resulting Numbers: [44]
44,25 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,25 unequal: No Solution
No 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: 25:[32, 26], Operations: ['81-62=19', '7+19=26']
Exploring Operation: 32*26=832, Resulting Numbers: [832]
832,25 unequal: No Solution
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,25 unequal: No Solution
No 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: 25:[7, 13], Operations: ['81-62=19', '32-19=13']
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,25 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,25 unequal: No Solution
No 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: 25:[32, 12], Operations: ['81-62=19', '19-7=12']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,25 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,25 unequal: No Solution
No 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: 25:[19, 39], Operations: ['81-62=19', '7+32=39']
Exploring Operation: 19+39=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 19*39=741, Resulting Numbers: [741]
741,25 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: 25:[7, 62, 49], Operations: ['81-32=49']
Exploring Operation: 49/7=7, Resulting Numbers: [62, 7]
Generated Node #0,2,0: 25:[62, 7] Operation: 49/7=7
Exploring Operation: 7+62=69, Resulting Numbers: [49, 69]
Generated Node #0,2,1: 25:[49, 69] Operation: 7+62=69
Exploring Operation: 62-49=13, Resulting Numbers: [7, 13]
Generated Node #0,2,2: 25:[7, 13] Operation: 62-49=13
Exploring Operation: 62-7=55, Resulting Numbers: [49, 55]
Generated Node #0,2,3: 25:[49, 55] Operation: 62-7=55
Exploring Operation: 49-7=42, Resulting Numbers: [62, 42]
Generated Node #0,2,4: 25:[62, 42] Operation: 49-7=42
Moving to Node #0,1
Current State: 25:[81, 7, 30], Operations: ['62-32=30']
Exploring Operation: 81-7=74, Resulting Numbers: [30, 74]
Generated Node #0,1,0: 25:[30, 74] Operation: 81-7=74
Exploring Operation: 81+7=88, Resulting Numbers: [30, 88]
Generated Node #0,1,1: 25:[30, 88] Operation: 81+7=88
Exploring Operation: 81-30=51, Resulting Numbers: [7, 51]
Generated Node #0,1,2: 25:[7, 51] Operation: 81-30=51
Exploring Operation: 7+30=37, Resulting Numbers: [81, 37]
Generated Node #0,1,3: 25:[81, 37] Operation: 7+30=37
Exploring Operation: 30-7=23, Resulting Numbers: [81, 23]
Generated Node #0,1,4: 25:[81, 23] Operation: 30-7=23
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 25:[7, 51], Operations: ['62-32=30', '81-30=51']
Exploring Operation: 7*51=357, Resulting Numbers: [357]
357,25 unequal: No Solution
Exploring Operation: 7+51=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,25 unequal: No Solution
No 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: 25:[30, 74], Operations: ['62-32=30', '81-7=74']
Exploring Operation: 30+74=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,25 unequal: No Solution
Exploring Operation: 30*74=2220, Resulting Numbers: [2220]
2220,25 unequal: No Solution
No 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: 25:[81, 23], Operations: ['62-32=30', '30-7=23']
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,25 unequal: No Solution
No 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: 25:[30, 88], Operations: ['62-32=30', '81+7=88']
Exploring Operation: 30*88=2640, Resulting Numbers: [2640]
2640,25 unequal: No Solution
Exploring Operation: 30+88=118, Resulting Numbers: [118]
118,25 unequal: No Solution
Exploring Operation: 88-30=58, Resulting Numbers: [58]
58,25 unequal: No Solution
No 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: 25:[81, 37], Operations: ['62-32=30', '7+30=37']
Exploring Operation: 81*37=2997, Resulting Numbers: [2997]
2997,25 unequal: No Solution
Exploring Operation: 81+37=118, Resulting Numbers: [118]
118,25 unequal: No Solution
Exploring Operation: 81-37=44, Resulting Numbers: [44]
44,25 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: 25:[81, 62, 25], Operations: ['32-7=25']
Exploring Operation: 81-25=56, Resulting Numbers: [62, 56]
Generated Node #0,3,0: 25:[62, 56] Operation: 81-25=56
Exploring Operation: 81+25=106, Resulting Numbers: [62, 106]
Generated Node #0,3,1: 25:[62, 106] Operation: 81+25=106
Exploring Operation: 81+62=143, Resulting Numbers: [25, 143]
Generated Node #0,3,2: 25:[25, 143] Operation: 81+62=143
Exploring Operation: 62-25=37, Resulting Numbers: [81, 37]
Generated Node #0,3,3: 25:[81, 37] Operation: 62-25=37
Exploring Operation: 81-62=19, Resulting Numbers: [25, 19]
Generated Node #0,3,4: 25:[25, 19] Operation: 81-62=19
Moving to Node #0,4
Current State: 25:[32, 62, 74], Operations: ['81-7=74']
Exploring Operation: 32+62=94, Resulting Numbers: [74, 94]
Generated Node #0,4,0: 25:[74, 94] Operation: 32+62=94
Exploring Operation: 62-32=30, Resulting Numbers: [74, 30]
Generated Node #0,4,1: 25:[74, 30] Operation: 62-32=30
Exploring Operation: 74-62=12, Resulting Numbers: [32, 12]
Generated Node #0,4,2: 25:[32, 12] Operation: 74-62=12
Exploring Operation: 32+74=106, Resulting Numbers: [62, 106]
Generated Node #0,4,3: 25:[62, 106] Operation: 32+74=106
Exploring Operation: 74-32=42, Resulting Numbers: [62, 42]
Generated Node #0,4,4: 25:[62, 42] Operation: 74-32=42
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 25:[32, 12], Operations: ['81-7=74', '74-62=12']
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,25 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,25 unequal: No Solution
No 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: 25:[74, 30], Operations: ['81-7=74', '62-32=30']
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,25 unequal: No Solution
Exploring Operation: 74*30=2220, Resulting Numbers: [2220]
2220,25 unequal: No Solution
Exploring Operation: 74+30=104, Resulting Numbers: [104]
104,25 unequal: No Solution
No 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: 25:[62, 42], Operations: ['81-7=74', '74-32=42']
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 62+42=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Exploring Operation: 62*42=2604, Resulting Numbers: [2604]
2604,25 unequal: No Solution
No 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: 25:[74, 94], Operations: ['81-7=74', '32+62=94']
Exploring Operation: 74+94=168, Resulting Numbers: [168]
168,25 unequal: No Solution
Exploring Operation: 74*94=6956, Resulting Numbers: [6956]
6956,25 unequal: No Solution
Exploring Operation: 94-74=20, Resulting Numbers: [20]
20,25 unequal: No Solution
No 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: 25:[62, 106], Operations: ['81-7=74', '32+74=106']
Exploring Operation: 62+106=168, Resulting Numbers: [168]
168,25 unequal: No Solution
Exploring Operation: 106-62=44, Resulting Numbers: [44]
44,25 unequal: No Solution
Exploring Operation: 62*106=6572, Resulting Numbers: [6572]
6572,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,4
Current State: 25:[25, 19], Operations: ['32-7=25', '81-62=19']
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,25 unequal: No Solution
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[7, 13], Operations: ['81-32=49', '62-49=13']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[62, 7], Operations: ['81-32=49', '49/7=7']
Exploring Operation: 62+7=69, Resulting Numbers: [69]
69,25 unequal: No Solution
Exploring Operation: 62*7=434, Resulting Numbers: [434]
434,25 unequal: No Solution
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[49, 55], Operations: ['81-32=49', '62-7=55']
Exploring Operation: 49+55=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Exploring Operation: 55-49=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 49*55=2695, Resulting Numbers: [2695]
2695,25 unequal: No Solution
Moving to Node #0,2,4
Current State: 25:[62, 42], Operations: ['81-32=49', '49-7=42']
Exploring Operation: 62*42=2604, Resulting Numbers: [2604]
2604,25 unequal: No Solution
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 62+42=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Moving to Node #0,3,0
Current State: 25:[62, 56], Operations: ['32-7=25', '81-25=56']
Exploring Operation: 62+56=118, Resulting Numbers: [118]
118,25 unequal: No Solution
Exploring Operation: 62*56=3472, Resulting Numbers: [3472]
3472,25 unequal: No Solution
Exploring Operation: 62-56=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[49, 69], Operations: ['81-32=49', '7+62=69']
Exploring Operation: 49*69=3381, Resulting Numbers: [3381]
3381,25 unequal: No Solution
Exploring Operation: 49+69=118, Resulting Numbers: [118]
118,25 unequal: No Solution
Exploring Operation: 69-49=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[81, 37], Operations: ['32-7=25', '62-25=37']
Exploring Operation: 81*37=2997, Resulting Numbers: [2997]
2997,25 unequal: No Solution
Exploring Operation: 81+37=118, Resulting Numbers: [118]
118,25 unequal: No Solution
Exploring Operation: 81-37=44, Resulting Numbers: [44]
44,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[62, 106], Operations: ['32-7=25', '81+25=106']
Exploring Operation: 106-62=44, Resulting Numbers: [44]
44,25 unequal: No Solution
Exploring Operation: 62+106=168, Resulting Numbers: [168]
168,25 unequal: No Solution
Exploring Operation: 62*106=6572, Resulting Numbers: [6572]
6572,25 unequal: No Solution
Moving to Node #0,3,2
Current State: 25:[25, 143], Operations: ['32-7=25', '81+62=143']
Exploring Operation: 25*143=3575, Resulting Numbers: [3575]
3575,25 unequal: No Solution
Exploring Operation: 143-25=118, Resulting Numbers: [118]
118,25 unequal: No Solution
Exploring Operation: 25+143=168, Resulting Numbers: [168]
168,25 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
2,
55,
37,
61
] | 45 | [
"55-2=53",
"37+61=98",
"98-53=45"
] | Current State: 45:[2, 55, 37, 61], Operations: []
Exploring Operation: 55-2=53, Resulting Numbers: [37, 61, 53]
Generated Node #2: [37, 61, 53] from Operation: 55-2=53
Current State: 45:[37, 61, 53], Operations: ['55-2=53']
Exploring Operation: 37+61=98, Resulting Numbers: [53, 98]
Generated Node #3: [53, 98] from Operation: 37+61=98
Current State: 45:[53, 98], Operations: ['55-2=53', '37+61=98']
Exploring Operation: 98-53=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[2, 55, 37, 61], Operations: []
Exploring Operation: 55-37=18, Resulting Numbers: [2, 61, 18]
Generated Node #0,0: 45:[2, 61, 18] Operation: 55-37=18
Exploring Operation: 55-2=53, Resulting Numbers: [37, 61, 53]
Generated Node #0,1: 45:[37, 61, 53] Operation: 55-2=53
Exploring Operation: 61-55=6, Resulting Numbers: [2, 37, 6]
Generated Node #0,2: 45:[2, 37, 6] Operation: 61-55=6
Exploring Operation: 61-37=24, Resulting Numbers: [2, 55, 24]
Generated Node #0,3: 45:[2, 55, 24] Operation: 61-37=24
Moving to Node #0,2
Current State: 45:[2, 37, 6], Operations: ['61-55=6']
Exploring Operation: 2+37=39, Resulting Numbers: [6, 39]
Generated Node #0,2,0: 45:[6, 39] Operation: 2+37=39
Exploring Operation: 6/2=3, Resulting Numbers: [37, 3]
Generated Node #0,2,1: 45:[37, 3] Operation: 6/2=3
Exploring Operation: 2+6=8, Resulting Numbers: [37, 8]
Generated Node #0,2,2: 45:[37, 8] Operation: 2+6=8
Exploring Operation: 37+6=43, Resulting Numbers: [2, 43]
Generated Node #0,2,3: 45:[2, 43] Operation: 37+6=43
Moving to Node #0,3
Current State: 45:[2, 55, 24], Operations: ['61-37=24']
Exploring Operation: 55-24=31, Resulting Numbers: [2, 31]
Generated Node #0,3,0: 45:[2, 31] Operation: 55-24=31
Exploring Operation: 2*24=48, Resulting Numbers: [55, 48]
Generated Node #0,3,1: 45:[55, 48] Operation: 2*24=48
Exploring Operation: 24/2=12, Resulting Numbers: [55, 12]
Generated Node #0,3,2: 45:[55, 12] Operation: 24/2=12
Exploring Operation: 55-2=53, Resulting Numbers: [24, 53]
Generated Node #0,3,3: 45:[24, 53] Operation: 55-2=53
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 45:[55, 48], Operations: ['61-37=24', '2*24=48']
Exploring Operation: 55*48=2640, Resulting Numbers: [2640]
2640,45 unequal: No Solution
Exploring Operation: 55+48=103, Resulting Numbers: [103]
103,45 unequal: No Solution
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 45:[55, 12], Operations: ['61-37=24', '24/2=12']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,45 unequal: No Solution
Exploring Operation: 55*12=660, Resulting Numbers: [660]
660,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 45:[2, 31], Operations: ['61-37=24', '55-24=31']
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,45 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,45 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 45:[24, 53], Operations: ['61-37=24', '55-2=53']
Exploring Operation: 24+53=77, Resulting Numbers: [77]
77,45 unequal: No Solution
Exploring Operation: 24*53=1272, Resulting Numbers: [1272]
1272,45 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,45 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: 45:[2, 61, 18], Operations: ['55-37=18']
Exploring Operation: 61-18=43, Resulting Numbers: [2, 43]
Generated Node #0,0,0: 45:[2, 43] Operation: 61-18=43
Exploring Operation: 18/2=9, Resulting Numbers: [61, 9]
Generated Node #0,0,1: 45:[61, 9] Operation: 18/2=9
Exploring Operation: 18-2=16, Resulting Numbers: [61, 16]
Generated Node #0,0,2: 45:[61, 16] Operation: 18-2=16
Exploring Operation: 61-2=59, Resulting Numbers: [18, 59]
Generated Node #0,0,3: 45:[18, 59] Operation: 61-2=59
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[2, 43], Operations: ['55-37=18', '61-18=43']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,45 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[2, 55, 37, 61], Operations: []
Exploring Operation: 55-37=18, Resulting Numbers: [2, 61, 18]
Generated Node #0,0: 45:[2, 61, 18] Operation: 55-37=18
Moving to Node #0,0
Current State: 45:[2, 61, 18], Operations: ['55-37=18']
Exploring Operation: 61-18=43, Resulting Numbers: [2, 43]
Generated Node #0,0,0: 45:[2, 43] Operation: 61-18=43
Moving to Node #0,0,0
Current State: 45:[2, 43], Operations: ['55-37=18', '61-18=43']
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
69,
73,
6,
10
] | 15 | [
"73-69=4",
"6*10=60",
"60/4=15"
] | Current State: 15:[69, 73, 6, 10], Operations: []
Exploring Operation: 73-69=4, Resulting Numbers: [6, 10, 4]
Generated Node #2: [6, 10, 4] from Operation: 73-69=4
Current State: 15:[6, 10, 4], Operations: ['73-69=4']
Exploring Operation: 6*10=60, Resulting Numbers: [4, 60]
Generated Node #3: [4, 60] from Operation: 6*10=60
Current State: 15:[4, 60], Operations: ['73-69=4', '6*10=60']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[69, 73, 6, 10], Operations: []
Exploring Operation: 73-10=63, Resulting Numbers: [69, 6, 63]
Generated Node #0,0: 15:[69, 6, 63] Operation: 73-10=63
Exploring Operation: 69-10=59, Resulting Numbers: [73, 6, 59]
Generated Node #0,1: 15:[73, 6, 59] Operation: 69-10=59
Exploring Operation: 73-69=4, Resulting Numbers: [6, 10, 4]
Generated Node #0,2: 15:[6, 10, 4] Operation: 73-69=4
Moving to Node #0,2
Current State: 15:[6, 10, 4], Operations: ['73-69=4']
Exploring Operation: 10+4=14, Resulting Numbers: [6, 14]
Generated Node #0,2,0: 15:[6, 14] Operation: 10+4=14
Exploring Operation: 6+10=16, Resulting Numbers: [4, 16]
Generated Node #0,2,1: 15:[4, 16] Operation: 6+10=16
Exploring Operation: 10-6=4, Resulting Numbers: [4, 4]
Generated Node #0,2,2: 15:[4, 4] Operation: 10-6=4
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 15:[6, 14], Operations: ['73-69=4', '10+4=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,15 unequal: No Solution
No 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: 15:[4, 16], Operations: ['73-69=4', '6+10=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,15 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,15 unequal: No Solution
No 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: 15:[4, 4], Operations: ['73-69=4', '10-6=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,15 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: 15:[69, 6, 63], Operations: ['73-10=63']
Exploring Operation: 63-6=57, Resulting Numbers: [69, 57]
Generated Node #0,0,0: 15:[69, 57] Operation: 63-6=57
Exploring Operation: 69-63=6, Resulting Numbers: [6, 6]
Generated Node #0,0,1: 15:[6, 6] Operation: 69-63=6
Exploring Operation: 69-6=63, Resulting Numbers: [63, 63]
Generated Node #0,0,2: 15:[63, 63] Operation: 69-6=63
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[6, 6], Operations: ['73-10=63', '69-63=6']
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,15 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,15 unequal: No Solution
No 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: 15:[69, 57], Operations: ['73-10=63', '63-6=57']
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,15 unequal: No Solution
Exploring Operation: 69*57=3933, Resulting Numbers: [3933]
3933,15 unequal: No Solution
Exploring Operation: 69+57=126, Resulting Numbers: [126]
126,15 unequal: No Solution
No 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: 15:[63, 63], Operations: ['73-10=63', '69-6=63']
Exploring Operation: 63-63=0, Resulting Numbers: [0]
0,15 unequal: No Solution
Exploring Operation: 63+63=126, Resulting Numbers: [126]
126,15 unequal: No Solution
Exploring Operation: 63/63=1, Resulting Numbers: [1]
1,15 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: 15:[73, 6, 59], Operations: ['69-10=59']
Exploring Operation: 73-6=67, Resulting Numbers: [59, 67]
Generated Node #0,1,0: 15:[59, 67] Operation: 73-6=67
Exploring Operation: 73-59=14, Resulting Numbers: [6, 14]
Generated Node #0,1,1: 15:[6, 14] Operation: 73-59=14
Exploring Operation: 59-6=53, Resulting Numbers: [73, 53]
Generated Node #0,1,2: 15:[73, 53] Operation: 59-6=53
Moving to Node #0,1,1
Current State: 15:[6, 14], Operations: ['69-10=59', '73-59=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[59, 67], Operations: ['69-10=59', '73-6=67']
Exploring Operation: 59+67=126, Resulting Numbers: [126]
126,15 unequal: No Solution
Exploring Operation: 67-59=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 59*67=3953, Resulting Numbers: [3953]
3953,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[73, 53], Operations: ['69-10=59', '59-6=53']
Exploring Operation: 73*53=3869, Resulting Numbers: [3869]
3869,15 unequal: No Solution
Exploring Operation: 73-53=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 73+53=126, Resulting Numbers: [126]
126,15 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
15,
35,
40,
60
] | 80 | [
"35-15=20",
"40+60=100",
"100-20=80"
] | Current State: 80:[15, 35, 40, 60], Operations: []
Exploring Operation: 35-15=20, Resulting Numbers: [40, 60, 20]
Generated Node #2: [40, 60, 20] from Operation: 35-15=20
Current State: 80:[40, 60, 20], Operations: ['35-15=20']
Exploring Operation: 40+60=100, Resulting Numbers: [20, 100]
Generated Node #3: [20, 100] from Operation: 40+60=100
Current State: 80:[20, 100], Operations: ['35-15=20', '40+60=100']
Exploring Operation: 100-20=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[15, 35, 40, 60], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [35, 40, 4]
Generated Node #0,0: 80:[35, 40, 4] Operation: 60/15=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[35, 40, 4], Operations: ['60/15=4']
Exploring Operation: 40-35=5, Resulting Numbers: [4, 5]
Generated Node #0,0,0: 80:[4, 5] Operation: 40-35=5
Moving to Node #0,0,0
Current State: 80:[4, 5], Operations: ['60/15=4', '40-35=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,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 | mult_heuristic |
[
60,
23,
42,
32
] | 47 | [
"60-23=37",
"42-32=10",
"37+10=47"
] | Current State: 47:[60, 23, 42, 32], Operations: []
Exploring Operation: 60-23=37, Resulting Numbers: [42, 32, 37]
Generated Node #2: [42, 32, 37] from Operation: 60-23=37
Current State: 47:[42, 32, 37], Operations: ['60-23=37']
Exploring Operation: 42-32=10, Resulting Numbers: [37, 10]
Generated Node #3: [37, 10] from Operation: 42-32=10
Current State: 47:[37, 10], Operations: ['60-23=37', '42-32=10']
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[60, 23, 42, 32], Operations: []
Exploring Operation: 60-32=28, Resulting Numbers: [23, 42, 28]
Generated Node #0,0: 47:[23, 42, 28] Operation: 60-32=28
Exploring Operation: 23+32=55, Resulting Numbers: [60, 42, 55]
Generated Node #0,1: 47:[60, 42, 55] Operation: 23+32=55
Exploring Operation: 23+42=65, Resulting Numbers: [60, 32, 65]
Generated Node #0,2: 47:[60, 32, 65] Operation: 23+42=65
Exploring Operation: 60-23=37, Resulting Numbers: [42, 32, 37]
Generated Node #0,3: 47:[42, 32, 37] Operation: 60-23=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[60, 42, 55], Operations: ['23+32=55']
Exploring Operation: 60-42=18, Resulting Numbers: [55, 18]
Generated Node #0,1,0: 47:[55, 18] Operation: 60-42=18
Exploring Operation: 60+42=102, Resulting Numbers: [55, 102]
Generated Node #0,1,1: 47:[55, 102] Operation: 60+42=102
Exploring Operation: 60-55=5, Resulting Numbers: [42, 5]
Generated Node #0,1,2: 47:[42, 5] Operation: 60-55=5
Exploring Operation: 55-42=13, Resulting Numbers: [60, 13]
Generated Node #0,1,3: 47:[60, 13] Operation: 55-42=13
Moving to Node #0,1,0
Current State: 47:[55, 18], Operations: ['23+32=55', '60-42=18']
Exploring Operation: 55+18=73, Resulting Numbers: [73]
73,47 unequal: No Solution
Exploring Operation: 55*18=990, Resulting Numbers: [990]
990,47 unequal: No Solution
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Moving to Node #0,1,3
Current State: 47:[60, 13], Operations: ['23+32=55', '55-42=13']
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[60, 23, 42, 32], Operations: []
Exploring Operation: 23+32=55, Resulting Numbers: [60, 42, 55]
Generated Node #0,1: 47:[60, 42, 55] Operation: 23+32=55
Moving to Node #0,1
Current State: 47:[60, 42, 55], Operations: ['23+32=55']
Exploring Operation: 55-42=13, Resulting Numbers: [60, 13]
Generated Node #0,1,3: 47:[60, 13] Operation: 55-42=13
Moving to Node #0,1,3
Current State: 47:[60, 13], Operations: ['23+32=55', '55-42=13']
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
78,
2,
80,
13
] | 63 | [
"78*2=156",
"80+13=93",
"156-93=63"
] | Current State: 63:[78, 2, 80, 13], Operations: []
Exploring Operation: 78*2=156, Resulting Numbers: [80, 13, 156]
Generated Node #2: [80, 13, 156] from Operation: 78*2=156
Current State: 63:[80, 13, 156], Operations: ['78*2=156']
Exploring Operation: 80+13=93, Resulting Numbers: [156, 93]
Generated Node #3: [156, 93] from Operation: 80+13=93
Current State: 63:[156, 93], Operations: ['78*2=156', '80+13=93']
Exploring Operation: 156-93=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[78, 2, 80, 13], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [2, 13, 2]
Generated Node #0,0: 63:[2, 13, 2] Operation: 80-78=2
Exploring Operation: 78-13=65, Resulting Numbers: [2, 80, 65]
Generated Node #0,1: 63:[2, 80, 65] Operation: 78-13=65
Exploring Operation: 78/13=6, Resulting Numbers: [2, 80, 6]
Generated Node #0,2: 63:[2, 80, 6] Operation: 78/13=6
Moving to Node #0,0
Current State: 63:[2, 13, 2], Operations: ['80-78=2']
Exploring Operation: 13-2=11, Resulting Numbers: [2, 11]
Generated Node #0,0,0: 63:[2, 11] Operation: 13-2=11
Exploring Operation: 2+2=4, Resulting Numbers: [13, 4]
Generated Node #0,0,1: 63:[13, 4] Operation: 2+2=4
Exploring Operation: 13-2=11, Resulting Numbers: [2, 11]
Generated Node #0,0,2: 63:[2, 11] Operation: 13-2=11
Moving to Node #0,2
Current State: 63:[2, 80, 6], Operations: ['78/13=6']
Exploring Operation: 80-2=78, Resulting Numbers: [6, 78]
Generated Node #0,2,0: 63:[6, 78] Operation: 80-2=78
Exploring Operation: 80-6=74, Resulting Numbers: [2, 74]
Generated Node #0,2,1: 63:[2, 74] Operation: 80-6=74
Exploring Operation: 6/2=3, Resulting Numbers: [80, 3]
Generated Node #0,2,2: 63:[80, 3] Operation: 6/2=3
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 63:[2, 74], Operations: ['78/13=6', '80-6=74']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,63 unequal: No Solution
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,63 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,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:[6, 78], Operations: ['78/13=6', '80-2=78']
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,63 unequal: No Solution
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 6+78=84, Resulting Numbers: [84]
84,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,2
Current State: 63:[80, 3], Operations: ['78/13=6', '6/2=3']
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,63 unequal: No Solution
Exploring Operation: 80*3=240, Resulting Numbers: [240]
240,63 unequal: No Solution
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 63:[2, 80, 65], Operations: ['78-13=65']
Exploring Operation: 80-65=15, Resulting Numbers: [2, 15]
Generated Node #0,1,0: 63:[2, 15] Operation: 80-65=15
Exploring Operation: 65-2=63, Resulting Numbers: [80, 63]
Generated Node #0,1,1: 63:[80, 63] Operation: 65-2=63
Exploring Operation: 80-2=78, Resulting Numbers: [65, 78]
Generated Node #0,1,2: 63:[65, 78] Operation: 80-2=78
Moving to Node #0,0,0
Current State: 63:[2, 11], Operations: ['80-78=2', '13-2=11']
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[2, 11], Operations: ['80-78=2', '13-2=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[13, 4], Operations: ['80-78=2', '2+2=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,63 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[2, 15], Operations: ['78-13=65', '80-65=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[65, 78], Operations: ['78-13=65', '80-2=78']
Exploring Operation: 65*78=5070, Resulting Numbers: [5070]
5070,63 unequal: No Solution
Exploring Operation: 78-65=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 65+78=143, Resulting Numbers: [143]
143,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[80, 63], Operations: ['78-13=65', '65-2=63']
Exploring Operation: 80+63=143, Resulting Numbers: [143]
143,63 unequal: No Solution
Exploring Operation: 80-63=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 80*63=5040, Resulting Numbers: [5040]
5040,63 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
51,
7,
48,
90
] | 86 | [
"51-7=44",
"90-48=42",
"44+42=86"
] | Current State: 86:[51, 7, 48, 90], Operations: []
Exploring Operation: 51-7=44, Resulting Numbers: [48, 90, 44]
Generated Node #2: [48, 90, 44] from Operation: 51-7=44
Current State: 86:[48, 90, 44], Operations: ['51-7=44']
Exploring Operation: 90-48=42, Resulting Numbers: [44, 42]
Generated Node #3: [44, 42] from Operation: 90-48=42
Current State: 86:[44, 42], Operations: ['51-7=44', '90-48=42']
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[51, 7, 48, 90], Operations: []
Exploring Operation: 51-7=44, Resulting Numbers: [48, 90, 44]
Generated Node #0,0: 86:[48, 90, 44] Operation: 51-7=44
Exploring Operation: 51-48=3, Resulting Numbers: [7, 90, 3]
Generated Node #0,1: 86:[7, 90, 3] Operation: 51-48=3
Moving to Node #0,0
Current State: 86:[48, 90, 44], Operations: ['51-7=44']
Exploring Operation: 48-44=4, Resulting Numbers: [90, 4]
Generated Node #0,0,0: 86:[90, 4] Operation: 48-44=4
Exploring Operation: 90-48=42, Resulting Numbers: [44, 42]
Generated Node #0,0,1: 86:[44, 42] Operation: 90-48=42
Moving to Node #0,1
Current State: 86:[7, 90, 3], Operations: ['51-48=3']
Exploring Operation: 90-7=83, Resulting Numbers: [3, 83]
Generated Node #0,1,0: 86:[3, 83] Operation: 90-7=83
Exploring Operation: 7-3=4, Resulting Numbers: [90, 4]
Generated Node #0,1,1: 86:[90, 4] Operation: 7-3=4
Moving to Node #0,0,1
Current State: 86:[44, 42], Operations: ['51-7=44', '90-48=42']
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[51, 7, 48, 90], Operations: []
Exploring Operation: 51-7=44, Resulting Numbers: [48, 90, 44]
Generated Node #0,0: 86:[48, 90, 44] Operation: 51-7=44
Moving to Node #0,0
Current State: 86:[48, 90, 44], Operations: ['51-7=44']
Exploring Operation: 90-48=42, Resulting Numbers: [44, 42]
Generated Node #0,0,1: 86:[44, 42] Operation: 90-48=42
Moving to Node #0,0,1
Current State: 86:[44, 42], Operations: ['51-7=44', '90-48=42']
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
45,
62,
24,
43
] | 36 | [
"62-45=17",
"43-24=19",
"17+19=36"
] | Current State: 36:[45, 62, 24, 43], Operations: []
Exploring Operation: 62-45=17, Resulting Numbers: [24, 43, 17]
Generated Node #2: [24, 43, 17] from Operation: 62-45=17
Current State: 36:[24, 43, 17], Operations: ['62-45=17']
Exploring Operation: 43-24=19, Resulting Numbers: [17, 19]
Generated Node #3: [17, 19] from Operation: 43-24=19
Current State: 36:[17, 19], Operations: ['62-45=17', '43-24=19']
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[45, 62, 24, 43], Operations: []
Exploring Operation: 62-45=17, Resulting Numbers: [24, 43, 17]
Generated Node #0,0: 36:[24, 43, 17] Operation: 62-45=17
Moving to Node #0,0
Current State: 36:[24, 43, 17], Operations: ['62-45=17']
Exploring Operation: 43-24=19, Resulting Numbers: [17, 19]
Generated Node #0,0,0: 36:[17, 19] Operation: 43-24=19
Moving to Node #0,0,0
Current State: 36:[17, 19], Operations: ['62-45=17', '43-24=19']
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[45, 62, 24, 43], Operations: []
Exploring Operation: 62-45=17, Resulting Numbers: [24, 43, 17]
Generated Node #0,0: 36:[24, 43, 17] Operation: 62-45=17
Moving to Node #0,0
Current State: 36:[24, 43, 17], Operations: ['62-45=17']
Exploring Operation: 43-24=19, Resulting Numbers: [17, 19]
Generated Node #0,0,0: 36:[17, 19] Operation: 43-24=19
Moving to Node #0,0,0
Current State: 36:[17, 19], Operations: ['62-45=17', '43-24=19']
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
7,
73,
24,
43
] | 99 | [
"7+73=80",
"43-24=19",
"80+19=99"
] | Current State: 99:[7, 73, 24, 43], Operations: []
Exploring Operation: 7+73=80, Resulting Numbers: [24, 43, 80]
Generated Node #2: [24, 43, 80] from Operation: 7+73=80
Current State: 99:[24, 43, 80], Operations: ['7+73=80']
Exploring Operation: 43-24=19, Resulting Numbers: [80, 19]
Generated Node #3: [80, 19] from Operation: 43-24=19
Current State: 99:[80, 19], Operations: ['7+73=80', '43-24=19']
Exploring Operation: 80+19=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[7, 73, 24, 43], Operations: []
Exploring Operation: 73+24=97, Resulting Numbers: [7, 43, 97]
Generated Node #0,0: 99:[7, 43, 97] Operation: 73+24=97
Exploring Operation: 73-43=30, Resulting Numbers: [7, 24, 30]
Generated Node #0,1: 99:[7, 24, 30] Operation: 73-43=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[7, 43, 97], Operations: ['73+24=97']
Exploring Operation: 7+97=104, Resulting Numbers: [43, 104]
Generated Node #0,0,0: 99:[43, 104] Operation: 7+97=104
Exploring Operation: 43-7=36, Resulting Numbers: [97, 36]
Generated Node #0,0,1: 99:[97, 36] Operation: 43-7=36
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 99:[97, 36], Operations: ['73+24=97', '43-7=36']
Exploring Operation: 97-36=61, Resulting Numbers: [61]
61,99 unequal: No Solution
Exploring Operation: 97+36=133, Resulting Numbers: [133]
133,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[43, 104], Operations: ['73+24=97', '7+97=104']
Exploring Operation: 43+104=147, Resulting Numbers: [147]
147,99 unequal: No Solution
Exploring Operation: 104-43=61, Resulting Numbers: [61]
61,99 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: 99:[7, 24, 30], Operations: ['73-43=30']
Exploring Operation: 7+24=31, Resulting Numbers: [30, 31]
Generated Node #0,1,0: 99:[30, 31] Operation: 7+24=31
Exploring Operation: 30-24=6, Resulting Numbers: [7, 6]
Generated Node #0,1,1: 99:[7, 6] Operation: 30-24=6
Moving to Node #0,1,0
Current State: 99:[30, 31], Operations: ['73-43=30', '7+24=31']
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,99 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[7, 6], Operations: ['73-43=30', '30-24=6']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,99 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 |
[
61,
38,
59,
61
] | 98 | [
"61/61=1",
"38+59=97",
"1+97=98"
] | Current State: 98:[61, 38, 59, 61], Operations: []
Exploring Operation: 61/61=1, Resulting Numbers: [38, 59, 1]
Generated Node #2: [38, 59, 1] from Operation: 61/61=1
Current State: 98:[38, 59, 1], Operations: ['61/61=1']
Exploring Operation: 38+59=97, Resulting Numbers: [1, 97]
Generated Node #3: [1, 97] from Operation: 38+59=97
Current State: 98:[1, 97], Operations: ['61/61=1', '38+59=97']
Exploring Operation: 1+97=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[61, 38, 59, 61], Operations: []
Exploring Operation: 61-61=0, Resulting Numbers: [38, 59, 0]
Generated Node #0,0: 98:[38, 59, 0] Operation: 61-61=0
Exploring Operation: 61/61=1, Resulting Numbers: [38, 59, 1]
Generated Node #0,1: 98:[38, 59, 1] Operation: 61/61=1
Exploring Operation: 61-59=2, Resulting Numbers: [38, 61, 2]
Generated Node #0,2: 98:[38, 61, 2] Operation: 61-59=2
Exploring Operation: 61+38=99, Resulting Numbers: [59, 61, 99]
Generated Node #0,3: 98:[59, 61, 99] Operation: 61+38=99
Exploring Operation: 38+61=99, Resulting Numbers: [61, 59, 99]
Generated Node #0,4: 98:[61, 59, 99] Operation: 38+61=99
Moving to Node #0,1
Current State: 98:[38, 59, 1], Operations: ['61/61=1']
Exploring Operation: 38*1=38, Resulting Numbers: [59, 38]
Generated Node #0,1,0: 98:[59, 38] Operation: 38*1=38
Exploring Operation: 59-38=21, Resulting Numbers: [1, 21]
Generated Node #0,1,1: 98:[1, 21] Operation: 59-38=21
Exploring Operation: 38+1=39, Resulting Numbers: [59, 39]
Generated Node #0,1,2: 98:[59, 39] Operation: 38+1=39
Exploring Operation: 38+59=97, Resulting Numbers: [1, 97]
Generated Node #0,1,3: 98:[1, 97] Operation: 38+59=97
Exploring Operation: 59-1=58, Resulting Numbers: [38, 58]
Generated Node #0,1,4: 98:[38, 58] Operation: 59-1=58
Moving to Node #0,2
Current State: 98:[38, 61, 2], Operations: ['61-59=2']
Exploring Operation: 38+2=40, Resulting Numbers: [61, 40]
Generated Node #0,2,0: 98:[61, 40] Operation: 38+2=40
Exploring Operation: 38/2=19, Resulting Numbers: [61, 19]
Generated Node #0,2,1: 98:[61, 19] Operation: 38/2=19
Exploring Operation: 61-2=59, Resulting Numbers: [38, 59]
Generated Node #0,2,2: 98:[38, 59] Operation: 61-2=59
Exploring Operation: 38+61=99, Resulting Numbers: [2, 99]
Generated Node #0,2,3: 98:[2, 99] Operation: 38+61=99
Exploring Operation: 61-38=23, Resulting Numbers: [2, 23]
Generated Node #0,2,4: 98:[2, 23] Operation: 61-38=23
Moving to Node #0,4
Current State: 98:[61, 59, 99], Operations: ['38+61=99']
Exploring Operation: 99-61=38, Resulting Numbers: [59, 38]
Generated Node #0,4,0: 98:[59, 38] Operation: 99-61=38
Exploring Operation: 61+99=160, Resulting Numbers: [59, 160]
Generated Node #0,4,1: 98:[59, 160] Operation: 61+99=160
Exploring Operation: 61-59=2, Resulting Numbers: [99, 2]
Generated Node #0,4,2: 98:[99, 2] Operation: 61-59=2
Exploring Operation: 99-59=40, Resulting Numbers: [61, 40]
Generated Node #0,4,3: 98:[61, 40] Operation: 99-59=40
Exploring Operation: 61+59=120, Resulting Numbers: [99, 120]
Generated Node #0,4,4: 98:[99, 120] Operation: 61+59=120
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 98:[99, 2], Operations: ['38+61=99', '61-59=2']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Exploring Operation: 99+2=101, Resulting Numbers: [101]
101,98 unequal: No Solution
Exploring Operation: 99*2=198, Resulting Numbers: [198]
198,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,4,0
Current State: 98:[59, 38], Operations: ['38+61=99', '99-61=38']
Exploring Operation: 59-38=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 59+38=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Exploring Operation: 59*38=2242, Resulting Numbers: [2242]
2242,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,4,3
Current State: 98:[61, 40], Operations: ['38+61=99', '99-59=40']
Exploring Operation: 61+40=101, Resulting Numbers: [101]
101,98 unequal: No Solution
Exploring Operation: 61*40=2440, Resulting Numbers: [2440]
2440,98 unequal: No Solution
Exploring Operation: 61-40=21, Resulting Numbers: [21]
21,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,4,4
Current State: 98:[99, 120], Operations: ['38+61=99', '61+59=120']
Exploring Operation: 99*120=11880, Resulting Numbers: [11880]
11880,98 unequal: No Solution
Exploring Operation: 99+120=219, Resulting Numbers: [219]
219,98 unequal: No Solution
Exploring Operation: 120-99=21, Resulting Numbers: [21]
21,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,4,1
Current State: 98:[59, 160], Operations: ['38+61=99', '61+99=160']
Exploring Operation: 160-59=101, Resulting Numbers: [101]
101,98 unequal: No Solution
Exploring Operation: 59+160=219, Resulting Numbers: [219]
219,98 unequal: No Solution
Exploring Operation: 59*160=9440, Resulting Numbers: [9440]
9440,98 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: 98:[38, 59, 0], Operations: ['61-61=0']
Exploring Operation: 59-38=21, Resulting Numbers: [0, 21]
Generated Node #0,0,0: 98:[0, 21] Operation: 59-38=21
Exploring Operation: 59*0=0, Resulting Numbers: [38, 0]
Generated Node #0,0,1: 98:[38, 0] Operation: 59*0=0
Exploring Operation: 38+0=38, Resulting Numbers: [59, 38]
Generated Node #0,0,2: 98:[59, 38] Operation: 38+0=38
Exploring Operation: 38+59=97, Resulting Numbers: [0, 97]
Generated Node #0,0,3: 98:[0, 97] Operation: 38+59=97
Exploring Operation: 38*0=0, Resulting Numbers: [59, 0]
Generated Node #0,0,4: 98:[59, 0] Operation: 38*0=0
Moving to Node #0,3
Current State: 98:[59, 61, 99], Operations: ['61+38=99']
Exploring Operation: 99-61=38, Resulting Numbers: [59, 38]
Generated Node #0,3,0: 98:[59, 38] Operation: 99-61=38
Exploring Operation: 59+61=120, Resulting Numbers: [99, 120]
Generated Node #0,3,1: 98:[99, 120] Operation: 59+61=120
Exploring Operation: 59+99=158, Resulting Numbers: [61, 158]
Generated Node #0,3,2: 98:[61, 158] Operation: 59+99=158
Exploring Operation: 61-59=2, Resulting Numbers: [99, 2]
Generated Node #0,3,3: 98:[99, 2] Operation: 61-59=2
Exploring Operation: 99-59=40, Resulting Numbers: [61, 40]
Generated Node #0,3,4: 98:[61, 40] Operation: 99-59=40
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 98:[99, 2], Operations: ['61+38=99', '61-59=2']
Exploring Operation: 99+2=101, Resulting Numbers: [101]
101,98 unequal: No Solution
Exploring Operation: 99*2=198, Resulting Numbers: [198]
198,98 unequal: No Solution
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,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,3,0
Current State: 98:[59, 38], Operations: ['61+38=99', '99-61=38']
Exploring Operation: 59*38=2242, Resulting Numbers: [2242]
2242,98 unequal: No Solution
Exploring Operation: 59-38=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 59+38=97, Resulting Numbers: [97]
97,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,3,4
Current State: 98:[61, 40], Operations: ['61+38=99', '99-59=40']
Exploring Operation: 61*40=2440, Resulting Numbers: [2440]
2440,98 unequal: No Solution
Exploring Operation: 61+40=101, Resulting Numbers: [101]
101,98 unequal: No Solution
Exploring Operation: 61-40=21, Resulting Numbers: [21]
21,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,3,1
Current State: 98:[99, 120], Operations: ['61+38=99', '59+61=120']
Exploring Operation: 99+120=219, Resulting Numbers: [219]
219,98 unequal: No Solution
Exploring Operation: 99*120=11880, Resulting Numbers: [11880]
11880,98 unequal: No Solution
Exploring Operation: 120-99=21, Resulting Numbers: [21]
21,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,3,2
Current State: 98:[61, 158], Operations: ['61+38=99', '59+99=158']
Exploring Operation: 61+158=219, Resulting Numbers: [219]
219,98 unequal: No Solution
Exploring Operation: 158-61=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Exploring Operation: 61*158=9638, Resulting Numbers: [9638]
9638,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 98:[2, 99], Operations: ['61-59=2', '38+61=99']
Exploring Operation: 2+99=101, Resulting Numbers: [101]
101,98 unequal: No Solution
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Exploring Operation: 2*99=198, Resulting Numbers: [198]
198,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[1, 97], Operations: ['61/61=1', '38+59=97']
Exploring Operation: 1*97=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Exploring Operation: 1+97=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[61, 38, 59, 61], Operations: []
Exploring Operation: 61/61=1, Resulting Numbers: [38, 59, 1]
Generated Node #0,1: 98:[38, 59, 1] Operation: 61/61=1
Moving to Node #0,1
Current State: 98:[38, 59, 1], Operations: ['61/61=1']
Exploring Operation: 38+59=97, Resulting Numbers: [1, 97]
Generated Node #0,1,3: 98:[1, 97] Operation: 38+59=97
Moving to Node #0,1,3
Current State: 98:[1, 97], Operations: ['61/61=1', '38+59=97']
Exploring Operation: 1+97=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.939236 | hs_5 | sum_heuristic |
[
2,
82,
60,
81
] | 29 | [
"60/2=30",
"82-81=1",
"30-1=29"
] | Current State: 29:[2, 82, 60, 81], Operations: []
Exploring Operation: 60/2=30, Resulting Numbers: [82, 81, 30]
Generated Node #2: [82, 81, 30] from Operation: 60/2=30
Current State: 29:[82, 81, 30], Operations: ['60/2=30']
Exploring Operation: 82-81=1, Resulting Numbers: [30, 1]
Generated Node #3: [30, 1] from Operation: 82-81=1
Current State: 29:[30, 1], Operations: ['60/2=30', '82-81=1']
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[2, 82, 60, 81], Operations: []
Exploring Operation: 82-60=22, Resulting Numbers: [2, 81, 22]
Generated Node #0,0: 29:[2, 81, 22] Operation: 82-60=22
Exploring Operation: 82-81=1, Resulting Numbers: [2, 60, 1]
Generated Node #0,1: 29:[2, 60, 1] Operation: 82-81=1
Moving to Node #0,0
Current State: 29:[2, 81, 22], Operations: ['82-60=22']
Exploring Operation: 81-2=79, Resulting Numbers: [22, 79]
Generated Node #0,0,0: 29:[22, 79] Operation: 81-2=79
Exploring Operation: 2+22=24, Resulting Numbers: [81, 24]
Generated Node #0,0,1: 29:[81, 24] Operation: 2+22=24
Moving to Node #0,1
Current State: 29:[2, 60, 1], Operations: ['82-81=1']
Exploring Operation: 60/2=30, Resulting Numbers: [1, 30]
Generated Node #0,1,0: 29:[1, 30] Operation: 60/2=30
Exploring Operation: 60-2=58, Resulting Numbers: [1, 58]
Generated Node #0,1,1: 29:[1, 58] Operation: 60-2=58
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[1, 30], Operations: ['82-81=1', '60/2=30']
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[2, 82, 60, 81], Operations: []
Exploring Operation: 82-81=1, Resulting Numbers: [2, 60, 1]
Generated Node #0,1: 29:[2, 60, 1] Operation: 82-81=1
Moving to Node #0,1
Current State: 29:[2, 60, 1], Operations: ['82-81=1']
Exploring Operation: 60/2=30, Resulting Numbers: [1, 30]
Generated Node #0,1,0: 29:[1, 30] Operation: 60/2=30
Moving to Node #0,1,0
Current State: 29:[1, 30], Operations: ['82-81=1', '60/2=30']
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
87,
59,
17,
52
] | 61 | [
"87+17=104",
"104/52=2",
"59+2=61"
] | Current State: 61:[87, 59, 17, 52], Operations: []
Exploring Operation: 87+17=104, Resulting Numbers: [59, 52, 104]
Generated Node #2: [59, 52, 104] from Operation: 87+17=104
Current State: 61:[59, 52, 104], Operations: ['87+17=104']
Exploring Operation: 104/52=2, Resulting Numbers: [59, 2]
Generated Node #3: [59, 2] from Operation: 104/52=2
Current State: 61:[59, 2], Operations: ['87+17=104', '104/52=2']
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[87, 59, 17, 52], Operations: []
Exploring Operation: 17+52=69, Resulting Numbers: [87, 59, 69]
Generated Node #0,0: 61:[87, 59, 69] Operation: 17+52=69
Exploring Operation: 87-17=70, Resulting Numbers: [59, 52, 70]
Generated Node #0,1: 61:[59, 52, 70] Operation: 87-17=70
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[59, 52, 70], Operations: ['87-17=70']
Exploring Operation: 70-52=18, Resulting Numbers: [59, 18]
Generated Node #0,1,0: 61:[59, 18] Operation: 70-52=18
Exploring Operation: 59+52=111, Resulting Numbers: [70, 111]
Generated Node #0,1,1: 61:[70, 111] Operation: 59+52=111
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[59, 18], Operations: ['87-17=70', '70-52=18']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,61 unequal: No Solution
Exploring Operation: 59+18=77, Resulting Numbers: [77]
77,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[70, 111], Operations: ['87-17=70', '59+52=111']
Exploring Operation: 70+111=181, Resulting Numbers: [181]
181,61 unequal: No Solution
Exploring Operation: 111-70=41, Resulting Numbers: [41]
41,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[87, 59, 69], Operations: ['17+52=69']
Exploring Operation: 87-69=18, Resulting Numbers: [59, 18]
Generated Node #0,0,0: 61:[59, 18] Operation: 87-69=18
Exploring Operation: 87-59=28, Resulting Numbers: [69, 28]
Generated Node #0,0,1: 61:[69, 28] Operation: 87-59=28
Moving to Node #0,0,1
Current State: 61:[69, 28], Operations: ['17+52=69', '87-59=28']
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,61 unequal: No Solution
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[59, 18], Operations: ['17+52=69', '87-69=18']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,61 unequal: No Solution
Exploring Operation: 59+18=77, Resulting Numbers: [77]
77,61 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 |
[
87,
29,
26,
45
] | 74 | [
"87/29=3",
"26+45=71",
"3+71=74"
] | Current State: 74:[87, 29, 26, 45], Operations: []
Exploring Operation: 87/29=3, Resulting Numbers: [26, 45, 3]
Generated Node #2: [26, 45, 3] from Operation: 87/29=3
Current State: 74:[26, 45, 3], Operations: ['87/29=3']
Exploring Operation: 26+45=71, Resulting Numbers: [3, 71]
Generated Node #3: [3, 71] from Operation: 26+45=71
Current State: 74:[3, 71], Operations: ['87/29=3', '26+45=71']
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[87, 29, 26, 45], Operations: []
Exploring Operation: 87/29=3, Resulting Numbers: [26, 45, 3]
Generated Node #0,0: 74:[26, 45, 3] Operation: 87/29=3
Exploring Operation: 29-26=3, Resulting Numbers: [87, 45, 3]
Generated Node #0,1: 74:[87, 45, 3] Operation: 29-26=3
Exploring Operation: 29+45=74, Resulting Numbers: [87, 26, 74]
Generated Node #0,2: 74:[87, 26, 74] Operation: 29+45=74
Exploring Operation: 87-45=42, Resulting Numbers: [29, 26, 42]
Generated Node #0,3: 74:[29, 26, 42] Operation: 87-45=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[26, 45, 3], Operations: ['87/29=3']
Exploring Operation: 45-3=42, Resulting Numbers: [26, 42]
Generated Node #0,0,0: 74:[26, 42] Operation: 45-3=42
Exploring Operation: 26+45=71, Resulting Numbers: [3, 71]
Generated Node #0,0,1: 74:[3, 71] Operation: 26+45=71
Exploring Operation: 26*3=78, Resulting Numbers: [45, 78]
Generated Node #0,0,2: 74:[45, 78] Operation: 26*3=78
Exploring Operation: 26+3=29, Resulting Numbers: [45, 29]
Generated Node #0,0,3: 74:[45, 29] Operation: 26+3=29
Moving to Node #0,0,1
Current State: 74:[3, 71], Operations: ['87/29=3', '26+45=71']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,74 unequal: No Solution
Exploring Operation: 3*71=213, Resulting Numbers: [213]
213,74 unequal: No Solution
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[87, 29, 26, 45], Operations: []
Exploring Operation: 87/29=3, Resulting Numbers: [26, 45, 3]
Generated Node #0,0: 74:[26, 45, 3] Operation: 87/29=3
Moving to Node #0,0
Current State: 74:[26, 45, 3], Operations: ['87/29=3']
Exploring Operation: 26+45=71, Resulting Numbers: [3, 71]
Generated Node #0,0,1: 74:[3, 71] Operation: 26+45=71
Moving to Node #0,0,1
Current State: 74:[3, 71], Operations: ['87/29=3', '26+45=71']
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
5,
86,
24,
90
] | 40 | [
"86+24=110",
"90+110=200",
"200/5=40"
] | Current State: 40:[5, 86, 24, 90], Operations: []
Exploring Operation: 86+24=110, Resulting Numbers: [5, 90, 110]
Generated Node #2: [5, 90, 110] from Operation: 86+24=110
Current State: 40:[5, 90, 110], Operations: ['86+24=110']
Exploring Operation: 90+110=200, Resulting Numbers: [5, 200]
Generated Node #3: [5, 200] from Operation: 90+110=200
Current State: 40:[5, 200], Operations: ['86+24=110', '90+110=200']
Exploring Operation: 200/5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[5, 86, 24, 90], Operations: []
Exploring Operation: 90/5=18, Resulting Numbers: [86, 24, 18]
Generated Node #0,0: 40:[86, 24, 18] Operation: 90/5=18
Exploring Operation: 90-86=4, Resulting Numbers: [5, 24, 4]
Generated Node #0,1: 40:[5, 24, 4] Operation: 90-86=4
Moving to Node #0,1
Current State: 40:[5, 24, 4], Operations: ['90-86=4']
Exploring Operation: 24-4=20, Resulting Numbers: [5, 20]
Generated Node #0,1,0: 40:[5, 20] Operation: 24-4=20
Exploring Operation: 24-5=19, Resulting Numbers: [4, 19]
Generated Node #0,1,1: 40:[4, 19] Operation: 24-5=19
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[5, 20], Operations: ['90-86=4', '24-4=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,40 unequal: No Solution
No 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: 40:[4, 19], Operations: ['90-86=4', '24-5=19']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,40 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: 40:[86, 24, 18], Operations: ['90/5=18']
Exploring Operation: 86-24=62, Resulting Numbers: [18, 62]
Generated Node #0,0,0: 40:[18, 62] Operation: 86-24=62
Exploring Operation: 86-18=68, Resulting Numbers: [24, 68]
Generated Node #0,0,1: 40:[24, 68] Operation: 86-18=68
Moving to Node #0,0,0
Current State: 40:[18, 62], Operations: ['90/5=18', '86-24=62']
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,40 unequal: No Solution
Exploring Operation: 18+62=80, Resulting Numbers: [80]
80,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[24, 68], Operations: ['90/5=18', '86-18=68']
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,40 unequal: No Solution
Exploring Operation: 24+68=92, Resulting Numbers: [92]
92,40 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
58,
51,
63,
11
] | 62 | [
"58+63=121",
"121/11=11",
"51+11=62"
] | Current State: 62:[58, 51, 63, 11], Operations: []
Exploring Operation: 58+63=121, Resulting Numbers: [51, 11, 121]
Generated Node #2: [51, 11, 121] from Operation: 58+63=121
Current State: 62:[51, 11, 121], Operations: ['58+63=121']
Exploring Operation: 121/11=11, Resulting Numbers: [51, 11]
Generated Node #3: [51, 11] from Operation: 121/11=11
Current State: 62:[51, 11], Operations: ['58+63=121', '121/11=11']
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[58, 51, 63, 11], Operations: []
Exploring Operation: 51+11=62, Resulting Numbers: [58, 63, 62]
Generated Node #0,0: 62:[58, 63, 62] Operation: 51+11=62
Exploring Operation: 51-11=40, Resulting Numbers: [58, 63, 40]
Generated Node #0,1: 62:[58, 63, 40] Operation: 51-11=40
Exploring Operation: 58-51=7, Resulting Numbers: [63, 11, 7]
Generated Node #0,2: 62:[63, 11, 7] Operation: 58-51=7
Moving to Node #0,0
Current State: 62:[58, 63, 62], Operations: ['51+11=62']
Exploring Operation: 63-62=1, Resulting Numbers: [58, 1]
Generated Node #0,0,0: 62:[58, 1] Operation: 63-62=1
Exploring Operation: 63-58=5, Resulting Numbers: [62, 5]
Generated Node #0,0,1: 62:[62, 5] Operation: 63-58=5
Exploring Operation: 62-58=4, Resulting Numbers: [63, 4]
Generated Node #0,0,2: 62:[63, 4] Operation: 62-58=4
Moving to Node #0,1
Current State: 62:[58, 63, 40], Operations: ['51-11=40']
Exploring Operation: 58-40=18, Resulting Numbers: [63, 18]
Generated Node #0,1,0: 62:[63, 18] Operation: 58-40=18
Exploring Operation: 63-58=5, Resulting Numbers: [40, 5]
Generated Node #0,1,1: 62:[40, 5] Operation: 63-58=5
Exploring Operation: 63-40=23, Resulting Numbers: [58, 23]
Generated Node #0,1,2: 62:[58, 23] Operation: 63-40=23
Moving to Node #0,2
Current State: 62:[63, 11, 7], Operations: ['58-51=7']
Exploring Operation: 63-11=52, Resulting Numbers: [7, 52]
Generated Node #0,2,0: 62:[7, 52] Operation: 63-11=52
Exploring Operation: 11+7=18, Resulting Numbers: [63, 18]
Generated Node #0,2,1: 62:[63, 18] Operation: 11+7=18
Exploring Operation: 11-7=4, Resulting Numbers: [63, 4]
Generated Node #0,2,2: 62:[63, 4] Operation: 11-7=4
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 62:[63, 4], Operations: ['58-51=7', '11-7=4']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,62 unequal: No Solution
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 62:[63, 18], Operations: ['58-51=7', '11+7=18']
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 63+18=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Exploring Operation: 63*18=1134, Resulting Numbers: [1134]
1134,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[7, 52], Operations: ['58-51=7', '63-11=52']
Exploring Operation: 7*52=364, Resulting Numbers: [364]
364,62 unequal: No Solution
Exploring Operation: 7+52=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,62 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: 62:[62, 5], Operations: ['51+11=62', '63-58=5']
Exploring Operation: 62+5=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Exploring Operation: 62*5=310, Resulting Numbers: [310]
310,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[63, 4], Operations: ['51+11=62', '62-58=4']
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,62 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[58, 1], Operations: ['51+11=62', '63-62=1']
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,62 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[58, 23], Operations: ['51-11=40', '63-40=23']
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 58*23=1334, Resulting Numbers: [1334]
1334,62 unequal: No Solution
Exploring Operation: 58+23=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[40, 5], Operations: ['51-11=40', '63-58=5']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[63, 18], Operations: ['51-11=40', '58-40=18']
Exploring Operation: 63+18=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Exploring Operation: 63*18=1134, Resulting Numbers: [1134]
1134,62 unequal: No Solution
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,62 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
33,
67,
13,
13
] | 26 | [
"67*13=871",
"871-13=858",
"858/33=26"
] | Current State: 26:[33, 67, 13, 13], Operations: []
Exploring Operation: 67*13=871, Resulting Numbers: [33, 871]
Generated Node #2: [33, 871] from Operation: 67*13=871
Current State: 26:[33, 871], Operations: ['67*13=871']
Exploring Operation: 871-13=858, Resulting Numbers: [33, 858]
Generated Node #3: [33, 858] from Operation: 871-13=858
Current State: 26:[33, 858], Operations: ['67*13=871', '871-13=858']
Exploring Operation: 858/33=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[33, 67, 13, 13], Operations: []
Exploring Operation: 67-33=34, Resulting Numbers: [13, 13, 34]
Generated Node #0,0: 26:[13, 13, 34] Operation: 67-33=34
Moving to Node #0,0
Current State: 26:[13, 13, 34], Operations: ['67-33=34']
Exploring Operation: 34-13=21, Resulting Numbers: [13, 21]
Generated Node #0,0,0: 26:[13, 21] Operation: 34-13=21
Moving to Node #0,0,0
Current State: 26:[13, 21], Operations: ['67-33=34', '34-13=21']
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,26 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
9,
5,
44,
35
] | 76 | [
"44-35=9",
"9*9=81",
"81-5=76"
] | Current State: 76:[9, 5, 44, 35], Operations: []
Exploring Operation: 44-35=9, Resulting Numbers: [9, 5, 9]
Generated Node #2: [9, 5, 9] from Operation: 44-35=9
Current State: 76:[9, 5, 9], Operations: ['44-35=9']
Exploring Operation: 9*9=81, Resulting Numbers: [5, 81]
Generated Node #3: [5, 81] from Operation: 9*9=81
Current State: 76:[5, 81], Operations: ['44-35=9', '9*9=81']
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[9, 5, 44, 35], Operations: []
Exploring Operation: 44-9=35, Resulting Numbers: [5, 35, 35]
Generated Node #0,0: 76:[5, 35, 35] Operation: 44-9=35
Moving to Node #0,0
Current State: 76:[5, 35, 35], Operations: ['44-9=35']
Exploring Operation: 35/35=1, Resulting Numbers: [5, 1]
Generated Node #0,0,0: 76:[5, 1] Operation: 35/35=1
Moving to Node #0,0,0
Current State: 76:[5, 1], Operations: ['44-9=35', '35/35=1']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,76 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
84,
3,
48,
9
] | 60 | [
"48/3=16",
"9*16=144",
"144-84=60"
] | Current State: 60:[84, 3, 48, 9], Operations: []
Exploring Operation: 48/3=16, Resulting Numbers: [84, 9, 16]
Generated Node #2: [84, 9, 16] from Operation: 48/3=16
Current State: 60:[84, 9, 16], Operations: ['48/3=16']
Exploring Operation: 9*16=144, Resulting Numbers: [84, 144]
Generated Node #3: [84, 144] from Operation: 9*16=144
Current State: 60:[84, 144], Operations: ['48/3=16', '9*16=144']
Exploring Operation: 144-84=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[84, 3, 48, 9], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [48, 9, 28]
Generated Node #0,0: 60:[48, 9, 28] Operation: 84/3=28
Exploring Operation: 48/3=16, Resulting Numbers: [84, 9, 16]
Generated Node #0,1: 60:[84, 9, 16] Operation: 48/3=16
Exploring Operation: 84-48=36, Resulting Numbers: [3, 9, 36]
Generated Node #0,2: 60:[3, 9, 36] Operation: 84-48=36
Moving to Node #0,2
Current State: 60:[3, 9, 36], Operations: ['84-48=36']
Exploring Operation: 36/3=12, Resulting Numbers: [9, 12]
Generated Node #0,2,0: 60:[9, 12] Operation: 36/3=12
Exploring Operation: 36-9=27, Resulting Numbers: [3, 27]
Generated Node #0,2,1: 60:[3, 27] Operation: 36-9=27
Exploring Operation: 36/9=4, Resulting Numbers: [3, 4]
Generated Node #0,2,2: 60:[3, 4] Operation: 36/9=4
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 60:[3, 4], Operations: ['84-48=36', '36/9=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,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,0
Current State: 60:[9, 12], Operations: ['84-48=36', '36/3=12']
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,60 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,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:[3, 27], Operations: ['84-48=36', '36-9=27']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,60 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: 60:[48, 9, 28], Operations: ['84/3=28']
Exploring Operation: 48+9=57, Resulting Numbers: [28, 57]
Generated Node #0,0,0: 60:[28, 57] Operation: 48+9=57
Exploring Operation: 48-9=39, Resulting Numbers: [28, 39]
Generated Node #0,0,1: 60:[28, 39] Operation: 48-9=39
Exploring Operation: 48-28=20, Resulting Numbers: [9, 20]
Generated Node #0,0,2: 60:[9, 20] Operation: 48-28=20
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 60:[9, 20], Operations: ['84/3=28', '48-28=20']
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,60 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,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,0
Current State: 60:[28, 57], Operations: ['84/3=28', '48+9=57']
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 28+57=85, Resulting Numbers: [85]
85,60 unequal: No Solution
Exploring Operation: 28*57=1596, Resulting Numbers: [1596]
1596,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:[28, 39], Operations: ['84/3=28', '48-9=39']
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 28+39=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 28*39=1092, Resulting Numbers: [1092]
1092,60 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: 60:[84, 9, 16], Operations: ['48/3=16']
Exploring Operation: 84-9=75, Resulting Numbers: [16, 75]
Generated Node #0,1,0: 60:[16, 75] Operation: 84-9=75
Exploring Operation: 16-9=7, Resulting Numbers: [84, 7]
Generated Node #0,1,1: 60:[84, 7] Operation: 16-9=7
Exploring Operation: 84-16=68, Resulting Numbers: [9, 68]
Generated Node #0,1,2: 60:[9, 68] Operation: 84-16=68
Moving to Node #0,1,2
Current State: 60:[9, 68], Operations: ['48/3=16', '84-16=68']
Exploring Operation: 9+68=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 9*68=612, Resulting Numbers: [612]
612,60 unequal: No Solution
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[16, 75], Operations: ['48/3=16', '84-9=75']
Exploring Operation: 16+75=91, Resulting Numbers: [91]
91,60 unequal: No Solution
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 16*75=1200, Resulting Numbers: [1200]
1200,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[84, 7], Operations: ['48/3=16', '16-9=7']
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,60 unequal: No Solution
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,60 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
58,
55,
45,
11
] | 57 | [
"58+55=113",
"45+11=56",
"113-56=57"
] | Current State: 57:[58, 55, 45, 11], Operations: []
Exploring Operation: 58+55=113, Resulting Numbers: [45, 11, 113]
Generated Node #2: [45, 11, 113] from Operation: 58+55=113
Current State: 57:[45, 11, 113], Operations: ['58+55=113']
Exploring Operation: 45+11=56, Resulting Numbers: [113, 56]
Generated Node #3: [113, 56] from Operation: 45+11=56
Current State: 57:[113, 56], Operations: ['58+55=113', '45+11=56']
Exploring Operation: 113-56=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[58, 55, 45, 11], Operations: []
Exploring Operation: 55/11=5, Resulting Numbers: [58, 45, 5]
Generated Node #0,0: 57:[58, 45, 5] Operation: 55/11=5
Exploring Operation: 58-45=13, Resulting Numbers: [55, 11, 13]
Generated Node #0,1: 57:[55, 11, 13] Operation: 58-45=13
Exploring Operation: 45+11=56, Resulting Numbers: [58, 55, 56]
Generated Node #0,2: 57:[58, 55, 56] Operation: 45+11=56
Moving to Node #0,2
Current State: 57:[58, 55, 56], Operations: ['45+11=56']
Exploring Operation: 58-56=2, Resulting Numbers: [55, 2]
Generated Node #0,2,0: 57:[55, 2] Operation: 58-56=2
Exploring Operation: 56-55=1, Resulting Numbers: [58, 1]
Generated Node #0,2,1: 57:[58, 1] Operation: 56-55=1
Exploring Operation: 58-55=3, Resulting Numbers: [56, 3]
Generated Node #0,2,2: 57:[56, 3] Operation: 58-55=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 57:[56, 3], Operations: ['45+11=56', '58-55=3']
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,57 unequal: No Solution
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 57:[55, 2], Operations: ['45+11=56', '58-56=2']
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[58, 55, 45, 11], Operations: []
Exploring Operation: 45+11=56, Resulting Numbers: [58, 55, 56]
Generated Node #0,2: 57:[58, 55, 56] Operation: 45+11=56
Moving to Node #0,2
Current State: 57:[58, 55, 56], Operations: ['45+11=56']
Exploring Operation: 58-56=2, Resulting Numbers: [55, 2]
Generated Node #0,2,0: 57:[55, 2] Operation: 58-56=2
Moving to Node #0,2,0
Current State: 57:[55, 2], Operations: ['45+11=56', '58-56=2']
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
5,
23,
3,
68
] | 62 | [
"23-5=18",
"18/3=6",
"68-6=62"
] | Current State: 62:[5, 23, 3, 68], Operations: []
Exploring Operation: 23-5=18, Resulting Numbers: [3, 68, 18]
Generated Node #2: [3, 68, 18] from Operation: 23-5=18
Current State: 62:[3, 68, 18], Operations: ['23-5=18']
Exploring Operation: 18/3=6, Resulting Numbers: [68, 6]
Generated Node #3: [68, 6] from Operation: 18/3=6
Current State: 62:[68, 6], Operations: ['23-5=18', '18/3=6']
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[5, 23, 3, 68], Operations: []
Exploring Operation: 5-3=2, Resulting Numbers: [23, 68, 2]
Generated Node #0,0: 62:[23, 68, 2] Operation: 5-3=2
Exploring Operation: 68-5=63, Resulting Numbers: [23, 3, 63]
Generated Node #0,1: 62:[23, 3, 63] Operation: 68-5=63
Exploring Operation: 5+23=28, Resulting Numbers: [3, 68, 28]
Generated Node #0,2: 62:[3, 68, 28] Operation: 5+23=28
Exploring Operation: 23+3=26, Resulting Numbers: [5, 68, 26]
Generated Node #0,3: 62:[5, 68, 26] Operation: 23+3=26
Moving to Node #0,1
Current State: 62:[23, 3, 63], Operations: ['68-5=63']
Exploring Operation: 63-3=60, Resulting Numbers: [23, 60]
Generated Node #0,1,0: 62:[23, 60] Operation: 63-3=60
Exploring Operation: 23+3=26, Resulting Numbers: [63, 26]
Generated Node #0,1,1: 62:[63, 26] Operation: 23+3=26
Exploring Operation: 63-23=40, Resulting Numbers: [3, 40]
Generated Node #0,1,2: 62:[3, 40] Operation: 63-23=40
Exploring Operation: 23*3=69, Resulting Numbers: [63, 69]
Generated Node #0,1,3: 62:[63, 69] Operation: 23*3=69
Moving to Node #0,2
Current State: 62:[3, 68, 28], Operations: ['5+23=28']
Exploring Operation: 3+68=71, Resulting Numbers: [28, 71]
Generated Node #0,2,0: 62:[28, 71] Operation: 3+68=71
Exploring Operation: 3+28=31, Resulting Numbers: [68, 31]
Generated Node #0,2,1: 62:[68, 31] Operation: 3+28=31
Exploring Operation: 68-3=65, Resulting Numbers: [28, 65]
Generated Node #0,2,2: 62:[28, 65] Operation: 68-3=65
Exploring Operation: 68-28=40, Resulting Numbers: [3, 40]
Generated Node #0,2,3: 62:[3, 40] Operation: 68-28=40
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 62:[68, 31], Operations: ['5+23=28', '3+28=31']
Exploring Operation: 68-31=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 68+31=99, Resulting Numbers: [99]
99,62 unequal: No Solution
Exploring Operation: 68*31=2108, Resulting Numbers: [2108]
2108,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 62:[28, 65], Operations: ['5+23=28', '68-3=65']
Exploring Operation: 28*65=1820, Resulting Numbers: [1820]
1820,62 unequal: No Solution
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 28+65=93, Resulting Numbers: [93]
93,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 62:[3, 40], Operations: ['5+23=28', '68-28=40']
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,62 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[28, 71], Operations: ['5+23=28', '3+68=71']
Exploring Operation: 28*71=1988, Resulting Numbers: [1988]
1988,62 unequal: No Solution
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 28+71=99, Resulting Numbers: [99]
99,62 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: 62:[5, 68, 26], Operations: ['23+3=26']
Exploring Operation: 68-5=63, Resulting Numbers: [26, 63]
Generated Node #0,3,0: 62:[26, 63] Operation: 68-5=63
Exploring Operation: 5+26=31, Resulting Numbers: [68, 31]
Generated Node #0,3,1: 62:[68, 31] Operation: 5+26=31
Exploring Operation: 68-26=42, Resulting Numbers: [5, 42]
Generated Node #0,3,2: 62:[5, 42] Operation: 68-26=42
Exploring Operation: 5+68=73, Resulting Numbers: [26, 73]
Generated Node #0,3,3: 62:[26, 73] Operation: 5+68=73
Moving to Node #0,0
Current State: 62:[23, 68, 2], Operations: ['5-3=2']
Exploring Operation: 23+2=25, Resulting Numbers: [68, 25]
Generated Node #0,0,0: 62:[68, 25] Operation: 23+2=25
Exploring Operation: 68-2=66, Resulting Numbers: [23, 66]
Generated Node #0,0,1: 62:[23, 66] Operation: 68-2=66
Exploring Operation: 68-23=45, Resulting Numbers: [2, 45]
Generated Node #0,0,2: 62:[2, 45] Operation: 68-23=45
Exploring Operation: 68/2=34, Resulting Numbers: [23, 34]
Generated Node #0,0,3: 62:[23, 34] Operation: 68/2=34
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 62:[23, 34], Operations: ['5-3=2', '68/2=34']
Exploring Operation: 23*34=782, Resulting Numbers: [782]
782,62 unequal: No Solution
Exploring Operation: 23+34=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[68, 25], Operations: ['5-3=2', '23+2=25']
Exploring Operation: 68*25=1700, Resulting Numbers: [1700]
1700,62 unequal: No Solution
Exploring Operation: 68+25=93, Resulting Numbers: [93]
93,62 unequal: No Solution
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[23, 66], Operations: ['5-3=2', '68-2=66']
Exploring Operation: 23+66=89, Resulting Numbers: [89]
89,62 unequal: No Solution
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 23*66=1518, Resulting Numbers: [1518]
1518,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[2, 45], Operations: ['5-3=2', '68-23=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,62 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,62 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 62:[63, 26], Operations: ['68-5=63', '23+3=26']
Exploring Operation: 63+26=89, Resulting Numbers: [89]
89,62 unequal: No Solution
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 63*26=1638, Resulting Numbers: [1638]
1638,62 unequal: No Solution
Moving to Node #0,3,1
Current State: 62:[68, 31], Operations: ['23+3=26', '5+26=31']
Exploring Operation: 68-31=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 68*31=2108, Resulting Numbers: [2108]
2108,62 unequal: No Solution
Exploring Operation: 68+31=99, Resulting Numbers: [99]
99,62 unequal: No Solution
Moving to Node #0,3,0
Current State: 62:[26, 63], Operations: ['23+3=26', '68-5=63']
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 26+63=89, Resulting Numbers: [89]
89,62 unequal: No Solution
Exploring Operation: 26*63=1638, Resulting Numbers: [1638]
1638,62 unequal: No Solution
Moving to Node #0,1,3
Current State: 62:[63, 69], Operations: ['68-5=63', '23*3=69']
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Exploring Operation: 63+69=132, Resulting Numbers: [132]
132,62 unequal: No Solution
Exploring Operation: 63*69=4347, Resulting Numbers: [4347]
4347,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[23, 60], Operations: ['68-5=63', '63-3=60']
Exploring Operation: 23*60=1380, Resulting Numbers: [1380]
1380,62 unequal: No Solution
Exploring Operation: 23+60=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[3, 40], Operations: ['68-5=63', '63-23=40']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[5, 42], Operations: ['23+3=26', '68-26=42']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 5*42=210, Resulting Numbers: [210]
210,62 unequal: No Solution
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[26, 73], Operations: ['23+3=26', '5+68=73']
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,62 unequal: No Solution
Exploring Operation: 26*73=1898, Resulting Numbers: [1898]
1898,62 unequal: No Solution
Exploring Operation: 26+73=99, Resulting Numbers: [99]
99,62 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
4,
72,
8,
46
] | 41 | [
"4+46=50",
"72/8=9",
"50-9=41"
] | Current State: 41:[4, 72, 8, 46], Operations: []
Exploring Operation: 4+46=50, Resulting Numbers: [72, 8, 50]
Generated Node #2: [72, 8, 50] from Operation: 4+46=50
Current State: 41:[72, 8, 50], Operations: ['4+46=50']
Exploring Operation: 72/8=9, Resulting Numbers: [50, 9]
Generated Node #3: [50, 9] from Operation: 72/8=9
Current State: 41:[50, 9], Operations: ['4+46=50', '72/8=9']
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[4, 72, 8, 46], Operations: []
Exploring Operation: 72/4=18, Resulting Numbers: [8, 46, 18]
Generated Node #0,0: 41:[8, 46, 18] Operation: 72/4=18
Exploring Operation: 72-4=68, Resulting Numbers: [8, 46, 68]
Generated Node #0,1: 41:[8, 46, 68] Operation: 72-4=68
Exploring Operation: 4*8=32, Resulting Numbers: [72, 46, 32]
Generated Node #0,2: 41:[72, 46, 32] Operation: 4*8=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[72, 46, 32], Operations: ['4*8=32']
Exploring Operation: 72-46=26, Resulting Numbers: [32, 26]
Generated Node #0,2,0: 41:[32, 26] Operation: 72-46=26
Exploring Operation: 72-32=40, Resulting Numbers: [46, 40]
Generated Node #0,2,1: 41:[46, 40] Operation: 72-32=40
Exploring Operation: 46-32=14, Resulting Numbers: [72, 14]
Generated Node #0,2,2: 41:[72, 14] Operation: 46-32=14
Moving to Node #0,2,1
Current State: 41:[46, 40], Operations: ['4*8=32', '72-32=40']
Exploring Operation: 46*40=1840, Resulting Numbers: [1840]
1840,41 unequal: No Solution
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 46+40=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[32, 26], Operations: ['4*8=32', '72-46=26']
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 32*26=832, Resulting Numbers: [832]
832,41 unequal: No Solution
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[72, 14], Operations: ['4*8=32', '46-32=14']
Exploring Operation: 72-14=58, Resulting Numbers: [58]
58,41 unequal: No Solution
Exploring Operation: 72*14=1008, Resulting Numbers: [1008]
1008,41 unequal: No Solution
Exploring Operation: 72+14=86, Resulting Numbers: [86]
86,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[8, 46, 18], Operations: ['72/4=18']
Exploring Operation: 8+46=54, Resulting Numbers: [18, 54]
Generated Node #0,0,0: 41:[18, 54] Operation: 8+46=54
Exploring Operation: 46-8=38, Resulting Numbers: [18, 38]
Generated Node #0,0,1: 41:[18, 38] Operation: 46-8=38
Exploring Operation: 8+18=26, Resulting Numbers: [46, 26]
Generated Node #0,0,2: 41:[46, 26] Operation: 8+18=26
Moving to Node #0,0,2
Current State: 41:[46, 26], Operations: ['72/4=18', '8+18=26']
Exploring Operation: 46+26=72, Resulting Numbers: [72]
72,41 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 46*26=1196, Resulting Numbers: [1196]
1196,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[18, 38], Operations: ['72/4=18', '46-8=38']
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 18*38=684, Resulting Numbers: [684]
684,41 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[18, 54], Operations: ['72/4=18', '8+46=54']
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,41 unequal: No Solution
Exploring Operation: 18+54=72, Resulting Numbers: [72]
72,41 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[8, 46, 68], Operations: ['72-4=68']
Exploring Operation: 8+46=54, Resulting Numbers: [68, 54]
Generated Node #0,1,0: 41:[68, 54] Operation: 8+46=54
Exploring Operation: 68-8=60, Resulting Numbers: [46, 60]
Generated Node #0,1,1: 41:[46, 60] Operation: 68-8=60
Exploring Operation: 46-8=38, Resulting Numbers: [68, 38]
Generated Node #0,1,2: 41:[68, 38] Operation: 46-8=38
Moving to Node #0,1,1
Current State: 41:[46, 60], Operations: ['72-4=68', '68-8=60']
Exploring Operation: 46*60=2760, Resulting Numbers: [2760]
2760,41 unequal: No Solution
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 46+60=106, Resulting Numbers: [106]
106,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[68, 38], Operations: ['72-4=68', '46-8=38']
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 68*38=2584, Resulting Numbers: [2584]
2584,41 unequal: No Solution
Exploring Operation: 68+38=106, Resulting Numbers: [106]
106,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[68, 54], Operations: ['72-4=68', '8+46=54']
Exploring Operation: 68*54=3672, Resulting Numbers: [3672]
3672,41 unequal: No Solution
Exploring Operation: 68+54=122, Resulting Numbers: [122]
122,41 unequal: No Solution
Exploring Operation: 68-54=14, Resulting Numbers: [14]
14,41 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 |
[
35,
73,
9,
2
] | 94 | [
"73-35=38",
"9+38=47",
"2*47=94"
] | Current State: 94:[35, 73, 9, 2], Operations: []
Exploring Operation: 73-35=38, Resulting Numbers: [9, 2, 38]
Generated Node #2: [9, 2, 38] from Operation: 73-35=38
Current State: 94:[9, 2, 38], Operations: ['73-35=38']
Exploring Operation: 9+38=47, Resulting Numbers: [2, 47]
Generated Node #3: [2, 47] from Operation: 9+38=47
Current State: 94:[2, 47], Operations: ['73-35=38', '9+38=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[35, 73, 9, 2], Operations: []
Exploring Operation: 73-35=38, Resulting Numbers: [9, 2, 38]
Generated Node #0,0: 94:[9, 2, 38] Operation: 73-35=38
Exploring Operation: 35+9=44, Resulting Numbers: [73, 2, 44]
Generated Node #0,1: 94:[73, 2, 44] Operation: 35+9=44
Exploring Operation: 35+73=108, Resulting Numbers: [9, 2, 108]
Generated Node #0,2: 94:[9, 2, 108] Operation: 35+73=108
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[9, 2, 38], Operations: ['73-35=38']
Exploring Operation: 9+38=47, Resulting Numbers: [2, 47]
Generated Node #0,0,0: 94:[2, 47] Operation: 9+38=47
Exploring Operation: 2+38=40, Resulting Numbers: [9, 40]
Generated Node #0,0,1: 94:[9, 40] Operation: 2+38=40
Exploring Operation: 9-2=7, Resulting Numbers: [38, 7]
Generated Node #0,0,2: 94:[38, 7] Operation: 9-2=7
Moving to Node #0,0,0
Current State: 94:[2, 47], Operations: ['73-35=38', '9+38=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[35, 73, 9, 2], Operations: []
Exploring Operation: 73-35=38, Resulting Numbers: [9, 2, 38]
Generated Node #0,0: 94:[9, 2, 38] Operation: 73-35=38
Moving to Node #0,0
Current State: 94:[9, 2, 38], Operations: ['73-35=38']
Exploring Operation: 9+38=47, Resulting Numbers: [2, 47]
Generated Node #0,0,0: 94:[2, 47] Operation: 9+38=47
Moving to Node #0,0,0
Current State: 94:[2, 47], Operations: ['73-35=38', '9+38=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
52,
93,
26,
17
] | 59 | [
"52/26=2",
"17*2=34",
"93-34=59"
] | Current State: 59:[52, 93, 26, 17], Operations: []
Exploring Operation: 52/26=2, Resulting Numbers: [93, 17, 2]
Generated Node #2: [93, 17, 2] from Operation: 52/26=2
Current State: 59:[93, 17, 2], Operations: ['52/26=2']
Exploring Operation: 17*2=34, Resulting Numbers: [93, 34]
Generated Node #3: [93, 34] from Operation: 17*2=34
Current State: 59:[93, 34], Operations: ['52/26=2', '17*2=34']
Exploring Operation: 93-34=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[52, 93, 26, 17], Operations: []
Exploring Operation: 93-26=67, Resulting Numbers: [52, 17, 67]
Generated Node #0,0: 59:[52, 17, 67] Operation: 93-26=67
Exploring Operation: 93-17=76, Resulting Numbers: [52, 26, 76]
Generated Node #0,1: 59:[52, 26, 76] Operation: 93-17=76
Moving to Node #0,0
Current State: 59:[52, 17, 67], Operations: ['93-26=67']
Exploring Operation: 52+17=69, Resulting Numbers: [67, 69]
Generated Node #0,0,0: 59:[67, 69] Operation: 52+17=69
Exploring Operation: 67-17=50, Resulting Numbers: [52, 50]
Generated Node #0,0,1: 59:[52, 50] Operation: 67-17=50
Moving to Node #0,1
Current State: 59:[52, 26, 76], Operations: ['93-17=76']
Exploring Operation: 76-26=50, Resulting Numbers: [52, 50]
Generated Node #0,1,0: 59:[52, 50] Operation: 76-26=50
Exploring Operation: 52+26=78, Resulting Numbers: [76, 78]
Generated Node #0,1,1: 59:[76, 78] Operation: 52+26=78
Moving to Node #0,0,1
Current State: 59:[52, 50], Operations: ['93-26=67', '67-17=50']
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[52, 50], Operations: ['93-17=76', '76-26=50']
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[67, 69], Operations: ['93-26=67', '52+17=69']
Exploring Operation: 67+69=136, Resulting Numbers: [136]
136,59 unequal: No Solution
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[76, 78], Operations: ['93-17=76', '52+26=78']
Exploring Operation: 78-76=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 76+78=154, Resulting Numbers: [154]
154,59 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
4,
95,
95,
42
] | 58 | [
"95+95=190",
"42+190=232",
"232/4=58"
] | Current State: 58:[4, 95, 95, 42], Operations: []
Exploring Operation: 95+95=190, Resulting Numbers: [4, 42, 190]
Generated Node #2: [4, 42, 190] from Operation: 95+95=190
Current State: 58:[4, 42, 190], Operations: ['95+95=190']
Exploring Operation: 42+190=232, Resulting Numbers: [4, 232]
Generated Node #3: [4, 232] from Operation: 42+190=232
Current State: 58:[4, 232], Operations: ['95+95=190', '42+190=232']
Exploring Operation: 232/4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[4, 95, 95, 42], Operations: []
Exploring Operation: 95-95=0, Resulting Numbers: [4, 42, 0]
Generated Node #0,0: 58:[4, 42, 0] Operation: 95-95=0
Exploring Operation: 95/95=1, Resulting Numbers: [4, 42, 1]
Generated Node #0,1: 58:[4, 42, 1] Operation: 95/95=1
Exploring Operation: 95-42=53, Resulting Numbers: [4, 95, 53]
Generated Node #0,2: 58:[4, 95, 53] Operation: 95-42=53
Moving to Node #0,1
Current State: 58:[4, 42, 1], Operations: ['95/95=1']
Exploring Operation: 4-1=3, Resulting Numbers: [42, 3]
Generated Node #0,1,0: 58:[42, 3] Operation: 4-1=3
Exploring Operation: 42-4=38, Resulting Numbers: [1, 38]
Generated Node #0,1,1: 58:[1, 38] Operation: 42-4=38
Exploring Operation: 4+42=46, Resulting Numbers: [1, 46]
Generated Node #0,1,2: 58:[1, 46] Operation: 4+42=46
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[1, 38], Operations: ['95/95=1', '42-4=38']
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,58 unequal: No Solution
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 1*38=38, Resulting Numbers: [38]
38,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,2
Current State: 58:[1, 46], Operations: ['95/95=1', '4+42=46']
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 1*46=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 1+46=47, Resulting Numbers: [47]
47,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,0
Current State: 58:[42, 3], Operations: ['95/95=1', '4-1=3']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 58:[4, 42, 0], Operations: ['95-95=0']
Exploring Operation: 42*0=0, Resulting Numbers: [4, 0]
Generated Node #0,0,0: 58:[4, 0] Operation: 42*0=0
Exploring Operation: 42-4=38, Resulting Numbers: [0, 38]
Generated Node #0,0,1: 58:[0, 38] Operation: 42-4=38
Exploring Operation: 4+42=46, Resulting Numbers: [0, 46]
Generated Node #0,0,2: 58:[0, 46] Operation: 4+42=46
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[4, 0], Operations: ['95-95=0', '42*0=0']
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,58 unequal: No Solution
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[0, 38], Operations: ['95-95=0', '42-4=38']
Exploring Operation: 0+38=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 38-0=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 0*38=0, Resulting Numbers: [0]
0,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 58:[0, 46], Operations: ['95-95=0', '4+42=46']
Exploring Operation: 0+46=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 46-0=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 0*46=0, Resulting Numbers: [0]
0,58 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: 58:[4, 95, 53], Operations: ['95-42=53']
Exploring Operation: 95-4=91, Resulting Numbers: [53, 91]
Generated Node #0,2,0: 58:[53, 91] Operation: 95-4=91
Exploring Operation: 4+53=57, Resulting Numbers: [95, 57]
Generated Node #0,2,1: 58:[95, 57] Operation: 4+53=57
Exploring Operation: 95-53=42, Resulting Numbers: [4, 42]
Generated Node #0,2,2: 58:[4, 42] Operation: 95-53=42
Moving to Node #0,2,2
Current State: 58:[4, 42], Operations: ['95-42=53', '95-53=42']
Exploring Operation: 4*42=168, Resulting Numbers: [168]
168,58 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Moving to Node #0,2,0
Current State: 58:[53, 91], Operations: ['95-42=53', '95-4=91']
Exploring Operation: 91-53=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 53+91=144, Resulting Numbers: [144]
144,58 unequal: No Solution
Exploring Operation: 53*91=4823, Resulting Numbers: [4823]
4823,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[95, 57], Operations: ['95-42=53', '4+53=57']
Exploring Operation: 95+57=152, Resulting Numbers: [152]
152,58 unequal: No Solution
Exploring Operation: 95*57=5415, Resulting Numbers: [5415]
5415,58 unequal: No Solution
Exploring Operation: 95-57=38, Resulting Numbers: [38]
38,58 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
55,
72,
84,
12
] | 79 | [
"72-55=17",
"84+12=96",
"96-17=79"
] | Current State: 79:[55, 72, 84, 12], Operations: []
Exploring Operation: 72-55=17, Resulting Numbers: [84, 12, 17]
Generated Node #2: [84, 12, 17] from Operation: 72-55=17
Current State: 79:[84, 12, 17], Operations: ['72-55=17']
Exploring Operation: 84+12=96, Resulting Numbers: [17, 96]
Generated Node #3: [17, 96] from Operation: 84+12=96
Current State: 79:[17, 96], Operations: ['72-55=17', '84+12=96']
Exploring Operation: 96-17=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[55, 72, 84, 12], Operations: []
Exploring Operation: 84-12=72, Resulting Numbers: [55, 72, 72]
Generated Node #0,0: 79:[55, 72, 72] Operation: 84-12=72
Exploring Operation: 55+12=67, Resulting Numbers: [72, 84, 67]
Generated Node #0,1: 79:[72, 84, 67] Operation: 55+12=67
Exploring Operation: 72+12=84, Resulting Numbers: [55, 84, 84]
Generated Node #0,2: 79:[55, 84, 84] Operation: 72+12=84
Exploring Operation: 55-12=43, Resulting Numbers: [72, 84, 43]
Generated Node #0,3: 79:[72, 84, 43] Operation: 55-12=43
Moving to Node #0,1
Current State: 79:[72, 84, 67], Operations: ['55+12=67']
Exploring Operation: 72+67=139, Resulting Numbers: [84, 139]
Generated Node #0,1,0: 79:[84, 139] Operation: 72+67=139
Exploring Operation: 84-72=12, Resulting Numbers: [67, 12]
Generated Node #0,1,1: 79:[67, 12] Operation: 84-72=12
Exploring Operation: 84-67=17, Resulting Numbers: [72, 17]
Generated Node #0,1,2: 79:[72, 17] Operation: 84-67=17
Exploring Operation: 72-67=5, Resulting Numbers: [84, 5]
Generated Node #0,1,3: 79:[84, 5] Operation: 72-67=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[84, 139], Operations: ['55+12=67', '72+67=139']
Exploring Operation: 139-84=55, Resulting Numbers: [55]
55,79 unequal: No Solution
Exploring Operation: 84+139=223, Resulting Numbers: [223]
223,79 unequal: No Solution
Exploring Operation: 84*139=11676, Resulting Numbers: [11676]
11676,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[72, 17], Operations: ['55+12=67', '84-67=17']
Exploring Operation: 72+17=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,79 unequal: No Solution
Exploring Operation: 72*17=1224, Resulting Numbers: [1224]
1224,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[67, 12], Operations: ['55+12=67', '84-72=12']
Exploring Operation: 67+12=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[55, 72, 84, 12], Operations: []
Exploring Operation: 55+12=67, Resulting Numbers: [72, 84, 67]
Generated Node #0,1: 79:[72, 84, 67] Operation: 55+12=67
Moving to Node #0,1
Current State: 79:[72, 84, 67], Operations: ['55+12=67']
Exploring Operation: 84-72=12, Resulting Numbers: [67, 12]
Generated Node #0,1,1: 79:[67, 12] Operation: 84-72=12
Moving to Node #0,1,1
Current State: 79:[67, 12], Operations: ['55+12=67', '84-72=12']
Exploring Operation: 67+12=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
48,
57,
79,
19
] | 69 | [
"57-48=9",
"79-19=60",
"9+60=69"
] | Current State: 69:[48, 57, 79, 19], Operations: []
Exploring Operation: 57-48=9, Resulting Numbers: [79, 19, 9]
Generated Node #2: [79, 19, 9] from Operation: 57-48=9
Current State: 69:[79, 19, 9], Operations: ['57-48=9']
Exploring Operation: 79-19=60, Resulting Numbers: [9, 60]
Generated Node #3: [9, 60] from Operation: 79-19=60
Current State: 69:[9, 60], Operations: ['57-48=9', '79-19=60']
Exploring Operation: 9+60=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[48, 57, 79, 19], Operations: []
Exploring Operation: 79-57=22, Resulting Numbers: [48, 19, 22]
Generated Node #0,0: 69:[48, 19, 22] Operation: 79-57=22
Exploring Operation: 57-48=9, Resulting Numbers: [79, 19, 9]
Generated Node #0,1: 69:[79, 19, 9] Operation: 57-48=9
Exploring Operation: 79-48=31, Resulting Numbers: [57, 19, 31]
Generated Node #0,2: 69:[57, 19, 31] Operation: 79-48=31
Exploring Operation: 48+19=67, Resulting Numbers: [57, 79, 67]
Generated Node #0,3: 69:[57, 79, 67] Operation: 48+19=67
Exploring Operation: 48-19=29, Resulting Numbers: [57, 79, 29]
Generated Node #0,4: 69:[57, 79, 29] Operation: 48-19=29
Moving to Node #0,1
Current State: 69:[79, 19, 9], Operations: ['57-48=9']
Exploring Operation: 19-9=10, Resulting Numbers: [79, 10]
Generated Node #0,1,0: 69:[79, 10] Operation: 19-9=10
Exploring Operation: 79-9=70, Resulting Numbers: [19, 70]
Generated Node #0,1,1: 69:[19, 70] Operation: 79-9=70
Exploring Operation: 19+9=28, Resulting Numbers: [79, 28]
Generated Node #0,1,2: 69:[79, 28] Operation: 19+9=28
Exploring Operation: 79-19=60, Resulting Numbers: [9, 60]
Generated Node #0,1,3: 69:[9, 60] Operation: 79-19=60
Exploring Operation: 79+9=88, Resulting Numbers: [19, 88]
Generated Node #0,1,4: 69:[19, 88] Operation: 79+9=88
Moving to Node #0,3
Current State: 69:[57, 79, 67], Operations: ['48+19=67']
Exploring Operation: 57+79=136, Resulting Numbers: [67, 136]
Generated Node #0,3,0: 69:[67, 136] Operation: 57+79=136
Exploring Operation: 67-57=10, Resulting Numbers: [79, 10]
Generated Node #0,3,1: 69:[79, 10] Operation: 67-57=10
Exploring Operation: 79-57=22, Resulting Numbers: [67, 22]
Generated Node #0,3,2: 69:[67, 22] Operation: 79-57=22
Exploring Operation: 79-67=12, Resulting Numbers: [57, 12]
Generated Node #0,3,3: 69:[57, 12] Operation: 79-67=12
Exploring Operation: 57+67=124, Resulting Numbers: [79, 124]
Generated Node #0,3,4: 69:[79, 124] Operation: 57+67=124
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 69:[67, 22], Operations: ['48+19=67', '79-57=22']
Exploring Operation: 67*22=1474, Resulting Numbers: [1474]
1474,69 unequal: No Solution
Exploring Operation: 67+22=89, Resulting Numbers: [89]
89,69 unequal: No Solution
Exploring Operation: 67-22=45, Resulting Numbers: [45]
45,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 69:[79, 10], Operations: ['48+19=67', '67-57=10']
Exploring Operation: 79*10=790, Resulting Numbers: [790]
790,69 unequal: No Solution
Exploring Operation: 79+10=89, Resulting Numbers: [89]
89,69 unequal: No Solution
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[48, 57, 79, 19], Operations: []
Exploring Operation: 48+19=67, Resulting Numbers: [57, 79, 67]
Generated Node #0,3: 69:[57, 79, 67] Operation: 48+19=67
Moving to Node #0,3
Current State: 69:[57, 79, 67], Operations: ['48+19=67']
Exploring Operation: 67-57=10, Resulting Numbers: [79, 10]
Generated Node #0,3,1: 69:[79, 10] Operation: 67-57=10
Moving to Node #0,3,1
Current State: 69:[79, 10], Operations: ['48+19=67', '67-57=10']
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
34,
18,
55,
2
] | 20 | [
"34/2=17",
"55-18=37",
"37-17=20"
] | Current State: 20:[34, 18, 55, 2], Operations: []
Exploring Operation: 34/2=17, Resulting Numbers: [18, 55, 17]
Generated Node #2: [18, 55, 17] from Operation: 34/2=17
Current State: 20:[18, 55, 17], Operations: ['34/2=17']
Exploring Operation: 55-18=37, Resulting Numbers: [17, 37]
Generated Node #3: [17, 37] from Operation: 55-18=37
Current State: 20:[17, 37], Operations: ['34/2=17', '55-18=37']
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[34, 18, 55, 2], Operations: []
Exploring Operation: 55-18=37, Resulting Numbers: [34, 2, 37]
Generated Node #0,0: 20:[34, 2, 37] Operation: 55-18=37
Exploring Operation: 34-2=32, Resulting Numbers: [18, 55, 32]
Generated Node #0,1: 20:[18, 55, 32] Operation: 34-2=32
Exploring Operation: 55-34=21, Resulting Numbers: [18, 2, 21]
Generated Node #0,2: 20:[18, 2, 21] Operation: 55-34=21
Exploring Operation: 34/2=17, Resulting Numbers: [18, 55, 17]
Generated Node #0,3: 20:[18, 55, 17] Operation: 34/2=17
Exploring Operation: 34-18=16, Resulting Numbers: [55, 2, 16]
Generated Node #0,4: 20:[55, 2, 16] Operation: 34-18=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[18, 2, 21], Operations: ['55-34=21']
Exploring Operation: 18-2=16, Resulting Numbers: [21, 16]
Generated Node #0,2,0: 20:[21, 16] Operation: 18-2=16
Exploring Operation: 21-18=3, Resulting Numbers: [2, 3]
Generated Node #0,2,1: 20:[2, 3] Operation: 21-18=3
Exploring Operation: 18/2=9, Resulting Numbers: [21, 9]
Generated Node #0,2,2: 20:[21, 9] Operation: 18/2=9
Exploring Operation: 21-2=19, Resulting Numbers: [18, 19]
Generated Node #0,2,3: 20:[18, 19] Operation: 21-2=19
Exploring Operation: 18+2=20, Resulting Numbers: [21, 20]
Generated Node #0,2,4: 20:[21, 20] Operation: 18+2=20
Moving to Node #0,2,1
Current State: 20:[2, 3], Operations: ['55-34=21', '21-18=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Moving to Node #0,2,4
Current State: 20:[21, 20], Operations: ['55-34=21', '18+2=20']
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 21*20=420, Resulting Numbers: [420]
420,20 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[21, 9], Operations: ['55-34=21', '18/2=9']
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,20 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[18, 19], Operations: ['55-34=21', '21-2=19']
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,20 unequal: No Solution
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[21, 16], Operations: ['55-34=21', '18-2=16']
Exploring Operation: 21*16=336, Resulting Numbers: [336]
336,20 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 21+16=37, Resulting Numbers: [37]
37,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
Current State: 20:[34, 2, 37], Operations: ['55-18=37']
Exploring Operation: 37-2=35, Resulting Numbers: [34, 35]
Generated Node #0,0,0: 20:[34, 35] Operation: 37-2=35
Exploring Operation: 34/2=17, Resulting Numbers: [37, 17]
Generated Node #0,0,1: 20:[37, 17] Operation: 34/2=17
Exploring Operation: 37-34=3, Resulting Numbers: [2, 3]
Generated Node #0,0,2: 20:[2, 3] Operation: 37-34=3
Exploring Operation: 34+2=36, Resulting Numbers: [37, 36]
Generated Node #0,0,3: 20:[37, 36] Operation: 34+2=36
Exploring Operation: 34-2=32, Resulting Numbers: [37, 32]
Generated Node #0,0,4: 20:[37, 32] Operation: 34-2=32
Moving to Node #0,0,2
Current State: 20:[2, 3], Operations: ['55-18=37', '37-34=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[37, 17], Operations: ['55-18=37', '34/2=17']
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,20 unequal: No Solution
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,20 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[34, 18, 55, 2], Operations: []
Exploring Operation: 55-18=37, Resulting Numbers: [34, 2, 37]
Generated Node #0,0: 20:[34, 2, 37] Operation: 55-18=37
Moving to Node #0,0
Current State: 20:[34, 2, 37], Operations: ['55-18=37']
Exploring Operation: 34/2=17, Resulting Numbers: [37, 17]
Generated Node #0,0,1: 20:[37, 17] Operation: 34/2=17
Moving to Node #0,0,1
Current State: 20:[37, 17], Operations: ['55-18=37', '34/2=17']
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | mult_heuristic |
[
73,
51,
7,
2
] | 22 | [
"73+7=80",
"51*2=102",
"102-80=22"
] | Current State: 22:[73, 51, 7, 2], Operations: []
Exploring Operation: 73+7=80, Resulting Numbers: [51, 2, 80]
Generated Node #2: [51, 2, 80] from Operation: 73+7=80
Current State: 22:[51, 2, 80], Operations: ['73+7=80']
Exploring Operation: 51*2=102, Resulting Numbers: [80, 102]
Generated Node #3: [80, 102] from Operation: 51*2=102
Current State: 22:[80, 102], Operations: ['73+7=80', '51*2=102']
Exploring Operation: 102-80=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[73, 51, 7, 2], Operations: []
Exploring Operation: 51-7=44, Resulting Numbers: [73, 2, 44]
Generated Node #0,0: 22:[73, 2, 44] Operation: 51-7=44
Exploring Operation: 73-51=22, Resulting Numbers: [7, 2, 22]
Generated Node #0,1: 22:[7, 2, 22] Operation: 73-51=22
Exploring Operation: 73-7=66, Resulting Numbers: [51, 2, 66]
Generated Node #0,2: 22:[51, 2, 66] Operation: 73-7=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[7, 2, 22], Operations: ['73-51=22']
Exploring Operation: 7+2=9, Resulting Numbers: [22, 9]
Generated Node #0,1,0: 22:[22, 9] Operation: 7+2=9
Exploring Operation: 7*2=14, Resulting Numbers: [22, 14]
Generated Node #0,1,1: 22:[22, 14] Operation: 7*2=14
Exploring Operation: 7-2=5, Resulting Numbers: [22, 5]
Generated Node #0,1,2: 22:[22, 5] Operation: 7-2=5
Moving to Node #0,1,0
Current State: 22:[22, 9], Operations: ['73-51=22', '7+2=9']
Exploring Operation: 22+9=31, Resulting Numbers: [31]
31,22 unequal: No Solution
Exploring Operation: 22*9=198, Resulting Numbers: [198]
198,22 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[22, 14], Operations: ['73-51=22', '7*2=14']
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[22, 5], Operations: ['73-51=22', '7-2=5']
Exploring Operation: 22*5=110, Resulting Numbers: [110]
110,22 unequal: No Solution
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[73, 2, 44], Operations: ['51-7=44']
Exploring Operation: 73-2=71, Resulting Numbers: [44, 71]
Generated Node #0,0,0: 22:[44, 71] Operation: 73-2=71
Exploring Operation: 44/2=22, Resulting Numbers: [73, 22]
Generated Node #0,0,1: 22:[73, 22] Operation: 44/2=22
Exploring Operation: 73-44=29, Resulting Numbers: [2, 29]
Generated Node #0,0,2: 22:[2, 29] Operation: 73-44=29
Moving to Node #0,0,2
Current State: 22:[2, 29], Operations: ['51-7=44', '73-44=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,22 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,22 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[73, 22], Operations: ['51-7=44', '44/2=22']
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,22 unequal: No Solution
Exploring Operation: 73*22=1606, Resulting Numbers: [1606]
1606,22 unequal: No Solution
Exploring Operation: 73+22=95, Resulting Numbers: [95]
95,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[44, 71], Operations: ['51-7=44', '73-2=71']
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 44*71=3124, Resulting Numbers: [3124]
3124,22 unequal: No Solution
Exploring Operation: 44+71=115, Resulting Numbers: [115]
115,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[51, 2, 66], Operations: ['73-7=66']
Exploring Operation: 66-51=15, Resulting Numbers: [2, 15]
Generated Node #0,2,0: 22:[2, 15] Operation: 66-51=15
Exploring Operation: 66/2=33, Resulting Numbers: [51, 33]
Generated Node #0,2,1: 22:[51, 33] Operation: 66/2=33
Exploring Operation: 51-2=49, Resulting Numbers: [66, 49]
Generated Node #0,2,2: 22:[66, 49] Operation: 51-2=49
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 22:[2, 15], Operations: ['73-7=66', '66-51=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,22 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 22:[51, 33], Operations: ['73-7=66', '66/2=33']
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Exploring Operation: 51*33=1683, Resulting Numbers: [1683]
1683,22 unequal: No Solution
Exploring Operation: 51+33=84, Resulting Numbers: [84]
84,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 22:[66, 49], Operations: ['73-7=66', '51-2=49']
Exploring Operation: 66-49=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 66+49=115, Resulting Numbers: [115]
115,22 unequal: No Solution
Exploring Operation: 66*49=3234, Resulting Numbers: [3234]
3234,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
64,
52,
32,
4
] | 69 | [
"52-32=20",
"20/4=5",
"64+5=69"
] | Current State: 69:[64, 52, 32, 4], Operations: []
Exploring Operation: 52-32=20, Resulting Numbers: [64, 4, 20]
Generated Node #2: [64, 4, 20] from Operation: 52-32=20
Current State: 69:[64, 4, 20], Operations: ['52-32=20']
Exploring Operation: 20/4=5, Resulting Numbers: [64, 5]
Generated Node #3: [64, 5] from Operation: 20/4=5
Current State: 69:[64, 5], Operations: ['52-32=20', '20/4=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[64, 52, 32, 4], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [52, 4, 2]
Generated Node #0,0: 69:[52, 4, 2] Operation: 64/32=2
Exploring Operation: 64-52=12, Resulting Numbers: [32, 4, 12]
Generated Node #0,1: 69:[32, 4, 12] Operation: 64-52=12
Exploring Operation: 52-32=20, Resulting Numbers: [64, 4, 20]
Generated Node #0,2: 69:[64, 4, 20] Operation: 52-32=20
Moving to Node #0,2
Current State: 69:[64, 4, 20], Operations: ['52-32=20']
Exploring Operation: 64+4=68, Resulting Numbers: [20, 68]
Generated Node #0,2,0: 69:[20, 68] Operation: 64+4=68
Exploring Operation: 20/4=5, Resulting Numbers: [64, 5]
Generated Node #0,2,1: 69:[64, 5] Operation: 20/4=5
Exploring Operation: 4+20=24, Resulting Numbers: [64, 24]
Generated Node #0,2,2: 69:[64, 24] Operation: 4+20=24
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 69:[20, 68], Operations: ['52-32=20', '64+4=68']
Exploring Operation: 68-20=48, Resulting Numbers: [48]
48,69 unequal: No Solution
Exploring Operation: 20*68=1360, Resulting Numbers: [1360]
1360,69 unequal: No Solution
Exploring Operation: 20+68=88, Resulting Numbers: [88]
88,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 69:[64, 24], Operations: ['52-32=20', '4+20=24']
Exploring Operation: 64*24=1536, Resulting Numbers: [1536]
1536,69 unequal: No Solution
Exploring Operation: 64+24=88, Resulting Numbers: [88]
88,69 unequal: No Solution
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 69:[64, 5], Operations: ['52-32=20', '20/4=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[64, 52, 32, 4], Operations: []
Exploring Operation: 52-32=20, Resulting Numbers: [64, 4, 20]
Generated Node #0,2: 69:[64, 4, 20] Operation: 52-32=20
Moving to Node #0,2
Current State: 69:[64, 4, 20], Operations: ['52-32=20']
Exploring Operation: 20/4=5, Resulting Numbers: [64, 5]
Generated Node #0,2,1: 69:[64, 5] Operation: 20/4=5
Moving to Node #0,2,1
Current State: 69:[64, 5], Operations: ['52-32=20', '20/4=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
55,
73,
99,
16
] | 97 | [
"73-55=18",
"99+16=115",
"115-18=97"
] | Current State: 97:[55, 73, 99, 16], Operations: []
Exploring Operation: 73-55=18, Resulting Numbers: [99, 16, 18]
Generated Node #2: [99, 16, 18] from Operation: 73-55=18
Current State: 97:[99, 16, 18], Operations: ['73-55=18']
Exploring Operation: 99+16=115, Resulting Numbers: [18, 115]
Generated Node #3: [18, 115] from Operation: 99+16=115
Current State: 97:[18, 115], Operations: ['73-55=18', '99+16=115']
Exploring Operation: 115-18=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[55, 73, 99, 16], Operations: []
Exploring Operation: 55-16=39, Resulting Numbers: [73, 99, 39]
Generated Node #0,0: 97:[73, 99, 39] Operation: 55-16=39
Exploring Operation: 73-16=57, Resulting Numbers: [55, 99, 57]
Generated Node #0,1: 97:[55, 99, 57] Operation: 73-16=57
Exploring Operation: 99-16=83, Resulting Numbers: [55, 73, 83]
Generated Node #0,2: 97:[55, 73, 83] Operation: 99-16=83
Exploring Operation: 55+16=71, Resulting Numbers: [73, 99, 71]
Generated Node #0,3: 97:[73, 99, 71] Operation: 55+16=71
Exploring Operation: 73+16=89, Resulting Numbers: [55, 99, 89]
Generated Node #0,4: 97:[55, 99, 89] Operation: 73+16=89
Start Sub Search at level 1: Moving to Node #0,3
Current State: 97:[73, 99, 71], Operations: ['55+16=71']
Exploring Operation: 73-71=2, Resulting Numbers: [99, 2]
Generated Node #0,3,0: 97:[99, 2] Operation: 73-71=2
Exploring Operation: 99+71=170, Resulting Numbers: [73, 170]
Generated Node #0,3,1: 97:[73, 170] Operation: 99+71=170
Exploring Operation: 99-73=26, Resulting Numbers: [71, 26]
Generated Node #0,3,2: 97:[71, 26] Operation: 99-73=26
Exploring Operation: 73+71=144, Resulting Numbers: [99, 144]
Generated Node #0,3,3: 97:[99, 144] Operation: 73+71=144
Exploring Operation: 99-71=28, Resulting Numbers: [73, 28]
Generated Node #0,3,4: 97:[73, 28] Operation: 99-71=28
Moving to Node #0,3,3
Current State: 97:[99, 144], Operations: ['55+16=71', '73+71=144']
Exploring Operation: 99*144=14256, Resulting Numbers: [14256]
14256,97 unequal: No Solution
Exploring Operation: 99+144=243, Resulting Numbers: [243]
243,97 unequal: No Solution
Exploring Operation: 144-99=45, Resulting Numbers: [45]
45,97 unequal: No Solution
Moving to Node #0,3,4
Current State: 97:[73, 28], Operations: ['55+16=71', '99-71=28']
Exploring Operation: 73+28=101, Resulting Numbers: [101]
101,97 unequal: No Solution
Exploring Operation: 73-28=45, Resulting Numbers: [45]
45,97 unequal: No Solution
Exploring Operation: 73*28=2044, Resulting Numbers: [2044]
2044,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[99, 2], Operations: ['55+16=71', '73-71=2']
Exploring Operation: 99*2=198, Resulting Numbers: [198]
198,97 unequal: No Solution
Exploring Operation: 99+2=101, Resulting Numbers: [101]
101,97 unequal: No Solution
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[55, 73, 99, 16], Operations: []
Exploring Operation: 55+16=71, Resulting Numbers: [73, 99, 71]
Generated Node #0,3: 97:[73, 99, 71] Operation: 55+16=71
Moving to Node #0,3
Current State: 97:[73, 99, 71], Operations: ['55+16=71']
Exploring Operation: 73-71=2, Resulting Numbers: [99, 2]
Generated Node #0,3,0: 97:[99, 2] Operation: 73-71=2
Moving to Node #0,3,0
Current State: 97:[99, 2], Operations: ['55+16=71', '73-71=2']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
80,
56,
48,
34
] | 17 | [
"80-56=24",
"48/24=2",
"34/2=17"
] | Current State: 17:[80, 56, 48, 34], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [48, 34, 24]
Generated Node #2: [48, 34, 24] from Operation: 80-56=24
Current State: 17:[48, 34, 24], Operations: ['80-56=24']
Exploring Operation: 48/24=2, Resulting Numbers: [34, 2]
Generated Node #3: [34, 2] from Operation: 48/24=2
Current State: 17:[34, 2], Operations: ['80-56=24', '48/24=2']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[80, 56, 48, 34], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [48, 34, 24]
Generated Node #0,0: 17:[48, 34, 24] Operation: 80-56=24
Moving to Node #0,0
Current State: 17:[48, 34, 24], Operations: ['80-56=24']
Exploring Operation: 48-34=14, Resulting Numbers: [24, 14]
Generated Node #0,0,0: 17:[24, 14] Operation: 48-34=14
Moving to Node #0,0,0
Current State: 17:[24, 14], Operations: ['80-56=24', '48-34=14']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,17 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
1,
64,
8,
53
] | 13 | [
"1+8=9",
"64+53=117",
"117/9=13"
] | Current State: 13:[1, 64, 8, 53], Operations: []
Exploring Operation: 1+8=9, Resulting Numbers: [64, 53, 9]
Generated Node #2: [64, 53, 9] from Operation: 1+8=9
Current State: 13:[64, 53, 9], Operations: ['1+8=9']
Exploring Operation: 64+53=117, Resulting Numbers: [9, 117]
Generated Node #3: [9, 117] from Operation: 64+53=117
Current State: 13:[9, 117], Operations: ['1+8=9', '64+53=117']
Exploring Operation: 117/9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[1, 64, 8, 53], Operations: []
Exploring Operation: 64-53=11, Resulting Numbers: [1, 8, 11]
Generated Node #0,0: 13:[1, 8, 11] Operation: 64-53=11
Exploring Operation: 64/8=8, Resulting Numbers: [1, 53, 8]
Generated Node #0,1: 13:[1, 53, 8] Operation: 64/8=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[1, 8, 11], Operations: ['64-53=11']
Exploring Operation: 1+11=12, Resulting Numbers: [8, 12]
Generated Node #0,0,0: 13:[8, 12] Operation: 1+11=12
Exploring Operation: 1+8=9, Resulting Numbers: [11, 9]
Generated Node #0,0,1: 13:[11, 9] Operation: 1+8=9
Moving to Node #0,0,0
Current State: 13:[8, 12], Operations: ['64-53=11', '1+11=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[11, 9], Operations: ['64-53=11', '1+8=9']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,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
Current State: 13:[1, 53, 8], Operations: ['64/8=8']
Exploring Operation: 1+8=9, Resulting Numbers: [53, 9]
Generated Node #0,1,0: 13:[53, 9] Operation: 1+8=9
Exploring Operation: 53-1=52, Resulting Numbers: [8, 52]
Generated Node #0,1,1: 13:[8, 52] Operation: 53-1=52
Moving to Node #0,1,0
Current State: 13:[53, 9], Operations: ['64/8=8', '1+8=9']
Exploring Operation: 53+9=62, Resulting Numbers: [62]
62,13 unequal: No Solution
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[8, 52], Operations: ['64/8=8', '53-1=52']
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,13 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 |
[
1,
83,
88,
3
] | 16 | [
"88-83=5",
"3*5=15",
"1+15=16"
] | Current State: 16:[1, 83, 88, 3], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [1, 3, 5]
Generated Node #2: [1, 3, 5] from Operation: 88-83=5
Current State: 16:[1, 3, 5], Operations: ['88-83=5']
Exploring Operation: 3*5=15, Resulting Numbers: [1, 15]
Generated Node #3: [1, 15] from Operation: 3*5=15
Current State: 16:[1, 15], Operations: ['88-83=5', '3*5=15']
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[1, 83, 88, 3], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [1, 3, 5]
Generated Node #0,0: 16:[1, 3, 5] Operation: 88-83=5
Exploring Operation: 88-3=85, Resulting Numbers: [1, 83, 85]
Generated Node #0,1: 16:[1, 83, 85] Operation: 88-3=85
Exploring Operation: 83-3=80, Resulting Numbers: [1, 88, 80]
Generated Node #0,2: 16:[1, 88, 80] Operation: 83-3=80
Moving to Node #0,0
Current State: 16:[1, 3, 5], Operations: ['88-83=5']
Exploring Operation: 1+3=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 16:[5, 4] Operation: 1+3=4
Exploring Operation: 5-1=4, Resulting Numbers: [3, 4]
Generated Node #0,0,1: 16:[3, 4] Operation: 5-1=4
Exploring Operation: 3-1=2, Resulting Numbers: [5, 2]
Generated Node #0,0,2: 16:[5, 2] Operation: 3-1=2
Moving to Node #0,1
Current State: 16:[1, 83, 85], Operations: ['88-3=85']
Exploring Operation: 85-83=2, Resulting Numbers: [1, 2]
Generated Node #0,1,0: 16:[1, 2] Operation: 85-83=2
Exploring Operation: 83-1=82, Resulting Numbers: [85, 82]
Generated Node #0,1,1: 16:[85, 82] Operation: 83-1=82
Exploring Operation: 85-1=84, Resulting Numbers: [83, 84]
Generated Node #0,1,2: 16:[83, 84] Operation: 85-1=84
Moving to Node #0,2
Current State: 16:[1, 88, 80], Operations: ['83-3=80']
Exploring Operation: 88-1=87, Resulting Numbers: [80, 87]
Generated Node #0,2,0: 16:[80, 87] Operation: 88-1=87
Exploring Operation: 88-80=8, Resulting Numbers: [1, 8]
Generated Node #0,2,1: 16:[1, 8] Operation: 88-80=8
Exploring Operation: 80-1=79, Resulting Numbers: [88, 79]
Generated Node #0,2,2: 16:[88, 79] Operation: 80-1=79
Moving to Node #0,0,0
Current State: 16:[5, 4], Operations: ['88-83=5', '1+3=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[5, 2], Operations: ['88-83=5', '3-1=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[1, 8], Operations: ['83-3=80', '88-80=8']
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[3, 4], Operations: ['88-83=5', '5-1=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[1, 2], Operations: ['88-3=85', '85-83=2']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[88, 79], Operations: ['83-3=80', '80-1=79']
Exploring Operation: 88*79=6952, Resulting Numbers: [6952]
6952,16 unequal: No Solution
Exploring Operation: 88+79=167, Resulting Numbers: [167]
167,16 unequal: No Solution
Exploring Operation: 88-79=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[83, 84], Operations: ['88-3=85', '85-1=84']
Exploring Operation: 83+84=167, Resulting Numbers: [167]
167,16 unequal: No Solution
Exploring Operation: 84-83=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 83*84=6972, Resulting Numbers: [6972]
6972,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[85, 82], Operations: ['88-3=85', '83-1=82']
Exploring Operation: 85*82=6970, Resulting Numbers: [6970]
6970,16 unequal: No Solution
Exploring Operation: 85+82=167, Resulting Numbers: [167]
167,16 unequal: No Solution
Exploring Operation: 85-82=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[80, 87], Operations: ['83-3=80', '88-1=87']
Exploring Operation: 87-80=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 80*87=6960, Resulting Numbers: [6960]
6960,16 unequal: No Solution
Exploring Operation: 80+87=167, Resulting Numbers: [167]
167,16 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
10,
46,
77,
28
] | 30 | [
"77-46=31",
"31-28=3",
"10*3=30"
] | Current State: 30:[10, 46, 77, 28], Operations: []
Exploring Operation: 77-46=31, Resulting Numbers: [10, 28, 31]
Generated Node #2: [10, 28, 31] from Operation: 77-46=31
Current State: 30:[10, 28, 31], Operations: ['77-46=31']
Exploring Operation: 31-28=3, Resulting Numbers: [10, 3]
Generated Node #3: [10, 3] from Operation: 31-28=3
Current State: 30:[10, 3], Operations: ['77-46=31', '31-28=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[10, 46, 77, 28], Operations: []
Exploring Operation: 77-46=31, Resulting Numbers: [10, 28, 31]
Generated Node #0,0: 30:[10, 28, 31] Operation: 77-46=31
Moving to Node #0,0
Current State: 30:[10, 28, 31], Operations: ['77-46=31']
Exploring Operation: 31-28=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 30:[10, 3] Operation: 31-28=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[10, 3], Operations: ['77-46=31', '31-28=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[10, 46, 77, 28], Operations: []
Exploring Operation: 77-46=31, Resulting Numbers: [10, 28, 31]
Generated Node #0,0: 30:[10, 28, 31] Operation: 77-46=31
Moving to Node #0,0
Current State: 30:[10, 28, 31], Operations: ['77-46=31']
Exploring Operation: 31-28=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 30:[10, 3] Operation: 31-28=3
Moving to Node #0,0,0
Current State: 30:[10, 3], Operations: ['77-46=31', '31-28=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
70,
17,
17,
35
] | 34 | [
"70-35=35",
"17/17=1",
"35-1=34"
] | Current State: 34:[70, 17, 17, 35], Operations: []
Exploring Operation: 70-35=35, Resulting Numbers: [17, 17, 35]
Generated Node #2: [17, 17, 35] from Operation: 70-35=35
Current State: 34:[17, 17, 35], Operations: ['70-35=35']
Exploring Operation: 17/17=1, Resulting Numbers: [35, 1]
Generated Node #3: [35, 1] from Operation: 17/17=1
Current State: 34:[35, 1], Operations: ['70-35=35', '17/17=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[70, 17, 17, 35], Operations: []
Exploring Operation: 17+17=34, Resulting Numbers: [70, 35, 34]
Generated Node #0,0: 34:[70, 35, 34] Operation: 17+17=34
Exploring Operation: 70-35=35, Resulting Numbers: [17, 17, 35]
Generated Node #0,1: 34:[17, 17, 35] Operation: 70-35=35
Exploring Operation: 70-17=53, Resulting Numbers: [17, 35, 53]
Generated Node #0,2: 34:[17, 35, 53] Operation: 70-17=53
Exploring Operation: 70-17=53, Resulting Numbers: [17, 35, 53]
Generated Node #0,3: 34:[17, 35, 53] Operation: 70-17=53
Exploring Operation: 70/35=2, Resulting Numbers: [17, 17, 2]
Generated Node #0,4: 34:[17, 17, 2] Operation: 70/35=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 34:[17, 17, 2], Operations: ['70/35=2']
Exploring Operation: 17-17=0, Resulting Numbers: [2, 0]
Generated Node #0,4,0: 34:[2, 0] Operation: 17-17=0
Exploring Operation: 17*2=34, Resulting Numbers: [17, 34]
Generated Node #0,4,1: 34:[17, 34] Operation: 17*2=34
Exploring Operation: 17*2=34, Resulting Numbers: [17, 34]
Generated Node #0,4,2: 34:[17, 34] Operation: 17*2=34
Exploring Operation: 17/17=1, Resulting Numbers: [2, 1]
Generated Node #0,4,3: 34:[2, 1] Operation: 17/17=1
Exploring Operation: 17+17=34, Resulting Numbers: [2, 34]
Generated Node #0,4,4: 34:[2, 34] Operation: 17+17=34
Moving to Node #0,4,1
Current State: 34:[17, 34], Operations: ['70/35=2', '17*2=34']
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 17*34=578, Resulting Numbers: [578]
578,34 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Moving to Node #0,4,4
Current State: 34:[2, 34], Operations: ['70/35=2', '17+17=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,34 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Moving to Node #0,4,2
Current State: 34:[17, 34], Operations: ['70/35=2', '17*2=34']
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 17*34=578, Resulting Numbers: [578]
578,34 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Moving to Node #0,4,3
Current State: 34:[2, 1], Operations: ['70/35=2', '17/17=1']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Moving to Node #0,4,0
Current State: 34:[2, 0], Operations: ['70/35=2', '17-17=0']
Exploring Operation: 2+0=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 2*0=0, Resulting Numbers: [0]
0,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[17, 17, 35], Operations: ['70-35=35']
Exploring Operation: 35-17=18, Resulting Numbers: [17, 18]
Generated Node #0,1,0: 34:[17, 18] Operation: 35-17=18
Exploring Operation: 17-17=0, Resulting Numbers: [35, 0]
Generated Node #0,1,1: 34:[35, 0] Operation: 17-17=0
Exploring Operation: 35-17=18, Resulting Numbers: [17, 18]
Generated Node #0,1,2: 34:[17, 18] Operation: 35-17=18
Exploring Operation: 17+17=34, Resulting Numbers: [35, 34]
Generated Node #0,1,3: 34:[35, 34] Operation: 17+17=34
Exploring Operation: 17/17=1, Resulting Numbers: [35, 1]
Generated Node #0,1,4: 34:[35, 1] Operation: 17/17=1
Moving to Node #0,1,0
Current State: 34:[17, 18], Operations: ['70-35=35', '35-17=18']
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 17*18=306, Resulting Numbers: [306]
306,34 unequal: No Solution
Moving to Node #0,1,3
Current State: 34:[35, 34], Operations: ['70-35=35', '17+17=34']
Exploring Operation: 35+34=69, Resulting Numbers: [69]
69,34 unequal: No Solution
Exploring Operation: 35*34=1190, Resulting Numbers: [1190]
1190,34 unequal: No Solution
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[17, 18], Operations: ['70-35=35', '35-17=18']
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 17*18=306, Resulting Numbers: [306]
306,34 unequal: No Solution
Moving to Node #0,1,4
Current State: 34:[35, 1], Operations: ['70-35=35', '17/17=1']
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[70, 17, 17, 35], Operations: []
Exploring Operation: 70-35=35, Resulting Numbers: [17, 17, 35]
Generated Node #0,1: 34:[17, 17, 35] Operation: 70-35=35
Moving to Node #0,1
Current State: 34:[17, 17, 35], Operations: ['70-35=35']
Exploring Operation: 17/17=1, Resulting Numbers: [35, 1]
Generated Node #0,1,4: 34:[35, 1] Operation: 17/17=1
Moving to Node #0,1,4
Current State: 34:[35, 1], Operations: ['70-35=35', '17/17=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.956597 | hs_5 | sum_heuristic |
[
36,
3,
41,
93
] | 64 | [
"36/3=12",
"93-41=52",
"12+52=64"
] | Current State: 64:[36, 3, 41, 93], Operations: []
Exploring Operation: 36/3=12, Resulting Numbers: [41, 93, 12]
Generated Node #2: [41, 93, 12] from Operation: 36/3=12
Current State: 64:[41, 93, 12], Operations: ['36/3=12']
Exploring Operation: 93-41=52, Resulting Numbers: [12, 52]
Generated Node #3: [12, 52] from Operation: 93-41=52
Current State: 64:[12, 52], Operations: ['36/3=12', '93-41=52']
Exploring Operation: 12+52=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[36, 3, 41, 93], Operations: []
Exploring Operation: 93/3=31, Resulting Numbers: [36, 41, 31]
Generated Node #0,0: 64:[36, 41, 31] Operation: 93/3=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[36, 41, 31], Operations: ['93/3=31']
Exploring Operation: 41-36=5, Resulting Numbers: [31, 5]
Generated Node #0,0,0: 64:[31, 5] Operation: 41-36=5
Moving to Node #0,0,0
Current State: 64:[31, 5], Operations: ['93/3=31', '41-36=5']
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,64 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,
23,
8,
64
] | 70 | [
"23-8=15",
"90/15=6",
"64+6=70"
] | Current State: 70:[90, 23, 8, 64], Operations: []
Exploring Operation: 23-8=15, Resulting Numbers: [90, 64, 15]
Generated Node #2: [90, 64, 15] from Operation: 23-8=15
Current State: 70:[90, 64, 15], Operations: ['23-8=15']
Exploring Operation: 90/15=6, Resulting Numbers: [64, 6]
Generated Node #3: [64, 6] from Operation: 90/15=6
Current State: 70:[64, 6], Operations: ['23-8=15', '90/15=6']
Exploring Operation: 64+6=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[90, 23, 8, 64], Operations: []
Exploring Operation: 90-23=67, Resulting Numbers: [8, 64, 67]
Generated Node #0,0: 70:[8, 64, 67] Operation: 90-23=67
Exploring Operation: 90-64=26, Resulting Numbers: [23, 8, 26]
Generated Node #0,1: 70:[23, 8, 26] Operation: 90-64=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[8, 64, 67], Operations: ['90-23=67']
Exploring Operation: 64/8=8, Resulting Numbers: [67, 8]
Generated Node #0,0,0: 70:[67, 8] Operation: 64/8=8
Exploring Operation: 67-64=3, Resulting Numbers: [8, 3]
Generated Node #0,0,1: 70:[8, 3] Operation: 67-64=3
Moving to Node #0,0,1
Current State: 70:[8, 3], Operations: ['90-23=67', '67-64=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[67, 8], Operations: ['90-23=67', '64/8=8']
Exploring Operation: 67+8=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,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
Current State: 70:[23, 8, 26], Operations: ['90-64=26']
Exploring Operation: 23-8=15, Resulting Numbers: [26, 15]
Generated Node #0,1,0: 70:[26, 15] Operation: 23-8=15
Exploring Operation: 26-23=3, Resulting Numbers: [8, 3]
Generated Node #0,1,1: 70:[8, 3] Operation: 26-23=3
Moving to Node #0,1,1
Current State: 70:[8, 3], Operations: ['90-64=26', '26-23=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[26, 15], Operations: ['90-64=26', '23-8=15']
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,70 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 |
[
58,
9,
47,
42
] | 13 | [
"47-42=5",
"9*5=45",
"58-45=13"
] | Current State: 13:[58, 9, 47, 42], Operations: []
Exploring Operation: 47-42=5, Resulting Numbers: [58, 9, 5]
Generated Node #2: [58, 9, 5] from Operation: 47-42=5
Current State: 13:[58, 9, 5], Operations: ['47-42=5']
Exploring Operation: 9*5=45, Resulting Numbers: [58, 45]
Generated Node #3: [58, 45] from Operation: 9*5=45
Current State: 13:[58, 45], Operations: ['47-42=5', '9*5=45']
Exploring Operation: 58-45=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[58, 9, 47, 42], Operations: []
Exploring Operation: 58-42=16, Resulting Numbers: [9, 47, 16]
Generated Node #0,0: 13:[9, 47, 16] Operation: 58-42=16
Exploring Operation: 58-9=49, Resulting Numbers: [47, 42, 49]
Generated Node #0,1: 13:[47, 42, 49] Operation: 58-9=49
Exploring Operation: 47-42=5, Resulting Numbers: [58, 9, 5]
Generated Node #0,2: 13:[58, 9, 5] Operation: 47-42=5
Exploring Operation: 58-47=11, Resulting Numbers: [9, 42, 11]
Generated Node #0,3: 13:[9, 42, 11] Operation: 58-47=11
Moving to Node #0,3
Current State: 13:[9, 42, 11], Operations: ['58-47=11']
Exploring Operation: 9+42=51, Resulting Numbers: [11, 51]
Generated Node #0,3,0: 13:[11, 51] Operation: 9+42=51
Exploring Operation: 9+11=20, Resulting Numbers: [42, 20]
Generated Node #0,3,1: 13:[42, 20] Operation: 9+11=20
Exploring Operation: 42-11=31, Resulting Numbers: [9, 31]
Generated Node #0,3,2: 13:[9, 31] Operation: 42-11=31
Exploring Operation: 42-9=33, Resulting Numbers: [11, 33]
Generated Node #0,3,3: 13:[11, 33] Operation: 42-9=33
Moving to Node #0,0
Current State: 13:[9, 47, 16], Operations: ['58-42=16']
Exploring Operation: 47-16=31, Resulting Numbers: [9, 31]
Generated Node #0,0,0: 13:[9, 31] Operation: 47-16=31
Exploring Operation: 9+47=56, Resulting Numbers: [16, 56]
Generated Node #0,0,1: 13:[16, 56] Operation: 9+47=56
Exploring Operation: 16-9=7, Resulting Numbers: [47, 7]
Generated Node #0,0,2: 13:[47, 7] Operation: 16-9=7
Exploring Operation: 47-9=38, Resulting Numbers: [16, 38]
Generated Node #0,0,3: 13:[16, 38] Operation: 47-9=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[9, 31], Operations: ['58-42=16', '47-16=31']
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,13 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 9*31=279, Resulting Numbers: [279]
279,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:[16, 38], Operations: ['58-42=16', '47-9=38']
Exploring Operation: 16+38=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 16*38=608, Resulting Numbers: [608]
608,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:[47, 7], Operations: ['58-42=16', '16-9=7']
Exploring Operation: 47+7=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 47*7=329, Resulting Numbers: [329]
329,13 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,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:[16, 56], Operations: ['58-42=16', '9+47=56']
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,13 unequal: No Solution
Exploring Operation: 16*56=896, Resulting Numbers: [896]
896,13 unequal: No Solution
Exploring Operation: 16+56=72, Resulting Numbers: [72]
72,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:[58, 9, 5], Operations: ['47-42=5']
Exploring Operation: 58+5=63, Resulting Numbers: [9, 63]
Generated Node #0,2,0: 13:[9, 63] Operation: 58+5=63
Exploring Operation: 9+5=14, Resulting Numbers: [58, 14]
Generated Node #0,2,1: 13:[58, 14] Operation: 9+5=14
Exploring Operation: 58-5=53, Resulting Numbers: [9, 53]
Generated Node #0,2,2: 13:[9, 53] Operation: 58-5=53
Exploring Operation: 58-9=49, Resulting Numbers: [5, 49]
Generated Node #0,2,3: 13:[5, 49] Operation: 58-9=49
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 13:[9, 53], Operations: ['47-42=5', '58-5=53']
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Exploring Operation: 9+53=62, Resulting Numbers: [62]
62,13 unequal: No Solution
Exploring Operation: 9*53=477, Resulting Numbers: [477]
477,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:[5, 49], Operations: ['47-42=5', '58-9=49']
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 5*49=245, Resulting Numbers: [245]
245,13 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,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:[58, 14], Operations: ['47-42=5', '9+5=14']
Exploring Operation: 58+14=72, Resulting Numbers: [72]
72,13 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Exploring Operation: 58*14=812, Resulting Numbers: [812]
812,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:[9, 63], Operations: ['47-42=5', '58+5=63']
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 9*63=567, Resulting Numbers: [567]
567,13 unequal: No Solution
Exploring Operation: 9+63=72, Resulting Numbers: [72]
72,13 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,13 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: 13:[47, 42, 49], Operations: ['58-9=49']
Exploring Operation: 47-42=5, Resulting Numbers: [49, 5]
Generated Node #0,1,0: 13:[49, 5] Operation: 47-42=5
Exploring Operation: 47+42=89, Resulting Numbers: [49, 89]
Generated Node #0,1,1: 13:[49, 89] Operation: 47+42=89
Exploring Operation: 49-42=7, Resulting Numbers: [47, 7]
Generated Node #0,1,2: 13:[47, 7] Operation: 49-42=7
Exploring Operation: 49-47=2, Resulting Numbers: [42, 2]
Generated Node #0,1,3: 13:[42, 2] Operation: 49-47=2
Moving to Node #0,3,2
Current State: 13:[9, 31], Operations: ['58-47=11', '42-11=31']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 9*31=279, Resulting Numbers: [279]
279,13 unequal: No Solution
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,13 unequal: No Solution
Moving to Node #0,3,3
Current State: 13:[11, 33], Operations: ['58-47=11', '42-9=33']
Exploring Operation: 11+33=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 11*33=363, Resulting Numbers: [363]
363,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[42, 20], Operations: ['58-47=11', '9+11=20']
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,13 unequal: No Solution
Exploring Operation: 42*20=840, Resulting Numbers: [840]
840,13 unequal: No Solution
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Moving to Node #0,1,3
Current State: 13:[42, 2], Operations: ['58-9=49', '49-47=2']
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,13 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Moving to Node #0,1,2
Current State: 13:[47, 7], Operations: ['58-9=49', '49-42=7']
Exploring Operation: 47+7=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,13 unequal: No Solution
Exploring Operation: 47*7=329, Resulting Numbers: [329]
329,13 unequal: No Solution
Moving to Node #0,3,0
Current State: 13:[11, 51], Operations: ['58-47=11', '9+42=51']
Exploring Operation: 11*51=561, Resulting Numbers: [561]
561,13 unequal: No Solution
Exploring Operation: 11+51=62, Resulting Numbers: [62]
62,13 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[49, 5], Operations: ['58-9=49', '47-42=5']
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,13 unequal: No Solution
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[49, 89], Operations: ['58-9=49', '47+42=89']
Exploring Operation: 49*89=4361, Resulting Numbers: [4361]
4361,13 unequal: No Solution
Exploring Operation: 49+89=138, Resulting Numbers: [138]
138,13 unequal: No Solution
Exploring Operation: 89-49=40, Resulting Numbers: [40]
40,13 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
1,
19,
34,
1
] | 19 | [
"1-1=0",
"34*0=0",
"19+0=19"
] | Current State: 19:[1, 19, 34, 1], Operations: []
Exploring Operation: 1-1=0, Resulting Numbers: [19, 34, 0]
Generated Node #2: [19, 34, 0] from Operation: 1-1=0
Current State: 19:[19, 34, 0], Operations: ['1-1=0']
Exploring Operation: 34*0=0, Resulting Numbers: [19, 0]
Generated Node #3: [19, 0] from Operation: 34*0=0
Current State: 19:[19, 0], Operations: ['1-1=0', '34*0=0']
Exploring Operation: 19+0=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[1, 19, 34, 1], Operations: []
Exploring Operation: 1*19=19, Resulting Numbers: [34, 1, 19]
Generated Node #0,0: 19:[34, 1, 19] Operation: 1*19=19
Exploring Operation: 34-1=33, Resulting Numbers: [19, 1, 33]
Generated Node #0,1: 19:[19, 1, 33] Operation: 34-1=33
Exploring Operation: 19/1=19, Resulting Numbers: [34, 1, 19]
Generated Node #0,2: 19:[34, 1, 19] Operation: 19/1=19
Exploring Operation: 1+1=2, Resulting Numbers: [19, 34, 2]
Generated Node #0,3: 19:[19, 34, 2] Operation: 1+1=2
Exploring Operation: 34-1=33, Resulting Numbers: [1, 19, 33]
Generated Node #0,4: 19:[1, 19, 33] Operation: 34-1=33
Moving to Node #0,1
Current State: 19:[19, 1, 33], Operations: ['34-1=33']
Exploring Operation: 33/1=33, Resulting Numbers: [19, 33]
Generated Node #0,1,0: 19:[19, 33] Operation: 33/1=33
Exploring Operation: 19*1=19, Resulting Numbers: [33, 19]
Generated Node #0,1,1: 19:[33, 19] Operation: 19*1=19
Exploring Operation: 33-1=32, Resulting Numbers: [19, 32]
Generated Node #0,1,2: 19:[19, 32] Operation: 33-1=32
Exploring Operation: 19/1=19, Resulting Numbers: [33, 19]
Generated Node #0,1,3: 19:[33, 19] Operation: 19/1=19
Exploring Operation: 1*33=33, Resulting Numbers: [19, 33]
Generated Node #0,1,4: 19:[19, 33] Operation: 1*33=33
Moving to Node #0,4
Current State: 19:[1, 19, 33], Operations: ['34-1=33']
Exploring Operation: 33-1=32, Resulting Numbers: [19, 32]
Generated Node #0,4,0: 19:[19, 32] Operation: 33-1=32
Exploring Operation: 33/1=33, Resulting Numbers: [19, 33]
Generated Node #0,4,1: 19:[19, 33] Operation: 33/1=33
Exploring Operation: 19/1=19, Resulting Numbers: [33, 19]
Generated Node #0,4,2: 19:[33, 19] Operation: 19/1=19
Exploring Operation: 1*33=33, Resulting Numbers: [19, 33]
Generated Node #0,4,3: 19:[19, 33] Operation: 1*33=33
Exploring Operation: 1*19=19, Resulting Numbers: [33, 19]
Generated Node #0,4,4: 19:[33, 19] Operation: 1*19=19
Moving to Node #0,3
Current State: 19:[19, 34, 2], Operations: ['1+1=2']
Exploring Operation: 34+2=36, Resulting Numbers: [19, 36]
Generated Node #0,3,0: 19:[19, 36] Operation: 34+2=36
Exploring Operation: 19-2=17, Resulting Numbers: [34, 17]
Generated Node #0,3,1: 19:[34, 17] Operation: 19-2=17
Exploring Operation: 19+2=21, Resulting Numbers: [34, 21]
Generated Node #0,3,2: 19:[34, 21] Operation: 19+2=21
Exploring Operation: 34-2=32, Resulting Numbers: [19, 32]
Generated Node #0,3,3: 19:[19, 32] Operation: 34-2=32
Exploring Operation: 34/2=17, Resulting Numbers: [19, 17]
Generated Node #0,3,4: 19:[19, 17] Operation: 34/2=17
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 19:[19, 17], Operations: ['1+1=2', '34/2=17']
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,19 unequal: No Solution
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 19:[19, 32], Operations: ['1+1=2', '34-2=32']
Exploring Operation: 19+32=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Exploring Operation: 19*32=608, Resulting Numbers: [608]
608,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 19:[19, 36], Operations: ['1+1=2', '34+2=36']
Exploring Operation: 19*36=684, Resulting Numbers: [684]
684,19 unequal: No Solution
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 19+36=55, Resulting Numbers: [55]
55,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 19:[34, 17], Operations: ['1+1=2', '19-2=17']
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 34*17=578, Resulting Numbers: [578]
578,19 unequal: No Solution
Exploring Operation: 34+17=51, Resulting Numbers: [51]
51,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 19:[34, 21], Operations: ['1+1=2', '19+2=21']
Exploring Operation: 34*21=714, Resulting Numbers: [714]
714,19 unequal: No Solution
Exploring Operation: 34+21=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,19 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: 19:[34, 1, 19], Operations: ['1*19=19']
Exploring Operation: 34*1=34, Resulting Numbers: [19, 34]
Generated Node #0,0,0: 19:[19, 34] Operation: 34*1=34
Exploring Operation: 34/1=34, Resulting Numbers: [19, 34]
Generated Node #0,0,1: 19:[19, 34] Operation: 34/1=34
Exploring Operation: 1*19=19, Resulting Numbers: [34, 19]
Generated Node #0,0,2: 19:[34, 19] Operation: 1*19=19
Exploring Operation: 34-1=33, Resulting Numbers: [19, 33]
Generated Node #0,0,3: 19:[19, 33] Operation: 34-1=33
Exploring Operation: 19/1=19, Resulting Numbers: [34, 19]
Generated Node #0,0,4: 19:[34, 19] Operation: 19/1=19
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 19:[19, 33], Operations: ['1*19=19', '34-1=33']
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 19*33=627, Resulting Numbers: [627]
627,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[19, 34], Operations: ['1*19=19', '34*1=34']
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,19 unequal: No Solution
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[19, 34], Operations: ['1*19=19', '34/1=34']
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,19 unequal: No Solution
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[34, 19], Operations: ['1*19=19', '1*19=19']
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 34*19=646, Resulting Numbers: [646]
646,19 unequal: No Solution
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 19:[34, 19], Operations: ['1*19=19', '19/1=19']
Exploring Operation: 34*19=646, Resulting Numbers: [646]
646,19 unequal: No Solution
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,19 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: 19:[34, 1, 19], Operations: ['19/1=19']
Exploring Operation: 1*19=19, Resulting Numbers: [34, 19]
Generated Node #0,2,0: 19:[34, 19] Operation: 1*19=19
Exploring Operation: 34*1=34, Resulting Numbers: [19, 34]
Generated Node #0,2,1: 19:[19, 34] Operation: 34*1=34
Exploring Operation: 34-1=33, Resulting Numbers: [19, 33]
Generated Node #0,2,2: 19:[19, 33] Operation: 34-1=33
Exploring Operation: 34/1=34, Resulting Numbers: [19, 34]
Generated Node #0,2,3: 19:[19, 34] Operation: 34/1=34
Exploring Operation: 19/1=19, Resulting Numbers: [34, 19]
Generated Node #0,2,4: 19:[34, 19] Operation: 19/1=19
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 19:[19, 33], Operations: ['19/1=19', '34-1=33']
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 19*33=627, Resulting Numbers: [627]
627,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 19:[34, 19], Operations: ['19/1=19', '1*19=19']
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 34*19=646, Resulting Numbers: [646]
646,19 unequal: No Solution
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[19, 34], Operations: ['19/1=19', '34*1=34']
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,19 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 19:[19, 34], Operations: ['19/1=19', '34/1=34']
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,19 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 19:[34, 19], Operations: ['19/1=19', '19/1=19']
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 34*19=646, Resulting Numbers: [646]
646,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 19:[19, 32], Operations: ['34-1=33', '33-1=32']
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Exploring Operation: 19*32=608, Resulting Numbers: [608]
608,19 unequal: No Solution
Exploring Operation: 19+32=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Moving to Node #0,4,0
Current State: 19:[19, 32], Operations: ['34-1=33', '33-1=32']
Exploring Operation: 19*32=608, Resulting Numbers: [608]
608,19 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Exploring Operation: 19+32=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Moving to Node #0,4,1
Current State: 19:[19, 33], Operations: ['34-1=33', '33/1=33']
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 19*33=627, Resulting Numbers: [627]
627,19 unequal: No Solution
Moving to Node #0,4,4
Current State: 19:[33, 19], Operations: ['34-1=33', '1*19=19']
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,19 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Moving to Node #0,4,3
Current State: 19:[19, 33], Operations: ['34-1=33', '1*33=33']
Exploring Operation: 19*33=627, Resulting Numbers: [627]
627,19 unequal: No Solution
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[33, 19], Operations: ['34-1=33', '19*1=19']
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,19 unequal: No Solution
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Moving to Node #0,4,2
Current State: 19:[33, 19], Operations: ['34-1=33', '19/1=19']
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,19 unequal: No Solution
Moving to Node #0,1,4
Current State: 19:[19, 33], Operations: ['34-1=33', '1*33=33']
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 19*33=627, Resulting Numbers: [627]
627,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[19, 33], Operations: ['34-1=33', '33/1=33']
Exploring Operation: 19*33=627, Resulting Numbers: [627]
627,19 unequal: No Solution
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[33, 19], Operations: ['34-1=33', '19/1=19']
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,19 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
73,
55,
89,
77
] | 30 | [
"73-55=18",
"89-77=12",
"18+12=30"
] | Current State: 30:[73, 55, 89, 77], Operations: []
Exploring Operation: 73-55=18, Resulting Numbers: [89, 77, 18]
Generated Node #2: [89, 77, 18] from Operation: 73-55=18
Current State: 30:[89, 77, 18], Operations: ['73-55=18']
Exploring Operation: 89-77=12, Resulting Numbers: [18, 12]
Generated Node #3: [18, 12] from Operation: 89-77=12
Current State: 30:[18, 12], Operations: ['73-55=18', '89-77=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[73, 55, 89, 77], Operations: []
Exploring Operation: 73-55=18, Resulting Numbers: [89, 77, 18]
Generated Node #0,0: 30:[89, 77, 18] Operation: 73-55=18
Exploring Operation: 89-73=16, Resulting Numbers: [55, 77, 16]
Generated Node #0,1: 30:[55, 77, 16] Operation: 89-73=16
Exploring Operation: 89-55=34, Resulting Numbers: [73, 77, 34]
Generated Node #0,2: 30:[73, 77, 34] Operation: 89-55=34
Exploring Operation: 89-77=12, Resulting Numbers: [73, 55, 12]
Generated Node #0,3: 30:[73, 55, 12] Operation: 89-77=12
Exploring Operation: 77-73=4, Resulting Numbers: [55, 89, 4]
Generated Node #0,4: 30:[55, 89, 4] Operation: 77-73=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[73, 55, 12], Operations: ['89-77=12']
Exploring Operation: 73-55=18, Resulting Numbers: [12, 18]
Generated Node #0,3,0: 30:[12, 18] Operation: 73-55=18
Exploring Operation: 73+12=85, Resulting Numbers: [55, 85]
Generated Node #0,3,1: 30:[55, 85] Operation: 73+12=85
Exploring Operation: 73-12=61, Resulting Numbers: [55, 61]
Generated Node #0,3,2: 30:[55, 61] Operation: 73-12=61
Exploring Operation: 55-12=43, Resulting Numbers: [73, 43]
Generated Node #0,3,3: 30:[73, 43] Operation: 55-12=43
Exploring Operation: 55+12=67, Resulting Numbers: [73, 67]
Generated Node #0,3,4: 30:[73, 67] Operation: 55+12=67
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 30:[12, 18], Operations: ['89-77=12', '73-55=18']
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,30 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[73, 55, 89, 77], Operations: []
Exploring Operation: 89-77=12, Resulting Numbers: [73, 55, 12]
Generated Node #0,3: 30:[73, 55, 12] Operation: 89-77=12
Moving to Node #0,3
Current State: 30:[73, 55, 12], Operations: ['89-77=12']
Exploring Operation: 73-55=18, Resulting Numbers: [12, 18]
Generated Node #0,3,0: 30:[12, 18] Operation: 73-55=18
Moving to Node #0,3,0
Current State: 30:[12, 18], Operations: ['89-77=12', '73-55=18']
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
55,
5,
82,
20
] | 79 | [
"55+5=60",
"60/20=3",
"82-3=79"
] | Current State: 79:[55, 5, 82, 20], Operations: []
Exploring Operation: 55+5=60, Resulting Numbers: [82, 20, 60]
Generated Node #2: [82, 20, 60] from Operation: 55+5=60
Current State: 79:[82, 20, 60], Operations: ['55+5=60']
Exploring Operation: 60/20=3, Resulting Numbers: [82, 3]
Generated Node #3: [82, 3] from Operation: 60/20=3
Current State: 79:[82, 3], Operations: ['55+5=60', '60/20=3']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[55, 5, 82, 20], Operations: []
Exploring Operation: 5*20=100, Resulting Numbers: [55, 82, 100]
Generated Node #0,0: 79:[55, 82, 100] Operation: 5*20=100
Exploring Operation: 55+5=60, Resulting Numbers: [82, 20, 60]
Generated Node #0,1: 79:[82, 20, 60] Operation: 55+5=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[55, 82, 100], Operations: ['5*20=100']
Exploring Operation: 82-55=27, Resulting Numbers: [100, 27]
Generated Node #0,0,0: 79:[100, 27] Operation: 82-55=27
Exploring Operation: 100-55=45, Resulting Numbers: [82, 45]
Generated Node #0,0,1: 79:[82, 45] Operation: 100-55=45
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[82, 45], Operations: ['5*20=100', '100-55=45']
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 82+45=127, Resulting Numbers: [127]
127,79 unequal: No Solution
No 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: 79:[100, 27], Operations: ['5*20=100', '82-55=27']
Exploring Operation: 100-27=73, Resulting Numbers: [73]
73,79 unequal: No Solution
Exploring Operation: 100+27=127, Resulting Numbers: [127]
127,79 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: 79:[82, 20, 60], Operations: ['55+5=60']
Exploring Operation: 82-20=62, Resulting Numbers: [60, 62]
Generated Node #0,1,0: 79:[60, 62] Operation: 82-20=62
Exploring Operation: 20+60=80, Resulting Numbers: [82, 80]
Generated Node #0,1,1: 79:[82, 80] Operation: 20+60=80
Moving to Node #0,1,1
Current State: 79:[82, 80], Operations: ['55+5=60', '20+60=80']
Exploring Operation: 82-80=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 82+80=162, Resulting Numbers: [162]
162,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[60, 62], Operations: ['55+5=60', '82-20=62']
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 60+62=122, Resulting Numbers: [122]
122,79 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.