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 |
|---|---|---|---|---|---|---|---|---|
[
65,
1,
46,
81
] | 61 | [
"65+1=66",
"46+81=127",
"127-66=61"
] | Current State: 61:[65, 1, 46, 81], Operations: []
Exploring Operation: 65+1=66, Resulting Numbers: [46, 81, 66]
Generated Node #2: [46, 81, 66] from Operation: 65+1=66
Current State: 61:[46, 81, 66], Operations: ['65+1=66']
Exploring Operation: 46+81=127, Resulting Numbers: [66, 127]
Generated Node #3: [66, 127] from Operation: 46+81=127
Current State: 61:[66, 127], Operations: ['65+1=66', '46+81=127']
Exploring Operation: 127-66=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[65, 1, 46, 81], Operations: []
Exploring Operation: 65-1=64, Resulting Numbers: [46, 81, 64]
Generated Node #0,0: 61:[46, 81, 64] Operation: 65-1=64
Exploring Operation: 1+46=47, Resulting Numbers: [65, 81, 47]
Generated Node #0,1: 61:[65, 81, 47] Operation: 1+46=47
Exploring Operation: 81-1=80, Resulting Numbers: [65, 46, 80]
Generated Node #0,2: 61:[65, 46, 80] Operation: 81-1=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[46, 81, 64], Operations: ['65-1=64']
Exploring Operation: 81-64=17, Resulting Numbers: [46, 17]
Generated Node #0,0,0: 61:[46, 17] Operation: 81-64=17
Exploring Operation: 81-46=35, Resulting Numbers: [64, 35]
Generated Node #0,0,1: 61:[64, 35] Operation: 81-46=35
Exploring Operation: 64-46=18, Resulting Numbers: [81, 18]
Generated Node #0,0,2: 61:[81, 18] Operation: 64-46=18
Moving to Node #0,0,1
Current State: 61:[64, 35], Operations: ['65-1=64', '81-46=35']
Exploring Operation: 64+35=99, Resulting Numbers: [99]
99,61 unequal: No Solution
Exploring Operation: 64-35=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 64*35=2240, Resulting Numbers: [2240]
2240,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[46, 17], Operations: ['65-1=64', '81-64=17']
Exploring Operation: 46*17=782, Resulting Numbers: [782]
782,61 unequal: No Solution
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 46+17=63, Resulting Numbers: [63]
63,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[81, 18], Operations: ['65-1=64', '64-46=18']
Exploring Operation: 81*18=1458, Resulting Numbers: [1458]
1458,61 unequal: No Solution
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,61 unequal: No Solution
Exploring Operation: 81+18=99, Resulting Numbers: [99]
99,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[65, 81, 47], Operations: ['1+46=47']
Exploring Operation: 81-65=16, Resulting Numbers: [47, 16]
Generated Node #0,1,0: 61:[47, 16] Operation: 81-65=16
Exploring Operation: 81-47=34, Resulting Numbers: [65, 34]
Generated Node #0,1,1: 61:[65, 34] Operation: 81-47=34
Exploring Operation: 65-47=18, Resulting Numbers: [81, 18]
Generated Node #0,1,2: 61:[81, 18] Operation: 65-47=18
Moving to Node #0,1,1
Current State: 61:[65, 34], Operations: ['1+46=47', '81-47=34']
Exploring Operation: 65*34=2210, Resulting Numbers: [2210]
2210,61 unequal: No Solution
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,61 unequal: No Solution
Exploring Operation: 65+34=99, Resulting Numbers: [99]
99,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[47, 16], Operations: ['1+46=47', '81-65=16']
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,61 unequal: No Solution
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,61 unequal: No Solution
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[81, 18], Operations: ['1+46=47', '65-47=18']
Exploring Operation: 81+18=99, Resulting Numbers: [99]
99,61 unequal: No Solution
Exploring Operation: 81*18=1458, Resulting Numbers: [1458]
1458,61 unequal: No Solution
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[65, 46, 80], Operations: ['81-1=80']
Exploring Operation: 65-46=19, Resulting Numbers: [80, 19]
Generated Node #0,2,0: 61:[80, 19] Operation: 65-46=19
Exploring Operation: 80-46=34, Resulting Numbers: [65, 34]
Generated Node #0,2,1: 61:[65, 34] Operation: 80-46=34
Exploring Operation: 80-65=15, Resulting Numbers: [46, 15]
Generated Node #0,2,2: 61:[46, 15] Operation: 80-65=15
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 61:[65, 34], Operations: ['81-1=80', '80-46=34']
Exploring Operation: 65+34=99, Resulting Numbers: [99]
99,61 unequal: No Solution
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,61 unequal: No Solution
Exploring Operation: 65*34=2210, Resulting Numbers: [2210]
2210,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[80, 19], Operations: ['81-1=80', '65-46=19']
Exploring Operation: 80+19=99, Resulting Numbers: [99]
99,61 unequal: No Solution
Exploring Operation: 80*19=1520, Resulting Numbers: [1520]
1520,61 unequal: No Solution
Exploring Operation: 80-19=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[65, 1, 46, 81], Operations: []
Exploring Operation: 81-1=80, Resulting Numbers: [65, 46, 80]
Generated Node #0,2: 61:[65, 46, 80] Operation: 81-1=80
Moving to Node #0,2
Current State: 61:[65, 46, 80], Operations: ['81-1=80']
Exploring Operation: 65-46=19, Resulting Numbers: [80, 19]
Generated Node #0,2,0: 61:[80, 19] Operation: 65-46=19
Moving to Node #0,2,0
Current State: 61:[80, 19], Operations: ['81-1=80', '65-46=19']
Exploring Operation: 80-19=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.965278 | hs_3 | sum_heuristic |
[
35,
70,
88,
48
] | 92 | [
"70/35=2",
"88/2=44",
"48+44=92"
] | Current State: 92:[35, 70, 88, 48], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [88, 48, 2]
Generated Node #2: [88, 48, 2] from Operation: 70/35=2
Current State: 92:[88, 48, 2], Operations: ['70/35=2']
Exploring Operation: 88/2=44, Resulting Numbers: [48, 44]
Generated Node #3: [48, 44] from Operation: 88/2=44
Current State: 92:[48, 44], Operations: ['70/35=2', '88/2=44']
Exploring Operation: 48+44=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[35, 70, 88, 48], Operations: []
Exploring Operation: 35+70=105, Resulting Numbers: [88, 48, 105]
Generated Node #0,0: 92:[88, 48, 105] Operation: 35+70=105
Exploring Operation: 88-70=18, Resulting Numbers: [35, 48, 18]
Generated Node #0,1: 92:[35, 48, 18] Operation: 88-70=18
Exploring Operation: 70/35=2, Resulting Numbers: [88, 48, 2]
Generated Node #0,2: 92:[88, 48, 2] Operation: 70/35=2
Exploring Operation: 70-48=22, Resulting Numbers: [35, 88, 22]
Generated Node #0,3: 92:[35, 88, 22] Operation: 70-48=22
Exploring Operation: 70-35=35, Resulting Numbers: [88, 48, 35]
Generated Node #0,4: 92:[88, 48, 35] Operation: 70-35=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[88, 48, 2], Operations: ['70/35=2']
Exploring Operation: 48-2=46, Resulting Numbers: [88, 46]
Generated Node #0,2,0: 92:[88, 46] Operation: 48-2=46
Exploring Operation: 88-48=40, Resulting Numbers: [2, 40]
Generated Node #0,2,1: 92:[2, 40] Operation: 88-48=40
Exploring Operation: 88/2=44, Resulting Numbers: [48, 44]
Generated Node #0,2,2: 92:[48, 44] Operation: 88/2=44
Exploring Operation: 48/2=24, Resulting Numbers: [88, 24]
Generated Node #0,2,3: 92:[88, 24] Operation: 48/2=24
Exploring Operation: 88+2=90, Resulting Numbers: [48, 90]
Generated Node #0,2,4: 92:[48, 90] Operation: 88+2=90
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 92:[88, 46], Operations: ['70/35=2', '48-2=46']
Exploring Operation: 88+46=134, Resulting Numbers: [134]
134,92 unequal: No Solution
Exploring Operation: 88-46=42, Resulting Numbers: [42]
42,92 unequal: No Solution
Exploring Operation: 88*46=4048, Resulting Numbers: [4048]
4048,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 92:[48, 44], Operations: ['70/35=2', '88/2=44']
Exploring Operation: 48*44=2112, Resulting Numbers: [2112]
2112,92 unequal: No Solution
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 48+44=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[35, 70, 88, 48], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [88, 48, 2]
Generated Node #0,2: 92:[88, 48, 2] Operation: 70/35=2
Moving to Node #0,2
Current State: 92:[88, 48, 2], Operations: ['70/35=2']
Exploring Operation: 88/2=44, Resulting Numbers: [48, 44]
Generated Node #0,2,2: 92:[48, 44] Operation: 88/2=44
Moving to Node #0,2,2
Current State: 92:[48, 44], Operations: ['70/35=2', '88/2=44']
Exploring Operation: 48+44=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
86,
5,
2,
16
] | 89 | [
"86-5=81",
"16/2=8",
"81+8=89"
] | Current State: 89:[86, 5, 2, 16], Operations: []
Exploring Operation: 86-5=81, Resulting Numbers: [2, 16, 81]
Generated Node #2: [2, 16, 81] from Operation: 86-5=81
Current State: 89:[2, 16, 81], Operations: ['86-5=81']
Exploring Operation: 16/2=8, Resulting Numbers: [81, 8]
Generated Node #3: [81, 8] from Operation: 16/2=8
Current State: 89:[81, 8], Operations: ['86-5=81', '16/2=8']
Exploring Operation: 81+8=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[86, 5, 2, 16], Operations: []
Exploring Operation: 5*16=80, Resulting Numbers: [86, 2, 80]
Generated Node #0,0: 89:[86, 2, 80] Operation: 5*16=80
Exploring Operation: 2*16=32, Resulting Numbers: [86, 5, 32]
Generated Node #0,1: 89:[86, 5, 32] Operation: 2*16=32
Exploring Operation: 86+2=88, Resulting Numbers: [5, 16, 88]
Generated Node #0,2: 89:[5, 16, 88] Operation: 86+2=88
Exploring Operation: 5*2=10, Resulting Numbers: [86, 16, 10]
Generated Node #0,3: 89:[86, 16, 10] Operation: 5*2=10
Exploring Operation: 5+2=7, Resulting Numbers: [86, 16, 7]
Generated Node #0,4: 89:[86, 16, 7] Operation: 5+2=7
Moving to Node #0,0
Current State: 89:[86, 2, 80], Operations: ['5*16=80']
Exploring Operation: 86-2=84, Resulting Numbers: [80, 84]
Generated Node #0,0,0: 89:[80, 84] Operation: 86-2=84
Exploring Operation: 2+80=82, Resulting Numbers: [86, 82]
Generated Node #0,0,1: 89:[86, 82] Operation: 2+80=82
Exploring Operation: 80/2=40, Resulting Numbers: [86, 40]
Generated Node #0,0,2: 89:[86, 40] Operation: 80/2=40
Exploring Operation: 80-2=78, Resulting Numbers: [86, 78]
Generated Node #0,0,3: 89:[86, 78] Operation: 80-2=78
Exploring Operation: 86+2=88, Resulting Numbers: [80, 88]
Generated Node #0,0,4: 89:[80, 88] Operation: 86+2=88
Moving to Node #0,1
Current State: 89:[86, 5, 32], Operations: ['2*16=32']
Exploring Operation: 86-5=81, Resulting Numbers: [32, 81]
Generated Node #0,1,0: 89:[32, 81] Operation: 86-5=81
Exploring Operation: 5+32=37, Resulting Numbers: [86, 37]
Generated Node #0,1,1: 89:[86, 37] Operation: 5+32=37
Exploring Operation: 5*32=160, Resulting Numbers: [86, 160]
Generated Node #0,1,2: 89:[86, 160] Operation: 5*32=160
Exploring Operation: 86+5=91, Resulting Numbers: [32, 91]
Generated Node #0,1,3: 89:[32, 91] Operation: 86+5=91
Exploring Operation: 32-5=27, Resulting Numbers: [86, 27]
Generated Node #0,1,4: 89:[86, 27] Operation: 32-5=27
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[86, 37], Operations: ['2*16=32', '5+32=37']
Exploring Operation: 86+37=123, Resulting Numbers: [123]
123,89 unequal: No Solution
Exploring Operation: 86-37=49, Resulting Numbers: [49]
49,89 unequal: No Solution
Exploring Operation: 86*37=3182, Resulting Numbers: [3182]
3182,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 89:[32, 91], Operations: ['2*16=32', '86+5=91']
Exploring Operation: 32*91=2912, Resulting Numbers: [2912]
2912,89 unequal: No Solution
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,89 unequal: No Solution
Exploring Operation: 32+91=123, Resulting Numbers: [123]
123,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[32, 81], Operations: ['2*16=32', '86-5=81']
Exploring Operation: 81-32=49, Resulting Numbers: [49]
49,89 unequal: No Solution
Exploring Operation: 32*81=2592, Resulting Numbers: [2592]
2592,89 unequal: No Solution
Exploring Operation: 32+81=113, Resulting Numbers: [113]
113,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 89:[86, 27], Operations: ['2*16=32', '32-5=27']
Exploring Operation: 86*27=2322, Resulting Numbers: [2322]
2322,89 unequal: No Solution
Exploring Operation: 86+27=113, Resulting Numbers: [113]
113,89 unequal: No Solution
Exploring Operation: 86-27=59, Resulting Numbers: [59]
59,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[86, 160], Operations: ['2*16=32', '5*32=160']
Exploring Operation: 86+160=246, Resulting Numbers: [246]
246,89 unequal: No Solution
Exploring Operation: 86*160=13760, Resulting Numbers: [13760]
13760,89 unequal: No Solution
Exploring Operation: 160-86=74, Resulting Numbers: [74]
74,89 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: 89:[86, 16, 10], Operations: ['5*2=10']
Exploring Operation: 16*10=160, Resulting Numbers: [86, 160]
Generated Node #0,3,0: 89:[86, 160] Operation: 16*10=160
Exploring Operation: 16+10=26, Resulting Numbers: [86, 26]
Generated Node #0,3,1: 89:[86, 26] Operation: 16+10=26
Exploring Operation: 16-10=6, Resulting Numbers: [86, 6]
Generated Node #0,3,2: 89:[86, 6] Operation: 16-10=6
Exploring Operation: 86+10=96, Resulting Numbers: [16, 96]
Generated Node #0,3,3: 89:[16, 96] Operation: 86+10=96
Exploring Operation: 86-10=76, Resulting Numbers: [16, 76]
Generated Node #0,3,4: 89:[16, 76] Operation: 86-10=76
Moving to Node #0,2
Current State: 89:[5, 16, 88], Operations: ['86+2=88']
Exploring Operation: 5+16=21, Resulting Numbers: [88, 21]
Generated Node #0,2,0: 89:[88, 21] Operation: 5+16=21
Exploring Operation: 88-5=83, Resulting Numbers: [16, 83]
Generated Node #0,2,1: 89:[16, 83] Operation: 88-5=83
Exploring Operation: 16-5=11, Resulting Numbers: [88, 11]
Generated Node #0,2,2: 89:[88, 11] Operation: 16-5=11
Exploring Operation: 5+88=93, Resulting Numbers: [16, 93]
Generated Node #0,2,3: 89:[16, 93] Operation: 5+88=93
Exploring Operation: 5*16=80, Resulting Numbers: [88, 80]
Generated Node #0,2,4: 89:[88, 80] Operation: 5*16=80
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 89:[88, 80], Operations: ['86+2=88', '5*16=80']
Exploring Operation: 88*80=7040, Resulting Numbers: [7040]
7040,89 unequal: No Solution
Exploring Operation: 88+80=168, Resulting Numbers: [168]
168,89 unequal: No Solution
Exploring Operation: 88-80=8, Resulting Numbers: [8]
8,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[88, 21], Operations: ['86+2=88', '5+16=21']
Exploring Operation: 88*21=1848, Resulting Numbers: [1848]
1848,89 unequal: No Solution
Exploring Operation: 88-21=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Exploring Operation: 88+21=109, Resulting Numbers: [109]
109,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 89:[16, 93], Operations: ['86+2=88', '5+88=93']
Exploring Operation: 16+93=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Exploring Operation: 16*93=1488, Resulting Numbers: [1488]
1488,89 unequal: No Solution
Exploring Operation: 93-16=77, Resulting Numbers: [77]
77,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[16, 83], Operations: ['86+2=88', '88-5=83']
Exploring Operation: 16+83=99, Resulting Numbers: [99]
99,89 unequal: No Solution
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Exploring Operation: 16*83=1328, Resulting Numbers: [1328]
1328,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[88, 11], Operations: ['86+2=88', '16-5=11']
Exploring Operation: 88+11=99, Resulting Numbers: [99]
99,89 unequal: No Solution
Exploring Operation: 88*11=968, Resulting Numbers: [968]
968,89 unequal: No Solution
Exploring Operation: 88-11=77, Resulting Numbers: [77]
77,89 unequal: No Solution
Exploring Operation: 88/11=8, Resulting Numbers: [8]
8,89 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: 89:[86, 16, 7], Operations: ['5+2=7']
Exploring Operation: 86+7=93, Resulting Numbers: [16, 93]
Generated Node #0,4,0: 89:[16, 93] Operation: 86+7=93
Exploring Operation: 16-7=9, Resulting Numbers: [86, 9]
Generated Node #0,4,1: 89:[86, 9] Operation: 16-7=9
Exploring Operation: 16+7=23, Resulting Numbers: [86, 23]
Generated Node #0,4,2: 89:[86, 23] Operation: 16+7=23
Exploring Operation: 86-7=79, Resulting Numbers: [16, 79]
Generated Node #0,4,3: 89:[16, 79] Operation: 86-7=79
Exploring Operation: 16*7=112, Resulting Numbers: [86, 112]
Generated Node #0,4,4: 89:[86, 112] Operation: 16*7=112
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 89:[86, 112], Operations: ['5+2=7', '16*7=112']
Exploring Operation: 86+112=198, Resulting Numbers: [198]
198,89 unequal: No Solution
Exploring Operation: 112-86=26, Resulting Numbers: [26]
26,89 unequal: No Solution
Exploring Operation: 86*112=9632, Resulting Numbers: [9632]
9632,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 89:[86, 23], Operations: ['5+2=7', '16+7=23']
Exploring Operation: 86-23=63, Resulting Numbers: [63]
63,89 unequal: No Solution
Exploring Operation: 86+23=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Exploring Operation: 86*23=1978, Resulting Numbers: [1978]
1978,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 89:[16, 93], Operations: ['5+2=7', '86+7=93']
Exploring Operation: 93-16=77, Resulting Numbers: [77]
77,89 unequal: No Solution
Exploring Operation: 16+93=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Exploring Operation: 16*93=1488, Resulting Numbers: [1488]
1488,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 89:[86, 9], Operations: ['5+2=7', '16-7=9']
Exploring Operation: 86+9=95, Resulting Numbers: [95]
95,89 unequal: No Solution
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,89 unequal: No Solution
Exploring Operation: 86*9=774, Resulting Numbers: [774]
774,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 89:[16, 79], Operations: ['5+2=7', '86-7=79']
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,89 unequal: No Solution
Exploring Operation: 16*79=1264, Resulting Numbers: [1264]
1264,89 unequal: No Solution
Exploring Operation: 16+79=95, Resulting Numbers: [95]
95,89 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: 89:[86, 82], Operations: ['5*16=80', '2+80=82']
Exploring Operation: 86+82=168, Resulting Numbers: [168]
168,89 unequal: No Solution
Exploring Operation: 86*82=7052, Resulting Numbers: [7052]
7052,89 unequal: No Solution
Exploring Operation: 86-82=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Moving to Node #0,0,4
Current State: 89:[80, 88], Operations: ['5*16=80', '86+2=88']
Exploring Operation: 80*88=7040, Resulting Numbers: [7040]
7040,89 unequal: No Solution
Exploring Operation: 80+88=168, Resulting Numbers: [168]
168,89 unequal: No Solution
Exploring Operation: 88-80=8, Resulting Numbers: [8]
8,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[80, 84], Operations: ['5*16=80', '86-2=84']
Exploring Operation: 80*84=6720, Resulting Numbers: [6720]
6720,89 unequal: No Solution
Exploring Operation: 80+84=164, Resulting Numbers: [164]
164,89 unequal: No Solution
Exploring Operation: 84-80=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[86, 78], Operations: ['5*16=80', '80-2=78']
Exploring Operation: 86*78=6708, Resulting Numbers: [6708]
6708,89 unequal: No Solution
Exploring Operation: 86+78=164, Resulting Numbers: [164]
164,89 unequal: No Solution
Exploring Operation: 86-78=8, Resulting Numbers: [8]
8,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[86, 40], Operations: ['5*16=80', '80/2=40']
Exploring Operation: 86+40=126, Resulting Numbers: [126]
126,89 unequal: No Solution
Exploring Operation: 86*40=3440, Resulting Numbers: [3440]
3440,89 unequal: No Solution
Exploring Operation: 86-40=46, Resulting Numbers: [46]
46,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[86, 26], Operations: ['5*2=10', '16+10=26']
Exploring Operation: 86*26=2236, Resulting Numbers: [2236]
2236,89 unequal: No Solution
Exploring Operation: 86-26=60, Resulting Numbers: [60]
60,89 unequal: No Solution
Exploring Operation: 86+26=112, Resulting Numbers: [112]
112,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[86, 160], Operations: ['5*2=10', '16*10=160']
Exploring Operation: 160-86=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 86*160=13760, Resulting Numbers: [13760]
13760,89 unequal: No Solution
Exploring Operation: 86+160=246, Resulting Numbers: [246]
246,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[16, 96], Operations: ['5*2=10', '86+10=96']
Exploring Operation: 96/16=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Exploring Operation: 16*96=1536, Resulting Numbers: [1536]
1536,89 unequal: No Solution
Exploring Operation: 96-16=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 16+96=112, Resulting Numbers: [112]
112,89 unequal: No Solution
Moving to Node #0,3,4
Current State: 89:[16, 76], Operations: ['5*2=10', '86-10=76']
Exploring Operation: 16*76=1216, Resulting Numbers: [1216]
1216,89 unequal: No Solution
Exploring Operation: 16+76=92, Resulting Numbers: [92]
92,89 unequal: No Solution
Exploring Operation: 76-16=60, Resulting Numbers: [60]
60,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[86, 6], Operations: ['5*2=10', '16-10=6']
Exploring Operation: 86*6=516, Resulting Numbers: [516]
516,89 unequal: No Solution
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 86+6=92, Resulting Numbers: [92]
92,89 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
90,
9,
95,
22
] | 18 | [
"90+9=99",
"95+22=117",
"117-99=18"
] | Current State: 18:[90, 9, 95, 22], Operations: []
Exploring Operation: 90+9=99, Resulting Numbers: [95, 22, 99]
Generated Node #2: [95, 22, 99] from Operation: 90+9=99
Current State: 18:[95, 22, 99], Operations: ['90+9=99']
Exploring Operation: 95+22=117, Resulting Numbers: [99, 117]
Generated Node #3: [99, 117] from Operation: 95+22=117
Current State: 18:[99, 117], Operations: ['90+9=99', '95+22=117']
Exploring Operation: 117-99=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[90, 9, 95, 22], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [9, 22, 5]
Generated Node #0,0: 18:[9, 22, 5] Operation: 95-90=5
Moving to Node #0,0
Current State: 18:[9, 22, 5], Operations: ['95-90=5']
Exploring Operation: 22-5=17, Resulting Numbers: [9, 17]
Generated Node #0,0,0: 18:[9, 17] Operation: 22-5=17
Moving to Node #0,0,0
Current State: 18:[9, 17], Operations: ['95-90=5', '22-5=17']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,18 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
22,
19,
69,
58
] | 35 | [
"22-19=3",
"69/3=23",
"58-23=35"
] | Current State: 35:[22, 19, 69, 58], Operations: []
Exploring Operation: 22-19=3, Resulting Numbers: [69, 58, 3]
Generated Node #2: [69, 58, 3] from Operation: 22-19=3
Current State: 35:[69, 58, 3], Operations: ['22-19=3']
Exploring Operation: 69/3=23, Resulting Numbers: [58, 23]
Generated Node #3: [58, 23] from Operation: 69/3=23
Current State: 35:[58, 23], Operations: ['22-19=3', '69/3=23']
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[22, 19, 69, 58], Operations: []
Exploring Operation: 69-19=50, Resulting Numbers: [22, 58, 50]
Generated Node #0,0: 35:[22, 58, 50] Operation: 69-19=50
Exploring Operation: 69-22=47, Resulting Numbers: [19, 58, 47]
Generated Node #0,1: 35:[19, 58, 47] Operation: 69-22=47
Exploring Operation: 58-22=36, Resulting Numbers: [19, 69, 36]
Generated Node #0,2: 35:[19, 69, 36] Operation: 58-22=36
Exploring Operation: 69-58=11, Resulting Numbers: [22, 19, 11]
Generated Node #0,3: 35:[22, 19, 11] Operation: 69-58=11
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[22, 19, 11], Operations: ['69-58=11']
Exploring Operation: 22+19=41, Resulting Numbers: [11, 41]
Generated Node #0,3,0: 35:[11, 41] Operation: 22+19=41
Exploring Operation: 22+11=33, Resulting Numbers: [19, 33]
Generated Node #0,3,1: 35:[19, 33] Operation: 22+11=33
Exploring Operation: 19-11=8, Resulting Numbers: [22, 8]
Generated Node #0,3,2: 35:[22, 8] Operation: 19-11=8
Exploring Operation: 22-19=3, Resulting Numbers: [11, 3]
Generated Node #0,3,3: 35:[11, 3] Operation: 22-19=3
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 35:[11, 3], Operations: ['69-58=11', '22-19=3']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 35:[11, 41], Operations: ['69-58=11', '22+19=41']
Exploring Operation: 11*41=451, Resulting Numbers: [451]
451,35 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 11+41=52, Resulting Numbers: [52]
52,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 35:[19, 33], Operations: ['69-58=11', '22+11=33']
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Exploring Operation: 19*33=627, Resulting Numbers: [627]
627,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 35:[22, 8], Operations: ['69-58=11', '19-11=8']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,35 unequal: No Solution
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[19, 58, 47], Operations: ['69-22=47']
Exploring Operation: 19+58=77, Resulting Numbers: [47, 77]
Generated Node #0,1,0: 35:[47, 77] Operation: 19+58=77
Exploring Operation: 58-19=39, Resulting Numbers: [47, 39]
Generated Node #0,1,1: 35:[47, 39] Operation: 58-19=39
Exploring Operation: 58-47=11, Resulting Numbers: [19, 11]
Generated Node #0,1,2: 35:[19, 11] Operation: 58-47=11
Exploring Operation: 47-19=28, Resulting Numbers: [58, 28]
Generated Node #0,1,3: 35:[58, 28] Operation: 47-19=28
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 35:[47, 39], Operations: ['69-22=47', '58-19=39']
Exploring Operation: 47-39=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 47+39=86, Resulting Numbers: [86]
86,35 unequal: No Solution
Exploring Operation: 47*39=1833, Resulting Numbers: [1833]
1833,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 35:[19, 11], Operations: ['69-22=47', '58-47=11']
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,35 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 35:[58, 28], Operations: ['69-22=47', '47-19=28']
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,35 unequal: No Solution
Exploring Operation: 58*28=1624, Resulting Numbers: [1624]
1624,35 unequal: No Solution
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 35:[47, 77], Operations: ['69-22=47', '19+58=77']
Exploring Operation: 47+77=124, Resulting Numbers: [124]
124,35 unequal: No Solution
Exploring Operation: 47*77=3619, Resulting Numbers: [3619]
3619,35 unequal: No Solution
Exploring Operation: 77-47=30, Resulting Numbers: [30]
30,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[19, 69, 36], Operations: ['58-22=36']
Exploring Operation: 69-19=50, Resulting Numbers: [36, 50]
Generated Node #0,2,0: 35:[36, 50] Operation: 69-19=50
Exploring Operation: 36-19=17, Resulting Numbers: [69, 17]
Generated Node #0,2,1: 35:[69, 17] Operation: 36-19=17
Exploring Operation: 19+69=88, Resulting Numbers: [36, 88]
Generated Node #0,2,2: 35:[36, 88] Operation: 19+69=88
Exploring Operation: 69-36=33, Resulting Numbers: [19, 33]
Generated Node #0,2,3: 35:[19, 33] Operation: 69-36=33
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 35:[19, 33], Operations: ['58-22=36', '69-36=33']
Exploring Operation: 19*33=627, Resulting Numbers: [627]
627,35 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 35:[36, 50], Operations: ['58-22=36', '69-19=50']
Exploring Operation: 50-36=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 36+50=86, Resulting Numbers: [86]
86,35 unequal: No Solution
Exploring Operation: 36*50=1800, Resulting Numbers: [1800]
1800,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 35:[69, 17], Operations: ['58-22=36', '36-19=17']
Exploring Operation: 69+17=86, Resulting Numbers: [86]
86,35 unequal: No Solution
Exploring Operation: 69*17=1173, Resulting Numbers: [1173]
1173,35 unequal: No Solution
Exploring Operation: 69-17=52, Resulting Numbers: [52]
52,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 35:[36, 88], Operations: ['58-22=36', '19+69=88']
Exploring Operation: 36*88=3168, Resulting Numbers: [3168]
3168,35 unequal: No Solution
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Exploring Operation: 36+88=124, Resulting Numbers: [124]
124,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[22, 58, 50], Operations: ['69-19=50']
Exploring Operation: 22+58=80, Resulting Numbers: [50, 80]
Generated Node #0,0,0: 35:[50, 80] Operation: 22+58=80
Exploring Operation: 50-22=28, Resulting Numbers: [58, 28]
Generated Node #0,0,1: 35:[58, 28] Operation: 50-22=28
Exploring Operation: 58-50=8, Resulting Numbers: [22, 8]
Generated Node #0,0,2: 35:[22, 8] Operation: 58-50=8
Exploring Operation: 58-22=36, Resulting Numbers: [50, 36]
Generated Node #0,0,3: 35:[50, 36] Operation: 58-22=36
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 35:[22, 8], Operations: ['69-19=50', '58-50=8']
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 35:[50, 36], Operations: ['69-19=50', '58-22=36']
Exploring Operation: 50-36=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 50*36=1800, Resulting Numbers: [1800]
1800,35 unequal: No Solution
Exploring Operation: 50+36=86, Resulting Numbers: [86]
86,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 35:[58, 28], Operations: ['69-19=50', '50-22=28']
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,35 unequal: No Solution
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 58*28=1624, Resulting Numbers: [1624]
1624,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[50, 80], Operations: ['69-19=50', '22+58=80']
Exploring Operation: 50+80=130, Resulting Numbers: [130]
130,35 unequal: No Solution
Exploring Operation: 50*80=4000, Resulting Numbers: [4000]
4000,35 unequal: No Solution
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
71,
18,
43,
19
] | 65 | [
"71+18=89",
"43-19=24",
"89-24=65"
] | Current State: 65:[71, 18, 43, 19], Operations: []
Exploring Operation: 71+18=89, Resulting Numbers: [43, 19, 89]
Generated Node #2: [43, 19, 89] from Operation: 71+18=89
Current State: 65:[43, 19, 89], Operations: ['71+18=89']
Exploring Operation: 43-19=24, Resulting Numbers: [89, 24]
Generated Node #3: [89, 24] from Operation: 43-19=24
Current State: 65:[89, 24], Operations: ['71+18=89', '43-19=24']
Exploring Operation: 89-24=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[71, 18, 43, 19], Operations: []
Exploring Operation: 18+43=61, Resulting Numbers: [71, 19, 61]
Generated Node #0,0: 65:[71, 19, 61] Operation: 18+43=61
Exploring Operation: 43+19=62, Resulting Numbers: [71, 18, 62]
Generated Node #0,1: 65:[71, 18, 62] Operation: 43+19=62
Moving to Node #0,1
Current State: 65:[71, 18, 62], Operations: ['43+19=62']
Exploring Operation: 71-18=53, Resulting Numbers: [62, 53]
Generated Node #0,1,0: 65:[62, 53] Operation: 71-18=53
Exploring Operation: 71-62=9, Resulting Numbers: [18, 9]
Generated Node #0,1,1: 65:[18, 9] Operation: 71-62=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[18, 9], Operations: ['43+19=62', '71-62=9']
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,65 unequal: No Solution
No 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: 65:[62, 53], Operations: ['43+19=62', '71-18=53']
Exploring Operation: 62-53=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 62+53=115, Resulting Numbers: [115]
115,65 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: 65:[71, 19, 61], Operations: ['18+43=61']
Exploring Operation: 71-19=52, Resulting Numbers: [61, 52]
Generated Node #0,0,0: 65:[61, 52] Operation: 71-19=52
Exploring Operation: 71-61=10, Resulting Numbers: [19, 10]
Generated Node #0,0,1: 65:[19, 10] Operation: 71-61=10
Moving to Node #0,0,1
Current State: 65:[19, 10], Operations: ['18+43=61', '71-61=10']
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,65 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[61, 52], Operations: ['18+43=61', '71-19=52']
Exploring Operation: 61+52=113, Resulting Numbers: [113]
113,65 unequal: No Solution
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,65 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
44,
78,
77,
19
] | 64 | [
"44+78=122",
"77-19=58",
"122-58=64"
] | Current State: 64:[44, 78, 77, 19], Operations: []
Exploring Operation: 44+78=122, Resulting Numbers: [77, 19, 122]
Generated Node #2: [77, 19, 122] from Operation: 44+78=122
Current State: 64:[77, 19, 122], Operations: ['44+78=122']
Exploring Operation: 77-19=58, Resulting Numbers: [122, 58]
Generated Node #3: [122, 58] from Operation: 77-19=58
Current State: 64:[122, 58], Operations: ['44+78=122', '77-19=58']
Exploring Operation: 122-58=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[44, 78, 77, 19], Operations: []
Exploring Operation: 77-44=33, Resulting Numbers: [78, 19, 33]
Generated Node #0,0: 64:[78, 19, 33] Operation: 77-44=33
Exploring Operation: 78-44=34, Resulting Numbers: [77, 19, 34]
Generated Node #0,1: 64:[77, 19, 34] Operation: 78-44=34
Exploring Operation: 78-77=1, Resulting Numbers: [44, 19, 1]
Generated Node #0,2: 64:[44, 19, 1] Operation: 78-77=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[44, 19, 1], Operations: ['78-77=1']
Exploring Operation: 44-19=25, Resulting Numbers: [1, 25]
Generated Node #0,2,0: 64:[1, 25] Operation: 44-19=25
Exploring Operation: 44-1=43, Resulting Numbers: [19, 43]
Generated Node #0,2,1: 64:[19, 43] Operation: 44-1=43
Exploring Operation: 44+19=63, Resulting Numbers: [1, 63]
Generated Node #0,2,2: 64:[1, 63] Operation: 44+19=63
Moving to Node #0,2,2
Current State: 64:[1, 63], Operations: ['78-77=1', '44+19=63']
Exploring Operation: 1+63=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[44, 78, 77, 19], Operations: []
Exploring Operation: 78-77=1, Resulting Numbers: [44, 19, 1]
Generated Node #0,2: 64:[44, 19, 1] Operation: 78-77=1
Moving to Node #0,2
Current State: 64:[44, 19, 1], Operations: ['78-77=1']
Exploring Operation: 44+19=63, Resulting Numbers: [1, 63]
Generated Node #0,2,2: 64:[1, 63] Operation: 44+19=63
Moving to Node #0,2,2
Current State: 64:[1, 63], Operations: ['78-77=1', '44+19=63']
Exploring Operation: 1+63=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
12,
31,
4,
12
] | 34 | [
"12/12=1",
"31+4=35",
"35-1=34"
] | Current State: 34:[12, 31, 4, 12], Operations: []
Exploring Operation: 12/12=1, Resulting Numbers: [31, 4, 1]
Generated Node #2: [31, 4, 1] from Operation: 12/12=1
Current State: 34:[31, 4, 1], Operations: ['12/12=1']
Exploring Operation: 31+4=35, Resulting Numbers: [1, 35]
Generated Node #3: [1, 35] from Operation: 31+4=35
Current State: 34:[1, 35], Operations: ['12/12=1', '31+4=35']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[12, 31, 4, 12], Operations: []
Exploring Operation: 12/12=1, Resulting Numbers: [31, 4, 1]
Generated Node #0,0: 34:[31, 4, 1] Operation: 12/12=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[31, 4, 1], Operations: ['12/12=1']
Exploring Operation: 31+4=35, Resulting Numbers: [1, 35]
Generated Node #0,0,0: 34:[1, 35] Operation: 31+4=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[1, 35], Operations: ['12/12=1', '31+4=35']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[12, 31, 4, 12], Operations: []
Exploring Operation: 12/12=1, Resulting Numbers: [31, 4, 1]
Generated Node #0,0: 34:[31, 4, 1] Operation: 12/12=1
Moving to Node #0,0
Current State: 34:[31, 4, 1], Operations: ['12/12=1']
Exploring Operation: 31+4=35, Resulting Numbers: [1, 35]
Generated Node #0,0,0: 34:[1, 35] Operation: 31+4=35
Moving to Node #0,0,0
Current State: 34:[1, 35], Operations: ['12/12=1', '31+4=35']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
77,
91,
40,
99
] | 72 | [
"99-91=8",
"40/8=5",
"77-5=72"
] | Current State: 72:[77, 91, 40, 99], Operations: []
Exploring Operation: 99-91=8, Resulting Numbers: [77, 40, 8]
Generated Node #2: [77, 40, 8] from Operation: 99-91=8
Current State: 72:[77, 40, 8], Operations: ['99-91=8']
Exploring Operation: 40/8=5, Resulting Numbers: [77, 5]
Generated Node #3: [77, 5] from Operation: 40/8=5
Current State: 72:[77, 5], Operations: ['99-91=8', '40/8=5']
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[77, 91, 40, 99], Operations: []
Exploring Operation: 91-77=14, Resulting Numbers: [40, 99, 14]
Generated Node #0,0: 72:[40, 99, 14] Operation: 91-77=14
Exploring Operation: 99-77=22, Resulting Numbers: [91, 40, 22]
Generated Node #0,1: 72:[91, 40, 22] Operation: 99-77=22
Exploring Operation: 99-91=8, Resulting Numbers: [77, 40, 8]
Generated Node #0,2: 72:[77, 40, 8] Operation: 99-91=8
Exploring Operation: 99-40=59, Resulting Numbers: [77, 91, 59]
Generated Node #0,3: 72:[77, 91, 59] Operation: 99-40=59
Moving to Node #0,2
Current State: 72:[77, 40, 8], Operations: ['99-91=8']
Exploring Operation: 77-40=37, Resulting Numbers: [8, 37]
Generated Node #0,2,0: 72:[8, 37] Operation: 77-40=37
Exploring Operation: 77-8=69, Resulting Numbers: [40, 69]
Generated Node #0,2,1: 72:[40, 69] Operation: 77-8=69
Exploring Operation: 40/8=5, Resulting Numbers: [77, 5]
Generated Node #0,2,2: 72:[77, 5] Operation: 40/8=5
Exploring Operation: 40-8=32, Resulting Numbers: [77, 32]
Generated Node #0,2,3: 72:[77, 32] Operation: 40-8=32
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 72:[8, 37], Operations: ['99-91=8', '77-40=37']
Exploring Operation: 8*37=296, Resulting Numbers: [296]
296,72 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 8+37=45, Resulting Numbers: [45]
45,72 unequal: No Solution
No 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: 72:[77, 5], Operations: ['99-91=8', '40/8=5']
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[77, 91, 40, 99], Operations: []
Exploring Operation: 99-91=8, Resulting Numbers: [77, 40, 8]
Generated Node #0,2: 72:[77, 40, 8] Operation: 99-91=8
Moving to Node #0,2
Current State: 72:[77, 40, 8], Operations: ['99-91=8']
Exploring Operation: 40/8=5, Resulting Numbers: [77, 5]
Generated Node #0,2,2: 72:[77, 5] Operation: 40/8=5
Moving to Node #0,2,2
Current State: 72:[77, 5], Operations: ['99-91=8', '40/8=5']
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
49,
39,
66,
67
] | 88 | [
"49+39=88",
"67-66=1",
"88*1=88"
] | Current State: 88:[49, 39, 66, 67], Operations: []
Exploring Operation: 49+39=88, Resulting Numbers: [66, 67, 88]
Generated Node #2: [66, 67, 88] from Operation: 49+39=88
Current State: 88:[66, 67, 88], Operations: ['49+39=88']
Exploring Operation: 67-66=1, Resulting Numbers: [88, 1]
Generated Node #3: [88, 1] from Operation: 67-66=1
Current State: 88:[88, 1], Operations: ['49+39=88', '67-66=1']
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[49, 39, 66, 67], Operations: []
Exploring Operation: 67-49=18, Resulting Numbers: [39, 66, 18]
Generated Node #0,0: 88:[39, 66, 18] Operation: 67-49=18
Exploring Operation: 66-49=17, Resulting Numbers: [39, 67, 17]
Generated Node #0,1: 88:[39, 67, 17] Operation: 66-49=17
Exploring Operation: 67-66=1, Resulting Numbers: [49, 39, 1]
Generated Node #0,2: 88:[49, 39, 1] Operation: 67-66=1
Moving to Node #0,2
Current State: 88:[49, 39, 1], Operations: ['67-66=1']
Exploring Operation: 49-39=10, Resulting Numbers: [1, 10]
Generated Node #0,2,0: 88:[1, 10] Operation: 49-39=10
Exploring Operation: 49+39=88, Resulting Numbers: [1, 88]
Generated Node #0,2,1: 88:[1, 88] Operation: 49+39=88
Exploring Operation: 49-1=48, Resulting Numbers: [39, 48]
Generated Node #0,2,2: 88:[39, 48] Operation: 49-1=48
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[1, 88], Operations: ['67-66=1', '49+39=88']
Exploring Operation: 1+88=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 88/1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[49, 39, 66, 67], Operations: []
Exploring Operation: 67-66=1, Resulting Numbers: [49, 39, 1]
Generated Node #0,2: 88:[49, 39, 1] Operation: 67-66=1
Moving to Node #0,2
Current State: 88:[49, 39, 1], Operations: ['67-66=1']
Exploring Operation: 49+39=88, Resulting Numbers: [1, 88]
Generated Node #0,2,1: 88:[1, 88] Operation: 49+39=88
Moving to Node #0,2,1
Current State: 88:[1, 88], Operations: ['67-66=1', '49+39=88']
Exploring Operation: 88/1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
42,
37,
18,
44
] | 53 | [
"42+37=79",
"44-18=26",
"79-26=53"
] | Current State: 53:[42, 37, 18, 44], Operations: []
Exploring Operation: 42+37=79, Resulting Numbers: [18, 44, 79]
Generated Node #2: [18, 44, 79] from Operation: 42+37=79
Current State: 53:[18, 44, 79], Operations: ['42+37=79']
Exploring Operation: 44-18=26, Resulting Numbers: [79, 26]
Generated Node #3: [79, 26] from Operation: 44-18=26
Current State: 53:[79, 26], Operations: ['42+37=79', '44-18=26']
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[42, 37, 18, 44], Operations: []
Exploring Operation: 37-18=19, Resulting Numbers: [42, 44, 19]
Generated Node #0,0: 53:[42, 44, 19] Operation: 37-18=19
Exploring Operation: 42-18=24, Resulting Numbers: [37, 44, 24]
Generated Node #0,1: 53:[37, 44, 24] Operation: 42-18=24
Exploring Operation: 37+18=55, Resulting Numbers: [42, 44, 55]
Generated Node #0,2: 53:[42, 44, 55] Operation: 37+18=55
Exploring Operation: 18+44=62, Resulting Numbers: [42, 37, 62]
Generated Node #0,3: 53:[42, 37, 62] Operation: 18+44=62
Exploring Operation: 42+18=60, Resulting Numbers: [37, 44, 60]
Generated Node #0,4: 53:[37, 44, 60] Operation: 42+18=60
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[42, 44, 55], Operations: ['37+18=55']
Exploring Operation: 44-42=2, Resulting Numbers: [55, 2]
Generated Node #0,2,0: 53:[55, 2] Operation: 44-42=2
Exploring Operation: 42+55=97, Resulting Numbers: [44, 97]
Generated Node #0,2,1: 53:[44, 97] Operation: 42+55=97
Exploring Operation: 42+44=86, Resulting Numbers: [55, 86]
Generated Node #0,2,2: 53:[55, 86] Operation: 42+44=86
Exploring Operation: 55-44=11, Resulting Numbers: [42, 11]
Generated Node #0,2,3: 53:[42, 11] Operation: 55-44=11
Exploring Operation: 55-42=13, Resulting Numbers: [44, 13]
Generated Node #0,2,4: 53:[44, 13] Operation: 55-42=13
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 53:[55, 86], Operations: ['37+18=55', '42+44=86']
Exploring Operation: 55*86=4730, Resulting Numbers: [4730]
4730,53 unequal: No Solution
Exploring Operation: 86-55=31, Resulting Numbers: [31]
31,53 unequal: No Solution
Exploring Operation: 55+86=141, Resulting Numbers: [141]
141,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 53:[44, 13], Operations: ['37+18=55', '55-42=13']
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,53 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,53 unequal: No Solution
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 53:[55, 2], Operations: ['37+18=55', '44-42=2']
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,53 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[42, 37, 18, 44], Operations: []
Exploring Operation: 37+18=55, Resulting Numbers: [42, 44, 55]
Generated Node #0,2: 53:[42, 44, 55] Operation: 37+18=55
Moving to Node #0,2
Current State: 53:[42, 44, 55], Operations: ['37+18=55']
Exploring Operation: 44-42=2, Resulting Numbers: [55, 2]
Generated Node #0,2,0: 53:[55, 2] Operation: 44-42=2
Moving to Node #0,2,0
Current State: 53:[55, 2], Operations: ['37+18=55', '44-42=2']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
35,
32,
28,
51
] | 14 | [
"51-35=16",
"32/16=2",
"28/2=14"
] | Current State: 14:[35, 32, 28, 51], Operations: []
Exploring Operation: 51-35=16, Resulting Numbers: [32, 28, 16]
Generated Node #2: [32, 28, 16] from Operation: 51-35=16
Current State: 14:[32, 28, 16], Operations: ['51-35=16']
Exploring Operation: 32/16=2, Resulting Numbers: [28, 2]
Generated Node #3: [28, 2] from Operation: 32/16=2
Current State: 14:[28, 2], Operations: ['51-35=16', '32/16=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[35, 32, 28, 51], Operations: []
Exploring Operation: 35-28=7, Resulting Numbers: [32, 51, 7]
Generated Node #0,0: 14:[32, 51, 7] Operation: 35-28=7
Exploring Operation: 51-35=16, Resulting Numbers: [32, 28, 16]
Generated Node #0,1: 14:[32, 28, 16] Operation: 51-35=16
Exploring Operation: 51-32=19, Resulting Numbers: [35, 28, 19]
Generated Node #0,2: 14:[35, 28, 19] Operation: 51-32=19
Exploring Operation: 51-28=23, Resulting Numbers: [35, 32, 23]
Generated Node #0,3: 14:[35, 32, 23] Operation: 51-28=23
Exploring Operation: 35-32=3, Resulting Numbers: [28, 51, 3]
Generated Node #0,4: 14:[28, 51, 3] Operation: 35-32=3
Moving to Node #0,1
Current State: 14:[32, 28, 16], Operations: ['51-35=16']
Exploring Operation: 32-16=16, Resulting Numbers: [28, 16]
Generated Node #0,1,0: 14:[28, 16] Operation: 32-16=16
Exploring Operation: 28-16=12, Resulting Numbers: [32, 12]
Generated Node #0,1,1: 14:[32, 12] Operation: 28-16=12
Exploring Operation: 32+28=60, Resulting Numbers: [16, 60]
Generated Node #0,1,2: 14:[16, 60] Operation: 32+28=60
Exploring Operation: 32/16=2, Resulting Numbers: [28, 2]
Generated Node #0,1,3: 14:[28, 2] Operation: 32/16=2
Exploring Operation: 32-28=4, Resulting Numbers: [16, 4]
Generated Node #0,1,4: 14:[16, 4] Operation: 32-28=4
Moving to Node #0,2
Current State: 14:[35, 28, 19], Operations: ['51-32=19']
Exploring Operation: 35+19=54, Resulting Numbers: [28, 54]
Generated Node #0,2,0: 14:[28, 54] Operation: 35+19=54
Exploring Operation: 35-19=16, Resulting Numbers: [28, 16]
Generated Node #0,2,1: 14:[28, 16] Operation: 35-19=16
Exploring Operation: 35-28=7, Resulting Numbers: [19, 7]
Generated Node #0,2,2: 14:[19, 7] Operation: 35-28=7
Exploring Operation: 35+28=63, Resulting Numbers: [19, 63]
Generated Node #0,2,3: 14:[19, 63] Operation: 35+28=63
Exploring Operation: 28-19=9, Resulting Numbers: [35, 9]
Generated Node #0,2,4: 14:[35, 9] Operation: 28-19=9
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 14:[19, 7], Operations: ['51-32=19', '35-28=7']
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 14:[28, 16], Operations: ['51-32=19', '35-19=16']
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,14 unequal: No Solution
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,14 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 14:[35, 9], Operations: ['51-32=19', '28-19=9']
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,14 unequal: No Solution
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,14 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 14:[28, 54], Operations: ['51-32=19', '35+19=54']
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 28*54=1512, Resulting Numbers: [1512]
1512,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 14:[19, 63], Operations: ['51-32=19', '35+28=63']
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,14 unequal: No Solution
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Exploring Operation: 19*63=1197, Resulting Numbers: [1197]
1197,14 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: 14:[35, 32, 23], Operations: ['51-28=23']
Exploring Operation: 35+32=67, Resulting Numbers: [23, 67]
Generated Node #0,3,0: 14:[23, 67] Operation: 35+32=67
Exploring Operation: 35-32=3, Resulting Numbers: [23, 3]
Generated Node #0,3,1: 14:[23, 3] Operation: 35-32=3
Exploring Operation: 35+23=58, Resulting Numbers: [32, 58]
Generated Node #0,3,2: 14:[32, 58] Operation: 35+23=58
Exploring Operation: 32-23=9, Resulting Numbers: [35, 9]
Generated Node #0,3,3: 14:[35, 9] Operation: 32-23=9
Exploring Operation: 35-23=12, Resulting Numbers: [32, 12]
Generated Node #0,3,4: 14:[32, 12] Operation: 35-23=12
Moving to Node #0,4
Current State: 14:[28, 51, 3], Operations: ['35-32=3']
Exploring Operation: 51-28=23, Resulting Numbers: [3, 23]
Generated Node #0,4,0: 14:[3, 23] Operation: 51-28=23
Exploring Operation: 28-3=25, Resulting Numbers: [51, 25]
Generated Node #0,4,1: 14:[51, 25] Operation: 28-3=25
Exploring Operation: 51-3=48, Resulting Numbers: [28, 48]
Generated Node #0,4,2: 14:[28, 48] Operation: 51-3=48
Exploring Operation: 28+3=31, Resulting Numbers: [51, 31]
Generated Node #0,4,3: 14:[51, 31] Operation: 28+3=31
Exploring Operation: 51/3=17, Resulting Numbers: [28, 17]
Generated Node #0,4,4: 14:[28, 17] Operation: 51/3=17
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 14:[3, 23], Operations: ['35-32=3', '51-28=23']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,14 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 14:[28, 17], Operations: ['35-32=3', '51/3=17']
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 28*17=476, Resulting Numbers: [476]
476,14 unequal: No Solution
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 14:[51, 25], Operations: ['35-32=3', '28-3=25']
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,14 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 51*25=1275, Resulting Numbers: [1275]
1275,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 14:[28, 48], Operations: ['35-32=3', '51-3=48']
Exploring Operation: 28+48=76, Resulting Numbers: [76]
76,14 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,14 unequal: No Solution
Exploring Operation: 28*48=1344, Resulting Numbers: [1344]
1344,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 14:[51, 31], Operations: ['35-32=3', '28+3=31']
Exploring Operation: 51+31=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Exploring Operation: 51-31=20, Resulting Numbers: [20]
20,14 unequal: No Solution
Exploring Operation: 51*31=1581, Resulting Numbers: [1581]
1581,14 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: 14:[32, 51, 7], Operations: ['35-28=7']
Exploring Operation: 51+7=58, Resulting Numbers: [32, 58]
Generated Node #0,0,0: 14:[32, 58] Operation: 51+7=58
Exploring Operation: 32-7=25, Resulting Numbers: [51, 25]
Generated Node #0,0,1: 14:[51, 25] Operation: 32-7=25
Exploring Operation: 51-7=44, Resulting Numbers: [32, 44]
Generated Node #0,0,2: 14:[32, 44] Operation: 51-7=44
Exploring Operation: 51-32=19, Resulting Numbers: [7, 19]
Generated Node #0,0,3: 14:[7, 19] Operation: 51-32=19
Exploring Operation: 32+7=39, Resulting Numbers: [51, 39]
Generated Node #0,0,4: 14:[51, 39] Operation: 32+7=39
Moving to Node #0,1,4
Current State: 14:[16, 4], Operations: ['51-35=16', '32-28=4']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,14 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,14 unequal: No Solution
Moving to Node #0,0,3
Current State: 14:[7, 19], Operations: ['35-28=7', '51-32=19']
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,14 unequal: No Solution
Moving to Node #0,3,1
Current State: 14:[23, 3], Operations: ['51-28=23', '35-32=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,14 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Moving to Node #0,1,3
Current State: 14:[28, 2], Operations: ['51-35=16', '32/16=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,14 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[35, 32, 28, 51], Operations: []
Exploring Operation: 51-35=16, Resulting Numbers: [32, 28, 16]
Generated Node #0,1: 14:[32, 28, 16] Operation: 51-35=16
Moving to Node #0,1
Current State: 14:[32, 28, 16], Operations: ['51-35=16']
Exploring Operation: 32/16=2, Resulting Numbers: [28, 2]
Generated Node #0,1,3: 14:[28, 2] Operation: 32/16=2
Moving to Node #0,1,3
Current State: 14:[28, 2], Operations: ['51-35=16', '32/16=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.932292 | hs_5 | sum_heuristic |
[
75,
34,
5,
60
] | 95 | [
"75-34=41",
"60-41=19",
"5*19=95"
] | Current State: 95:[75, 34, 5, 60], Operations: []
Exploring Operation: 75-34=41, Resulting Numbers: [5, 60, 41]
Generated Node #2: [5, 60, 41] from Operation: 75-34=41
Current State: 95:[5, 60, 41], Operations: ['75-34=41']
Exploring Operation: 60-41=19, Resulting Numbers: [5, 19]
Generated Node #3: [5, 19] from Operation: 60-41=19
Current State: 95:[5, 19], Operations: ['75-34=41', '60-41=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[75, 34, 5, 60], Operations: []
Exploring Operation: 34+60=94, Resulting Numbers: [75, 5, 94]
Generated Node #0,0: 95:[75, 5, 94] Operation: 34+60=94
Exploring Operation: 75-60=15, Resulting Numbers: [34, 5, 15]
Generated Node #0,1: 95:[34, 5, 15] Operation: 75-60=15
Moving to Node #0,1
Current State: 95:[34, 5, 15], Operations: ['75-60=15']
Exploring Operation: 34-15=19, Resulting Numbers: [5, 19]
Generated Node #0,1,0: 95:[5, 19] Operation: 34-15=19
Exploring Operation: 34-5=29, Resulting Numbers: [15, 29]
Generated Node #0,1,1: 95:[15, 29] Operation: 34-5=29
Moving to Node #0,0
Current State: 95:[75, 5, 94], Operations: ['34+60=94']
Exploring Operation: 94-75=19, Resulting Numbers: [5, 19]
Generated Node #0,0,0: 95:[5, 19] Operation: 94-75=19
Exploring Operation: 75/5=15, Resulting Numbers: [94, 15]
Generated Node #0,0,1: 95:[94, 15] Operation: 75/5=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[5, 19], Operations: ['34+60=94', '94-75=19']
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,95 unequal: No Solution
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[75, 34, 5, 60], Operations: []
Exploring Operation: 34+60=94, Resulting Numbers: [75, 5, 94]
Generated Node #0,0: 95:[75, 5, 94] Operation: 34+60=94
Moving to Node #0,0
Current State: 95:[75, 5, 94], Operations: ['34+60=94']
Exploring Operation: 94-75=19, Resulting Numbers: [5, 19]
Generated Node #0,0,0: 95:[5, 19] Operation: 94-75=19
Moving to Node #0,0,0
Current State: 95:[5, 19], Operations: ['34+60=94', '94-75=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
58,
2,
67,
97
] | 86 | [
"58*2=116",
"97-67=30",
"116-30=86"
] | Current State: 86:[58, 2, 67, 97], Operations: []
Exploring Operation: 58*2=116, Resulting Numbers: [67, 97, 116]
Generated Node #2: [67, 97, 116] from Operation: 58*2=116
Current State: 86:[67, 97, 116], Operations: ['58*2=116']
Exploring Operation: 97-67=30, Resulting Numbers: [116, 30]
Generated Node #3: [116, 30] from Operation: 97-67=30
Current State: 86:[116, 30], Operations: ['58*2=116', '97-67=30']
Exploring Operation: 116-30=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[58, 2, 67, 97], Operations: []
Exploring Operation: 97-67=30, Resulting Numbers: [58, 2, 30]
Generated Node #0,0: 86:[58, 2, 30] Operation: 97-67=30
Exploring Operation: 58-2=56, Resulting Numbers: [67, 97, 56]
Generated Node #0,1: 86:[67, 97, 56] Operation: 58-2=56
Exploring Operation: 67-58=9, Resulting Numbers: [2, 97, 9]
Generated Node #0,2: 86:[2, 97, 9] Operation: 67-58=9
Exploring Operation: 2+67=69, Resulting Numbers: [58, 97, 69]
Generated Node #0,3: 86:[58, 97, 69] Operation: 2+67=69
Exploring Operation: 97-58=39, Resulting Numbers: [2, 67, 39]
Generated Node #0,4: 86:[2, 67, 39] Operation: 97-58=39
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[2, 97, 9], Operations: ['67-58=9']
Exploring Operation: 9-2=7, Resulting Numbers: [97, 7]
Generated Node #0,2,0: 86:[97, 7] Operation: 9-2=7
Exploring Operation: 2+9=11, Resulting Numbers: [97, 11]
Generated Node #0,2,1: 86:[97, 11] Operation: 2+9=11
Exploring Operation: 2+97=99, Resulting Numbers: [9, 99]
Generated Node #0,2,2: 86:[9, 99] Operation: 2+97=99
Exploring Operation: 97-9=88, Resulting Numbers: [2, 88]
Generated Node #0,2,3: 86:[2, 88] Operation: 97-9=88
Exploring Operation: 97-2=95, Resulting Numbers: [9, 95]
Generated Node #0,2,4: 86:[9, 95] Operation: 97-2=95
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 86:[2, 88], Operations: ['67-58=9', '97-9=88']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 2+88=90, Resulting Numbers: [90]
90,86 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[58, 2, 67, 97], Operations: []
Exploring Operation: 67-58=9, Resulting Numbers: [2, 97, 9]
Generated Node #0,2: 86:[2, 97, 9] Operation: 67-58=9
Moving to Node #0,2
Current State: 86:[2, 97, 9], Operations: ['67-58=9']
Exploring Operation: 97-9=88, Resulting Numbers: [2, 88]
Generated Node #0,2,3: 86:[2, 88] Operation: 97-9=88
Moving to Node #0,2,3
Current State: 86:[2, 88], Operations: ['67-58=9', '97-9=88']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
16,
17,
9,
4
] | 69 | [
"16+17=33",
"9*4=36",
"33+36=69"
] | Current State: 69:[16, 17, 9, 4], Operations: []
Exploring Operation: 16+17=33, Resulting Numbers: [9, 4, 33]
Generated Node #2: [9, 4, 33] from Operation: 16+17=33
Current State: 69:[9, 4, 33], Operations: ['16+17=33']
Exploring Operation: 9*4=36, Resulting Numbers: [33, 36]
Generated Node #3: [33, 36] from Operation: 9*4=36
Current State: 69:[33, 36], Operations: ['16+17=33', '9*4=36']
Exploring Operation: 33+36=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[16, 17, 9, 4], Operations: []
Exploring Operation: 17-16=1, Resulting Numbers: [9, 4, 1]
Generated Node #0,0: 69:[9, 4, 1] Operation: 17-16=1
Exploring Operation: 16+9=25, Resulting Numbers: [17, 4, 25]
Generated Node #0,1: 69:[17, 4, 25] Operation: 16+9=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[9, 4, 1], Operations: ['17-16=1']
Exploring Operation: 9-4=5, Resulting Numbers: [1, 5]
Generated Node #0,0,0: 69:[1, 5] Operation: 9-4=5
Exploring Operation: 9-1=8, Resulting Numbers: [4, 8]
Generated Node #0,0,1: 69:[4, 8] Operation: 9-1=8
Moving to Node #0,0,0
Current State: 69:[1, 5], Operations: ['17-16=1', '9-4=5']
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[4, 8], Operations: ['17-16=1', '9-1=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[17, 4, 25], Operations: ['16+9=25']
Exploring Operation: 17+4=21, Resulting Numbers: [25, 21]
Generated Node #0,1,0: 69:[25, 21] Operation: 17+4=21
Exploring Operation: 17*4=68, Resulting Numbers: [25, 68]
Generated Node #0,1,1: 69:[25, 68] Operation: 17*4=68
Moving to Node #0,1,1
Current State: 69:[25, 68], Operations: ['16+9=25', '17*4=68']
Exploring Operation: 25+68=93, Resulting Numbers: [93]
93,69 unequal: No Solution
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[25, 21], Operations: ['16+9=25', '17+4=21']
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,69 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,69 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 |
[
72,
72,
97,
21
] | 68 | [
"72+72=144",
"97-21=76",
"144-76=68"
] | Current State: 68:[72, 72, 97, 21], Operations: []
Exploring Operation: 72+72=144, Resulting Numbers: [97, 21, 144]
Generated Node #2: [97, 21, 144] from Operation: 72+72=144
Current State: 68:[97, 21, 144], Operations: ['72+72=144']
Exploring Operation: 97-21=76, Resulting Numbers: [144, 76]
Generated Node #3: [144, 76] from Operation: 97-21=76
Current State: 68:[144, 76], Operations: ['72+72=144', '97-21=76']
Exploring Operation: 144-76=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[72, 72, 97, 21], Operations: []
Exploring Operation: 97-72=25, Resulting Numbers: [72, 21, 25]
Generated Node #0,0: 68:[72, 21, 25] Operation: 97-72=25
Exploring Operation: 72/72=1, Resulting Numbers: [97, 21, 1]
Generated Node #0,1: 68:[97, 21, 1] Operation: 72/72=1
Exploring Operation: 97-72=25, Resulting Numbers: [72, 21, 25]
Generated Node #0,2: 68:[72, 21, 25] Operation: 97-72=25
Exploring Operation: 97-21=76, Resulting Numbers: [72, 72, 76]
Generated Node #0,3: 68:[72, 72, 76] Operation: 97-21=76
Moving to Node #0,0
Current State: 68:[72, 21, 25], Operations: ['97-72=25']
Exploring Operation: 21+25=46, Resulting Numbers: [72, 46]
Generated Node #0,0,0: 68:[72, 46] Operation: 21+25=46
Exploring Operation: 25-21=4, Resulting Numbers: [72, 4]
Generated Node #0,0,1: 68:[72, 4] Operation: 25-21=4
Exploring Operation: 72-25=47, Resulting Numbers: [21, 47]
Generated Node #0,0,2: 68:[21, 47] Operation: 72-25=47
Exploring Operation: 72-21=51, Resulting Numbers: [25, 51]
Generated Node #0,0,3: 68:[25, 51] Operation: 72-21=51
Moving to Node #0,3
Current State: 68:[72, 72, 76], Operations: ['97-21=76']
Exploring Operation: 72/72=1, Resulting Numbers: [76, 1]
Generated Node #0,3,0: 68:[76, 1] Operation: 72/72=1
Exploring Operation: 76-72=4, Resulting Numbers: [72, 4]
Generated Node #0,3,1: 68:[72, 4] Operation: 76-72=4
Exploring Operation: 76-72=4, Resulting Numbers: [72, 4]
Generated Node #0,3,2: 68:[72, 4] Operation: 76-72=4
Exploring Operation: 72-72=0, Resulting Numbers: [76, 0]
Generated Node #0,3,3: 68:[76, 0] Operation: 72-72=0
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 68:[72, 4], Operations: ['97-21=76', '76-72=4']
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 72*4=288, Resulting Numbers: [288]
288,68 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[72, 72, 97, 21], Operations: []
Exploring Operation: 97-21=76, Resulting Numbers: [72, 72, 76]
Generated Node #0,3: 68:[72, 72, 76] Operation: 97-21=76
Moving to Node #0,3
Current State: 68:[72, 72, 76], Operations: ['97-21=76']
Exploring Operation: 76-72=4, Resulting Numbers: [72, 4]
Generated Node #0,3,1: 68:[72, 4] Operation: 76-72=4
Moving to Node #0,3,1
Current State: 68:[72, 4], Operations: ['97-21=76', '76-72=4']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
25,
90,
13,
46
] | 32 | [
"90-25=65",
"46-13=33",
"65-33=32"
] | Current State: 32:[25, 90, 13, 46], Operations: []
Exploring Operation: 90-25=65, Resulting Numbers: [13, 46, 65]
Generated Node #2: [13, 46, 65] from Operation: 90-25=65
Current State: 32:[13, 46, 65], Operations: ['90-25=65']
Exploring Operation: 46-13=33, Resulting Numbers: [65, 33]
Generated Node #3: [65, 33] from Operation: 46-13=33
Current State: 32:[65, 33], Operations: ['90-25=65', '46-13=33']
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[25, 90, 13, 46], Operations: []
Exploring Operation: 90-46=44, Resulting Numbers: [25, 13, 44]
Generated Node #0,0: 32:[25, 13, 44] Operation: 90-46=44
Exploring Operation: 46-25=21, Resulting Numbers: [90, 13, 21]
Generated Node #0,1: 32:[90, 13, 21] Operation: 46-25=21
Exploring Operation: 90-25=65, Resulting Numbers: [13, 46, 65]
Generated Node #0,2: 32:[13, 46, 65] Operation: 90-25=65
Exploring Operation: 90-13=77, Resulting Numbers: [25, 46, 77]
Generated Node #0,3: 32:[25, 46, 77] Operation: 90-13=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[25, 13, 44], Operations: ['90-46=44']
Exploring Operation: 25+13=38, Resulting Numbers: [44, 38]
Generated Node #0,0,0: 32:[44, 38] Operation: 25+13=38
Exploring Operation: 44-25=19, Resulting Numbers: [13, 19]
Generated Node #0,0,1: 32:[13, 19] Operation: 44-25=19
Exploring Operation: 25-13=12, Resulting Numbers: [44, 12]
Generated Node #0,0,2: 32:[44, 12] Operation: 25-13=12
Exploring Operation: 44-13=31, Resulting Numbers: [25, 31]
Generated Node #0,0,3: 32:[25, 31] Operation: 44-13=31
Moving to Node #0,0,1
Current State: 32:[13, 19], Operations: ['90-46=44', '44-25=19']
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,32 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[25, 90, 13, 46], Operations: []
Exploring Operation: 90-46=44, Resulting Numbers: [25, 13, 44]
Generated Node #0,0: 32:[25, 13, 44] Operation: 90-46=44
Moving to Node #0,0
Current State: 32:[25, 13, 44], Operations: ['90-46=44']
Exploring Operation: 44-25=19, Resulting Numbers: [13, 19]
Generated Node #0,0,1: 32:[13, 19] Operation: 44-25=19
Moving to Node #0,0,1
Current State: 32:[13, 19], Operations: ['90-46=44', '44-25=19']
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
24,
12,
30,
2
] | 45 | [
"12+30=42",
"42/2=21",
"24+21=45"
] | Current State: 45:[24, 12, 30, 2], Operations: []
Exploring Operation: 12+30=42, Resulting Numbers: [24, 2, 42]
Generated Node #2: [24, 2, 42] from Operation: 12+30=42
Current State: 45:[24, 2, 42], Operations: ['12+30=42']
Exploring Operation: 42/2=21, Resulting Numbers: [24, 21]
Generated Node #3: [24, 21] from Operation: 42/2=21
Current State: 45:[24, 21], Operations: ['12+30=42', '42/2=21']
Exploring Operation: 24+21=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[24, 12, 30, 2], Operations: []
Exploring Operation: 24+30=54, Resulting Numbers: [12, 2, 54]
Generated Node #0,0: 45:[12, 2, 54] Operation: 24+30=54
Exploring Operation: 30-24=6, Resulting Numbers: [12, 2, 6]
Generated Node #0,1: 45:[12, 2, 6] Operation: 30-24=6
Exploring Operation: 30/2=15, Resulting Numbers: [24, 12, 15]
Generated Node #0,2: 45:[24, 12, 15] Operation: 30/2=15
Exploring Operation: 12+30=42, Resulting Numbers: [24, 2, 42]
Generated Node #0,3: 45:[24, 2, 42] Operation: 12+30=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[12, 2, 6], Operations: ['30-24=6']
Exploring Operation: 12+2=14, Resulting Numbers: [6, 14]
Generated Node #0,1,0: 45:[6, 14] Operation: 12+2=14
Exploring Operation: 12-6=6, Resulting Numbers: [2, 6]
Generated Node #0,1,1: 45:[2, 6] Operation: 12-6=6
Exploring Operation: 12/2=6, Resulting Numbers: [6, 6]
Generated Node #0,1,2: 45:[6, 6] Operation: 12/2=6
Exploring Operation: 12-2=10, Resulting Numbers: [6, 10]
Generated Node #0,1,3: 45:[6, 10] Operation: 12-2=10
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 45:[6, 14], Operations: ['30-24=6', '12+2=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,45 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[2, 6], Operations: ['30-24=6', '12-6=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 45:[6, 6], Operations: ['30-24=6', '12/2=6']
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,45 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 45:[6, 10], Operations: ['30-24=6', '12-2=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[24, 12, 15], Operations: ['30/2=15']
Exploring Operation: 24-15=9, Resulting Numbers: [12, 9]
Generated Node #0,2,0: 45:[12, 9] Operation: 24-15=9
Exploring Operation: 24-12=12, Resulting Numbers: [15, 12]
Generated Node #0,2,1: 45:[15, 12] Operation: 24-12=12
Exploring Operation: 24+12=36, Resulting Numbers: [15, 36]
Generated Node #0,2,2: 45:[15, 36] Operation: 24+12=36
Exploring Operation: 24/12=2, Resulting Numbers: [15, 2]
Generated Node #0,2,3: 45:[15, 2] Operation: 24/12=2
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 45:[15, 2], Operations: ['30/2=15', '24/12=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 45:[12, 9], Operations: ['30/2=15', '24-15=9']
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,45 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 45:[15, 12], Operations: ['30/2=15', '24-12=12']
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,45 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 45:[15, 36], Operations: ['30/2=15', '24+12=36']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 15*36=540, Resulting Numbers: [540]
540,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[12, 2, 54], Operations: ['24+30=54']
Exploring Operation: 12/2=6, Resulting Numbers: [54, 6]
Generated Node #0,0,0: 45:[54, 6] Operation: 12/2=6
Exploring Operation: 12+2=14, Resulting Numbers: [54, 14]
Generated Node #0,0,1: 45:[54, 14] Operation: 12+2=14
Exploring Operation: 12-2=10, Resulting Numbers: [54, 10]
Generated Node #0,0,2: 45:[54, 10] Operation: 12-2=10
Exploring Operation: 54-12=42, Resulting Numbers: [2, 42]
Generated Node #0,0,3: 45:[2, 42] Operation: 54-12=42
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 45:[2, 42], Operations: ['24+30=54', '54-12=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,45 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[54, 6], Operations: ['24+30=54', '12/2=6']
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 54*6=324, Resulting Numbers: [324]
324,45 unequal: No Solution
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 45:[54, 14], Operations: ['24+30=54', '12+2=14']
Exploring Operation: 54*14=756, Resulting Numbers: [756]
756,45 unequal: No Solution
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,45 unequal: No Solution
Exploring Operation: 54+14=68, Resulting Numbers: [68]
68,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 45:[54, 10], Operations: ['24+30=54', '12-2=10']
Exploring Operation: 54*10=540, Resulting Numbers: [540]
540,45 unequal: No Solution
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 54+10=64, Resulting Numbers: [64]
64,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 45:[24, 2, 42], Operations: ['12+30=42']
Exploring Operation: 42-24=18, Resulting Numbers: [2, 18]
Generated Node #0,3,0: 45:[2, 18] Operation: 42-24=18
Exploring Operation: 24/2=12, Resulting Numbers: [42, 12]
Generated Node #0,3,1: 45:[42, 12] Operation: 24/2=12
Exploring Operation: 24*2=48, Resulting Numbers: [42, 48]
Generated Node #0,3,2: 45:[42, 48] Operation: 24*2=48
Exploring Operation: 24-2=22, Resulting Numbers: [42, 22]
Generated Node #0,3,3: 45:[42, 22] Operation: 24-2=22
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 45:[2, 18], Operations: ['12+30=42', '42-24=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,45 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 45:[42, 12], Operations: ['12+30=42', '24/2=12']
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,45 unequal: No Solution
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 45:[42, 48], Operations: ['12+30=42', '24*2=48']
Exploring Operation: 42*48=2016, Resulting Numbers: [2016]
2016,45 unequal: No Solution
Exploring Operation: 42+48=90, Resulting Numbers: [90]
90,45 unequal: No Solution
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 45:[42, 22], Operations: ['12+30=42', '24-2=22']
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,45 unequal: No Solution
Exploring Operation: 42*22=924, Resulting Numbers: [924]
924,45 unequal: No Solution
Exploring Operation: 42+22=64, Resulting Numbers: [64]
64,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
10,
16,
87,
95
] | 96 | [
"95-87=8",
"10*8=80",
"16+80=96"
] | Current State: 96:[10, 16, 87, 95], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [10, 16, 8]
Generated Node #2: [10, 16, 8] from Operation: 95-87=8
Current State: 96:[10, 16, 8], Operations: ['95-87=8']
Exploring Operation: 10*8=80, Resulting Numbers: [16, 80]
Generated Node #3: [16, 80] from Operation: 10*8=80
Current State: 96:[16, 80], Operations: ['95-87=8', '10*8=80']
Exploring Operation: 16+80=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[10, 16, 87, 95], Operations: []
Exploring Operation: 16-10=6, Resulting Numbers: [87, 95, 6]
Generated Node #0,0: 96:[87, 95, 6] Operation: 16-10=6
Exploring Operation: 10+87=97, Resulting Numbers: [16, 95, 97]
Generated Node #0,1: 96:[16, 95, 97] Operation: 10+87=97
Exploring Operation: 16+87=103, Resulting Numbers: [10, 95, 103]
Generated Node #0,2: 96:[10, 95, 103] Operation: 16+87=103
Exploring Operation: 95-87=8, Resulting Numbers: [10, 16, 8]
Generated Node #0,3: 96:[10, 16, 8] Operation: 95-87=8
Exploring Operation: 10+16=26, Resulting Numbers: [87, 95, 26]
Generated Node #0,4: 96:[87, 95, 26] Operation: 10+16=26
Moving to Node #0,1
Current State: 96:[16, 95, 97], Operations: ['10+87=97']
Exploring Operation: 97-16=81, Resulting Numbers: [95, 81]
Generated Node #0,1,0: 96:[95, 81] Operation: 97-16=81
Exploring Operation: 97-95=2, Resulting Numbers: [16, 2]
Generated Node #0,1,1: 96:[16, 2] Operation: 97-95=2
Exploring Operation: 95-16=79, Resulting Numbers: [97, 79]
Generated Node #0,1,2: 96:[97, 79] Operation: 95-16=79
Exploring Operation: 16+97=113, Resulting Numbers: [95, 113]
Generated Node #0,1,3: 96:[95, 113] Operation: 16+97=113
Exploring Operation: 16+95=111, Resulting Numbers: [97, 111]
Generated Node #0,1,4: 96:[97, 111] Operation: 16+95=111
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[16, 2], Operations: ['10+87=97', '97-95=2']
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[95, 81], Operations: ['10+87=97', '97-16=81']
Exploring Operation: 95*81=7695, Resulting Numbers: [7695]
7695,96 unequal: No Solution
Exploring Operation: 95+81=176, Resulting Numbers: [176]
176,96 unequal: No Solution
Exploring Operation: 95-81=14, Resulting Numbers: [14]
14,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 96:[97, 111], Operations: ['10+87=97', '16+95=111']
Exploring Operation: 97*111=10767, Resulting Numbers: [10767]
10767,96 unequal: No Solution
Exploring Operation: 97+111=208, Resulting Numbers: [208]
208,96 unequal: No Solution
Exploring Operation: 111-97=14, Resulting Numbers: [14]
14,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 96:[97, 79], Operations: ['10+87=97', '95-16=79']
Exploring Operation: 97*79=7663, Resulting Numbers: [7663]
7663,96 unequal: No Solution
Exploring Operation: 97+79=176, Resulting Numbers: [176]
176,96 unequal: No Solution
Exploring Operation: 97-79=18, Resulting Numbers: [18]
18,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 96:[95, 113], Operations: ['10+87=97', '16+97=113']
Exploring Operation: 113-95=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 95+113=208, Resulting Numbers: [208]
208,96 unequal: No Solution
Exploring Operation: 95*113=10735, Resulting Numbers: [10735]
10735,96 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: 96:[10, 16, 8], Operations: ['95-87=8']
Exploring Operation: 10-8=2, Resulting Numbers: [16, 2]
Generated Node #0,3,0: 96:[16, 2] Operation: 10-8=2
Exploring Operation: 10+8=18, Resulting Numbers: [16, 18]
Generated Node #0,3,1: 96:[16, 18] Operation: 10+8=18
Exploring Operation: 16+8=24, Resulting Numbers: [10, 24]
Generated Node #0,3,2: 96:[10, 24] Operation: 16+8=24
Exploring Operation: 10+16=26, Resulting Numbers: [8, 26]
Generated Node #0,3,3: 96:[8, 26] Operation: 10+16=26
Exploring Operation: 16-10=6, Resulting Numbers: [8, 6]
Generated Node #0,3,4: 96:[8, 6] Operation: 16-10=6
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 96:[16, 2], Operations: ['95-87=8', '10-8=2']
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 96:[8, 6], Operations: ['95-87=8', '16-10=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 96:[16, 18], Operations: ['95-87=8', '10+8=18']
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,96 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 96:[10, 24], Operations: ['95-87=8', '16+8=24']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,96 unequal: No Solution
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 96:[8, 26], Operations: ['95-87=8', '10+16=26']
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,96 unequal: No Solution
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 96:[87, 95, 6], Operations: ['16-10=6']
Exploring Operation: 95-87=8, Resulting Numbers: [6, 8]
Generated Node #0,0,0: 96:[6, 8] Operation: 95-87=8
Exploring Operation: 87-6=81, Resulting Numbers: [95, 81]
Generated Node #0,0,1: 96:[95, 81] Operation: 87-6=81
Exploring Operation: 95-6=89, Resulting Numbers: [87, 89]
Generated Node #0,0,2: 96:[87, 89] Operation: 95-6=89
Exploring Operation: 87+6=93, Resulting Numbers: [95, 93]
Generated Node #0,0,3: 96:[95, 93] Operation: 87+6=93
Exploring Operation: 95+6=101, Resulting Numbers: [87, 101]
Generated Node #0,0,4: 96:[87, 101] Operation: 95+6=101
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[6, 8], Operations: ['16-10=6', '95-87=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 96:[95, 93], Operations: ['16-10=6', '87+6=93']
Exploring Operation: 95+93=188, Resulting Numbers: [188]
188,96 unequal: No Solution
Exploring Operation: 95-93=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 95*93=8835, Resulting Numbers: [8835]
8835,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 96:[87, 101], Operations: ['16-10=6', '95+6=101']
Exploring Operation: 101-87=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 87*101=8787, Resulting Numbers: [8787]
8787,96 unequal: No Solution
Exploring Operation: 87+101=188, Resulting Numbers: [188]
188,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[95, 81], Operations: ['16-10=6', '87-6=81']
Exploring Operation: 95+81=176, Resulting Numbers: [176]
176,96 unequal: No Solution
Exploring Operation: 95*81=7695, Resulting Numbers: [7695]
7695,96 unequal: No Solution
Exploring Operation: 95-81=14, Resulting Numbers: [14]
14,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 96:[87, 89], Operations: ['16-10=6', '95-6=89']
Exploring Operation: 87+89=176, Resulting Numbers: [176]
176,96 unequal: No Solution
Exploring Operation: 89-87=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 87*89=7743, Resulting Numbers: [7743]
7743,96 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: 96:[10, 95, 103], Operations: ['16+87=103']
Exploring Operation: 95-10=85, Resulting Numbers: [103, 85]
Generated Node #0,2,0: 96:[103, 85] Operation: 95-10=85
Exploring Operation: 10+103=113, Resulting Numbers: [95, 113]
Generated Node #0,2,1: 96:[95, 113] Operation: 10+103=113
Exploring Operation: 103-10=93, Resulting Numbers: [95, 93]
Generated Node #0,2,2: 96:[95, 93] Operation: 103-10=93
Exploring Operation: 103-95=8, Resulting Numbers: [10, 8]
Generated Node #0,2,3: 96:[10, 8] Operation: 103-95=8
Exploring Operation: 10+95=105, Resulting Numbers: [103, 105]
Generated Node #0,2,4: 96:[103, 105] Operation: 10+95=105
Moving to Node #0,4
Current State: 96:[87, 95, 26], Operations: ['10+16=26']
Exploring Operation: 95-87=8, Resulting Numbers: [26, 8]
Generated Node #0,4,0: 96:[26, 8] Operation: 95-87=8
Exploring Operation: 87-26=61, Resulting Numbers: [95, 61]
Generated Node #0,4,1: 96:[95, 61] Operation: 87-26=61
Exploring Operation: 95+26=121, Resulting Numbers: [87, 121]
Generated Node #0,4,2: 96:[87, 121] Operation: 95+26=121
Exploring Operation: 87+26=113, Resulting Numbers: [95, 113]
Generated Node #0,4,3: 96:[95, 113] Operation: 87+26=113
Exploring Operation: 95-26=69, Resulting Numbers: [87, 69]
Generated Node #0,4,4: 96:[87, 69] Operation: 95-26=69
Moving to Node #0,2,3
Current State: 96:[10, 8], Operations: ['16+87=103', '103-95=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Moving to Node #0,4,0
Current State: 96:[26, 8], Operations: ['10+16=26', '95-87=8']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 26*8=208, Resulting Numbers: [208]
208,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[95, 93], Operations: ['16+87=103', '103-10=93']
Exploring Operation: 95-93=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 95*93=8835, Resulting Numbers: [8835]
8835,96 unequal: No Solution
Exploring Operation: 95+93=188, Resulting Numbers: [188]
188,96 unequal: No Solution
Moving to Node #0,4,1
Current State: 96:[95, 61], Operations: ['10+16=26', '87-26=61']
Exploring Operation: 95*61=5795, Resulting Numbers: [5795]
5795,96 unequal: No Solution
Exploring Operation: 95+61=156, Resulting Numbers: [156]
156,96 unequal: No Solution
Exploring Operation: 95-61=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Moving to Node #0,2,4
Current State: 96:[103, 105], Operations: ['16+87=103', '10+95=105']
Exploring Operation: 103*105=10815, Resulting Numbers: [10815]
10815,96 unequal: No Solution
Exploring Operation: 105-103=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 103+105=208, Resulting Numbers: [208]
208,96 unequal: No Solution
Moving to Node #0,4,3
Current State: 96:[95, 113], Operations: ['10+16=26', '87+26=113']
Exploring Operation: 95*113=10735, Resulting Numbers: [10735]
10735,96 unequal: No Solution
Exploring Operation: 113-95=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 95+113=208, Resulting Numbers: [208]
208,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[95, 113], Operations: ['16+87=103', '10+103=113']
Exploring Operation: 95*113=10735, Resulting Numbers: [10735]
10735,96 unequal: No Solution
Exploring Operation: 113-95=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 95+113=208, Resulting Numbers: [208]
208,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[103, 85], Operations: ['16+87=103', '95-10=85']
Exploring Operation: 103-85=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 103+85=188, Resulting Numbers: [188]
188,96 unequal: No Solution
Exploring Operation: 103*85=8755, Resulting Numbers: [8755]
8755,96 unequal: No Solution
Moving to Node #0,4,4
Current State: 96:[87, 69], Operations: ['10+16=26', '95-26=69']
Exploring Operation: 87*69=6003, Resulting Numbers: [6003]
6003,96 unequal: No Solution
Exploring Operation: 87+69=156, Resulting Numbers: [156]
156,96 unequal: No Solution
Exploring Operation: 87-69=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Moving to Node #0,4,2
Current State: 96:[87, 121], Operations: ['10+16=26', '95+26=121']
Exploring Operation: 87*121=10527, Resulting Numbers: [10527]
10527,96 unequal: No Solution
Exploring Operation: 121-87=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 87+121=208, Resulting Numbers: [208]
208,96 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
36,
45,
38,
99
] | 27 | [
"45-36=9",
"99/9=11",
"38-11=27"
] | Current State: 27:[36, 45, 38, 99], Operations: []
Exploring Operation: 45-36=9, Resulting Numbers: [38, 99, 9]
Generated Node #2: [38, 99, 9] from Operation: 45-36=9
Current State: 27:[38, 99, 9], Operations: ['45-36=9']
Exploring Operation: 99/9=11, Resulting Numbers: [38, 11]
Generated Node #3: [38, 11] from Operation: 99/9=11
Current State: 27:[38, 11], Operations: ['45-36=9', '99/9=11']
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[36, 45, 38, 99], Operations: []
Exploring Operation: 99-38=61, Resulting Numbers: [36, 45, 61]
Generated Node #0,0: 27:[36, 45, 61] Operation: 99-38=61
Exploring Operation: 99-45=54, Resulting Numbers: [36, 38, 54]
Generated Node #0,1: 27:[36, 38, 54] Operation: 99-45=54
Exploring Operation: 99-36=63, Resulting Numbers: [45, 38, 63]
Generated Node #0,2: 27:[45, 38, 63] Operation: 99-36=63
Moving to Node #0,1
Current State: 27:[36, 38, 54], Operations: ['99-45=54']
Exploring Operation: 54-38=16, Resulting Numbers: [36, 16]
Generated Node #0,1,0: 27:[36, 16] Operation: 54-38=16
Exploring Operation: 54-36=18, Resulting Numbers: [38, 18]
Generated Node #0,1,1: 27:[38, 18] Operation: 54-36=18
Exploring Operation: 38-36=2, Resulting Numbers: [54, 2]
Generated Node #0,1,2: 27:[54, 2] Operation: 38-36=2
Moving to Node #0,0
Current State: 27:[36, 45, 61], Operations: ['99-38=61']
Exploring Operation: 61-45=16, Resulting Numbers: [36, 16]
Generated Node #0,0,0: 27:[36, 16] Operation: 61-45=16
Exploring Operation: 45-36=9, Resulting Numbers: [61, 9]
Generated Node #0,0,1: 27:[61, 9] Operation: 45-36=9
Exploring Operation: 61-36=25, Resulting Numbers: [45, 25]
Generated Node #0,0,2: 27:[45, 25] Operation: 61-36=25
Moving to Node #0,2
Current State: 27:[45, 38, 63], Operations: ['99-36=63']
Exploring Operation: 63-45=18, Resulting Numbers: [38, 18]
Generated Node #0,2,0: 27:[38, 18] Operation: 63-45=18
Exploring Operation: 63-38=25, Resulting Numbers: [45, 25]
Generated Node #0,2,1: 27:[45, 25] Operation: 63-38=25
Exploring Operation: 45-38=7, Resulting Numbers: [63, 7]
Generated Node #0,2,2: 27:[63, 7] Operation: 45-38=7
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 27:[38, 18], Operations: ['99-36=63', '63-45=18']
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,27 unequal: No Solution
No 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: 27:[45, 25], Operations: ['99-36=63', '63-38=25']
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,27 unequal: No Solution
Exploring Operation: 45*25=1125, Resulting Numbers: [1125]
1125,27 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,27 unequal: No Solution
No 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: 27:[63, 7], Operations: ['99-36=63', '45-38=7']
Exploring Operation: 63+7=70, Resulting Numbers: [70]
70,27 unequal: No Solution
Exploring Operation: 63/7=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 63-7=56, Resulting Numbers: [56]
56,27 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: 27:[36, 16], Operations: ['99-45=54', '54-38=16']
Exploring Operation: 36*16=576, Resulting Numbers: [576]
576,27 unequal: No Solution
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[36, 16], Operations: ['99-38=61', '61-45=16']
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 36*16=576, Resulting Numbers: [576]
576,27 unequal: No Solution
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Moving to Node #0,0,2
Current State: 27:[45, 25], Operations: ['99-38=61', '61-36=25']
Exploring Operation: 45*25=1125, Resulting Numbers: [1125]
1125,27 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[38, 18], Operations: ['99-45=54', '54-36=18']
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,27 unequal: No Solution
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[54, 2], Operations: ['99-45=54', '38-36=2']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[36, 45, 38, 99], Operations: []
Exploring Operation: 99-45=54, Resulting Numbers: [36, 38, 54]
Generated Node #0,1: 27:[36, 38, 54] Operation: 99-45=54
Moving to Node #0,1
Current State: 27:[36, 38, 54], Operations: ['99-45=54']
Exploring Operation: 38-36=2, Resulting Numbers: [54, 2]
Generated Node #0,1,2: 27:[54, 2] Operation: 38-36=2
Moving to Node #0,1,2
Current State: 27:[54, 2], Operations: ['99-45=54', '38-36=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.965278 | hs_3 | mult_heuristic |
[
54,
43,
37,
89
] | 29 | [
"54+43=97",
"37+89=126",
"126-97=29"
] | Current State: 29:[54, 43, 37, 89], Operations: []
Exploring Operation: 54+43=97, Resulting Numbers: [37, 89, 97]
Generated Node #2: [37, 89, 97] from Operation: 54+43=97
Current State: 29:[37, 89, 97], Operations: ['54+43=97']
Exploring Operation: 37+89=126, Resulting Numbers: [97, 126]
Generated Node #3: [97, 126] from Operation: 37+89=126
Current State: 29:[97, 126], Operations: ['54+43=97', '37+89=126']
Exploring Operation: 126-97=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[54, 43, 37, 89], Operations: []
Exploring Operation: 89-54=35, Resulting Numbers: [43, 37, 35]
Generated Node #0,0: 29:[43, 37, 35] Operation: 89-54=35
Exploring Operation: 54-43=11, Resulting Numbers: [37, 89, 11]
Generated Node #0,1: 29:[37, 89, 11] Operation: 54-43=11
Exploring Operation: 54-37=17, Resulting Numbers: [43, 89, 17]
Generated Node #0,2: 29:[43, 89, 17] Operation: 54-37=17
Exploring Operation: 89-43=46, Resulting Numbers: [54, 37, 46]
Generated Node #0,3: 29:[54, 37, 46] Operation: 89-43=46
Exploring Operation: 89-37=52, Resulting Numbers: [54, 43, 52]
Generated Node #0,4: 29:[54, 43, 52] Operation: 89-37=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[43, 37, 35], Operations: ['89-54=35']
Exploring Operation: 43-35=8, Resulting Numbers: [37, 8]
Generated Node #0,0,0: 29:[37, 8] Operation: 43-35=8
Exploring Operation: 37-35=2, Resulting Numbers: [43, 2]
Generated Node #0,0,1: 29:[43, 2] Operation: 37-35=2
Exploring Operation: 43+37=80, Resulting Numbers: [35, 80]
Generated Node #0,0,2: 29:[35, 80] Operation: 43+37=80
Exploring Operation: 43+35=78, Resulting Numbers: [37, 78]
Generated Node #0,0,3: 29:[37, 78] Operation: 43+35=78
Exploring Operation: 43-37=6, Resulting Numbers: [35, 6]
Generated Node #0,0,4: 29:[35, 6] Operation: 43-37=6
Moving to Node #0,0,0
Current State: 29:[37, 8], Operations: ['89-54=35', '43-35=8']
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[54, 43, 37, 89], Operations: []
Exploring Operation: 89-54=35, Resulting Numbers: [43, 37, 35]
Generated Node #0,0: 29:[43, 37, 35] Operation: 89-54=35
Moving to Node #0,0
Current State: 29:[43, 37, 35], Operations: ['89-54=35']
Exploring Operation: 43-35=8, Resulting Numbers: [37, 8]
Generated Node #0,0,0: 29:[37, 8] Operation: 43-35=8
Moving to Node #0,0,0
Current State: 29:[37, 8], Operations: ['89-54=35', '43-35=8']
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
44,
80,
84,
73
] | 47 | [
"80-44=36",
"84-73=11",
"36+11=47"
] | Current State: 47:[44, 80, 84, 73], Operations: []
Exploring Operation: 80-44=36, Resulting Numbers: [84, 73, 36]
Generated Node #2: [84, 73, 36] from Operation: 80-44=36
Current State: 47:[84, 73, 36], Operations: ['80-44=36']
Exploring Operation: 84-73=11, Resulting Numbers: [36, 11]
Generated Node #3: [36, 11] from Operation: 84-73=11
Current State: 47:[36, 11], Operations: ['80-44=36', '84-73=11']
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[44, 80, 84, 73], Operations: []
Exploring Operation: 84-44=40, Resulting Numbers: [80, 73, 40]
Generated Node #0,0: 47:[80, 73, 40] Operation: 84-44=40
Exploring Operation: 80-44=36, Resulting Numbers: [84, 73, 36]
Generated Node #0,1: 47:[84, 73, 36] Operation: 80-44=36
Exploring Operation: 80-73=7, Resulting Numbers: [44, 84, 7]
Generated Node #0,2: 47:[44, 84, 7] Operation: 80-73=7
Exploring Operation: 84-80=4, Resulting Numbers: [44, 73, 4]
Generated Node #0,3: 47:[44, 73, 4] Operation: 84-80=4
Exploring Operation: 84-73=11, Resulting Numbers: [44, 80, 11]
Generated Node #0,4: 47:[44, 80, 11] Operation: 84-73=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[80, 73, 40], Operations: ['84-44=40']
Exploring Operation: 80-40=40, Resulting Numbers: [73, 40]
Generated Node #0,0,0: 47:[73, 40] Operation: 80-40=40
Exploring Operation: 73-40=33, Resulting Numbers: [80, 33]
Generated Node #0,0,1: 47:[80, 33] Operation: 73-40=33
Exploring Operation: 80+40=120, Resulting Numbers: [73, 120]
Generated Node #0,0,2: 47:[73, 120] Operation: 80+40=120
Exploring Operation: 80/40=2, Resulting Numbers: [73, 2]
Generated Node #0,0,3: 47:[73, 2] Operation: 80/40=2
Exploring Operation: 80-73=7, Resulting Numbers: [40, 7]
Generated Node #0,0,4: 47:[40, 7] Operation: 80-73=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[73, 40], Operations: ['84-44=40', '80-40=40']
Exploring Operation: 73+40=113, Resulting Numbers: [113]
113,47 unequal: No Solution
Exploring Operation: 73-40=33, Resulting Numbers: [33]
33,47 unequal: No Solution
Exploring Operation: 73*40=2920, Resulting Numbers: [2920]
2920,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[80, 33], Operations: ['84-44=40', '73-40=33']
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[44, 80, 84, 73], Operations: []
Exploring Operation: 84-44=40, Resulting Numbers: [80, 73, 40]
Generated Node #0,0: 47:[80, 73, 40] Operation: 84-44=40
Moving to Node #0,0
Current State: 47:[80, 73, 40], Operations: ['84-44=40']
Exploring Operation: 73-40=33, Resulting Numbers: [80, 33]
Generated Node #0,0,1: 47:[80, 33] Operation: 73-40=33
Moving to Node #0,0,1
Current State: 47:[80, 33], Operations: ['84-44=40', '73-40=33']
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
13,
65,
63,
85
] | 100 | [
"13+65=78",
"85-63=22",
"78+22=100"
] | Current State: 100:[13, 65, 63, 85], Operations: []
Exploring Operation: 13+65=78, Resulting Numbers: [63, 85, 78]
Generated Node #2: [63, 85, 78] from Operation: 13+65=78
Current State: 100:[63, 85, 78], Operations: ['13+65=78']
Exploring Operation: 85-63=22, Resulting Numbers: [78, 22]
Generated Node #3: [78, 22] from Operation: 85-63=22
Current State: 100:[78, 22], Operations: ['13+65=78', '85-63=22']
Exploring Operation: 78+22=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[13, 65, 63, 85], Operations: []
Exploring Operation: 85-65=20, Resulting Numbers: [13, 63, 20]
Generated Node #0,0: 100:[13, 63, 20] Operation: 85-65=20
Exploring Operation: 65-63=2, Resulting Numbers: [13, 85, 2]
Generated Node #0,1: 100:[13, 85, 2] Operation: 65-63=2
Moving to Node #0,0
Current State: 100:[13, 63, 20], Operations: ['85-65=20']
Exploring Operation: 63-20=43, Resulting Numbers: [13, 43]
Generated Node #0,0,0: 100:[13, 43] Operation: 63-20=43
Exploring Operation: 63-13=50, Resulting Numbers: [20, 50]
Generated Node #0,0,1: 100:[20, 50] Operation: 63-13=50
Moving to Node #0,1
Current State: 100:[13, 85, 2], Operations: ['65-63=2']
Exploring Operation: 13*2=26, Resulting Numbers: [85, 26]
Generated Node #0,1,0: 100:[85, 26] Operation: 13*2=26
Exploring Operation: 13+85=98, Resulting Numbers: [2, 98]
Generated Node #0,1,1: 100:[2, 98] Operation: 13+85=98
Moving to Node #0,0,1
Current State: 100:[20, 50], Operations: ['85-65=20', '63-13=50']
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[2, 98], Operations: ['65-63=2', '13+85=98']
Exploring Operation: 2+98=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[13, 65, 63, 85], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [13, 85, 2]
Generated Node #0,1: 100:[13, 85, 2] Operation: 65-63=2
Moving to Node #0,1
Current State: 100:[13, 85, 2], Operations: ['65-63=2']
Exploring Operation: 13+85=98, Resulting Numbers: [2, 98]
Generated Node #0,1,1: 100:[2, 98] Operation: 13+85=98
Moving to Node #0,1,1
Current State: 100:[2, 98], Operations: ['65-63=2', '13+85=98']
Exploring Operation: 2+98=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 0.988715 | hs_2 | sum_heuristic |
[
1,
67,
78,
68
] | 56 | [
"67-1=66",
"78-68=10",
"66-10=56"
] | Current State: 56:[1, 67, 78, 68], Operations: []
Exploring Operation: 67-1=66, Resulting Numbers: [78, 68, 66]
Generated Node #2: [78, 68, 66] from Operation: 67-1=66
Current State: 56:[78, 68, 66], Operations: ['67-1=66']
Exploring Operation: 78-68=10, Resulting Numbers: [66, 10]
Generated Node #3: [66, 10] from Operation: 78-68=10
Current State: 56:[66, 10], Operations: ['67-1=66', '78-68=10']
Exploring Operation: 66-10=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[1, 67, 78, 68], Operations: []
Exploring Operation: 78-68=10, Resulting Numbers: [1, 67, 10]
Generated Node #0,0: 56:[1, 67, 10] Operation: 78-68=10
Exploring Operation: 78-67=11, Resulting Numbers: [1, 68, 11]
Generated Node #0,1: 56:[1, 68, 11] Operation: 78-67=11
Moving to Node #0,0
Current State: 56:[1, 67, 10], Operations: ['78-68=10']
Exploring Operation: 67-10=57, Resulting Numbers: [1, 57]
Generated Node #0,0,0: 56:[1, 57] Operation: 67-10=57
Exploring Operation: 67-1=66, Resulting Numbers: [10, 66]
Generated Node #0,0,1: 56:[10, 66] Operation: 67-1=66
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[1, 57], Operations: ['78-68=10', '67-10=57']
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,56 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[1, 67, 78, 68], Operations: []
Exploring Operation: 78-68=10, Resulting Numbers: [1, 67, 10]
Generated Node #0,0: 56:[1, 67, 10] Operation: 78-68=10
Moving to Node #0,0
Current State: 56:[1, 67, 10], Operations: ['78-68=10']
Exploring Operation: 67-10=57, Resulting Numbers: [1, 57]
Generated Node #0,0,0: 56:[1, 57] Operation: 67-10=57
Moving to Node #0,0,0
Current State: 56:[1, 57], Operations: ['78-68=10', '67-10=57']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
72,
49,
8,
71
] | 13 | [
"72/8=9",
"71-49=22",
"22-9=13"
] | Current State: 13:[72, 49, 8, 71], Operations: []
Exploring Operation: 72/8=9, Resulting Numbers: [49, 71, 9]
Generated Node #2: [49, 71, 9] from Operation: 72/8=9
Current State: 13:[49, 71, 9], Operations: ['72/8=9']
Exploring Operation: 71-49=22, Resulting Numbers: [9, 22]
Generated Node #3: [9, 22] from Operation: 71-49=22
Current State: 13:[9, 22], Operations: ['72/8=9', '71-49=22']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[72, 49, 8, 71], Operations: []
Exploring Operation: 72-71=1, Resulting Numbers: [49, 8, 1]
Generated Node #0,0: 13:[49, 8, 1] Operation: 72-71=1
Exploring Operation: 71-49=22, Resulting Numbers: [72, 8, 22]
Generated Node #0,1: 13:[72, 8, 22] Operation: 71-49=22
Exploring Operation: 72/8=9, Resulting Numbers: [49, 71, 9]
Generated Node #0,2: 13:[49, 71, 9] Operation: 72/8=9
Exploring Operation: 72-49=23, Resulting Numbers: [8, 71, 23]
Generated Node #0,3: 13:[8, 71, 23] Operation: 72-49=23
Moving to Node #0,0
Current State: 13:[49, 8, 1], Operations: ['72-71=1']
Exploring Operation: 49-8=41, Resulting Numbers: [1, 41]
Generated Node #0,0,0: 13:[1, 41] Operation: 49-8=41
Exploring Operation: 49*1=49, Resulting Numbers: [8, 49]
Generated Node #0,0,1: 13:[8, 49] Operation: 49*1=49
Exploring Operation: 49-1=48, Resulting Numbers: [8, 48]
Generated Node #0,0,2: 13:[8, 48] Operation: 49-1=48
Exploring Operation: 8+1=9, Resulting Numbers: [49, 9]
Generated Node #0,0,3: 13:[49, 9] Operation: 8+1=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[1, 41], Operations: ['72-71=1', '49-8=41']
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,13 unequal: No Solution
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,13 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,13 unequal: No Solution
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,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:[8, 48], Operations: ['72-71=1', '49-1=48']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,13 unequal: No Solution
Exploring Operation: 8*48=384, Resulting Numbers: [384]
384,13 unequal: No Solution
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,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:[49, 9], Operations: ['72-71=1', '8+1=9']
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,13 unequal: No Solution
Exploring Operation: 49+9=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 49*9=441, Resulting Numbers: [441]
441,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:[8, 49], Operations: ['72-71=1', '49*1=49']
Exploring Operation: 8*49=392, Resulting Numbers: [392]
392,13 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,13 unequal: No Solution
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 13:[8, 71, 23], Operations: ['72-49=23']
Exploring Operation: 23-8=15, Resulting Numbers: [71, 15]
Generated Node #0,3,0: 13:[71, 15] Operation: 23-8=15
Exploring Operation: 71-23=48, Resulting Numbers: [8, 48]
Generated Node #0,3,1: 13:[8, 48] Operation: 71-23=48
Exploring Operation: 71-8=63, Resulting Numbers: [23, 63]
Generated Node #0,3,2: 13:[23, 63] Operation: 71-8=63
Exploring Operation: 8+71=79, Resulting Numbers: [23, 79]
Generated Node #0,3,3: 13:[23, 79] Operation: 8+71=79
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 13:[8, 48], Operations: ['72-49=23', '71-23=48']
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 8*48=384, Resulting Numbers: [384]
384,13 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,13 unequal: No Solution
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 13:[71, 15], Operations: ['72-49=23', '23-8=15']
Exploring Operation: 71*15=1065, Resulting Numbers: [1065]
1065,13 unequal: No Solution
Exploring Operation: 71-15=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 71+15=86, Resulting Numbers: [86]
86,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 13:[23, 63], Operations: ['72-49=23', '71-8=63']
Exploring Operation: 23+63=86, Resulting Numbers: [86]
86,13 unequal: No Solution
Exploring Operation: 23*63=1449, Resulting Numbers: [1449]
1449,13 unequal: No Solution
Exploring Operation: 63-23=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,3,3
Current State: 13:[23, 79], Operations: ['72-49=23', '8+71=79']
Exploring Operation: 79-23=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 23+79=102, Resulting Numbers: [102]
102,13 unequal: No Solution
Exploring Operation: 23*79=1817, Resulting Numbers: [1817]
1817,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:[72, 8, 22], Operations: ['71-49=22']
Exploring Operation: 72-22=50, Resulting Numbers: [8, 50]
Generated Node #0,1,0: 13:[8, 50] Operation: 72-22=50
Exploring Operation: 22-8=14, Resulting Numbers: [72, 14]
Generated Node #0,1,1: 13:[72, 14] Operation: 22-8=14
Exploring Operation: 72-8=64, Resulting Numbers: [22, 64]
Generated Node #0,1,2: 13:[22, 64] Operation: 72-8=64
Exploring Operation: 72/8=9, Resulting Numbers: [22, 9]
Generated Node #0,1,3: 13:[22, 9] Operation: 72/8=9
Moving to Node #0,2
Current State: 13:[49, 71, 9], Operations: ['72/8=9']
Exploring Operation: 49-9=40, Resulting Numbers: [71, 40]
Generated Node #0,2,0: 13:[71, 40] Operation: 49-9=40
Exploring Operation: 71-9=62, Resulting Numbers: [49, 62]
Generated Node #0,2,1: 13:[49, 62] Operation: 71-9=62
Exploring Operation: 49+9=58, Resulting Numbers: [71, 58]
Generated Node #0,2,2: 13:[71, 58] Operation: 49+9=58
Exploring Operation: 71-49=22, Resulting Numbers: [9, 22]
Generated Node #0,2,3: 13:[9, 22] Operation: 71-49=22
Moving to Node #0,1,3
Current State: 13:[22, 9], Operations: ['71-49=22', '72/8=9']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[72, 49, 8, 71], Operations: []
Exploring Operation: 71-49=22, Resulting Numbers: [72, 8, 22]
Generated Node #0,1: 13:[72, 8, 22] Operation: 71-49=22
Moving to Node #0,1
Current State: 13:[72, 8, 22], Operations: ['71-49=22']
Exploring Operation: 72/8=9, Resulting Numbers: [22, 9]
Generated Node #0,1,3: 13:[22, 9] Operation: 72/8=9
Moving to Node #0,1,3
Current State: 13:[22, 9], Operations: ['71-49=22', '72/8=9']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 0.954861 | hs_4 | mult_heuristic |
[
6,
32,
83,
35
] | 80 | [
"6+32=38",
"83+35=118",
"118-38=80"
] | Current State: 80:[6, 32, 83, 35], Operations: []
Exploring Operation: 6+32=38, Resulting Numbers: [83, 35, 38]
Generated Node #2: [83, 35, 38] from Operation: 6+32=38
Current State: 80:[83, 35, 38], Operations: ['6+32=38']
Exploring Operation: 83+35=118, Resulting Numbers: [38, 118]
Generated Node #3: [38, 118] from Operation: 83+35=118
Current State: 80:[38, 118], Operations: ['6+32=38', '83+35=118']
Exploring Operation: 118-38=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[6, 32, 83, 35], Operations: []
Exploring Operation: 35-32=3, Resulting Numbers: [6, 83, 3]
Generated Node #0,0: 80:[6, 83, 3] Operation: 35-32=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[6, 83, 3], Operations: ['35-32=3']
Exploring Operation: 83-3=80, Resulting Numbers: [6, 80]
Generated Node #0,0,0: 80:[6, 80] Operation: 83-3=80
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[6, 80], Operations: ['35-32=3', '83-3=80']
Exploring Operation: 6+80=86, Resulting Numbers: [86]
86,80 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 |
[
96,
59,
48,
53
] | 56 | [
"96/48=2",
"59+53=112",
"112/2=56"
] | Current State: 56:[96, 59, 48, 53], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [59, 53, 2]
Generated Node #2: [59, 53, 2] from Operation: 96/48=2
Current State: 56:[59, 53, 2], Operations: ['96/48=2']
Exploring Operation: 59+53=112, Resulting Numbers: [2, 112]
Generated Node #3: [2, 112] from Operation: 59+53=112
Current State: 56:[2, 112], Operations: ['96/48=2', '59+53=112']
Exploring Operation: 112/2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[96, 59, 48, 53], Operations: []
Exploring Operation: 96-59=37, Resulting Numbers: [48, 53, 37]
Generated Node #0,0: 56:[48, 53, 37] Operation: 96-59=37
Exploring Operation: 96/48=2, Resulting Numbers: [59, 53, 2]
Generated Node #0,1: 56:[59, 53, 2] Operation: 96/48=2
Exploring Operation: 96-53=43, Resulting Numbers: [59, 48, 43]
Generated Node #0,2: 56:[59, 48, 43] Operation: 96-53=43
Exploring Operation: 96-48=48, Resulting Numbers: [59, 53, 48]
Generated Node #0,3: 56:[59, 53, 48] Operation: 96-48=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[59, 53, 2], Operations: ['96/48=2']
Exploring Operation: 59+2=61, Resulting Numbers: [53, 61]
Generated Node #0,1,0: 56:[53, 61] Operation: 59+2=61
Exploring Operation: 53+2=55, Resulting Numbers: [59, 55]
Generated Node #0,1,1: 56:[59, 55] Operation: 53+2=55
Exploring Operation: 59-2=57, Resulting Numbers: [53, 57]
Generated Node #0,1,2: 56:[53, 57] Operation: 59-2=57
Exploring Operation: 59-53=6, Resulting Numbers: [2, 6]
Generated Node #0,1,3: 56:[2, 6] Operation: 59-53=6
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 56:[2, 6], Operations: ['96/48=2', '59-53=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,56 unequal: No Solution
No 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: 56:[59, 55], Operations: ['96/48=2', '53+2=55']
Exploring Operation: 59*55=3245, Resulting Numbers: [3245]
3245,56 unequal: No Solution
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 59+55=114, Resulting Numbers: [114]
114,56 unequal: No Solution
No 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: 56:[53, 57], Operations: ['96/48=2', '59-2=57']
Exploring Operation: 53*57=3021, Resulting Numbers: [3021]
3021,56 unequal: No Solution
Exploring Operation: 57-53=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 53+57=110, Resulting Numbers: [110]
110,56 unequal: No Solution
No 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: 56:[53, 61], Operations: ['96/48=2', '59+2=61']
Exploring Operation: 53+61=114, Resulting Numbers: [114]
114,56 unequal: No Solution
Exploring Operation: 61-53=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 53*61=3233, Resulting Numbers: [3233]
3233,56 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: 56:[59, 53, 48], Operations: ['96-48=48']
Exploring Operation: 59-53=6, Resulting Numbers: [48, 6]
Generated Node #0,3,0: 56:[48, 6] Operation: 59-53=6
Exploring Operation: 59-48=11, Resulting Numbers: [53, 11]
Generated Node #0,3,1: 56:[53, 11] Operation: 59-48=11
Exploring Operation: 53+48=101, Resulting Numbers: [59, 101]
Generated Node #0,3,2: 56:[59, 101] Operation: 53+48=101
Exploring Operation: 53-48=5, Resulting Numbers: [59, 5]
Generated Node #0,3,3: 56:[59, 5] Operation: 53-48=5
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 56:[59, 5], Operations: ['96-48=48', '53-48=5']
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,56 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 59*5=295, Resulting Numbers: [295]
295,56 unequal: No Solution
No 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: 56:[53, 11], Operations: ['96-48=48', '59-48=11']
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,56 unequal: No Solution
Exploring Operation: 53+11=64, Resulting Numbers: [64]
64,56 unequal: No Solution
Exploring Operation: 53*11=583, Resulting Numbers: [583]
583,56 unequal: No Solution
No 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: 56:[48, 6], Operations: ['96-48=48', '59-53=6']
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,56 unequal: No Solution
Exploring Operation: 48*6=288, Resulting Numbers: [288]
288,56 unequal: No Solution
No 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: 56:[59, 101], Operations: ['96-48=48', '53+48=101']
Exploring Operation: 59+101=160, Resulting Numbers: [160]
160,56 unequal: No Solution
Exploring Operation: 59*101=5959, Resulting Numbers: [5959]
5959,56 unequal: No Solution
Exploring Operation: 101-59=42, Resulting Numbers: [42]
42,56 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: 56:[48, 53, 37], Operations: ['96-59=37']
Exploring Operation: 48+37=85, Resulting Numbers: [53, 85]
Generated Node #0,0,0: 56:[53, 85] Operation: 48+37=85
Exploring Operation: 48-37=11, Resulting Numbers: [53, 11]
Generated Node #0,0,1: 56:[53, 11] Operation: 48-37=11
Exploring Operation: 53-48=5, Resulting Numbers: [37, 5]
Generated Node #0,0,2: 56:[37, 5] Operation: 53-48=5
Exploring Operation: 53-37=16, Resulting Numbers: [48, 16]
Generated Node #0,0,3: 56:[48, 16] Operation: 53-37=16
Moving to Node #0,0,1
Current State: 56:[53, 11], Operations: ['96-59=37', '48-37=11']
Exploring Operation: 53+11=64, Resulting Numbers: [64]
64,56 unequal: No Solution
Exploring Operation: 53*11=583, Resulting Numbers: [583]
583,56 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,56 unequal: No Solution
Moving to Node #0,0,3
Current State: 56:[48, 16], Operations: ['96-59=37', '53-37=16']
Exploring Operation: 48*16=768, Resulting Numbers: [768]
768,56 unequal: No Solution
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,56 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[37, 5], Operations: ['96-59=37', '53-48=5']
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,56 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,56 unequal: No Solution
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[53, 85], Operations: ['96-59=37', '48+37=85']
Exploring Operation: 85-53=32, Resulting Numbers: [32]
32,56 unequal: No Solution
Exploring Operation: 53*85=4505, Resulting Numbers: [4505]
4505,56 unequal: No Solution
Exploring Operation: 53+85=138, Resulting Numbers: [138]
138,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[59, 48, 43], Operations: ['96-53=43']
Exploring Operation: 48+43=91, Resulting Numbers: [59, 91]
Generated Node #0,2,0: 56:[59, 91] Operation: 48+43=91
Exploring Operation: 59-48=11, Resulting Numbers: [43, 11]
Generated Node #0,2,1: 56:[43, 11] Operation: 59-48=11
Exploring Operation: 59-43=16, Resulting Numbers: [48, 16]
Generated Node #0,2,2: 56:[48, 16] Operation: 59-43=16
Exploring Operation: 48-43=5, Resulting Numbers: [59, 5]
Generated Node #0,2,3: 56:[59, 5] Operation: 48-43=5
Moving to Node #0,2,3
Current State: 56:[59, 5], Operations: ['96-53=43', '48-43=5']
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,56 unequal: No Solution
Exploring Operation: 59*5=295, Resulting Numbers: [295]
295,56 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[48, 16], Operations: ['96-53=43', '59-43=16']
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,56 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,56 unequal: No Solution
Exploring Operation: 48*16=768, Resulting Numbers: [768]
768,56 unequal: No Solution
Moving to Node #0,2,1
Current State: 56:[43, 11], Operations: ['96-53=43', '59-48=11']
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,56 unequal: No Solution
Exploring Operation: 43+11=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 43*11=473, Resulting Numbers: [473]
473,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[59, 91], Operations: ['96-53=43', '48+43=91']
Exploring Operation: 91-59=32, Resulting Numbers: [32]
32,56 unequal: No Solution
Exploring Operation: 59*91=5369, Resulting Numbers: [5369]
5369,56 unequal: No Solution
Exploring Operation: 59+91=150, Resulting Numbers: [150]
150,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
6,
50,
2,
34
] | 88 | [
"6+50=56",
"34-2=32",
"56+32=88"
] | Current State: 88:[6, 50, 2, 34], Operations: []
Exploring Operation: 6+50=56, Resulting Numbers: [2, 34, 56]
Generated Node #2: [2, 34, 56] from Operation: 6+50=56
Current State: 88:[2, 34, 56], Operations: ['6+50=56']
Exploring Operation: 34-2=32, Resulting Numbers: [56, 32]
Generated Node #3: [56, 32] from Operation: 34-2=32
Current State: 88:[56, 32], Operations: ['6+50=56', '34-2=32']
Exploring Operation: 56+32=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[6, 50, 2, 34], Operations: []
Exploring Operation: 50-34=16, Resulting Numbers: [6, 2, 16]
Generated Node #0,0: 88:[6, 2, 16] Operation: 50-34=16
Exploring Operation: 50+34=84, Resulting Numbers: [6, 2, 84]
Generated Node #0,1: 88:[6, 2, 84] Operation: 50+34=84
Moving to Node #0,1
Current State: 88:[6, 2, 84], Operations: ['50+34=84']
Exploring Operation: 84/6=14, Resulting Numbers: [2, 14]
Generated Node #0,1,0: 88:[2, 14] Operation: 84/6=14
Exploring Operation: 6+84=90, Resulting Numbers: [2, 90]
Generated Node #0,1,1: 88:[2, 90] Operation: 6+84=90
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[2, 90], Operations: ['50+34=84', '6+84=90']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[6, 50, 2, 34], Operations: []
Exploring Operation: 50+34=84, Resulting Numbers: [6, 2, 84]
Generated Node #0,1: 88:[6, 2, 84] Operation: 50+34=84
Moving to Node #0,1
Current State: 88:[6, 2, 84], Operations: ['50+34=84']
Exploring Operation: 6+84=90, Resulting Numbers: [2, 90]
Generated Node #0,1,1: 88:[2, 90] Operation: 6+84=90
Moving to Node #0,1,1
Current State: 88:[2, 90], Operations: ['50+34=84', '6+84=90']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
3,
4,
62,
30
] | 52 | [
"4+62=66",
"66/3=22",
"30+22=52"
] | Current State: 52:[3, 4, 62, 30], Operations: []
Exploring Operation: 4+62=66, Resulting Numbers: [3, 30, 66]
Generated Node #2: [3, 30, 66] from Operation: 4+62=66
Current State: 52:[3, 30, 66], Operations: ['4+62=66']
Exploring Operation: 66/3=22, Resulting Numbers: [30, 22]
Generated Node #3: [30, 22] from Operation: 66/3=22
Current State: 52:[30, 22], Operations: ['4+62=66', '66/3=22']
Exploring Operation: 30+22=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[3, 4, 62, 30], Operations: []
Exploring Operation: 62-30=32, Resulting Numbers: [3, 4, 32]
Generated Node #0,0: 52:[3, 4, 32] Operation: 62-30=32
Exploring Operation: 62-3=59, Resulting Numbers: [4, 30, 59]
Generated Node #0,1: 52:[4, 30, 59] Operation: 62-3=59
Moving to Node #0,0
Current State: 52:[3, 4, 32], Operations: ['62-30=32']
Exploring Operation: 32-3=29, Resulting Numbers: [4, 29]
Generated Node #0,0,0: 52:[4, 29] Operation: 32-3=29
Exploring Operation: 32-4=28, Resulting Numbers: [3, 28]
Generated Node #0,0,1: 52:[3, 28] Operation: 32-4=28
Moving to Node #0,1
Current State: 52:[4, 30, 59], Operations: ['62-3=59']
Exploring Operation: 30-4=26, Resulting Numbers: [59, 26]
Generated Node #0,1,0: 52:[59, 26] Operation: 30-4=26
Exploring Operation: 59-30=29, Resulting Numbers: [4, 29]
Generated Node #0,1,1: 52:[4, 29] Operation: 59-30=29
Moving to Node #0,0,0
Current State: 52:[4, 29], Operations: ['62-30=32', '32-3=29']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[4, 29], Operations: ['62-3=59', '59-30=29']
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[3, 28], Operations: ['62-30=32', '32-4=28']
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,52 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[59, 26], Operations: ['62-3=59', '30-4=26']
Exploring Operation: 59+26=85, Resulting Numbers: [85]
85,52 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,52 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
8,
5,
60,
33
] | 95 | [
"60-8=52",
"52-33=19",
"5*19=95"
] | Current State: 95:[8, 5, 60, 33], Operations: []
Exploring Operation: 60-8=52, Resulting Numbers: [5, 33, 52]
Generated Node #2: [5, 33, 52] from Operation: 60-8=52
Current State: 95:[5, 33, 52], Operations: ['60-8=52']
Exploring Operation: 52-33=19, Resulting Numbers: [5, 19]
Generated Node #3: [5, 19] from Operation: 52-33=19
Current State: 95:[5, 19], Operations: ['60-8=52', '52-33=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[8, 5, 60, 33], Operations: []
Exploring Operation: 60+33=93, Resulting Numbers: [8, 5, 93]
Generated Node #0,0: 95:[8, 5, 93] Operation: 60+33=93
Exploring Operation: 60-33=27, Resulting Numbers: [8, 5, 27]
Generated Node #0,1: 95:[8, 5, 27] Operation: 60-33=27
Moving to Node #0,0
Current State: 95:[8, 5, 93], Operations: ['60+33=93']
Exploring Operation: 8+93=101, Resulting Numbers: [5, 101]
Generated Node #0,0,0: 95:[5, 101] Operation: 8+93=101
Exploring Operation: 8-5=3, Resulting Numbers: [93, 3]
Generated Node #0,0,1: 95:[93, 3] Operation: 8-5=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[93, 3], Operations: ['60+33=93', '8-5=3']
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[5, 101], Operations: ['60+33=93', '8+93=101']
Exploring Operation: 5+101=106, Resulting Numbers: [106]
106,95 unequal: No Solution
Exploring Operation: 101-5=96, Resulting Numbers: [96]
96,95 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: 95:[8, 5, 27], Operations: ['60-33=27']
Exploring Operation: 27-8=19, Resulting Numbers: [5, 19]
Generated Node #0,1,0: 95:[5, 19] Operation: 27-8=19
Exploring Operation: 27-5=22, Resulting Numbers: [8, 22]
Generated Node #0,1,1: 95:[8, 22] Operation: 27-5=22
Moving to Node #0,1,0
Current State: 95:[5, 19], Operations: ['60-33=27', '27-8=19']
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,95 unequal: No Solution
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[8, 5, 60, 33], Operations: []
Exploring Operation: 60-33=27, Resulting Numbers: [8, 5, 27]
Generated Node #0,1: 95:[8, 5, 27] Operation: 60-33=27
Moving to Node #0,1
Current State: 95:[8, 5, 27], Operations: ['60-33=27']
Exploring Operation: 27-8=19, Resulting Numbers: [5, 19]
Generated Node #0,1,0: 95:[5, 19] Operation: 27-8=19
Moving to Node #0,1,0
Current State: 95:[5, 19], Operations: ['60-33=27', '27-8=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
43,
99,
11,
77
] | 59 | [
"99+77=176",
"176/11=16",
"43+16=59"
] | Current State: 59:[43, 99, 11, 77], Operations: []
Exploring Operation: 99+77=176, Resulting Numbers: [43, 11, 176]
Generated Node #2: [43, 11, 176] from Operation: 99+77=176
Current State: 59:[43, 11, 176], Operations: ['99+77=176']
Exploring Operation: 176/11=16, Resulting Numbers: [43, 16]
Generated Node #3: [43, 16] from Operation: 176/11=16
Current State: 59:[43, 16], Operations: ['99+77=176', '176/11=16']
Exploring Operation: 43+16=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[43, 99, 11, 77], Operations: []
Exploring Operation: 77-11=66, Resulting Numbers: [43, 99, 66]
Generated Node #0,0: 59:[43, 99, 66] Operation: 77-11=66
Exploring Operation: 99-43=56, Resulting Numbers: [11, 77, 56]
Generated Node #0,1: 59:[11, 77, 56] Operation: 99-43=56
Exploring Operation: 99-11=88, Resulting Numbers: [43, 77, 88]
Generated Node #0,2: 59:[43, 77, 88] Operation: 99-11=88
Exploring Operation: 43+11=54, Resulting Numbers: [99, 77, 54]
Generated Node #0,3: 59:[99, 77, 54] Operation: 43+11=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[43, 99, 66], Operations: ['77-11=66']
Exploring Operation: 43+99=142, Resulting Numbers: [66, 142]
Generated Node #0,0,0: 59:[66, 142] Operation: 43+99=142
Exploring Operation: 99-43=56, Resulting Numbers: [66, 56]
Generated Node #0,0,1: 59:[66, 56] Operation: 99-43=56
Exploring Operation: 99-66=33, Resulting Numbers: [43, 33]
Generated Node #0,0,2: 59:[43, 33] Operation: 99-66=33
Exploring Operation: 66-43=23, Resulting Numbers: [99, 23]
Generated Node #0,0,3: 59:[99, 23] Operation: 66-43=23
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[66, 56], Operations: ['77-11=66', '99-43=56']
Exploring Operation: 66+56=122, Resulting Numbers: [122]
122,59 unequal: No Solution
Exploring Operation: 66*56=3696, Resulting Numbers: [3696]
3696,59 unequal: No Solution
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,59 unequal: No Solution
No 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: 59:[43, 33], Operations: ['77-11=66', '99-66=33']
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 43+33=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 43*33=1419, Resulting Numbers: [1419]
1419,59 unequal: No Solution
No 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: 59:[99, 23], Operations: ['77-11=66', '66-43=23']
Exploring Operation: 99-23=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 99+23=122, Resulting Numbers: [122]
122,59 unequal: No Solution
Exploring Operation: 99*23=2277, Resulting Numbers: [2277]
2277,59 unequal: No Solution
No 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: 59:[66, 142], Operations: ['77-11=66', '43+99=142']
Exploring Operation: 66+142=208, Resulting Numbers: [208]
208,59 unequal: No Solution
Exploring Operation: 142-66=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 66*142=9372, Resulting Numbers: [9372]
9372,59 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: 59:[43, 77, 88], Operations: ['99-11=88']
Exploring Operation: 77-43=34, Resulting Numbers: [88, 34]
Generated Node #0,2,0: 59:[88, 34] Operation: 77-43=34
Exploring Operation: 88-43=45, Resulting Numbers: [77, 45]
Generated Node #0,2,1: 59:[77, 45] Operation: 88-43=45
Exploring Operation: 88-77=11, Resulting Numbers: [43, 11]
Generated Node #0,2,2: 59:[43, 11] Operation: 88-77=11
Exploring Operation: 43+77=120, Resulting Numbers: [88, 120]
Generated Node #0,2,3: 59:[88, 120] Operation: 43+77=120
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 59:[77, 45], Operations: ['99-11=88', '88-43=45']
Exploring Operation: 77*45=3465, Resulting Numbers: [3465]
3465,59 unequal: No Solution
Exploring Operation: 77-45=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 77+45=122, Resulting Numbers: [122]
122,59 unequal: No Solution
No 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: 59:[88, 34], Operations: ['99-11=88', '77-43=34']
Exploring Operation: 88+34=122, Resulting Numbers: [122]
122,59 unequal: No Solution
Exploring Operation: 88*34=2992, Resulting Numbers: [2992]
2992,59 unequal: No Solution
Exploring Operation: 88-34=54, Resulting Numbers: [54]
54,59 unequal: No Solution
No 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: 59:[43, 11], Operations: ['99-11=88', '88-77=11']
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 43+11=54, Resulting Numbers: [54]
54,59 unequal: No Solution
Exploring Operation: 43*11=473, Resulting Numbers: [473]
473,59 unequal: No Solution
No 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: 59:[88, 120], Operations: ['99-11=88', '43+77=120']
Exploring Operation: 88*120=10560, Resulting Numbers: [10560]
10560,59 unequal: No Solution
Exploring Operation: 88+120=208, Resulting Numbers: [208]
208,59 unequal: No Solution
Exploring Operation: 120-88=32, Resulting Numbers: [32]
32,59 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: 59:[99, 77, 54], Operations: ['43+11=54']
Exploring Operation: 99-77=22, Resulting Numbers: [54, 22]
Generated Node #0,3,0: 59:[54, 22] Operation: 99-77=22
Exploring Operation: 99-54=45, Resulting Numbers: [77, 45]
Generated Node #0,3,1: 59:[77, 45] Operation: 99-54=45
Exploring Operation: 99+54=153, Resulting Numbers: [77, 153]
Generated Node #0,3,2: 59:[77, 153] Operation: 99+54=153
Exploring Operation: 77-54=23, Resulting Numbers: [99, 23]
Generated Node #0,3,3: 59:[99, 23] Operation: 77-54=23
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 59:[77, 45], Operations: ['43+11=54', '99-54=45']
Exploring Operation: 77-45=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 77+45=122, Resulting Numbers: [122]
122,59 unequal: No Solution
Exploring Operation: 77*45=3465, Resulting Numbers: [3465]
3465,59 unequal: No Solution
No 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: 59:[54, 22], Operations: ['43+11=54', '99-77=22']
Exploring Operation: 54+22=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 54*22=1188, Resulting Numbers: [1188]
1188,59 unequal: No Solution
No 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: 59:[99, 23], Operations: ['43+11=54', '77-54=23']
Exploring Operation: 99*23=2277, Resulting Numbers: [2277]
2277,59 unequal: No Solution
Exploring Operation: 99-23=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 99+23=122, Resulting Numbers: [122]
122,59 unequal: No Solution
No 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: 59:[77, 153], Operations: ['43+11=54', '99+54=153']
Exploring Operation: 153-77=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 77+153=230, Resulting Numbers: [230]
230,59 unequal: No Solution
Exploring Operation: 77*153=11781, Resulting Numbers: [11781]
11781,59 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: 59:[11, 77, 56], Operations: ['99-43=56']
Exploring Operation: 11+77=88, Resulting Numbers: [56, 88]
Generated Node #0,1,0: 59:[56, 88] Operation: 11+77=88
Exploring Operation: 56-11=45, Resulting Numbers: [77, 45]
Generated Node #0,1,1: 59:[77, 45] Operation: 56-11=45
Exploring Operation: 11+56=67, Resulting Numbers: [77, 67]
Generated Node #0,1,2: 59:[77, 67] Operation: 11+56=67
Exploring Operation: 77-11=66, Resulting Numbers: [56, 66]
Generated Node #0,1,3: 59:[56, 66] Operation: 77-11=66
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 59:[56, 66], Operations: ['99-43=56', '77-11=66']
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 56*66=3696, Resulting Numbers: [3696]
3696,59 unequal: No Solution
Exploring Operation: 56+66=122, Resulting Numbers: [122]
122,59 unequal: No Solution
No 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: 59:[77, 67], Operations: ['99-43=56', '11+56=67']
Exploring Operation: 77*67=5159, Resulting Numbers: [5159]
5159,59 unequal: No Solution
Exploring Operation: 77+67=144, Resulting Numbers: [144]
144,59 unequal: No Solution
Exploring Operation: 77-67=10, Resulting Numbers: [10]
10,59 unequal: No Solution
No 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: 59:[56, 88], Operations: ['99-43=56', '11+77=88']
Exploring Operation: 56+88=144, Resulting Numbers: [144]
144,59 unequal: No Solution
Exploring Operation: 56*88=4928, Resulting Numbers: [4928]
4928,59 unequal: No Solution
Exploring Operation: 88-56=32, Resulting Numbers: [32]
32,59 unequal: No Solution
No 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: 59:[77, 45], Operations: ['99-43=56', '56-11=45']
Exploring Operation: 77*45=3465, Resulting Numbers: [3465]
3465,59 unequal: No Solution
Exploring Operation: 77+45=122, Resulting Numbers: [122]
122,59 unequal: No Solution
Exploring Operation: 77-45=32, Resulting Numbers: [32]
32,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
24,
24,
96,
43
] | 49 | [
"24*24=576",
"576/96=6",
"43+6=49"
] | Current State: 49:[24, 24, 96, 43], Operations: []
Exploring Operation: 24*24=576, Resulting Numbers: [96, 43, 576]
Generated Node #2: [96, 43, 576] from Operation: 24*24=576
Current State: 49:[96, 43, 576], Operations: ['24*24=576']
Exploring Operation: 576/96=6, Resulting Numbers: [43, 6]
Generated Node #3: [43, 6] from Operation: 576/96=6
Current State: 49:[43, 6], Operations: ['24*24=576', '576/96=6']
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[24, 24, 96, 43], Operations: []
Exploring Operation: 96/24=4, Resulting Numbers: [24, 43, 4]
Generated Node #0,0: 49:[24, 43, 4] Operation: 96/24=4
Exploring Operation: 96-24=72, Resulting Numbers: [24, 43, 72]
Generated Node #0,1: 49:[24, 43, 72] Operation: 96-24=72
Exploring Operation: 96-43=53, Resulting Numbers: [24, 24, 53]
Generated Node #0,2: 49:[24, 24, 53] Operation: 96-43=53
Exploring Operation: 96/24=4, Resulting Numbers: [24, 43, 4]
Generated Node #0,3: 49:[24, 43, 4] Operation: 96/24=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[24, 43, 4], Operations: ['96/24=4']
Exploring Operation: 43+4=47, Resulting Numbers: [24, 47]
Generated Node #0,0,0: 49:[24, 47] Operation: 43+4=47
Exploring Operation: 24-4=20, Resulting Numbers: [43, 20]
Generated Node #0,0,1: 49:[43, 20] Operation: 24-4=20
Exploring Operation: 24/4=6, Resulting Numbers: [43, 6]
Generated Node #0,0,2: 49:[43, 6] Operation: 24/4=6
Exploring Operation: 43-24=19, Resulting Numbers: [4, 19]
Generated Node #0,0,3: 49:[4, 19] Operation: 43-24=19
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 49:[43, 6], Operations: ['96/24=4', '24/4=6']
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[24, 24, 96, 43], Operations: []
Exploring Operation: 96/24=4, Resulting Numbers: [24, 43, 4]
Generated Node #0,0: 49:[24, 43, 4] Operation: 96/24=4
Moving to Node #0,0
Current State: 49:[24, 43, 4], Operations: ['96/24=4']
Exploring Operation: 24/4=6, Resulting Numbers: [43, 6]
Generated Node #0,0,2: 49:[43, 6] Operation: 24/4=6
Moving to Node #0,0,2
Current State: 49:[43, 6], Operations: ['96/24=4', '24/4=6']
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
11,
15,
40,
39
] | 12 | [
"11+39=50",
"15*40=600",
"600/50=12"
] | Current State: 12:[11, 15, 40, 39], Operations: []
Exploring Operation: 11+39=50, Resulting Numbers: [15, 40, 50]
Generated Node #2: [15, 40, 50] from Operation: 11+39=50
Current State: 12:[15, 40, 50], Operations: ['11+39=50']
Exploring Operation: 15*40=600, Resulting Numbers: [50, 600]
Generated Node #3: [50, 600] from Operation: 15*40=600
Current State: 12:[50, 600], Operations: ['11+39=50', '15*40=600']
Exploring Operation: 600/50=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[11, 15, 40, 39], Operations: []
Exploring Operation: 40-11=29, Resulting Numbers: [15, 39, 29]
Generated Node #0,0: 12:[15, 39, 29] Operation: 40-11=29
Exploring Operation: 40-15=25, Resulting Numbers: [11, 39, 25]
Generated Node #0,1: 12:[11, 39, 25] Operation: 40-15=25
Exploring Operation: 39-11=28, Resulting Numbers: [15, 40, 28]
Generated Node #0,2: 12:[15, 40, 28] Operation: 39-11=28
Exploring Operation: 39-15=24, Resulting Numbers: [11, 40, 24]
Generated Node #0,3: 12:[11, 40, 24] Operation: 39-15=24
Exploring Operation: 40-39=1, Resulting Numbers: [11, 15, 1]
Generated Node #0,4: 12:[11, 15, 1] Operation: 40-39=1
Moving to Node #0,4
Current State: 12:[11, 15, 1], Operations: ['40-39=1']
Exploring Operation: 15-11=4, Resulting Numbers: [1, 4]
Generated Node #0,4,0: 12:[1, 4] Operation: 15-11=4
Exploring Operation: 11+1=12, Resulting Numbers: [15, 12]
Generated Node #0,4,1: 12:[15, 12] Operation: 11+1=12
Exploring Operation: 15-1=14, Resulting Numbers: [11, 14]
Generated Node #0,4,2: 12:[11, 14] Operation: 15-1=14
Exploring Operation: 11*1=11, Resulting Numbers: [15, 11]
Generated Node #0,4,3: 12:[15, 11] Operation: 11*1=11
Exploring Operation: 11/1=11, Resulting Numbers: [15, 11]
Generated Node #0,4,4: 12:[15, 11] Operation: 11/1=11
Moving to Node #0,3
Current State: 12:[11, 40, 24], Operations: ['39-15=24']
Exploring Operation: 40-24=16, Resulting Numbers: [11, 16]
Generated Node #0,3,0: 12:[11, 16] Operation: 40-24=16
Exploring Operation: 11+40=51, Resulting Numbers: [24, 51]
Generated Node #0,3,1: 12:[24, 51] Operation: 11+40=51
Exploring Operation: 11+24=35, Resulting Numbers: [40, 35]
Generated Node #0,3,2: 12:[40, 35] Operation: 11+24=35
Exploring Operation: 40-11=29, Resulting Numbers: [24, 29]
Generated Node #0,3,3: 12:[24, 29] Operation: 40-11=29
Exploring Operation: 24-11=13, Resulting Numbers: [40, 13]
Generated Node #0,3,4: 12:[40, 13] Operation: 24-11=13
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 12:[11, 16], Operations: ['39-15=24', '40-24=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,12 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,12 unequal: No Solution
No 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: 12:[24, 29], Operations: ['39-15=24', '40-11=29']
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,12 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 24*29=696, Resulting Numbers: [696]
696,12 unequal: No Solution
No 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: 12:[40, 13], Operations: ['39-15=24', '24-11=13']
Exploring Operation: 40*13=520, Resulting Numbers: [520]
520,12 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,12 unequal: No Solution
No 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: 12:[24, 51], Operations: ['39-15=24', '11+40=51']
Exploring Operation: 24*51=1224, Resulting Numbers: [1224]
1224,12 unequal: No Solution
Exploring Operation: 51-24=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 24+51=75, Resulting Numbers: [75]
75,12 unequal: No Solution
No 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: 12:[40, 35], Operations: ['39-15=24', '11+24=35']
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 40*35=1400, Resulting Numbers: [1400]
1400,12 unequal: No Solution
Exploring Operation: 40+35=75, Resulting Numbers: [75]
75,12 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: 12:[11, 39, 25], Operations: ['40-15=25']
Exploring Operation: 25-11=14, Resulting Numbers: [39, 14]
Generated Node #0,1,0: 12:[39, 14] Operation: 25-11=14
Exploring Operation: 11+25=36, Resulting Numbers: [39, 36]
Generated Node #0,1,1: 12:[39, 36] Operation: 11+25=36
Exploring Operation: 39-25=14, Resulting Numbers: [11, 14]
Generated Node #0,1,2: 12:[11, 14] Operation: 39-25=14
Exploring Operation: 11+39=50, Resulting Numbers: [25, 50]
Generated Node #0,1,3: 12:[25, 50] Operation: 11+39=50
Exploring Operation: 39-11=28, Resulting Numbers: [25, 28]
Generated Node #0,1,4: 12:[25, 28] Operation: 39-11=28
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[11, 14], Operations: ['40-15=25', '39-25=14']
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,12 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,12 unequal: No Solution
No 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: 12:[39, 14], Operations: ['40-15=25', '25-11=14']
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,12 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,12 unequal: No Solution
No 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: 12:[25, 28], Operations: ['40-15=25', '39-11=28']
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 25*28=700, Resulting Numbers: [700]
700,12 unequal: No Solution
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,12 unequal: No Solution
No 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: 12:[39, 36], Operations: ['40-15=25', '11+25=36']
Exploring Operation: 39+36=75, Resulting Numbers: [75]
75,12 unequal: No Solution
Exploring Operation: 39*36=1404, Resulting Numbers: [1404]
1404,12 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,12 unequal: No Solution
No 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: 12:[25, 50], Operations: ['40-15=25', '11+39=50']
Exploring Operation: 25+50=75, Resulting Numbers: [75]
75,12 unequal: No Solution
Exploring Operation: 25*50=1250, Resulting Numbers: [1250]
1250,12 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,12 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: 12:[15, 39, 29], Operations: ['40-11=29']
Exploring Operation: 29-15=14, Resulting Numbers: [39, 14]
Generated Node #0,0,0: 12:[39, 14] Operation: 29-15=14
Exploring Operation: 15+29=44, Resulting Numbers: [39, 44]
Generated Node #0,0,1: 12:[39, 44] Operation: 15+29=44
Exploring Operation: 39-15=24, Resulting Numbers: [29, 24]
Generated Node #0,0,2: 12:[29, 24] Operation: 39-15=24
Exploring Operation: 39-29=10, Resulting Numbers: [15, 10]
Generated Node #0,0,3: 12:[15, 10] Operation: 39-29=10
Exploring Operation: 15+39=54, Resulting Numbers: [29, 54]
Generated Node #0,0,4: 12:[29, 54] Operation: 15+39=54
Moving to Node #0,2
Current State: 12:[15, 40, 28], Operations: ['39-11=28']
Exploring Operation: 40-28=12, Resulting Numbers: [15, 12]
Generated Node #0,2,0: 12:[15, 12] Operation: 40-28=12
Exploring Operation: 15+40=55, Resulting Numbers: [28, 55]
Generated Node #0,2,1: 12:[28, 55] Operation: 15+40=55
Exploring Operation: 15+28=43, Resulting Numbers: [40, 43]
Generated Node #0,2,2: 12:[40, 43] Operation: 15+28=43
Exploring Operation: 40-15=25, Resulting Numbers: [28, 25]
Generated Node #0,2,3: 12:[28, 25] Operation: 40-15=25
Exploring Operation: 28-15=13, Resulting Numbers: [40, 13]
Generated Node #0,2,4: 12:[40, 13] Operation: 28-15=13
Moving to Node #0,4,0
Current State: 12:[1, 4], Operations: ['40-39=1', '15-11=4']
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Moving to Node #0,4,2
Current State: 12:[11, 14], Operations: ['40-39=1', '15-1=14']
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,12 unequal: No Solution
Moving to Node #0,4,1
Current State: 12:[15, 12], Operations: ['40-39=1', '11+1=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,12 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[15, 12], Operations: ['39-11=28', '40-28=12']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,12 unequal: No Solution
Moving to Node #0,4,4
Current State: 12:[15, 11], Operations: ['40-39=1', '11/1=11']
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,12 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Moving to Node #0,4,3
Current State: 12:[15, 11], Operations: ['40-39=1', '11*1=11']
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,12 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Moving to Node #0,0,3
Current State: 12:[15, 10], Operations: ['40-11=29', '39-29=10']
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,12 unequal: No Solution
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[39, 14], Operations: ['40-11=29', '29-15=14']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,12 unequal: No Solution
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,12 unequal: No Solution
Moving to Node #0,2,4
Current State: 12:[40, 13], Operations: ['39-11=28', '28-15=13']
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,12 unequal: No Solution
Exploring Operation: 40*13=520, Resulting Numbers: [520]
520,12 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[29, 24], Operations: ['40-11=29', '39-15=24']
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,12 unequal: No Solution
Exploring Operation: 29*24=696, Resulting Numbers: [696]
696,12 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Moving to Node #0,2,3
Current State: 12:[28, 25], Operations: ['39-11=28', '40-15=25']
Exploring Operation: 28+25=53, Resulting Numbers: [53]
53,12 unequal: No Solution
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 28*25=700, Resulting Numbers: [700]
700,12 unequal: No Solution
Moving to Node #0,0,4
Current State: 12:[29, 54], Operations: ['40-11=29', '15+39=54']
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 29*54=1566, Resulting Numbers: [1566]
1566,12 unequal: No Solution
Exploring Operation: 29+54=83, Resulting Numbers: [83]
83,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[39, 44], Operations: ['40-11=29', '15+29=44']
Exploring Operation: 39*44=1716, Resulting Numbers: [1716]
1716,12 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 39+44=83, Resulting Numbers: [83]
83,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[28, 55], Operations: ['39-11=28', '15+40=55']
Exploring Operation: 28+55=83, Resulting Numbers: [83]
83,12 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 28*55=1540, Resulting Numbers: [1540]
1540,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[40, 43], Operations: ['39-11=28', '15+28=43']
Exploring Operation: 40+43=83, Resulting Numbers: [83]
83,12 unequal: No Solution
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 40*43=1720, Resulting Numbers: [1720]
1720,12 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
15,
34,
66,
32
] | 16 | [
"66-34=32",
"32/32=1",
"15+1=16"
] | Current State: 16:[15, 34, 66, 32], Operations: []
Exploring Operation: 66-34=32, Resulting Numbers: [15, 32, 32]
Generated Node #2: [15, 32, 32] from Operation: 66-34=32
Current State: 16:[15, 32, 32], Operations: ['66-34=32']
Exploring Operation: 32/32=1, Resulting Numbers: [15, 1]
Generated Node #3: [15, 1] from Operation: 32/32=1
Current State: 16:[15, 1], Operations: ['66-34=32', '32/32=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[15, 34, 66, 32], Operations: []
Exploring Operation: 66-32=34, Resulting Numbers: [15, 34, 34]
Generated Node #0,0: 16:[15, 34, 34] Operation: 66-32=34
Exploring Operation: 66-34=32, Resulting Numbers: [15, 32, 32]
Generated Node #0,1: 16:[15, 32, 32] Operation: 66-34=32
Moving to Node #0,1
Current State: 16:[15, 32, 32], Operations: ['66-34=32']
Exploring Operation: 32-32=0, Resulting Numbers: [15, 0]
Generated Node #0,1,0: 16:[15, 0] Operation: 32-32=0
Exploring Operation: 32/32=1, Resulting Numbers: [15, 1]
Generated Node #0,1,1: 16:[15, 1] Operation: 32/32=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[15, 1], Operations: ['66-34=32', '32/32=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[15, 34, 66, 32], Operations: []
Exploring Operation: 66-34=32, Resulting Numbers: [15, 32, 32]
Generated Node #0,1: 16:[15, 32, 32] Operation: 66-34=32
Moving to Node #0,1
Current State: 16:[15, 32, 32], Operations: ['66-34=32']
Exploring Operation: 32/32=1, Resulting Numbers: [15, 1]
Generated Node #0,1,1: 16:[15, 1] Operation: 32/32=1
Moving to Node #0,1,1
Current State: 16:[15, 1], Operations: ['66-34=32', '32/32=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
48,
45,
65,
36
] | 64 | [
"48+45=93",
"65-36=29",
"93-29=64"
] | Current State: 64:[48, 45, 65, 36], Operations: []
Exploring Operation: 48+45=93, Resulting Numbers: [65, 36, 93]
Generated Node #2: [65, 36, 93] from Operation: 48+45=93
Current State: 64:[65, 36, 93], Operations: ['48+45=93']
Exploring Operation: 65-36=29, Resulting Numbers: [93, 29]
Generated Node #3: [93, 29] from Operation: 65-36=29
Current State: 64:[93, 29], Operations: ['48+45=93', '65-36=29']
Exploring Operation: 93-29=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[48, 45, 65, 36], Operations: []
Exploring Operation: 48-45=3, Resulting Numbers: [65, 36, 3]
Generated Node #0,0: 64:[65, 36, 3] Operation: 48-45=3
Exploring Operation: 65-48=17, Resulting Numbers: [45, 36, 17]
Generated Node #0,1: 64:[45, 36, 17] Operation: 65-48=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[65, 36, 3], Operations: ['48-45=3']
Exploring Operation: 36-3=33, Resulting Numbers: [65, 33]
Generated Node #0,0,0: 64:[65, 33] Operation: 36-3=33
Exploring Operation: 65-36=29, Resulting Numbers: [3, 29]
Generated Node #0,0,1: 64:[3, 29] Operation: 65-36=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[65, 33], Operations: ['48-45=3', '36-3=33']
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 65+33=98, Resulting Numbers: [98]
98,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[3, 29], Operations: ['48-45=3', '65-36=29']
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[45, 36, 17], Operations: ['65-48=17']
Exploring Operation: 45+17=62, Resulting Numbers: [36, 62]
Generated Node #0,1,0: 64:[36, 62] Operation: 45+17=62
Exploring Operation: 45-36=9, Resulting Numbers: [17, 9]
Generated Node #0,1,1: 64:[17, 9] Operation: 45-36=9
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 64:[17, 9], Operations: ['65-48=17', '45-36=9']
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 64:[36, 62], Operations: ['65-48=17', '45+17=62']
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
43,
67,
27,
36
] | 12 | [
"67-43=24",
"27-24=3",
"36/3=12"
] | Current State: 12:[43, 67, 27, 36], Operations: []
Exploring Operation: 67-43=24, Resulting Numbers: [27, 36, 24]
Generated Node #2: [27, 36, 24] from Operation: 67-43=24
Current State: 12:[27, 36, 24], Operations: ['67-43=24']
Exploring Operation: 27-24=3, Resulting Numbers: [36, 3]
Generated Node #3: [36, 3] from Operation: 27-24=3
Current State: 12:[36, 3], Operations: ['67-43=24', '27-24=3']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[43, 67, 27, 36], Operations: []
Exploring Operation: 67-43=24, Resulting Numbers: [27, 36, 24]
Generated Node #0,0: 12:[27, 36, 24] Operation: 67-43=24
Exploring Operation: 67-36=31, Resulting Numbers: [43, 27, 31]
Generated Node #0,1: 12:[43, 27, 31] Operation: 67-36=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[27, 36, 24], Operations: ['67-43=24']
Exploring Operation: 36-24=12, Resulting Numbers: [27, 12]
Generated Node #0,0,0: 12:[27, 12] Operation: 36-24=12
Exploring Operation: 36-27=9, Resulting Numbers: [24, 9]
Generated Node #0,0,1: 12:[24, 9] Operation: 36-27=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[27, 12], Operations: ['67-43=24', '36-24=12']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,12 unequal: No Solution
No 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: 12:[24, 9], Operations: ['67-43=24', '36-27=9']
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,12 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: 12:[43, 27, 31], Operations: ['67-36=31']
Exploring Operation: 43-27=16, Resulting Numbers: [31, 16]
Generated Node #0,1,0: 12:[31, 16] Operation: 43-27=16
Exploring Operation: 43-31=12, Resulting Numbers: [27, 12]
Generated Node #0,1,1: 12:[27, 12] Operation: 43-31=12
Moving to Node #0,1,1
Current State: 12:[27, 12], Operations: ['67-36=31', '43-31=12']
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,12 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[31, 16], Operations: ['67-36=31', '43-27=16']
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,12 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,12 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 |
[
30,
31,
4,
51
] | 17 | [
"31-30=1",
"4-1=3",
"51/3=17"
] | Current State: 17:[30, 31, 4, 51], Operations: []
Exploring Operation: 31-30=1, Resulting Numbers: [4, 51, 1]
Generated Node #2: [4, 51, 1] from Operation: 31-30=1
Current State: 17:[4, 51, 1], Operations: ['31-30=1']
Exploring Operation: 4-1=3, Resulting Numbers: [51, 3]
Generated Node #3: [51, 3] from Operation: 4-1=3
Current State: 17:[51, 3], Operations: ['31-30=1', '4-1=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[30, 31, 4, 51], Operations: []
Exploring Operation: 51-31=20, Resulting Numbers: [30, 4, 20]
Generated Node #0,0: 17:[30, 4, 20] Operation: 51-31=20
Exploring Operation: 31-4=27, Resulting Numbers: [30, 51, 27]
Generated Node #0,1: 17:[30, 51, 27] Operation: 31-4=27
Exploring Operation: 30-4=26, Resulting Numbers: [31, 51, 26]
Generated Node #0,2: 17:[31, 51, 26] Operation: 30-4=26
Exploring Operation: 51-30=21, Resulting Numbers: [31, 4, 21]
Generated Node #0,3: 17:[31, 4, 21] Operation: 51-30=21
Moving to Node #0,0
Current State: 17:[30, 4, 20], Operations: ['51-31=20']
Exploring Operation: 30-20=10, Resulting Numbers: [4, 10]
Generated Node #0,0,0: 17:[4, 10] Operation: 30-20=10
Exploring Operation: 30-4=26, Resulting Numbers: [20, 26]
Generated Node #0,0,1: 17:[20, 26] Operation: 30-4=26
Exploring Operation: 20-4=16, Resulting Numbers: [30, 16]
Generated Node #0,0,2: 17:[30, 16] Operation: 20-4=16
Exploring Operation: 30+4=34, Resulting Numbers: [20, 34]
Generated Node #0,0,3: 17:[20, 34] Operation: 30+4=34
Moving to Node #0,3
Current State: 17:[31, 4, 21], Operations: ['51-30=21']
Exploring Operation: 31-4=27, Resulting Numbers: [21, 27]
Generated Node #0,3,0: 17:[21, 27] Operation: 31-4=27
Exploring Operation: 31-21=10, Resulting Numbers: [4, 10]
Generated Node #0,3,1: 17:[4, 10] Operation: 31-21=10
Exploring Operation: 21-4=17, Resulting Numbers: [31, 17]
Generated Node #0,3,2: 17:[31, 17] Operation: 21-4=17
Exploring Operation: 31+4=35, Resulting Numbers: [21, 35]
Generated Node #0,3,3: 17:[21, 35] Operation: 31+4=35
Moving to Node #0,2
Current State: 17:[31, 51, 26], Operations: ['30-4=26']
Exploring Operation: 51-31=20, Resulting Numbers: [26, 20]
Generated Node #0,2,0: 17:[26, 20] Operation: 51-31=20
Exploring Operation: 31-26=5, Resulting Numbers: [51, 5]
Generated Node #0,2,1: 17:[51, 5] Operation: 31-26=5
Exploring Operation: 51-26=25, Resulting Numbers: [31, 25]
Generated Node #0,2,2: 17:[31, 25] Operation: 51-26=25
Exploring Operation: 31+51=82, Resulting Numbers: [26, 82]
Generated Node #0,2,3: 17:[26, 82] Operation: 31+51=82
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 17:[26, 20], Operations: ['30-4=26', '51-31=20']
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,17 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 17:[31, 25], Operations: ['30-4=26', '51-26=25']
Exploring Operation: 31*25=775, Resulting Numbers: [775]
775,17 unequal: No Solution
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 31+25=56, Resulting Numbers: [56]
56,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[51, 5], Operations: ['30-4=26', '31-26=5']
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,17 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,17 unequal: No Solution
Exploring Operation: 51*5=255, Resulting Numbers: [255]
255,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 17:[26, 82], Operations: ['30-4=26', '31+51=82']
Exploring Operation: 26+82=108, Resulting Numbers: [108]
108,17 unequal: No Solution
Exploring Operation: 82-26=56, Resulting Numbers: [56]
56,17 unequal: No Solution
Exploring Operation: 26*82=2132, Resulting Numbers: [2132]
2132,17 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: 17:[30, 51, 27], Operations: ['31-4=27']
Exploring Operation: 51-27=24, Resulting Numbers: [30, 24]
Generated Node #0,1,0: 17:[30, 24] Operation: 51-27=24
Exploring Operation: 30-27=3, Resulting Numbers: [51, 3]
Generated Node #0,1,1: 17:[51, 3] Operation: 30-27=3
Exploring Operation: 51-30=21, Resulting Numbers: [27, 21]
Generated Node #0,1,2: 17:[27, 21] Operation: 51-30=21
Exploring Operation: 30+51=81, Resulting Numbers: [27, 81]
Generated Node #0,1,3: 17:[27, 81] Operation: 30+51=81
Moving to Node #0,0,1
Current State: 17:[20, 26], Operations: ['51-31=20', '30-4=26']
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,17 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,17 unequal: No Solution
Moving to Node #0,3,2
Current State: 17:[31, 17], Operations: ['51-30=21', '21-4=17']
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 31*17=527, Resulting Numbers: [527]
527,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[30, 16], Operations: ['51-31=20', '20-4=16']
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,17 unequal: No Solution
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,17 unequal: No Solution
Moving to Node #0,3,0
Current State: 17:[21, 27], Operations: ['51-30=21', '31-4=27']
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 21+27=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 21*27=567, Resulting Numbers: [567]
567,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[27, 21], Operations: ['31-4=27', '51-30=21']
Exploring Operation: 27+21=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 27*21=567, Resulting Numbers: [567]
567,17 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Moving to Node #0,3,1
Current State: 17:[4, 10], Operations: ['51-30=21', '31-21=10']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[4, 10], Operations: ['51-31=20', '30-20=10']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[30, 24], Operations: ['31-4=27', '51-27=24']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,17 unequal: No Solution
Moving to Node #0,0,3
Current State: 17:[20, 34], Operations: ['51-31=20', '30+4=34']
Exploring Operation: 20*34=680, Resulting Numbers: [680]
680,17 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 20+34=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Moving to Node #0,3,3
Current State: 17:[21, 35], Operations: ['51-30=21', '31+4=35']
Exploring Operation: 21+35=56, Resulting Numbers: [56]
56,17 unequal: No Solution
Exploring Operation: 21*35=735, Resulting Numbers: [735]
735,17 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[51, 3], Operations: ['31-4=27', '30-27=3']
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 51*3=153, Resulting Numbers: [153]
153,17 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[30, 31, 4, 51], Operations: []
Exploring Operation: 31-4=27, Resulting Numbers: [30, 51, 27]
Generated Node #0,1: 17:[30, 51, 27] Operation: 31-4=27
Moving to Node #0,1
Current State: 17:[30, 51, 27], Operations: ['31-4=27']
Exploring Operation: 30-27=3, Resulting Numbers: [51, 3]
Generated Node #0,1,1: 17:[51, 3] Operation: 30-27=3
Moving to Node #0,1,1
Current State: 17:[51, 3], Operations: ['31-4=27', '30-27=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 0.940104 | hs_4 | mult_heuristic |
[
76,
40,
84,
64
] | 47 | [
"76-64=12",
"84/12=7",
"40+7=47"
] | Current State: 47:[76, 40, 84, 64], Operations: []
Exploring Operation: 76-64=12, Resulting Numbers: [40, 84, 12]
Generated Node #2: [40, 84, 12] from Operation: 76-64=12
Current State: 47:[40, 84, 12], Operations: ['76-64=12']
Exploring Operation: 84/12=7, Resulting Numbers: [40, 7]
Generated Node #3: [40, 7] from Operation: 84/12=7
Current State: 47:[40, 7], Operations: ['76-64=12', '84/12=7']
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[76, 40, 84, 64], Operations: []
Exploring Operation: 84-76=8, Resulting Numbers: [40, 64, 8]
Generated Node #0,0: 47:[40, 64, 8] Operation: 84-76=8
Exploring Operation: 76-40=36, Resulting Numbers: [84, 64, 36]
Generated Node #0,1: 47:[84, 64, 36] Operation: 76-40=36
Exploring Operation: 84-40=44, Resulting Numbers: [76, 64, 44]
Generated Node #0,2: 47:[76, 64, 44] Operation: 84-40=44
Exploring Operation: 84-64=20, Resulting Numbers: [76, 40, 20]
Generated Node #0,3: 47:[76, 40, 20] Operation: 84-64=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[76, 64, 44], Operations: ['84-40=44']
Exploring Operation: 76-64=12, Resulting Numbers: [44, 12]
Generated Node #0,2,0: 47:[44, 12] Operation: 76-64=12
Exploring Operation: 76+44=120, Resulting Numbers: [64, 120]
Generated Node #0,2,1: 47:[64, 120] Operation: 76+44=120
Exploring Operation: 64-44=20, Resulting Numbers: [76, 20]
Generated Node #0,2,2: 47:[76, 20] Operation: 64-44=20
Exploring Operation: 76-44=32, Resulting Numbers: [64, 32]
Generated Node #0,2,3: 47:[64, 32] Operation: 76-44=32
Moving to Node #0,2,3
Current State: 47:[64, 32], Operations: ['84-40=44', '76-44=32']
Exploring Operation: 64+32=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 64/32=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 64*32=2048, Resulting Numbers: [2048]
2048,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[44, 12], Operations: ['84-40=44', '76-64=12']
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 44+12=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 44*12=528, Resulting Numbers: [528]
528,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[76, 20], Operations: ['84-40=44', '64-44=20']
Exploring Operation: 76-20=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 76*20=1520, Resulting Numbers: [1520]
1520,47 unequal: No Solution
Exploring Operation: 76+20=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[64, 120], Operations: ['84-40=44', '76+44=120']
Exploring Operation: 120-64=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 64*120=7680, Resulting Numbers: [7680]
7680,47 unequal: No Solution
Exploring Operation: 64+120=184, Resulting Numbers: [184]
184,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[40, 64, 8], Operations: ['84-76=8']
Exploring Operation: 40-8=32, Resulting Numbers: [64, 32]
Generated Node #0,0,0: 47:[64, 32] Operation: 40-8=32
Exploring Operation: 64+8=72, Resulting Numbers: [40, 72]
Generated Node #0,0,1: 47:[40, 72] Operation: 64+8=72
Exploring Operation: 64-8=56, Resulting Numbers: [40, 56]
Generated Node #0,0,2: 47:[40, 56] Operation: 64-8=56
Exploring Operation: 40+8=48, Resulting Numbers: [64, 48]
Generated Node #0,0,3: 47:[64, 48] Operation: 40+8=48
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[40, 56], Operations: ['84-76=8', '64-8=56']
Exploring Operation: 40*56=2240, Resulting Numbers: [2240]
2240,47 unequal: No Solution
Exploring Operation: 40+56=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 47:[64, 48], Operations: ['84-76=8', '40+8=48']
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 64*48=3072, Resulting Numbers: [3072]
3072,47 unequal: No Solution
Exploring Operation: 64+48=112, Resulting Numbers: [112]
112,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[64, 32], Operations: ['84-76=8', '40-8=32']
Exploring Operation: 64/32=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 64+32=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 64*32=2048, Resulting Numbers: [2048]
2048,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[40, 72], Operations: ['84-76=8', '64+8=72']
Exploring Operation: 40+72=112, Resulting Numbers: [112]
112,47 unequal: No Solution
Exploring Operation: 72-40=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 40*72=2880, Resulting Numbers: [2880]
2880,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[76, 40, 20], Operations: ['84-64=20']
Exploring Operation: 76-20=56, Resulting Numbers: [40, 56]
Generated Node #0,3,0: 47:[40, 56] Operation: 76-20=56
Exploring Operation: 76-40=36, Resulting Numbers: [20, 36]
Generated Node #0,3,1: 47:[20, 36] Operation: 76-40=36
Exploring Operation: 40+20=60, Resulting Numbers: [76, 60]
Generated Node #0,3,2: 47:[76, 60] Operation: 40+20=60
Exploring Operation: 76+20=96, Resulting Numbers: [40, 96]
Generated Node #0,3,3: 47:[40, 96] Operation: 76+20=96
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 47:[40, 56], Operations: ['84-64=20', '76-20=56']
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 40+56=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 40*56=2240, Resulting Numbers: [2240]
2240,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 47:[20, 36], Operations: ['84-64=20', '76-40=36']
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 20*36=720, Resulting Numbers: [720]
720,47 unequal: No Solution
Exploring Operation: 20+36=56, Resulting Numbers: [56]
56,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 47:[76, 60], Operations: ['84-64=20', '40+20=60']
Exploring Operation: 76*60=4560, Resulting Numbers: [4560]
4560,47 unequal: No Solution
Exploring Operation: 76+60=136, Resulting Numbers: [136]
136,47 unequal: No Solution
Exploring Operation: 76-60=16, Resulting Numbers: [16]
16,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 47:[40, 96], Operations: ['84-64=20', '76+20=96']
Exploring Operation: 40+96=136, Resulting Numbers: [136]
136,47 unequal: No Solution
Exploring Operation: 40*96=3840, Resulting Numbers: [3840]
3840,47 unequal: No Solution
Exploring Operation: 96-40=56, Resulting Numbers: [56]
56,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[84, 64, 36], Operations: ['76-40=36']
Exploring Operation: 84-64=20, Resulting Numbers: [36, 20]
Generated Node #0,1,0: 47:[36, 20] Operation: 84-64=20
Exploring Operation: 84-36=48, Resulting Numbers: [64, 48]
Generated Node #0,1,1: 47:[64, 48] Operation: 84-36=48
Exploring Operation: 84+36=120, Resulting Numbers: [64, 120]
Generated Node #0,1,2: 47:[64, 120] Operation: 84+36=120
Exploring Operation: 64-36=28, Resulting Numbers: [84, 28]
Generated Node #0,1,3: 47:[84, 28] Operation: 64-36=28
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[64, 48], Operations: ['76-40=36', '84-36=48']
Exploring Operation: 64*48=3072, Resulting Numbers: [3072]
3072,47 unequal: No Solution
Exploring Operation: 64+48=112, Resulting Numbers: [112]
112,47 unequal: No Solution
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[36, 20], Operations: ['76-40=36', '84-64=20']
Exploring Operation: 36*20=720, Resulting Numbers: [720]
720,47 unequal: No Solution
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 47:[84, 28], Operations: ['76-40=36', '64-36=28']
Exploring Operation: 84+28=112, Resulting Numbers: [112]
112,47 unequal: No Solution
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 84/28=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 84*28=2352, Resulting Numbers: [2352]
2352,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[64, 120], Operations: ['76-40=36', '84+36=120']
Exploring Operation: 120-64=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 64*120=7680, Resulting Numbers: [7680]
7680,47 unequal: No Solution
Exploring Operation: 64+120=184, Resulting Numbers: [184]
184,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
72,
89,
88,
90
] | 19 | [
"89-72=17",
"90-88=2",
"17+2=19"
] | Current State: 19:[72, 89, 88, 90], Operations: []
Exploring Operation: 89-72=17, Resulting Numbers: [88, 90, 17]
Generated Node #2: [88, 90, 17] from Operation: 89-72=17
Current State: 19:[88, 90, 17], Operations: ['89-72=17']
Exploring Operation: 90-88=2, Resulting Numbers: [17, 2]
Generated Node #3: [17, 2] from Operation: 90-88=2
Current State: 19:[17, 2], Operations: ['89-72=17', '90-88=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[72, 89, 88, 90], Operations: []
Exploring Operation: 89-72=17, Resulting Numbers: [88, 90, 17]
Generated Node #0,0: 19:[88, 90, 17] Operation: 89-72=17
Exploring Operation: 90-72=18, Resulting Numbers: [89, 88, 18]
Generated Node #0,1: 19:[89, 88, 18] Operation: 90-72=18
Exploring Operation: 90-89=1, Resulting Numbers: [72, 88, 1]
Generated Node #0,2: 19:[72, 88, 1] Operation: 90-89=1
Exploring Operation: 90-88=2, Resulting Numbers: [72, 89, 2]
Generated Node #0,3: 19:[72, 89, 2] Operation: 90-88=2
Moving to Node #0,1
Current State: 19:[89, 88, 18], Operations: ['90-72=18']
Exploring Operation: 89+18=107, Resulting Numbers: [88, 107]
Generated Node #0,1,0: 19:[88, 107] Operation: 89+18=107
Exploring Operation: 88-18=70, Resulting Numbers: [89, 70]
Generated Node #0,1,1: 19:[89, 70] Operation: 88-18=70
Exploring Operation: 89-18=71, Resulting Numbers: [88, 71]
Generated Node #0,1,2: 19:[88, 71] Operation: 89-18=71
Exploring Operation: 89-88=1, Resulting Numbers: [18, 1]
Generated Node #0,1,3: 19:[18, 1] Operation: 89-88=1
Moving to Node #0,3
Current State: 19:[72, 89, 2], Operations: ['90-88=2']
Exploring Operation: 89-2=87, Resulting Numbers: [72, 87]
Generated Node #0,3,0: 19:[72, 87] Operation: 89-2=87
Exploring Operation: 72-2=70, Resulting Numbers: [89, 70]
Generated Node #0,3,1: 19:[89, 70] Operation: 72-2=70
Exploring Operation: 72/2=36, Resulting Numbers: [89, 36]
Generated Node #0,3,2: 19:[89, 36] Operation: 72/2=36
Exploring Operation: 89-72=17, Resulting Numbers: [2, 17]
Generated Node #0,3,3: 19:[2, 17] Operation: 89-72=17
Moving to Node #0,2
Current State: 19:[72, 88, 1], Operations: ['90-89=1']
Exploring Operation: 88-1=87, Resulting Numbers: [72, 87]
Generated Node #0,2,0: 19:[72, 87] Operation: 88-1=87
Exploring Operation: 72*1=72, Resulting Numbers: [88, 72]
Generated Node #0,2,1: 19:[88, 72] Operation: 72*1=72
Exploring Operation: 88-72=16, Resulting Numbers: [1, 16]
Generated Node #0,2,2: 19:[1, 16] Operation: 88-72=16
Exploring Operation: 72-1=71, Resulting Numbers: [88, 71]
Generated Node #0,2,3: 19:[88, 71] Operation: 72-1=71
Moving to Node #0,0
Current State: 19:[88, 90, 17], Operations: ['89-72=17']
Exploring Operation: 90-17=73, Resulting Numbers: [88, 73]
Generated Node #0,0,0: 19:[88, 73] Operation: 90-17=73
Exploring Operation: 90-88=2, Resulting Numbers: [17, 2]
Generated Node #0,0,1: 19:[17, 2] Operation: 90-88=2
Exploring Operation: 88-17=71, Resulting Numbers: [90, 71]
Generated Node #0,0,2: 19:[90, 71] Operation: 88-17=71
Exploring Operation: 88+17=105, Resulting Numbers: [90, 105]
Generated Node #0,0,3: 19:[90, 105] Operation: 88+17=105
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[17, 2], Operations: ['89-72=17', '90-88=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[72, 89, 88, 90], Operations: []
Exploring Operation: 89-72=17, Resulting Numbers: [88, 90, 17]
Generated Node #0,0: 19:[88, 90, 17] Operation: 89-72=17
Moving to Node #0,0
Current State: 19:[88, 90, 17], Operations: ['89-72=17']
Exploring Operation: 90-88=2, Resulting Numbers: [17, 2]
Generated Node #0,0,1: 19:[17, 2] Operation: 90-88=2
Moving to Node #0,0,1
Current State: 19:[17, 2], Operations: ['89-72=17', '90-88=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_4 | mult_heuristic |
[
85,
16,
33,
7
] | 92 | [
"16+33=49",
"49/7=7",
"85+7=92"
] | Current State: 92:[85, 16, 33, 7], Operations: []
Exploring Operation: 16+33=49, Resulting Numbers: [85, 7, 49]
Generated Node #2: [85, 7, 49] from Operation: 16+33=49
Current State: 92:[85, 7, 49], Operations: ['16+33=49']
Exploring Operation: 49/7=7, Resulting Numbers: [85, 7]
Generated Node #3: [85, 7] from Operation: 49/7=7
Current State: 92:[85, 7], Operations: ['16+33=49', '49/7=7']
Exploring Operation: 85+7=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[85, 16, 33, 7], Operations: []
Exploring Operation: 16+33=49, Resulting Numbers: [85, 7, 49]
Generated Node #0,0: 92:[85, 7, 49] Operation: 16+33=49
Exploring Operation: 33-16=17, Resulting Numbers: [85, 7, 17]
Generated Node #0,1: 92:[85, 7, 17] Operation: 33-16=17
Exploring Operation: 85-33=52, Resulting Numbers: [16, 7, 52]
Generated Node #0,2: 92:[16, 7, 52] Operation: 85-33=52
Moving to Node #0,0
Current State: 92:[85, 7, 49], Operations: ['16+33=49']
Exploring Operation: 49-7=42, Resulting Numbers: [85, 42]
Generated Node #0,0,0: 92:[85, 42] Operation: 49-7=42
Exploring Operation: 85+7=92, Resulting Numbers: [49, 92]
Generated Node #0,0,1: 92:[49, 92] Operation: 85+7=92
Exploring Operation: 49/7=7, Resulting Numbers: [85, 7]
Generated Node #0,0,2: 92:[85, 7] Operation: 49/7=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[49, 92], Operations: ['16+33=49', '85+7=92']
Exploring Operation: 49*92=4508, Resulting Numbers: [4508]
4508,92 unequal: No Solution
Exploring Operation: 92-49=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 49+92=141, Resulting Numbers: [141]
141,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 92:[85, 7], Operations: ['16+33=49', '49/7=7']
Exploring Operation: 85+7=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[85, 16, 33, 7], Operations: []
Exploring Operation: 16+33=49, Resulting Numbers: [85, 7, 49]
Generated Node #0,0: 92:[85, 7, 49] Operation: 16+33=49
Moving to Node #0,0
Current State: 92:[85, 7, 49], Operations: ['16+33=49']
Exploring Operation: 49/7=7, Resulting Numbers: [85, 7]
Generated Node #0,0,2: 92:[85, 7] Operation: 49/7=7
Moving to Node #0,0,2
Current State: 92:[85, 7], Operations: ['16+33=49', '49/7=7']
Exploring Operation: 85+7=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
57,
20,
76,
1
] | 61 | [
"20-1=19",
"76/19=4",
"57+4=61"
] | Current State: 61:[57, 20, 76, 1], Operations: []
Exploring Operation: 20-1=19, Resulting Numbers: [57, 76, 19]
Generated Node #2: [57, 76, 19] from Operation: 20-1=19
Current State: 61:[57, 76, 19], Operations: ['20-1=19']
Exploring Operation: 76/19=4, Resulting Numbers: [57, 4]
Generated Node #3: [57, 4] from Operation: 76/19=4
Current State: 61:[57, 4], Operations: ['20-1=19', '76/19=4']
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[57, 20, 76, 1], Operations: []
Exploring Operation: 76-1=75, Resulting Numbers: [57, 20, 75]
Generated Node #0,0: 61:[57, 20, 75] Operation: 76-1=75
Exploring Operation: 57*1=57, Resulting Numbers: [20, 76, 57]
Generated Node #0,1: 61:[20, 76, 57] Operation: 57*1=57
Exploring Operation: 57+1=58, Resulting Numbers: [20, 76, 58]
Generated Node #0,2: 61:[20, 76, 58] Operation: 57+1=58
Exploring Operation: 20+1=21, Resulting Numbers: [57, 76, 21]
Generated Node #0,3: 61:[57, 76, 21] Operation: 20+1=21
Moving to Node #0,0
Current State: 61:[57, 20, 75], Operations: ['76-1=75']
Exploring Operation: 57+20=77, Resulting Numbers: [75, 77]
Generated Node #0,0,0: 61:[75, 77] Operation: 57+20=77
Exploring Operation: 75-20=55, Resulting Numbers: [57, 55]
Generated Node #0,0,1: 61:[57, 55] Operation: 75-20=55
Exploring Operation: 20+75=95, Resulting Numbers: [57, 95]
Generated Node #0,0,2: 61:[57, 95] Operation: 20+75=95
Exploring Operation: 57-20=37, Resulting Numbers: [75, 37]
Generated Node #0,0,3: 61:[75, 37] Operation: 57-20=37
Moving to Node #0,3
Current State: 61:[57, 76, 21], Operations: ['20+1=21']
Exploring Operation: 57-21=36, Resulting Numbers: [76, 36]
Generated Node #0,3,0: 61:[76, 36] Operation: 57-21=36
Exploring Operation: 76-21=55, Resulting Numbers: [57, 55]
Generated Node #0,3,1: 61:[57, 55] Operation: 76-21=55
Exploring Operation: 76+21=97, Resulting Numbers: [57, 97]
Generated Node #0,3,2: 61:[57, 97] Operation: 76+21=97
Exploring Operation: 57+21=78, Resulting Numbers: [76, 78]
Generated Node #0,3,3: 61:[76, 78] Operation: 57+21=78
Moving to Node #0,2
Current State: 61:[20, 76, 58], Operations: ['57+1=58']
Exploring Operation: 58-20=38, Resulting Numbers: [76, 38]
Generated Node #0,2,0: 61:[76, 38] Operation: 58-20=38
Exploring Operation: 20+76=96, Resulting Numbers: [58, 96]
Generated Node #0,2,1: 61:[58, 96] Operation: 20+76=96
Exploring Operation: 76-20=56, Resulting Numbers: [58, 56]
Generated Node #0,2,2: 61:[58, 56] Operation: 76-20=56
Exploring Operation: 20+58=78, Resulting Numbers: [76, 78]
Generated Node #0,2,3: 61:[76, 78] Operation: 20+58=78
Moving to Node #0,1
Current State: 61:[20, 76, 57], Operations: ['57*1=57']
Exploring Operation: 20+76=96, Resulting Numbers: [57, 96]
Generated Node #0,1,0: 61:[57, 96] Operation: 20+76=96
Exploring Operation: 20+57=77, Resulting Numbers: [76, 77]
Generated Node #0,1,1: 61:[76, 77] Operation: 20+57=77
Exploring Operation: 57-20=37, Resulting Numbers: [76, 37]
Generated Node #0,1,2: 61:[76, 37] Operation: 57-20=37
Exploring Operation: 76-20=56, Resulting Numbers: [57, 56]
Generated Node #0,1,3: 61:[57, 56] Operation: 76-20=56
Moving to Node #0,2,2
Current State: 61:[58, 56], Operations: ['57+1=58', '76-20=56']
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 58*56=3248, Resulting Numbers: [3248]
3248,61 unequal: No Solution
Exploring Operation: 58+56=114, Resulting Numbers: [114]
114,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[57, 56], Operations: ['57*1=57', '76-20=56']
Exploring Operation: 57+56=113, Resulting Numbers: [113]
113,61 unequal: No Solution
Exploring Operation: 57*56=3192, Resulting Numbers: [3192]
3192,61 unequal: No Solution
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[57, 55], Operations: ['76-1=75', '75-20=55']
Exploring Operation: 57+55=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 57-55=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 57*55=3135, Resulting Numbers: [3135]
3135,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[57, 55], Operations: ['20+1=21', '76-21=55']
Exploring Operation: 57-55=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 57+55=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 57*55=3135, Resulting Numbers: [3135]
3135,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[75, 77], Operations: ['76-1=75', '57+20=77']
Exploring Operation: 77-75=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 75+77=152, Resulting Numbers: [152]
152,61 unequal: No Solution
Exploring Operation: 75*77=5775, Resulting Numbers: [5775]
5775,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[76, 77], Operations: ['57*1=57', '20+57=77']
Exploring Operation: 76+77=153, Resulting Numbers: [153]
153,61 unequal: No Solution
Exploring Operation: 76*77=5852, Resulting Numbers: [5852]
5852,61 unequal: No Solution
Exploring Operation: 77-76=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[76, 78], Operations: ['20+1=21', '57+21=78']
Exploring Operation: 76*78=5928, Resulting Numbers: [5928]
5928,61 unequal: No Solution
Exploring Operation: 78-76=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 76+78=154, Resulting Numbers: [154]
154,61 unequal: No Solution
Moving to Node #0,2,3
Current State: 61:[76, 78], Operations: ['57+1=58', '20+58=78']
Exploring Operation: 76+78=154, Resulting Numbers: [154]
154,61 unequal: No Solution
Exploring Operation: 78-76=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 76*78=5928, Resulting Numbers: [5928]
5928,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[58, 96], Operations: ['57+1=58', '20+76=96']
Exploring Operation: 96-58=38, Resulting Numbers: [38]
38,61 unequal: No Solution
Exploring Operation: 58+96=154, Resulting Numbers: [154]
154,61 unequal: No Solution
Exploring Operation: 58*96=5568, Resulting Numbers: [5568]
5568,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[57, 95], Operations: ['76-1=75', '20+75=95']
Exploring Operation: 57+95=152, Resulting Numbers: [152]
152,61 unequal: No Solution
Exploring Operation: 95-57=38, Resulting Numbers: [38]
38,61 unequal: No Solution
Exploring Operation: 57*95=5415, Resulting Numbers: [5415]
5415,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[76, 38], Operations: ['57+1=58', '58-20=38']
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 76*38=2888, Resulting Numbers: [2888]
2888,61 unequal: No Solution
Exploring Operation: 76+38=114, Resulting Numbers: [114]
114,61 unequal: No Solution
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[75, 37], Operations: ['76-1=75', '57-20=37']
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,61 unequal: No Solution
Exploring Operation: 75*37=2775, Resulting Numbers: [2775]
2775,61 unequal: No Solution
Exploring Operation: 75+37=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[57, 96], Operations: ['57*1=57', '20+76=96']
Exploring Operation: 57*96=5472, Resulting Numbers: [5472]
5472,61 unequal: No Solution
Exploring Operation: 96-57=39, Resulting Numbers: [39]
39,61 unequal: No Solution
Exploring Operation: 57+96=153, Resulting Numbers: [153]
153,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[76, 37], Operations: ['57*1=57', '57-20=37']
Exploring Operation: 76+37=113, Resulting Numbers: [113]
113,61 unequal: No Solution
Exploring Operation: 76*37=2812, Resulting Numbers: [2812]
2812,61 unequal: No Solution
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[57, 97], Operations: ['20+1=21', '76+21=97']
Exploring Operation: 97-57=40, Resulting Numbers: [40]
40,61 unequal: No Solution
Exploring Operation: 57*97=5529, Resulting Numbers: [5529]
5529,61 unequal: No Solution
Exploring Operation: 57+97=154, Resulting Numbers: [154]
154,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[76, 36], Operations: ['20+1=21', '57-21=36']
Exploring Operation: 76+36=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 76*36=2736, Resulting Numbers: [2736]
2736,61 unequal: No Solution
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,61 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
62,
2,
94,
1
] | 65 | [
"94-62=32",
"2*32=64",
"1+64=65"
] | Current State: 65:[62, 2, 94, 1], Operations: []
Exploring Operation: 94-62=32, Resulting Numbers: [2, 1, 32]
Generated Node #2: [2, 1, 32] from Operation: 94-62=32
Current State: 65:[2, 1, 32], Operations: ['94-62=32']
Exploring Operation: 2*32=64, Resulting Numbers: [1, 64]
Generated Node #3: [1, 64] from Operation: 2*32=64
Current State: 65:[1, 64], Operations: ['94-62=32', '2*32=64']
Exploring Operation: 1+64=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[62, 2, 94, 1], Operations: []
Exploring Operation: 62+1=63, Resulting Numbers: [2, 94, 63]
Generated Node #0,0: 65:[2, 94, 63] Operation: 62+1=63
Exploring Operation: 94-62=32, Resulting Numbers: [2, 1, 32]
Generated Node #0,1: 65:[2, 1, 32] Operation: 94-62=32
Exploring Operation: 94/2=47, Resulting Numbers: [62, 1, 47]
Generated Node #0,2: 65:[62, 1, 47] Operation: 94/2=47
Exploring Operation: 62+2=64, Resulting Numbers: [94, 1, 64]
Generated Node #0,3: 65:[94, 1, 64] Operation: 62+2=64
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[62, 1, 47], Operations: ['94/2=47']
Exploring Operation: 62+1=63, Resulting Numbers: [47, 63]
Generated Node #0,2,0: 65:[47, 63] Operation: 62+1=63
Exploring Operation: 62-47=15, Resulting Numbers: [1, 15]
Generated Node #0,2,1: 65:[1, 15] Operation: 62-47=15
Exploring Operation: 62*1=62, Resulting Numbers: [47, 62]
Generated Node #0,2,2: 65:[47, 62] Operation: 62*1=62
Exploring Operation: 1+47=48, Resulting Numbers: [62, 48]
Generated Node #0,2,3: 65:[62, 48] Operation: 1+47=48
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 65:[1, 15], Operations: ['94/2=47', '62-47=15']
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,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:[47, 63], Operations: ['94/2=47', '62+1=63']
Exploring Operation: 47+63=110, Resulting Numbers: [110]
110,65 unequal: No Solution
Exploring Operation: 47*63=2961, Resulting Numbers: [2961]
2961,65 unequal: No Solution
Exploring Operation: 63-47=16, Resulting Numbers: [16]
16,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:[62, 48], Operations: ['94/2=47', '1+47=48']
Exploring Operation: 62*48=2976, Resulting Numbers: [2976]
2976,65 unequal: No Solution
Exploring Operation: 62+48=110, Resulting Numbers: [110]
110,65 unequal: No Solution
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,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,2
Current State: 65:[47, 62], Operations: ['94/2=47', '62*1=62']
Exploring Operation: 62-47=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 47+62=109, Resulting Numbers: [109]
109,65 unequal: No Solution
Exploring Operation: 47*62=2914, Resulting Numbers: [2914]
2914,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,1
Current State: 65:[2, 1, 32], Operations: ['94-62=32']
Exploring Operation: 2*32=64, Resulting Numbers: [1, 64]
Generated Node #0,1,0: 65:[1, 64] Operation: 2*32=64
Exploring Operation: 2+1=3, Resulting Numbers: [32, 3]
Generated Node #0,1,1: 65:[32, 3] Operation: 2+1=3
Exploring Operation: 32/2=16, Resulting Numbers: [1, 16]
Generated Node #0,1,2: 65:[1, 16] Operation: 32/2=16
Exploring Operation: 32-2=30, Resulting Numbers: [1, 30]
Generated Node #0,1,3: 65:[1, 30] Operation: 32-2=30
Moving to Node #0,1,0
Current State: 65:[1, 64], Operations: ['94-62=32', '2*32=64']
Exploring Operation: 1+64=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[62, 2, 94, 1], Operations: []
Exploring Operation: 94-62=32, Resulting Numbers: [2, 1, 32]
Generated Node #0,1: 65:[2, 1, 32] Operation: 94-62=32
Moving to Node #0,1
Current State: 65:[2, 1, 32], Operations: ['94-62=32']
Exploring Operation: 2*32=64, Resulting Numbers: [1, 64]
Generated Node #0,1,0: 65:[1, 64] Operation: 2*32=64
Moving to Node #0,1,0
Current State: 65:[1, 64], Operations: ['94-62=32', '2*32=64']
Exploring Operation: 1+64=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
6,
96,
17,
20
] | 98 | [
"20-17=3",
"6/3=2",
"96+2=98"
] | Current State: 98:[6, 96, 17, 20], Operations: []
Exploring Operation: 20-17=3, Resulting Numbers: [6, 96, 3]
Generated Node #2: [6, 96, 3] from Operation: 20-17=3
Current State: 98:[6, 96, 3], Operations: ['20-17=3']
Exploring Operation: 6/3=2, Resulting Numbers: [96, 2]
Generated Node #3: [96, 2] from Operation: 6/3=2
Current State: 98:[96, 2], Operations: ['20-17=3', '6/3=2']
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[6, 96, 17, 20], Operations: []
Exploring Operation: 20-17=3, Resulting Numbers: [6, 96, 3]
Generated Node #0,0: 98:[6, 96, 3] Operation: 20-17=3
Moving to Node #0,0
Current State: 98:[6, 96, 3], Operations: ['20-17=3']
Exploring Operation: 6/3=2, Resulting Numbers: [96, 2]
Generated Node #0,0,0: 98:[96, 2] Operation: 6/3=2
Moving to Node #0,0,0
Current State: 98:[96, 2], Operations: ['20-17=3', '6/3=2']
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[6, 96, 17, 20], Operations: []
Exploring Operation: 20-17=3, Resulting Numbers: [6, 96, 3]
Generated Node #0,0: 98:[6, 96, 3] Operation: 20-17=3
Moving to Node #0,0
Current State: 98:[6, 96, 3], Operations: ['20-17=3']
Exploring Operation: 6/3=2, Resulting Numbers: [96, 2]
Generated Node #0,0,0: 98:[96, 2] Operation: 6/3=2
Moving to Node #0,0,0
Current State: 98:[96, 2], Operations: ['20-17=3', '6/3=2']
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
38,
2,
87,
79
] | 48 | [
"38+2=40",
"87-79=8",
"40+8=48"
] | Current State: 48:[38, 2, 87, 79], Operations: []
Exploring Operation: 38+2=40, Resulting Numbers: [87, 79, 40]
Generated Node #2: [87, 79, 40] from Operation: 38+2=40
Current State: 48:[87, 79, 40], Operations: ['38+2=40']
Exploring Operation: 87-79=8, Resulting Numbers: [40, 8]
Generated Node #3: [40, 8] from Operation: 87-79=8
Current State: 48:[40, 8], Operations: ['38+2=40', '87-79=8']
Exploring Operation: 40+8=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[38, 2, 87, 79], Operations: []
Exploring Operation: 87-79=8, Resulting Numbers: [38, 2, 8]
Generated Node #0,0: 48:[38, 2, 8] Operation: 87-79=8
Exploring Operation: 87-38=49, Resulting Numbers: [2, 79, 49]
Generated Node #0,1: 48:[2, 79, 49] Operation: 87-38=49
Exploring Operation: 79-38=41, Resulting Numbers: [2, 87, 41]
Generated Node #0,2: 48:[2, 87, 41] Operation: 79-38=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[38, 2, 8], Operations: ['87-79=8']
Exploring Operation: 38+8=46, Resulting Numbers: [2, 46]
Generated Node #0,0,0: 48:[2, 46] Operation: 38+8=46
Exploring Operation: 38-8=30, Resulting Numbers: [2, 30]
Generated Node #0,0,1: 48:[2, 30] Operation: 38-8=30
Exploring Operation: 38/2=19, Resulting Numbers: [8, 19]
Generated Node #0,0,2: 48:[8, 19] Operation: 38/2=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[2, 46], Operations: ['87-79=8', '38+8=46']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,48 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,48 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[38, 2, 87, 79], Operations: []
Exploring Operation: 87-79=8, Resulting Numbers: [38, 2, 8]
Generated Node #0,0: 48:[38, 2, 8] Operation: 87-79=8
Moving to Node #0,0
Current State: 48:[38, 2, 8], Operations: ['87-79=8']
Exploring Operation: 38+8=46, Resulting Numbers: [2, 46]
Generated Node #0,0,0: 48:[2, 46] Operation: 38+8=46
Moving to Node #0,0,0
Current State: 48:[2, 46], Operations: ['87-79=8', '38+8=46']
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
88,
65,
90,
12
] | 59 | [
"90-88=2",
"12/2=6",
"65-6=59"
] | Current State: 59:[88, 65, 90, 12], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [65, 12, 2]
Generated Node #2: [65, 12, 2] from Operation: 90-88=2
Current State: 59:[65, 12, 2], Operations: ['90-88=2']
Exploring Operation: 12/2=6, Resulting Numbers: [65, 6]
Generated Node #3: [65, 6] from Operation: 12/2=6
Current State: 59:[65, 6], Operations: ['90-88=2', '12/2=6']
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[88, 65, 90, 12], Operations: []
Exploring Operation: 90-12=78, Resulting Numbers: [88, 65, 78]
Generated Node #0,0: 59:[88, 65, 78] Operation: 90-12=78
Exploring Operation: 65+12=77, Resulting Numbers: [88, 90, 77]
Generated Node #0,1: 59:[88, 90, 77] Operation: 65+12=77
Exploring Operation: 65-12=53, Resulting Numbers: [88, 90, 53]
Generated Node #0,2: 59:[88, 90, 53] Operation: 65-12=53
Exploring Operation: 88+12=100, Resulting Numbers: [65, 90, 100]
Generated Node #0,3: 59:[65, 90, 100] Operation: 88+12=100
Exploring Operation: 88-12=76, Resulting Numbers: [65, 90, 76]
Generated Node #0,4: 59:[65, 90, 76] Operation: 88-12=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[88, 65, 78], Operations: ['90-12=78']
Exploring Operation: 88-78=10, Resulting Numbers: [65, 10]
Generated Node #0,0,0: 59:[65, 10] Operation: 88-78=10
Exploring Operation: 88+78=166, Resulting Numbers: [65, 166]
Generated Node #0,0,1: 59:[65, 166] Operation: 88+78=166
Exploring Operation: 88+65=153, Resulting Numbers: [78, 153]
Generated Node #0,0,2: 59:[78, 153] Operation: 88+65=153
Exploring Operation: 88-65=23, Resulting Numbers: [78, 23]
Generated Node #0,0,3: 59:[78, 23] Operation: 88-65=23
Exploring Operation: 78-65=13, Resulting Numbers: [88, 13]
Generated Node #0,0,4: 59:[88, 13] Operation: 78-65=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[65, 10], Operations: ['90-12=78', '88-78=10']
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,59 unequal: No Solution
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,59 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,59 unequal: No Solution
No 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: 59:[78, 23], Operations: ['90-12=78', '88-65=23']
Exploring Operation: 78+23=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 78*23=1794, Resulting Numbers: [1794]
1794,59 unequal: No Solution
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,59 unequal: No Solution
No 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: 59:[88, 13], Operations: ['90-12=78', '78-65=13']
Exploring Operation: 88*13=1144, Resulting Numbers: [1144]
1144,59 unequal: No Solution
Exploring Operation: 88-13=75, Resulting Numbers: [75]
75,59 unequal: No Solution
Exploring Operation: 88+13=101, Resulting Numbers: [101]
101,59 unequal: No Solution
No 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: 59:[65, 166], Operations: ['90-12=78', '88+78=166']
Exploring Operation: 65+166=231, Resulting Numbers: [231]
231,59 unequal: No Solution
Exploring Operation: 166-65=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 65*166=10790, Resulting Numbers: [10790]
10790,59 unequal: No Solution
No 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: 59:[78, 153], Operations: ['90-12=78', '88+65=153']
Exploring Operation: 153-78=75, Resulting Numbers: [75]
75,59 unequal: No Solution
Exploring Operation: 78*153=11934, Resulting Numbers: [11934]
11934,59 unequal: No Solution
Exploring Operation: 78+153=231, Resulting Numbers: [231]
231,59 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: 59:[65, 90, 76], Operations: ['88-12=76']
Exploring Operation: 65+90=155, Resulting Numbers: [76, 155]
Generated Node #0,4,0: 59:[76, 155] Operation: 65+90=155
Exploring Operation: 76-65=11, Resulting Numbers: [90, 11]
Generated Node #0,4,1: 59:[90, 11] Operation: 76-65=11
Exploring Operation: 65+76=141, Resulting Numbers: [90, 141]
Generated Node #0,4,2: 59:[90, 141] Operation: 65+76=141
Exploring Operation: 90-76=14, Resulting Numbers: [65, 14]
Generated Node #0,4,3: 59:[65, 14] Operation: 90-76=14
Exploring Operation: 90-65=25, Resulting Numbers: [76, 25]
Generated Node #0,4,4: 59:[76, 25] Operation: 90-65=25
Moving to Node #0,4,3
Current State: 59:[65, 14], Operations: ['88-12=76', '90-76=14']
Exploring Operation: 65+14=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Exploring Operation: 65*14=910, Resulting Numbers: [910]
910,59 unequal: No Solution
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,59 unequal: No Solution
Moving to Node #0,4,4
Current State: 59:[76, 25], Operations: ['88-12=76', '90-65=25']
Exploring Operation: 76+25=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,59 unequal: No Solution
Exploring Operation: 76*25=1900, Resulting Numbers: [1900]
1900,59 unequal: No Solution
Moving to Node #0,4,1
Current State: 59:[90, 11], Operations: ['88-12=76', '76-65=11']
Exploring Operation: 90*11=990, Resulting Numbers: [990]
990,59 unequal: No Solution
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Exploring Operation: 90+11=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Moving to Node #0,4,0
Current State: 59:[76, 155], Operations: ['88-12=76', '65+90=155']
Exploring Operation: 76*155=11780, Resulting Numbers: [11780]
11780,59 unequal: No Solution
Exploring Operation: 76+155=231, Resulting Numbers: [231]
231,59 unequal: No Solution
Exploring Operation: 155-76=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Moving to Node #0,4,2
Current State: 59:[90, 141], Operations: ['88-12=76', '65+76=141']
Exploring Operation: 90*141=12690, Resulting Numbers: [12690]
12690,59 unequal: No Solution
Exploring Operation: 141-90=51, Resulting Numbers: [51]
51,59 unequal: No Solution
Exploring Operation: 90+141=231, Resulting Numbers: [231]
231,59 unequal: No Solution
No 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: 59:[88, 90, 53], Operations: ['65-12=53']
Exploring Operation: 88-53=35, Resulting Numbers: [90, 35]
Generated Node #0,2,0: 59:[90, 35] Operation: 88-53=35
Exploring Operation: 88+53=141, Resulting Numbers: [90, 141]
Generated Node #0,2,1: 59:[90, 141] Operation: 88+53=141
Exploring Operation: 90-88=2, Resulting Numbers: [53, 2]
Generated Node #0,2,2: 59:[53, 2] Operation: 90-88=2
Exploring Operation: 90+53=143, Resulting Numbers: [88, 143]
Generated Node #0,2,3: 59:[88, 143] Operation: 90+53=143
Exploring Operation: 90-53=37, Resulting Numbers: [88, 37]
Generated Node #0,2,4: 59:[88, 37] Operation: 90-53=37
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 59:[88, 37], Operations: ['65-12=53', '90-53=37']
Exploring Operation: 88*37=3256, Resulting Numbers: [3256]
3256,59 unequal: No Solution
Exploring Operation: 88+37=125, Resulting Numbers: [125]
125,59 unequal: No Solution
Exploring Operation: 88-37=51, Resulting Numbers: [51]
51,59 unequal: No Solution
No 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: 59:[90, 35], Operations: ['65-12=53', '88-53=35']
Exploring Operation: 90-35=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 90+35=125, Resulting Numbers: [125]
125,59 unequal: No Solution
Exploring Operation: 90*35=3150, Resulting Numbers: [3150]
3150,59 unequal: No Solution
No 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: 59:[53, 2], Operations: ['65-12=53', '90-88=2']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,59 unequal: No Solution
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,59 unequal: No Solution
No 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: 59:[90, 141], Operations: ['65-12=53', '88+53=141']
Exploring Operation: 90*141=12690, Resulting Numbers: [12690]
12690,59 unequal: No Solution
Exploring Operation: 141-90=51, Resulting Numbers: [51]
51,59 unequal: No Solution
Exploring Operation: 90+141=231, Resulting Numbers: [231]
231,59 unequal: No Solution
No 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: 59:[88, 143], Operations: ['65-12=53', '90+53=143']
Exploring Operation: 88+143=231, Resulting Numbers: [231]
231,59 unequal: No Solution
Exploring Operation: 88*143=12584, Resulting Numbers: [12584]
12584,59 unequal: No Solution
Exploring Operation: 143-88=55, Resulting Numbers: [55]
55,59 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: 59:[88, 90, 77], Operations: ['65+12=77']
Exploring Operation: 88+77=165, Resulting Numbers: [90, 165]
Generated Node #0,1,0: 59:[90, 165] Operation: 88+77=165
Exploring Operation: 88-77=11, Resulting Numbers: [90, 11]
Generated Node #0,1,1: 59:[90, 11] Operation: 88-77=11
Exploring Operation: 90-77=13, Resulting Numbers: [88, 13]
Generated Node #0,1,2: 59:[88, 13] Operation: 90-77=13
Exploring Operation: 88+90=178, Resulting Numbers: [77, 178]
Generated Node #0,1,3: 59:[77, 178] Operation: 88+90=178
Exploring Operation: 90-88=2, Resulting Numbers: [77, 2]
Generated Node #0,1,4: 59:[77, 2] Operation: 90-88=2
Moving to Node #0,1,2
Current State: 59:[88, 13], Operations: ['65+12=77', '90-77=13']
Exploring Operation: 88+13=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 88*13=1144, Resulting Numbers: [1144]
1144,59 unequal: No Solution
Exploring Operation: 88-13=75, Resulting Numbers: [75]
75,59 unequal: No Solution
Moving to Node #0,1,4
Current State: 59:[77, 2], Operations: ['65+12=77', '90-88=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,59 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[90, 11], Operations: ['65+12=77', '88-77=11']
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Exploring Operation: 90+11=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 90*11=990, Resulting Numbers: [990]
990,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[90, 165], Operations: ['65+12=77', '88+77=165']
Exploring Operation: 165-90=75, Resulting Numbers: [75]
75,59 unequal: No Solution
Exploring Operation: 90*165=14850, Resulting Numbers: [14850]
14850,59 unequal: No Solution
Exploring Operation: 90+165=255, Resulting Numbers: [255]
255,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[77, 178], Operations: ['65+12=77', '88+90=178']
Exploring Operation: 178-77=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 77*178=13706, Resulting Numbers: [13706]
13706,59 unequal: No Solution
Exploring Operation: 77+178=255, Resulting Numbers: [255]
255,59 unequal: No Solution
No 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: 59:[65, 90, 100], Operations: ['88+12=100']
Exploring Operation: 65+90=155, Resulting Numbers: [100, 155]
Generated Node #0,3,0: 59:[100, 155] Operation: 65+90=155
Exploring Operation: 65+100=165, Resulting Numbers: [90, 165]
Generated Node #0,3,1: 59:[90, 165] Operation: 65+100=165
Exploring Operation: 100-65=35, Resulting Numbers: [90, 35]
Generated Node #0,3,2: 59:[90, 35] Operation: 100-65=35
Exploring Operation: 90-65=25, Resulting Numbers: [100, 25]
Generated Node #0,3,3: 59:[100, 25] Operation: 90-65=25
Exploring Operation: 100-90=10, Resulting Numbers: [65, 10]
Generated Node #0,3,4: 59:[65, 10] Operation: 100-90=10
Moving to Node #0,3,2
Current State: 59:[90, 35], Operations: ['88+12=100', '100-65=35']
Exploring Operation: 90-35=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 90+35=125, Resulting Numbers: [125]
125,59 unequal: No Solution
Exploring Operation: 90*35=3150, Resulting Numbers: [3150]
3150,59 unequal: No Solution
Moving to Node #0,3,4
Current State: 59:[65, 10], Operations: ['88+12=100', '100-90=10']
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,59 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[100, 25], Operations: ['88+12=100', '90-65=25']
Exploring Operation: 100+25=125, Resulting Numbers: [125]
125,59 unequal: No Solution
Exploring Operation: 100/25=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 100*25=2500, Resulting Numbers: [2500]
2500,59 unequal: No Solution
Exploring Operation: 100-25=75, Resulting Numbers: [75]
75,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[100, 155], Operations: ['88+12=100', '65+90=155']
Exploring Operation: 100*155=15500, Resulting Numbers: [15500]
15500,59 unequal: No Solution
Exploring Operation: 100+155=255, Resulting Numbers: [255]
255,59 unequal: No Solution
Exploring Operation: 155-100=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[90, 165], Operations: ['88+12=100', '65+100=165']
Exploring Operation: 90+165=255, Resulting Numbers: [255]
255,59 unequal: No Solution
Exploring Operation: 165-90=75, Resulting Numbers: [75]
75,59 unequal: No Solution
Exploring Operation: 90*165=14850, Resulting Numbers: [14850]
14850,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
45,
10,
67,
43
] | 75 | [
"45-10=35",
"67+43=110",
"110-35=75"
] | Current State: 75:[45, 10, 67, 43], Operations: []
Exploring Operation: 45-10=35, Resulting Numbers: [67, 43, 35]
Generated Node #2: [67, 43, 35] from Operation: 45-10=35
Current State: 75:[67, 43, 35], Operations: ['45-10=35']
Exploring Operation: 67+43=110, Resulting Numbers: [35, 110]
Generated Node #3: [35, 110] from Operation: 67+43=110
Current State: 75:[35, 110], Operations: ['45-10=35', '67+43=110']
Exploring Operation: 110-35=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[45, 10, 67, 43], Operations: []
Exploring Operation: 45-43=2, Resulting Numbers: [10, 67, 2]
Generated Node #0,0: 75:[10, 67, 2] Operation: 45-43=2
Exploring Operation: 67-45=22, Resulting Numbers: [10, 43, 22]
Generated Node #0,1: 75:[10, 43, 22] Operation: 67-45=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[10, 67, 2], Operations: ['45-43=2']
Exploring Operation: 10+67=77, Resulting Numbers: [2, 77]
Generated Node #0,0,0: 75:[2, 77] Operation: 10+67=77
Exploring Operation: 10/2=5, Resulting Numbers: [67, 5]
Generated Node #0,0,1: 75:[67, 5] Operation: 10/2=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[2, 77], Operations: ['45-43=2', '10+67=77']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[45, 10, 67, 43], Operations: []
Exploring Operation: 45-43=2, Resulting Numbers: [10, 67, 2]
Generated Node #0,0: 75:[10, 67, 2] Operation: 45-43=2
Moving to Node #0,0
Current State: 75:[10, 67, 2], Operations: ['45-43=2']
Exploring Operation: 10+67=77, Resulting Numbers: [2, 77]
Generated Node #0,0,0: 75:[2, 77] Operation: 10+67=77
Moving to Node #0,0,0
Current State: 75:[2, 77], Operations: ['45-43=2', '10+67=77']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
45,
34,
6,
41
] | 45 | [
"34+6=40",
"41-40=1",
"45*1=45"
] | Current State: 45:[45, 34, 6, 41], Operations: []
Exploring Operation: 34+6=40, Resulting Numbers: [45, 41, 40]
Generated Node #2: [45, 41, 40] from Operation: 34+6=40
Current State: 45:[45, 41, 40], Operations: ['34+6=40']
Exploring Operation: 41-40=1, Resulting Numbers: [45, 1]
Generated Node #3: [45, 1] from Operation: 41-40=1
Current State: 45:[45, 1], Operations: ['34+6=40', '41-40=1']
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[45, 34, 6, 41], Operations: []
Exploring Operation: 45-34=11, Resulting Numbers: [6, 41, 11]
Generated Node #0,0: 45:[6, 41, 11] Operation: 45-34=11
Exploring Operation: 6+41=47, Resulting Numbers: [45, 34, 47]
Generated Node #0,1: 45:[45, 34, 47] Operation: 6+41=47
Exploring Operation: 41-34=7, Resulting Numbers: [45, 6, 7]
Generated Node #0,2: 45:[45, 6, 7] Operation: 41-34=7
Exploring Operation: 45-41=4, Resulting Numbers: [34, 6, 4]
Generated Node #0,3: 45:[34, 6, 4] Operation: 45-41=4
Exploring Operation: 34+6=40, Resulting Numbers: [45, 41, 40]
Generated Node #0,4: 45:[45, 41, 40] Operation: 34+6=40
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[45, 6, 7], Operations: ['41-34=7']
Exploring Operation: 45+6=51, Resulting Numbers: [7, 51]
Generated Node #0,2,0: 45:[7, 51] Operation: 45+6=51
Exploring Operation: 6*7=42, Resulting Numbers: [45, 42]
Generated Node #0,2,1: 45:[45, 42] Operation: 6*7=42
Exploring Operation: 7-6=1, Resulting Numbers: [45, 1]
Generated Node #0,2,2: 45:[45, 1] Operation: 7-6=1
Exploring Operation: 6+7=13, Resulting Numbers: [45, 13]
Generated Node #0,2,3: 45:[45, 13] Operation: 6+7=13
Exploring Operation: 45-6=39, Resulting Numbers: [7, 39]
Generated Node #0,2,4: 45:[7, 39] Operation: 45-6=39
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 45:[45, 1], Operations: ['41-34=7', '7-6=1']
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,45 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[45, 34, 6, 41], Operations: []
Exploring Operation: 41-34=7, Resulting Numbers: [45, 6, 7]
Generated Node #0,2: 45:[45, 6, 7] Operation: 41-34=7
Moving to Node #0,2
Current State: 45:[45, 6, 7], Operations: ['41-34=7']
Exploring Operation: 7-6=1, Resulting Numbers: [45, 1]
Generated Node #0,2,2: 45:[45, 1] Operation: 7-6=1
Moving to Node #0,2,2
Current State: 45:[45, 1], Operations: ['41-34=7', '7-6=1']
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
24,
81,
83,
88
] | 85 | [
"88-81=7",
"24*7=168",
"168-83=85"
] | Current State: 85:[24, 81, 83, 88], Operations: []
Exploring Operation: 88-81=7, Resulting Numbers: [24, 83, 7]
Generated Node #2: [24, 83, 7] from Operation: 88-81=7
Current State: 85:[24, 83, 7], Operations: ['88-81=7']
Exploring Operation: 24*7=168, Resulting Numbers: [83, 168]
Generated Node #3: [83, 168] from Operation: 24*7=168
Current State: 85:[83, 168], Operations: ['88-81=7', '24*7=168']
Exploring Operation: 168-83=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[24, 81, 83, 88], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [24, 81, 5]
Generated Node #0,0: 85:[24, 81, 5] Operation: 88-83=5
Exploring Operation: 83-81=2, Resulting Numbers: [24, 88, 2]
Generated Node #0,1: 85:[24, 88, 2] Operation: 83-81=2
Exploring Operation: 24+81=105, Resulting Numbers: [83, 88, 105]
Generated Node #0,2: 85:[83, 88, 105] Operation: 24+81=105
Exploring Operation: 88-81=7, Resulting Numbers: [24, 83, 7]
Generated Node #0,3: 85:[24, 83, 7] Operation: 88-81=7
Moving to Node #0,0
Current State: 85:[24, 81, 5], Operations: ['88-83=5']
Exploring Operation: 24-5=19, Resulting Numbers: [81, 19]
Generated Node #0,0,0: 85:[81, 19] Operation: 24-5=19
Exploring Operation: 81-5=76, Resulting Numbers: [24, 76]
Generated Node #0,0,1: 85:[24, 76] Operation: 81-5=76
Exploring Operation: 81+5=86, Resulting Numbers: [24, 86]
Generated Node #0,0,2: 85:[24, 86] Operation: 81+5=86
Exploring Operation: 24+5=29, Resulting Numbers: [81, 29]
Generated Node #0,0,3: 85:[81, 29] Operation: 24+5=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[81, 19], Operations: ['88-83=5', '24-5=19']
Exploring Operation: 81*19=1539, Resulting Numbers: [1539]
1539,85 unequal: No Solution
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,85 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,85 unequal: No Solution
No 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: 85:[24, 86], Operations: ['88-83=5', '81+5=86']
Exploring Operation: 24+86=110, Resulting Numbers: [110]
110,85 unequal: No Solution
Exploring Operation: 24*86=2064, Resulting Numbers: [2064]
2064,85 unequal: No Solution
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,85 unequal: No Solution
No 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: 85:[24, 76], Operations: ['88-83=5', '81-5=76']
Exploring Operation: 24*76=1824, Resulting Numbers: [1824]
1824,85 unequal: No Solution
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,85 unequal: No Solution
Exploring Operation: 24+76=100, Resulting Numbers: [100]
100,85 unequal: No Solution
No 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: 85:[81, 29], Operations: ['88-83=5', '24+5=29']
Exploring Operation: 81*29=2349, Resulting Numbers: [2349]
2349,85 unequal: No Solution
Exploring Operation: 81-29=52, Resulting Numbers: [52]
52,85 unequal: No Solution
Exploring Operation: 81+29=110, Resulting Numbers: [110]
110,85 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: 85:[24, 83, 7], Operations: ['88-81=7']
Exploring Operation: 24-7=17, Resulting Numbers: [83, 17]
Generated Node #0,3,0: 85:[83, 17] Operation: 24-7=17
Exploring Operation: 83+7=90, Resulting Numbers: [24, 90]
Generated Node #0,3,1: 85:[24, 90] Operation: 83+7=90
Exploring Operation: 24+7=31, Resulting Numbers: [83, 31]
Generated Node #0,3,2: 85:[83, 31] Operation: 24+7=31
Exploring Operation: 83-7=76, Resulting Numbers: [24, 76]
Generated Node #0,3,3: 85:[24, 76] Operation: 83-7=76
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 85:[83, 17], Operations: ['88-81=7', '24-7=17']
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,85 unequal: No Solution
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,85 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,85 unequal: No Solution
No 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: 85:[24, 90], Operations: ['88-81=7', '83+7=90']
Exploring Operation: 24+90=114, Resulting Numbers: [114]
114,85 unequal: No Solution
Exploring Operation: 24*90=2160, Resulting Numbers: [2160]
2160,85 unequal: No Solution
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,85 unequal: No Solution
No 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: 85:[83, 31], Operations: ['88-81=7', '24+7=31']
Exploring Operation: 83*31=2573, Resulting Numbers: [2573]
2573,85 unequal: No Solution
Exploring Operation: 83+31=114, Resulting Numbers: [114]
114,85 unequal: No Solution
Exploring Operation: 83-31=52, Resulting Numbers: [52]
52,85 unequal: No Solution
No 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: 85:[24, 76], Operations: ['88-81=7', '83-7=76']
Exploring Operation: 24*76=1824, Resulting Numbers: [1824]
1824,85 unequal: No Solution
Exploring Operation: 24+76=100, Resulting Numbers: [100]
100,85 unequal: No Solution
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,85 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: 85:[24, 88, 2], Operations: ['83-81=2']
Exploring Operation: 24+2=26, Resulting Numbers: [88, 26]
Generated Node #0,1,0: 85:[88, 26] Operation: 24+2=26
Exploring Operation: 88-2=86, Resulting Numbers: [24, 86]
Generated Node #0,1,1: 85:[24, 86] Operation: 88-2=86
Exploring Operation: 24/2=12, Resulting Numbers: [88, 12]
Generated Node #0,1,2: 85:[88, 12] Operation: 24/2=12
Exploring Operation: 24-2=22, Resulting Numbers: [88, 22]
Generated Node #0,1,3: 85:[88, 22] Operation: 24-2=22
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[24, 86], Operations: ['83-81=2', '88-2=86']
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,85 unequal: No Solution
Exploring Operation: 24+86=110, Resulting Numbers: [110]
110,85 unequal: No Solution
Exploring Operation: 24*86=2064, Resulting Numbers: [2064]
2064,85 unequal: No Solution
No 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: 85:[88, 12], Operations: ['83-81=2', '24/2=12']
Exploring Operation: 88*12=1056, Resulting Numbers: [1056]
1056,85 unequal: No Solution
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,85 unequal: No Solution
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,85 unequal: No Solution
No 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: 85:[88, 22], Operations: ['83-81=2', '24-2=22']
Exploring Operation: 88-22=66, Resulting Numbers: [66]
66,85 unequal: No Solution
Exploring Operation: 88*22=1936, Resulting Numbers: [1936]
1936,85 unequal: No Solution
Exploring Operation: 88+22=110, Resulting Numbers: [110]
110,85 unequal: No Solution
Exploring Operation: 88/22=4, Resulting Numbers: [4]
4,85 unequal: No Solution
No 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: 85:[88, 26], Operations: ['83-81=2', '24+2=26']
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,85 unequal: No Solution
Exploring Operation: 88*26=2288, Resulting Numbers: [2288]
2288,85 unequal: No Solution
Exploring Operation: 88+26=114, Resulting Numbers: [114]
114,85 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: 85:[83, 88, 105], Operations: ['24+81=105']
Exploring Operation: 83+88=171, Resulting Numbers: [105, 171]
Generated Node #0,2,0: 85:[105, 171] Operation: 83+88=171
Exploring Operation: 105-88=17, Resulting Numbers: [83, 17]
Generated Node #0,2,1: 85:[83, 17] Operation: 105-88=17
Exploring Operation: 88-83=5, Resulting Numbers: [105, 5]
Generated Node #0,2,2: 85:[105, 5] Operation: 88-83=5
Exploring Operation: 105-83=22, Resulting Numbers: [88, 22]
Generated Node #0,2,3: 85:[88, 22] Operation: 105-83=22
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[83, 17], Operations: ['24+81=105', '105-88=17']
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,85 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,85 unequal: No Solution
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,85 unequal: No Solution
No 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: 85:[88, 22], Operations: ['24+81=105', '105-83=22']
Exploring Operation: 88/22=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 88-22=66, Resulting Numbers: [66]
66,85 unequal: No Solution
Exploring Operation: 88+22=110, Resulting Numbers: [110]
110,85 unequal: No Solution
Exploring Operation: 88*22=1936, Resulting Numbers: [1936]
1936,85 unequal: No Solution
No 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: 85:[105, 5], Operations: ['24+81=105', '88-83=5']
Exploring Operation: 105-5=100, Resulting Numbers: [100]
100,85 unequal: No Solution
Exploring Operation: 105/5=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 105*5=525, Resulting Numbers: [525]
525,85 unequal: No Solution
Exploring Operation: 105+5=110, Resulting Numbers: [110]
110,85 unequal: No Solution
No 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: 85:[105, 171], Operations: ['24+81=105', '83+88=171']
Exploring Operation: 105*171=17955, Resulting Numbers: [17955]
17955,85 unequal: No Solution
Exploring Operation: 171-105=66, Resulting Numbers: [66]
66,85 unequal: No Solution
Exploring Operation: 105+171=276, Resulting Numbers: [276]
276,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
60,
8,
62,
31
] | 56 | [
"8*31=248",
"248/62=4",
"60-4=56"
] | Current State: 56:[60, 8, 62, 31], Operations: []
Exploring Operation: 8*31=248, Resulting Numbers: [60, 62, 248]
Generated Node #2: [60, 62, 248] from Operation: 8*31=248
Current State: 56:[60, 62, 248], Operations: ['8*31=248']
Exploring Operation: 248/62=4, Resulting Numbers: [60, 4]
Generated Node #3: [60, 4] from Operation: 248/62=4
Current State: 56:[60, 4], Operations: ['8*31=248', '248/62=4']
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[60, 8, 62, 31], Operations: []
Exploring Operation: 62/31=2, Resulting Numbers: [60, 8, 2]
Generated Node #0,0: 56:[60, 8, 2] Operation: 62/31=2
Exploring Operation: 62-60=2, Resulting Numbers: [8, 31, 2]
Generated Node #0,1: 56:[8, 31, 2] Operation: 62-60=2
Exploring Operation: 60-31=29, Resulting Numbers: [8, 62, 29]
Generated Node #0,2: 56:[8, 62, 29] Operation: 60-31=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[8, 31, 2], Operations: ['62-60=2']
Exploring Operation: 8/2=4, Resulting Numbers: [31, 4]
Generated Node #0,1,0: 56:[31, 4] Operation: 8/2=4
Exploring Operation: 8-2=6, Resulting Numbers: [31, 6]
Generated Node #0,1,1: 56:[31, 6] Operation: 8-2=6
Exploring Operation: 31-2=29, Resulting Numbers: [8, 29]
Generated Node #0,1,2: 56:[8, 29] Operation: 31-2=29
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 56:[8, 29], Operations: ['62-60=2', '31-2=29']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,56 unequal: No Solution
No 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: 56:[31, 4], Operations: ['62-60=2', '8/2=4']
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,56 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,56 unequal: No Solution
No 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: 56:[31, 6], Operations: ['62-60=2', '8-2=6']
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,56 unequal: No Solution
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,56 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: 56:[60, 8, 2], Operations: ['62/31=2']
Exploring Operation: 60-8=52, Resulting Numbers: [2, 52]
Generated Node #0,0,0: 56:[2, 52] Operation: 60-8=52
Exploring Operation: 60/2=30, Resulting Numbers: [8, 30]
Generated Node #0,0,1: 56:[8, 30] Operation: 60/2=30
Exploring Operation: 60-2=58, Resulting Numbers: [8, 58]
Generated Node #0,0,2: 56:[8, 58] Operation: 60-2=58
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[8, 30], Operations: ['62/31=2', '60/2=30']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,56 unequal: No Solution
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,56 unequal: No Solution
No 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: 56:[8, 58], Operations: ['62/31=2', '60-2=58']
Exploring Operation: 8+58=66, Resulting Numbers: [66]
66,56 unequal: No Solution
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,56 unequal: No Solution
Exploring Operation: 8*58=464, Resulting Numbers: [464]
464,56 unequal: No Solution
No 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: 56:[2, 52], Operations: ['62/31=2', '60-8=52']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,56 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,56 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,56 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: 56:[8, 62, 29], Operations: ['60-31=29']
Exploring Operation: 62-29=33, Resulting Numbers: [8, 33]
Generated Node #0,2,0: 56:[8, 33] Operation: 62-29=33
Exploring Operation: 29-8=21, Resulting Numbers: [62, 21]
Generated Node #0,2,1: 56:[62, 21] Operation: 29-8=21
Exploring Operation: 62-8=54, Resulting Numbers: [29, 54]
Generated Node #0,2,2: 56:[29, 54] Operation: 62-8=54
Moving to Node #0,2,2
Current State: 56:[29, 54], Operations: ['60-31=29', '62-8=54']
Exploring Operation: 29*54=1566, Resulting Numbers: [1566]
1566,56 unequal: No Solution
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 29+54=83, Resulting Numbers: [83]
83,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[8, 33], Operations: ['60-31=29', '62-29=33']
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,56 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,56 unequal: No Solution
Moving to Node #0,2,1
Current State: 56:[62, 21], Operations: ['60-31=29', '29-8=21']
Exploring Operation: 62+21=83, Resulting Numbers: [83]
83,56 unequal: No Solution
Exploring Operation: 62*21=1302, Resulting Numbers: [1302]
1302,56 unequal: No Solution
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,56 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 |
[
44,
88,
44,
27
] | 81 | [
"44+88=132",
"132/44=3",
"27*3=81"
] | Current State: 81:[44, 88, 44, 27], Operations: []
Exploring Operation: 44+88=132, Resulting Numbers: [27, 132]
Generated Node #2: [27, 132] from Operation: 44+88=132
Current State: 81:[27, 132], Operations: ['44+88=132']
Exploring Operation: 132/44=3, Resulting Numbers: [27, 3]
Generated Node #3: [27, 3] from Operation: 132/44=3
Current State: 81:[27, 3], Operations: ['44+88=132', '132/44=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[44, 88, 44, 27], Operations: []
Exploring Operation: 88/44=2, Resulting Numbers: [44, 27, 2]
Generated Node #0,0: 81:[44, 27, 2] Operation: 88/44=2
Exploring Operation: 44+44=88, Resulting Numbers: [88, 27, 88]
Generated Node #0,1: 81:[88, 27, 88] Operation: 44+44=88
Exploring Operation: 44-44=0, Resulting Numbers: [88, 27, 0]
Generated Node #0,2: 81:[88, 27, 0] Operation: 44-44=0
Exploring Operation: 44/44=1, Resulting Numbers: [88, 27, 1]
Generated Node #0,3: 81:[88, 27, 1] Operation: 44/44=1
Exploring Operation: 88/44=2, Resulting Numbers: [44, 27, 2]
Generated Node #0,4: 81:[44, 27, 2] Operation: 88/44=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 81:[88, 27, 1], Operations: ['44/44=1']
Exploring Operation: 88/1=88, Resulting Numbers: [27, 88]
Generated Node #0,3,0: 81:[27, 88] Operation: 88/1=88
Exploring Operation: 88*1=88, Resulting Numbers: [27, 88]
Generated Node #0,3,1: 81:[27, 88] Operation: 88*1=88
Exploring Operation: 88-1=87, Resulting Numbers: [27, 87]
Generated Node #0,3,2: 81:[27, 87] Operation: 88-1=87
Exploring Operation: 27/1=27, Resulting Numbers: [88, 27]
Generated Node #0,3,3: 81:[88, 27] Operation: 27/1=27
Exploring Operation: 27*1=27, Resulting Numbers: [88, 27]
Generated Node #0,3,4: 81:[88, 27] Operation: 27*1=27
Moving to Node #0,3,2
Current State: 81:[27, 87], Operations: ['44/44=1', '88-1=87']
Exploring Operation: 27+87=114, Resulting Numbers: [114]
114,81 unequal: No Solution
Exploring Operation: 27*87=2349, Resulting Numbers: [2349]
2349,81 unequal: No Solution
Exploring Operation: 87-27=60, Resulting Numbers: [60]
60,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[27, 88], Operations: ['44/44=1', '88*1=88']
Exploring Operation: 27*88=2376, Resulting Numbers: [2376]
2376,81 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Exploring Operation: 27+88=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Moving to Node #0,3,4
Current State: 81:[88, 27], Operations: ['44/44=1', '27*1=27']
Exploring Operation: 88*27=2376, Resulting Numbers: [2376]
2376,81 unequal: No Solution
Exploring Operation: 88+27=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[27, 88], Operations: ['44/44=1', '88/1=88']
Exploring Operation: 27*88=2376, Resulting Numbers: [2376]
2376,81 unequal: No Solution
Exploring Operation: 27+88=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[88, 27], Operations: ['44/44=1', '27/1=27']
Exploring Operation: 88*27=2376, Resulting Numbers: [2376]
2376,81 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Exploring Operation: 88+27=115, Resulting Numbers: [115]
115,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[88, 27, 0], Operations: ['44-44=0']
Exploring Operation: 27-0=27, Resulting Numbers: [88, 27]
Generated Node #0,2,0: 81:[88, 27] Operation: 27-0=27
Exploring Operation: 88-0=88, Resulting Numbers: [27, 88]
Generated Node #0,2,1: 81:[27, 88] Operation: 88-0=88
Exploring Operation: 88+0=88, Resulting Numbers: [27, 88]
Generated Node #0,2,2: 81:[27, 88] Operation: 88+0=88
Exploring Operation: 27+0=27, Resulting Numbers: [88, 27]
Generated Node #0,2,3: 81:[88, 27] Operation: 27+0=27
Exploring Operation: 88*0=0, Resulting Numbers: [27, 0]
Generated Node #0,2,4: 81:[27, 0] Operation: 88*0=0
Moving to Node #0,2,4
Current State: 81:[27, 0], Operations: ['44-44=0', '88*0=0']
Exploring Operation: 27+0=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 27*0=0, Resulting Numbers: [0]
0,81 unequal: No Solution
Exploring Operation: 27-0=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[27, 88], Operations: ['44-44=0', '88-0=88']
Exploring Operation: 27*88=2376, Resulting Numbers: [2376]
2376,81 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Exploring Operation: 27+88=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Moving to Node #0,2,3
Current State: 81:[88, 27], Operations: ['44-44=0', '27+0=27']
Exploring Operation: 88+27=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Exploring Operation: 88*27=2376, Resulting Numbers: [2376]
2376,81 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[88, 27], Operations: ['44-44=0', '27-0=27']
Exploring Operation: 88*27=2376, Resulting Numbers: [2376]
2376,81 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Exploring Operation: 88+27=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[27, 88], Operations: ['44-44=0', '88+0=88']
Exploring Operation: 27+88=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Exploring Operation: 27*88=2376, Resulting Numbers: [2376]
2376,81 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[88, 27, 88], Operations: ['44+44=88']
Exploring Operation: 88-27=61, Resulting Numbers: [88, 61]
Generated Node #0,1,0: 81:[88, 61] Operation: 88-27=61
Exploring Operation: 88-88=0, Resulting Numbers: [27, 0]
Generated Node #0,1,1: 81:[27, 0] Operation: 88-88=0
Exploring Operation: 88+27=115, Resulting Numbers: [88, 115]
Generated Node #0,1,2: 81:[88, 115] Operation: 88+27=115
Exploring Operation: 88-27=61, Resulting Numbers: [88, 61]
Generated Node #0,1,3: 81:[88, 61] Operation: 88-27=61
Exploring Operation: 88/88=1, Resulting Numbers: [27, 1]
Generated Node #0,1,4: 81:[27, 1] Operation: 88/88=1
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 81:[27, 1], Operations: ['44+44=88', '88/88=1']
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[27, 0], Operations: ['44+44=88', '88-88=0']
Exploring Operation: 27+0=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 27-0=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 27*0=0, Resulting Numbers: [0]
0,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[88, 61], Operations: ['44+44=88', '88-27=61']
Exploring Operation: 88+61=149, Resulting Numbers: [149]
149,81 unequal: No Solution
Exploring Operation: 88-61=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 88*61=5368, Resulting Numbers: [5368]
5368,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 81:[88, 61], Operations: ['44+44=88', '88-27=61']
Exploring Operation: 88-61=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 88*61=5368, Resulting Numbers: [5368]
5368,81 unequal: No Solution
Exploring Operation: 88+61=149, Resulting Numbers: [149]
149,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 81:[88, 115], Operations: ['44+44=88', '88+27=115']
Exploring Operation: 88+115=203, Resulting Numbers: [203]
203,81 unequal: No Solution
Exploring Operation: 115-88=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 88*115=10120, Resulting Numbers: [10120]
10120,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[44, 27, 2], Operations: ['88/44=2']
Exploring Operation: 44-2=42, Resulting Numbers: [27, 42]
Generated Node #0,0,0: 81:[27, 42] Operation: 44-2=42
Exploring Operation: 44/2=22, Resulting Numbers: [27, 22]
Generated Node #0,0,1: 81:[27, 22] Operation: 44/2=22
Exploring Operation: 44+27=71, Resulting Numbers: [2, 71]
Generated Node #0,0,2: 81:[2, 71] Operation: 44+27=71
Exploring Operation: 44*2=88, Resulting Numbers: [27, 88]
Generated Node #0,0,3: 81:[27, 88] Operation: 44*2=88
Exploring Operation: 44-27=17, Resulting Numbers: [2, 17]
Generated Node #0,0,4: 81:[2, 17] Operation: 44-27=17
Moving to Node #0,0,1
Current State: 81:[27, 22], Operations: ['88/44=2', '44/2=22']
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,81 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 27*22=594, Resulting Numbers: [594]
594,81 unequal: No Solution
Moving to Node #0,0,3
Current State: 81:[27, 88], Operations: ['88/44=2', '44*2=88']
Exploring Operation: 27+88=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Exploring Operation: 27*88=2376, Resulting Numbers: [2376]
2376,81 unequal: No Solution
Moving to Node #0,0,4
Current State: 81:[2, 17], Operations: ['88/44=2', '44-27=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[2, 71], Operations: ['88/44=2', '44+27=71']
Exploring Operation: 2*71=142, Resulting Numbers: [142]
142,81 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,81 unequal: No Solution
Exploring Operation: 2+71=73, Resulting Numbers: [73]
73,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[27, 42], Operations: ['88/44=2', '44-2=42']
Exploring Operation: 27*42=1134, Resulting Numbers: [1134]
1134,81 unequal: No Solution
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 27+42=69, Resulting Numbers: [69]
69,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 81:[44, 27, 2], Operations: ['88/44=2']
Exploring Operation: 44/2=22, Resulting Numbers: [27, 22]
Generated Node #0,4,0: 81:[27, 22] Operation: 44/2=22
Exploring Operation: 44-2=42, Resulting Numbers: [27, 42]
Generated Node #0,4,1: 81:[27, 42] Operation: 44-2=42
Exploring Operation: 44*2=88, Resulting Numbers: [27, 88]
Generated Node #0,4,2: 81:[27, 88] Operation: 44*2=88
Exploring Operation: 44+27=71, Resulting Numbers: [2, 71]
Generated Node #0,4,3: 81:[2, 71] Operation: 44+27=71
Exploring Operation: 44-27=17, Resulting Numbers: [2, 17]
Generated Node #0,4,4: 81:[2, 17] Operation: 44-27=17
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 81:[27, 22], Operations: ['88/44=2', '44/2=22']
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 27*22=594, Resulting Numbers: [594]
594,81 unequal: No Solution
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 81:[27, 88], Operations: ['88/44=2', '44*2=88']
Exploring Operation: 27*88=2376, Resulting Numbers: [2376]
2376,81 unequal: No Solution
Exploring Operation: 27+88=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 81:[2, 17], Operations: ['88/44=2', '44-27=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 81:[2, 71], Operations: ['88/44=2', '44+27=71']
Exploring Operation: 2*71=142, Resulting Numbers: [142]
142,81 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,81 unequal: No Solution
Exploring Operation: 2+71=73, Resulting Numbers: [73]
73,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 81:[27, 42], Operations: ['88/44=2', '44-2=42']
Exploring Operation: 27+42=69, Resulting Numbers: [69]
69,81 unequal: No Solution
Exploring Operation: 27*42=1134, Resulting Numbers: [1134]
1134,81 unequal: No Solution
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
61,
29,
78,
54
] | 66 | [
"61+29=90",
"78-54=24",
"90-24=66"
] | Current State: 66:[61, 29, 78, 54], Operations: []
Exploring Operation: 61+29=90, Resulting Numbers: [78, 54, 90]
Generated Node #2: [78, 54, 90] from Operation: 61+29=90
Current State: 66:[78, 54, 90], Operations: ['61+29=90']
Exploring Operation: 78-54=24, Resulting Numbers: [90, 24]
Generated Node #3: [90, 24] from Operation: 78-54=24
Current State: 66:[90, 24], Operations: ['61+29=90', '78-54=24']
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[61, 29, 78, 54], Operations: []
Exploring Operation: 78-54=24, Resulting Numbers: [61, 29, 24]
Generated Node #0,0: 66:[61, 29, 24] Operation: 78-54=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[61, 29, 24], Operations: ['78-54=24']
Exploring Operation: 61-29=32, Resulting Numbers: [24, 32]
Generated Node #0,0,0: 66:[24, 32] Operation: 61-29=32
Moving to Node #0,0,0
Current State: 66:[24, 32], Operations: ['78-54=24', '61-29=32']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
22,
21,
37,
19
] | 48 | [
"22-19=3",
"37-21=16",
"3*16=48"
] | Current State: 48:[22, 21, 37, 19], Operations: []
Exploring Operation: 22-19=3, Resulting Numbers: [21, 37, 3]
Generated Node #2: [21, 37, 3] from Operation: 22-19=3
Current State: 48:[21, 37, 3], Operations: ['22-19=3']
Exploring Operation: 37-21=16, Resulting Numbers: [3, 16]
Generated Node #3: [3, 16] from Operation: 37-21=16
Current State: 48:[3, 16], Operations: ['22-19=3', '37-21=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[22, 21, 37, 19], Operations: []
Exploring Operation: 37-21=16, Resulting Numbers: [22, 19, 16]
Generated Node #0,0: 48:[22, 19, 16] Operation: 37-21=16
Exploring Operation: 37-22=15, Resulting Numbers: [21, 19, 15]
Generated Node #0,1: 48:[21, 19, 15] Operation: 37-22=15
Moving to Node #0,0
Current State: 48:[22, 19, 16], Operations: ['37-21=16']
Exploring Operation: 19-16=3, Resulting Numbers: [22, 3]
Generated Node #0,0,0: 48:[22, 3] Operation: 19-16=3
Exploring Operation: 22-19=3, Resulting Numbers: [16, 3]
Generated Node #0,0,1: 48:[16, 3] Operation: 22-19=3
Moving to Node #0,1
Current State: 48:[21, 19, 15], Operations: ['37-22=15']
Exploring Operation: 21-19=2, Resulting Numbers: [15, 2]
Generated Node #0,1,0: 48:[15, 2] Operation: 21-19=2
Exploring Operation: 21-15=6, Resulting Numbers: [19, 6]
Generated Node #0,1,1: 48:[19, 6] Operation: 21-15=6
Moving to Node #0,0,1
Current State: 48:[16, 3], Operations: ['37-21=16', '22-19=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[22, 21, 37, 19], Operations: []
Exploring Operation: 37-21=16, Resulting Numbers: [22, 19, 16]
Generated Node #0,0: 48:[22, 19, 16] Operation: 37-21=16
Moving to Node #0,0
Current State: 48:[22, 19, 16], Operations: ['37-21=16']
Exploring Operation: 22-19=3, Resulting Numbers: [16, 3]
Generated Node #0,0,1: 48:[16, 3] Operation: 22-19=3
Moving to Node #0,0,1
Current State: 48:[16, 3], Operations: ['37-21=16', '22-19=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
26,
77,
52,
22
] | 90 | [
"26-22=4",
"52/4=13",
"77+13=90"
] | Current State: 90:[26, 77, 52, 22], Operations: []
Exploring Operation: 26-22=4, Resulting Numbers: [77, 52, 4]
Generated Node #2: [77, 52, 4] from Operation: 26-22=4
Current State: 90:[77, 52, 4], Operations: ['26-22=4']
Exploring Operation: 52/4=13, Resulting Numbers: [77, 13]
Generated Node #3: [77, 13] from Operation: 52/4=13
Current State: 90:[77, 13], Operations: ['26-22=4', '52/4=13']
Exploring Operation: 77+13=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[26, 77, 52, 22], Operations: []
Exploring Operation: 52-22=30, Resulting Numbers: [26, 77, 30]
Generated Node #0,0: 90:[26, 77, 30] Operation: 52-22=30
Exploring Operation: 77-26=51, Resulting Numbers: [52, 22, 51]
Generated Node #0,1: 90:[52, 22, 51] Operation: 77-26=51
Exploring Operation: 52/26=2, Resulting Numbers: [77, 22, 2]
Generated Node #0,2: 90:[77, 22, 2] Operation: 52/26=2
Exploring Operation: 77-52=25, Resulting Numbers: [26, 22, 25]
Generated Node #0,3: 90:[26, 22, 25] Operation: 77-52=25
Moving to Node #0,3
Current State: 90:[26, 22, 25], Operations: ['77-52=25']
Exploring Operation: 25-22=3, Resulting Numbers: [26, 3]
Generated Node #0,3,0: 90:[26, 3] Operation: 25-22=3
Exploring Operation: 22+25=47, Resulting Numbers: [26, 47]
Generated Node #0,3,1: 90:[26, 47] Operation: 22+25=47
Exploring Operation: 26-25=1, Resulting Numbers: [22, 1]
Generated Node #0,3,2: 90:[22, 1] Operation: 26-25=1
Exploring Operation: 26-22=4, Resulting Numbers: [25, 4]
Generated Node #0,3,3: 90:[25, 4] Operation: 26-22=4
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 90:[26, 3], Operations: ['77-52=25', '25-22=3']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,90 unequal: No Solution
No 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: 90:[22, 1], Operations: ['77-52=25', '26-25=1']
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,90 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,90 unequal: No Solution
No 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: 90:[26, 47], Operations: ['77-52=25', '22+25=47']
Exploring Operation: 26*47=1222, Resulting Numbers: [1222]
1222,90 unequal: No Solution
Exploring Operation: 26+47=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,90 unequal: No Solution
No 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: 90:[25, 4], Operations: ['77-52=25', '26-22=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,90 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: 90:[52, 22, 51], Operations: ['77-26=51']
Exploring Operation: 52-22=30, Resulting Numbers: [51, 30]
Generated Node #0,1,0: 90:[51, 30] Operation: 52-22=30
Exploring Operation: 51-22=29, Resulting Numbers: [52, 29]
Generated Node #0,1,1: 90:[52, 29] Operation: 51-22=29
Exploring Operation: 52+51=103, Resulting Numbers: [22, 103]
Generated Node #0,1,2: 90:[22, 103] Operation: 52+51=103
Exploring Operation: 52-51=1, Resulting Numbers: [22, 1]
Generated Node #0,1,3: 90:[22, 1] Operation: 52-51=1
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 90:[22, 1], Operations: ['77-26=51', '52-51=1']
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,90 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,90 unequal: No Solution
No 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: 90:[51, 30], Operations: ['77-26=51', '52-22=30']
Exploring Operation: 51*30=1530, Resulting Numbers: [1530]
1530,90 unequal: No Solution
Exploring Operation: 51+30=81, Resulting Numbers: [81]
81,90 unequal: No Solution
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,90 unequal: No Solution
No 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: 90:[52, 29], Operations: ['77-26=51', '51-22=29']
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 52*29=1508, Resulting Numbers: [1508]
1508,90 unequal: No Solution
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,90 unequal: No Solution
No 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: 90:[22, 103], Operations: ['77-26=51', '52+51=103']
Exploring Operation: 22+103=125, Resulting Numbers: [125]
125,90 unequal: No Solution
Exploring Operation: 22*103=2266, Resulting Numbers: [2266]
2266,90 unequal: No Solution
Exploring Operation: 103-22=81, Resulting Numbers: [81]
81,90 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: 90:[26, 77, 30], Operations: ['52-22=30']
Exploring Operation: 30-26=4, Resulting Numbers: [77, 4]
Generated Node #0,0,0: 90:[77, 4] Operation: 30-26=4
Exploring Operation: 26+77=103, Resulting Numbers: [30, 103]
Generated Node #0,0,1: 90:[30, 103] Operation: 26+77=103
Exploring Operation: 77-26=51, Resulting Numbers: [30, 51]
Generated Node #0,0,2: 90:[30, 51] Operation: 77-26=51
Exploring Operation: 77-30=47, Resulting Numbers: [26, 47]
Generated Node #0,0,3: 90:[26, 47] Operation: 77-30=47
Moving to Node #0,2
Current State: 90:[77, 22, 2], Operations: ['52/26=2']
Exploring Operation: 22/2=11, Resulting Numbers: [77, 11]
Generated Node #0,2,0: 90:[77, 11] Operation: 22/2=11
Exploring Operation: 77+22=99, Resulting Numbers: [2, 99]
Generated Node #0,2,1: 90:[2, 99] Operation: 77+22=99
Exploring Operation: 77-22=55, Resulting Numbers: [2, 55]
Generated Node #0,2,2: 90:[2, 55] Operation: 77-22=55
Exploring Operation: 22*2=44, Resulting Numbers: [77, 44]
Generated Node #0,2,3: 90:[77, 44] Operation: 22*2=44
Moving to Node #0,0,2
Current State: 90:[30, 51], Operations: ['52-22=30', '77-26=51']
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 30+51=81, Resulting Numbers: [81]
81,90 unequal: No Solution
Exploring Operation: 30*51=1530, Resulting Numbers: [1530]
1530,90 unequal: No Solution
Moving to Node #0,0,3
Current State: 90:[26, 47], Operations: ['52-22=30', '77-30=47']
Exploring Operation: 26*47=1222, Resulting Numbers: [1222]
1222,90 unequal: No Solution
Exploring Operation: 26+47=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[2, 99], Operations: ['52/26=2', '77+22=99']
Exploring Operation: 2+99=101, Resulting Numbers: [101]
101,90 unequal: No Solution
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Exploring Operation: 2*99=198, Resulting Numbers: [198]
198,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[2, 55], Operations: ['52/26=2', '77-22=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,90 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[30, 103], Operations: ['52-22=30', '26+77=103']
Exploring Operation: 30*103=3090, Resulting Numbers: [3090]
3090,90 unequal: No Solution
Exploring Operation: 103-30=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 30+103=133, Resulting Numbers: [133]
133,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[77, 11], Operations: ['52/26=2', '22/2=11']
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 77*11=847, Resulting Numbers: [847]
847,90 unequal: No Solution
Exploring Operation: 77+11=88, Resulting Numbers: [88]
88,90 unequal: No Solution
Exploring Operation: 77/11=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[77, 44], Operations: ['52/26=2', '22*2=44']
Exploring Operation: 77-44=33, Resulting Numbers: [33]
33,90 unequal: No Solution
Exploring Operation: 77*44=3388, Resulting Numbers: [3388]
3388,90 unequal: No Solution
Exploring Operation: 77+44=121, Resulting Numbers: [121]
121,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[77, 4], Operations: ['52-22=30', '30-26=4']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 77*4=308, Resulting Numbers: [308]
308,90 unequal: No Solution
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,90 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
24,
74,
86,
59
] | 47 | [
"24+74=98",
"86+59=145",
"145-98=47"
] | Current State: 47:[24, 74, 86, 59], Operations: []
Exploring Operation: 24+74=98, Resulting Numbers: [86, 59, 98]
Generated Node #2: [86, 59, 98] from Operation: 24+74=98
Current State: 47:[86, 59, 98], Operations: ['24+74=98']
Exploring Operation: 86+59=145, Resulting Numbers: [98, 145]
Generated Node #3: [98, 145] from Operation: 86+59=145
Current State: 47:[98, 145], Operations: ['24+74=98', '86+59=145']
Exploring Operation: 145-98=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[24, 74, 86, 59], Operations: []
Exploring Operation: 86-59=27, Resulting Numbers: [24, 74, 27]
Generated Node #0,0: 47:[24, 74, 27] Operation: 86-59=27
Exploring Operation: 74-24=50, Resulting Numbers: [86, 59, 50]
Generated Node #0,1: 47:[86, 59, 50] Operation: 74-24=50
Exploring Operation: 86-74=12, Resulting Numbers: [24, 59, 12]
Generated Node #0,2: 47:[24, 59, 12] Operation: 86-74=12
Exploring Operation: 86-24=62, Resulting Numbers: [74, 59, 62]
Generated Node #0,3: 47:[74, 59, 62] Operation: 86-24=62
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[86, 59, 50], Operations: ['74-24=50']
Exploring Operation: 59-50=9, Resulting Numbers: [86, 9]
Generated Node #0,1,0: 47:[86, 9] Operation: 59-50=9
Exploring Operation: 86-50=36, Resulting Numbers: [59, 36]
Generated Node #0,1,1: 47:[59, 36] Operation: 86-50=36
Exploring Operation: 86-59=27, Resulting Numbers: [50, 27]
Generated Node #0,1,2: 47:[50, 27] Operation: 86-59=27
Exploring Operation: 86+59=145, Resulting Numbers: [50, 145]
Generated Node #0,1,3: 47:[50, 145] Operation: 86+59=145
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[59, 36], Operations: ['74-24=50', '86-50=36']
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 59*36=2124, Resulting Numbers: [2124]
2124,47 unequal: No Solution
Exploring Operation: 59+36=95, Resulting Numbers: [95]
95,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[50, 27], Operations: ['74-24=50', '86-59=27']
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 50*27=1350, Resulting Numbers: [1350]
1350,47 unequal: No Solution
Exploring Operation: 50+27=77, Resulting Numbers: [77]
77,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[86, 9], Operations: ['74-24=50', '59-50=9']
Exploring Operation: 86+9=95, Resulting Numbers: [95]
95,47 unequal: No Solution
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 86*9=774, Resulting Numbers: [774]
774,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 47:[50, 145], Operations: ['74-24=50', '86+59=145']
Exploring Operation: 145-50=95, Resulting Numbers: [95]
95,47 unequal: No Solution
Exploring Operation: 50+145=195, Resulting Numbers: [195]
195,47 unequal: No Solution
Exploring Operation: 50*145=7250, Resulting Numbers: [7250]
7250,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[74, 59, 62], Operations: ['86-24=62']
Exploring Operation: 74+59=133, Resulting Numbers: [62, 133]
Generated Node #0,3,0: 47:[62, 133] Operation: 74+59=133
Exploring Operation: 74-62=12, Resulting Numbers: [59, 12]
Generated Node #0,3,1: 47:[59, 12] Operation: 74-62=12
Exploring Operation: 62-59=3, Resulting Numbers: [74, 3]
Generated Node #0,3,2: 47:[74, 3] Operation: 62-59=3
Exploring Operation: 74-59=15, Resulting Numbers: [62, 15]
Generated Node #0,3,3: 47:[62, 15] Operation: 74-59=15
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 47:[59, 12], Operations: ['86-24=62', '74-62=12']
Exploring Operation: 59-12=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[24, 74, 86, 59], Operations: []
Exploring Operation: 86-24=62, Resulting Numbers: [74, 59, 62]
Generated Node #0,3: 47:[74, 59, 62] Operation: 86-24=62
Moving to Node #0,3
Current State: 47:[74, 59, 62], Operations: ['86-24=62']
Exploring Operation: 74-62=12, Resulting Numbers: [59, 12]
Generated Node #0,3,1: 47:[59, 12] Operation: 74-62=12
Moving to Node #0,3,1
Current State: 47:[59, 12], Operations: ['86-24=62', '74-62=12']
Exploring Operation: 59-12=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
84,
20,
85,
72
] | 93 | [
"84-20=64",
"85+72=157",
"157-64=93"
] | Current State: 93:[84, 20, 85, 72], Operations: []
Exploring Operation: 84-20=64, Resulting Numbers: [85, 72, 64]
Generated Node #2: [85, 72, 64] from Operation: 84-20=64
Current State: 93:[85, 72, 64], Operations: ['84-20=64']
Exploring Operation: 85+72=157, Resulting Numbers: [64, 157]
Generated Node #3: [64, 157] from Operation: 85+72=157
Current State: 93:[64, 157], Operations: ['84-20=64', '85+72=157']
Exploring Operation: 157-64=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[84, 20, 85, 72], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [20, 72, 1]
Generated Node #0,0: 93:[20, 72, 1] Operation: 85-84=1
Exploring Operation: 85-72=13, Resulting Numbers: [84, 20, 13]
Generated Node #0,1: 93:[84, 20, 13] Operation: 85-72=13
Exploring Operation: 20+72=92, Resulting Numbers: [84, 85, 92]
Generated Node #0,2: 93:[84, 85, 92] Operation: 20+72=92
Exploring Operation: 84-72=12, Resulting Numbers: [20, 85, 12]
Generated Node #0,3: 93:[20, 85, 12] Operation: 84-72=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[84, 85, 92], Operations: ['20+72=92']
Exploring Operation: 84+85=169, Resulting Numbers: [92, 169]
Generated Node #0,2,0: 93:[92, 169] Operation: 84+85=169
Exploring Operation: 92-85=7, Resulting Numbers: [84, 7]
Generated Node #0,2,1: 93:[84, 7] Operation: 92-85=7
Exploring Operation: 92-84=8, Resulting Numbers: [85, 8]
Generated Node #0,2,2: 93:[85, 8] Operation: 92-84=8
Exploring Operation: 85-84=1, Resulting Numbers: [92, 1]
Generated Node #0,2,3: 93:[92, 1] Operation: 85-84=1
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 93:[92, 1], Operations: ['20+72=92', '85-84=1']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,93 unequal: No Solution
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[84, 20, 85, 72], Operations: []
Exploring Operation: 20+72=92, Resulting Numbers: [84, 85, 92]
Generated Node #0,2: 93:[84, 85, 92] Operation: 20+72=92
Moving to Node #0,2
Current State: 93:[84, 85, 92], Operations: ['20+72=92']
Exploring Operation: 85-84=1, Resulting Numbers: [92, 1]
Generated Node #0,2,3: 93:[92, 1] Operation: 85-84=1
Moving to Node #0,2,3
Current State: 93:[92, 1], Operations: ['20+72=92', '85-84=1']
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
25,
19,
17,
13
] | 37 | [
"19-17=2",
"25*2=50",
"50-13=37"
] | Current State: 37:[25, 19, 17, 13], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [25, 13, 2]
Generated Node #2: [25, 13, 2] from Operation: 19-17=2
Current State: 37:[25, 13, 2], Operations: ['19-17=2']
Exploring Operation: 25*2=50, Resulting Numbers: [13, 50]
Generated Node #3: [13, 50] from Operation: 25*2=50
Current State: 37:[13, 50], Operations: ['19-17=2', '25*2=50']
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[25, 19, 17, 13], Operations: []
Exploring Operation: 19+13=32, Resulting Numbers: [25, 17, 32]
Generated Node #0,0: 37:[25, 17, 32] Operation: 19+13=32
Exploring Operation: 19+17=36, Resulting Numbers: [25, 13, 36]
Generated Node #0,1: 37:[25, 13, 36] Operation: 19+17=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[25, 17, 32], Operations: ['19+13=32']
Exploring Operation: 17+32=49, Resulting Numbers: [25, 49]
Generated Node #0,0,0: 37:[25, 49] Operation: 17+32=49
Exploring Operation: 25+17=42, Resulting Numbers: [32, 42]
Generated Node #0,0,1: 37:[32, 42] Operation: 25+17=42
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[32, 42], Operations: ['19+13=32', '25+17=42']
Exploring Operation: 32+42=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[25, 49], Operations: ['19+13=32', '17+32=49']
Exploring Operation: 25+49=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[25, 13, 36], Operations: ['19+17=36']
Exploring Operation: 13+36=49, Resulting Numbers: [25, 49]
Generated Node #0,1,0: 37:[25, 49] Operation: 13+36=49
Exploring Operation: 25+13=38, Resulting Numbers: [36, 38]
Generated Node #0,1,1: 37:[36, 38] Operation: 25+13=38
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[36, 38], Operations: ['19+17=36', '25+13=38']
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 36+38=74, Resulting Numbers: [74]
74,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[25, 49], Operations: ['19+17=36', '13+36=49']
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 25+49=74, Resulting Numbers: [74]
74,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
13,
75,
9,
53
] | 11 | [
"13*9=117",
"75+53=128",
"128-117=11"
] | Current State: 11:[13, 75, 9, 53], Operations: []
Exploring Operation: 13*9=117, Resulting Numbers: [75, 53, 117]
Generated Node #2: [75, 53, 117] from Operation: 13*9=117
Current State: 11:[75, 53, 117], Operations: ['13*9=117']
Exploring Operation: 75+53=128, Resulting Numbers: [117, 128]
Generated Node #3: [117, 128] from Operation: 75+53=128
Current State: 11:[117, 128], Operations: ['13*9=117', '75+53=128']
Exploring Operation: 128-117=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[13, 75, 9, 53], Operations: []
Exploring Operation: 53-13=40, Resulting Numbers: [75, 9, 40]
Generated Node #0,0: 11:[75, 9, 40] Operation: 53-13=40
Exploring Operation: 75-53=22, Resulting Numbers: [13, 9, 22]
Generated Node #0,1: 11:[13, 9, 22] Operation: 75-53=22
Exploring Operation: 75-13=62, Resulting Numbers: [9, 53, 62]
Generated Node #0,2: 11:[9, 53, 62] Operation: 75-13=62
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[13, 9, 22], Operations: ['75-53=22']
Exploring Operation: 22-9=13, Resulting Numbers: [13, 13]
Generated Node #0,1,0: 11:[13, 13] Operation: 22-9=13
Exploring Operation: 22-13=9, Resulting Numbers: [9, 9]
Generated Node #0,1,1: 11:[9, 9] Operation: 22-13=9
Exploring Operation: 13-9=4, Resulting Numbers: [22, 4]
Generated Node #0,1,2: 11:[22, 4] Operation: 13-9=4
Moving to Node #0,1,0
Current State: 11:[13, 13], Operations: ['75-53=22', '22-9=13']
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[9, 9], Operations: ['75-53=22', '22-13=9']
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[22, 4], Operations: ['75-53=22', '13-9=4']
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,11 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,11 unequal: No Solution
No 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: 11:[75, 9, 40], Operations: ['53-13=40']
Exploring Operation: 75-40=35, Resulting Numbers: [9, 35]
Generated Node #0,0,0: 11:[9, 35] Operation: 75-40=35
Exploring Operation: 75-9=66, Resulting Numbers: [40, 66]
Generated Node #0,0,1: 11:[40, 66] Operation: 75-9=66
Exploring Operation: 40-9=31, Resulting Numbers: [75, 31]
Generated Node #0,0,2: 11:[75, 31] Operation: 40-9=31
Moving to Node #0,0,0
Current State: 11:[9, 35], Operations: ['53-13=40', '75-40=35']
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,11 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[40, 66], Operations: ['53-13=40', '75-9=66']
Exploring Operation: 40*66=2640, Resulting Numbers: [2640]
2640,11 unequal: No Solution
Exploring Operation: 66-40=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 40+66=106, Resulting Numbers: [106]
106,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[75, 31], Operations: ['53-13=40', '40-9=31']
Exploring Operation: 75-31=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 75+31=106, Resulting Numbers: [106]
106,11 unequal: No Solution
Exploring Operation: 75*31=2325, Resulting Numbers: [2325]
2325,11 unequal: No Solution
No 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: 11:[9, 53, 62], Operations: ['75-13=62']
Exploring Operation: 62-53=9, Resulting Numbers: [9, 9]
Generated Node #0,2,0: 11:[9, 9] Operation: 62-53=9
Exploring Operation: 62-9=53, Resulting Numbers: [53, 53]
Generated Node #0,2,1: 11:[53, 53] Operation: 62-9=53
Exploring Operation: 53-9=44, Resulting Numbers: [62, 44]
Generated Node #0,2,2: 11:[62, 44] Operation: 53-9=44
Moving to Node #0,2,0
Current State: 11:[9, 9], Operations: ['75-13=62', '62-53=9']
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[53, 53], Operations: ['75-13=62', '62-9=53']
Exploring Operation: 53-53=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Exploring Operation: 53+53=106, Resulting Numbers: [106]
106,11 unequal: No Solution
Exploring Operation: 53/53=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[62, 44], Operations: ['75-13=62', '53-9=44']
Exploring Operation: 62*44=2728, Resulting Numbers: [2728]
2728,11 unequal: No Solution
Exploring Operation: 62+44=106, Resulting Numbers: [106]
106,11 unequal: No Solution
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
74,
37,
23,
37
] | 24 | [
"74-37=37",
"37/37=1",
"23+1=24"
] | Current State: 24:[74, 37, 23, 37], Operations: []
Exploring Operation: 74-37=37, Resulting Numbers: [23, 37]
Generated Node #2: [23, 37] from Operation: 74-37=37
Current State: 24:[23, 37], Operations: ['74-37=37']
Exploring Operation: 37/37=1, Resulting Numbers: [23, 1]
Generated Node #3: [23, 1] from Operation: 37/37=1
Current State: 24:[23, 1], Operations: ['74-37=37', '37/37=1']
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[74, 37, 23, 37], Operations: []
Exploring Operation: 74/37=2, Resulting Numbers: [37, 23, 2]
Generated Node #0,0: 24:[37, 23, 2] Operation: 74/37=2
Exploring Operation: 74/37=2, Resulting Numbers: [23, 37, 2]
Generated Node #0,1: 24:[23, 37, 2] Operation: 74/37=2
Exploring Operation: 74-37=37, Resulting Numbers: [23, 37, 37]
Generated Node #0,2: 24:[23, 37, 37] Operation: 74-37=37
Moving to Node #0,0
Current State: 24:[37, 23, 2], Operations: ['74/37=2']
Exploring Operation: 23+2=25, Resulting Numbers: [37, 25]
Generated Node #0,0,0: 24:[37, 25] Operation: 23+2=25
Exploring Operation: 37-2=35, Resulting Numbers: [23, 35]
Generated Node #0,0,1: 24:[23, 35] Operation: 37-2=35
Exploring Operation: 37-23=14, Resulting Numbers: [2, 14]
Generated Node #0,0,2: 24:[2, 14] Operation: 37-23=14
Moving to Node #0,1
Current State: 24:[23, 37, 2], Operations: ['74/37=2']
Exploring Operation: 37-2=35, Resulting Numbers: [23, 35]
Generated Node #0,1,0: 24:[23, 35] Operation: 37-2=35
Exploring Operation: 23+2=25, Resulting Numbers: [37, 25]
Generated Node #0,1,1: 24:[37, 25] Operation: 23+2=25
Exploring Operation: 37-23=14, Resulting Numbers: [2, 14]
Generated Node #0,1,2: 24:[2, 14] Operation: 37-23=14
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[2, 14], Operations: ['74/37=2', '37-23=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[23, 35], Operations: ['74/37=2', '37-2=35']
Exploring Operation: 23+35=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 23*35=805, Resulting Numbers: [805]
805,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[37, 25], Operations: ['74/37=2', '23+2=25']
Exploring Operation: 37*25=925, Resulting Numbers: [925]
925,24 unequal: No Solution
Exploring Operation: 37+25=62, Resulting Numbers: [62]
62,24 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,24 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: 24:[23, 37, 37], Operations: ['74-37=37']
Exploring Operation: 37-23=14, Resulting Numbers: [37, 14]
Generated Node #0,2,0: 24:[37, 14] Operation: 37-23=14
Exploring Operation: 37-37=0, Resulting Numbers: [23, 0]
Generated Node #0,2,1: 24:[23, 0] Operation: 37-37=0
Exploring Operation: 37/37=1, Resulting Numbers: [23, 1]
Generated Node #0,2,2: 24:[23, 1] Operation: 37/37=1
Moving to Node #0,0,2
Current State: 24:[2, 14], Operations: ['74/37=2', '37-23=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[23, 1], Operations: ['74-37=37', '37/37=1']
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[74, 37, 23, 37], Operations: []
Exploring Operation: 74-37=37, Resulting Numbers: [23, 37, 37]
Generated Node #0,2: 24:[23, 37, 37] Operation: 74-37=37
Moving to Node #0,2
Current State: 24:[23, 37, 37], Operations: ['74-37=37']
Exploring Operation: 37/37=1, Resulting Numbers: [23, 1]
Generated Node #0,2,2: 24:[23, 1] Operation: 37/37=1
Moving to Node #0,2,2
Current State: 24:[23, 1], Operations: ['74-37=37', '37/37=1']
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.97309 | hs_3 | sum_heuristic |
[
29,
84,
39,
25
] | 35 | [
"39-25=14",
"84/14=6",
"29+6=35"
] | Current State: 35:[29, 84, 39, 25], Operations: []
Exploring Operation: 39-25=14, Resulting Numbers: [29, 84, 14]
Generated Node #2: [29, 84, 14] from Operation: 39-25=14
Current State: 35:[29, 84, 14], Operations: ['39-25=14']
Exploring Operation: 84/14=6, Resulting Numbers: [29, 6]
Generated Node #3: [29, 6] from Operation: 84/14=6
Current State: 35:[29, 6], Operations: ['39-25=14', '84/14=6']
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[29, 84, 39, 25], Operations: []
Exploring Operation: 84-25=59, Resulting Numbers: [29, 39, 59]
Generated Node #0,0: 35:[29, 39, 59] Operation: 84-25=59
Exploring Operation: 84-39=45, Resulting Numbers: [29, 25, 45]
Generated Node #0,1: 35:[29, 25, 45] Operation: 84-39=45
Exploring Operation: 29-25=4, Resulting Numbers: [84, 39, 4]
Generated Node #0,2: 35:[84, 39, 4] Operation: 29-25=4
Exploring Operation: 84-29=55, Resulting Numbers: [39, 25, 55]
Generated Node #0,3: 35:[39, 25, 55] Operation: 84-29=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[29, 25, 45], Operations: ['84-39=45']
Exploring Operation: 45-29=16, Resulting Numbers: [25, 16]
Generated Node #0,1,0: 35:[25, 16] Operation: 45-29=16
Exploring Operation: 29-25=4, Resulting Numbers: [45, 4]
Generated Node #0,1,1: 35:[45, 4] Operation: 29-25=4
Exploring Operation: 29+25=54, Resulting Numbers: [45, 54]
Generated Node #0,1,2: 35:[45, 54] Operation: 29+25=54
Exploring Operation: 45-25=20, Resulting Numbers: [29, 20]
Generated Node #0,1,3: 35:[29, 20] Operation: 45-25=20
Moving to Node #0,1,1
Current State: 35:[45, 4], Operations: ['84-39=45', '29-25=4']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,35 unequal: No Solution
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[29, 20], Operations: ['84-39=45', '45-25=20']
Exploring Operation: 29*20=580, Resulting Numbers: [580]
580,35 unequal: No Solution
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[25, 16], Operations: ['84-39=45', '45-29=16']
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,35 unequal: No Solution
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[45, 54], Operations: ['84-39=45', '29+25=54']
Exploring Operation: 54-45=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 45*54=2430, Resulting Numbers: [2430]
2430,35 unequal: No Solution
Exploring Operation: 45+54=99, Resulting Numbers: [99]
99,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[29, 39, 59], Operations: ['84-25=59']
Exploring Operation: 29+39=68, Resulting Numbers: [59, 68]
Generated Node #0,0,0: 35:[59, 68] Operation: 29+39=68
Exploring Operation: 59-29=30, Resulting Numbers: [39, 30]
Generated Node #0,0,1: 35:[39, 30] Operation: 59-29=30
Exploring Operation: 59-39=20, Resulting Numbers: [29, 20]
Generated Node #0,0,2: 35:[29, 20] Operation: 59-39=20
Exploring Operation: 39-29=10, Resulting Numbers: [59, 10]
Generated Node #0,0,3: 35:[59, 10] Operation: 39-29=10
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 35:[39, 30], Operations: ['84-25=59', '59-29=30']
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,35 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 39*30=1170, Resulting Numbers: [1170]
1170,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 35:[29, 20], Operations: ['84-25=59', '59-39=20']
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Exploring Operation: 29*20=580, Resulting Numbers: [580]
580,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 35:[59, 10], Operations: ['84-25=59', '39-29=10']
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Exploring Operation: 59+10=69, Resulting Numbers: [69]
69,35 unequal: No Solution
Exploring Operation: 59*10=590, Resulting Numbers: [590]
590,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[59, 68], Operations: ['84-25=59', '29+39=68']
Exploring Operation: 68-59=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 59*68=4012, Resulting Numbers: [4012]
4012,35 unequal: No Solution
Exploring Operation: 59+68=127, Resulting Numbers: [127]
127,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[39, 25, 55], Operations: ['84-29=55']
Exploring Operation: 55-25=30, Resulting Numbers: [39, 30]
Generated Node #0,3,0: 35:[39, 30] Operation: 55-25=30
Exploring Operation: 39+25=64, Resulting Numbers: [55, 64]
Generated Node #0,3,1: 35:[55, 64] Operation: 39+25=64
Exploring Operation: 39-25=14, Resulting Numbers: [55, 14]
Generated Node #0,3,2: 35:[55, 14] Operation: 39-25=14
Exploring Operation: 55-39=16, Resulting Numbers: [25, 16]
Generated Node #0,3,3: 35:[25, 16] Operation: 55-39=16
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 35:[39, 30], Operations: ['84-29=55', '55-25=30']
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 39*30=1170, Resulting Numbers: [1170]
1170,35 unequal: No Solution
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 35:[25, 16], Operations: ['84-29=55', '55-39=16']
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,35 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 35:[55, 14], Operations: ['84-29=55', '39-25=14']
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 55*14=770, Resulting Numbers: [770]
770,35 unequal: No Solution
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 35:[55, 64], Operations: ['84-29=55', '39+25=64']
Exploring Operation: 55*64=3520, Resulting Numbers: [3520]
3520,35 unequal: No Solution
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 55+64=119, Resulting Numbers: [119]
119,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[84, 39, 4], Operations: ['29-25=4']
Exploring Operation: 84/4=21, Resulting Numbers: [39, 21]
Generated Node #0,2,0: 35:[39, 21] Operation: 84/4=21
Exploring Operation: 84-39=45, Resulting Numbers: [4, 45]
Generated Node #0,2,1: 35:[4, 45] Operation: 84-39=45
Exploring Operation: 39-4=35, Resulting Numbers: [84, 35]
Generated Node #0,2,2: 35:[84, 35] Operation: 39-4=35
Exploring Operation: 84-4=80, Resulting Numbers: [39, 80]
Generated Node #0,2,3: 35:[39, 80] Operation: 84-4=80
Moving to Node #0,2,1
Current State: 35:[4, 45], Operations: ['29-25=4', '84-39=45']
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,35 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[39, 21], Operations: ['29-25=4', '84/4=21']
Exploring Operation: 39*21=819, Resulting Numbers: [819]
819,35 unequal: No Solution
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 39+21=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Moving to Node #0,2,3
Current State: 35:[39, 80], Operations: ['29-25=4', '84-4=80']
Exploring Operation: 39*80=3120, Resulting Numbers: [3120]
3120,35 unequal: No Solution
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 39+80=119, Resulting Numbers: [119]
119,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[84, 35], Operations: ['29-25=4', '39-4=35']
Exploring Operation: 84*35=2940, Resulting Numbers: [2940]
2940,35 unequal: No Solution
Exploring Operation: 84+35=119, Resulting Numbers: [119]
119,35 unequal: No Solution
Exploring Operation: 84-35=49, Resulting Numbers: [49]
49,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
24,
71,
98,
99
] | 95 | [
"24+71=95",
"99-98=1",
"95*1=95"
] | Current State: 95:[24, 71, 98, 99], Operations: []
Exploring Operation: 24+71=95, Resulting Numbers: [98, 99, 95]
Generated Node #2: [98, 99, 95] from Operation: 24+71=95
Current State: 95:[98, 99, 95], Operations: ['24+71=95']
Exploring Operation: 99-98=1, Resulting Numbers: [95, 1]
Generated Node #3: [95, 1] from Operation: 99-98=1
Current State: 95:[95, 1], Operations: ['24+71=95', '99-98=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[24, 71, 98, 99], Operations: []
Exploring Operation: 24+71=95, Resulting Numbers: [98, 99, 95]
Generated Node #0,0: 95:[98, 99, 95] Operation: 24+71=95
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[98, 99, 95], Operations: ['24+71=95']
Exploring Operation: 99-98=1, Resulting Numbers: [95, 1]
Generated Node #0,0,0: 95:[95, 1] Operation: 99-98=1
Moving to Node #0,0,0
Current State: 95:[95, 1], Operations: ['24+71=95', '99-98=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[24, 71, 98, 99], Operations: []
Exploring Operation: 24+71=95, Resulting Numbers: [98, 99, 95]
Generated Node #0,0: 95:[98, 99, 95] Operation: 24+71=95
Moving to Node #0,0
Current State: 95:[98, 99, 95], Operations: ['24+71=95']
Exploring Operation: 99-98=1, Resulting Numbers: [95, 1]
Generated Node #0,0,0: 95:[95, 1] Operation: 99-98=1
Moving to Node #0,0,0
Current State: 95:[95, 1], Operations: ['24+71=95', '99-98=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
2,
41,
93,
59
] | 85 | [
"93-41=52",
"52/2=26",
"59+26=85"
] | Current State: 85:[2, 41, 93, 59], Operations: []
Exploring Operation: 93-41=52, Resulting Numbers: [2, 59, 52]
Generated Node #2: [2, 59, 52] from Operation: 93-41=52
Current State: 85:[2, 59, 52], Operations: ['93-41=52']
Exploring Operation: 52/2=26, Resulting Numbers: [59, 26]
Generated Node #3: [59, 26] from Operation: 52/2=26
Current State: 85:[59, 26], Operations: ['93-41=52', '52/2=26']
Exploring Operation: 59+26=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[2, 41, 93, 59], Operations: []
Exploring Operation: 93-59=34, Resulting Numbers: [2, 41, 34]
Generated Node #0,0: 85:[2, 41, 34] Operation: 93-59=34
Exploring Operation: 59-41=18, Resulting Numbers: [2, 93, 18]
Generated Node #0,1: 85:[2, 93, 18] Operation: 59-41=18
Exploring Operation: 2*41=82, Resulting Numbers: [93, 59, 82]
Generated Node #0,2: 85:[93, 59, 82] Operation: 2*41=82
Exploring Operation: 41+59=100, Resulting Numbers: [2, 93, 100]
Generated Node #0,3: 85:[2, 93, 100] Operation: 41+59=100
Exploring Operation: 41-2=39, Resulting Numbers: [93, 59, 39]
Generated Node #0,4: 85:[93, 59, 39] Operation: 41-2=39
Moving to Node #0,1
Current State: 85:[2, 93, 18], Operations: ['59-41=18']
Exploring Operation: 18-2=16, Resulting Numbers: [93, 16]
Generated Node #0,1,0: 85:[93, 16] Operation: 18-2=16
Exploring Operation: 18/2=9, Resulting Numbers: [93, 9]
Generated Node #0,1,1: 85:[93, 9] Operation: 18/2=9
Exploring Operation: 2+18=20, Resulting Numbers: [93, 20]
Generated Node #0,1,2: 85:[93, 20] Operation: 2+18=20
Exploring Operation: 93-2=91, Resulting Numbers: [18, 91]
Generated Node #0,1,3: 85:[18, 91] Operation: 93-2=91
Exploring Operation: 2+93=95, Resulting Numbers: [18, 95]
Generated Node #0,1,4: 85:[18, 95] Operation: 2+93=95
Moving to Node #0,3
Current State: 85:[2, 93, 100], Operations: ['41+59=100']
Exploring Operation: 100-93=7, Resulting Numbers: [2, 7]
Generated Node #0,3,0: 85:[2, 7] Operation: 100-93=7
Exploring Operation: 2+100=102, Resulting Numbers: [93, 102]
Generated Node #0,3,1: 85:[93, 102] Operation: 2+100=102
Exploring Operation: 93-2=91, Resulting Numbers: [100, 91]
Generated Node #0,3,2: 85:[100, 91] Operation: 93-2=91
Exploring Operation: 100-2=98, Resulting Numbers: [93, 98]
Generated Node #0,3,3: 85:[93, 98] Operation: 100-2=98
Exploring Operation: 2+93=95, Resulting Numbers: [100, 95]
Generated Node #0,3,4: 85:[100, 95] Operation: 2+93=95
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 85:[2, 7], Operations: ['41+59=100', '100-93=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,85 unequal: No Solution
No 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: 85:[100, 91], Operations: ['41+59=100', '93-2=91']
Exploring Operation: 100-91=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 100+91=191, Resulting Numbers: [191]
191,85 unequal: No Solution
Exploring Operation: 100*91=9100, Resulting Numbers: [9100]
9100,85 unequal: No Solution
No 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: 85:[93, 98], Operations: ['41+59=100', '100-2=98']
Exploring Operation: 93+98=191, Resulting Numbers: [191]
191,85 unequal: No Solution
Exploring Operation: 93*98=9114, Resulting Numbers: [9114]
9114,85 unequal: No Solution
Exploring Operation: 98-93=5, Resulting Numbers: [5]
5,85 unequal: No Solution
No 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: 85:[93, 102], Operations: ['41+59=100', '2+100=102']
Exploring Operation: 93+102=195, Resulting Numbers: [195]
195,85 unequal: No Solution
Exploring Operation: 102-93=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 93*102=9486, Resulting Numbers: [9486]
9486,85 unequal: No Solution
No 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: 85:[100, 95], Operations: ['41+59=100', '2+93=95']
Exploring Operation: 100+95=195, Resulting Numbers: [195]
195,85 unequal: No Solution
Exploring Operation: 100*95=9500, Resulting Numbers: [9500]
9500,85 unequal: No Solution
Exploring Operation: 100-95=5, Resulting Numbers: [5]
5,85 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: 85:[93, 59, 82], Operations: ['2*41=82']
Exploring Operation: 93+59=152, Resulting Numbers: [82, 152]
Generated Node #0,2,0: 85:[82, 152] Operation: 93+59=152
Exploring Operation: 93-82=11, Resulting Numbers: [59, 11]
Generated Node #0,2,1: 85:[59, 11] Operation: 93-82=11
Exploring Operation: 59+82=141, Resulting Numbers: [93, 141]
Generated Node #0,2,2: 85:[93, 141] Operation: 59+82=141
Exploring Operation: 93-59=34, Resulting Numbers: [82, 34]
Generated Node #0,2,3: 85:[82, 34] Operation: 93-59=34
Exploring Operation: 82-59=23, Resulting Numbers: [93, 23]
Generated Node #0,2,4: 85:[93, 23] Operation: 82-59=23
Moving to Node #0,0
Current State: 85:[2, 41, 34], Operations: ['93-59=34']
Exploring Operation: 41-2=39, Resulting Numbers: [34, 39]
Generated Node #0,0,0: 85:[34, 39] Operation: 41-2=39
Exploring Operation: 41-34=7, Resulting Numbers: [2, 7]
Generated Node #0,0,1: 85:[2, 7] Operation: 41-34=7
Exploring Operation: 34/2=17, Resulting Numbers: [41, 17]
Generated Node #0,0,2: 85:[41, 17] Operation: 34/2=17
Exploring Operation: 2*41=82, Resulting Numbers: [34, 82]
Generated Node #0,0,3: 85:[34, 82] Operation: 2*41=82
Exploring Operation: 41+34=75, Resulting Numbers: [2, 75]
Generated Node #0,0,4: 85:[2, 75] Operation: 41+34=75
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[2, 7], Operations: ['93-59=34', '41-34=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,85 unequal: No Solution
No 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: 85:[2, 75], Operations: ['93-59=34', '41+34=75']
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,85 unequal: No Solution
Exploring Operation: 2*75=150, Resulting Numbers: [150]
150,85 unequal: No Solution
No 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: 85:[34, 82], Operations: ['93-59=34', '2*41=82']
Exploring Operation: 34*82=2788, Resulting Numbers: [2788]
2788,85 unequal: No Solution
Exploring Operation: 34+82=116, Resulting Numbers: [116]
116,85 unequal: No Solution
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,85 unequal: No Solution
No 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: 85:[41, 17], Operations: ['93-59=34', '34/2=17']
Exploring Operation: 41+17=58, Resulting Numbers: [58]
58,85 unequal: No Solution
Exploring Operation: 41*17=697, Resulting Numbers: [697]
697,85 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,85 unequal: No Solution
No 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: 85:[34, 39], Operations: ['93-59=34', '41-2=39']
Exploring Operation: 34+39=73, Resulting Numbers: [73]
73,85 unequal: No Solution
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 34*39=1326, Resulting Numbers: [1326]
1326,85 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: 85:[93, 59, 39], Operations: ['41-2=39']
Exploring Operation: 93-59=34, Resulting Numbers: [39, 34]
Generated Node #0,4,0: 85:[39, 34] Operation: 93-59=34
Exploring Operation: 93+39=132, Resulting Numbers: [59, 132]
Generated Node #0,4,1: 85:[59, 132] Operation: 93+39=132
Exploring Operation: 59+39=98, Resulting Numbers: [93, 98]
Generated Node #0,4,2: 85:[93, 98] Operation: 59+39=98
Exploring Operation: 59-39=20, Resulting Numbers: [93, 20]
Generated Node #0,4,3: 85:[93, 20] Operation: 59-39=20
Exploring Operation: 93-39=54, Resulting Numbers: [59, 54]
Generated Node #0,4,4: 85:[59, 54] Operation: 93-39=54
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 85:[93, 20], Operations: ['41-2=39', '59-39=20']
Exploring Operation: 93+20=113, Resulting Numbers: [113]
113,85 unequal: No Solution
Exploring Operation: 93-20=73, Resulting Numbers: [73]
73,85 unequal: No Solution
Exploring Operation: 93*20=1860, Resulting Numbers: [1860]
1860,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 85:[93, 98], Operations: ['41-2=39', '59+39=98']
Exploring Operation: 93+98=191, Resulting Numbers: [191]
191,85 unequal: No Solution
Exploring Operation: 98-93=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 93*98=9114, Resulting Numbers: [9114]
9114,85 unequal: No Solution
No 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: 85:[39, 34], Operations: ['41-2=39', '93-59=34']
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 39*34=1326, Resulting Numbers: [1326]
1326,85 unequal: No Solution
Exploring Operation: 39+34=73, Resulting Numbers: [73]
73,85 unequal: No Solution
No 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: 85:[59, 54], Operations: ['41-2=39', '93-39=54']
Exploring Operation: 59-54=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 59*54=3186, Resulting Numbers: [3186]
3186,85 unequal: No Solution
Exploring Operation: 59+54=113, Resulting Numbers: [113]
113,85 unequal: No Solution
No 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: 85:[59, 132], Operations: ['41-2=39', '93+39=132']
Exploring Operation: 59+132=191, Resulting Numbers: [191]
191,85 unequal: No Solution
Exploring Operation: 59*132=7788, Resulting Numbers: [7788]
7788,85 unequal: No Solution
Exploring Operation: 132-59=73, Resulting Numbers: [73]
73,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 85:[18, 91], Operations: ['59-41=18', '93-2=91']
Exploring Operation: 18+91=109, Resulting Numbers: [109]
109,85 unequal: No Solution
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,85 unequal: No Solution
Exploring Operation: 18*91=1638, Resulting Numbers: [1638]
1638,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[93, 16], Operations: ['59-41=18', '18-2=16']
Exploring Operation: 93-16=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 93*16=1488, Resulting Numbers: [1488]
1488,85 unequal: No Solution
Exploring Operation: 93+16=109, Resulting Numbers: [109]
109,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[93, 20], Operations: ['59-41=18', '2+18=20']
Exploring Operation: 93*20=1860, Resulting Numbers: [1860]
1860,85 unequal: No Solution
Exploring Operation: 93-20=73, Resulting Numbers: [73]
73,85 unequal: No Solution
Exploring Operation: 93+20=113, Resulting Numbers: [113]
113,85 unequal: No Solution
Moving to Node #0,1,4
Current State: 85:[18, 95], Operations: ['59-41=18', '2+93=95']
Exploring Operation: 95-18=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 18*95=1710, Resulting Numbers: [1710]
1710,85 unequal: No Solution
Exploring Operation: 18+95=113, Resulting Numbers: [113]
113,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[93, 9], Operations: ['59-41=18', '18/2=9']
Exploring Operation: 93*9=837, Resulting Numbers: [837]
837,85 unequal: No Solution
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 93+9=102, Resulting Numbers: [102]
102,85 unequal: No Solution
Moving to Node #0,2,4
Current State: 85:[93, 23], Operations: ['2*41=82', '82-59=23']
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,85 unequal: No Solution
Exploring Operation: 93+23=116, Resulting Numbers: [116]
116,85 unequal: No Solution
Exploring Operation: 93*23=2139, Resulting Numbers: [2139]
2139,85 unequal: No Solution
Moving to Node #0,2,3
Current State: 85:[82, 34], Operations: ['2*41=82', '93-59=34']
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,85 unequal: No Solution
Exploring Operation: 82+34=116, Resulting Numbers: [116]
116,85 unequal: No Solution
Exploring Operation: 82*34=2788, Resulting Numbers: [2788]
2788,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[59, 11], Operations: ['2*41=82', '93-82=11']
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,85 unequal: No Solution
Exploring Operation: 59*11=649, Resulting Numbers: [649]
649,85 unequal: No Solution
Exploring Operation: 59+11=70, Resulting Numbers: [70]
70,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[93, 141], Operations: ['2*41=82', '59+82=141']
Exploring Operation: 93+141=234, Resulting Numbers: [234]
234,85 unequal: No Solution
Exploring Operation: 141-93=48, Resulting Numbers: [48]
48,85 unequal: No Solution
Exploring Operation: 93*141=13113, Resulting Numbers: [13113]
13113,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[82, 152], Operations: ['2*41=82', '93+59=152']
Exploring Operation: 82+152=234, Resulting Numbers: [234]
234,85 unequal: No Solution
Exploring Operation: 152-82=70, Resulting Numbers: [70]
70,85 unequal: No Solution
Exploring Operation: 82*152=12464, Resulting Numbers: [12464]
12464,85 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
4,
57,
10,
54
] | 52 | [
"54-4=50",
"50/10=5",
"57-5=52"
] | Current State: 52:[4, 57, 10, 54], Operations: []
Exploring Operation: 54-4=50, Resulting Numbers: [57, 10, 50]
Generated Node #2: [57, 10, 50] from Operation: 54-4=50
Current State: 52:[57, 10, 50], Operations: ['54-4=50']
Exploring Operation: 50/10=5, Resulting Numbers: [57, 5]
Generated Node #3: [57, 5] from Operation: 50/10=5
Current State: 52:[57, 5], Operations: ['54-4=50', '50/10=5']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[4, 57, 10, 54], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [4, 10, 3]
Generated Node #0,0: 52:[4, 10, 3] Operation: 57-54=3
Exploring Operation: 57-4=53, Resulting Numbers: [10, 54, 53]
Generated Node #0,1: 52:[10, 54, 53] Operation: 57-4=53
Exploring Operation: 57-10=47, Resulting Numbers: [4, 54, 47]
Generated Node #0,2: 52:[4, 54, 47] Operation: 57-10=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[4, 10, 3], Operations: ['57-54=3']
Exploring Operation: 10+3=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 52:[4, 13] Operation: 10+3=13
Exploring Operation: 10-4=6, Resulting Numbers: [3, 6]
Generated Node #0,0,1: 52:[3, 6] Operation: 10-4=6
Exploring Operation: 4+10=14, Resulting Numbers: [3, 14]
Generated Node #0,0,2: 52:[3, 14] Operation: 4+10=14
Moving to Node #0,0,0
Current State: 52:[4, 13], Operations: ['57-54=3', '10+3=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[4, 57, 10, 54], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [4, 10, 3]
Generated Node #0,0: 52:[4, 10, 3] Operation: 57-54=3
Moving to Node #0,0
Current State: 52:[4, 10, 3], Operations: ['57-54=3']
Exploring Operation: 10+3=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 52:[4, 13] Operation: 10+3=13
Moving to Node #0,0,0
Current State: 52:[4, 13], Operations: ['57-54=3', '10+3=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
52,
12,
68,
17
] | 80 | [
"68-52=16",
"17-12=5",
"16*5=80"
] | Current State: 80:[52, 12, 68, 17], Operations: []
Exploring Operation: 68-52=16, Resulting Numbers: [12, 17, 16]
Generated Node #2: [12, 17, 16] from Operation: 68-52=16
Current State: 80:[12, 17, 16], Operations: ['68-52=16']
Exploring Operation: 17-12=5, Resulting Numbers: [16, 5]
Generated Node #3: [16, 5] from Operation: 17-12=5
Current State: 80:[16, 5], Operations: ['68-52=16', '17-12=5']
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[52, 12, 68, 17], Operations: []
Exploring Operation: 68/17=4, Resulting Numbers: [52, 12, 4]
Generated Node #0,0: 80:[52, 12, 4] Operation: 68/17=4
Exploring Operation: 68-52=16, Resulting Numbers: [12, 17, 16]
Generated Node #0,1: 80:[12, 17, 16] Operation: 68-52=16
Exploring Operation: 12+68=80, Resulting Numbers: [52, 17, 80]
Generated Node #0,2: 80:[52, 17, 80] Operation: 12+68=80
Exploring Operation: 52-12=40, Resulting Numbers: [68, 17, 40]
Generated Node #0,3: 80:[68, 17, 40] Operation: 52-12=40
Moving to Node #0,1
Current State: 80:[12, 17, 16], Operations: ['68-52=16']
Exploring Operation: 17-12=5, Resulting Numbers: [16, 5]
Generated Node #0,1,0: 80:[16, 5] Operation: 17-12=5
Exploring Operation: 12+17=29, Resulting Numbers: [16, 29]
Generated Node #0,1,1: 80:[16, 29] Operation: 12+17=29
Exploring Operation: 17-16=1, Resulting Numbers: [12, 1]
Generated Node #0,1,2: 80:[12, 1] Operation: 17-16=1
Exploring Operation: 16-12=4, Resulting Numbers: [17, 4]
Generated Node #0,1,3: 80:[17, 4] Operation: 16-12=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[16, 5], Operations: ['68-52=16', '17-12=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[52, 12, 68, 17], Operations: []
Exploring Operation: 68-52=16, Resulting Numbers: [12, 17, 16]
Generated Node #0,1: 80:[12, 17, 16] Operation: 68-52=16
Moving to Node #0,1
Current State: 80:[12, 17, 16], Operations: ['68-52=16']
Exploring Operation: 17-12=5, Resulting Numbers: [16, 5]
Generated Node #0,1,0: 80:[16, 5] Operation: 17-12=5
Moving to Node #0,1,0
Current State: 80:[16, 5], Operations: ['68-52=16', '17-12=5']
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
37,
70,
31,
32
] | 16 | [
"70-37=33",
"33-31=2",
"32/2=16"
] | Current State: 16:[37, 70, 31, 32], Operations: []
Exploring Operation: 70-37=33, Resulting Numbers: [31, 32, 33]
Generated Node #2: [31, 32, 33] from Operation: 70-37=33
Current State: 16:[31, 32, 33], Operations: ['70-37=33']
Exploring Operation: 33-31=2, Resulting Numbers: [32, 2]
Generated Node #3: [32, 2] from Operation: 33-31=2
Current State: 16:[32, 2], Operations: ['70-37=33', '33-31=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[37, 70, 31, 32], Operations: []
Exploring Operation: 70-32=38, Resulting Numbers: [37, 31, 38]
Generated Node #0,0: 16:[37, 31, 38] Operation: 70-32=38
Exploring Operation: 70-31=39, Resulting Numbers: [37, 32, 39]
Generated Node #0,1: 16:[37, 32, 39] Operation: 70-31=39
Exploring Operation: 70-37=33, Resulting Numbers: [31, 32, 33]
Generated Node #0,2: 16:[31, 32, 33] Operation: 70-37=33
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[31, 32, 33], Operations: ['70-37=33']
Exploring Operation: 33-32=1, Resulting Numbers: [31, 1]
Generated Node #0,2,0: 16:[31, 1] Operation: 33-32=1
Exploring Operation: 33-31=2, Resulting Numbers: [32, 2]
Generated Node #0,2,1: 16:[32, 2] Operation: 33-31=2
Exploring Operation: 32-31=1, Resulting Numbers: [33, 1]
Generated Node #0,2,2: 16:[33, 1] Operation: 32-31=1
Moving to Node #0,2,0
Current State: 16:[31, 1], Operations: ['70-37=33', '33-32=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,16 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[32, 2], Operations: ['70-37=33', '33-31=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,16 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[37, 70, 31, 32], Operations: []
Exploring Operation: 70-37=33, Resulting Numbers: [31, 32, 33]
Generated Node #0,2: 16:[31, 32, 33] Operation: 70-37=33
Moving to Node #0,2
Current State: 16:[31, 32, 33], Operations: ['70-37=33']
Exploring Operation: 33-31=2, Resulting Numbers: [32, 2]
Generated Node #0,2,1: 16:[32, 2] Operation: 33-31=2
Moving to Node #0,2,1
Current State: 16:[32, 2], Operations: ['70-37=33', '33-31=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
8,
40,
13,
90
] | 25 | [
"40/8=5",
"13*5=65",
"90-65=25"
] | Current State: 25:[8, 40, 13, 90], Operations: []
Exploring Operation: 40/8=5, Resulting Numbers: [13, 90, 5]
Generated Node #2: [13, 90, 5] from Operation: 40/8=5
Current State: 25:[13, 90, 5], Operations: ['40/8=5']
Exploring Operation: 13*5=65, Resulting Numbers: [90, 65]
Generated Node #3: [90, 65] from Operation: 13*5=65
Current State: 25:[90, 65], Operations: ['40/8=5', '13*5=65']
Exploring Operation: 90-65=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[8, 40, 13, 90], Operations: []
Exploring Operation: 40-13=27, Resulting Numbers: [8, 90, 27]
Generated Node #0,0: 25:[8, 90, 27] Operation: 40-13=27
Exploring Operation: 90-13=77, Resulting Numbers: [8, 40, 77]
Generated Node #0,1: 25:[8, 40, 77] Operation: 90-13=77
Exploring Operation: 40/8=5, Resulting Numbers: [13, 90, 5]
Generated Node #0,2: 25:[13, 90, 5] Operation: 40/8=5
Exploring Operation: 90-40=50, Resulting Numbers: [8, 13, 50]
Generated Node #0,3: 25:[8, 13, 50] Operation: 90-40=50
Start Sub Search at level 1: Moving to Node #0,3
Current State: 25:[8, 13, 50], Operations: ['90-40=50']
Exploring Operation: 50-13=37, Resulting Numbers: [8, 37]
Generated Node #0,3,0: 25:[8, 37] Operation: 50-13=37
Exploring Operation: 8+13=21, Resulting Numbers: [50, 21]
Generated Node #0,3,1: 25:[50, 21] Operation: 8+13=21
Exploring Operation: 50-8=42, Resulting Numbers: [13, 42]
Generated Node #0,3,2: 25:[13, 42] Operation: 50-8=42
Exploring Operation: 13-8=5, Resulting Numbers: [50, 5]
Generated Node #0,3,3: 25:[50, 5] Operation: 13-8=5
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 25:[8, 37], Operations: ['90-40=50', '50-13=37']
Exploring Operation: 8+37=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 8*37=296, Resulting Numbers: [296]
296,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 25:[13, 42], Operations: ['90-40=50', '50-8=42']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 13*42=546, Resulting Numbers: [546]
546,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 25:[50, 5], Operations: ['90-40=50', '13-8=5']
Exploring Operation: 50*5=250, Resulting Numbers: [250]
250,25 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 25:[50, 21], Operations: ['90-40=50', '8+13=21']
Exploring Operation: 50*21=1050, Resulting Numbers: [1050]
1050,25 unequal: No Solution
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 50+21=71, Resulting Numbers: [71]
71,25 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: 25:[8, 90, 27], Operations: ['40-13=27']
Exploring Operation: 90-27=63, Resulting Numbers: [8, 63]
Generated Node #0,0,0: 25:[8, 63] Operation: 90-27=63
Exploring Operation: 8+90=98, Resulting Numbers: [27, 98]
Generated Node #0,0,1: 25:[27, 98] Operation: 8+90=98
Exploring Operation: 27-8=19, Resulting Numbers: [90, 19]
Generated Node #0,0,2: 25:[90, 19] Operation: 27-8=19
Exploring Operation: 90-8=82, Resulting Numbers: [27, 82]
Generated Node #0,0,3: 25:[27, 82] Operation: 90-8=82
Moving to Node #0,0,0
Current State: 25:[8, 63], Operations: ['40-13=27', '90-27=63']
Exploring Operation: 8*63=504, Resulting Numbers: [504]
504,25 unequal: No Solution
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 8+63=71, Resulting Numbers: [71]
71,25 unequal: No Solution
Moving to Node #0,0,3
Current State: 25:[27, 82], Operations: ['40-13=27', '90-8=82']
Exploring Operation: 27*82=2214, Resulting Numbers: [2214]
2214,25 unequal: No Solution
Exploring Operation: 27+82=109, Resulting Numbers: [109]
109,25 unequal: No Solution
Exploring Operation: 82-27=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[90, 19], Operations: ['40-13=27', '27-8=19']
Exploring Operation: 90-19=71, Resulting Numbers: [71]
71,25 unequal: No Solution
Exploring Operation: 90+19=109, Resulting Numbers: [109]
109,25 unequal: No Solution
Exploring Operation: 90*19=1710, Resulting Numbers: [1710]
1710,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[27, 98], Operations: ['40-13=27', '8+90=98']
Exploring Operation: 27+98=125, Resulting Numbers: [125]
125,25 unequal: No Solution
Exploring Operation: 27*98=2646, Resulting Numbers: [2646]
2646,25 unequal: No Solution
Exploring Operation: 98-27=71, Resulting Numbers: [71]
71,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
Current State: 25:[8, 40, 77], Operations: ['90-13=77']
Exploring Operation: 77-8=69, Resulting Numbers: [40, 69]
Generated Node #0,1,0: 25:[40, 69] Operation: 77-8=69
Exploring Operation: 40/8=5, Resulting Numbers: [77, 5]
Generated Node #0,1,1: 25:[77, 5] Operation: 40/8=5
Exploring Operation: 40-8=32, Resulting Numbers: [77, 32]
Generated Node #0,1,2: 25:[77, 32] Operation: 40-8=32
Exploring Operation: 77-40=37, Resulting Numbers: [8, 37]
Generated Node #0,1,3: 25:[8, 37] Operation: 77-40=37
Moving to Node #0,1,3
Current State: 25:[8, 37], Operations: ['90-13=77', '77-40=37']
Exploring Operation: 8*37=296, Resulting Numbers: [296]
296,25 unequal: No Solution
Exploring Operation: 8+37=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[77, 5], Operations: ['90-13=77', '40/8=5']
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 77*5=385, Resulting Numbers: [385]
385,25 unequal: No Solution
Exploring Operation: 77+5=82, Resulting Numbers: [82]
82,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[77, 32], Operations: ['90-13=77', '40-8=32']
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 77+32=109, Resulting Numbers: [109]
109,25 unequal: No Solution
Exploring Operation: 77*32=2464, Resulting Numbers: [2464]
2464,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[40, 69], Operations: ['90-13=77', '77-8=69']
Exploring Operation: 40+69=109, Resulting Numbers: [109]
109,25 unequal: No Solution
Exploring Operation: 40*69=2760, Resulting Numbers: [2760]
2760,25 unequal: No Solution
Exploring Operation: 69-40=29, Resulting Numbers: [29]
29,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,2
Current State: 25:[13, 90, 5], Operations: ['40/8=5']
Exploring Operation: 90-13=77, Resulting Numbers: [5, 77]
Generated Node #0,2,0: 25:[5, 77] Operation: 90-13=77
Exploring Operation: 90-5=85, Resulting Numbers: [13, 85]
Generated Node #0,2,1: 25:[13, 85] Operation: 90-5=85
Exploring Operation: 13-5=8, Resulting Numbers: [90, 8]
Generated Node #0,2,2: 25:[90, 8] Operation: 13-5=8
Exploring Operation: 90/5=18, Resulting Numbers: [13, 18]
Generated Node #0,2,3: 25:[13, 18] Operation: 90/5=18
Moving to Node #0,2,3
Current State: 25:[13, 18], Operations: ['40/8=5', '90/5=18']
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,25 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[5, 77], Operations: ['40/8=5', '90-13=77']
Exploring Operation: 5*77=385, Resulting Numbers: [385]
385,25 unequal: No Solution
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 5+77=82, Resulting Numbers: [82]
82,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[90, 8], Operations: ['40/8=5', '13-5=8']
Exploring Operation: 90*8=720, Resulting Numbers: [720]
720,25 unequal: No Solution
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,25 unequal: No Solution
Exploring Operation: 90+8=98, Resulting Numbers: [98]
98,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[13, 85], Operations: ['40/8=5', '90-5=85']
Exploring Operation: 13+85=98, Resulting Numbers: [98]
98,25 unequal: No Solution
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 13*85=1105, Resulting Numbers: [1105]
1105,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
84,
40,
55,
18
] | 51 | [
"84+40=124",
"55+18=73",
"124-73=51"
] | Current State: 51:[84, 40, 55, 18], Operations: []
Exploring Operation: 84+40=124, Resulting Numbers: [55, 18, 124]
Generated Node #2: [55, 18, 124] from Operation: 84+40=124
Current State: 51:[55, 18, 124], Operations: ['84+40=124']
Exploring Operation: 55+18=73, Resulting Numbers: [124, 73]
Generated Node #3: [124, 73] from Operation: 55+18=73
Current State: 51:[124, 73], Operations: ['84+40=124', '55+18=73']
Exploring Operation: 124-73=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[84, 40, 55, 18], Operations: []
Exploring Operation: 84-18=66, Resulting Numbers: [40, 55, 66]
Generated Node #0,0: 51:[40, 55, 66] Operation: 84-18=66
Exploring Operation: 84-55=29, Resulting Numbers: [40, 18, 29]
Generated Node #0,1: 51:[40, 18, 29] Operation: 84-55=29
Exploring Operation: 84-40=44, Resulting Numbers: [55, 18, 44]
Generated Node #0,2: 51:[55, 18, 44] Operation: 84-40=44
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[55, 18, 44], Operations: ['84-40=44']
Exploring Operation: 18+44=62, Resulting Numbers: [55, 62]
Generated Node #0,2,0: 51:[55, 62] Operation: 18+44=62
Exploring Operation: 55-44=11, Resulting Numbers: [18, 11]
Generated Node #0,2,1: 51:[18, 11] Operation: 55-44=11
Exploring Operation: 44-18=26, Resulting Numbers: [55, 26]
Generated Node #0,2,2: 51:[55, 26] Operation: 44-18=26
Moving to Node #0,2,1
Current State: 51:[18, 11], Operations: ['84-40=44', '55-44=11']
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,51 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[55, 26], Operations: ['84-40=44', '44-18=26']
Exploring Operation: 55*26=1430, Resulting Numbers: [1430]
1430,51 unequal: No Solution
Exploring Operation: 55+26=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[55, 62], Operations: ['84-40=44', '18+44=62']
Exploring Operation: 62-55=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 55+62=117, Resulting Numbers: [117]
117,51 unequal: No Solution
Exploring Operation: 55*62=3410, Resulting Numbers: [3410]
3410,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[40, 18, 29], Operations: ['84-55=29']
Exploring Operation: 40-29=11, Resulting Numbers: [18, 11]
Generated Node #0,1,0: 51:[18, 11] Operation: 40-29=11
Exploring Operation: 40-18=22, Resulting Numbers: [29, 22]
Generated Node #0,1,1: 51:[29, 22] Operation: 40-18=22
Exploring Operation: 18+29=47, Resulting Numbers: [40, 47]
Generated Node #0,1,2: 51:[40, 47] Operation: 18+29=47
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[18, 11], Operations: ['84-55=29', '40-29=11']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,51 unequal: No Solution
No 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: 51:[40, 47], Operations: ['84-55=29', '18+29=47']
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 40*47=1880, Resulting Numbers: [1880]
1880,51 unequal: No Solution
Exploring Operation: 40+47=87, Resulting Numbers: [87]
87,51 unequal: No Solution
No 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: 51:[29, 22], Operations: ['84-55=29', '40-18=22']
Exploring Operation: 29*22=638, Resulting Numbers: [638]
638,51 unequal: No Solution
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 29+22=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[84, 40, 55, 18], Operations: []
Exploring Operation: 84-55=29, Resulting Numbers: [40, 18, 29]
Generated Node #0,1: 51:[40, 18, 29] Operation: 84-55=29
Moving to Node #0,1
Current State: 51:[40, 18, 29], Operations: ['84-55=29']
Exploring Operation: 40-18=22, Resulting Numbers: [29, 22]
Generated Node #0,1,1: 51:[29, 22] Operation: 40-18=22
Moving to Node #0,1,1
Current State: 51:[29, 22], Operations: ['84-55=29', '40-18=22']
Exploring Operation: 29+22=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_3 | mult_heuristic |
[
59,
2,
79,
85
] | 75 | [
"79-59=20",
"20/2=10",
"85-10=75"
] | Current State: 75:[59, 2, 79, 85], Operations: []
Exploring Operation: 79-59=20, Resulting Numbers: [2, 85, 20]
Generated Node #2: [2, 85, 20] from Operation: 79-59=20
Current State: 75:[2, 85, 20], Operations: ['79-59=20']
Exploring Operation: 20/2=10, Resulting Numbers: [85, 10]
Generated Node #3: [85, 10] from Operation: 20/2=10
Current State: 75:[85, 10], Operations: ['79-59=20', '20/2=10']
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[59, 2, 79, 85], Operations: []
Exploring Operation: 85-59=26, Resulting Numbers: [2, 79, 26]
Generated Node #0,0: 75:[2, 79, 26] Operation: 85-59=26
Exploring Operation: 79-59=20, Resulting Numbers: [2, 85, 20]
Generated Node #0,1: 75:[2, 85, 20] Operation: 79-59=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[2, 79, 26], Operations: ['85-59=26']
Exploring Operation: 26-2=24, Resulting Numbers: [79, 24]
Generated Node #0,0,0: 75:[79, 24] Operation: 26-2=24
Exploring Operation: 79-2=77, Resulting Numbers: [26, 77]
Generated Node #0,0,1: 75:[26, 77] Operation: 79-2=77
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[26, 77], Operations: ['85-59=26', '79-2=77']
Exploring Operation: 77-26=51, Resulting Numbers: [51]
51,75 unequal: No Solution
Exploring Operation: 26+77=103, Resulting Numbers: [103]
103,75 unequal: No Solution
No 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: 75:[79, 24], Operations: ['85-59=26', '26-2=24']
Exploring Operation: 79-24=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 79+24=103, Resulting Numbers: [103]
103,75 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: 75:[2, 85, 20], Operations: ['79-59=20']
Exploring Operation: 85-2=83, Resulting Numbers: [20, 83]
Generated Node #0,1,0: 75:[20, 83] Operation: 85-2=83
Exploring Operation: 85-20=65, Resulting Numbers: [2, 65]
Generated Node #0,1,1: 75:[2, 65] Operation: 85-20=65
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[2, 65], Operations: ['79-59=20', '85-20=65']
Exploring Operation: 2+65=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,75 unequal: No Solution
No 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: 75:[20, 83], Operations: ['79-59=20', '85-2=83']
Exploring Operation: 20+83=103, Resulting Numbers: [103]
103,75 unequal: No Solution
Exploring Operation: 83-20=63, Resulting Numbers: [63]
63,75 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 |
[
5,
13,
78,
43
] | 53 | [
"5+13=18",
"78-43=35",
"18+35=53"
] | Current State: 53:[5, 13, 78, 43], Operations: []
Exploring Operation: 5+13=18, Resulting Numbers: [78, 43, 18]
Generated Node #2: [78, 43, 18] from Operation: 5+13=18
Current State: 53:[78, 43, 18], Operations: ['5+13=18']
Exploring Operation: 78-43=35, Resulting Numbers: [18, 35]
Generated Node #3: [18, 35] from Operation: 78-43=35
Current State: 53:[18, 35], Operations: ['5+13=18', '78-43=35']
Exploring Operation: 18+35=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[5, 13, 78, 43], Operations: []
Exploring Operation: 5+13=18, Resulting Numbers: [78, 43, 18]
Generated Node #0,0: 53:[78, 43, 18] Operation: 5+13=18
Exploring Operation: 5*13=65, Resulting Numbers: [78, 43, 65]
Generated Node #0,1: 53:[78, 43, 65] Operation: 5*13=65
Exploring Operation: 78-5=73, Resulting Numbers: [13, 43, 73]
Generated Node #0,2: 53:[13, 43, 73] Operation: 78-5=73
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[78, 43, 65], Operations: ['5*13=65']
Exploring Operation: 65-43=22, Resulting Numbers: [78, 22]
Generated Node #0,1,0: 53:[78, 22] Operation: 65-43=22
Exploring Operation: 78-43=35, Resulting Numbers: [65, 35]
Generated Node #0,1,1: 53:[65, 35] Operation: 78-43=35
Exploring Operation: 78-65=13, Resulting Numbers: [43, 13]
Generated Node #0,1,2: 53:[43, 13] Operation: 78-65=13
Moving to Node #0,1,1
Current State: 53:[65, 35], Operations: ['5*13=65', '78-43=35']
Exploring Operation: 65+35=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 65*35=2275, Resulting Numbers: [2275]
2275,53 unequal: No Solution
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[43, 13], Operations: ['5*13=65', '78-65=13']
Exploring Operation: 43*13=559, Resulting Numbers: [559]
559,53 unequal: No Solution
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,53 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[78, 22], Operations: ['5*13=65', '65-43=22']
Exploring Operation: 78*22=1716, Resulting Numbers: [1716]
1716,53 unequal: No Solution
Exploring Operation: 78+22=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[78, 43, 18], Operations: ['5+13=18']
Exploring Operation: 78-18=60, Resulting Numbers: [43, 60]
Generated Node #0,0,0: 53:[43, 60] Operation: 78-18=60
Exploring Operation: 78-43=35, Resulting Numbers: [18, 35]
Generated Node #0,0,1: 53:[18, 35] Operation: 78-43=35
Exploring Operation: 43+18=61, Resulting Numbers: [78, 61]
Generated Node #0,0,2: 53:[78, 61] Operation: 43+18=61
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[43, 60], Operations: ['5+13=18', '78-18=60']
Exploring Operation: 43*60=2580, Resulting Numbers: [2580]
2580,53 unequal: No Solution
Exploring Operation: 43+60=103, Resulting Numbers: [103]
103,53 unequal: No Solution
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 53:[78, 61], Operations: ['5+13=18', '43+18=61']
Exploring Operation: 78+61=139, Resulting Numbers: [139]
139,53 unequal: No Solution
Exploring Operation: 78-61=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 78*61=4758, Resulting Numbers: [4758]
4758,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[18, 35], Operations: ['5+13=18', '78-43=35']
Exploring Operation: 18*35=630, Resulting Numbers: [630]
630,53 unequal: No Solution
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 18+35=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[5, 13, 78, 43], Operations: []
Exploring Operation: 5+13=18, Resulting Numbers: [78, 43, 18]
Generated Node #0,0: 53:[78, 43, 18] Operation: 5+13=18
Moving to Node #0,0
Current State: 53:[78, 43, 18], Operations: ['5+13=18']
Exploring Operation: 78-43=35, Resulting Numbers: [18, 35]
Generated Node #0,0,1: 53:[18, 35] Operation: 78-43=35
Moving to Node #0,0,1
Current State: 53:[18, 35], Operations: ['5+13=18', '78-43=35']
Exploring Operation: 18+35=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_3 | mult_heuristic |
[
63,
85,
62,
42
] | 82 | [
"85-63=22",
"62+42=104",
"104-22=82"
] | Current State: 82:[63, 85, 62, 42], Operations: []
Exploring Operation: 85-63=22, Resulting Numbers: [62, 42, 22]
Generated Node #2: [62, 42, 22] from Operation: 85-63=22
Current State: 82:[62, 42, 22], Operations: ['85-63=22']
Exploring Operation: 62+42=104, Resulting Numbers: [22, 104]
Generated Node #3: [22, 104] from Operation: 62+42=104
Current State: 82:[22, 104], Operations: ['85-63=22', '62+42=104']
Exploring Operation: 104-22=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[63, 85, 62, 42], Operations: []
Exploring Operation: 63-62=1, Resulting Numbers: [85, 42, 1]
Generated Node #0,0: 82:[85, 42, 1] Operation: 63-62=1
Exploring Operation: 85-62=23, Resulting Numbers: [63, 42, 23]
Generated Node #0,1: 82:[63, 42, 23] Operation: 85-62=23
Moving to Node #0,0
Current State: 82:[85, 42, 1], Operations: ['63-62=1']
Exploring Operation: 85-1=84, Resulting Numbers: [42, 84]
Generated Node #0,0,0: 82:[42, 84] Operation: 85-1=84
Exploring Operation: 85-42=43, Resulting Numbers: [1, 43]
Generated Node #0,0,1: 82:[1, 43] Operation: 85-42=43
Moving to Node #0,1
Current State: 82:[63, 42, 23], Operations: ['85-62=23']
Exploring Operation: 63-23=40, Resulting Numbers: [42, 40]
Generated Node #0,1,0: 82:[42, 40] Operation: 63-23=40
Exploring Operation: 63+23=86, Resulting Numbers: [42, 86]
Generated Node #0,1,1: 82:[42, 86] Operation: 63+23=86
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[42, 40], Operations: ['85-62=23', '63-23=40']
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[63, 85, 62, 42], Operations: []
Exploring Operation: 85-62=23, Resulting Numbers: [63, 42, 23]
Generated Node #0,1: 82:[63, 42, 23] Operation: 85-62=23
Moving to Node #0,1
Current State: 82:[63, 42, 23], Operations: ['85-62=23']
Exploring Operation: 63-23=40, Resulting Numbers: [42, 40]
Generated Node #0,1,0: 82:[42, 40] Operation: 63-23=40
Moving to Node #0,1,0
Current State: 82:[42, 40], Operations: ['85-62=23', '63-23=40']
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
94,
17,
75,
56
] | 96 | [
"94-17=77",
"75-56=19",
"77+19=96"
] | Current State: 96:[94, 17, 75, 56], Operations: []
Exploring Operation: 94-17=77, Resulting Numbers: [75, 56, 77]
Generated Node #2: [75, 56, 77] from Operation: 94-17=77
Current State: 96:[75, 56, 77], Operations: ['94-17=77']
Exploring Operation: 75-56=19, Resulting Numbers: [77, 19]
Generated Node #3: [77, 19] from Operation: 75-56=19
Current State: 96:[77, 19], Operations: ['94-17=77', '75-56=19']
Exploring Operation: 77+19=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[94, 17, 75, 56], Operations: []
Exploring Operation: 17+75=92, Resulting Numbers: [94, 56, 92]
Generated Node #0,0: 96:[94, 56, 92] Operation: 17+75=92
Exploring Operation: 75-56=19, Resulting Numbers: [94, 17, 19]
Generated Node #0,1: 96:[94, 17, 19] Operation: 75-56=19
Exploring Operation: 94-56=38, Resulting Numbers: [17, 75, 38]
Generated Node #0,2: 96:[17, 75, 38] Operation: 94-56=38
Exploring Operation: 75-17=58, Resulting Numbers: [94, 56, 58]
Generated Node #0,3: 96:[94, 56, 58] Operation: 75-17=58
Exploring Operation: 94-75=19, Resulting Numbers: [17, 56, 19]
Generated Node #0,4: 96:[17, 56, 19] Operation: 94-75=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[94, 17, 19], Operations: ['75-56=19']
Exploring Operation: 94+17=111, Resulting Numbers: [19, 111]
Generated Node #0,1,0: 96:[19, 111] Operation: 94+17=111
Exploring Operation: 19-17=2, Resulting Numbers: [94, 2]
Generated Node #0,1,1: 96:[94, 2] Operation: 19-17=2
Exploring Operation: 17+19=36, Resulting Numbers: [94, 36]
Generated Node #0,1,2: 96:[94, 36] Operation: 17+19=36
Exploring Operation: 94+19=113, Resulting Numbers: [17, 113]
Generated Node #0,1,3: 96:[17, 113] Operation: 94+19=113
Exploring Operation: 94-17=77, Resulting Numbers: [19, 77]
Generated Node #0,1,4: 96:[19, 77] Operation: 94-17=77
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[94, 2], Operations: ['75-56=19', '19-17=2']
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[94, 17, 75, 56], Operations: []
Exploring Operation: 75-56=19, Resulting Numbers: [94, 17, 19]
Generated Node #0,1: 96:[94, 17, 19] Operation: 75-56=19
Moving to Node #0,1
Current State: 96:[94, 17, 19], Operations: ['75-56=19']
Exploring Operation: 19-17=2, Resulting Numbers: [94, 2]
Generated Node #0,1,1: 96:[94, 2] Operation: 19-17=2
Moving to Node #0,1,1
Current State: 96:[94, 2], Operations: ['75-56=19', '19-17=2']
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
3,
40,
10,
75
] | 55 | [
"3*40=120",
"75-10=65",
"120-65=55"
] | Current State: 55:[3, 40, 10, 75], Operations: []
Exploring Operation: 3*40=120, Resulting Numbers: [10, 75, 120]
Generated Node #2: [10, 75, 120] from Operation: 3*40=120
Current State: 55:[10, 75, 120], Operations: ['3*40=120']
Exploring Operation: 75-10=65, Resulting Numbers: [120, 65]
Generated Node #3: [120, 65] from Operation: 75-10=65
Current State: 55:[120, 65], Operations: ['3*40=120', '75-10=65']
Exploring Operation: 120-65=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[3, 40, 10, 75], Operations: []
Exploring Operation: 75-40=35, Resulting Numbers: [3, 10, 35]
Generated Node #0,0: 55:[3, 10, 35] Operation: 75-40=35
Exploring Operation: 40/10=4, Resulting Numbers: [3, 75, 4]
Generated Node #0,1: 55:[3, 75, 4] Operation: 40/10=4
Moving to Node #0,0
Current State: 55:[3, 10, 35], Operations: ['75-40=35']
Exploring Operation: 10+35=45, Resulting Numbers: [3, 45]
Generated Node #0,0,0: 55:[3, 45] Operation: 10+35=45
Exploring Operation: 35-10=25, Resulting Numbers: [3, 25]
Generated Node #0,0,1: 55:[3, 25] Operation: 35-10=25
Moving to Node #0,1
Current State: 55:[3, 75, 4], Operations: ['40/10=4']
Exploring Operation: 75/3=25, Resulting Numbers: [4, 25]
Generated Node #0,1,0: 55:[4, 25] Operation: 75/3=25
Exploring Operation: 75-3=72, Resulting Numbers: [4, 72]
Generated Node #0,1,1: 55:[4, 72] Operation: 75-3=72
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[4, 25], Operations: ['40/10=4', '75/3=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,55 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,55 unequal: No Solution
No 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: 55:[4, 72], Operations: ['40/10=4', '75-3=72']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,55 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: 55:[3, 45], Operations: ['75-40=35', '10+35=45']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[3, 25], Operations: ['75-40=35', '35-10=25']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,55 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,55 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
53,
81,
59,
6
] | 37 | [
"81-53=28",
"59+6=65",
"65-28=37"
] | Current State: 37:[53, 81, 59, 6], Operations: []
Exploring Operation: 81-53=28, Resulting Numbers: [59, 6, 28]
Generated Node #2: [59, 6, 28] from Operation: 81-53=28
Current State: 37:[59, 6, 28], Operations: ['81-53=28']
Exploring Operation: 59+6=65, Resulting Numbers: [28, 65]
Generated Node #3: [28, 65] from Operation: 59+6=65
Current State: 37:[28, 65], Operations: ['81-53=28', '59+6=65']
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[53, 81, 59, 6], Operations: []
Exploring Operation: 53-6=47, Resulting Numbers: [81, 59, 47]
Generated Node #0,0: 37:[81, 59, 47] Operation: 53-6=47
Exploring Operation: 59-6=53, Resulting Numbers: [53, 81, 53]
Generated Node #0,1: 37:[53, 81, 53] Operation: 59-6=53
Exploring Operation: 81-6=75, Resulting Numbers: [53, 59, 75]
Generated Node #0,2: 37:[53, 59, 75] Operation: 81-6=75
Exploring Operation: 81-53=28, Resulting Numbers: [59, 6, 28]
Generated Node #0,3: 37:[59, 6, 28] Operation: 81-53=28
Exploring Operation: 81-59=22, Resulting Numbers: [53, 6, 22]
Generated Node #0,4: 37:[53, 6, 22] Operation: 81-59=22
Start Sub Search at level 1: Moving to Node #0,3
Current State: 37:[59, 6, 28], Operations: ['81-53=28']
Exploring Operation: 59+6=65, Resulting Numbers: [28, 65]
Generated Node #0,3,0: 37:[28, 65] Operation: 59+6=65
Exploring Operation: 59-6=53, Resulting Numbers: [28, 53]
Generated Node #0,3,1: 37:[28, 53] Operation: 59-6=53
Exploring Operation: 28-6=22, Resulting Numbers: [59, 22]
Generated Node #0,3,2: 37:[59, 22] Operation: 28-6=22
Exploring Operation: 6+28=34, Resulting Numbers: [59, 34]
Generated Node #0,3,3: 37:[59, 34] Operation: 6+28=34
Exploring Operation: 59-28=31, Resulting Numbers: [6, 31]
Generated Node #0,3,4: 37:[6, 31] Operation: 59-28=31
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 37:[28, 53], Operations: ['81-53=28', '59-6=53']
Exploring Operation: 28+53=81, Resulting Numbers: [81]
81,37 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Exploring Operation: 28*53=1484, Resulting Numbers: [1484]
1484,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 37:[59, 34], Operations: ['81-53=28', '6+28=34']
Exploring Operation: 59+34=93, Resulting Numbers: [93]
93,37 unequal: No Solution
Exploring Operation: 59*34=2006, Resulting Numbers: [2006]
2006,37 unequal: No Solution
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 37:[28, 65], Operations: ['81-53=28', '59+6=65']
Exploring Operation: 28+65=93, Resulting Numbers: [93]
93,37 unequal: No Solution
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[53, 81, 59, 6], Operations: []
Exploring Operation: 81-53=28, Resulting Numbers: [59, 6, 28]
Generated Node #0,3: 37:[59, 6, 28] Operation: 81-53=28
Moving to Node #0,3
Current State: 37:[59, 6, 28], Operations: ['81-53=28']
Exploring Operation: 59+6=65, Resulting Numbers: [28, 65]
Generated Node #0,3,0: 37:[28, 65] Operation: 59+6=65
Moving to Node #0,3,0
Current State: 37:[28, 65], Operations: ['81-53=28', '59+6=65']
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
61,
39,
43,
11
] | 54 | [
"61-39=22",
"43-11=32",
"22+32=54"
] | Current State: 54:[61, 39, 43, 11], Operations: []
Exploring Operation: 61-39=22, Resulting Numbers: [43, 11, 22]
Generated Node #2: [43, 11, 22] from Operation: 61-39=22
Current State: 54:[43, 11, 22], Operations: ['61-39=22']
Exploring Operation: 43-11=32, Resulting Numbers: [22, 32]
Generated Node #3: [22, 32] from Operation: 43-11=32
Current State: 54:[22, 32], Operations: ['61-39=22', '43-11=32']
Exploring Operation: 22+32=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[61, 39, 43, 11], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [61, 11, 4]
Generated Node #0,0: 54:[61, 11, 4] Operation: 43-39=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[61, 11, 4], Operations: ['43-39=4']
Exploring Operation: 61-11=50, Resulting Numbers: [4, 50]
Generated Node #0,0,0: 54:[4, 50] Operation: 61-11=50
Moving to Node #0,0,0
Current State: 54:[4, 50], Operations: ['43-39=4', '61-11=50']
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[61, 39, 43, 11], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [61, 11, 4]
Generated Node #0,0: 54:[61, 11, 4] Operation: 43-39=4
Moving to Node #0,0
Current State: 54:[61, 11, 4], Operations: ['43-39=4']
Exploring Operation: 61-11=50, Resulting Numbers: [4, 50]
Generated Node #0,0,0: 54:[4, 50] Operation: 61-11=50
Moving to Node #0,0,0
Current State: 54:[4, 50], Operations: ['43-39=4', '61-11=50']
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
18,
70,
32,
86
] | 36 | [
"18*32=576",
"86-70=16",
"576/16=36"
] | Current State: 36:[18, 70, 32, 86], Operations: []
Exploring Operation: 18*32=576, Resulting Numbers: [70, 86, 576]
Generated Node #2: [70, 86, 576] from Operation: 18*32=576
Current State: 36:[70, 86, 576], Operations: ['18*32=576']
Exploring Operation: 86-70=16, Resulting Numbers: [576, 16]
Generated Node #3: [576, 16] from Operation: 86-70=16
Current State: 36:[576, 16], Operations: ['18*32=576', '86-70=16']
Exploring Operation: 576/16=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[18, 70, 32, 86], Operations: []
Exploring Operation: 86-70=16, Resulting Numbers: [18, 32, 16]
Generated Node #0,0: 36:[18, 32, 16] Operation: 86-70=16
Exploring Operation: 86-32=54, Resulting Numbers: [18, 70, 54]
Generated Node #0,1: 36:[18, 70, 54] Operation: 86-32=54
Exploring Operation: 70-18=52, Resulting Numbers: [32, 86, 52]
Generated Node #0,2: 36:[32, 86, 52] Operation: 70-18=52
Exploring Operation: 86-18=68, Resulting Numbers: [70, 32, 68]
Generated Node #0,3: 36:[70, 32, 68] Operation: 86-18=68
Exploring Operation: 70-32=38, Resulting Numbers: [18, 86, 38]
Generated Node #0,4: 36:[18, 86, 38] Operation: 70-32=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[18, 32, 16], Operations: ['86-70=16']
Exploring Operation: 32-18=14, Resulting Numbers: [16, 14]
Generated Node #0,0,0: 36:[16, 14] Operation: 32-18=14
Exploring Operation: 18-16=2, Resulting Numbers: [32, 2]
Generated Node #0,0,1: 36:[32, 2] Operation: 18-16=2
Exploring Operation: 32-16=16, Resulting Numbers: [18, 16]
Generated Node #0,0,2: 36:[18, 16] Operation: 32-16=16
Exploring Operation: 32/16=2, Resulting Numbers: [18, 2]
Generated Node #0,0,3: 36:[18, 2] Operation: 32/16=2
Exploring Operation: 18+16=34, Resulting Numbers: [32, 34]
Generated Node #0,0,4: 36:[32, 34] Operation: 18+16=34
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 36:[18, 2], Operations: ['86-70=16', '32/16=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[18, 70, 32, 86], Operations: []
Exploring Operation: 86-70=16, Resulting Numbers: [18, 32, 16]
Generated Node #0,0: 36:[18, 32, 16] Operation: 86-70=16
Moving to Node #0,0
Current State: 36:[18, 32, 16], Operations: ['86-70=16']
Exploring Operation: 32/16=2, Resulting Numbers: [18, 2]
Generated Node #0,0,3: 36:[18, 2] Operation: 32/16=2
Moving to Node #0,0,3
Current State: 36:[18, 2], Operations: ['86-70=16', '32/16=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
30,
38,
52,
19
] | 100 | [
"38-30=8",
"19*8=152",
"152-52=100"
] | Current State: 100:[30, 38, 52, 19], Operations: []
Exploring Operation: 38-30=8, Resulting Numbers: [52, 19, 8]
Generated Node #2: [52, 19, 8] from Operation: 38-30=8
Current State: 100:[52, 19, 8], Operations: ['38-30=8']
Exploring Operation: 19*8=152, Resulting Numbers: [52, 152]
Generated Node #3: [52, 152] from Operation: 19*8=152
Current State: 100:[52, 152], Operations: ['38-30=8', '19*8=152']
Exploring Operation: 152-52=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[30, 38, 52, 19], Operations: []
Exploring Operation: 38/19=2, Resulting Numbers: [30, 52, 2]
Generated Node #0,0: 100:[30, 52, 2] Operation: 38/19=2
Exploring Operation: 38-19=19, Resulting Numbers: [30, 52, 19]
Generated Node #0,1: 100:[30, 52, 19] Operation: 38-19=19
Exploring Operation: 52-38=14, Resulting Numbers: [30, 19, 14]
Generated Node #0,2: 100:[30, 19, 14] Operation: 52-38=14
Exploring Operation: 38-30=8, Resulting Numbers: [52, 19, 8]
Generated Node #0,3: 100:[52, 19, 8] Operation: 38-30=8
Moving to Node #0,3
Current State: 100:[52, 19, 8], Operations: ['38-30=8']
Exploring Operation: 19-8=11, Resulting Numbers: [52, 11]
Generated Node #0,3,0: 100:[52, 11] Operation: 19-8=11
Exploring Operation: 52-8=44, Resulting Numbers: [19, 44]
Generated Node #0,3,1: 100:[19, 44] Operation: 52-8=44
Exploring Operation: 52-19=33, Resulting Numbers: [8, 33]
Generated Node #0,3,2: 100:[8, 33] Operation: 52-19=33
Exploring Operation: 19+8=27, Resulting Numbers: [52, 27]
Generated Node #0,3,3: 100:[52, 27] Operation: 19+8=27
Moving to Node #0,0
Current State: 100:[30, 52, 2], Operations: ['38/19=2']
Exploring Operation: 52/2=26, Resulting Numbers: [30, 26]
Generated Node #0,0,0: 100:[30, 26] Operation: 52/2=26
Exploring Operation: 52-30=22, Resulting Numbers: [2, 22]
Generated Node #0,0,1: 100:[2, 22] Operation: 52-30=22
Exploring Operation: 30-2=28, Resulting Numbers: [52, 28]
Generated Node #0,0,2: 100:[52, 28] Operation: 30-2=28
Exploring Operation: 52-2=50, Resulting Numbers: [30, 50]
Generated Node #0,0,3: 100:[30, 50] Operation: 52-2=50
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 100:[2, 22], Operations: ['38/19=2', '52-30=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 100:[52, 28], Operations: ['38/19=2', '30-2=28']
Exploring Operation: 52*28=1456, Resulting Numbers: [1456]
1456,100 unequal: No Solution
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 52+28=80, Resulting Numbers: [80]
80,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 100:[30, 50], Operations: ['38/19=2', '52-2=50']
Exploring Operation: 30*50=1500, Resulting Numbers: [1500]
1500,100 unequal: No Solution
Exploring Operation: 30+50=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[30, 26], Operations: ['38/19=2', '52/2=26']
Exploring Operation: 30*26=780, Resulting Numbers: [780]
780,100 unequal: No Solution
Exploring Operation: 30+26=56, Resulting Numbers: [56]
56,100 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 100:[30, 52, 19], Operations: ['38-19=19']
Exploring Operation: 30-19=11, Resulting Numbers: [52, 11]
Generated Node #0,1,0: 100:[52, 11] Operation: 30-19=11
Exploring Operation: 30+19=49, Resulting Numbers: [52, 49]
Generated Node #0,1,1: 100:[52, 49] Operation: 30+19=49
Exploring Operation: 52-19=33, Resulting Numbers: [30, 33]
Generated Node #0,1,2: 100:[30, 33] Operation: 52-19=33
Exploring Operation: 52-30=22, Resulting Numbers: [19, 22]
Generated Node #0,1,3: 100:[19, 22] Operation: 52-30=22
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[52, 11], Operations: ['38-19=19', '30-19=11']
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,100 unequal: No Solution
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,100 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,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:[52, 49], Operations: ['38-19=19', '30+19=49']
Exploring Operation: 52+49=101, Resulting Numbers: [101]
101,100 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 52*49=2548, Resulting Numbers: [2548]
2548,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,3
Current State: 100:[19, 22], Operations: ['38-19=19', '52-30=22']
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 19*22=418, Resulting Numbers: [418]
418,100 unequal: No Solution
Exploring Operation: 19+22=41, Resulting Numbers: [41]
41,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:[30, 33], Operations: ['38-19=19', '52-19=33']
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 30+33=63, Resulting Numbers: [63]
63,100 unequal: No Solution
Exploring Operation: 30*33=990, Resulting Numbers: [990]
990,100 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: 100:[30, 19, 14], Operations: ['52-38=14']
Exploring Operation: 30-14=16, Resulting Numbers: [19, 16]
Generated Node #0,2,0: 100:[19, 16] Operation: 30-14=16
Exploring Operation: 30+19=49, Resulting Numbers: [14, 49]
Generated Node #0,2,1: 100:[14, 49] Operation: 30+19=49
Exploring Operation: 30-19=11, Resulting Numbers: [14, 11]
Generated Node #0,2,2: 100:[14, 11] Operation: 30-19=11
Exploring Operation: 19-14=5, Resulting Numbers: [30, 5]
Generated Node #0,2,3: 100:[30, 5] Operation: 19-14=5
Moving to Node #0,3,0
Current State: 100:[52, 11], Operations: ['38-30=8', '19-8=11']
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,100 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,100 unequal: No Solution
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,100 unequal: No Solution
Moving to Node #0,3,3
Current State: 100:[52, 27], Operations: ['38-30=8', '19+8=27']
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 52*27=1404, Resulting Numbers: [1404]
1404,100 unequal: No Solution
Exploring Operation: 52+27=79, Resulting Numbers: [79]
79,100 unequal: No Solution
Moving to Node #0,2,1
Current State: 100:[14, 49], Operations: ['52-38=14', '30+19=49']
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,100 unequal: No Solution
Exploring Operation: 14*49=686, Resulting Numbers: [686]
686,100 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,100 unequal: No Solution
Moving to Node #0,2,2
Current State: 100:[14, 11], Operations: ['52-38=14', '30-19=11']
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,100 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Moving to Node #0,2,0
Current State: 100:[19, 16], Operations: ['52-38=14', '30-14=16']
Exploring Operation: 19+16=35, Resulting Numbers: [35]
35,100 unequal: No Solution
Exploring Operation: 19*16=304, Resulting Numbers: [304]
304,100 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Moving to Node #0,2,3
Current State: 100:[30, 5], Operations: ['52-38=14', '19-14=5']
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,100 unequal: No Solution
Exploring Operation: 30*5=150, Resulting Numbers: [150]
150,100 unequal: No Solution
Moving to Node #0,3,1
Current State: 100:[19, 44], Operations: ['38-30=8', '52-8=44']
Exploring Operation: 19+44=63, Resulting Numbers: [63]
63,100 unequal: No Solution
Exploring Operation: 19*44=836, Resulting Numbers: [836]
836,100 unequal: No Solution
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Moving to Node #0,3,2
Current State: 100:[8, 33], Operations: ['38-30=8', '52-19=33']
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,100 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,100 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,100 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
74,
51,
7,
75
] | 56 | [
"51+75=126",
"126/7=18",
"74-18=56"
] | Current State: 56:[74, 51, 7, 75], Operations: []
Exploring Operation: 51+75=126, Resulting Numbers: [74, 7, 126]
Generated Node #2: [74, 7, 126] from Operation: 51+75=126
Current State: 56:[74, 7, 126], Operations: ['51+75=126']
Exploring Operation: 126/7=18, Resulting Numbers: [74, 18]
Generated Node #3: [74, 18] from Operation: 126/7=18
Current State: 56:[74, 18], Operations: ['51+75=126', '126/7=18']
Exploring Operation: 74-18=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[74, 51, 7, 75], Operations: []
Exploring Operation: 75-74=1, Resulting Numbers: [51, 7, 1]
Generated Node #0,0: 56:[51, 7, 1] Operation: 75-74=1
Exploring Operation: 75-51=24, Resulting Numbers: [74, 7, 24]
Generated Node #0,1: 56:[74, 7, 24] Operation: 75-51=24
Exploring Operation: 74-51=23, Resulting Numbers: [7, 75, 23]
Generated Node #0,2: 56:[7, 75, 23] Operation: 74-51=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[51, 7, 1], Operations: ['75-74=1']
Exploring Operation: 51+7=58, Resulting Numbers: [1, 58]
Generated Node #0,0,0: 56:[1, 58] Operation: 51+7=58
Exploring Operation: 51+1=52, Resulting Numbers: [7, 52]
Generated Node #0,0,1: 56:[7, 52] Operation: 51+1=52
Exploring Operation: 51*1=51, Resulting Numbers: [7, 51]
Generated Node #0,0,2: 56:[7, 51] Operation: 51*1=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[1, 58], Operations: ['75-74=1', '51+7=58']
Exploring Operation: 1*58=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,56 unequal: No Solution
No 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: 56:[7, 52], Operations: ['75-74=1', '51+1=52']
Exploring Operation: 7*52=364, Resulting Numbers: [364]
364,56 unequal: No Solution
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Exploring Operation: 7+52=59, Resulting Numbers: [59]
59,56 unequal: No Solution
No 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: 56:[7, 51], Operations: ['75-74=1', '51*1=51']
Exploring Operation: 7+51=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,56 unequal: No Solution
Exploring Operation: 7*51=357, Resulting Numbers: [357]
357,56 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: 56:[74, 7, 24], Operations: ['75-51=24']
Exploring Operation: 7+24=31, Resulting Numbers: [74, 31]
Generated Node #0,1,0: 56:[74, 31] Operation: 7+24=31
Exploring Operation: 74-24=50, Resulting Numbers: [7, 50]
Generated Node #0,1,1: 56:[7, 50] Operation: 74-24=50
Exploring Operation: 74-7=67, Resulting Numbers: [24, 67]
Generated Node #0,1,2: 56:[24, 67] Operation: 74-7=67
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[7, 50], Operations: ['75-51=24', '74-24=50']
Exploring Operation: 7+50=57, Resulting Numbers: [57]
57,56 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Exploring Operation: 7*50=350, Resulting Numbers: [350]
350,56 unequal: No Solution
No 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: 56:[24, 67], Operations: ['75-51=24', '74-7=67']
Exploring Operation: 67-24=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Exploring Operation: 24+67=91, Resulting Numbers: [91]
91,56 unequal: No Solution
Exploring Operation: 24*67=1608, Resulting Numbers: [1608]
1608,56 unequal: No Solution
No 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: 56:[74, 31], Operations: ['75-51=24', '7+24=31']
Exploring Operation: 74+31=105, Resulting Numbers: [105]
105,56 unequal: No Solution
Exploring Operation: 74*31=2294, Resulting Numbers: [2294]
2294,56 unequal: No Solution
Exploring Operation: 74-31=43, Resulting Numbers: [43]
43,56 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: 56:[7, 75, 23], Operations: ['74-51=23']
Exploring Operation: 7+23=30, Resulting Numbers: [75, 30]
Generated Node #0,2,0: 56:[75, 30] Operation: 7+23=30
Exploring Operation: 75-23=52, Resulting Numbers: [7, 52]
Generated Node #0,2,1: 56:[7, 52] Operation: 75-23=52
Exploring Operation: 75-7=68, Resulting Numbers: [23, 68]
Generated Node #0,2,2: 56:[23, 68] Operation: 75-7=68
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 56:[7, 52], Operations: ['74-51=23', '75-23=52']
Exploring Operation: 7*52=364, Resulting Numbers: [364]
364,56 unequal: No Solution
Exploring Operation: 7+52=59, Resulting Numbers: [59]
59,56 unequal: No Solution
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,56 unequal: No Solution
No 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: 56:[23, 68], Operations: ['74-51=23', '75-7=68']
Exploring Operation: 23*68=1564, Resulting Numbers: [1564]
1564,56 unequal: No Solution
Exploring Operation: 23+68=91, Resulting Numbers: [91]
91,56 unequal: No Solution
Exploring Operation: 68-23=45, Resulting Numbers: [45]
45,56 unequal: No Solution
No 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: 56:[75, 30], Operations: ['74-51=23', '7+23=30']
Exploring Operation: 75-30=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Exploring Operation: 75+30=105, Resulting Numbers: [105]
105,56 unequal: No Solution
Exploring Operation: 75*30=2250, Resulting Numbers: [2250]
2250,56 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 |
[
1,
50,
31,
11
] | 69 | [
"50-1=49",
"31-11=20",
"49+20=69"
] | Current State: 69:[1, 50, 31, 11], Operations: []
Exploring Operation: 50-1=49, Resulting Numbers: [31, 11, 49]
Generated Node #2: [31, 11, 49] from Operation: 50-1=49
Current State: 69:[31, 11, 49], Operations: ['50-1=49']
Exploring Operation: 31-11=20, Resulting Numbers: [49, 20]
Generated Node #3: [49, 20] from Operation: 31-11=20
Current State: 69:[49, 20], Operations: ['50-1=49', '31-11=20']
Exploring Operation: 49+20=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[1, 50, 31, 11], Operations: []
Exploring Operation: 50+11=61, Resulting Numbers: [1, 31, 61]
Generated Node #0,0: 69:[1, 31, 61] Operation: 50+11=61
Exploring Operation: 50-31=19, Resulting Numbers: [1, 11, 19]
Generated Node #0,1: 69:[1, 11, 19] Operation: 50-31=19
Moving to Node #0,1
Current State: 69:[1, 11, 19], Operations: ['50-31=19']
Exploring Operation: 11+19=30, Resulting Numbers: [1, 30]
Generated Node #0,1,0: 69:[1, 30] Operation: 11+19=30
Exploring Operation: 19-11=8, Resulting Numbers: [1, 8]
Generated Node #0,1,1: 69:[1, 8] Operation: 19-11=8
Moving to Node #0,0
Current State: 69:[1, 31, 61], Operations: ['50+11=61']
Exploring Operation: 31-1=30, Resulting Numbers: [61, 30]
Generated Node #0,0,0: 69:[61, 30] Operation: 31-1=30
Exploring Operation: 61-31=30, Resulting Numbers: [1, 30]
Generated Node #0,0,1: 69:[1, 30] Operation: 61-31=30
Moving to Node #0,1,1
Current State: 69:[1, 8], Operations: ['50-31=19', '19-11=8']
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[1, 30], Operations: ['50+11=61', '61-31=30']
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[1, 30], Operations: ['50-31=19', '11+19=30']
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,69 unequal: No Solution
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[61, 30], Operations: ['50+11=61', '31-1=30']
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,69 unequal: No Solution
Exploring Operation: 61+30=91, Resulting Numbers: [91]
91,69 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
2,
39,
54,
51
] | 87 | [
"2*51=102",
"54-39=15",
"102-15=87"
] | Current State: 87:[2, 39, 54, 51], Operations: []
Exploring Operation: 2*51=102, Resulting Numbers: [39, 54, 102]
Generated Node #2: [39, 54, 102] from Operation: 2*51=102
Current State: 87:[39, 54, 102], Operations: ['2*51=102']
Exploring Operation: 54-39=15, Resulting Numbers: [102, 15]
Generated Node #3: [102, 15] from Operation: 54-39=15
Current State: 87:[102, 15], Operations: ['2*51=102', '54-39=15']
Exploring Operation: 102-15=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[2, 39, 54, 51], Operations: []
Exploring Operation: 39+54=93, Resulting Numbers: [2, 51, 93]
Generated Node #0,0: 87:[2, 51, 93] Operation: 39+54=93
Exploring Operation: 54-51=3, Resulting Numbers: [2, 39, 3]
Generated Node #0,1: 87:[2, 39, 3] Operation: 54-51=3
Exploring Operation: 39+51=90, Resulting Numbers: [2, 54, 90]
Generated Node #0,2: 87:[2, 54, 90] Operation: 39+51=90
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[2, 39, 3], Operations: ['54-51=3']
Exploring Operation: 39-3=36, Resulting Numbers: [2, 36]
Generated Node #0,1,0: 87:[2, 36] Operation: 39-3=36
Exploring Operation: 2*39=78, Resulting Numbers: [3, 78]
Generated Node #0,1,1: 87:[3, 78] Operation: 2*39=78
Exploring Operation: 39-2=37, Resulting Numbers: [3, 37]
Generated Node #0,1,2: 87:[3, 37] Operation: 39-2=37
Moving to Node #0,1,0
Current State: 87:[2, 36], Operations: ['54-51=3', '39-3=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[3, 37], Operations: ['54-51=3', '39-2=37']
Exploring Operation: 3*37=111, Resulting Numbers: [111]
111,87 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[3, 78], Operations: ['54-51=3', '2*39=78']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,87 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,87 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[2, 51, 93], Operations: ['39+54=93']
Exploring Operation: 51-2=49, Resulting Numbers: [93, 49]
Generated Node #0,0,0: 87:[93, 49] Operation: 51-2=49
Exploring Operation: 2*51=102, Resulting Numbers: [93, 102]
Generated Node #0,0,1: 87:[93, 102] Operation: 2*51=102
Exploring Operation: 93-51=42, Resulting Numbers: [2, 42]
Generated Node #0,0,2: 87:[2, 42] Operation: 93-51=42
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 87:[2, 42], Operations: ['39+54=93', '93-51=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,87 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,87 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[93, 102], Operations: ['39+54=93', '2*51=102']
Exploring Operation: 93*102=9486, Resulting Numbers: [9486]
9486,87 unequal: No Solution
Exploring Operation: 93+102=195, Resulting Numbers: [195]
195,87 unequal: No Solution
Exploring Operation: 102-93=9, Resulting Numbers: [9]
9,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[93, 49], Operations: ['39+54=93', '51-2=49']
Exploring Operation: 93+49=142, Resulting Numbers: [142]
142,87 unequal: No Solution
Exploring Operation: 93-49=44, Resulting Numbers: [44]
44,87 unequal: No Solution
Exploring Operation: 93*49=4557, Resulting Numbers: [4557]
4557,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[2, 54, 90], Operations: ['39+51=90']
Exploring Operation: 2*54=108, Resulting Numbers: [90, 108]
Generated Node #0,2,0: 87:[90, 108] Operation: 2*54=108
Exploring Operation: 90-54=36, Resulting Numbers: [2, 36]
Generated Node #0,2,1: 87:[2, 36] Operation: 90-54=36
Exploring Operation: 54/2=27, Resulting Numbers: [90, 27]
Generated Node #0,2,2: 87:[90, 27] Operation: 54/2=27
Moving to Node #0,2,2
Current State: 87:[90, 27], Operations: ['39+51=90', '54/2=27']
Exploring Operation: 90*27=2430, Resulting Numbers: [2430]
2430,87 unequal: No Solution
Exploring Operation: 90-27=63, Resulting Numbers: [63]
63,87 unequal: No Solution
Exploring Operation: 90+27=117, Resulting Numbers: [117]
117,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[2, 36], Operations: ['39+51=90', '90-54=36']
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,87 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[90, 108], Operations: ['39+51=90', '2*54=108']
Exploring Operation: 108-90=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 90*108=9720, Resulting Numbers: [9720]
9720,87 unequal: No Solution
Exploring Operation: 90+108=198, Resulting Numbers: [198]
198,87 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 |
[
82,
8,
44,
14
] | 60 | [
"82+8=90",
"44-14=30",
"90-30=60"
] | Current State: 60:[82, 8, 44, 14], Operations: []
Exploring Operation: 82+8=90, Resulting Numbers: [44, 14, 90]
Generated Node #2: [44, 14, 90] from Operation: 82+8=90
Current State: 60:[44, 14, 90], Operations: ['82+8=90']
Exploring Operation: 44-14=30, Resulting Numbers: [90, 30]
Generated Node #3: [90, 30] from Operation: 44-14=30
Current State: 60:[90, 30], Operations: ['82+8=90', '44-14=30']
Exploring Operation: 90-30=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[82, 8, 44, 14], Operations: []
Exploring Operation: 44-14=30, Resulting Numbers: [82, 8, 30]
Generated Node #0,0: 60:[82, 8, 30] Operation: 44-14=30
Exploring Operation: 82-14=68, Resulting Numbers: [8, 44, 68]
Generated Node #0,1: 60:[8, 44, 68] Operation: 82-14=68
Exploring Operation: 82-44=38, Resulting Numbers: [8, 14, 38]
Generated Node #0,2: 60:[8, 14, 38] Operation: 82-44=38
Exploring Operation: 44+14=58, Resulting Numbers: [82, 8, 58]
Generated Node #0,3: 60:[82, 8, 58] Operation: 44+14=58
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[8, 14, 38], Operations: ['82-44=38']
Exploring Operation: 14-8=6, Resulting Numbers: [38, 6]
Generated Node #0,2,0: 60:[38, 6] Operation: 14-8=6
Exploring Operation: 8+14=22, Resulting Numbers: [38, 22]
Generated Node #0,2,1: 60:[38, 22] Operation: 8+14=22
Exploring Operation: 38-8=30, Resulting Numbers: [14, 30]
Generated Node #0,2,2: 60:[14, 30] Operation: 38-8=30
Exploring Operation: 38-14=24, Resulting Numbers: [8, 24]
Generated Node #0,2,3: 60:[8, 24] Operation: 38-14=24
Moving to Node #0,2,2
Current State: 60:[14, 30], Operations: ['82-44=38', '38-8=30']
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,60 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Moving to Node #0,2,3
Current State: 60:[8, 24], Operations: ['82-44=38', '38-14=24']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[38, 6], Operations: ['82-44=38', '14-8=6']
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[38, 22], Operations: ['82-44=38', '8+14=22']
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 38*22=836, Resulting Numbers: [836]
836,60 unequal: No Solution
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[82, 8, 44, 14], Operations: []
Exploring Operation: 82-44=38, Resulting Numbers: [8, 14, 38]
Generated Node #0,2: 60:[8, 14, 38] Operation: 82-44=38
Moving to Node #0,2
Current State: 60:[8, 14, 38], Operations: ['82-44=38']
Exploring Operation: 8+14=22, Resulting Numbers: [38, 22]
Generated Node #0,2,1: 60:[38, 22] Operation: 8+14=22
Moving to Node #0,2,1
Current State: 60:[38, 22], Operations: ['82-44=38', '8+14=22']
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | mult_heuristic |
[
95,
92,
18,
26
] | 60 | [
"95-92=3",
"26*3=78",
"78-18=60"
] | Current State: 60:[95, 92, 18, 26], Operations: []
Exploring Operation: 95-92=3, Resulting Numbers: [18, 26, 3]
Generated Node #2: [18, 26, 3] from Operation: 95-92=3
Current State: 60:[18, 26, 3], Operations: ['95-92=3']
Exploring Operation: 26*3=78, Resulting Numbers: [18, 78]
Generated Node #3: [18, 78] from Operation: 26*3=78
Current State: 60:[18, 78], Operations: ['95-92=3', '26*3=78']
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[95, 92, 18, 26], Operations: []
Exploring Operation: 95-92=3, Resulting Numbers: [18, 26, 3]
Generated Node #0,0: 60:[18, 26, 3] Operation: 95-92=3
Exploring Operation: 95-18=77, Resulting Numbers: [92, 26, 77]
Generated Node #0,1: 60:[92, 26, 77] Operation: 95-18=77
Exploring Operation: 95-26=69, Resulting Numbers: [92, 18, 69]
Generated Node #0,2: 60:[92, 18, 69] Operation: 95-26=69
Exploring Operation: 92-26=66, Resulting Numbers: [95, 18, 66]
Generated Node #0,3: 60:[95, 18, 66] Operation: 92-26=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[18, 26, 3], Operations: ['95-92=3']
Exploring Operation: 18-3=15, Resulting Numbers: [26, 15]
Generated Node #0,0,0: 60:[26, 15] Operation: 18-3=15
Exploring Operation: 26+3=29, Resulting Numbers: [18, 29]
Generated Node #0,0,1: 60:[18, 29] Operation: 26+3=29
Exploring Operation: 18/3=6, Resulting Numbers: [26, 6]
Generated Node #0,0,2: 60:[26, 6] Operation: 18/3=6
Exploring Operation: 26-18=8, Resulting Numbers: [3, 8]
Generated Node #0,0,3: 60:[3, 8] Operation: 26-18=8
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 60:[3, 8], Operations: ['95-92=3', '26-18=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[18, 29], Operations: ['95-92=3', '26+3=29']
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,60 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,60 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[26, 15], Operations: ['95-92=3', '18-3=15']
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,60 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 60:[26, 6], Operations: ['95-92=3', '18/3=6']
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,60 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[92, 18, 69], Operations: ['95-26=69']
Exploring Operation: 69-18=51, Resulting Numbers: [92, 51]
Generated Node #0,2,0: 60:[92, 51] Operation: 69-18=51
Exploring Operation: 92+18=110, Resulting Numbers: [69, 110]
Generated Node #0,2,1: 60:[69, 110] Operation: 92+18=110
Exploring Operation: 92-69=23, Resulting Numbers: [18, 23]
Generated Node #0,2,2: 60:[18, 23] Operation: 92-69=23
Exploring Operation: 92-18=74, Resulting Numbers: [69, 74]
Generated Node #0,2,3: 60:[69, 74] Operation: 92-18=74
Moving to Node #0,2,2
Current State: 60:[18, 23], Operations: ['95-26=69', '92-69=23']
Exploring Operation: 18*23=414, Resulting Numbers: [414]
414,60 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Moving to Node #0,2,3
Current State: 60:[69, 74], Operations: ['95-26=69', '92-18=74']
Exploring Operation: 69+74=143, Resulting Numbers: [143]
143,60 unequal: No Solution
Exploring Operation: 69*74=5106, Resulting Numbers: [5106]
5106,60 unequal: No Solution
Exploring Operation: 74-69=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[92, 51], Operations: ['95-26=69', '69-18=51']
Exploring Operation: 92*51=4692, Resulting Numbers: [4692]
4692,60 unequal: No Solution
Exploring Operation: 92+51=143, Resulting Numbers: [143]
143,60 unequal: No Solution
Exploring Operation: 92-51=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[69, 110], Operations: ['95-26=69', '92+18=110']
Exploring Operation: 69+110=179, Resulting Numbers: [179]
179,60 unequal: No Solution
Exploring Operation: 69*110=7590, Resulting Numbers: [7590]
7590,60 unequal: No Solution
Exploring Operation: 110-69=41, Resulting Numbers: [41]
41,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,3
Current State: 60:[95, 18, 66], Operations: ['92-26=66']
Exploring Operation: 66-18=48, Resulting Numbers: [95, 48]
Generated Node #0,3,0: 60:[95, 48] Operation: 66-18=48
Exploring Operation: 95+18=113, Resulting Numbers: [66, 113]
Generated Node #0,3,1: 60:[66, 113] Operation: 95+18=113
Exploring Operation: 95-18=77, Resulting Numbers: [66, 77]
Generated Node #0,3,2: 60:[66, 77] Operation: 95-18=77
Exploring Operation: 95-66=29, Resulting Numbers: [18, 29]
Generated Node #0,3,3: 60:[18, 29] Operation: 95-66=29
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 60:[18, 29], Operations: ['92-26=66', '95-66=29']
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,60 unequal: No Solution
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,60 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 60:[66, 77], Operations: ['92-26=66', '95-18=77']
Exploring Operation: 77-66=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 66+77=143, Resulting Numbers: [143]
143,60 unequal: No Solution
Exploring Operation: 66*77=5082, Resulting Numbers: [5082]
5082,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 60:[95, 48], Operations: ['92-26=66', '66-18=48']
Exploring Operation: 95-48=47, Resulting Numbers: [47]
47,60 unequal: No Solution
Exploring Operation: 95*48=4560, Resulting Numbers: [4560]
4560,60 unequal: No Solution
Exploring Operation: 95+48=143, Resulting Numbers: [143]
143,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 60:[66, 113], Operations: ['92-26=66', '95+18=113']
Exploring Operation: 66*113=7458, Resulting Numbers: [7458]
7458,60 unequal: No Solution
Exploring Operation: 66+113=179, Resulting Numbers: [179]
179,60 unequal: No Solution
Exploring Operation: 113-66=47, Resulting Numbers: [47]
47,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[92, 26, 77], Operations: ['95-18=77']
Exploring Operation: 77-26=51, Resulting Numbers: [92, 51]
Generated Node #0,1,0: 60:[92, 51] Operation: 77-26=51
Exploring Operation: 92+26=118, Resulting Numbers: [77, 118]
Generated Node #0,1,1: 60:[77, 118] Operation: 92+26=118
Exploring Operation: 92-26=66, Resulting Numbers: [77, 66]
Generated Node #0,1,2: 60:[77, 66] Operation: 92-26=66
Exploring Operation: 92-77=15, Resulting Numbers: [26, 15]
Generated Node #0,1,3: 60:[26, 15] Operation: 92-77=15
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 60:[26, 15], Operations: ['95-18=77', '92-77=15']
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,60 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 60:[77, 66], Operations: ['95-18=77', '92-26=66']
Exploring Operation: 77+66=143, Resulting Numbers: [143]
143,60 unequal: No Solution
Exploring Operation: 77*66=5082, Resulting Numbers: [5082]
5082,60 unequal: No Solution
Exploring Operation: 77-66=11, Resulting Numbers: [11]
11,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[92, 51], Operations: ['95-18=77', '77-26=51']
Exploring Operation: 92*51=4692, Resulting Numbers: [4692]
4692,60 unequal: No Solution
Exploring Operation: 92+51=143, Resulting Numbers: [143]
143,60 unequal: No Solution
Exploring Operation: 92-51=41, Resulting Numbers: [41]
41,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[77, 118], Operations: ['95-18=77', '92+26=118']
Exploring Operation: 77+118=195, Resulting Numbers: [195]
195,60 unequal: No Solution
Exploring Operation: 77*118=9086, Resulting Numbers: [9086]
9086,60 unequal: No Solution
Exploring Operation: 118-77=41, Resulting Numbers: [41]
41,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
2,
63,
82,
7
] | 13 | [
"82-63=19",
"7+19=26",
"26/2=13"
] | Current State: 13:[2, 63, 82, 7], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [2, 7, 19]
Generated Node #2: [2, 7, 19] from Operation: 82-63=19
Current State: 13:[2, 7, 19], Operations: ['82-63=19']
Exploring Operation: 7+19=26, Resulting Numbers: [2, 26]
Generated Node #3: [2, 26] from Operation: 7+19=26
Current State: 13:[2, 26], Operations: ['82-63=19', '7+19=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[2, 63, 82, 7], Operations: []
Exploring Operation: 63-2=61, Resulting Numbers: [82, 7, 61]
Generated Node #0,0: 13:[82, 7, 61] Operation: 63-2=61
Exploring Operation: 82/2=41, Resulting Numbers: [63, 7, 41]
Generated Node #0,1: 13:[63, 7, 41] Operation: 82/2=41
Exploring Operation: 2*7=14, Resulting Numbers: [63, 82, 14]
Generated Node #0,2: 13:[63, 82, 14] Operation: 2*7=14
Exploring Operation: 63/7=9, Resulting Numbers: [2, 82, 9]
Generated Node #0,3: 13:[2, 82, 9] Operation: 63/7=9
Exploring Operation: 82-63=19, Resulting Numbers: [2, 7, 19]
Generated Node #0,4: 13:[2, 7, 19] Operation: 82-63=19
Moving to Node #0,4
Current State: 13:[2, 7, 19], Operations: ['82-63=19']
Exploring Operation: 7-2=5, Resulting Numbers: [19, 5]
Generated Node #0,4,0: 13:[19, 5] Operation: 7-2=5
Exploring Operation: 2*7=14, Resulting Numbers: [19, 14]
Generated Node #0,4,1: 13:[19, 14] Operation: 2*7=14
Exploring Operation: 19-7=12, Resulting Numbers: [2, 12]
Generated Node #0,4,2: 13:[2, 12] Operation: 19-7=12
Exploring Operation: 19-2=17, Resulting Numbers: [7, 17]
Generated Node #0,4,3: 13:[7, 17] Operation: 19-2=17
Exploring Operation: 2+7=9, Resulting Numbers: [19, 9]
Generated Node #0,4,4: 13:[19, 9] Operation: 2+7=9
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 13:[19, 14], Operations: ['82-63=19', '2*7=14']
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 19*14=266, Resulting Numbers: [266]
266,13 unequal: No Solution
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 13:[7, 17], Operations: ['82-63=19', '19-2=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,13 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 13:[19, 9], Operations: ['82-63=19', '2+7=9']
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,13 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 13:[2, 12], Operations: ['82-63=19', '19-7=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 13:[19, 5], Operations: ['82-63=19', '7-2=5']
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 13:[2, 82, 9], Operations: ['63/7=9']
Exploring Operation: 82/2=41, Resulting Numbers: [9, 41]
Generated Node #0,3,0: 13:[9, 41] Operation: 82/2=41
Exploring Operation: 82-9=73, Resulting Numbers: [2, 73]
Generated Node #0,3,1: 13:[2, 73] Operation: 82-9=73
Exploring Operation: 2*9=18, Resulting Numbers: [82, 18]
Generated Node #0,3,2: 13:[82, 18] Operation: 2*9=18
Exploring Operation: 82-2=80, Resulting Numbers: [9, 80]
Generated Node #0,3,3: 13:[9, 80] Operation: 82-2=80
Exploring Operation: 2+9=11, Resulting Numbers: [82, 11]
Generated Node #0,3,4: 13:[82, 11] Operation: 2+9=11
Moving to Node #0,1
Current State: 13:[63, 7, 41], Operations: ['82/2=41']
Exploring Operation: 63-7=56, Resulting Numbers: [41, 56]
Generated Node #0,1,0: 13:[41, 56] Operation: 63-7=56
Exploring Operation: 63-41=22, Resulting Numbers: [7, 22]
Generated Node #0,1,1: 13:[7, 22] Operation: 63-41=22
Exploring Operation: 63/7=9, Resulting Numbers: [41, 9]
Generated Node #0,1,2: 13:[41, 9] Operation: 63/7=9
Exploring Operation: 63+7=70, Resulting Numbers: [41, 70]
Generated Node #0,1,3: 13:[41, 70] Operation: 63+7=70
Exploring Operation: 41-7=34, Resulting Numbers: [63, 34]
Generated Node #0,1,4: 13:[63, 34] Operation: 41-7=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[7, 22], Operations: ['82/2=41', '63-41=22']
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,13 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,13 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 13:[41, 9], Operations: ['82/2=41', '63/7=9']
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Exploring Operation: 41*9=369, Resulting Numbers: [369]
369,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,0
Current State: 13:[41, 56], Operations: ['82/2=41', '63-7=56']
Exploring Operation: 56-41=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 41*56=2296, Resulting Numbers: [2296]
2296,13 unequal: No Solution
Exploring Operation: 41+56=97, Resulting Numbers: [97]
97,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 13:[63, 34], Operations: ['82/2=41', '41-7=34']
Exploring Operation: 63+34=97, Resulting Numbers: [97]
97,13 unequal: No Solution
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,13 unequal: No Solution
Exploring Operation: 63*34=2142, Resulting Numbers: [2142]
2142,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 13:[41, 70], Operations: ['82/2=41', '63+7=70']
Exploring Operation: 41*70=2870, Resulting Numbers: [2870]
2870,13 unequal: No Solution
Exploring Operation: 41+70=111, Resulting Numbers: [111]
111,13 unequal: No Solution
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,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:[63, 82, 14], Operations: ['2*7=14']
Exploring Operation: 63+82=145, Resulting Numbers: [14, 145]
Generated Node #0,2,0: 13:[14, 145] Operation: 63+82=145
Exploring Operation: 82-14=68, Resulting Numbers: [63, 68]
Generated Node #0,2,1: 13:[63, 68] Operation: 82-14=68
Exploring Operation: 82-63=19, Resulting Numbers: [14, 19]
Generated Node #0,2,2: 13:[14, 19] Operation: 82-63=19
Exploring Operation: 63-14=49, Resulting Numbers: [82, 49]
Generated Node #0,2,3: 13:[82, 49] Operation: 63-14=49
Exploring Operation: 63+14=77, Resulting Numbers: [82, 77]
Generated Node #0,2,4: 13:[82, 77] Operation: 63+14=77
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 13:[14, 19], Operations: ['2*7=14', '82-63=19']
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,13 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,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:[63, 68], Operations: ['2*7=14', '82-14=68']
Exploring Operation: 68-63=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 63+68=131, Resulting Numbers: [131]
131,13 unequal: No Solution
Exploring Operation: 63*68=4284, Resulting Numbers: [4284]
4284,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:[82, 49], Operations: ['2*7=14', '63-14=49']
Exploring Operation: 82+49=131, Resulting Numbers: [131]
131,13 unequal: No Solution
Exploring Operation: 82-49=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Exploring Operation: 82*49=4018, Resulting Numbers: [4018]
4018,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:[14, 145], Operations: ['2*7=14', '63+82=145']
Exploring Operation: 145-14=131, Resulting Numbers: [131]
131,13 unequal: No Solution
Exploring Operation: 14*145=2030, Resulting Numbers: [2030]
2030,13 unequal: No Solution
Exploring Operation: 14+145=159, Resulting Numbers: [159]
159,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 13:[82, 77], Operations: ['2*7=14', '63+14=77']
Exploring Operation: 82-77=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 82*77=6314, Resulting Numbers: [6314]
6314,13 unequal: No Solution
Exploring Operation: 82+77=159, Resulting Numbers: [159]
159,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 13:[82, 7, 61], Operations: ['63-2=61']
Exploring Operation: 82+7=89, Resulting Numbers: [61, 89]
Generated Node #0,0,0: 13:[61, 89] Operation: 82+7=89
Exploring Operation: 61-7=54, Resulting Numbers: [82, 54]
Generated Node #0,0,1: 13:[82, 54] Operation: 61-7=54
Exploring Operation: 7+61=68, Resulting Numbers: [82, 68]
Generated Node #0,0,2: 13:[82, 68] Operation: 7+61=68
Exploring Operation: 82-7=75, Resulting Numbers: [61, 75]
Generated Node #0,0,3: 13:[61, 75] Operation: 82-7=75
Exploring Operation: 82-61=21, Resulting Numbers: [7, 21]
Generated Node #0,0,4: 13:[7, 21] Operation: 82-61=21
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 13:[7, 21], Operations: ['63-2=61', '82-61=21']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 7*21=147, Resulting Numbers: [147]
147,13 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,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:[82, 54], Operations: ['63-2=61', '61-7=54']
Exploring Operation: 82*54=4428, Resulting Numbers: [4428]
4428,13 unequal: No Solution
Exploring Operation: 82+54=136, Resulting Numbers: [136]
136,13 unequal: No Solution
Exploring Operation: 82-54=28, Resulting Numbers: [28]
28,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 13:[61, 75], Operations: ['63-2=61', '82-7=75']
Exploring Operation: 61+75=136, Resulting Numbers: [136]
136,13 unequal: No Solution
Exploring Operation: 61*75=4575, Resulting Numbers: [4575]
4575,13 unequal: No Solution
Exploring Operation: 75-61=14, Resulting Numbers: [14]
14,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[61, 89], Operations: ['63-2=61', '82+7=89']
Exploring Operation: 89-61=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 61+89=150, Resulting Numbers: [150]
150,13 unequal: No Solution
Exploring Operation: 61*89=5429, Resulting Numbers: [5429]
5429,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:[82, 68], Operations: ['63-2=61', '7+61=68']
Exploring Operation: 82+68=150, Resulting Numbers: [150]
150,13 unequal: No Solution
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 82*68=5576, Resulting Numbers: [5576]
5576,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 13:[9, 41], Operations: ['63/7=9', '82/2=41']
Exploring Operation: 9+41=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 9*41=369, Resulting Numbers: [369]
369,13 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Moving to Node #0,3,3
Current State: 13:[9, 80], Operations: ['63/7=9', '82-2=80']
Exploring Operation: 9*80=720, Resulting Numbers: [720]
720,13 unequal: No Solution
Exploring Operation: 80-9=71, Resulting Numbers: [71]
71,13 unequal: No Solution
Exploring Operation: 9+80=89, Resulting Numbers: [89]
89,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[2, 73], Operations: ['63/7=9', '82-9=73']
Exploring Operation: 2*73=146, Resulting Numbers: [146]
146,13 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,13 unequal: No Solution
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,13 unequal: No Solution
Moving to Node #0,3,4
Current State: 13:[82, 11], Operations: ['63/7=9', '2+9=11']
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,13 unequal: No Solution
Exploring Operation: 82+11=93, Resulting Numbers: [93]
93,13 unequal: No Solution
Exploring Operation: 82*11=902, Resulting Numbers: [902]
902,13 unequal: No Solution
Moving to Node #0,3,2
Current State: 13:[82, 18], Operations: ['63/7=9', '2*9=18']
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,13 unequal: No Solution
Exploring Operation: 82+18=100, Resulting Numbers: [100]
100,13 unequal: No Solution
Exploring Operation: 82*18=1476, Resulting Numbers: [1476]
1476,13 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
71,
26,
24,
49
] | 71 | [
"26+24=50",
"50-49=1",
"71*1=71"
] | Current State: 71:[71, 26, 24, 49], Operations: []
Exploring Operation: 26+24=50, Resulting Numbers: [71, 49, 50]
Generated Node #2: [71, 49, 50] from Operation: 26+24=50
Current State: 71:[71, 49, 50], Operations: ['26+24=50']
Exploring Operation: 50-49=1, Resulting Numbers: [71, 1]
Generated Node #3: [71, 1] from Operation: 50-49=1
Current State: 71:[71, 1], Operations: ['26+24=50', '50-49=1']
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[71, 26, 24, 49], Operations: []
Exploring Operation: 26+24=50, Resulting Numbers: [71, 49, 50]
Generated Node #0,0: 71:[71, 49, 50] Operation: 26+24=50
Exploring Operation: 26+49=75, Resulting Numbers: [71, 24, 75]
Generated Node #0,1: 71:[71, 24, 75] Operation: 26+49=75
Exploring Operation: 24+49=73, Resulting Numbers: [71, 26, 73]
Generated Node #0,2: 71:[71, 26, 73] Operation: 24+49=73
Moving to Node #0,0
Current State: 71:[71, 49, 50], Operations: ['26+24=50']
Exploring Operation: 49+50=99, Resulting Numbers: [71, 99]
Generated Node #0,0,0: 71:[71, 99] Operation: 49+50=99
Exploring Operation: 71+49=120, Resulting Numbers: [50, 120]
Generated Node #0,0,1: 71:[50, 120] Operation: 71+49=120
Exploring Operation: 71-49=22, Resulting Numbers: [50, 22]
Generated Node #0,0,2: 71:[50, 22] Operation: 71-49=22
Moving to Node #0,2
Current State: 71:[71, 26, 73], Operations: ['24+49=73']
Exploring Operation: 73-26=47, Resulting Numbers: [71, 47]
Generated Node #0,2,0: 71:[71, 47] Operation: 73-26=47
Exploring Operation: 71+26=97, Resulting Numbers: [73, 97]
Generated Node #0,2,1: 71:[73, 97] Operation: 71+26=97
Exploring Operation: 71-26=45, Resulting Numbers: [73, 45]
Generated Node #0,2,2: 71:[73, 45] Operation: 71-26=45
Moving to Node #0,1
Current State: 71:[71, 24, 75], Operations: ['26+49=75']
Exploring Operation: 71+24=95, Resulting Numbers: [75, 95]
Generated Node #0,1,0: 71:[75, 95] Operation: 71+24=95
Exploring Operation: 71-24=47, Resulting Numbers: [75, 47]
Generated Node #0,1,1: 71:[75, 47] Operation: 71-24=47
Exploring Operation: 75-24=51, Resulting Numbers: [71, 51]
Generated Node #0,1,2: 71:[71, 51] Operation: 75-24=51
Moving to Node #0,1,2
Current State: 71:[71, 51], Operations: ['26+49=75', '75-24=51']
Exploring Operation: 71-51=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 71*51=3621, Resulting Numbers: [3621]
3621,71 unequal: No Solution
Exploring Operation: 71+51=122, Resulting Numbers: [122]
122,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[71, 47], Operations: ['24+49=73', '73-26=47']
Exploring Operation: 71+47=118, Resulting Numbers: [118]
118,71 unequal: No Solution
Exploring Operation: 71*47=3337, Resulting Numbers: [3337]
3337,71 unequal: No Solution
Exploring Operation: 71-47=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[73, 45], Operations: ['24+49=73', '71-26=45']
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 73+45=118, Resulting Numbers: [118]
118,71 unequal: No Solution
Exploring Operation: 73*45=3285, Resulting Numbers: [3285]
3285,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[75, 47], Operations: ['26+49=75', '71-24=47']
Exploring Operation: 75-47=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 75*47=3525, Resulting Numbers: [3525]
3525,71 unequal: No Solution
Exploring Operation: 75+47=122, Resulting Numbers: [122]
122,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[71, 99], Operations: ['26+24=50', '49+50=99']
Exploring Operation: 99-71=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 71+99=170, Resulting Numbers: [170]
170,71 unequal: No Solution
Exploring Operation: 71*99=7029, Resulting Numbers: [7029]
7029,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[73, 97], Operations: ['24+49=73', '71+26=97']
Exploring Operation: 97-73=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Exploring Operation: 73*97=7081, Resulting Numbers: [7081]
7081,71 unequal: No Solution
Exploring Operation: 73+97=170, Resulting Numbers: [170]
170,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[75, 95], Operations: ['26+49=75', '71+24=95']
Exploring Operation: 75+95=170, Resulting Numbers: [170]
170,71 unequal: No Solution
Exploring Operation: 95-75=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 75*95=7125, Resulting Numbers: [7125]
7125,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[50, 120], Operations: ['26+24=50', '71+49=120']
Exploring Operation: 50*120=6000, Resulting Numbers: [6000]
6000,71 unequal: No Solution
Exploring Operation: 50+120=170, Resulting Numbers: [170]
170,71 unequal: No Solution
Exploring Operation: 120-50=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[50, 22], Operations: ['26+24=50', '71-49=22']
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,71 unequal: No Solution
Exploring Operation: 50*22=1100, Resulting Numbers: [1100]
1100,71 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
92,
38,
2,
95
] | 38 | [
"92+2=94",
"95-94=1",
"38*1=38"
] | Current State: 38:[92, 38, 2, 95], Operations: []
Exploring Operation: 92+2=94, Resulting Numbers: [38, 95, 94]
Generated Node #2: [38, 95, 94] from Operation: 92+2=94
Current State: 38:[38, 95, 94], Operations: ['92+2=94']
Exploring Operation: 95-94=1, Resulting Numbers: [38, 1]
Generated Node #3: [38, 1] from Operation: 95-94=1
Current State: 38:[38, 1], Operations: ['92+2=94', '95-94=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[92, 38, 2, 95], Operations: []
Exploring Operation: 95-92=3, Resulting Numbers: [38, 2, 3]
Generated Node #0,0: 38:[38, 2, 3] Operation: 95-92=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[38, 2, 3], Operations: ['95-92=3']
Exploring Operation: 38/2=19, Resulting Numbers: [3, 19]
Generated Node #0,0,0: 38:[3, 19] Operation: 38/2=19
Moving to Node #0,0,0
Current State: 38:[3, 19], Operations: ['95-92=3', '38/2=19']
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,38 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 |
[
15,
80,
8,
15
] | 40 | [
"15+15=30",
"80/8=10",
"30+10=40"
] | Current State: 40:[15, 80, 8, 15], Operations: []
Exploring Operation: 15+15=30, Resulting Numbers: [80, 8, 30]
Generated Node #2: [80, 8, 30] from Operation: 15+15=30
Current State: 40:[80, 8, 30], Operations: ['15+15=30']
Exploring Operation: 80/8=10, Resulting Numbers: [30, 10]
Generated Node #3: [30, 10] from Operation: 80/8=10
Current State: 40:[30, 10], Operations: ['15+15=30', '80/8=10']
Exploring Operation: 30+10=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[15, 80, 8, 15], Operations: []
Exploring Operation: 80-15=65, Resulting Numbers: [8, 15, 65]
Generated Node #0,0: 40:[8, 15, 65] Operation: 80-15=65
Exploring Operation: 80/8=10, Resulting Numbers: [15, 15, 10]
Generated Node #0,1: 40:[15, 15, 10] Operation: 80/8=10
Moving to Node #0,1
Current State: 40:[15, 15, 10], Operations: ['80/8=10']
Exploring Operation: 15-15=0, Resulting Numbers: [10, 0]
Generated Node #0,1,0: 40:[10, 0] Operation: 15-15=0
Exploring Operation: 15/15=1, Resulting Numbers: [10, 1]
Generated Node #0,1,1: 40:[10, 1] Operation: 15/15=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[10, 1], Operations: ['80/8=10', '15/15=1']
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,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,0
Current State: 40:[10, 0], Operations: ['80/8=10', '15-15=0']
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,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:[8, 15, 65], Operations: ['80-15=65']
Exploring Operation: 65-15=50, Resulting Numbers: [8, 50]
Generated Node #0,0,0: 40:[8, 50] Operation: 65-15=50
Exploring Operation: 65-8=57, Resulting Numbers: [15, 57]
Generated Node #0,0,1: 40:[15, 57] Operation: 65-8=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[8, 50], Operations: ['80-15=65', '65-15=50']
Exploring Operation: 8+50=58, Resulting Numbers: [58]
58,40 unequal: No Solution
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,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,0,1
Current State: 40:[15, 57], Operations: ['80-15=65', '65-8=57']
Exploring Operation: 57-15=42, Resulting Numbers: [42]
42,40 unequal: No Solution
Exploring Operation: 15+57=72, Resulting Numbers: [72]
72,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 | mult_heuristic |
[
73,
25,
48,
22
] | 89 | [
"25-22=3",
"48/3=16",
"73+16=89"
] | Current State: 89:[73, 25, 48, 22], Operations: []
Exploring Operation: 25-22=3, Resulting Numbers: [73, 48, 3]
Generated Node #2: [73, 48, 3] from Operation: 25-22=3
Current State: 89:[73, 48, 3], Operations: ['25-22=3']
Exploring Operation: 48/3=16, Resulting Numbers: [73, 16]
Generated Node #3: [73, 16] from Operation: 48/3=16
Current State: 89:[73, 16], Operations: ['25-22=3', '48/3=16']
Exploring Operation: 73+16=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[73, 25, 48, 22], Operations: []
Exploring Operation: 25+48=73, Resulting Numbers: [73, 22, 73]
Generated Node #0,0: 89:[73, 22, 73] Operation: 25+48=73
Exploring Operation: 48+22=70, Resulting Numbers: [73, 25, 70]
Generated Node #0,1: 89:[73, 25, 70] Operation: 48+22=70
Exploring Operation: 73+25=98, Resulting Numbers: [48, 22, 98]
Generated Node #0,2: 89:[48, 22, 98] Operation: 73+25=98
Exploring Operation: 25+22=47, Resulting Numbers: [73, 48, 47]
Generated Node #0,3: 89:[73, 48, 47] Operation: 25+22=47
Exploring Operation: 73+22=95, Resulting Numbers: [25, 48, 95]
Generated Node #0,4: 89:[25, 48, 95] Operation: 73+22=95
Moving to Node #0,0
Current State: 89:[73, 22, 73], Operations: ['25+48=73']
Exploring Operation: 73+22=95, Resulting Numbers: [73, 95]
Generated Node #0,0,0: 89:[73, 95] Operation: 73+22=95
Exploring Operation: 73-22=51, Resulting Numbers: [73, 51]
Generated Node #0,0,1: 89:[73, 51] Operation: 73-22=51
Exploring Operation: 22+73=95, Resulting Numbers: [73, 95]
Generated Node #0,0,2: 89:[73, 95] Operation: 22+73=95
Exploring Operation: 73+73=146, Resulting Numbers: [22, 146]
Generated Node #0,0,3: 89:[22, 146] Operation: 73+73=146
Exploring Operation: 73-22=51, Resulting Numbers: [73, 51]
Generated Node #0,0,4: 89:[73, 51] Operation: 73-22=51
Moving to Node #0,3
Current State: 89:[73, 48, 47], Operations: ['25+22=47']
Exploring Operation: 73-47=26, Resulting Numbers: [48, 26]
Generated Node #0,3,0: 89:[48, 26] Operation: 73-47=26
Exploring Operation: 48-47=1, Resulting Numbers: [73, 1]
Generated Node #0,3,1: 89:[73, 1] Operation: 48-47=1
Exploring Operation: 48+47=95, Resulting Numbers: [73, 95]
Generated Node #0,3,2: 89:[73, 95] Operation: 48+47=95
Exploring Operation: 73+47=120, Resulting Numbers: [48, 120]
Generated Node #0,3,3: 89:[48, 120] Operation: 73+47=120
Exploring Operation: 73+48=121, Resulting Numbers: [47, 121]
Generated Node #0,3,4: 89:[47, 121] Operation: 73+48=121
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 89:[73, 95], Operations: ['25+22=47', '48+47=95']
Exploring Operation: 73*95=6935, Resulting Numbers: [6935]
6935,89 unequal: No Solution
Exploring Operation: 95-73=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 73+95=168, Resulting Numbers: [168]
168,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 89:[48, 120], Operations: ['25+22=47', '73+47=120']
Exploring Operation: 48+120=168, Resulting Numbers: [168]
168,89 unequal: No Solution
Exploring Operation: 48*120=5760, Resulting Numbers: [5760]
5760,89 unequal: No Solution
Exploring Operation: 120-48=72, Resulting Numbers: [72]
72,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 89:[47, 121], Operations: ['25+22=47', '73+48=121']
Exploring Operation: 47+121=168, Resulting Numbers: [168]
168,89 unequal: No Solution
Exploring Operation: 121-47=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 47*121=5687, Resulting Numbers: [5687]
5687,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 89:[48, 26], Operations: ['25+22=47', '73-47=26']
Exploring Operation: 48*26=1248, Resulting Numbers: [1248]
1248,89 unequal: No Solution
Exploring Operation: 48+26=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 89:[73, 1], Operations: ['25+22=47', '48-47=1']
Exploring Operation: 73+1=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,89 unequal: No Solution
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,89 unequal: No Solution
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 89:[73, 25, 70], Operations: ['48+22=70']
Exploring Operation: 73-25=48, Resulting Numbers: [70, 48]
Generated Node #0,1,0: 89:[70, 48] Operation: 73-25=48
Exploring Operation: 25+70=95, Resulting Numbers: [73, 95]
Generated Node #0,1,1: 89:[73, 95] Operation: 25+70=95
Exploring Operation: 73+70=143, Resulting Numbers: [25, 143]
Generated Node #0,1,2: 89:[25, 143] Operation: 73+70=143
Exploring Operation: 73+25=98, Resulting Numbers: [70, 98]
Generated Node #0,1,3: 89:[70, 98] Operation: 73+25=98
Exploring Operation: 70-25=45, Resulting Numbers: [73, 45]
Generated Node #0,1,4: 89:[73, 45] Operation: 70-25=45
Moving to Node #0,4
Current State: 89:[25, 48, 95], Operations: ['73+22=95']
Exploring Operation: 48-25=23, Resulting Numbers: [95, 23]
Generated Node #0,4,0: 89:[95, 23] Operation: 48-25=23
Exploring Operation: 25+95=120, Resulting Numbers: [48, 120]
Generated Node #0,4,1: 89:[48, 120] Operation: 25+95=120
Exploring Operation: 95-48=47, Resulting Numbers: [25, 47]
Generated Node #0,4,2: 89:[25, 47] Operation: 95-48=47
Exploring Operation: 95-25=70, Resulting Numbers: [48, 70]
Generated Node #0,4,3: 89:[48, 70] Operation: 95-25=70
Exploring Operation: 25+48=73, Resulting Numbers: [95, 73]
Generated Node #0,4,4: 89:[95, 73] Operation: 25+48=73
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 89:[95, 73], Operations: ['73+22=95', '25+48=73']
Exploring Operation: 95-73=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 95+73=168, Resulting Numbers: [168]
168,89 unequal: No Solution
Exploring Operation: 95*73=6935, Resulting Numbers: [6935]
6935,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 89:[48, 70], Operations: ['73+22=95', '95-25=70']
Exploring Operation: 48*70=3360, Resulting Numbers: [3360]
3360,89 unequal: No Solution
Exploring Operation: 70-48=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 48+70=118, Resulting Numbers: [118]
118,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 89:[95, 23], Operations: ['73+22=95', '48-25=23']
Exploring Operation: 95-23=72, Resulting Numbers: [72]
72,89 unequal: No Solution
Exploring Operation: 95+23=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 95*23=2185, Resulting Numbers: [2185]
2185,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 89:[48, 120], Operations: ['73+22=95', '25+95=120']
Exploring Operation: 120-48=72, Resulting Numbers: [72]
72,89 unequal: No Solution
Exploring Operation: 48+120=168, Resulting Numbers: [168]
168,89 unequal: No Solution
Exploring Operation: 48*120=5760, Resulting Numbers: [5760]
5760,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 89:[25, 47], Operations: ['73+22=95', '95-48=47']
Exploring Operation: 25*47=1175, Resulting Numbers: [1175]
1175,89 unequal: No Solution
Exploring Operation: 25+47=72, Resulting Numbers: [72]
72,89 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 89:[48, 22, 98], Operations: ['73+25=98']
Exploring Operation: 48+22=70, Resulting Numbers: [98, 70]
Generated Node #0,2,0: 89:[98, 70] Operation: 48+22=70
Exploring Operation: 98-48=50, Resulting Numbers: [22, 50]
Generated Node #0,2,1: 89:[22, 50] Operation: 98-48=50
Exploring Operation: 48-22=26, Resulting Numbers: [98, 26]
Generated Node #0,2,2: 89:[98, 26] Operation: 48-22=26
Exploring Operation: 98-22=76, Resulting Numbers: [48, 76]
Generated Node #0,2,3: 89:[48, 76] Operation: 98-22=76
Exploring Operation: 22+98=120, Resulting Numbers: [48, 120]
Generated Node #0,2,4: 89:[48, 120] Operation: 22+98=120
Moving to Node #0,0,0
Current State: 89:[73, 95], Operations: ['25+48=73', '73+22=95']
Exploring Operation: 73+95=168, Resulting Numbers: [168]
168,89 unequal: No Solution
Exploring Operation: 73*95=6935, Resulting Numbers: [6935]
6935,89 unequal: No Solution
Exploring Operation: 95-73=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[73, 95], Operations: ['48+22=70', '25+70=95']
Exploring Operation: 73+95=168, Resulting Numbers: [168]
168,89 unequal: No Solution
Exploring Operation: 73*95=6935, Resulting Numbers: [6935]
6935,89 unequal: No Solution
Exploring Operation: 95-73=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[73, 95], Operations: ['25+48=73', '22+73=95']
Exploring Operation: 73*95=6935, Resulting Numbers: [6935]
6935,89 unequal: No Solution
Exploring Operation: 95-73=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 73+95=168, Resulting Numbers: [168]
168,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[70, 98], Operations: ['48+22=70', '73+25=98']
Exploring Operation: 70+98=168, Resulting Numbers: [168]
168,89 unequal: No Solution
Exploring Operation: 70*98=6860, Resulting Numbers: [6860]
6860,89 unequal: No Solution
Exploring Operation: 98-70=28, Resulting Numbers: [28]
28,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[98, 70], Operations: ['73+25=98', '48+22=70']
Exploring Operation: 98*70=6860, Resulting Numbers: [6860]
6860,89 unequal: No Solution
Exploring Operation: 98+70=168, Resulting Numbers: [168]
168,89 unequal: No Solution
Exploring Operation: 98-70=28, Resulting Numbers: [28]
28,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[73, 51], Operations: ['25+48=73', '73-22=51']
Exploring Operation: 73*51=3723, Resulting Numbers: [3723]
3723,89 unequal: No Solution
Exploring Operation: 73+51=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 73-51=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[48, 76], Operations: ['73+25=98', '98-22=76']
Exploring Operation: 48+76=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 48*76=3648, Resulting Numbers: [3648]
3648,89 unequal: No Solution
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,89 unequal: No Solution
Moving to Node #0,0,4
Current State: 89:[73, 51], Operations: ['25+48=73', '73-22=51']
Exploring Operation: 73+51=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 73*51=3723, Resulting Numbers: [3723]
3723,89 unequal: No Solution
Exploring Operation: 73-51=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Moving to Node #0,1,4
Current State: 89:[73, 45], Operations: ['48+22=70', '70-25=45']
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,89 unequal: No Solution
Exploring Operation: 73+45=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 73*45=3285, Resulting Numbers: [3285]
3285,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[70, 48], Operations: ['48+22=70', '73-25=48']
Exploring Operation: 70-48=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 70*48=3360, Resulting Numbers: [3360]
3360,89 unequal: No Solution
Exploring Operation: 70+48=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Moving to Node #0,2,4
Current State: 89:[48, 120], Operations: ['73+25=98', '22+98=120']
Exploring Operation: 48*120=5760, Resulting Numbers: [5760]
5760,89 unequal: No Solution
Exploring Operation: 120-48=72, Resulting Numbers: [72]
72,89 unequal: No Solution
Exploring Operation: 48+120=168, Resulting Numbers: [168]
168,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[98, 26], Operations: ['73+25=98', '48-22=26']
Exploring Operation: 98*26=2548, Resulting Numbers: [2548]
2548,89 unequal: No Solution
Exploring Operation: 98-26=72, Resulting Numbers: [72]
72,89 unequal: No Solution
Exploring Operation: 98+26=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[22, 50], Operations: ['73+25=98', '98-48=50']
Exploring Operation: 22+50=72, Resulting Numbers: [72]
72,89 unequal: No Solution
Exploring Operation: 22*50=1100, Resulting Numbers: [1100]
1100,89 unequal: No Solution
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[25, 143], Operations: ['48+22=70', '73+70=143']
Exploring Operation: 25*143=3575, Resulting Numbers: [3575]
3575,89 unequal: No Solution
Exploring Operation: 143-25=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 25+143=168, Resulting Numbers: [168]
168,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[22, 146], Operations: ['25+48=73', '73+73=146']
Exploring Operation: 146-22=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 22+146=168, Resulting Numbers: [168]
168,89 unequal: No Solution
Exploring Operation: 22*146=3212, Resulting Numbers: [3212]
3212,89 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
19,
43,
35,
27
] | 41 | [
"19+35=54",
"54/27=2",
"43-2=41"
] | Current State: 41:[19, 43, 35, 27], Operations: []
Exploring Operation: 19+35=54, Resulting Numbers: [43, 27, 54]
Generated Node #2: [43, 27, 54] from Operation: 19+35=54
Current State: 41:[43, 27, 54], Operations: ['19+35=54']
Exploring Operation: 54/27=2, Resulting Numbers: [43, 2]
Generated Node #3: [43, 2] from Operation: 54/27=2
Current State: 41:[43, 2], Operations: ['19+35=54', '54/27=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[19, 43, 35, 27], Operations: []
Exploring Operation: 19+43=62, Resulting Numbers: [35, 27, 62]
Generated Node #0,0: 41:[35, 27, 62] Operation: 19+43=62
Exploring Operation: 19+27=46, Resulting Numbers: [43, 35, 46]
Generated Node #0,1: 41:[43, 35, 46] Operation: 19+27=46
Exploring Operation: 43-19=24, Resulting Numbers: [35, 27, 24]
Generated Node #0,2: 41:[35, 27, 24] Operation: 43-19=24
Exploring Operation: 35-19=16, Resulting Numbers: [43, 27, 16]
Generated Node #0,3: 41:[43, 27, 16] Operation: 35-19=16
Exploring Operation: 19+35=54, Resulting Numbers: [43, 27, 54]
Generated Node #0,4: 41:[43, 27, 54] Operation: 19+35=54
Moving to Node #0,1
Current State: 41:[43, 35, 46], Operations: ['19+27=46']
Exploring Operation: 46-43=3, Resulting Numbers: [35, 3]
Generated Node #0,1,0: 41:[35, 3] Operation: 46-43=3
Exploring Operation: 35+46=81, Resulting Numbers: [43, 81]
Generated Node #0,1,1: 41:[43, 81] Operation: 35+46=81
Exploring Operation: 43+35=78, Resulting Numbers: [46, 78]
Generated Node #0,1,2: 41:[46, 78] Operation: 43+35=78
Exploring Operation: 43-35=8, Resulting Numbers: [46, 8]
Generated Node #0,1,3: 41:[46, 8] Operation: 43-35=8
Exploring Operation: 46-35=11, Resulting Numbers: [43, 11]
Generated Node #0,1,4: 41:[43, 11] Operation: 46-35=11
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 41:[43, 11], Operations: ['19+27=46', '46-35=11']
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 43*11=473, Resulting Numbers: [473]
473,41 unequal: No Solution
Exploring Operation: 43+11=54, Resulting Numbers: [54]
54,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:[46, 8], Operations: ['19+27=46', '43-35=8']
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,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,1
Current State: 41:[43, 81], Operations: ['19+27=46', '35+46=81']
Exploring Operation: 43*81=3483, Resulting Numbers: [3483]
3483,41 unequal: No Solution
Exploring Operation: 81-43=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Exploring Operation: 43+81=124, Resulting Numbers: [124]
124,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:[46, 78], Operations: ['19+27=46', '43+35=78']
Exploring Operation: 46*78=3588, Resulting Numbers: [3588]
3588,41 unequal: No Solution
Exploring Operation: 46+78=124, Resulting Numbers: [124]
124,41 unequal: No Solution
Exploring Operation: 78-46=32, Resulting Numbers: [32]
32,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:[35, 3], Operations: ['19+27=46', '46-43=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,41 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: 41:[43, 27, 54], Operations: ['19+35=54']
Exploring Operation: 54/27=2, Resulting Numbers: [43, 2]
Generated Node #0,4,0: 41:[43, 2] Operation: 54/27=2
Exploring Operation: 27+54=81, Resulting Numbers: [43, 81]
Generated Node #0,4,1: 41:[43, 81] Operation: 27+54=81
Exploring Operation: 43+27=70, Resulting Numbers: [54, 70]
Generated Node #0,4,2: 41:[54, 70] Operation: 43+27=70
Exploring Operation: 43-27=16, Resulting Numbers: [54, 16]
Generated Node #0,4,3: 41:[54, 16] Operation: 43-27=16
Exploring Operation: 54-27=27, Resulting Numbers: [43, 27]
Generated Node #0,4,4: 41:[43, 27] Operation: 54-27=27
Moving to Node #0,2
Current State: 41:[35, 27, 24], Operations: ['43-19=24']
Exploring Operation: 35-24=11, Resulting Numbers: [27, 11]
Generated Node #0,2,0: 41:[27, 11] Operation: 35-24=11
Exploring Operation: 35+24=59, Resulting Numbers: [27, 59]
Generated Node #0,2,1: 41:[27, 59] Operation: 35+24=59
Exploring Operation: 35+27=62, Resulting Numbers: [24, 62]
Generated Node #0,2,2: 41:[24, 62] Operation: 35+27=62
Exploring Operation: 27-24=3, Resulting Numbers: [35, 3]
Generated Node #0,2,3: 41:[35, 3] Operation: 27-24=3
Exploring Operation: 27+24=51, Resulting Numbers: [35, 51]
Generated Node #0,2,4: 41:[35, 51] Operation: 27+24=51
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 41:[35, 51], Operations: ['43-19=24', '27+24=51']
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 35+51=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 35*51=1785, Resulting Numbers: [1785]
1785,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[27, 59], Operations: ['43-19=24', '35+24=59']
Exploring Operation: 27+59=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 27*59=1593, Resulting Numbers: [1593]
1593,41 unequal: No Solution
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[24, 62], Operations: ['43-19=24', '35+27=62']
Exploring Operation: 24*62=1488, Resulting Numbers: [1488]
1488,41 unequal: No Solution
Exploring Operation: 24+62=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 62-24=38, Resulting Numbers: [38]
38,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[27, 11], Operations: ['43-19=24', '35-24=11']
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Exploring Operation: 27*11=297, Resulting Numbers: [297]
297,41 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 41:[35, 3], Operations: ['43-19=24', '27-24=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,41 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,41 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: 41:[35, 27, 62], Operations: ['19+43=62']
Exploring Operation: 35-27=8, Resulting Numbers: [62, 8]
Generated Node #0,0,0: 41:[62, 8] Operation: 35-27=8
Exploring Operation: 62-35=27, Resulting Numbers: [27, 27]
Generated Node #0,0,1: 41:[27, 27] Operation: 62-35=27
Exploring Operation: 62-27=35, Resulting Numbers: [35, 35]
Generated Node #0,0,2: 41:[35, 35] Operation: 62-27=35
Exploring Operation: 35+27=62, Resulting Numbers: [62, 62]
Generated Node #0,0,3: 41:[62, 62] Operation: 35+27=62
Exploring Operation: 27+62=89, Resulting Numbers: [35, 89]
Generated Node #0,0,4: 41:[35, 89] Operation: 27+62=89
Moving to Node #0,3
Current State: 41:[43, 27, 16], Operations: ['35-19=16']
Exploring Operation: 43-27=16, Resulting Numbers: [16, 16]
Generated Node #0,3,0: 41:[16, 16] Operation: 43-27=16
Exploring Operation: 27-16=11, Resulting Numbers: [43, 11]
Generated Node #0,3,1: 41:[43, 11] Operation: 27-16=11
Exploring Operation: 27+16=43, Resulting Numbers: [43, 43]
Generated Node #0,3,2: 41:[43, 43] Operation: 27+16=43
Exploring Operation: 43-16=27, Resulting Numbers: [27, 27]
Generated Node #0,3,3: 41:[27, 27] Operation: 43-16=27
Exploring Operation: 43+16=59, Resulting Numbers: [27, 59]
Generated Node #0,3,4: 41:[27, 59] Operation: 43+16=59
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 41:[43, 43], Operations: ['35-19=16', '27+16=43']
Exploring Operation: 43-43=0, Resulting Numbers: [0]
0,41 unequal: No Solution
Exploring Operation: 43*43=1849, Resulting Numbers: [1849]
1849,41 unequal: No Solution
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 43/43=1, Resulting Numbers: [1]
1,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 41:[27, 27], Operations: ['35-19=16', '43-16=27']
Exploring Operation: 27/27=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Exploring Operation: 27-27=0, Resulting Numbers: [0]
0,41 unequal: No Solution
Exploring Operation: 27*27=729, Resulting Numbers: [729]
729,41 unequal: No Solution
Exploring Operation: 27+27=54, Resulting Numbers: [54]
54,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 41:[43, 11], Operations: ['35-19=16', '27-16=11']
Exploring Operation: 43*11=473, Resulting Numbers: [473]
473,41 unequal: No Solution
Exploring Operation: 43+11=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 41:[27, 59], Operations: ['35-19=16', '43+16=59']
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 27+59=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 27*59=1593, Resulting Numbers: [1593]
1593,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 41:[16, 16], Operations: ['35-19=16', '43-27=16']
Exploring Operation: 16+16=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 16-16=0, Resulting Numbers: [0]
0,41 unequal: No Solution
Exploring Operation: 16/16=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Exploring Operation: 16*16=256, Resulting Numbers: [256]
256,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 41:[35, 35], Operations: ['19+43=62', '62-27=35']
Exploring Operation: 35-35=0, Resulting Numbers: [0]
0,41 unequal: No Solution
Exploring Operation: 35*35=1225, Resulting Numbers: [1225]
1225,41 unequal: No Solution
Exploring Operation: 35/35=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Exploring Operation: 35+35=70, Resulting Numbers: [70]
70,41 unequal: No Solution
Moving to Node #0,4,4
Current State: 41:[43, 27], Operations: ['19+35=54', '54-27=27']
Exploring Operation: 43*27=1161, Resulting Numbers: [1161]
1161,41 unequal: No Solution
Exploring Operation: 43+27=70, Resulting Numbers: [70]
70,41 unequal: No Solution
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[27, 27], Operations: ['19+43=62', '62-35=27']
Exploring Operation: 27+27=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 27/27=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Exploring Operation: 27*27=729, Resulting Numbers: [729]
729,41 unequal: No Solution
Exploring Operation: 27-27=0, Resulting Numbers: [0]
0,41 unequal: No Solution
Moving to Node #0,4,3
Current State: 41:[54, 16], Operations: ['19+35=54', '43-27=16']
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,41 unequal: No Solution
Exploring Operation: 54*16=864, Resulting Numbers: [864]
864,41 unequal: No Solution
Moving to Node #0,4,0
Current State: 41:[43, 2], Operations: ['19+35=54', '54/27=2']
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[19, 43, 35, 27], Operations: []
Exploring Operation: 19+35=54, Resulting Numbers: [43, 27, 54]
Generated Node #0,4: 41:[43, 27, 54] Operation: 19+35=54
Moving to Node #0,4
Current State: 41:[43, 27, 54], Operations: ['19+35=54']
Exploring Operation: 54/27=2, Resulting Numbers: [43, 2]
Generated Node #0,4,0: 41:[43, 2] Operation: 54/27=2
Moving to Node #0,4,0
Current State: 41:[43, 2], Operations: ['19+35=54', '54/27=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 0.914931 | hs_5 | mult_heuristic |
[
32,
51,
81,
34
] | 22 | [
"81*34=2754",
"2754/51=54",
"54-32=22"
] | Current State: 22:[32, 51, 81, 34], Operations: []
Exploring Operation: 81*34=2754, Resulting Numbers: [32, 51, 2754]
Generated Node #2: [32, 51, 2754] from Operation: 81*34=2754
Current State: 22:[32, 51, 2754], Operations: ['81*34=2754']
Exploring Operation: 2754/51=54, Resulting Numbers: [32, 54]
Generated Node #3: [32, 54] from Operation: 2754/51=54
Current State: 22:[32, 54], Operations: ['81*34=2754', '2754/51=54']
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[32, 51, 81, 34], Operations: []
Exploring Operation: 81-32=49, Resulting Numbers: [51, 34, 49]
Generated Node #0,0: 22:[51, 34, 49] Operation: 81-32=49
Exploring Operation: 81-51=30, Resulting Numbers: [32, 34, 30]
Generated Node #0,1: 22:[32, 34, 30] Operation: 81-51=30
Exploring Operation: 81-34=47, Resulting Numbers: [32, 51, 47]
Generated Node #0,2: 22:[32, 51, 47] Operation: 81-34=47
Exploring Operation: 51-32=19, Resulting Numbers: [81, 34, 19]
Generated Node #0,3: 22:[81, 34, 19] Operation: 51-32=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[32, 34, 30], Operations: ['81-51=30']
Exploring Operation: 32-30=2, Resulting Numbers: [34, 2]
Generated Node #0,1,0: 22:[34, 2] Operation: 32-30=2
Exploring Operation: 34-30=4, Resulting Numbers: [32, 4]
Generated Node #0,1,1: 22:[32, 4] Operation: 34-30=4
Exploring Operation: 34-32=2, Resulting Numbers: [30, 2]
Generated Node #0,1,2: 22:[30, 2] Operation: 34-32=2
Exploring Operation: 32+34=66, Resulting Numbers: [30, 66]
Generated Node #0,1,3: 22:[30, 66] Operation: 32+34=66
Moving to Node #0,1,2
Current State: 22:[30, 2], Operations: ['81-51=30', '34-32=2']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[32, 4], Operations: ['81-51=30', '34-30=4']
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 32*4=128, Resulting Numbers: [128]
128,22 unequal: No Solution
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[34, 2], Operations: ['81-51=30', '32-30=2']
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,22 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Moving to Node #0,1,3
Current State: 22:[30, 66], Operations: ['81-51=30', '32+34=66']
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 30*66=1980, Resulting Numbers: [1980]
1980,22 unequal: No Solution
Exploring Operation: 30+66=96, Resulting Numbers: [96]
96,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:[32, 51, 47], Operations: ['81-34=47']
Exploring Operation: 47-32=15, Resulting Numbers: [51, 15]
Generated Node #0,2,0: 22:[51, 15] Operation: 47-32=15
Exploring Operation: 51-32=19, Resulting Numbers: [47, 19]
Generated Node #0,2,1: 22:[47, 19] Operation: 51-32=19
Exploring Operation: 32+51=83, Resulting Numbers: [47, 83]
Generated Node #0,2,2: 22:[47, 83] Operation: 32+51=83
Exploring Operation: 51-47=4, Resulting Numbers: [32, 4]
Generated Node #0,2,3: 22:[32, 4] Operation: 51-47=4
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 22:[32, 4], Operations: ['81-34=47', '51-47=4']
Exploring Operation: 32*4=128, Resulting Numbers: [128]
128,22 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,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:[47, 19], Operations: ['81-34=47', '51-32=19']
Exploring Operation: 47+19=66, Resulting Numbers: [66]
66,22 unequal: No Solution
Exploring Operation: 47*19=893, Resulting Numbers: [893]
893,22 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,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,0
Current State: 22:[51, 15], Operations: ['81-34=47', '47-32=15']
Exploring Operation: 51+15=66, Resulting Numbers: [66]
66,22 unequal: No Solution
Exploring Operation: 51*15=765, Resulting Numbers: [765]
765,22 unequal: No Solution
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,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:[47, 83], Operations: ['81-34=47', '32+51=83']
Exploring Operation: 47+83=130, Resulting Numbers: [130]
130,22 unequal: No Solution
Exploring Operation: 47*83=3901, Resulting Numbers: [3901]
3901,22 unequal: No Solution
Exploring Operation: 83-47=36, Resulting Numbers: [36]
36,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[51, 34, 49], Operations: ['81-32=49']
Exploring Operation: 49-34=15, Resulting Numbers: [51, 15]
Generated Node #0,0,0: 22:[51, 15] Operation: 49-34=15
Exploring Operation: 51+34=85, Resulting Numbers: [49, 85]
Generated Node #0,0,1: 22:[49, 85] Operation: 51+34=85
Exploring Operation: 51-34=17, Resulting Numbers: [49, 17]
Generated Node #0,0,2: 22:[49, 17] Operation: 51-34=17
Exploring Operation: 51-49=2, Resulting Numbers: [34, 2]
Generated Node #0,0,3: 22:[34, 2] Operation: 51-49=2
Moving to Node #0,0,3
Current State: 22:[34, 2], Operations: ['81-32=49', '51-49=2']
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,22 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[49, 17], Operations: ['81-32=49', '51-34=17']
Exploring Operation: 49*17=833, Resulting Numbers: [833]
833,22 unequal: No Solution
Exploring Operation: 49+17=66, Resulting Numbers: [66]
66,22 unequal: No Solution
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[51, 15], Operations: ['81-32=49', '49-34=15']
Exploring Operation: 51+15=66, Resulting Numbers: [66]
66,22 unequal: No Solution
Exploring Operation: 51*15=765, Resulting Numbers: [765]
765,22 unequal: No Solution
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[49, 85], Operations: ['81-32=49', '51+34=85']
Exploring Operation: 85-49=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 49*85=4165, Resulting Numbers: [4165]
4165,22 unequal: No Solution
Exploring Operation: 49+85=134, Resulting Numbers: [134]
134,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,3
Current State: 22:[81, 34, 19], Operations: ['51-32=19']
Exploring Operation: 81+19=100, Resulting Numbers: [34, 100]
Generated Node #0,3,0: 22:[34, 100] Operation: 81+19=100
Exploring Operation: 81-34=47, Resulting Numbers: [19, 47]
Generated Node #0,3,1: 22:[19, 47] Operation: 81-34=47
Exploring Operation: 34-19=15, Resulting Numbers: [81, 15]
Generated Node #0,3,2: 22:[81, 15] Operation: 34-19=15
Exploring Operation: 81-19=62, Resulting Numbers: [34, 62]
Generated Node #0,3,3: 22:[34, 62] Operation: 81-19=62
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 22:[19, 47], Operations: ['51-32=19', '81-34=47']
Exploring Operation: 19+47=66, Resulting Numbers: [66]
66,22 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 19*47=893, Resulting Numbers: [893]
893,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,3,3
Current State: 22:[34, 62], Operations: ['51-32=19', '81-19=62']
Exploring Operation: 34+62=96, Resulting Numbers: [96]
96,22 unequal: No Solution
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 34*62=2108, Resulting Numbers: [2108]
2108,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,3,2
Current State: 22:[81, 15], Operations: ['51-32=19', '34-19=15']
Exploring Operation: 81*15=1215, Resulting Numbers: [1215]
1215,22 unequal: No Solution
Exploring Operation: 81+15=96, Resulting Numbers: [96]
96,22 unequal: No Solution
Exploring Operation: 81-15=66, Resulting Numbers: [66]
66,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,3,0
Current State: 22:[34, 100], Operations: ['51-32=19', '81+19=100']
Exploring Operation: 100-34=66, Resulting Numbers: [66]
66,22 unequal: No Solution
Exploring Operation: 34*100=3400, Resulting Numbers: [3400]
3400,22 unequal: No Solution
Exploring Operation: 34+100=134, Resulting Numbers: [134]
134,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_4 | sum_heuristic |
[
94,
5,
1,
85
] | 54 | [
"94-85=9",
"5+1=6",
"9*6=54"
] | Current State: 54:[94, 5, 1, 85], Operations: []
Exploring Operation: 94-85=9, Resulting Numbers: [5, 1, 9]
Generated Node #2: [5, 1, 9] from Operation: 94-85=9
Current State: 54:[5, 1, 9], Operations: ['94-85=9']
Exploring Operation: 5+1=6, Resulting Numbers: [9, 6]
Generated Node #3: [9, 6] from Operation: 5+1=6
Current State: 54:[9, 6], Operations: ['94-85=9', '5+1=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[94, 5, 1, 85], Operations: []
Exploring Operation: 94-85=9, Resulting Numbers: [5, 1, 9]
Generated Node #0,0: 54:[5, 1, 9] Operation: 94-85=9
Exploring Operation: 85/5=17, Resulting Numbers: [94, 1, 17]
Generated Node #0,1: 54:[94, 1, 17] Operation: 85/5=17
Exploring Operation: 85-5=80, Resulting Numbers: [94, 1, 80]
Generated Node #0,2: 54:[94, 1, 80] Operation: 85-5=80
Exploring Operation: 94-5=89, Resulting Numbers: [1, 85, 89]
Generated Node #0,3: 54:[1, 85, 89] Operation: 94-5=89
Moving to Node #0,0
Current State: 54:[5, 1, 9], Operations: ['94-85=9']
Exploring Operation: 5-1=4, Resulting Numbers: [9, 4]
Generated Node #0,0,0: 54:[9, 4] Operation: 5-1=4
Exploring Operation: 5/1=5, Resulting Numbers: [9, 5]
Generated Node #0,0,1: 54:[9, 5] Operation: 5/1=5
Exploring Operation: 5*1=5, Resulting Numbers: [9, 5]
Generated Node #0,0,2: 54:[9, 5] Operation: 5*1=5
Exploring Operation: 5+1=6, Resulting Numbers: [9, 6]
Generated Node #0,0,3: 54:[9, 6] Operation: 5+1=6
Moving to Node #0,1
Current State: 54:[94, 1, 17], Operations: ['85/5=17']
Exploring Operation: 94-17=77, Resulting Numbers: [1, 77]
Generated Node #0,1,0: 54:[1, 77] Operation: 94-17=77
Exploring Operation: 94-1=93, Resulting Numbers: [17, 93]
Generated Node #0,1,1: 54:[17, 93] Operation: 94-1=93
Exploring Operation: 1+17=18, Resulting Numbers: [94, 18]
Generated Node #0,1,2: 54:[94, 18] Operation: 1+17=18
Exploring Operation: 94*1=94, Resulting Numbers: [17, 94]
Generated Node #0,1,3: 54:[17, 94] Operation: 94*1=94
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[1, 77], Operations: ['85/5=17', '94-17=77']
Exploring Operation: 1*77=77, Resulting Numbers: [77]
77,54 unequal: No Solution
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,54 unequal: No Solution
Exploring Operation: 1+77=78, Resulting Numbers: [78]
78,54 unequal: No Solution
Exploring Operation: 77/1=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,1,1
Current State: 54:[17, 93], Operations: ['85/5=17', '94-1=93']
Exploring Operation: 17+93=110, Resulting Numbers: [110]
110,54 unequal: No Solution
Exploring Operation: 17*93=1581, Resulting Numbers: [1581]
1581,54 unequal: No Solution
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 54:[94, 18], Operations: ['85/5=17', '1+17=18']
Exploring Operation: 94*18=1692, Resulting Numbers: [1692]
1692,54 unequal: No Solution
Exploring Operation: 94-18=76, Resulting Numbers: [76]
76,54 unequal: No Solution
Exploring Operation: 94+18=112, Resulting Numbers: [112]
112,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,3
Current State: 54:[17, 94], Operations: ['85/5=17', '94*1=94']
Exploring Operation: 17+94=111, Resulting Numbers: [111]
111,54 unequal: No Solution
Exploring Operation: 94-17=77, Resulting Numbers: [77]
77,54 unequal: No Solution
Exploring Operation: 17*94=1598, Resulting Numbers: [1598]
1598,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 54:[1, 85, 89], Operations: ['94-5=89']
Exploring Operation: 89-1=88, Resulting Numbers: [85, 88]
Generated Node #0,3,0: 54:[85, 88] Operation: 89-1=88
Exploring Operation: 85-1=84, Resulting Numbers: [89, 84]
Generated Node #0,3,1: 54:[89, 84] Operation: 85-1=84
Exploring Operation: 89-85=4, Resulting Numbers: [1, 4]
Generated Node #0,3,2: 54:[1, 4] Operation: 89-85=4
Exploring Operation: 1*85=85, Resulting Numbers: [89, 85]
Generated Node #0,3,3: 54:[89, 85] Operation: 1*85=85
Moving to Node #0,2
Current State: 54:[94, 1, 80], Operations: ['85-5=80']
Exploring Operation: 80-1=79, Resulting Numbers: [94, 79]
Generated Node #0,2,0: 54:[94, 79] Operation: 80-1=79
Exploring Operation: 94-1=93, Resulting Numbers: [80, 93]
Generated Node #0,2,1: 54:[80, 93] Operation: 94-1=93
Exploring Operation: 94*1=94, Resulting Numbers: [80, 94]
Generated Node #0,2,2: 54:[80, 94] Operation: 94*1=94
Exploring Operation: 94-80=14, Resulting Numbers: [1, 14]
Generated Node #0,2,3: 54:[1, 14] Operation: 94-80=14
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 54:[1, 14], Operations: ['85-5=80', '94-80=14']
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[94, 79], Operations: ['85-5=80', '80-1=79']
Exploring Operation: 94-79=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 94*79=7426, Resulting Numbers: [7426]
7426,54 unequal: No Solution
Exploring Operation: 94+79=173, Resulting Numbers: [173]
173,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:[80, 93], Operations: ['85-5=80', '94-1=93']
Exploring Operation: 80+93=173, Resulting Numbers: [173]
173,54 unequal: No Solution
Exploring Operation: 80*93=7440, Resulting Numbers: [7440]
7440,54 unequal: No Solution
Exploring Operation: 93-80=13, Resulting Numbers: [13]
13,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:[80, 94], Operations: ['85-5=80', '94*1=94']
Exploring Operation: 80*94=7520, Resulting Numbers: [7520]
7520,54 unequal: No Solution
Exploring Operation: 80+94=174, Resulting Numbers: [174]
174,54 unequal: No Solution
Exploring Operation: 94-80=14, Resulting Numbers: [14]
14,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 54:[9, 6], Operations: ['94-85=9', '5+1=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[94, 5, 1, 85], Operations: []
Exploring Operation: 94-85=9, Resulting Numbers: [5, 1, 9]
Generated Node #0,0: 54:[5, 1, 9] Operation: 94-85=9
Moving to Node #0,0
Current State: 54:[5, 1, 9], Operations: ['94-85=9']
Exploring Operation: 5+1=6, Resulting Numbers: [9, 6]
Generated Node #0,0,3: 54:[9, 6] Operation: 5+1=6
Moving to Node #0,0,3
Current State: 54:[9, 6], Operations: ['94-85=9', '5+1=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.955729 | hs_4 | sum_heuristic |
[
15,
83,
70,
91
] | 63 | [
"15+83=98",
"70+91=161",
"161-98=63"
] | Current State: 63:[15, 83, 70, 91], Operations: []
Exploring Operation: 15+83=98, Resulting Numbers: [70, 91, 98]
Generated Node #2: [70, 91, 98] from Operation: 15+83=98
Current State: 63:[70, 91, 98], Operations: ['15+83=98']
Exploring Operation: 70+91=161, Resulting Numbers: [98, 161]
Generated Node #3: [98, 161] from Operation: 70+91=161
Current State: 63:[98, 161], Operations: ['15+83=98', '70+91=161']
Exploring Operation: 161-98=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[15, 83, 70, 91], Operations: []
Exploring Operation: 91-70=21, Resulting Numbers: [15, 83, 21]
Generated Node #0,0: 63:[15, 83, 21] Operation: 91-70=21
Exploring Operation: 83-70=13, Resulting Numbers: [15, 91, 13]
Generated Node #0,1: 63:[15, 91, 13] Operation: 83-70=13
Exploring Operation: 91-83=8, Resulting Numbers: [15, 70, 8]
Generated Node #0,2: 63:[15, 70, 8] Operation: 91-83=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[15, 70, 8], Operations: ['91-83=8']
Exploring Operation: 70-15=55, Resulting Numbers: [8, 55]
Generated Node #0,2,0: 63:[8, 55] Operation: 70-15=55
Exploring Operation: 15-8=7, Resulting Numbers: [70, 7]
Generated Node #0,2,1: 63:[70, 7] Operation: 15-8=7
Exploring Operation: 70-8=62, Resulting Numbers: [15, 62]
Generated Node #0,2,2: 63:[15, 62] Operation: 70-8=62
Moving to Node #0,2,1
Current State: 63:[70, 7], Operations: ['91-83=8', '15-8=7']
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,63 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[15, 83, 70, 91], Operations: []
Exploring Operation: 91-83=8, Resulting Numbers: [15, 70, 8]
Generated Node #0,2: 63:[15, 70, 8] Operation: 91-83=8
Moving to Node #0,2
Current State: 63:[15, 70, 8], Operations: ['91-83=8']
Exploring Operation: 15-8=7, Resulting Numbers: [70, 7]
Generated Node #0,2,1: 63:[70, 7] Operation: 15-8=7
Moving to Node #0,2,1
Current State: 63:[70, 7], Operations: ['91-83=8', '15-8=7']
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
13,
52,
63,
49
] | 56 | [
"52/13=4",
"63-49=14",
"4*14=56"
] | Current State: 56:[13, 52, 63, 49], Operations: []
Exploring Operation: 52/13=4, Resulting Numbers: [63, 49, 4]
Generated Node #2: [63, 49, 4] from Operation: 52/13=4
Current State: 56:[63, 49, 4], Operations: ['52/13=4']
Exploring Operation: 63-49=14, Resulting Numbers: [4, 14]
Generated Node #3: [4, 14] from Operation: 63-49=14
Current State: 56:[4, 14], Operations: ['52/13=4', '63-49=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[13, 52, 63, 49], Operations: []
Exploring Operation: 52-49=3, Resulting Numbers: [13, 63, 3]
Generated Node #0,0: 56:[13, 63, 3] Operation: 52-49=3
Exploring Operation: 63-49=14, Resulting Numbers: [13, 52, 14]
Generated Node #0,1: 56:[13, 52, 14] Operation: 63-49=14
Moving to Node #0,1
Current State: 56:[13, 52, 14], Operations: ['63-49=14']
Exploring Operation: 13+14=27, Resulting Numbers: [52, 27]
Generated Node #0,1,0: 56:[52, 27] Operation: 13+14=27
Exploring Operation: 52/13=4, Resulting Numbers: [14, 4]
Generated Node #0,1,1: 56:[14, 4] Operation: 52/13=4
Moving to Node #0,0
Current State: 56:[13, 63, 3], Operations: ['52-49=3']
Exploring Operation: 63-13=50, Resulting Numbers: [3, 50]
Generated Node #0,0,0: 56:[3, 50] Operation: 63-13=50
Exploring Operation: 63-3=60, Resulting Numbers: [13, 60]
Generated Node #0,0,1: 56:[13, 60] Operation: 63-3=60
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[13, 60], Operations: ['52-49=3', '63-3=60']
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,56 unequal: No Solution
Exploring Operation: 13+60=73, Resulting Numbers: [73]
73,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[3, 50], Operations: ['52-49=3', '63-13=50']
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,56 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,56 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: 56:[14, 4], Operations: ['63-49=14', '52/13=4']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[13, 52, 63, 49], Operations: []
Exploring Operation: 63-49=14, Resulting Numbers: [13, 52, 14]
Generated Node #0,1: 56:[13, 52, 14] Operation: 63-49=14
Moving to Node #0,1
Current State: 56:[13, 52, 14], Operations: ['63-49=14']
Exploring Operation: 52/13=4, Resulting Numbers: [14, 4]
Generated Node #0,1,1: 56:[14, 4] Operation: 52/13=4
Moving to Node #0,1,1
Current State: 56:[14, 4], Operations: ['63-49=14', '52/13=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
18,
37,
62,
26
] | 33 | [
"18+37=55",
"62+26=88",
"88-55=33"
] | Current State: 33:[18, 37, 62, 26], Operations: []
Exploring Operation: 18+37=55, Resulting Numbers: [62, 26, 55]
Generated Node #2: [62, 26, 55] from Operation: 18+37=55
Current State: 33:[62, 26, 55], Operations: ['18+37=55']
Exploring Operation: 62+26=88, Resulting Numbers: [55, 88]
Generated Node #3: [55, 88] from Operation: 62+26=88
Current State: 33:[55, 88], Operations: ['18+37=55', '62+26=88']
Exploring Operation: 88-55=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[18, 37, 62, 26], Operations: []
Exploring Operation: 62-37=25, Resulting Numbers: [18, 26, 25]
Generated Node #0,0: 33:[18, 26, 25] Operation: 62-37=25
Exploring Operation: 62-26=36, Resulting Numbers: [18, 37, 36]
Generated Node #0,1: 33:[18, 37, 36] Operation: 62-26=36
Exploring Operation: 62-18=44, Resulting Numbers: [37, 26, 44]
Generated Node #0,2: 33:[37, 26, 44] Operation: 62-18=44
Exploring Operation: 26-18=8, Resulting Numbers: [37, 62, 8]
Generated Node #0,3: 33:[37, 62, 8] Operation: 26-18=8
Moving to Node #0,1
Current State: 33:[18, 37, 36], Operations: ['62-26=36']
Exploring Operation: 37-36=1, Resulting Numbers: [18, 1]
Generated Node #0,1,0: 33:[18, 1] Operation: 37-36=1
Exploring Operation: 37-18=19, Resulting Numbers: [36, 19]
Generated Node #0,1,1: 33:[36, 19] Operation: 37-18=19
Exploring Operation: 36-18=18, Resulting Numbers: [37, 18]
Generated Node #0,1,2: 33:[37, 18] Operation: 36-18=18
Exploring Operation: 36/18=2, Resulting Numbers: [37, 2]
Generated Node #0,1,3: 33:[37, 2] Operation: 36/18=2
Moving to Node #0,2
Current State: 33:[37, 26, 44], Operations: ['62-18=44']
Exploring Operation: 44-37=7, Resulting Numbers: [26, 7]
Generated Node #0,2,0: 33:[26, 7] Operation: 44-37=7
Exploring Operation: 37+26=63, Resulting Numbers: [44, 63]
Generated Node #0,2,1: 33:[44, 63] Operation: 37+26=63
Exploring Operation: 37-26=11, Resulting Numbers: [44, 11]
Generated Node #0,2,2: 33:[44, 11] Operation: 37-26=11
Exploring Operation: 44-26=18, Resulting Numbers: [37, 18]
Generated Node #0,2,3: 33:[37, 18] Operation: 44-26=18
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 33:[26, 7], Operations: ['62-18=44', '44-37=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[18, 37, 62, 26], Operations: []
Exploring Operation: 62-18=44, Resulting Numbers: [37, 26, 44]
Generated Node #0,2: 33:[37, 26, 44] Operation: 62-18=44
Moving to Node #0,2
Current State: 33:[37, 26, 44], Operations: ['62-18=44']
Exploring Operation: 44-37=7, Resulting Numbers: [26, 7]
Generated Node #0,2,0: 33:[26, 7] Operation: 44-37=7
Moving to Node #0,2,0
Current State: 33:[26, 7], Operations: ['62-18=44', '44-37=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
28,
5,
56,
28
] | 70 | [
"28*5=140",
"56/28=2",
"140/2=70"
] | Current State: 70:[28, 5, 56, 28], Operations: []
Exploring Operation: 28*5=140, Resulting Numbers: [56, 140]
Generated Node #2: [56, 140] from Operation: 28*5=140
Current State: 70:[56, 140], Operations: ['28*5=140']
Exploring Operation: 56/28=2, Resulting Numbers: [140, 2]
Generated Node #3: [140, 2] from Operation: 56/28=2
Current State: 70:[140, 2], Operations: ['28*5=140', '56/28=2']
Exploring Operation: 140/2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[28, 5, 56, 28], Operations: []
Exploring Operation: 56-28=28, Resulting Numbers: [28, 5, 28]
Generated Node #0,0: 70:[28, 5, 28] Operation: 56-28=28
Exploring Operation: 56-28=28, Resulting Numbers: [5, 28, 28]
Generated Node #0,1: 70:[5, 28, 28] Operation: 56-28=28
Exploring Operation: 28/28=1, Resulting Numbers: [5, 56, 1]
Generated Node #0,2: 70:[5, 56, 1] Operation: 28/28=1
Exploring Operation: 56/28=2, Resulting Numbers: [28, 5, 2]
Generated Node #0,3: 70:[28, 5, 2] Operation: 56/28=2
Exploring Operation: 56/28=2, Resulting Numbers: [5, 28, 2]
Generated Node #0,4: 70:[5, 28, 2] Operation: 56/28=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[28, 5, 2], Operations: ['56/28=2']
Exploring Operation: 28+2=30, Resulting Numbers: [5, 30]
Generated Node #0,3,0: 70:[5, 30] Operation: 28+2=30
Exploring Operation: 28/2=14, Resulting Numbers: [5, 14]
Generated Node #0,3,1: 70:[5, 14] Operation: 28/2=14
Exploring Operation: 5*2=10, Resulting Numbers: [28, 10]
Generated Node #0,3,2: 70:[28, 10] Operation: 5*2=10
Exploring Operation: 28+5=33, Resulting Numbers: [2, 33]
Generated Node #0,3,3: 70:[2, 33] Operation: 28+5=33
Exploring Operation: 5+2=7, Resulting Numbers: [28, 7]
Generated Node #0,3,4: 70:[28, 7] Operation: 5+2=7
Moving to Node #0,3,1
Current State: 70:[5, 14], Operations: ['56/28=2', '28/2=14']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[28, 5, 56, 28], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [28, 5, 2]
Generated Node #0,3: 70:[28, 5, 2] Operation: 56/28=2
Moving to Node #0,3
Current State: 70:[28, 5, 2], Operations: ['56/28=2']
Exploring Operation: 28/2=14, Resulting Numbers: [5, 14]
Generated Node #0,3,1: 70:[5, 14] Operation: 28/2=14
Moving to Node #0,3,1
Current State: 70:[5, 14], Operations: ['56/28=2', '28/2=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
21,
32,
6,
36
] | 78 | [
"36-32=4",
"21*4=84",
"84-6=78"
] | Current State: 78:[21, 32, 6, 36], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [21, 6, 4]
Generated Node #2: [21, 6, 4] from Operation: 36-32=4
Current State: 78:[21, 6, 4], Operations: ['36-32=4']
Exploring Operation: 21*4=84, Resulting Numbers: [6, 84]
Generated Node #3: [6, 84] from Operation: 21*4=84
Current State: 78:[6, 84], Operations: ['36-32=4', '21*4=84']
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[21, 32, 6, 36], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [21, 6, 4]
Generated Node #0,0: 78:[21, 6, 4] Operation: 36-32=4
Exploring Operation: 32-21=11, Resulting Numbers: [6, 36, 11]
Generated Node #0,1: 78:[6, 36, 11] Operation: 32-21=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[6, 36, 11], Operations: ['32-21=11']
Exploring Operation: 36/6=6, Resulting Numbers: [11, 6]
Generated Node #0,1,0: 78:[11, 6] Operation: 36/6=6
Exploring Operation: 36-11=25, Resulting Numbers: [6, 25]
Generated Node #0,1,1: 78:[6, 25] Operation: 36-11=25
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[6, 25], Operations: ['32-21=11', '36-11=25']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,78 unequal: No Solution
No 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: 78:[11, 6], Operations: ['32-21=11', '36/6=6']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[21, 6, 4], Operations: ['36-32=4']
Exploring Operation: 21+6=27, Resulting Numbers: [4, 27]
Generated Node #0,0,0: 78:[4, 27] Operation: 21+6=27
Exploring Operation: 21+4=25, Resulting Numbers: [6, 25]
Generated Node #0,0,1: 78:[6, 25] Operation: 21+4=25
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 78:[6, 25], Operations: ['36-32=4', '21+4=25']
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,78 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,78 unequal: No Solution
No 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: 78:[4, 27], Operations: ['36-32=4', '21+6=27']
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,78 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
24,
15,
72,
59
] | 92 | [
"24+15=39",
"72+59=131",
"131-39=92"
] | Current State: 92:[24, 15, 72, 59], Operations: []
Exploring Operation: 24+15=39, Resulting Numbers: [72, 59, 39]
Generated Node #2: [72, 59, 39] from Operation: 24+15=39
Current State: 92:[72, 59, 39], Operations: ['24+15=39']
Exploring Operation: 72+59=131, Resulting Numbers: [39, 131]
Generated Node #3: [39, 131] from Operation: 72+59=131
Current State: 92:[39, 131], Operations: ['24+15=39', '72+59=131']
Exploring Operation: 131-39=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[24, 15, 72, 59], Operations: []
Exploring Operation: 72-59=13, Resulting Numbers: [24, 15, 13]
Generated Node #0,0: 92:[24, 15, 13] Operation: 72-59=13
Exploring Operation: 72/24=3, Resulting Numbers: [15, 59, 3]
Generated Node #0,1: 92:[15, 59, 3] Operation: 72/24=3
Exploring Operation: 15+72=87, Resulting Numbers: [24, 59, 87]
Generated Node #0,2: 92:[24, 59, 87] Operation: 15+72=87
Exploring Operation: 72-24=48, Resulting Numbers: [15, 59, 48]
Generated Node #0,3: 92:[15, 59, 48] Operation: 72-24=48
Exploring Operation: 59-15=44, Resulting Numbers: [24, 72, 44]
Generated Node #0,4: 92:[24, 72, 44] Operation: 59-15=44
Moving to Node #0,0
Current State: 92:[24, 15, 13], Operations: ['72-59=13']
Exploring Operation: 15-13=2, Resulting Numbers: [24, 2]
Generated Node #0,0,0: 92:[24, 2] Operation: 15-13=2
Exploring Operation: 24-15=9, Resulting Numbers: [13, 9]
Generated Node #0,0,1: 92:[13, 9] Operation: 24-15=9
Exploring Operation: 24-13=11, Resulting Numbers: [15, 11]
Generated Node #0,0,2: 92:[15, 11] Operation: 24-13=11
Exploring Operation: 15+13=28, Resulting Numbers: [24, 28]
Generated Node #0,0,3: 92:[24, 28] Operation: 15+13=28
Exploring Operation: 24+15=39, Resulting Numbers: [13, 39]
Generated Node #0,0,4: 92:[13, 39] Operation: 24+15=39
Moving to Node #0,2
Current State: 92:[24, 59, 87], Operations: ['15+72=87']
Exploring Operation: 87-59=28, Resulting Numbers: [24, 28]
Generated Node #0,2,0: 92:[24, 28] Operation: 87-59=28
Exploring Operation: 24+59=83, Resulting Numbers: [87, 83]
Generated Node #0,2,1: 92:[87, 83] Operation: 24+59=83
Exploring Operation: 24+87=111, Resulting Numbers: [59, 111]
Generated Node #0,2,2: 92:[59, 111] Operation: 24+87=111
Exploring Operation: 87-24=63, Resulting Numbers: [59, 63]
Generated Node #0,2,3: 92:[59, 63] Operation: 87-24=63
Exploring Operation: 59-24=35, Resulting Numbers: [87, 35]
Generated Node #0,2,4: 92:[87, 35] Operation: 59-24=35
Moving to Node #0,1
Current State: 92:[15, 59, 3], Operations: ['72/24=3']
Exploring Operation: 59-3=56, Resulting Numbers: [15, 56]
Generated Node #0,1,0: 92:[15, 56] Operation: 59-3=56
Exploring Operation: 15+3=18, Resulting Numbers: [59, 18]
Generated Node #0,1,1: 92:[59, 18] Operation: 15+3=18
Exploring Operation: 15*3=45, Resulting Numbers: [59, 45]
Generated Node #0,1,2: 92:[59, 45] Operation: 15*3=45
Exploring Operation: 15/3=5, Resulting Numbers: [59, 5]
Generated Node #0,1,3: 92:[59, 5] Operation: 15/3=5
Exploring Operation: 59-15=44, Resulting Numbers: [3, 44]
Generated Node #0,1,4: 92:[3, 44] Operation: 59-15=44
Moving to Node #0,3
Current State: 92:[15, 59, 48], Operations: ['72-24=48']
Exploring Operation: 59-48=11, Resulting Numbers: [15, 11]
Generated Node #0,3,0: 92:[15, 11] Operation: 59-48=11
Exploring Operation: 48-15=33, Resulting Numbers: [59, 33]
Generated Node #0,3,1: 92:[59, 33] Operation: 48-15=33
Exploring Operation: 15+59=74, Resulting Numbers: [48, 74]
Generated Node #0,3,2: 92:[48, 74] Operation: 15+59=74
Exploring Operation: 59+48=107, Resulting Numbers: [15, 107]
Generated Node #0,3,3: 92:[15, 107] Operation: 59+48=107
Exploring Operation: 59-15=44, Resulting Numbers: [48, 44]
Generated Node #0,3,4: 92:[48, 44] Operation: 59-15=44
Moving to Node #0,4
Current State: 92:[24, 72, 44], Operations: ['59-15=44']
Exploring Operation: 72-44=28, Resulting Numbers: [24, 28]
Generated Node #0,4,0: 92:[24, 28] Operation: 72-44=28
Exploring Operation: 72/24=3, Resulting Numbers: [44, 3]
Generated Node #0,4,1: 92:[44, 3] Operation: 72/24=3
Exploring Operation: 24+72=96, Resulting Numbers: [44, 96]
Generated Node #0,4,2: 92:[44, 96] Operation: 24+72=96
Exploring Operation: 72-24=48, Resulting Numbers: [44, 48]
Generated Node #0,4,3: 92:[44, 48] Operation: 72-24=48
Exploring Operation: 44-24=20, Resulting Numbers: [72, 20]
Generated Node #0,4,4: 92:[72, 20] Operation: 44-24=20
Moving to Node #0,0,0
Current State: 92:[24, 2], Operations: ['72-59=13', '15-13=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,92 unequal: No Solution
Moving to Node #0,1,4
Current State: 92:[3, 44], Operations: ['72/24=3', '59-15=44']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,92 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Moving to Node #0,4,1
Current State: 92:[44, 3], Operations: ['59-15=44', '72/24=3']
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 44*3=132, Resulting Numbers: [132]
132,92 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Moving to Node #0,4,3
Current State: 92:[44, 48], Operations: ['59-15=44', '72-24=48']
Exploring Operation: 44*48=2112, Resulting Numbers: [2112]
2112,92 unequal: No Solution
Exploring Operation: 44+48=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[24, 15, 72, 59], Operations: []
Exploring Operation: 59-15=44, Resulting Numbers: [24, 72, 44]
Generated Node #0,4: 92:[24, 72, 44] Operation: 59-15=44
Moving to Node #0,4
Current State: 92:[24, 72, 44], Operations: ['59-15=44']
Exploring Operation: 72-24=48, Resulting Numbers: [44, 48]
Generated Node #0,4,3: 92:[44, 48] Operation: 72-24=48
Moving to Node #0,4,3
Current State: 92:[44, 48], Operations: ['59-15=44', '72-24=48']
Exploring Operation: 44+48=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.960069 | hs_5 | sum_heuristic |
[
21,
71,
46,
73
] | 47 | [
"46*73=3358",
"3358-21=3337",
"3337/71=47"
] | Current State: 47:[21, 71, 46, 73], Operations: []
Exploring Operation: 46*73=3358, Resulting Numbers: [21, 71, 3358]
Generated Node #2: [21, 71, 3358] from Operation: 46*73=3358
Current State: 47:[21, 71, 3358], Operations: ['46*73=3358']
Exploring Operation: 3358-21=3337, Resulting Numbers: [71, 3337]
Generated Node #3: [71, 3337] from Operation: 3358-21=3337
Current State: 47:[71, 3337], Operations: ['46*73=3358', '3358-21=3337']
Exploring Operation: 3337/71=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[21, 71, 46, 73], Operations: []
Exploring Operation: 21+46=67, Resulting Numbers: [71, 73, 67]
Generated Node #0,0: 47:[71, 73, 67] Operation: 21+46=67
Exploring Operation: 71-21=50, Resulting Numbers: [46, 73, 50]
Generated Node #0,1: 47:[46, 73, 50] Operation: 71-21=50
Exploring Operation: 73-46=27, Resulting Numbers: [21, 71, 27]
Generated Node #0,2: 47:[21, 71, 27] Operation: 73-46=27
Exploring Operation: 73-21=52, Resulting Numbers: [71, 46, 52]
Generated Node #0,3: 47:[71, 46, 52] Operation: 73-21=52
Moving to Node #0,1
Current State: 47:[46, 73, 50], Operations: ['71-21=50']
Exploring Operation: 73-50=23, Resulting Numbers: [46, 23]
Generated Node #0,1,0: 47:[46, 23] Operation: 73-50=23
Exploring Operation: 50-46=4, Resulting Numbers: [73, 4]
Generated Node #0,1,1: 47:[73, 4] Operation: 50-46=4
Exploring Operation: 46+73=119, Resulting Numbers: [50, 119]
Generated Node #0,1,2: 47:[50, 119] Operation: 46+73=119
Exploring Operation: 73-46=27, Resulting Numbers: [50, 27]
Generated Node #0,1,3: 47:[50, 27] Operation: 73-46=27
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 47:[50, 27], Operations: ['71-21=50', '73-46=27']
Exploring Operation: 50+27=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 50*27=1350, Resulting Numbers: [1350]
1350,47 unequal: No Solution
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[46, 23], Operations: ['71-21=50', '73-50=23']
Exploring Operation: 46+23=69, Resulting Numbers: [69]
69,47 unequal: No Solution
Exploring Operation: 46*23=1058, Resulting Numbers: [1058]
1058,47 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[73, 4], Operations: ['71-21=50', '50-46=4']
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,47 unequal: No Solution
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 47:[50, 119], Operations: ['71-21=50', '46+73=119']
Exploring Operation: 50+119=169, Resulting Numbers: [169]
169,47 unequal: No Solution
Exploring Operation: 119-50=69, Resulting Numbers: [69]
69,47 unequal: No Solution
Exploring Operation: 50*119=5950, Resulting Numbers: [5950]
5950,47 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: 47:[71, 46, 52], Operations: ['73-21=52']
Exploring Operation: 52-46=6, Resulting Numbers: [71, 6]
Generated Node #0,3,0: 47:[71, 6] Operation: 52-46=6
Exploring Operation: 71-52=19, Resulting Numbers: [46, 19]
Generated Node #0,3,1: 47:[46, 19] Operation: 71-52=19
Exploring Operation: 71-46=25, Resulting Numbers: [52, 25]
Generated Node #0,3,2: 47:[52, 25] Operation: 71-46=25
Exploring Operation: 71+46=117, Resulting Numbers: [52, 117]
Generated Node #0,3,3: 47:[52, 117] Operation: 71+46=117
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 47:[52, 25], Operations: ['73-21=52', '71-46=25']
Exploring Operation: 52*25=1300, Resulting Numbers: [1300]
1300,47 unequal: No Solution
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 47:[46, 19], Operations: ['73-21=52', '71-52=19']
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,47 unequal: No Solution
Exploring Operation: 46*19=874, Resulting Numbers: [874]
874,47 unequal: No Solution
Exploring Operation: 46+19=65, Resulting Numbers: [65]
65,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 47:[71, 6], Operations: ['73-21=52', '52-46=6']
Exploring Operation: 71+6=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 71*6=426, Resulting Numbers: [426]
426,47 unequal: No Solution
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 47:[52, 117], Operations: ['73-21=52', '71+46=117']
Exploring Operation: 117-52=65, Resulting Numbers: [65]
65,47 unequal: No Solution
Exploring Operation: 52+117=169, Resulting Numbers: [169]
169,47 unequal: No Solution
Exploring Operation: 52*117=6084, Resulting Numbers: [6084]
6084,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 47:[21, 71, 27], Operations: ['73-46=27']
Exploring Operation: 71-27=44, Resulting Numbers: [21, 44]
Generated Node #0,2,0: 47:[21, 44] Operation: 71-27=44
Exploring Operation: 21+27=48, Resulting Numbers: [71, 48]
Generated Node #0,2,1: 47:[71, 48] Operation: 21+27=48
Exploring Operation: 21+71=92, Resulting Numbers: [27, 92]
Generated Node #0,2,2: 47:[27, 92] Operation: 21+71=92
Exploring Operation: 71-21=50, Resulting Numbers: [27, 50]
Generated Node #0,2,3: 47:[27, 50] Operation: 71-21=50
Moving to Node #0,0
Current State: 47:[71, 73, 67], Operations: ['21+46=67']
Exploring Operation: 71-67=4, Resulting Numbers: [73, 4]
Generated Node #0,0,0: 47:[73, 4] Operation: 71-67=4
Exploring Operation: 73-67=6, Resulting Numbers: [71, 6]
Generated Node #0,0,1: 47:[71, 6] Operation: 73-67=6
Exploring Operation: 71+73=144, Resulting Numbers: [67, 144]
Generated Node #0,0,2: 47:[67, 144] Operation: 71+73=144
Exploring Operation: 73-71=2, Resulting Numbers: [67, 2]
Generated Node #0,0,3: 47:[67, 2] Operation: 73-71=2
Moving to Node #0,2,3
Current State: 47:[27, 50], Operations: ['73-46=27', '71-21=50']
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 27*50=1350, Resulting Numbers: [1350]
1350,47 unequal: No Solution
Exploring Operation: 27+50=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[71, 48], Operations: ['73-46=27', '21+27=48']
Exploring Operation: 71+48=119, Resulting Numbers: [119]
119,47 unequal: No Solution
Exploring Operation: 71-48=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 71*48=3408, Resulting Numbers: [3408]
3408,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[21, 44], Operations: ['73-46=27', '71-27=44']
Exploring Operation: 21*44=924, Resulting Numbers: [924]
924,47 unequal: No Solution
Exploring Operation: 21+44=65, Resulting Numbers: [65]
65,47 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[67, 2], Operations: ['21+46=67', '73-71=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,47 unequal: No Solution
Exploring Operation: 67*2=134, Resulting Numbers: [134]
134,47 unequal: No Solution
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[71, 6], Operations: ['21+46=67', '73-67=6']
Exploring Operation: 71+6=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,47 unequal: No Solution
Exploring Operation: 71*6=426, Resulting Numbers: [426]
426,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[27, 92], Operations: ['73-46=27', '21+71=92']
Exploring Operation: 27*92=2484, Resulting Numbers: [2484]
2484,47 unequal: No Solution
Exploring Operation: 92-27=65, Resulting Numbers: [65]
65,47 unequal: No Solution
Exploring Operation: 27+92=119, Resulting Numbers: [119]
119,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[73, 4], Operations: ['21+46=67', '71-67=4']
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,47 unequal: No Solution
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[67, 144], Operations: ['21+46=67', '71+73=144']
Exploring Operation: 67+144=211, Resulting Numbers: [211]
211,47 unequal: No Solution
Exploring Operation: 67*144=9648, Resulting Numbers: [9648]
9648,47 unequal: No Solution
Exploring Operation: 144-67=77, Resulting Numbers: [77]
77,47 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
83,
70,
4,
76
] | 81 | [
"83+70=153",
"76-4=72",
"153-72=81"
] | Current State: 81:[83, 70, 4, 76], Operations: []
Exploring Operation: 83+70=153, Resulting Numbers: [4, 76, 153]
Generated Node #2: [4, 76, 153] from Operation: 83+70=153
Current State: 81:[4, 76, 153], Operations: ['83+70=153']
Exploring Operation: 76-4=72, Resulting Numbers: [153, 72]
Generated Node #3: [153, 72] from Operation: 76-4=72
Current State: 81:[153, 72], Operations: ['83+70=153', '76-4=72']
Exploring Operation: 153-72=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[83, 70, 4, 76], Operations: []
Exploring Operation: 83-76=7, Resulting Numbers: [70, 4, 7]
Generated Node #0,0: 81:[70, 4, 7] Operation: 83-76=7
Exploring Operation: 83-70=13, Resulting Numbers: [4, 76, 13]
Generated Node #0,1: 81:[4, 76, 13] Operation: 83-70=13
Exploring Operation: 76-70=6, Resulting Numbers: [83, 4, 6]
Generated Node #0,2: 81:[83, 4, 6] Operation: 76-70=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[83, 4, 6], Operations: ['76-70=6']
Exploring Operation: 83-4=79, Resulting Numbers: [6, 79]
Generated Node #0,2,0: 81:[6, 79] Operation: 83-4=79
Exploring Operation: 4+6=10, Resulting Numbers: [83, 10]
Generated Node #0,2,1: 81:[83, 10] Operation: 4+6=10
Exploring Operation: 6-4=2, Resulting Numbers: [83, 2]
Generated Node #0,2,2: 81:[83, 2] Operation: 6-4=2
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 81:[83, 10], Operations: ['76-70=6', '4+6=10']
Exploring Operation: 83+10=93, Resulting Numbers: [93]
93,81 unequal: No Solution
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,81 unequal: No Solution
Exploring Operation: 83*10=830, Resulting Numbers: [830]
830,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 81:[83, 2], Operations: ['76-70=6', '6-4=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[83, 70, 4, 76], Operations: []
Exploring Operation: 76-70=6, Resulting Numbers: [83, 4, 6]
Generated Node #0,2: 81:[83, 4, 6] Operation: 76-70=6
Moving to Node #0,2
Current State: 81:[83, 4, 6], Operations: ['76-70=6']
Exploring Operation: 6-4=2, Resulting Numbers: [83, 2]
Generated Node #0,2,2: 81:[83, 2] Operation: 6-4=2
Moving to Node #0,2,2
Current State: 81:[83, 2], Operations: ['76-70=6', '6-4=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
39,
5,
37,
86
] | 60 | [
"39+86=125",
"5*37=185",
"185-125=60"
] | Current State: 60:[39, 5, 37, 86], Operations: []
Exploring Operation: 39+86=125, Resulting Numbers: [5, 37, 125]
Generated Node #2: [5, 37, 125] from Operation: 39+86=125
Current State: 60:[5, 37, 125], Operations: ['39+86=125']
Exploring Operation: 5*37=185, Resulting Numbers: [125, 185]
Generated Node #3: [125, 185] from Operation: 5*37=185
Current State: 60:[125, 185], Operations: ['39+86=125', '5*37=185']
Exploring Operation: 185-125=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[39, 5, 37, 86], Operations: []
Exploring Operation: 39-5=34, Resulting Numbers: [37, 86, 34]
Generated Node #0,0: 60:[37, 86, 34] Operation: 39-5=34
Exploring Operation: 86-37=49, Resulting Numbers: [39, 5, 49]
Generated Node #0,1: 60:[39, 5, 49] Operation: 86-37=49
Exploring Operation: 86-39=47, Resulting Numbers: [5, 37, 47]
Generated Node #0,2: 60:[5, 37, 47] Operation: 86-39=47
Exploring Operation: 39-37=2, Resulting Numbers: [5, 86, 2]
Generated Node #0,3: 60:[5, 86, 2] Operation: 39-37=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[39, 5, 49], Operations: ['86-37=49']
Exploring Operation: 49-5=44, Resulting Numbers: [39, 44]
Generated Node #0,1,0: 60:[39, 44] Operation: 49-5=44
Exploring Operation: 39-5=34, Resulting Numbers: [49, 34]
Generated Node #0,1,1: 60:[49, 34] Operation: 39-5=34
Exploring Operation: 5+49=54, Resulting Numbers: [39, 54]
Generated Node #0,1,2: 60:[39, 54] Operation: 5+49=54
Exploring Operation: 49-39=10, Resulting Numbers: [5, 10]
Generated Node #0,1,3: 60:[5, 10] Operation: 49-39=10
Moving to Node #0,1,3
Current State: 60:[5, 10], Operations: ['86-37=49', '49-39=10']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[39, 54], Operations: ['86-37=49', '5+49=54']
Exploring Operation: 54-39=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 39*54=2106, Resulting Numbers: [2106]
2106,60 unequal: No Solution
Exploring Operation: 39+54=93, Resulting Numbers: [93]
93,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[49, 34], Operations: ['86-37=49', '39-5=34']
Exploring Operation: 49*34=1666, Resulting Numbers: [1666]
1666,60 unequal: No Solution
Exploring Operation: 49+34=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[39, 44], Operations: ['86-37=49', '49-5=44']
Exploring Operation: 39*44=1716, Resulting Numbers: [1716]
1716,60 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 39+44=83, Resulting Numbers: [83]
83,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
Current State: 60:[5, 37, 47], Operations: ['86-39=47']
Exploring Operation: 5+47=52, Resulting Numbers: [37, 52]
Generated Node #0,2,0: 60:[37, 52] Operation: 5+47=52
Exploring Operation: 37-5=32, Resulting Numbers: [47, 32]
Generated Node #0,2,1: 60:[47, 32] Operation: 37-5=32
Exploring Operation: 47-5=42, Resulting Numbers: [37, 42]
Generated Node #0,2,2: 60:[37, 42] Operation: 47-5=42
Exploring Operation: 47-37=10, Resulting Numbers: [5, 10]
Generated Node #0,2,3: 60:[5, 10] Operation: 47-37=10
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 60:[5, 10], Operations: ['86-39=47', '47-37=10']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 60:[37, 52], Operations: ['86-39=47', '5+47=52']
Exploring Operation: 52-37=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 37*52=1924, Resulting Numbers: [1924]
1924,60 unequal: No Solution
Exploring Operation: 37+52=89, Resulting Numbers: [89]
89,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[47, 32], Operations: ['86-39=47', '37-5=32']
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 47*32=1504, Resulting Numbers: [1504]
1504,60 unequal: No Solution
Exploring Operation: 47+32=79, Resulting Numbers: [79]
79,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 60:[37, 42], Operations: ['86-39=47', '47-5=42']
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 37+42=79, Resulting Numbers: [79]
79,60 unequal: No Solution
Exploring Operation: 37*42=1554, Resulting Numbers: [1554]
1554,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[5, 86, 2], Operations: ['39-37=2']
Exploring Operation: 86-2=84, Resulting Numbers: [5, 84]
Generated Node #0,3,0: 60:[5, 84] Operation: 86-2=84
Exploring Operation: 86/2=43, Resulting Numbers: [5, 43]
Generated Node #0,3,1: 60:[5, 43] Operation: 86/2=43
Exploring Operation: 86-5=81, Resulting Numbers: [2, 81]
Generated Node #0,3,2: 60:[2, 81] Operation: 86-5=81
Exploring Operation: 5*2=10, Resulting Numbers: [86, 10]
Generated Node #0,3,3: 60:[86, 10] Operation: 5*2=10
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 60:[5, 43], Operations: ['39-37=2', '86/2=43']
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,60 unequal: No Solution
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,60 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 60:[2, 81], Operations: ['39-37=2', '86-5=81']
Exploring Operation: 2+81=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,60 unequal: No Solution
Exploring Operation: 2*81=162, Resulting Numbers: [162]
162,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 60:[5, 84], Operations: ['39-37=2', '86-2=84']
Exploring Operation: 5*84=420, Resulting Numbers: [420]
420,60 unequal: No Solution
Exploring Operation: 5+84=89, Resulting Numbers: [89]
89,60 unequal: No Solution
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 60:[86, 10], Operations: ['39-37=2', '5*2=10']
Exploring Operation: 86+10=96, Resulting Numbers: [96]
96,60 unequal: No Solution
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,60 unequal: No Solution
Exploring Operation: 86*10=860, Resulting Numbers: [860]
860,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[37, 86, 34], Operations: ['39-5=34']
Exploring Operation: 37-34=3, Resulting Numbers: [86, 3]
Generated Node #0,0,0: 60:[86, 3] Operation: 37-34=3
Exploring Operation: 37+34=71, Resulting Numbers: [86, 71]
Generated Node #0,0,1: 60:[86, 71] Operation: 37+34=71
Exploring Operation: 86-37=49, Resulting Numbers: [34, 49]
Generated Node #0,0,2: 60:[34, 49] Operation: 86-37=49
Exploring Operation: 86-34=52, Resulting Numbers: [37, 52]
Generated Node #0,0,3: 60:[37, 52] Operation: 86-34=52
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 60:[34, 49], Operations: ['39-5=34', '86-37=49']
Exploring Operation: 34+49=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 34*49=1666, Resulting Numbers: [1666]
1666,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 60:[37, 52], Operations: ['39-5=34', '86-34=52']
Exploring Operation: 37*52=1924, Resulting Numbers: [1924]
1924,60 unequal: No Solution
Exploring Operation: 37+52=89, Resulting Numbers: [89]
89,60 unequal: No Solution
Exploring Operation: 52-37=15, Resulting Numbers: [15]
15,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[86, 3], Operations: ['39-5=34', '37-34=3']
Exploring Operation: 86+3=89, Resulting Numbers: [89]
89,60 unequal: No Solution
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Exploring Operation: 86*3=258, Resulting Numbers: [258]
258,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[86, 71], Operations: ['39-5=34', '37+34=71']
Exploring Operation: 86*71=6106, Resulting Numbers: [6106]
6106,60 unequal: No Solution
Exploring Operation: 86-71=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 86+71=157, Resulting Numbers: [157]
157,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
54,
18,
78,
27
] | 50 | [
"18*78=1404",
"1404-54=1350",
"1350/27=50"
] | Current State: 50:[54, 18, 78, 27], Operations: []
Exploring Operation: 18*78=1404, Resulting Numbers: [54, 27, 1404]
Generated Node #2: [54, 27, 1404] from Operation: 18*78=1404
Current State: 50:[54, 27, 1404], Operations: ['18*78=1404']
Exploring Operation: 1404-54=1350, Resulting Numbers: [27, 1350]
Generated Node #3: [27, 1350] from Operation: 1404-54=1350
Current State: 50:[27, 1350], Operations: ['18*78=1404', '1404-54=1350']
Exploring Operation: 1350/27=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[54, 18, 78, 27], Operations: []
Exploring Operation: 78-54=24, Resulting Numbers: [18, 27, 24]
Generated Node #0,0: 50:[18, 27, 24] Operation: 78-54=24
Exploring Operation: 54/18=3, Resulting Numbers: [78, 27, 3]
Generated Node #0,1: 50:[78, 27, 3] Operation: 54/18=3
Exploring Operation: 78-18=60, Resulting Numbers: [54, 27, 60]
Generated Node #0,2: 50:[54, 27, 60] Operation: 78-18=60
Exploring Operation: 78-27=51, Resulting Numbers: [54, 18, 51]
Generated Node #0,3: 50:[54, 18, 51] Operation: 78-27=51
Moving to Node #0,0
Current State: 50:[18, 27, 24], Operations: ['78-54=24']
Exploring Operation: 24-18=6, Resulting Numbers: [27, 6]
Generated Node #0,0,0: 50:[27, 6] Operation: 24-18=6
Exploring Operation: 27+24=51, Resulting Numbers: [18, 51]
Generated Node #0,0,1: 50:[18, 51] Operation: 27+24=51
Exploring Operation: 18+27=45, Resulting Numbers: [24, 45]
Generated Node #0,0,2: 50:[24, 45] Operation: 18+27=45
Exploring Operation: 27-18=9, Resulting Numbers: [24, 9]
Generated Node #0,0,3: 50:[24, 9] Operation: 27-18=9
Moving to Node #0,3
Current State: 50:[54, 18, 51], Operations: ['78-27=51']
Exploring Operation: 54-18=36, Resulting Numbers: [51, 36]
Generated Node #0,3,0: 50:[51, 36] Operation: 54-18=36
Exploring Operation: 51-18=33, Resulting Numbers: [54, 33]
Generated Node #0,3,1: 50:[54, 33] Operation: 51-18=33
Exploring Operation: 54/18=3, Resulting Numbers: [51, 3]
Generated Node #0,3,2: 50:[51, 3] Operation: 54/18=3
Exploring Operation: 54-51=3, Resulting Numbers: [18, 3]
Generated Node #0,3,3: 50:[18, 3] Operation: 54-51=3
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 50:[51, 3], Operations: ['78-27=51', '54/18=3']
Exploring Operation: 51*3=153, Resulting Numbers: [153]
153,50 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,50 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,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,3,3
Current State: 50:[18, 3], Operations: ['78-27=51', '54-51=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,50 unequal: No Solution
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,50 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,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,3,0
Current State: 50:[51, 36], Operations: ['78-27=51', '54-18=36']
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 51+36=87, Resulting Numbers: [87]
87,50 unequal: No Solution
Exploring Operation: 51*36=1836, Resulting Numbers: [1836]
1836,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,3,1
Current State: 50:[54, 33], Operations: ['78-27=51', '51-18=33']
Exploring Operation: 54*33=1782, Resulting Numbers: [1782]
1782,50 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,50 unequal: No Solution
Exploring Operation: 54+33=87, Resulting Numbers: [87]
87,50 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: 50:[54, 27, 60], Operations: ['78-18=60']
Exploring Operation: 60-54=6, Resulting Numbers: [27, 6]
Generated Node #0,2,0: 50:[27, 6] Operation: 60-54=6
Exploring Operation: 54-27=27, Resulting Numbers: [60, 27]
Generated Node #0,2,1: 50:[60, 27] Operation: 54-27=27
Exploring Operation: 60-27=33, Resulting Numbers: [54, 33]
Generated Node #0,2,2: 50:[54, 33] Operation: 60-27=33
Exploring Operation: 54/27=2, Resulting Numbers: [60, 2]
Generated Node #0,2,3: 50:[60, 2] Operation: 54/27=2
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 50:[27, 6], Operations: ['78-18=60', '60-54=6']
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,50 unequal: No Solution
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,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,2,3
Current State: 50:[60, 2], Operations: ['78-18=60', '54/27=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,50 unequal: No Solution
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,50 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,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,2,1
Current State: 50:[60, 27], Operations: ['78-18=60', '54-27=27']
Exploring Operation: 60-27=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 60*27=1620, Resulting Numbers: [1620]
1620,50 unequal: No Solution
Exploring Operation: 60+27=87, Resulting Numbers: [87]
87,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,2,2
Current State: 50:[54, 33], Operations: ['78-18=60', '60-27=33']
Exploring Operation: 54+33=87, Resulting Numbers: [87]
87,50 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,50 unequal: No Solution
Exploring Operation: 54*33=1782, Resulting Numbers: [1782]
1782,50 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: 50:[78, 27, 3], Operations: ['54/18=3']
Exploring Operation: 78/3=26, Resulting Numbers: [27, 26]
Generated Node #0,1,0: 50:[27, 26] Operation: 78/3=26
Exploring Operation: 78-3=75, Resulting Numbers: [27, 75]
Generated Node #0,1,1: 50:[27, 75] Operation: 78-3=75
Exploring Operation: 78-27=51, Resulting Numbers: [3, 51]
Generated Node #0,1,2: 50:[3, 51] Operation: 78-27=51
Exploring Operation: 27-3=24, Resulting Numbers: [78, 24]
Generated Node #0,1,3: 50:[78, 24] Operation: 27-3=24
Moving to Node #0,0,3
Current State: 50:[24, 9], Operations: ['78-54=24', '27-18=9']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,50 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[3, 51], Operations: ['54/18=3', '78-27=51']
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,50 unequal: No Solution
Exploring Operation: 3*51=153, Resulting Numbers: [153]
153,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[27, 26], Operations: ['54/18=3', '78/3=26']
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[27, 6], Operations: ['78-54=24', '24-18=6']
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,50 unequal: No Solution
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[24, 45], Operations: ['78-54=24', '18+27=45']
Exploring Operation: 24*45=1080, Resulting Numbers: [1080]
1080,50 unequal: No Solution
Exploring Operation: 24+45=69, Resulting Numbers: [69]
69,50 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[18, 51], Operations: ['78-54=24', '27+24=51']
Exploring Operation: 18*51=918, Resulting Numbers: [918]
918,50 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[27, 75], Operations: ['54/18=3', '78-3=75']
Exploring Operation: 75-27=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Exploring Operation: 27+75=102, Resulting Numbers: [102]
102,50 unequal: No Solution
Exploring Operation: 27*75=2025, Resulting Numbers: [2025]
2025,50 unequal: No Solution
Moving to Node #0,1,3
Current State: 50:[78, 24], Operations: ['54/18=3', '27-3=24']
Exploring Operation: 78+24=102, Resulting Numbers: [102]
102,50 unequal: No Solution
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,50 unequal: No Solution
Exploring Operation: 78*24=1872, Resulting Numbers: [1872]
1872,50 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
42,
27,
68,
77
] | 39 | [
"77-68=9",
"27/9=3",
"42-3=39"
] | Current State: 39:[42, 27, 68, 77], Operations: []
Exploring Operation: 77-68=9, Resulting Numbers: [42, 27, 9]
Generated Node #2: [42, 27, 9] from Operation: 77-68=9
Current State: 39:[42, 27, 9], Operations: ['77-68=9']
Exploring Operation: 27/9=3, Resulting Numbers: [42, 3]
Generated Node #3: [42, 3] from Operation: 27/9=3
Current State: 39:[42, 3], Operations: ['77-68=9', '27/9=3']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[42, 27, 68, 77], Operations: []
Exploring Operation: 77-68=9, Resulting Numbers: [42, 27, 9]
Generated Node #0,0: 39:[42, 27, 9] Operation: 77-68=9
Moving to Node #0,0
Current State: 39:[42, 27, 9], Operations: ['77-68=9']
Exploring Operation: 27/9=3, Resulting Numbers: [42, 3]
Generated Node #0,0,0: 39:[42, 3] Operation: 27/9=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[42, 3], Operations: ['77-68=9', '27/9=3']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[42, 27, 68, 77], Operations: []
Exploring Operation: 77-68=9, Resulting Numbers: [42, 27, 9]
Generated Node #0,0: 39:[42, 27, 9] Operation: 77-68=9
Moving to Node #0,0
Current State: 39:[42, 27, 9], Operations: ['77-68=9']
Exploring Operation: 27/9=3, Resulting Numbers: [42, 3]
Generated Node #0,0,0: 39:[42, 3] Operation: 27/9=3
Moving to Node #0,0,0
Current State: 39:[42, 3], Operations: ['77-68=9', '27/9=3']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
32,
68,
1,
23
] | 51 | [
"1+23=24",
"68*24=1632",
"1632/32=51"
] | Current State: 51:[32, 68, 1, 23], Operations: []
Exploring Operation: 1+23=24, Resulting Numbers: [32, 68, 24]
Generated Node #2: [32, 68, 24] from Operation: 1+23=24
Current State: 51:[32, 68, 24], Operations: ['1+23=24']
Exploring Operation: 68*24=1632, Resulting Numbers: [32, 1632]
Generated Node #3: [32, 1632] from Operation: 68*24=1632
Current State: 51:[32, 1632], Operations: ['1+23=24', '68*24=1632']
Exploring Operation: 1632/32=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[32, 68, 1, 23], Operations: []
Exploring Operation: 68-32=36, Resulting Numbers: [1, 23, 36]
Generated Node #0,0: 51:[1, 23, 36] Operation: 68-32=36
Exploring Operation: 32+23=55, Resulting Numbers: [68, 1, 55]
Generated Node #0,1: 51:[68, 1, 55] Operation: 32+23=55
Moving to Node #0,0
Current State: 51:[1, 23, 36], Operations: ['68-32=36']
Exploring Operation: 36-23=13, Resulting Numbers: [1, 13]
Generated Node #0,0,0: 51:[1, 13] Operation: 36-23=13
Exploring Operation: 23+36=59, Resulting Numbers: [1, 59]
Generated Node #0,0,1: 51:[1, 59] Operation: 23+36=59
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[1, 13], Operations: ['68-32=36', '36-23=13']
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[1, 59], Operations: ['68-32=36', '23+36=59']
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Exploring Operation: 1*59=59, Resulting Numbers: [59]
59,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 51:[68, 1, 55], Operations: ['32+23=55']
Exploring Operation: 68-55=13, Resulting Numbers: [1, 13]
Generated Node #0,1,0: 51:[1, 13] Operation: 68-55=13
Exploring Operation: 68-1=67, Resulting Numbers: [55, 67]
Generated Node #0,1,1: 51:[55, 67] Operation: 68-1=67
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[1, 13], Operations: ['32+23=55', '68-55=13']
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[55, 67], Operations: ['32+23=55', '68-1=67']
Exploring Operation: 55+67=122, Resulting Numbers: [122]
122,51 unequal: No Solution
Exploring Operation: 67-55=12, Resulting Numbers: [12]
12,51 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.