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 |
|---|---|---|---|---|---|---|---|---|
[
11,
76,
16,
6
] | 43 | [
"76-11=65",
"16+6=22",
"65-22=43"
] | Current State: 43:[11, 76, 16, 6], Operations: []
Exploring Operation: 76-11=65, Resulting Numbers: [16, 6, 65]
Generated Node #2: [16, 6, 65] from Operation: 76-11=65
Current State: 43:[16, 6, 65], Operations: ['76-11=65']
Exploring Operation: 16+6=22, Resulting Numbers: [65, 22]
Generated Node #3: [65, 22] from Operation: 16+6=22
Current State: 43:[65, 22], Operations: ['76-11=65', '16+6=22']
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[11, 76, 16, 6], Operations: []
Exploring Operation: 11*6=66, Resulting Numbers: [76, 16, 66]
Generated Node #0,0: 43:[76, 16, 66] Operation: 11*6=66
Exploring Operation: 76-11=65, Resulting Numbers: [16, 6, 65]
Generated Node #0,1: 43:[16, 6, 65] Operation: 76-11=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[76, 16, 66], Operations: ['11*6=66']
Exploring Operation: 76-16=60, Resulting Numbers: [66, 60]
Generated Node #0,0,0: 43:[66, 60] Operation: 76-16=60
Exploring Operation: 66-16=50, Resulting Numbers: [76, 50]
Generated Node #0,0,1: 43:[76, 50] Operation: 66-16=50
Moving to Node #0,0,0
Current State: 43:[66, 60], Operations: ['11*6=66', '76-16=60']
Exploring Operation: 66+60=126, Resulting Numbers: [126]
126,43 unequal: No Solution
Exploring Operation: 66-60=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[76, 50], Operations: ['11*6=66', '66-16=50']
Exploring Operation: 76+50=126, Resulting Numbers: [126]
126,43 unequal: No Solution
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[16, 6, 65], Operations: ['76-11=65']
Exploring Operation: 65-16=49, Resulting Numbers: [6, 49]
Generated Node #0,1,0: 43:[6, 49] Operation: 65-16=49
Exploring Operation: 16+6=22, Resulting Numbers: [65, 22]
Generated Node #0,1,1: 43:[65, 22] Operation: 16+6=22
Moving to Node #0,1,0
Current State: 43:[6, 49], Operations: ['76-11=65', '65-16=49']
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[11, 76, 16, 6], Operations: []
Exploring Operation: 76-11=65, Resulting Numbers: [16, 6, 65]
Generated Node #0,1: 43:[16, 6, 65] Operation: 76-11=65
Moving to Node #0,1
Current State: 43:[16, 6, 65], Operations: ['76-11=65']
Exploring Operation: 65-16=49, Resulting Numbers: [6, 49]
Generated Node #0,1,0: 43:[6, 49] Operation: 65-16=49
Moving to Node #0,1,0
Current State: 43:[6, 49], Operations: ['76-11=65', '65-16=49']
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
56,
72,
20,
63
] | 99 | [
"72-56=16",
"20+63=83",
"16+83=99"
] | Current State: 99:[56, 72, 20, 63], Operations: []
Exploring Operation: 72-56=16, Resulting Numbers: [20, 63, 16]
Generated Node #2: [20, 63, 16] from Operation: 72-56=16
Current State: 99:[20, 63, 16], Operations: ['72-56=16']
Exploring Operation: 20+63=83, Resulting Numbers: [16, 83]
Generated Node #3: [16, 83] from Operation: 20+63=83
Current State: 99:[16, 83], Operations: ['72-56=16', '20+63=83']
Exploring Operation: 16+83=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[56, 72, 20, 63], Operations: []
Exploring Operation: 72-56=16, Resulting Numbers: [20, 63, 16]
Generated Node #0,0: 99:[20, 63, 16] Operation: 72-56=16
Exploring Operation: 72-63=9, Resulting Numbers: [56, 20, 9]
Generated Node #0,1: 99:[56, 20, 9] Operation: 72-63=9
Exploring Operation: 56+63=119, Resulting Numbers: [72, 20, 119]
Generated Node #0,2: 99:[72, 20, 119] Operation: 56+63=119
Exploring Operation: 56-20=36, Resulting Numbers: [72, 63, 36]
Generated Node #0,3: 99:[72, 63, 36] Operation: 56-20=36
Exploring Operation: 63-56=7, Resulting Numbers: [72, 20, 7]
Generated Node #0,4: 99:[72, 20, 7] Operation: 63-56=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[56, 20, 9], Operations: ['72-63=9']
Exploring Operation: 56-9=47, Resulting Numbers: [20, 47]
Generated Node #0,1,0: 99:[20, 47] Operation: 56-9=47
Exploring Operation: 20+9=29, Resulting Numbers: [56, 29]
Generated Node #0,1,1: 99:[56, 29] Operation: 20+9=29
Exploring Operation: 20-9=11, Resulting Numbers: [56, 11]
Generated Node #0,1,2: 99:[56, 11] Operation: 20-9=11
Exploring Operation: 56+20=76, Resulting Numbers: [9, 76]
Generated Node #0,1,3: 99:[9, 76] Operation: 56+20=76
Exploring Operation: 56-20=36, Resulting Numbers: [9, 36]
Generated Node #0,1,4: 99:[9, 36] Operation: 56-20=36
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 99:[9, 36], Operations: ['72-63=9', '56-20=36']
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,99 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,99 unequal: No Solution
Exploring Operation: 9*36=324, Resulting Numbers: [324]
324,99 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[20, 47], Operations: ['72-63=9', '56-9=47']
Exploring Operation: 20*47=940, Resulting Numbers: [940]
940,99 unequal: No Solution
Exploring Operation: 20+47=67, Resulting Numbers: [67]
67,99 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 99:[56, 11], Operations: ['72-63=9', '20-9=11']
Exploring Operation: 56+11=67, Resulting Numbers: [67]
67,99 unequal: No Solution
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,99 unequal: No Solution
Exploring Operation: 56*11=616, Resulting Numbers: [616]
616,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 99:[9, 76], Operations: ['72-63=9', '56+20=76']
Exploring Operation: 9*76=684, Resulting Numbers: [684]
684,99 unequal: No Solution
Exploring Operation: 9+76=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[56, 29], Operations: ['72-63=9', '20+9=29']
Exploring Operation: 56+29=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 56*29=1624, Resulting Numbers: [1624]
1624,99 unequal: No Solution
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 99:[72, 20, 7], Operations: ['63-56=7']
Exploring Operation: 72+7=79, Resulting Numbers: [20, 79]
Generated Node #0,4,0: 99:[20, 79] Operation: 72+7=79
Exploring Operation: 72-20=52, Resulting Numbers: [7, 52]
Generated Node #0,4,1: 99:[7, 52] Operation: 72-20=52
Exploring Operation: 20-7=13, Resulting Numbers: [72, 13]
Generated Node #0,4,2: 99:[72, 13] Operation: 20-7=13
Exploring Operation: 72+20=92, Resulting Numbers: [7, 92]
Generated Node #0,4,3: 99:[7, 92] Operation: 72+20=92
Exploring Operation: 20+7=27, Resulting Numbers: [72, 27]
Generated Node #0,4,4: 99:[72, 27] Operation: 20+7=27
Moving to Node #0,4,3
Current State: 99:[7, 92], Operations: ['63-56=7', '72+20=92']
Exploring Operation: 7*92=644, Resulting Numbers: [644]
644,99 unequal: No Solution
Exploring Operation: 7+92=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[56, 72, 20, 63], Operations: []
Exploring Operation: 63-56=7, Resulting Numbers: [72, 20, 7]
Generated Node #0,4: 99:[72, 20, 7] Operation: 63-56=7
Moving to Node #0,4
Current State: 99:[72, 20, 7], Operations: ['63-56=7']
Exploring Operation: 72+20=92, Resulting Numbers: [7, 92]
Generated Node #0,4,3: 99:[7, 92] Operation: 72+20=92
Moving to Node #0,4,3
Current State: 99:[7, 92], Operations: ['63-56=7', '72+20=92']
Exploring Operation: 7+92=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
98,
7,
35,
18
] | 74 | [
"98-7=91",
"35-18=17",
"91-17=74"
] | Current State: 74:[98, 7, 35, 18], Operations: []
Exploring Operation: 98-7=91, Resulting Numbers: [35, 18, 91]
Generated Node #2: [35, 18, 91] from Operation: 98-7=91
Current State: 74:[35, 18, 91], Operations: ['98-7=91']
Exploring Operation: 35-18=17, Resulting Numbers: [91, 17]
Generated Node #3: [91, 17] from Operation: 35-18=17
Current State: 74:[91, 17], Operations: ['98-7=91', '35-18=17']
Exploring Operation: 91-17=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[98, 7, 35, 18], Operations: []
Exploring Operation: 98-35=63, Resulting Numbers: [7, 18, 63]
Generated Node #0,0: 74:[7, 18, 63] Operation: 98-35=63
Exploring Operation: 98/7=14, Resulting Numbers: [35, 18, 14]
Generated Node #0,1: 74:[35, 18, 14] Operation: 98/7=14
Exploring Operation: 98-18=80, Resulting Numbers: [7, 35, 80]
Generated Node #0,2: 74:[7, 35, 80] Operation: 98-18=80
Moving to Node #0,2
Current State: 74:[7, 35, 80], Operations: ['98-18=80']
Exploring Operation: 35/7=5, Resulting Numbers: [80, 5]
Generated Node #0,2,0: 74:[80, 5] Operation: 35/7=5
Exploring Operation: 7+35=42, Resulting Numbers: [80, 42]
Generated Node #0,2,1: 74:[80, 42] Operation: 7+35=42
Exploring Operation: 80-7=73, Resulting Numbers: [35, 73]
Generated Node #0,2,2: 74:[35, 73] Operation: 80-7=73
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 74:[35, 73], Operations: ['98-18=80', '80-7=73']
Exploring Operation: 35+73=108, Resulting Numbers: [108]
108,74 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 35*73=2555, Resulting Numbers: [2555]
2555,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 74:[80, 5], Operations: ['98-18=80', '35/7=5']
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 80+5=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 74:[80, 42], Operations: ['98-18=80', '7+35=42']
Exploring Operation: 80*42=3360, Resulting Numbers: [3360]
3360,74 unequal: No Solution
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 80+42=122, Resulting Numbers: [122]
122,74 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: 74:[35, 18, 14], Operations: ['98/7=14']
Exploring Operation: 18+14=32, Resulting Numbers: [35, 32]
Generated Node #0,1,0: 74:[35, 32] Operation: 18+14=32
Exploring Operation: 35-18=17, Resulting Numbers: [14, 17]
Generated Node #0,1,1: 74:[14, 17] Operation: 35-18=17
Exploring Operation: 18-14=4, Resulting Numbers: [35, 4]
Generated Node #0,1,2: 74:[35, 4] Operation: 18-14=4
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 74:[35, 4], Operations: ['98/7=14', '18-14=4']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[35, 32], Operations: ['98/7=14', '18+14=32']
Exploring Operation: 35+32=67, Resulting Numbers: [67]
67,74 unequal: No Solution
Exploring Operation: 35*32=1120, Resulting Numbers: [1120]
1120,74 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[14, 17], Operations: ['98/7=14', '35-18=17']
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,74 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: 74:[7, 18, 63], Operations: ['98-35=63']
Exploring Operation: 18-7=11, Resulting Numbers: [63, 11]
Generated Node #0,0,0: 74:[63, 11] Operation: 18-7=11
Exploring Operation: 18+63=81, Resulting Numbers: [7, 81]
Generated Node #0,0,1: 74:[7, 81] Operation: 18+63=81
Exploring Operation: 63-18=45, Resulting Numbers: [7, 45]
Generated Node #0,0,2: 74:[7, 45] Operation: 63-18=45
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[7, 81], Operations: ['98-35=63', '18+63=81']
Exploring Operation: 7+81=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[98, 7, 35, 18], Operations: []
Exploring Operation: 98-35=63, Resulting Numbers: [7, 18, 63]
Generated Node #0,0: 74:[7, 18, 63] Operation: 98-35=63
Moving to Node #0,0
Current State: 74:[7, 18, 63], Operations: ['98-35=63']
Exploring Operation: 18+63=81, Resulting Numbers: [7, 81]
Generated Node #0,0,1: 74:[7, 81] Operation: 18+63=81
Moving to Node #0,0,1
Current State: 74:[7, 81], Operations: ['98-35=63', '18+63=81']
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_3 | sum_heuristic |
[
23,
18,
56,
98
] | 77 | [
"23*56=1288",
"98+1288=1386",
"1386/18=77"
] | Current State: 77:[23, 18, 56, 98], Operations: []
Exploring Operation: 23*56=1288, Resulting Numbers: [18, 98, 1288]
Generated Node #2: [18, 98, 1288] from Operation: 23*56=1288
Current State: 77:[18, 98, 1288], Operations: ['23*56=1288']
Exploring Operation: 98+1288=1386, Resulting Numbers: [18, 1386]
Generated Node #3: [18, 1386] from Operation: 98+1288=1386
Current State: 77:[18, 1386], Operations: ['23*56=1288', '98+1288=1386']
Exploring Operation: 1386/18=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[23, 18, 56, 98], Operations: []
Exploring Operation: 18+56=74, Resulting Numbers: [23, 98, 74]
Generated Node #0,0: 77:[23, 98, 74] Operation: 18+56=74
Exploring Operation: 23+56=79, Resulting Numbers: [18, 98, 79]
Generated Node #0,1: 77:[18, 98, 79] Operation: 23+56=79
Exploring Operation: 98-23=75, Resulting Numbers: [18, 56, 75]
Generated Node #0,2: 77:[18, 56, 75] Operation: 98-23=75
Exploring Operation: 98-18=80, Resulting Numbers: [23, 56, 80]
Generated Node #0,3: 77:[23, 56, 80] Operation: 98-18=80
Moving to Node #0,1
Current State: 77:[18, 98, 79], Operations: ['23+56=79']
Exploring Operation: 98-18=80, Resulting Numbers: [79, 80]
Generated Node #0,1,0: 77:[79, 80] Operation: 98-18=80
Exploring Operation: 79-18=61, Resulting Numbers: [98, 61]
Generated Node #0,1,1: 77:[98, 61] Operation: 79-18=61
Exploring Operation: 18+98=116, Resulting Numbers: [79, 116]
Generated Node #0,1,2: 77:[79, 116] Operation: 18+98=116
Exploring Operation: 98-79=19, Resulting Numbers: [18, 19]
Generated Node #0,1,3: 77:[18, 19] Operation: 98-79=19
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[79, 80], Operations: ['23+56=79', '98-18=80']
Exploring Operation: 79+80=159, Resulting Numbers: [159]
159,77 unequal: No Solution
Exploring Operation: 79*80=6320, Resulting Numbers: [6320]
6320,77 unequal: No Solution
Exploring Operation: 80-79=1, Resulting Numbers: [1]
1,77 unequal: No Solution
No solution 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: 77:[18, 19], Operations: ['23+56=79', '98-79=19']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,77 unequal: No Solution
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,77 unequal: No Solution
No solution 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: 77:[98, 61], Operations: ['23+56=79', '79-18=61']
Exploring Operation: 98+61=159, Resulting Numbers: [159]
159,77 unequal: No Solution
Exploring Operation: 98*61=5978, Resulting Numbers: [5978]
5978,77 unequal: No Solution
Exploring Operation: 98-61=37, Resulting Numbers: [37]
37,77 unequal: No Solution
No solution 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: 77:[79, 116], Operations: ['23+56=79', '18+98=116']
Exploring Operation: 116-79=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Exploring Operation: 79+116=195, Resulting Numbers: [195]
195,77 unequal: No Solution
Exploring Operation: 79*116=9164, Resulting Numbers: [9164]
9164,77 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: 77:[18, 56, 75], Operations: ['98-23=75']
Exploring Operation: 18+56=74, Resulting Numbers: [75, 74]
Generated Node #0,2,0: 77:[75, 74] Operation: 18+56=74
Exploring Operation: 75-56=19, Resulting Numbers: [18, 19]
Generated Node #0,2,1: 77:[18, 19] Operation: 75-56=19
Exploring Operation: 56-18=38, Resulting Numbers: [75, 38]
Generated Node #0,2,2: 77:[75, 38] Operation: 56-18=38
Exploring Operation: 18+75=93, Resulting Numbers: [56, 93]
Generated Node #0,2,3: 77:[56, 93] Operation: 18+75=93
Moving to Node #0,3
Current State: 77:[23, 56, 80], Operations: ['98-18=80']
Exploring Operation: 80-23=57, Resulting Numbers: [56, 57]
Generated Node #0,3,0: 77:[56, 57] Operation: 80-23=57
Exploring Operation: 56-23=33, Resulting Numbers: [80, 33]
Generated Node #0,3,1: 77:[80, 33] Operation: 56-23=33
Exploring Operation: 23+56=79, Resulting Numbers: [80, 79]
Generated Node #0,3,2: 77:[80, 79] Operation: 23+56=79
Exploring Operation: 80-56=24, Resulting Numbers: [23, 24]
Generated Node #0,3,3: 77:[23, 24] Operation: 80-56=24
Moving to Node #0,0
Current State: 77:[23, 98, 74], Operations: ['18+56=74']
Exploring Operation: 23+74=97, Resulting Numbers: [98, 97]
Generated Node #0,0,0: 77:[98, 97] Operation: 23+74=97
Exploring Operation: 23+98=121, Resulting Numbers: [74, 121]
Generated Node #0,0,1: 77:[74, 121] Operation: 23+98=121
Exploring Operation: 98-23=75, Resulting Numbers: [74, 75]
Generated Node #0,0,2: 77:[74, 75] Operation: 98-23=75
Exploring Operation: 98-74=24, Resulting Numbers: [23, 24]
Generated Node #0,0,3: 77:[23, 24] Operation: 98-74=24
Moving to Node #0,2,0
Current State: 77:[75, 74], Operations: ['98-23=75', '18+56=74']
Exploring Operation: 75-74=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 75*74=5550, Resulting Numbers: [5550]
5550,77 unequal: No Solution
Exploring Operation: 75+74=149, Resulting Numbers: [149]
149,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[80, 79], Operations: ['98-18=80', '23+56=79']
Exploring Operation: 80+79=159, Resulting Numbers: [159]
159,77 unequal: No Solution
Exploring Operation: 80-79=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 80*79=6320, Resulting Numbers: [6320]
6320,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[74, 75], Operations: ['18+56=74', '98-23=75']
Exploring Operation: 74*75=5550, Resulting Numbers: [5550]
5550,77 unequal: No Solution
Exploring Operation: 75-74=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 74+75=149, Resulting Numbers: [149]
149,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[18, 19], Operations: ['98-23=75', '75-56=19']
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[80, 33], Operations: ['98-18=80', '56-23=33']
Exploring Operation: 80+33=113, Resulting Numbers: [113]
113,77 unequal: No Solution
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,77 unequal: No Solution
Exploring Operation: 80*33=2640, Resulting Numbers: [2640]
2640,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[23, 24], Operations: ['98-18=80', '80-56=24']
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,77 unequal: No Solution
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,77 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Moving to Node #0,0,3
Current State: 77:[23, 24], Operations: ['18+56=74', '98-74=24']
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,77 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[75, 38], Operations: ['98-23=75', '56-18=38']
Exploring Operation: 75+38=113, Resulting Numbers: [113]
113,77 unequal: No Solution
Exploring Operation: 75*38=2850, Resulting Numbers: [2850]
2850,77 unequal: No Solution
Exploring Operation: 75-38=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Moving to Node #0,2,3
Current State: 77:[56, 93], Operations: ['98-23=75', '18+75=93']
Exploring Operation: 93-56=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Exploring Operation: 56+93=149, Resulting Numbers: [149]
149,77 unequal: No Solution
Exploring Operation: 56*93=5208, Resulting Numbers: [5208]
5208,77 unequal: No Solution
Moving to Node #0,3,0
Current State: 77:[56, 57], Operations: ['98-18=80', '80-23=57']
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 56*57=3192, Resulting Numbers: [3192]
3192,77 unequal: No Solution
Exploring Operation: 56+57=113, Resulting Numbers: [113]
113,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[98, 97], Operations: ['18+56=74', '23+74=97']
Exploring Operation: 98-97=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 98+97=195, Resulting Numbers: [195]
195,77 unequal: No Solution
Exploring Operation: 98*97=9506, Resulting Numbers: [9506]
9506,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[74, 121], Operations: ['18+56=74', '23+98=121']
Exploring Operation: 121-74=47, Resulting Numbers: [47]
47,77 unequal: No Solution
Exploring Operation: 74*121=8954, Resulting Numbers: [8954]
8954,77 unequal: No Solution
Exploring Operation: 74+121=195, Resulting Numbers: [195]
195,77 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
34,
55,
53,
23
] | 97 | [
"55-34=21",
"53+23=76",
"21+76=97"
] | Current State: 97:[34, 55, 53, 23], Operations: []
Exploring Operation: 55-34=21, Resulting Numbers: [53, 23, 21]
Generated Node #2: [53, 23, 21] from Operation: 55-34=21
Current State: 97:[53, 23, 21], Operations: ['55-34=21']
Exploring Operation: 53+23=76, Resulting Numbers: [21, 76]
Generated Node #3: [21, 76] from Operation: 53+23=76
Current State: 97:[21, 76], Operations: ['55-34=21', '53+23=76']
Exploring Operation: 21+76=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[34, 55, 53, 23], Operations: []
Exploring Operation: 34+55=89, Resulting Numbers: [53, 23, 89]
Generated Node #0,0: 97:[53, 23, 89] Operation: 34+55=89
Exploring Operation: 34+23=57, Resulting Numbers: [55, 53, 57]
Generated Node #0,1: 97:[55, 53, 57] Operation: 34+23=57
Exploring Operation: 55+23=78, Resulting Numbers: [34, 53, 78]
Generated Node #0,2: 97:[34, 53, 78] Operation: 55+23=78
Exploring Operation: 34+53=87, Resulting Numbers: [55, 23, 87]
Generated Node #0,3: 97:[55, 23, 87] Operation: 34+53=87
Exploring Operation: 53+23=76, Resulting Numbers: [34, 55, 76]
Generated Node #0,4: 97:[34, 55, 76] Operation: 53+23=76
Moving to Node #0,0
Current State: 97:[53, 23, 89], Operations: ['34+55=89']
Exploring Operation: 53+23=76, Resulting Numbers: [89, 76]
Generated Node #0,0,0: 97:[89, 76] Operation: 53+23=76
Exploring Operation: 89-23=66, Resulting Numbers: [53, 66]
Generated Node #0,0,1: 97:[53, 66] Operation: 89-23=66
Exploring Operation: 53+89=142, Resulting Numbers: [23, 142]
Generated Node #0,0,2: 97:[23, 142] Operation: 53+89=142
Exploring Operation: 23+89=112, Resulting Numbers: [53, 112]
Generated Node #0,0,3: 97:[53, 112] Operation: 23+89=112
Exploring Operation: 53-23=30, Resulting Numbers: [89, 30]
Generated Node #0,0,4: 97:[89, 30] Operation: 53-23=30
Moving to Node #0,2
Current State: 97:[34, 53, 78], Operations: ['55+23=78']
Exploring Operation: 53+78=131, Resulting Numbers: [34, 131]
Generated Node #0,2,0: 97:[34, 131] Operation: 53+78=131
Exploring Operation: 53-34=19, Resulting Numbers: [78, 19]
Generated Node #0,2,1: 97:[78, 19] Operation: 53-34=19
Exploring Operation: 34+78=112, Resulting Numbers: [53, 112]
Generated Node #0,2,2: 97:[53, 112] Operation: 34+78=112
Exploring Operation: 78-34=44, Resulting Numbers: [53, 44]
Generated Node #0,2,3: 97:[53, 44] Operation: 78-34=44
Exploring Operation: 34+53=87, Resulting Numbers: [78, 87]
Generated Node #0,2,4: 97:[78, 87] Operation: 34+53=87
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 97:[78, 87], Operations: ['55+23=78', '34+53=87']
Exploring Operation: 87-78=9, Resulting Numbers: [9]
9,97 unequal: No Solution
Exploring Operation: 78+87=165, Resulting Numbers: [165]
165,97 unequal: No Solution
Exploring Operation: 78*87=6786, Resulting Numbers: [6786]
6786,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[53, 112], Operations: ['55+23=78', '34+78=112']
Exploring Operation: 53+112=165, Resulting Numbers: [165]
165,97 unequal: No Solution
Exploring Operation: 53*112=5936, Resulting Numbers: [5936]
5936,97 unequal: No Solution
Exploring Operation: 112-53=59, Resulting Numbers: [59]
59,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[34, 131], Operations: ['55+23=78', '53+78=131']
Exploring Operation: 34+131=165, Resulting Numbers: [165]
165,97 unequal: No Solution
Exploring Operation: 34*131=4454, Resulting Numbers: [4454]
4454,97 unequal: No Solution
Exploring Operation: 131-34=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[34, 55, 53, 23], Operations: []
Exploring Operation: 55+23=78, Resulting Numbers: [34, 53, 78]
Generated Node #0,2: 97:[34, 53, 78] Operation: 55+23=78
Moving to Node #0,2
Current State: 97:[34, 53, 78], Operations: ['55+23=78']
Exploring Operation: 53+78=131, Resulting Numbers: [34, 131]
Generated Node #0,2,0: 97:[34, 131] Operation: 53+78=131
Moving to Node #0,2,0
Current State: 97:[34, 131], Operations: ['55+23=78', '53+78=131']
Exploring Operation: 131-34=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_5 | mult_heuristic |
[
55,
40,
84,
88
] | 53 | [
"84-40=44",
"88/44=2",
"55-2=53"
] | Current State: 53:[55, 40, 84, 88], Operations: []
Exploring Operation: 84-40=44, Resulting Numbers: [55, 88, 44]
Generated Node #2: [55, 88, 44] from Operation: 84-40=44
Current State: 53:[55, 88, 44], Operations: ['84-40=44']
Exploring Operation: 88/44=2, Resulting Numbers: [55, 2]
Generated Node #3: [55, 2] from Operation: 88/44=2
Current State: 53:[55, 2], Operations: ['84-40=44', '88/44=2']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[55, 40, 84, 88], Operations: []
Exploring Operation: 84-55=29, Resulting Numbers: [40, 88, 29]
Generated Node #0,0: 53:[40, 88, 29] Operation: 84-55=29
Exploring Operation: 84-40=44, Resulting Numbers: [55, 88, 44]
Generated Node #0,1: 53:[55, 88, 44] Operation: 84-40=44
Exploring Operation: 88-84=4, Resulting Numbers: [55, 40, 4]
Generated Node #0,2: 53:[55, 40, 4] Operation: 88-84=4
Exploring Operation: 88-55=33, Resulting Numbers: [40, 84, 33]
Generated Node #0,3: 53:[40, 84, 33] Operation: 88-55=33
Exploring Operation: 88-40=48, Resulting Numbers: [55, 84, 48]
Generated Node #0,4: 53:[55, 84, 48] Operation: 88-40=48
Moving to Node #0,4
Current State: 53:[55, 84, 48], Operations: ['88-40=48']
Exploring Operation: 55+48=103, Resulting Numbers: [84, 103]
Generated Node #0,4,0: 53:[84, 103] Operation: 55+48=103
Exploring Operation: 84-48=36, Resulting Numbers: [55, 36]
Generated Node #0,4,1: 53:[55, 36] Operation: 84-48=36
Exploring Operation: 84+48=132, Resulting Numbers: [55, 132]
Generated Node #0,4,2: 53:[55, 132] Operation: 84+48=132
Exploring Operation: 55-48=7, Resulting Numbers: [84, 7]
Generated Node #0,4,3: 53:[84, 7] Operation: 55-48=7
Exploring Operation: 84-55=29, Resulting Numbers: [48, 29]
Generated Node #0,4,4: 53:[48, 29] Operation: 84-55=29
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 53:[55, 36], Operations: ['88-40=48', '84-48=36']
Exploring Operation: 55+36=91, Resulting Numbers: [91]
91,53 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,53 unequal: No Solution
Exploring Operation: 55*36=1980, Resulting Numbers: [1980]
1980,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,4,4
Current State: 53:[48, 29], Operations: ['88-40=48', '84-55=29']
Exploring Operation: 48+29=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 48*29=1392, Resulting Numbers: [1392]
1392,53 unequal: No Solution
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,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,4,3
Current State: 53:[84, 7], Operations: ['88-40=48', '55-48=7']
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 84*7=588, Resulting Numbers: [588]
588,53 unequal: No Solution
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,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,4,0
Current State: 53:[84, 103], Operations: ['88-40=48', '55+48=103']
Exploring Operation: 103-84=19, Resulting Numbers: [19]
19,53 unequal: No Solution
Exploring Operation: 84*103=8652, Resulting Numbers: [8652]
8652,53 unequal: No Solution
Exploring Operation: 84+103=187, Resulting Numbers: [187]
187,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,4,2
Current State: 53:[55, 132], Operations: ['88-40=48', '84+48=132']
Exploring Operation: 55*132=7260, Resulting Numbers: [7260]
7260,53 unequal: No Solution
Exploring Operation: 55+132=187, Resulting Numbers: [187]
187,53 unequal: No Solution
Exploring Operation: 132-55=77, Resulting Numbers: [77]
77,53 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: 53:[55, 88, 44], Operations: ['84-40=44']
Exploring Operation: 55+44=99, Resulting Numbers: [88, 99]
Generated Node #0,1,0: 53:[88, 99] Operation: 55+44=99
Exploring Operation: 55-44=11, Resulting Numbers: [88, 11]
Generated Node #0,1,1: 53:[88, 11] Operation: 55-44=11
Exploring Operation: 88/44=2, Resulting Numbers: [55, 2]
Generated Node #0,1,2: 53:[55, 2] Operation: 88/44=2
Exploring Operation: 88-44=44, Resulting Numbers: [55, 44]
Generated Node #0,1,3: 53:[55, 44] Operation: 88-44=44
Exploring Operation: 88-55=33, Resulting Numbers: [44, 33]
Generated Node #0,1,4: 53:[44, 33] Operation: 88-55=33
Moving to Node #0,2
Current State: 53:[55, 40, 4], Operations: ['88-84=4']
Exploring Operation: 40/4=10, Resulting Numbers: [55, 10]
Generated Node #0,2,0: 53:[55, 10] Operation: 40/4=10
Exploring Operation: 55-4=51, Resulting Numbers: [40, 51]
Generated Node #0,2,1: 53:[40, 51] Operation: 55-4=51
Exploring Operation: 40+4=44, Resulting Numbers: [55, 44]
Generated Node #0,2,2: 53:[55, 44] Operation: 40+4=44
Exploring Operation: 40-4=36, Resulting Numbers: [55, 36]
Generated Node #0,2,3: 53:[55, 36] Operation: 40-4=36
Exploring Operation: 55+4=59, Resulting Numbers: [40, 59]
Generated Node #0,2,4: 53:[40, 59] Operation: 55+4=59
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[55, 44], Operations: ['88-84=4', '40+4=44']
Exploring Operation: 55+44=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Exploring Operation: 55-44=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 55*44=2420, Resulting Numbers: [2420]
2420,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[40, 51], Operations: ['88-84=4', '55-4=51']
Exploring Operation: 40*51=2040, Resulting Numbers: [2040]
2040,53 unequal: No Solution
Exploring Operation: 40+51=91, Resulting Numbers: [91]
91,53 unequal: No Solution
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 53:[55, 36], Operations: ['88-84=4', '40-4=36']
Exploring Operation: 55*36=1980, Resulting Numbers: [1980]
1980,53 unequal: No Solution
Exploring Operation: 55+36=91, Resulting Numbers: [91]
91,53 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 53:[40, 59], Operations: ['88-84=4', '55+4=59']
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,53 unequal: No Solution
Exploring Operation: 40*59=2360, Resulting Numbers: [2360]
2360,53 unequal: No Solution
Exploring Operation: 40+59=99, Resulting Numbers: [99]
99,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[55, 10], Operations: ['88-84=4', '40/4=10']
Exploring Operation: 55+10=65, Resulting Numbers: [65]
65,53 unequal: No Solution
Exploring Operation: 55*10=550, Resulting Numbers: [550]
550,53 unequal: No Solution
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,53 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: 53:[40, 84, 33], Operations: ['88-55=33']
Exploring Operation: 40+33=73, Resulting Numbers: [84, 73]
Generated Node #0,3,0: 53:[84, 73] Operation: 40+33=73
Exploring Operation: 84-33=51, Resulting Numbers: [40, 51]
Generated Node #0,3,1: 53:[40, 51] Operation: 84-33=51
Exploring Operation: 84-40=44, Resulting Numbers: [33, 44]
Generated Node #0,3,2: 53:[33, 44] Operation: 84-40=44
Exploring Operation: 84+33=117, Resulting Numbers: [40, 117]
Generated Node #0,3,3: 53:[40, 117] Operation: 84+33=117
Exploring Operation: 40-33=7, Resulting Numbers: [84, 7]
Generated Node #0,3,4: 53:[84, 7] Operation: 40-33=7
Moving to Node #0,0
Current State: 53:[40, 88, 29], Operations: ['84-55=29']
Exploring Operation: 40+29=69, Resulting Numbers: [88, 69]
Generated Node #0,0,0: 53:[88, 69] Operation: 40+29=69
Exploring Operation: 88-29=59, Resulting Numbers: [40, 59]
Generated Node #0,0,1: 53:[40, 59] Operation: 88-29=59
Exploring Operation: 88+29=117, Resulting Numbers: [40, 117]
Generated Node #0,0,2: 53:[40, 117] Operation: 88+29=117
Exploring Operation: 40-29=11, Resulting Numbers: [88, 11]
Generated Node #0,0,3: 53:[88, 11] Operation: 40-29=11
Exploring Operation: 88-40=48, Resulting Numbers: [29, 48]
Generated Node #0,0,4: 53:[29, 48] Operation: 88-40=48
Moving to Node #0,1,3
Current State: 53:[55, 44], Operations: ['84-40=44', '88-44=44']
Exploring Operation: 55+44=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Exploring Operation: 55-44=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 55*44=2420, Resulting Numbers: [2420]
2420,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[40, 51], Operations: ['88-55=33', '84-33=51']
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 40*51=2040, Resulting Numbers: [2040]
2040,53 unequal: No Solution
Exploring Operation: 40+51=91, Resulting Numbers: [91]
91,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[40, 59], Operations: ['84-55=29', '88-29=59']
Exploring Operation: 40+59=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Exploring Operation: 40*59=2360, Resulting Numbers: [2360]
2360,53 unequal: No Solution
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[33, 44], Operations: ['88-55=33', '84-40=44']
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 33+44=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 33*44=1452, Resulting Numbers: [1452]
1452,53 unequal: No Solution
Moving to Node #0,0,4
Current State: 53:[29, 48], Operations: ['84-55=29', '88-40=48']
Exploring Operation: 29*48=1392, Resulting Numbers: [1392]
1392,53 unequal: No Solution
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,53 unequal: No Solution
Exploring Operation: 29+48=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Moving to Node #0,1,4
Current State: 53:[44, 33], Operations: ['84-40=44', '88-55=33']
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 44+33=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 44*33=1452, Resulting Numbers: [1452]
1452,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[88, 69], Operations: ['84-55=29', '40+29=69']
Exploring Operation: 88+69=157, Resulting Numbers: [157]
157,53 unequal: No Solution
Exploring Operation: 88-69=19, Resulting Numbers: [19]
19,53 unequal: No Solution
Exploring Operation: 88*69=6072, Resulting Numbers: [6072]
6072,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[84, 73], Operations: ['88-55=33', '40+33=73']
Exploring Operation: 84-73=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 84*73=6132, Resulting Numbers: [6132]
6132,53 unequal: No Solution
Exploring Operation: 84+73=157, Resulting Numbers: [157]
157,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[55, 2], Operations: ['84-40=44', '88/44=2']
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,53 unequal: No Solution
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:[55, 40, 84, 88], Operations: []
Exploring Operation: 84-40=44, Resulting Numbers: [55, 88, 44]
Generated Node #0,1: 53:[55, 88, 44] Operation: 84-40=44
Moving to Node #0,1
Current State: 53:[55, 88, 44], Operations: ['84-40=44']
Exploring Operation: 88/44=2, Resulting Numbers: [55, 2]
Generated Node #0,1,2: 53:[55, 2] Operation: 88/44=2
Moving to Node #0,1,2
Current State: 53:[55, 2], Operations: ['84-40=44', '88/44=2']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 0.920139 | hs_5 | sum_heuristic |
[
82,
10,
93,
4
] | 54 | [
"93-82=11",
"4*11=44",
"10+44=54"
] | Current State: 54:[82, 10, 93, 4], Operations: []
Exploring Operation: 93-82=11, Resulting Numbers: [10, 4, 11]
Generated Node #2: [10, 4, 11] from Operation: 93-82=11
Current State: 54:[10, 4, 11], Operations: ['93-82=11']
Exploring Operation: 4*11=44, Resulting Numbers: [10, 44]
Generated Node #3: [10, 44] from Operation: 4*11=44
Current State: 54:[10, 44], Operations: ['93-82=11', '4*11=44']
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[82, 10, 93, 4], Operations: []
Exploring Operation: 93-82=11, Resulting Numbers: [10, 4, 11]
Generated Node #0,0: 54:[10, 4, 11] Operation: 93-82=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[10, 4, 11], Operations: ['93-82=11']
Exploring Operation: 10-4=6, Resulting Numbers: [11, 6]
Generated Node #0,0,0: 54:[11, 6] Operation: 10-4=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[11, 6], Operations: ['93-82=11', '10-4=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
82,
26,
76,
2
] | 85 | [
"76+2=78",
"78/26=3",
"82+3=85"
] | Current State: 85:[82, 26, 76, 2], Operations: []
Exploring Operation: 76+2=78, Resulting Numbers: [82, 26, 78]
Generated Node #2: [82, 26, 78] from Operation: 76+2=78
Current State: 85:[82, 26, 78], Operations: ['76+2=78']
Exploring Operation: 78/26=3, Resulting Numbers: [82, 3]
Generated Node #3: [82, 3] from Operation: 78/26=3
Current State: 85:[82, 3], Operations: ['76+2=78', '78/26=3']
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[82, 26, 76, 2], Operations: []
Exploring Operation: 26-2=24, Resulting Numbers: [82, 76, 24]
Generated Node #0,0: 85:[82, 76, 24] Operation: 26-2=24
Exploring Operation: 26/2=13, Resulting Numbers: [82, 76, 13]
Generated Node #0,1: 85:[82, 76, 13] Operation: 26/2=13
Exploring Operation: 82+2=84, Resulting Numbers: [26, 76, 84]
Generated Node #0,2: 85:[26, 76, 84] Operation: 82+2=84
Exploring Operation: 76+2=78, Resulting Numbers: [82, 26, 78]
Generated Node #0,3: 85:[82, 26, 78] Operation: 76+2=78
Exploring Operation: 82-76=6, Resulting Numbers: [26, 2, 6]
Generated Node #0,4: 85:[26, 2, 6] Operation: 82-76=6
Start Sub Search at level 1: Moving to Node #0,4
Current State: 85:[26, 2, 6], Operations: ['82-76=6']
Exploring Operation: 26-6=20, Resulting Numbers: [2, 20]
Generated Node #0,4,0: 85:[2, 20] Operation: 26-6=20
Exploring Operation: 6-2=4, Resulting Numbers: [26, 4]
Generated Node #0,4,1: 85:[26, 4] Operation: 6-2=4
Exploring Operation: 26/2=13, Resulting Numbers: [6, 13]
Generated Node #0,4,2: 85:[6, 13] Operation: 26/2=13
Exploring Operation: 26-2=24, Resulting Numbers: [6, 24]
Generated Node #0,4,3: 85:[6, 24] Operation: 26-2=24
Exploring Operation: 6/2=3, Resulting Numbers: [26, 3]
Generated Node #0,4,4: 85:[26, 3] Operation: 6/2=3
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 85:[6, 13], Operations: ['82-76=6', '26/2=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 85:[2, 20], Operations: ['82-76=6', '26-6=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,85 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,85 unequal: No Solution
No 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: 85:[6, 24], Operations: ['82-76=6', '26-2=24']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 6*24=144, Resulting Numbers: [144]
144,85 unequal: No Solution
No 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: 85:[26, 4], Operations: ['82-76=6', '6-2=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,85 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,85 unequal: No Solution
No 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: 85:[26, 3], Operations: ['82-76=6', '6/2=3']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[82, 76, 13], Operations: ['26/2=13']
Exploring Operation: 82-13=69, Resulting Numbers: [76, 69]
Generated Node #0,1,0: 85:[76, 69] Operation: 82-13=69
Exploring Operation: 82+13=95, Resulting Numbers: [76, 95]
Generated Node #0,1,1: 85:[76, 95] Operation: 82+13=95
Exploring Operation: 76-13=63, Resulting Numbers: [82, 63]
Generated Node #0,1,2: 85:[82, 63] Operation: 76-13=63
Exploring Operation: 82-76=6, Resulting Numbers: [13, 6]
Generated Node #0,1,3: 85:[13, 6] Operation: 82-76=6
Exploring Operation: 76+13=89, Resulting Numbers: [82, 89]
Generated Node #0,1,4: 85:[82, 89] Operation: 76+13=89
Moving to Node #0,1,3
Current State: 85:[13, 6], Operations: ['26/2=13', '82-76=6']
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Moving to Node #0,1,4
Current State: 85:[82, 89], Operations: ['26/2=13', '76+13=89']
Exploring Operation: 82*89=7298, Resulting Numbers: [7298]
7298,85 unequal: No Solution
Exploring Operation: 89-82=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Exploring Operation: 82+89=171, Resulting Numbers: [171]
171,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[76, 95], Operations: ['26/2=13', '82+13=95']
Exploring Operation: 95-76=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 76*95=7220, Resulting Numbers: [7220]
7220,85 unequal: No Solution
Exploring Operation: 76+95=171, Resulting Numbers: [171]
171,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[76, 69], Operations: ['26/2=13', '82-13=69']
Exploring Operation: 76*69=5244, Resulting Numbers: [5244]
5244,85 unequal: No Solution
Exploring Operation: 76-69=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Exploring Operation: 76+69=145, Resulting Numbers: [145]
145,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[82, 63], Operations: ['26/2=13', '76-13=63']
Exploring Operation: 82-63=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 82*63=5166, Resulting Numbers: [5166]
5166,85 unequal: No Solution
Exploring Operation: 82+63=145, Resulting Numbers: [145]
145,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
Current State: 85:[82, 76, 24], Operations: ['26-2=24']
Exploring Operation: 82-76=6, Resulting Numbers: [24, 6]
Generated Node #0,0,0: 85:[24, 6] Operation: 82-76=6
Exploring Operation: 82-24=58, Resulting Numbers: [76, 58]
Generated Node #0,0,1: 85:[76, 58] Operation: 82-24=58
Exploring Operation: 76+24=100, Resulting Numbers: [82, 100]
Generated Node #0,0,2: 85:[82, 100] Operation: 76+24=100
Exploring Operation: 76-24=52, Resulting Numbers: [82, 52]
Generated Node #0,0,3: 85:[82, 52] Operation: 76-24=52
Exploring Operation: 82+24=106, Resulting Numbers: [76, 106]
Generated Node #0,0,4: 85:[76, 106] Operation: 82+24=106
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[24, 6], Operations: ['26-2=24', '82-76=6']
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,85 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,85 unequal: No Solution
No 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: 85:[82, 100], Operations: ['26-2=24', '76+24=100']
Exploring Operation: 82+100=182, Resulting Numbers: [182]
182,85 unequal: No Solution
Exploring Operation: 100-82=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 82*100=8200, Resulting Numbers: [8200]
8200,85 unequal: No Solution
No 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: 85:[76, 106], Operations: ['26-2=24', '82+24=106']
Exploring Operation: 76*106=8056, Resulting Numbers: [8056]
8056,85 unequal: No Solution
Exploring Operation: 106-76=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 76+106=182, Resulting Numbers: [182]
182,85 unequal: No Solution
No 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: 85:[76, 58], Operations: ['26-2=24', '82-24=58']
Exploring Operation: 76-58=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 76*58=4408, Resulting Numbers: [4408]
4408,85 unequal: No Solution
Exploring Operation: 76+58=134, Resulting Numbers: [134]
134,85 unequal: No Solution
No 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: 85:[82, 52], Operations: ['26-2=24', '76-24=52']
Exploring Operation: 82+52=134, Resulting Numbers: [134]
134,85 unequal: No Solution
Exploring Operation: 82*52=4264, Resulting Numbers: [4264]
4264,85 unequal: No Solution
Exploring Operation: 82-52=30, Resulting Numbers: [30]
30,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[26, 76, 84], Operations: ['82+2=84']
Exploring Operation: 26+84=110, Resulting Numbers: [76, 110]
Generated Node #0,2,0: 85:[76, 110] Operation: 26+84=110
Exploring Operation: 76-26=50, Resulting Numbers: [84, 50]
Generated Node #0,2,1: 85:[84, 50] Operation: 76-26=50
Exploring Operation: 26+76=102, Resulting Numbers: [84, 102]
Generated Node #0,2,2: 85:[84, 102] Operation: 26+76=102
Exploring Operation: 84-76=8, Resulting Numbers: [26, 8]
Generated Node #0,2,3: 85:[26, 8] Operation: 84-76=8
Exploring Operation: 84-26=58, Resulting Numbers: [76, 58]
Generated Node #0,2,4: 85:[76, 58] Operation: 84-26=58
Moving to Node #0,2,3
Current State: 85:[26, 8], Operations: ['82+2=84', '84-76=8']
Exploring Operation: 26*8=208, Resulting Numbers: [208]
208,85 unequal: No Solution
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[84, 102], Operations: ['82+2=84', '26+76=102']
Exploring Operation: 84+102=186, Resulting Numbers: [186]
186,85 unequal: No Solution
Exploring Operation: 102-84=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 84*102=8568, Resulting Numbers: [8568]
8568,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[76, 110], Operations: ['82+2=84', '26+84=110']
Exploring Operation: 76+110=186, Resulting Numbers: [186]
186,85 unequal: No Solution
Exploring Operation: 76*110=8360, Resulting Numbers: [8360]
8360,85 unequal: No Solution
Exploring Operation: 110-76=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[84, 50], Operations: ['82+2=84', '76-26=50']
Exploring Operation: 84*50=4200, Resulting Numbers: [4200]
4200,85 unequal: No Solution
Exploring Operation: 84+50=134, Resulting Numbers: [134]
134,85 unequal: No Solution
Exploring Operation: 84-50=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Moving to Node #0,2,4
Current State: 85:[76, 58], Operations: ['82+2=84', '84-26=58']
Exploring Operation: 76*58=4408, Resulting Numbers: [4408]
4408,85 unequal: No Solution
Exploring Operation: 76-58=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 76+58=134, Resulting Numbers: [134]
134,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
Current State: 85:[82, 26, 78], Operations: ['76+2=78']
Exploring Operation: 82-26=56, Resulting Numbers: [78, 56]
Generated Node #0,3,0: 85:[78, 56] Operation: 82-26=56
Exploring Operation: 78/26=3, Resulting Numbers: [82, 3]
Generated Node #0,3,1: 85:[82, 3] Operation: 78/26=3
Exploring Operation: 82+26=108, Resulting Numbers: [78, 108]
Generated Node #0,3,2: 85:[78, 108] Operation: 82+26=108
Exploring Operation: 82-78=4, Resulting Numbers: [26, 4]
Generated Node #0,3,3: 85:[26, 4] Operation: 82-78=4
Exploring Operation: 26+78=104, Resulting Numbers: [82, 104]
Generated Node #0,3,4: 85:[82, 104] Operation: 26+78=104
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 85:[82, 3], Operations: ['76+2=78', '78/26=3']
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[82, 26, 76, 2], Operations: []
Exploring Operation: 76+2=78, Resulting Numbers: [82, 26, 78]
Generated Node #0,3: 85:[82, 26, 78] Operation: 76+2=78
Moving to Node #0,3
Current State: 85:[82, 26, 78], Operations: ['76+2=78']
Exploring Operation: 78/26=3, Resulting Numbers: [82, 3]
Generated Node #0,3,1: 85:[82, 3] Operation: 78/26=3
Moving to Node #0,3,1
Current State: 85:[82, 3], Operations: ['76+2=78', '78/26=3']
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.914931 | hs_5 | sum_heuristic |
[
94,
12,
87,
39
] | 20 | [
"94+12=106",
"87+39=126",
"126-106=20"
] | Current State: 20:[94, 12, 87, 39], Operations: []
Exploring Operation: 94+12=106, Resulting Numbers: [87, 39, 106]
Generated Node #2: [87, 39, 106] from Operation: 94+12=106
Current State: 20:[87, 39, 106], Operations: ['94+12=106']
Exploring Operation: 87+39=126, Resulting Numbers: [106, 126]
Generated Node #3: [106, 126] from Operation: 87+39=126
Current State: 20:[106, 126], Operations: ['94+12=106', '87+39=126']
Exploring Operation: 126-106=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[94, 12, 87, 39], Operations: []
Exploring Operation: 94-39=55, Resulting Numbers: [12, 87, 55]
Generated Node #0,0: 20:[12, 87, 55] Operation: 94-39=55
Exploring Operation: 94-87=7, Resulting Numbers: [12, 39, 7]
Generated Node #0,1: 20:[12, 39, 7] Operation: 94-87=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[12, 39, 7], Operations: ['94-87=7']
Exploring Operation: 39-12=27, Resulting Numbers: [7, 27]
Generated Node #0,1,0: 20:[7, 27] Operation: 39-12=27
Exploring Operation: 39-7=32, Resulting Numbers: [12, 32]
Generated Node #0,1,1: 20:[12, 32] Operation: 39-7=32
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[7, 27], Operations: ['94-87=7', '39-12=27']
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[94, 12, 87, 39], Operations: []
Exploring Operation: 94-87=7, Resulting Numbers: [12, 39, 7]
Generated Node #0,1: 20:[12, 39, 7] Operation: 94-87=7
Moving to Node #0,1
Current State: 20:[12, 39, 7], Operations: ['94-87=7']
Exploring Operation: 39-12=27, Resulting Numbers: [7, 27]
Generated Node #0,1,0: 20:[7, 27] Operation: 39-12=27
Moving to Node #0,1,0
Current State: 20:[7, 27], Operations: ['94-87=7', '39-12=27']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
67,
76,
93,
14
] | 36 | [
"67+76=143",
"93+14=107",
"143-107=36"
] | Current State: 36:[67, 76, 93, 14], Operations: []
Exploring Operation: 67+76=143, Resulting Numbers: [93, 14, 143]
Generated Node #2: [93, 14, 143] from Operation: 67+76=143
Current State: 36:[93, 14, 143], Operations: ['67+76=143']
Exploring Operation: 93+14=107, Resulting Numbers: [143, 107]
Generated Node #3: [143, 107] from Operation: 93+14=107
Current State: 36:[143, 107], Operations: ['67+76=143', '93+14=107']
Exploring Operation: 143-107=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[67, 76, 93, 14], Operations: []
Exploring Operation: 93-76=17, Resulting Numbers: [67, 14, 17]
Generated Node #0,0: 36:[67, 14, 17] Operation: 93-76=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[67, 14, 17], Operations: ['93-76=17']
Exploring Operation: 67-17=50, Resulting Numbers: [14, 50]
Generated Node #0,0,0: 36:[14, 50] Operation: 67-17=50
Moving to Node #0,0,0
Current State: 36:[14, 50], Operations: ['93-76=17', '67-17=50']
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[67, 76, 93, 14], Operations: []
Exploring Operation: 93-76=17, Resulting Numbers: [67, 14, 17]
Generated Node #0,0: 36:[67, 14, 17] Operation: 93-76=17
Moving to Node #0,0
Current State: 36:[67, 14, 17], Operations: ['93-76=17']
Exploring Operation: 67-17=50, Resulting Numbers: [14, 50]
Generated Node #0,0,0: 36:[14, 50] Operation: 67-17=50
Moving to Node #0,0,0
Current State: 36:[14, 50], Operations: ['93-76=17', '67-17=50']
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
26,
54,
55,
69
] | 42 | [
"54-26=28",
"69-55=14",
"28+14=42"
] | Current State: 42:[26, 54, 55, 69], Operations: []
Exploring Operation: 54-26=28, Resulting Numbers: [55, 69, 28]
Generated Node #2: [55, 69, 28] from Operation: 54-26=28
Current State: 42:[55, 69, 28], Operations: ['54-26=28']
Exploring Operation: 69-55=14, Resulting Numbers: [28, 14]
Generated Node #3: [28, 14] from Operation: 69-55=14
Current State: 42:[28, 14], Operations: ['54-26=28', '69-55=14']
Exploring Operation: 28+14=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[26, 54, 55, 69], Operations: []
Exploring Operation: 69-55=14, Resulting Numbers: [26, 54, 14]
Generated Node #0,0: 42:[26, 54, 14] Operation: 69-55=14
Moving to Node #0,0
Current State: 42:[26, 54, 14], Operations: ['69-55=14']
Exploring Operation: 54-26=28, Resulting Numbers: [14, 28]
Generated Node #0,0,0: 42:[14, 28] Operation: 54-26=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[14, 28], Operations: ['69-55=14', '54-26=28']
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[26, 54, 55, 69], Operations: []
Exploring Operation: 69-55=14, Resulting Numbers: [26, 54, 14]
Generated Node #0,0: 42:[26, 54, 14] Operation: 69-55=14
Moving to Node #0,0
Current State: 42:[26, 54, 14], Operations: ['69-55=14']
Exploring Operation: 54-26=28, Resulting Numbers: [14, 28]
Generated Node #0,0,0: 42:[14, 28] Operation: 54-26=28
Moving to Node #0,0,0
Current State: 42:[14, 28], Operations: ['69-55=14', '54-26=28']
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
42,
49,
87,
55
] | 80 | [
"55-49=6",
"42/6=7",
"87-7=80"
] | Current State: 80:[42, 49, 87, 55], Operations: []
Exploring Operation: 55-49=6, Resulting Numbers: [42, 87, 6]
Generated Node #2: [42, 87, 6] from Operation: 55-49=6
Current State: 80:[42, 87, 6], Operations: ['55-49=6']
Exploring Operation: 42/6=7, Resulting Numbers: [87, 7]
Generated Node #3: [87, 7] from Operation: 42/6=7
Current State: 80:[87, 7], Operations: ['55-49=6', '42/6=7']
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[42, 49, 87, 55], Operations: []
Exploring Operation: 55-49=6, Resulting Numbers: [42, 87, 6]
Generated Node #0,0: 80:[42, 87, 6] Operation: 55-49=6
Moving to Node #0,0
Current State: 80:[42, 87, 6], Operations: ['55-49=6']
Exploring Operation: 87-6=81, Resulting Numbers: [42, 81]
Generated Node #0,0,0: 80:[42, 81] Operation: 87-6=81
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[42, 81], Operations: ['55-49=6', '87-6=81']
Exploring Operation: 81-42=39, Resulting Numbers: [39]
39,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
62,
93,
89,
91
] | 31 | [
"62*91=5642",
"93+89=182",
"5642/182=31"
] | Current State: 31:[62, 93, 89, 91], Operations: []
Exploring Operation: 62*91=5642, Resulting Numbers: [93, 89, 5642]
Generated Node #2: [93, 89, 5642] from Operation: 62*91=5642
Current State: 31:[93, 89, 5642], Operations: ['62*91=5642']
Exploring Operation: 93+89=182, Resulting Numbers: [5642, 182]
Generated Node #3: [5642, 182] from Operation: 93+89=182
Current State: 31:[5642, 182], Operations: ['62*91=5642', '93+89=182']
Exploring Operation: 5642/182=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[62, 93, 89, 91], Operations: []
Exploring Operation: 91-62=29, Resulting Numbers: [93, 89, 29]
Generated Node #0,0: 31:[93, 89, 29] Operation: 91-62=29
Exploring Operation: 93-62=31, Resulting Numbers: [89, 91, 31]
Generated Node #0,1: 31:[89, 91, 31] Operation: 93-62=31
Exploring Operation: 93-89=4, Resulting Numbers: [62, 91, 4]
Generated Node #0,2: 31:[62, 91, 4] Operation: 93-89=4
Exploring Operation: 93-91=2, Resulting Numbers: [62, 89, 2]
Generated Node #0,3: 31:[62, 89, 2] Operation: 93-91=2
Exploring Operation: 91-89=2, Resulting Numbers: [62, 93, 2]
Generated Node #0,4: 31:[62, 93, 2] Operation: 91-89=2
Moving to Node #0,1
Current State: 31:[89, 91, 31], Operations: ['93-62=31']
Exploring Operation: 89-31=58, Resulting Numbers: [91, 58]
Generated Node #0,1,0: 31:[91, 58] Operation: 89-31=58
Exploring Operation: 89+91=180, Resulting Numbers: [31, 180]
Generated Node #0,1,1: 31:[31, 180] Operation: 89+91=180
Exploring Operation: 91-31=60, Resulting Numbers: [89, 60]
Generated Node #0,1,2: 31:[89, 60] Operation: 91-31=60
Exploring Operation: 89+31=120, Resulting Numbers: [91, 120]
Generated Node #0,1,3: 31:[91, 120] Operation: 89+31=120
Exploring Operation: 91-89=2, Resulting Numbers: [31, 2]
Generated Node #0,1,4: 31:[31, 2] Operation: 91-89=2
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 31:[31, 2], Operations: ['93-62=31', '91-89=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,31 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,31 unequal: No Solution
No solution 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: 31:[91, 58], Operations: ['93-62=31', '89-31=58']
Exploring Operation: 91+58=149, Resulting Numbers: [149]
149,31 unequal: No Solution
Exploring Operation: 91*58=5278, Resulting Numbers: [5278]
5278,31 unequal: No Solution
Exploring Operation: 91-58=33, Resulting Numbers: [33]
33,31 unequal: No Solution
No solution 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: 31:[89, 60], Operations: ['93-62=31', '91-31=60']
Exploring Operation: 89*60=5340, Resulting Numbers: [5340]
5340,31 unequal: No Solution
Exploring Operation: 89-60=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 89+60=149, Resulting Numbers: [149]
149,31 unequal: No Solution
No solution 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: 31:[31, 180], Operations: ['93-62=31', '89+91=180']
Exploring Operation: 31*180=5580, Resulting Numbers: [5580]
5580,31 unequal: No Solution
Exploring Operation: 180-31=149, Resulting Numbers: [149]
149,31 unequal: No Solution
Exploring Operation: 31+180=211, Resulting Numbers: [211]
211,31 unequal: No Solution
No solution 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: 31:[91, 120], Operations: ['93-62=31', '89+31=120']
Exploring Operation: 120-91=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 91+120=211, Resulting Numbers: [211]
211,31 unequal: No Solution
Exploring Operation: 91*120=10920, Resulting Numbers: [10920]
10920,31 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: 31:[62, 89, 2], Operations: ['93-91=2']
Exploring Operation: 89-2=87, Resulting Numbers: [62, 87]
Generated Node #0,3,0: 31:[62, 87] Operation: 89-2=87
Exploring Operation: 89-62=27, Resulting Numbers: [2, 27]
Generated Node #0,3,1: 31:[2, 27] Operation: 89-62=27
Exploring Operation: 62-2=60, Resulting Numbers: [89, 60]
Generated Node #0,3,2: 31:[89, 60] Operation: 62-2=60
Exploring Operation: 62+2=64, Resulting Numbers: [89, 64]
Generated Node #0,3,3: 31:[89, 64] Operation: 62+2=64
Exploring Operation: 62/2=31, Resulting Numbers: [89, 31]
Generated Node #0,3,4: 31:[89, 31] Operation: 62/2=31
Moving to Node #0,2
Current State: 31:[62, 91, 4], Operations: ['93-89=4']
Exploring Operation: 91-4=87, Resulting Numbers: [62, 87]
Generated Node #0,2,0: 31:[62, 87] Operation: 91-4=87
Exploring Operation: 91+4=95, Resulting Numbers: [62, 95]
Generated Node #0,2,1: 31:[62, 95] Operation: 91+4=95
Exploring Operation: 91-62=29, Resulting Numbers: [4, 29]
Generated Node #0,2,2: 31:[4, 29] Operation: 91-62=29
Exploring Operation: 62-4=58, Resulting Numbers: [91, 58]
Generated Node #0,2,3: 31:[91, 58] Operation: 62-4=58
Exploring Operation: 62+4=66, Resulting Numbers: [91, 66]
Generated Node #0,2,4: 31:[91, 66] Operation: 62+4=66
Moving to Node #0,0
Current State: 31:[93, 89, 29], Operations: ['91-62=29']
Exploring Operation: 89+29=118, Resulting Numbers: [93, 118]
Generated Node #0,0,0: 31:[93, 118] Operation: 89+29=118
Exploring Operation: 93-29=64, Resulting Numbers: [89, 64]
Generated Node #0,0,1: 31:[89, 64] Operation: 93-29=64
Exploring Operation: 89-29=60, Resulting Numbers: [93, 60]
Generated Node #0,0,2: 31:[93, 60] Operation: 89-29=60
Exploring Operation: 93-89=4, Resulting Numbers: [29, 4]
Generated Node #0,0,3: 31:[29, 4] Operation: 93-89=4
Exploring Operation: 93+29=122, Resulting Numbers: [89, 122]
Generated Node #0,0,4: 31:[89, 122] Operation: 93+29=122
Moving to Node #0,4
Current State: 31:[62, 93, 2], Operations: ['91-89=2']
Exploring Operation: 93-62=31, Resulting Numbers: [2, 31]
Generated Node #0,4,0: 31:[2, 31] Operation: 93-62=31
Exploring Operation: 62/2=31, Resulting Numbers: [93, 31]
Generated Node #0,4,1: 31:[93, 31] Operation: 62/2=31
Exploring Operation: 62-2=60, Resulting Numbers: [93, 60]
Generated Node #0,4,2: 31:[93, 60] Operation: 62-2=60
Exploring Operation: 93-2=91, Resulting Numbers: [62, 91]
Generated Node #0,4,3: 31:[62, 91] Operation: 93-2=91
Exploring Operation: 62+2=64, Resulting Numbers: [93, 64]
Generated Node #0,4,4: 31:[93, 64] Operation: 62+2=64
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 31:[2, 31], Operations: ['91-89=2', '93-62=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,31 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,31 unequal: No Solution
No 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: 31:[93, 31], Operations: ['91-89=2', '62/2=31']
Exploring Operation: 93-31=62, Resulting Numbers: [62]
62,31 unequal: No Solution
Exploring Operation: 93+31=124, Resulting Numbers: [124]
124,31 unequal: No Solution
Exploring Operation: 93/31=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 93*31=2883, Resulting Numbers: [2883]
2883,31 unequal: No Solution
No 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: 31:[93, 60], Operations: ['91-89=2', '62-2=60']
Exploring Operation: 93+60=153, Resulting Numbers: [153]
153,31 unequal: No Solution
Exploring Operation: 93-60=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 93*60=5580, Resulting Numbers: [5580]
5580,31 unequal: No Solution
No 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: 31:[62, 91], Operations: ['91-89=2', '93-2=91']
Exploring Operation: 91-62=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 62*91=5642, Resulting Numbers: [5642]
5642,31 unequal: No Solution
Exploring Operation: 62+91=153, Resulting Numbers: [153]
153,31 unequal: No Solution
No 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: 31:[93, 64], Operations: ['91-89=2', '62+2=64']
Exploring Operation: 93+64=157, Resulting Numbers: [157]
157,31 unequal: No Solution
Exploring Operation: 93*64=5952, Resulting Numbers: [5952]
5952,31 unequal: No Solution
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 31:[4, 29], Operations: ['93-89=4', '91-62=29']
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,31 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Moving to Node #0,0,3
Current State: 31:[29, 4], Operations: ['91-62=29', '93-89=4']
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,31 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[2, 27], Operations: ['93-91=2', '89-62=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,31 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Moving to Node #0,3,4
Current State: 31:[89, 31], Operations: ['93-91=2', '62/2=31']
Exploring Operation: 89+31=120, Resulting Numbers: [120]
120,31 unequal: No Solution
Exploring Operation: 89*31=2759, Resulting Numbers: [2759]
2759,31 unequal: No Solution
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[62, 87], Operations: ['93-89=4', '91-4=87']
Exploring Operation: 62*87=5394, Resulting Numbers: [5394]
5394,31 unequal: No Solution
Exploring Operation: 87-62=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 62+87=149, Resulting Numbers: [149]
149,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[62, 87], Operations: ['93-91=2', '89-2=87']
Exploring Operation: 87-62=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 62*87=5394, Resulting Numbers: [5394]
5394,31 unequal: No Solution
Exploring Operation: 62+87=149, Resulting Numbers: [149]
149,31 unequal: No Solution
Moving to Node #0,3,2
Current State: 31:[89, 60], Operations: ['93-91=2', '62-2=60']
Exploring Operation: 89*60=5340, Resulting Numbers: [5340]
5340,31 unequal: No Solution
Exploring Operation: 89+60=149, Resulting Numbers: [149]
149,31 unequal: No Solution
Exploring Operation: 89-60=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Moving to Node #0,2,3
Current State: 31:[91, 58], Operations: ['93-89=4', '62-4=58']
Exploring Operation: 91-58=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 91*58=5278, Resulting Numbers: [5278]
5278,31 unequal: No Solution
Exploring Operation: 91+58=149, Resulting Numbers: [149]
149,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[89, 64], Operations: ['91-62=29', '93-29=64']
Exploring Operation: 89-64=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 89+64=153, Resulting Numbers: [153]
153,31 unequal: No Solution
Exploring Operation: 89*64=5696, Resulting Numbers: [5696]
5696,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[89, 64], Operations: ['93-91=2', '62+2=64']
Exploring Operation: 89-64=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 89+64=153, Resulting Numbers: [153]
153,31 unequal: No Solution
Exploring Operation: 89*64=5696, Resulting Numbers: [5696]
5696,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[93, 60], Operations: ['91-62=29', '89-29=60']
Exploring Operation: 93*60=5580, Resulting Numbers: [5580]
5580,31 unequal: No Solution
Exploring Operation: 93-60=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 93+60=153, Resulting Numbers: [153]
153,31 unequal: No Solution
Moving to Node #0,2,4
Current State: 31:[91, 66], Operations: ['93-89=4', '62+4=66']
Exploring Operation: 91*66=6006, Resulting Numbers: [6006]
6006,31 unequal: No Solution
Exploring Operation: 91-66=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 91+66=157, Resulting Numbers: [157]
157,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[62, 95], Operations: ['93-89=4', '91+4=95']
Exploring Operation: 62*95=5890, Resulting Numbers: [5890]
5890,31 unequal: No Solution
Exploring Operation: 95-62=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 62+95=157, Resulting Numbers: [157]
157,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[93, 118], Operations: ['91-62=29', '89+29=118']
Exploring Operation: 118-93=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 93+118=211, Resulting Numbers: [211]
211,31 unequal: No Solution
Exploring Operation: 93*118=10974, Resulting Numbers: [10974]
10974,31 unequal: No Solution
Moving to Node #0,0,4
Current State: 31:[89, 122], Operations: ['91-62=29', '93+29=122']
Exploring Operation: 89+122=211, Resulting Numbers: [211]
211,31 unequal: No Solution
Exploring Operation: 122-89=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 89*122=10858, Resulting Numbers: [10858]
10858,31 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
85,
53,
78,
76
] | 30 | [
"85-53=32",
"78-76=2",
"32-2=30"
] | Current State: 30:[85, 53, 78, 76], Operations: []
Exploring Operation: 85-53=32, Resulting Numbers: [78, 76, 32]
Generated Node #2: [78, 76, 32] from Operation: 85-53=32
Current State: 30:[78, 76, 32], Operations: ['85-53=32']
Exploring Operation: 78-76=2, Resulting Numbers: [32, 2]
Generated Node #3: [32, 2] from Operation: 78-76=2
Current State: 30:[32, 2], Operations: ['85-53=32', '78-76=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[85, 53, 78, 76], Operations: []
Exploring Operation: 85-76=9, Resulting Numbers: [53, 78, 9]
Generated Node #0,0: 30:[53, 78, 9] Operation: 85-76=9
Exploring Operation: 78-76=2, Resulting Numbers: [85, 53, 2]
Generated Node #0,1: 30:[85, 53, 2] Operation: 78-76=2
Exploring Operation: 85-78=7, Resulting Numbers: [53, 76, 7]
Generated Node #0,2: 30:[53, 76, 7] Operation: 85-78=7
Exploring Operation: 85-53=32, Resulting Numbers: [78, 76, 32]
Generated Node #0,3: 30:[78, 76, 32] Operation: 85-53=32
Exploring Operation: 78-53=25, Resulting Numbers: [85, 76, 25]
Generated Node #0,4: 30:[85, 76, 25] Operation: 78-53=25
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[53, 76, 7], Operations: ['85-78=7']
Exploring Operation: 76-7=69, Resulting Numbers: [53, 69]
Generated Node #0,2,0: 30:[53, 69] Operation: 76-7=69
Exploring Operation: 76-53=23, Resulting Numbers: [7, 23]
Generated Node #0,2,1: 30:[7, 23] Operation: 76-53=23
Exploring Operation: 53-7=46, Resulting Numbers: [76, 46]
Generated Node #0,2,2: 30:[76, 46] Operation: 53-7=46
Exploring Operation: 53+7=60, Resulting Numbers: [76, 60]
Generated Node #0,2,3: 30:[76, 60] Operation: 53+7=60
Exploring Operation: 76+7=83, Resulting Numbers: [53, 83]
Generated Node #0,2,4: 30:[53, 83] Operation: 76+7=83
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 30:[7, 23], Operations: ['85-78=7', '76-53=23']
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[85, 53, 78, 76], Operations: []
Exploring Operation: 85-78=7, Resulting Numbers: [53, 76, 7]
Generated Node #0,2: 30:[53, 76, 7] Operation: 85-78=7
Moving to Node #0,2
Current State: 30:[53, 76, 7], Operations: ['85-78=7']
Exploring Operation: 76-53=23, Resulting Numbers: [7, 23]
Generated Node #0,2,1: 30:[7, 23] Operation: 76-53=23
Moving to Node #0,2,1
Current State: 30:[7, 23], Operations: ['85-78=7', '76-53=23']
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
98,
7,
38,
42
] | 66 | [
"98/7=14",
"38+42=80",
"80-14=66"
] | Current State: 66:[98, 7, 38, 42], Operations: []
Exploring Operation: 98/7=14, Resulting Numbers: [38, 42, 14]
Generated Node #2: [38, 42, 14] from Operation: 98/7=14
Current State: 66:[38, 42, 14], Operations: ['98/7=14']
Exploring Operation: 38+42=80, Resulting Numbers: [14, 80]
Generated Node #3: [14, 80] from Operation: 38+42=80
Current State: 66:[14, 80], Operations: ['98/7=14', '38+42=80']
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[98, 7, 38, 42], Operations: []
Exploring Operation: 98-42=56, Resulting Numbers: [7, 38, 56]
Generated Node #0,0: 66:[7, 38, 56] Operation: 98-42=56
Exploring Operation: 42-38=4, Resulting Numbers: [98, 7, 4]
Generated Node #0,1: 66:[98, 7, 4] Operation: 42-38=4
Exploring Operation: 98/7=14, Resulting Numbers: [38, 42, 14]
Generated Node #0,2: 66:[38, 42, 14] Operation: 98/7=14
Exploring Operation: 98-38=60, Resulting Numbers: [7, 42, 60]
Generated Node #0,3: 66:[7, 42, 60] Operation: 98-38=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[7, 38, 56], Operations: ['98-42=56']
Exploring Operation: 56/7=8, Resulting Numbers: [38, 8]
Generated Node #0,0,0: 66:[38, 8] Operation: 56/7=8
Exploring Operation: 56-38=18, Resulting Numbers: [7, 18]
Generated Node #0,0,1: 66:[7, 18] Operation: 56-38=18
Exploring Operation: 38-7=31, Resulting Numbers: [56, 31]
Generated Node #0,0,2: 66:[56, 31] Operation: 38-7=31
Exploring Operation: 7+56=63, Resulting Numbers: [38, 63]
Generated Node #0,0,3: 66:[38, 63] Operation: 7+56=63
Moving to Node #0,0,1
Current State: 66:[7, 18], Operations: ['98-42=56', '56-38=18']
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,66 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[38, 8], Operations: ['98-42=56', '56/7=8']
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,66 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[38, 63], Operations: ['98-42=56', '7+56=63']
Exploring Operation: 38+63=101, Resulting Numbers: [101]
101,66 unequal: No Solution
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Exploring Operation: 38*63=2394, Resulting Numbers: [2394]
2394,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[56, 31], Operations: ['98-42=56', '38-7=31']
Exploring Operation: 56*31=1736, Resulting Numbers: [1736]
1736,66 unequal: No Solution
Exploring Operation: 56+31=87, Resulting Numbers: [87]
87,66 unequal: No Solution
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[7, 42, 60], Operations: ['98-38=60']
Exploring Operation: 42/7=6, Resulting Numbers: [60, 6]
Generated Node #0,3,0: 66:[60, 6] Operation: 42/7=6
Exploring Operation: 60-42=18, Resulting Numbers: [7, 18]
Generated Node #0,3,1: 66:[7, 18] Operation: 60-42=18
Exploring Operation: 42-7=35, Resulting Numbers: [60, 35]
Generated Node #0,3,2: 66:[60, 35] Operation: 42-7=35
Exploring Operation: 7+60=67, Resulting Numbers: [42, 67]
Generated Node #0,3,3: 66:[42, 67] Operation: 7+60=67
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 66:[7, 18], Operations: ['98-38=60', '60-42=18']
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,66 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 66:[60, 6], Operations: ['98-38=60', '42/7=6']
Exploring Operation: 60*6=360, Resulting Numbers: [360]
360,66 unequal: No Solution
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[98, 7, 38, 42], Operations: []
Exploring Operation: 98-38=60, Resulting Numbers: [7, 42, 60]
Generated Node #0,3: 66:[7, 42, 60] Operation: 98-38=60
Moving to Node #0,3
Current State: 66:[7, 42, 60], Operations: ['98-38=60']
Exploring Operation: 42/7=6, Resulting Numbers: [60, 6]
Generated Node #0,3,0: 66:[60, 6] Operation: 42/7=6
Moving to Node #0,3,0
Current State: 66:[60, 6], Operations: ['98-38=60', '42/7=6']
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
32,
9,
20,
78
] | 81 | [
"32-9=23",
"78-20=58",
"23+58=81"
] | Current State: 81:[32, 9, 20, 78], Operations: []
Exploring Operation: 32-9=23, Resulting Numbers: [20, 78, 23]
Generated Node #2: [20, 78, 23] from Operation: 32-9=23
Current State: 81:[20, 78, 23], Operations: ['32-9=23']
Exploring Operation: 78-20=58, Resulting Numbers: [23, 58]
Generated Node #3: [23, 58] from Operation: 78-20=58
Current State: 81:[23, 58], Operations: ['32-9=23', '78-20=58']
Exploring Operation: 23+58=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[32, 9, 20, 78], Operations: []
Exploring Operation: 9+20=29, Resulting Numbers: [32, 78, 29]
Generated Node #0,0: 81:[32, 78, 29] Operation: 9+20=29
Exploring Operation: 32-20=12, Resulting Numbers: [9, 78, 12]
Generated Node #0,1: 81:[9, 78, 12] Operation: 32-20=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[9, 78, 12], Operations: ['32-20=12']
Exploring Operation: 9+78=87, Resulting Numbers: [12, 87]
Generated Node #0,1,0: 81:[12, 87] Operation: 9+78=87
Exploring Operation: 12-9=3, Resulting Numbers: [78, 3]
Generated Node #0,1,1: 81:[78, 3] Operation: 12-9=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[78, 3], Operations: ['32-20=12', '12-9=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[32, 9, 20, 78], Operations: []
Exploring Operation: 32-20=12, Resulting Numbers: [9, 78, 12]
Generated Node #0,1: 81:[9, 78, 12] Operation: 32-20=12
Moving to Node #0,1
Current State: 81:[9, 78, 12], Operations: ['32-20=12']
Exploring Operation: 12-9=3, Resulting Numbers: [78, 3]
Generated Node #0,1,1: 81:[78, 3] Operation: 12-9=3
Moving to Node #0,1,1
Current State: 81:[78, 3], Operations: ['32-20=12', '12-9=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
46,
63,
95,
97
] | 83 | [
"46+63=109",
"95+97=192",
"192-109=83"
] | Current State: 83:[46, 63, 95, 97], Operations: []
Exploring Operation: 46+63=109, Resulting Numbers: [95, 97, 109]
Generated Node #2: [95, 97, 109] from Operation: 46+63=109
Current State: 83:[95, 97, 109], Operations: ['46+63=109']
Exploring Operation: 95+97=192, Resulting Numbers: [109, 192]
Generated Node #3: [109, 192] from Operation: 95+97=192
Current State: 83:[109, 192], Operations: ['46+63=109', '95+97=192']
Exploring Operation: 192-109=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[46, 63, 95, 97], Operations: []
Exploring Operation: 46+63=109, Resulting Numbers: [95, 97, 109]
Generated Node #0,0: 83:[95, 97, 109] Operation: 46+63=109
Exploring Operation: 97-46=51, Resulting Numbers: [63, 95, 51]
Generated Node #0,1: 83:[63, 95, 51] Operation: 97-46=51
Moving to Node #0,0
Current State: 83:[95, 97, 109], Operations: ['46+63=109']
Exploring Operation: 109-97=12, Resulting Numbers: [95, 12]
Generated Node #0,0,0: 83:[95, 12] Operation: 109-97=12
Exploring Operation: 109-95=14, Resulting Numbers: [97, 14]
Generated Node #0,0,1: 83:[97, 14] Operation: 109-95=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[95, 12], Operations: ['46+63=109', '109-97=12']
Exploring Operation: 95+12=107, Resulting Numbers: [107]
107,83 unequal: No Solution
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[46, 63, 95, 97], Operations: []
Exploring Operation: 46+63=109, Resulting Numbers: [95, 97, 109]
Generated Node #0,0: 83:[95, 97, 109] Operation: 46+63=109
Moving to Node #0,0
Current State: 83:[95, 97, 109], Operations: ['46+63=109']
Exploring Operation: 109-97=12, Resulting Numbers: [95, 12]
Generated Node #0,0,0: 83:[95, 12] Operation: 109-97=12
Moving to Node #0,0,0
Current State: 83:[95, 12], Operations: ['46+63=109', '109-97=12']
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
49,
70,
63,
18
] | 25 | [
"70-63=7",
"49/7=7",
"18+7=25"
] | Current State: 25:[49, 70, 63, 18], Operations: []
Exploring Operation: 70-63=7, Resulting Numbers: [49, 18, 7]
Generated Node #2: [49, 18, 7] from Operation: 70-63=7
Current State: 25:[49, 18, 7], Operations: ['70-63=7']
Exploring Operation: 49/7=7, Resulting Numbers: [18, 7]
Generated Node #3: [18, 7] from Operation: 49/7=7
Current State: 25:[18, 7], Operations: ['70-63=7', '49/7=7']
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[49, 70, 63, 18], Operations: []
Exploring Operation: 63-49=14, Resulting Numbers: [70, 18, 14]
Generated Node #0,0: 25:[70, 18, 14] Operation: 63-49=14
Exploring Operation: 70-63=7, Resulting Numbers: [49, 18, 7]
Generated Node #0,1: 25:[49, 18, 7] Operation: 70-63=7
Exploring Operation: 70-49=21, Resulting Numbers: [63, 18, 21]
Generated Node #0,2: 25:[63, 18, 21] Operation: 70-49=21
Exploring Operation: 70-18=52, Resulting Numbers: [49, 63, 52]
Generated Node #0,3: 25:[49, 63, 52] Operation: 70-18=52
Exploring Operation: 49-18=31, Resulting Numbers: [70, 63, 31]
Generated Node #0,4: 25:[70, 63, 31] Operation: 49-18=31
Moving to Node #0,1
Current State: 25:[49, 18, 7], Operations: ['70-63=7']
Exploring Operation: 49-7=42, Resulting Numbers: [18, 42]
Generated Node #0,1,0: 25:[18, 42] Operation: 49-7=42
Exploring Operation: 18+7=25, Resulting Numbers: [49, 25]
Generated Node #0,1,1: 25:[49, 25] Operation: 18+7=25
Exploring Operation: 49-18=31, Resulting Numbers: [7, 31]
Generated Node #0,1,2: 25:[7, 31] Operation: 49-18=31
Exploring Operation: 49/7=7, Resulting Numbers: [18, 7]
Generated Node #0,1,3: 25:[18, 7] Operation: 49/7=7
Exploring Operation: 18-7=11, Resulting Numbers: [49, 11]
Generated Node #0,1,4: 25:[49, 11] Operation: 18-7=11
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 25:[7, 31], Operations: ['70-63=7', '49-18=31']
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 25:[18, 7], Operations: ['70-63=7', '49/7=7']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,25 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[49, 70, 63, 18], Operations: []
Exploring Operation: 70-63=7, Resulting Numbers: [49, 18, 7]
Generated Node #0,1: 25:[49, 18, 7] Operation: 70-63=7
Moving to Node #0,1
Current State: 25:[49, 18, 7], Operations: ['70-63=7']
Exploring Operation: 49/7=7, Resulting Numbers: [18, 7]
Generated Node #0,1,3: 25:[18, 7] Operation: 49/7=7
Moving to Node #0,1,3
Current State: 25:[18, 7], Operations: ['70-63=7', '49/7=7']
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
49,
11,
13,
6
] | 19 | [
"49-11=38",
"13+6=19",
"38-19=19"
] | Current State: 19:[49, 11, 13, 6], Operations: []
Exploring Operation: 49-11=38, Resulting Numbers: [13, 6, 38]
Generated Node #2: [13, 6, 38] from Operation: 49-11=38
Current State: 19:[13, 6, 38], Operations: ['49-11=38']
Exploring Operation: 13+6=19, Resulting Numbers: [38, 19]
Generated Node #3: [38, 19] from Operation: 13+6=19
Current State: 19:[38, 19], Operations: ['49-11=38', '13+6=19']
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[49, 11, 13, 6], Operations: []
Exploring Operation: 49-11=38, Resulting Numbers: [13, 6, 38]
Generated Node #0,0: 19:[13, 6, 38] Operation: 49-11=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[13, 6, 38], Operations: ['49-11=38']
Exploring Operation: 13+6=19, Resulting Numbers: [38, 19]
Generated Node #0,0,0: 19:[38, 19] Operation: 13+6=19
Moving to Node #0,0,0
Current State: 19:[38, 19], Operations: ['49-11=38', '13+6=19']
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[49, 11, 13, 6], Operations: []
Exploring Operation: 49-11=38, Resulting Numbers: [13, 6, 38]
Generated Node #0,0: 19:[13, 6, 38] Operation: 49-11=38
Moving to Node #0,0
Current State: 19:[13, 6, 38], Operations: ['49-11=38']
Exploring Operation: 13+6=19, Resulting Numbers: [38, 19]
Generated Node #0,0,0: 19:[38, 19] Operation: 13+6=19
Moving to Node #0,0,0
Current State: 19:[38, 19], Operations: ['49-11=38', '13+6=19']
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
6,
63,
6,
14
] | 21 | [
"6*63=378",
"378/14=27",
"27-6=21"
] | Current State: 21:[6, 63, 6, 14], Operations: []
Exploring Operation: 6*63=378, Resulting Numbers: [14, 378]
Generated Node #2: [14, 378] from Operation: 6*63=378
Current State: 21:[14, 378], Operations: ['6*63=378']
Exploring Operation: 378/14=27, Resulting Numbers: [27]
27,21 equal: Goal Reached
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[6, 63, 6, 14], Operations: []
Exploring Operation: 6+14=20, Resulting Numbers: [63, 6, 20]
Generated Node #0,0: 21:[63, 6, 20] Operation: 6+14=20
Exploring Operation: 63-14=49, Resulting Numbers: [6, 6, 49]
Generated Node #0,1: 21:[6, 6, 49] Operation: 63-14=49
Exploring Operation: 63-6=57, Resulting Numbers: [6, 14, 57]
Generated Node #0,2: 21:[6, 14, 57] Operation: 63-6=57
Moving to Node #0,1
Current State: 21:[6, 6, 49], Operations: ['63-14=49']
Exploring Operation: 49-6=43, Resulting Numbers: [6, 43]
Generated Node #0,1,0: 21:[6, 43] Operation: 49-6=43
Exploring Operation: 49-6=43, Resulting Numbers: [6, 43]
Generated Node #0,1,1: 21:[6, 43] Operation: 49-6=43
Exploring Operation: 6/6=1, Resulting Numbers: [49, 1]
Generated Node #0,1,2: 21:[49, 1] Operation: 6/6=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[6, 43], Operations: ['63-14=49', '49-6=43']
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,21 unequal: No Solution
Exploring Operation: 6*43=258, Resulting Numbers: [258]
258,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 21:[6, 43], Operations: ['63-14=49', '49-6=43']
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 6*43=258, Resulting Numbers: [258]
258,21 unequal: No Solution
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 21:[49, 1], Operations: ['63-14=49', '6/6=1']
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,21 unequal: No Solution
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,21 unequal: No Solution
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 21:[63, 6, 20], Operations: ['6+14=20']
Exploring Operation: 6+20=26, Resulting Numbers: [63, 26]
Generated Node #0,0,0: 21:[63, 26] Operation: 6+20=26
Exploring Operation: 63-6=57, Resulting Numbers: [20, 57]
Generated Node #0,0,1: 21:[20, 57] Operation: 63-6=57
Exploring Operation: 63-20=43, Resulting Numbers: [6, 43]
Generated Node #0,0,2: 21:[6, 43] Operation: 63-20=43
Moving to Node #0,2
Current State: 21:[6, 14, 57], Operations: ['63-6=57']
Exploring Operation: 57-14=43, Resulting Numbers: [6, 43]
Generated Node #0,2,0: 21:[6, 43] Operation: 57-14=43
Exploring Operation: 14-6=8, Resulting Numbers: [57, 8]
Generated Node #0,2,1: 21:[57, 8] Operation: 14-6=8
Exploring Operation: 6+14=20, Resulting Numbers: [57, 20]
Generated Node #0,2,2: 21:[57, 20] Operation: 6+14=20
Moving to Node #0,0,2
Current State: 21:[6, 43], Operations: ['6+14=20', '63-20=43']
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,21 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 6*43=258, Resulting Numbers: [258]
258,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[6, 43], Operations: ['63-6=57', '57-14=43']
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,21 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 6*43=258, Resulting Numbers: [258]
258,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[57, 20], Operations: ['63-6=57', '6+14=20']
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 57*20=1140, Resulting Numbers: [1140]
1140,21 unequal: No Solution
Exploring Operation: 57+20=77, Resulting Numbers: [77]
77,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[57, 8], Operations: ['63-6=57', '14-6=8']
Exploring Operation: 57-8=49, Resulting Numbers: [49]
49,21 unequal: No Solution
Exploring Operation: 57*8=456, Resulting Numbers: [456]
456,21 unequal: No Solution
Exploring Operation: 57+8=65, Resulting Numbers: [65]
65,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[20, 57], Operations: ['6+14=20', '63-6=57']
Exploring Operation: 20*57=1140, Resulting Numbers: [1140]
1140,21 unequal: No Solution
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 20+57=77, Resulting Numbers: [77]
77,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[63, 26], Operations: ['6+14=20', '6+20=26']
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 63*26=1638, Resulting Numbers: [1638]
1638,21 unequal: No Solution
Exploring Operation: 63+26=89, Resulting Numbers: [89]
89,21 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
71,
32,
1,
24
] | 63 | [
"71-32=39",
"1*24=24",
"39+24=63"
] | Current State: 63:[71, 32, 1, 24], Operations: []
Exploring Operation: 71-32=39, Resulting Numbers: [1, 24, 39]
Generated Node #2: [1, 24, 39] from Operation: 71-32=39
Current State: 63:[1, 24, 39], Operations: ['71-32=39']
Exploring Operation: 1*24=24, Resulting Numbers: [39, 24]
Generated Node #3: [39, 24] from Operation: 1*24=24
Current State: 63:[39, 24], Operations: ['71-32=39', '1*24=24']
Exploring Operation: 39+24=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[71, 32, 1, 24], Operations: []
Exploring Operation: 32+24=56, Resulting Numbers: [71, 1, 56]
Generated Node #0,0: 63:[71, 1, 56] Operation: 32+24=56
Exploring Operation: 32-1=31, Resulting Numbers: [71, 24, 31]
Generated Node #0,1: 63:[71, 24, 31] Operation: 32-1=31
Exploring Operation: 24-1=23, Resulting Numbers: [71, 32, 23]
Generated Node #0,2: 63:[71, 32, 23] Operation: 24-1=23
Exploring Operation: 71-1=70, Resulting Numbers: [32, 24, 70]
Generated Node #0,3: 63:[32, 24, 70] Operation: 71-1=70
Exploring Operation: 32-24=8, Resulting Numbers: [71, 1, 8]
Generated Node #0,4: 63:[71, 1, 8] Operation: 32-24=8
Moving to Node #0,4
Current State: 63:[71, 1, 8], Operations: ['32-24=8']
Exploring Operation: 71-1=70, Resulting Numbers: [8, 70]
Generated Node #0,4,0: 63:[8, 70] Operation: 71-1=70
Exploring Operation: 8-1=7, Resulting Numbers: [71, 7]
Generated Node #0,4,1: 63:[71, 7] Operation: 8-1=7
Exploring Operation: 71*1=71, Resulting Numbers: [8, 71]
Generated Node #0,4,2: 63:[8, 71] Operation: 71*1=71
Exploring Operation: 1+8=9, Resulting Numbers: [71, 9]
Generated Node #0,4,3: 63:[71, 9] Operation: 1+8=9
Exploring Operation: 71-8=63, Resulting Numbers: [1, 63]
Generated Node #0,4,4: 63:[1, 63] Operation: 71-8=63
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 63:[1, 63], Operations: ['32-24=8', '71-8=63']
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[71, 32, 1, 24], Operations: []
Exploring Operation: 32-24=8, Resulting Numbers: [71, 1, 8]
Generated Node #0,4: 63:[71, 1, 8] Operation: 32-24=8
Moving to Node #0,4
Current State: 63:[71, 1, 8], Operations: ['32-24=8']
Exploring Operation: 71-8=63, Resulting Numbers: [1, 63]
Generated Node #0,4,4: 63:[1, 63] Operation: 71-8=63
Moving to Node #0,4,4
Current State: 63:[1, 63], Operations: ['32-24=8', '71-8=63']
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
50,
92,
80,
38
] | 24 | [
"50+92=142",
"80+38=118",
"142-118=24"
] | Current State: 24:[50, 92, 80, 38], Operations: []
Exploring Operation: 50+92=142, Resulting Numbers: [80, 38, 142]
Generated Node #2: [80, 38, 142] from Operation: 50+92=142
Current State: 24:[80, 38, 142], Operations: ['50+92=142']
Exploring Operation: 80+38=118, Resulting Numbers: [142, 118]
Generated Node #3: [142, 118] from Operation: 80+38=118
Current State: 24:[142, 118], Operations: ['50+92=142', '80+38=118']
Exploring Operation: 142-118=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[50, 92, 80, 38], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [50, 38, 12]
Generated Node #0,0: 24:[50, 38, 12] Operation: 92-80=12
Exploring Operation: 92-50=42, Resulting Numbers: [80, 38, 42]
Generated Node #0,1: 24:[80, 38, 42] Operation: 92-50=42
Moving to Node #0,0
Current State: 24:[50, 38, 12], Operations: ['92-80=12']
Exploring Operation: 50-38=12, Resulting Numbers: [12, 12]
Generated Node #0,0,0: 24:[12, 12] Operation: 50-38=12
Exploring Operation: 50-12=38, Resulting Numbers: [38, 38]
Generated Node #0,0,1: 24:[38, 38] Operation: 50-12=38
Moving to Node #0,1
Current State: 24:[80, 38, 42], Operations: ['92-50=42']
Exploring Operation: 80-38=42, Resulting Numbers: [42, 42]
Generated Node #0,1,0: 24:[42, 42] Operation: 80-38=42
Exploring Operation: 80-42=38, Resulting Numbers: [38, 38]
Generated Node #0,1,1: 24:[38, 38] Operation: 80-42=38
Moving to Node #0,0,0
Current State: 24:[12, 12], Operations: ['92-80=12', '50-38=12']
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[50, 92, 80, 38], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [50, 38, 12]
Generated Node #0,0: 24:[50, 38, 12] Operation: 92-80=12
Moving to Node #0,0
Current State: 24:[50, 38, 12], Operations: ['92-80=12']
Exploring Operation: 50-38=12, Resulting Numbers: [12, 12]
Generated Node #0,0,0: 24:[12, 12] Operation: 50-38=12
Moving to Node #0,0,0
Current State: 24:[12, 12], Operations: ['92-80=12', '50-38=12']
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
16,
28,
22,
24
] | 46 | [
"16+28=44",
"24-22=2",
"44+2=46"
] | Current State: 46:[16, 28, 22, 24], Operations: []
Exploring Operation: 16+28=44, Resulting Numbers: [22, 24, 44]
Generated Node #2: [22, 24, 44] from Operation: 16+28=44
Current State: 46:[22, 24, 44], Operations: ['16+28=44']
Exploring Operation: 24-22=2, Resulting Numbers: [44, 2]
Generated Node #3: [44, 2] from Operation: 24-22=2
Current State: 46:[44, 2], Operations: ['16+28=44', '24-22=2']
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[16, 28, 22, 24], Operations: []
Exploring Operation: 28-24=4, Resulting Numbers: [16, 22, 4]
Generated Node #0,0: 46:[16, 22, 4] Operation: 28-24=4
Exploring Operation: 22-16=6, Resulting Numbers: [28, 24, 6]
Generated Node #0,1: 46:[28, 24, 6] Operation: 22-16=6
Exploring Operation: 28-16=12, Resulting Numbers: [22, 24, 12]
Generated Node #0,2: 46:[22, 24, 12] Operation: 28-16=12
Exploring Operation: 16+28=44, Resulting Numbers: [22, 24, 44]
Generated Node #0,3: 46:[22, 24, 44] Operation: 16+28=44
Moving to Node #0,3
Current State: 46:[22, 24, 44], Operations: ['16+28=44']
Exploring Operation: 44/22=2, Resulting Numbers: [24, 2]
Generated Node #0,3,0: 46:[24, 2] Operation: 44/22=2
Exploring Operation: 44-22=22, Resulting Numbers: [24, 22]
Generated Node #0,3,1: 46:[24, 22] Operation: 44-22=22
Exploring Operation: 22+24=46, Resulting Numbers: [44, 46]
Generated Node #0,3,2: 46:[44, 46] Operation: 22+24=46
Exploring Operation: 24-22=2, Resulting Numbers: [44, 2]
Generated Node #0,3,3: 46:[44, 2] Operation: 24-22=2
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 46:[24, 2], Operations: ['16+28=44', '44/22=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,46 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,46 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 46:[24, 22], Operations: ['16+28=44', '44-22=22']
Exploring Operation: 24+22=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[16, 28, 22, 24], Operations: []
Exploring Operation: 16+28=44, Resulting Numbers: [22, 24, 44]
Generated Node #0,3: 46:[22, 24, 44] Operation: 16+28=44
Moving to Node #0,3
Current State: 46:[22, 24, 44], Operations: ['16+28=44']
Exploring Operation: 44-22=22, Resulting Numbers: [24, 22]
Generated Node #0,3,1: 46:[24, 22] Operation: 44-22=22
Moving to Node #0,3,1
Current State: 46:[24, 22], Operations: ['16+28=44', '44-22=22']
Exploring Operation: 24+22=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
40,
22,
2,
32
] | 46 | [
"40+22=62",
"32/2=16",
"62-16=46"
] | Current State: 46:[40, 22, 2, 32], Operations: []
Exploring Operation: 40+22=62, Resulting Numbers: [2, 32, 62]
Generated Node #2: [2, 32, 62] from Operation: 40+22=62
Current State: 46:[2, 32, 62], Operations: ['40+22=62']
Exploring Operation: 32/2=16, Resulting Numbers: [62, 16]
Generated Node #3: [62, 16] from Operation: 32/2=16
Current State: 46:[62, 16], Operations: ['40+22=62', '32/2=16']
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[40, 22, 2, 32], Operations: []
Exploring Operation: 40+2=42, Resulting Numbers: [22, 32, 42]
Generated Node #0,0: 46:[22, 32, 42] Operation: 40+2=42
Exploring Operation: 40-32=8, Resulting Numbers: [22, 2, 8]
Generated Node #0,1: 46:[22, 2, 8] Operation: 40-32=8
Exploring Operation: 40-22=18, Resulting Numbers: [2, 32, 18]
Generated Node #0,2: 46:[2, 32, 18] Operation: 40-22=18
Exploring Operation: 40/2=20, Resulting Numbers: [22, 32, 20]
Generated Node #0,3: 46:[22, 32, 20] Operation: 40/2=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[22, 2, 8], Operations: ['40-32=8']
Exploring Operation: 22+8=30, Resulting Numbers: [2, 30]
Generated Node #0,1,0: 46:[2, 30] Operation: 22+8=30
Exploring Operation: 8/2=4, Resulting Numbers: [22, 4]
Generated Node #0,1,1: 46:[22, 4] Operation: 8/2=4
Exploring Operation: 8-2=6, Resulting Numbers: [22, 6]
Generated Node #0,1,2: 46:[22, 6] Operation: 8-2=6
Exploring Operation: 22+2=24, Resulting Numbers: [8, 24]
Generated Node #0,1,3: 46:[8, 24] Operation: 22+2=24
Moving to Node #0,1,1
Current State: 46:[22, 4], Operations: ['40-32=8', '8/2=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,46 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[22, 6], Operations: ['40-32=8', '8-2=6']
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,46 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Moving to Node #0,1,3
Current State: 46:[8, 24], Operations: ['40-32=8', '22+2=24']
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,46 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[2, 30], Operations: ['40-32=8', '22+8=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,46 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 46:[22, 32, 20], Operations: ['40/2=20']
Exploring Operation: 32+20=52, Resulting Numbers: [22, 52]
Generated Node #0,3,0: 46:[22, 52] Operation: 32+20=52
Exploring Operation: 22-20=2, Resulting Numbers: [32, 2]
Generated Node #0,3,1: 46:[32, 2] Operation: 22-20=2
Exploring Operation: 32-22=10, Resulting Numbers: [20, 10]
Generated Node #0,3,2: 46:[20, 10] Operation: 32-22=10
Exploring Operation: 22+32=54, Resulting Numbers: [20, 54]
Generated Node #0,3,3: 46:[20, 54] Operation: 22+32=54
Moving to Node #0,3,0
Current State: 46:[22, 52], Operations: ['40/2=20', '32+20=52']
Exploring Operation: 22+52=74, Resulting Numbers: [74]
74,46 unequal: No Solution
Exploring Operation: 22*52=1144, Resulting Numbers: [1144]
1144,46 unequal: No Solution
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Moving to Node #0,3,1
Current State: 46:[32, 2], Operations: ['40/2=20', '22-20=2']
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,46 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Moving to Node #0,3,3
Current State: 46:[20, 54], Operations: ['40/2=20', '22+32=54']
Exploring Operation: 20*54=1080, Resulting Numbers: [1080]
1080,46 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 20+54=74, Resulting Numbers: [74]
74,46 unequal: No Solution
Moving to Node #0,3,2
Current State: 46:[20, 10], Operations: ['40/2=20', '32-22=10']
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 20+10=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Exploring Operation: 20*10=200, Resulting Numbers: [200]
200,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[22, 32, 42], Operations: ['40+2=42']
Exploring Operation: 32-22=10, Resulting Numbers: [42, 10]
Generated Node #0,0,0: 46:[42, 10] Operation: 32-22=10
Exploring Operation: 42-32=10, Resulting Numbers: [22, 10]
Generated Node #0,0,1: 46:[22, 10] Operation: 42-32=10
Exploring Operation: 42-22=20, Resulting Numbers: [32, 20]
Generated Node #0,0,2: 46:[32, 20] Operation: 42-22=20
Exploring Operation: 22+32=54, Resulting Numbers: [42, 54]
Generated Node #0,0,3: 46:[42, 54] Operation: 22+32=54
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 46:[22, 10], Operations: ['40+2=42', '42-32=10']
Exploring Operation: 22*10=220, Resulting Numbers: [220]
220,46 unequal: No Solution
Exploring Operation: 22+10=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,46 unequal: No Solution
No 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: 46:[42, 10], Operations: ['40+2=42', '32-22=10']
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,46 unequal: No Solution
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,46 unequal: No Solution
No 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: 46:[32, 20], Operations: ['40+2=42', '42-22=20']
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,46 unequal: No Solution
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,46 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,46 unequal: No Solution
No 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: 46:[42, 54], Operations: ['40+2=42', '22+32=54']
Exploring Operation: 42*54=2268, Resulting Numbers: [2268]
2268,46 unequal: No Solution
Exploring Operation: 42+54=96, Resulting Numbers: [96]
96,46 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,46 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: 46:[2, 32, 18], Operations: ['40-22=18']
Exploring Operation: 32-18=14, Resulting Numbers: [2, 14]
Generated Node #0,2,0: 46:[2, 14] Operation: 32-18=14
Exploring Operation: 32+18=50, Resulting Numbers: [2, 50]
Generated Node #0,2,1: 46:[2, 50] Operation: 32+18=50
Exploring Operation: 32/2=16, Resulting Numbers: [18, 16]
Generated Node #0,2,2: 46:[18, 16] Operation: 32/2=16
Exploring Operation: 32-2=30, Resulting Numbers: [18, 30]
Generated Node #0,2,3: 46:[18, 30] Operation: 32-2=30
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 46:[2, 50], Operations: ['40-22=18', '32+18=50']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,46 unequal: No Solution
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,46 unequal: No Solution
No 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: 46:[2, 14], Operations: ['40-22=18', '32-18=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,46 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,46 unequal: No Solution
No 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: 46:[18, 16], Operations: ['40-22=18', '32/2=16']
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,46 unequal: No Solution
No 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: 46:[18, 30], Operations: ['40-22=18', '32-2=30']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,46 unequal: No Solution
Exploring Operation: 18+30=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 18*30=540, Resulting Numbers: [540]
540,46 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 |
[
36,
86,
57,
38
] | 93 | [
"86*57=4902",
"4902/38=129",
"129-36=93"
] | Current State: 93:[36, 86, 57, 38], Operations: []
Exploring Operation: 86*57=4902, Resulting Numbers: [36, 38, 4902]
Generated Node #2: [36, 38, 4902] from Operation: 86*57=4902
Current State: 93:[36, 38, 4902], Operations: ['86*57=4902']
Exploring Operation: 4902/38=129, Resulting Numbers: [36, 129]
Generated Node #3: [36, 129] from Operation: 4902/38=129
Current State: 93:[36, 129], Operations: ['86*57=4902', '4902/38=129']
Exploring Operation: 129-36=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[36, 86, 57, 38], Operations: []
Exploring Operation: 36+57=93, Resulting Numbers: [86, 38, 93]
Generated Node #0,0: 93:[86, 38, 93] Operation: 36+57=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[86, 38, 93], Operations: ['36+57=93']
Exploring Operation: 93-86=7, Resulting Numbers: [38, 7]
Generated Node #0,0,0: 93:[38, 7] Operation: 93-86=7
Moving to Node #0,0,0
Current State: 93:[38, 7], Operations: ['36+57=93', '93-86=7']
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
82,
22,
9,
62
] | 38 | [
"82+62=144",
"144/9=16",
"22+16=38"
] | Current State: 38:[82, 22, 9, 62], Operations: []
Exploring Operation: 82+62=144, Resulting Numbers: [22, 9, 144]
Generated Node #2: [22, 9, 144] from Operation: 82+62=144
Current State: 38:[22, 9, 144], Operations: ['82+62=144']
Exploring Operation: 144/9=16, Resulting Numbers: [22, 16]
Generated Node #3: [22, 16] from Operation: 144/9=16
Current State: 38:[22, 16], Operations: ['82+62=144', '144/9=16']
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[82, 22, 9, 62], Operations: []
Exploring Operation: 62-22=40, Resulting Numbers: [82, 9, 40]
Generated Node #0,0: 38:[82, 9, 40] Operation: 62-22=40
Exploring Operation: 82-9=73, Resulting Numbers: [22, 62, 73]
Generated Node #0,1: 38:[22, 62, 73] Operation: 82-9=73
Exploring Operation: 82-22=60, Resulting Numbers: [9, 62, 60]
Generated Node #0,2: 38:[9, 62, 60] Operation: 82-22=60
Exploring Operation: 82-62=20, Resulting Numbers: [22, 9, 20]
Generated Node #0,3: 38:[22, 9, 20] Operation: 82-62=20
Start Sub Search at level 1: Moving to Node #0,3
Current State: 38:[22, 9, 20], Operations: ['82-62=20']
Exploring Operation: 22+20=42, Resulting Numbers: [9, 42]
Generated Node #0,3,0: 38:[9, 42] Operation: 22+20=42
Exploring Operation: 22+9=31, Resulting Numbers: [20, 31]
Generated Node #0,3,1: 38:[20, 31] Operation: 22+9=31
Exploring Operation: 22-9=13, Resulting Numbers: [20, 13]
Generated Node #0,3,2: 38:[20, 13] Operation: 22-9=13
Exploring Operation: 22-20=2, Resulting Numbers: [9, 2]
Generated Node #0,3,3: 38:[9, 2] Operation: 22-20=2
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 38:[20, 13], Operations: ['82-62=20', '22-9=13']
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,38 unequal: No Solution
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 38:[9, 2], Operations: ['82-62=20', '22-20=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 38:[20, 31], Operations: ['82-62=20', '22+9=31']
Exploring Operation: 20*31=620, Resulting Numbers: [620]
620,38 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 38:[9, 42], Operations: ['82-62=20', '22+20=42']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 9*42=378, Resulting Numbers: [378]
378,38 unequal: No Solution
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,38 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: 38:[82, 9, 40], Operations: ['62-22=40']
Exploring Operation: 82-40=42, Resulting Numbers: [9, 42]
Generated Node #0,0,0: 38:[9, 42] Operation: 82-40=42
Exploring Operation: 82-9=73, Resulting Numbers: [40, 73]
Generated Node #0,0,1: 38:[40, 73] Operation: 82-9=73
Exploring Operation: 40-9=31, Resulting Numbers: [82, 31]
Generated Node #0,0,2: 38:[82, 31] Operation: 40-9=31
Exploring Operation: 82+9=91, Resulting Numbers: [40, 91]
Generated Node #0,0,3: 38:[40, 91] Operation: 82+9=91
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[9, 42], Operations: ['62-22=40', '82-40=42']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Exploring Operation: 9*42=378, Resulting Numbers: [378]
378,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 38:[40, 73], Operations: ['62-22=40', '82-9=73']
Exploring Operation: 73-40=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 40*73=2920, Resulting Numbers: [2920]
2920,38 unequal: No Solution
Exploring Operation: 40+73=113, Resulting Numbers: [113]
113,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 38:[82, 31], Operations: ['62-22=40', '40-9=31']
Exploring Operation: 82-31=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Exploring Operation: 82*31=2542, Resulting Numbers: [2542]
2542,38 unequal: No Solution
Exploring Operation: 82+31=113, Resulting Numbers: [113]
113,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 38:[40, 91], Operations: ['62-22=40', '82+9=91']
Exploring Operation: 91-40=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Exploring Operation: 40+91=131, Resulting Numbers: [131]
131,38 unequal: No Solution
Exploring Operation: 40*91=3640, Resulting Numbers: [3640]
3640,38 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: 38:[9, 62, 60], Operations: ['82-22=60']
Exploring Operation: 9+62=71, Resulting Numbers: [60, 71]
Generated Node #0,2,0: 38:[60, 71] Operation: 9+62=71
Exploring Operation: 60-9=51, Resulting Numbers: [62, 51]
Generated Node #0,2,1: 38:[62, 51] Operation: 60-9=51
Exploring Operation: 62-9=53, Resulting Numbers: [60, 53]
Generated Node #0,2,2: 38:[60, 53] Operation: 62-9=53
Exploring Operation: 62-60=2, Resulting Numbers: [9, 2]
Generated Node #0,2,3: 38:[9, 2] Operation: 62-60=2
Moving to Node #0,2,3
Current State: 38:[9, 2], Operations: ['82-22=60', '62-60=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Moving to Node #0,2,2
Current State: 38:[60, 53], Operations: ['82-22=60', '62-9=53']
Exploring Operation: 60+53=113, Resulting Numbers: [113]
113,38 unequal: No Solution
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 60*53=3180, Resulting Numbers: [3180]
3180,38 unequal: No Solution
Moving to Node #0,2,1
Current State: 38:[62, 51], Operations: ['82-22=60', '60-9=51']
Exploring Operation: 62*51=3162, Resulting Numbers: [3162]
3162,38 unequal: No Solution
Exploring Operation: 62-51=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 62+51=113, Resulting Numbers: [113]
113,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[60, 71], Operations: ['82-22=60', '9+62=71']
Exploring Operation: 71-60=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 60+71=131, Resulting Numbers: [131]
131,38 unequal: No Solution
Exploring Operation: 60*71=4260, Resulting Numbers: [4260]
4260,38 unequal: No Solution
No solution 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: 38:[22, 62, 73], Operations: ['82-9=73']
Exploring Operation: 62-22=40, Resulting Numbers: [73, 40]
Generated Node #0,1,0: 38:[73, 40] Operation: 62-22=40
Exploring Operation: 73-62=11, Resulting Numbers: [22, 11]
Generated Node #0,1,1: 38:[22, 11] Operation: 73-62=11
Exploring Operation: 73-22=51, Resulting Numbers: [62, 51]
Generated Node #0,1,2: 38:[62, 51] Operation: 73-22=51
Exploring Operation: 22+62=84, Resulting Numbers: [73, 84]
Generated Node #0,1,3: 38:[73, 84] Operation: 22+62=84
Moving to Node #0,1,1
Current State: 38:[22, 11], Operations: ['82-9=73', '73-62=11']
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 22*11=242, Resulting Numbers: [242]
242,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[62, 51], Operations: ['82-9=73', '73-22=51']
Exploring Operation: 62*51=3162, Resulting Numbers: [3162]
3162,38 unequal: No Solution
Exploring Operation: 62-51=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 62+51=113, Resulting Numbers: [113]
113,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[73, 40], Operations: ['82-9=73', '62-22=40']
Exploring Operation: 73-40=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 73+40=113, Resulting Numbers: [113]
113,38 unequal: No Solution
Exploring Operation: 73*40=2920, Resulting Numbers: [2920]
2920,38 unequal: No Solution
Moving to Node #0,1,3
Current State: 38:[73, 84], Operations: ['82-9=73', '22+62=84']
Exploring Operation: 73*84=6132, Resulting Numbers: [6132]
6132,38 unequal: No Solution
Exploring Operation: 73+84=157, Resulting Numbers: [157]
157,38 unequal: No Solution
Exploring Operation: 84-73=11, Resulting Numbers: [11]
11,38 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 |
[
49,
4,
73,
16
] | 59 | [
"49-16=33",
"4*33=132",
"132-73=59"
] | Current State: 59:[49, 4, 73, 16], Operations: []
Exploring Operation: 49-16=33, Resulting Numbers: [4, 73, 33]
Generated Node #2: [4, 73, 33] from Operation: 49-16=33
Current State: 59:[4, 73, 33], Operations: ['49-16=33']
Exploring Operation: 4*33=132, Resulting Numbers: [73, 132]
Generated Node #3: [73, 132] from Operation: 4*33=132
Current State: 59:[73, 132], Operations: ['49-16=33', '4*33=132']
Exploring Operation: 132-73=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[49, 4, 73, 16], Operations: []
Exploring Operation: 49+4=53, Resulting Numbers: [73, 16, 53]
Generated Node #0,0: 59:[73, 16, 53] Operation: 49+4=53
Exploring Operation: 4*16=64, Resulting Numbers: [49, 73, 64]
Generated Node #0,1: 59:[49, 73, 64] Operation: 4*16=64
Moving to Node #0,1
Current State: 59:[49, 73, 64], Operations: ['4*16=64']
Exploring Operation: 64-49=15, Resulting Numbers: [73, 15]
Generated Node #0,1,0: 59:[73, 15] Operation: 64-49=15
Exploring Operation: 73-49=24, Resulting Numbers: [64, 24]
Generated Node #0,1,1: 59:[64, 24] Operation: 73-49=24
Moving to Node #0,0
Current State: 59:[73, 16, 53], Operations: ['49+4=53']
Exploring Operation: 73-16=57, Resulting Numbers: [53, 57]
Generated Node #0,0,0: 59:[53, 57] Operation: 73-16=57
Exploring Operation: 16+53=69, Resulting Numbers: [73, 69]
Generated Node #0,0,1: 59:[73, 69] Operation: 16+53=69
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[53, 57], Operations: ['49+4=53', '73-16=57']
Exploring Operation: 53+57=110, Resulting Numbers: [110]
110,59 unequal: No Solution
Exploring Operation: 57-53=4, Resulting Numbers: [4]
4,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,0,1
Current State: 59:[73, 69], Operations: ['49+4=53', '16+53=69']
Exploring Operation: 73-69=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 73+69=142, Resulting Numbers: [142]
142,59 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: 59:[64, 24], Operations: ['4*16=64', '73-49=24']
Exploring Operation: 64+24=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[73, 15], Operations: ['4*16=64', '64-49=15']
Exploring Operation: 73-15=58, Resulting Numbers: [58]
58,59 unequal: No Solution
Exploring Operation: 73+15=88, Resulting Numbers: [88]
88,59 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
83,
24,
11,
94
] | 23 | [
"83+11=94",
"94/94=1",
"24-1=23"
] | Current State: 23:[83, 24, 11, 94], Operations: []
Exploring Operation: 83+11=94, Resulting Numbers: [24, 94, 94]
Generated Node #2: [24, 94, 94] from Operation: 83+11=94
Current State: 23:[24, 94, 94], Operations: ['83+11=94']
Exploring Operation: 94/94=1, Resulting Numbers: [24, 1]
Generated Node #3: [24, 1] from Operation: 94/94=1
Current State: 23:[24, 1], Operations: ['83+11=94', '94/94=1']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[83, 24, 11, 94], Operations: []
Exploring Operation: 94-24=70, Resulting Numbers: [83, 11, 70]
Generated Node #0,0: 23:[83, 11, 70] Operation: 94-24=70
Exploring Operation: 83-24=59, Resulting Numbers: [11, 94, 59]
Generated Node #0,1: 23:[11, 94, 59] Operation: 83-24=59
Exploring Operation: 83-11=72, Resulting Numbers: [24, 94, 72]
Generated Node #0,2: 23:[24, 94, 72] Operation: 83-11=72
Exploring Operation: 94-83=11, Resulting Numbers: [24, 11, 11]
Generated Node #0,3: 23:[24, 11, 11] Operation: 94-83=11
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[24, 11, 11], Operations: ['94-83=11']
Exploring Operation: 24-11=13, Resulting Numbers: [11, 13]
Generated Node #0,3,0: 23:[11, 13] Operation: 24-11=13
Exploring Operation: 24-11=13, Resulting Numbers: [11, 13]
Generated Node #0,3,1: 23:[11, 13] Operation: 24-11=13
Exploring Operation: 11+11=22, Resulting Numbers: [24, 22]
Generated Node #0,3,2: 23:[24, 22] Operation: 11+11=22
Exploring Operation: 11/11=1, Resulting Numbers: [24, 1]
Generated Node #0,3,3: 23:[24, 1] Operation: 11/11=1
Moving to Node #0,3,2
Current State: 23:[24, 22], Operations: ['94-83=11', '11+11=22']
Exploring Operation: 24*22=528, Resulting Numbers: [528]
528,23 unequal: No Solution
Exploring Operation: 24+22=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Moving to Node #0,3,1
Current State: 23:[11, 13], Operations: ['94-83=11', '24-11=13']
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,23 unequal: No Solution
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[11, 13], Operations: ['94-83=11', '24-11=13']
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,23 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[24, 1], Operations: ['94-83=11', '11/11=1']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[83, 24, 11, 94], Operations: []
Exploring Operation: 94-83=11, Resulting Numbers: [24, 11, 11]
Generated Node #0,3: 23:[24, 11, 11] Operation: 94-83=11
Moving to Node #0,3
Current State: 23:[24, 11, 11], Operations: ['94-83=11']
Exploring Operation: 11/11=1, Resulting Numbers: [24, 1]
Generated Node #0,3,3: 23:[24, 1] Operation: 11/11=1
Moving to Node #0,3,3
Current State: 23:[24, 1], Operations: ['94-83=11', '11/11=1']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
6,
68,
86,
82
] | 66 | [
"68-6=62",
"86-82=4",
"62+4=66"
] | Current State: 66:[6, 68, 86, 82], Operations: []
Exploring Operation: 68-6=62, Resulting Numbers: [86, 82, 62]
Generated Node #2: [86, 82, 62] from Operation: 68-6=62
Current State: 66:[86, 82, 62], Operations: ['68-6=62']
Exploring Operation: 86-82=4, Resulting Numbers: [62, 4]
Generated Node #3: [62, 4] from Operation: 86-82=4
Current State: 66:[62, 4], Operations: ['68-6=62', '86-82=4']
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[6, 68, 86, 82], Operations: []
Exploring Operation: 82-68=14, Resulting Numbers: [6, 86, 14]
Generated Node #0,0: 66:[6, 86, 14] Operation: 82-68=14
Exploring Operation: 86-6=80, Resulting Numbers: [68, 82, 80]
Generated Node #0,1: 66:[68, 82, 80] Operation: 86-6=80
Exploring Operation: 86-82=4, Resulting Numbers: [6, 68, 4]
Generated Node #0,2: 66:[6, 68, 4] Operation: 86-82=4
Exploring Operation: 86-68=18, Resulting Numbers: [6, 82, 18]
Generated Node #0,3: 66:[6, 82, 18] Operation: 86-68=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[6, 68, 4], Operations: ['86-82=4']
Exploring Operation: 68-4=64, Resulting Numbers: [6, 64]
Generated Node #0,2,0: 66:[6, 64] Operation: 68-4=64
Exploring Operation: 6-4=2, Resulting Numbers: [68, 2]
Generated Node #0,2,1: 66:[68, 2] Operation: 6-4=2
Exploring Operation: 6*4=24, Resulting Numbers: [68, 24]
Generated Node #0,2,2: 66:[68, 24] Operation: 6*4=24
Exploring Operation: 6+4=10, Resulting Numbers: [68, 10]
Generated Node #0,2,3: 66:[68, 10] Operation: 6+4=10
Moving to Node #0,2,0
Current State: 66:[6, 64], Operations: ['86-82=4', '68-4=64']
Exploring Operation: 6*64=384, Resulting Numbers: [384]
384,66 unequal: No Solution
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 6+64=70, Resulting Numbers: [70]
70,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[68, 2], Operations: ['86-82=4', '6-4=2']
Exploring Operation: 68*2=136, Resulting Numbers: [136]
136,66 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[6, 68, 86, 82], Operations: []
Exploring Operation: 86-82=4, Resulting Numbers: [6, 68, 4]
Generated Node #0,2: 66:[6, 68, 4] Operation: 86-82=4
Moving to Node #0,2
Current State: 66:[6, 68, 4], Operations: ['86-82=4']
Exploring Operation: 6-4=2, Resulting Numbers: [68, 2]
Generated Node #0,2,1: 66:[68, 2] Operation: 6-4=2
Moving to Node #0,2,1
Current State: 66:[68, 2], Operations: ['86-82=4', '6-4=2']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
40,
75,
13,
79
] | 49 | [
"40+75=115",
"79-13=66",
"115-66=49"
] | Current State: 49:[40, 75, 13, 79], Operations: []
Exploring Operation: 40+75=115, Resulting Numbers: [13, 79, 115]
Generated Node #2: [13, 79, 115] from Operation: 40+75=115
Current State: 49:[13, 79, 115], Operations: ['40+75=115']
Exploring Operation: 79-13=66, Resulting Numbers: [115, 66]
Generated Node #3: [115, 66] from Operation: 79-13=66
Current State: 49:[115, 66], Operations: ['40+75=115', '79-13=66']
Exploring Operation: 115-66=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[40, 75, 13, 79], Operations: []
Exploring Operation: 75-13=62, Resulting Numbers: [40, 79, 62]
Generated Node #0,0: 49:[40, 79, 62] Operation: 75-13=62
Exploring Operation: 79-40=39, Resulting Numbers: [75, 13, 39]
Generated Node #0,1: 49:[75, 13, 39] Operation: 79-40=39
Exploring Operation: 75-40=35, Resulting Numbers: [13, 79, 35]
Generated Node #0,2: 49:[13, 79, 35] Operation: 75-40=35
Exploring Operation: 79-75=4, Resulting Numbers: [40, 13, 4]
Generated Node #0,3: 49:[40, 13, 4] Operation: 79-75=4
Moving to Node #0,3
Current State: 49:[40, 13, 4], Operations: ['79-75=4']
Exploring Operation: 13-4=9, Resulting Numbers: [40, 9]
Generated Node #0,3,0: 49:[40, 9] Operation: 13-4=9
Exploring Operation: 40/4=10, Resulting Numbers: [13, 10]
Generated Node #0,3,1: 49:[13, 10] Operation: 40/4=10
Exploring Operation: 40+13=53, Resulting Numbers: [4, 53]
Generated Node #0,3,2: 49:[4, 53] Operation: 40+13=53
Exploring Operation: 40+4=44, Resulting Numbers: [13, 44]
Generated Node #0,3,3: 49:[13, 44] Operation: 40+4=44
Moving to Node #0,1
Current State: 49:[75, 13, 39], Operations: ['79-40=39']
Exploring Operation: 13+39=52, Resulting Numbers: [75, 52]
Generated Node #0,1,0: 49:[75, 52] Operation: 13+39=52
Exploring Operation: 75-39=36, Resulting Numbers: [13, 36]
Generated Node #0,1,1: 49:[13, 36] Operation: 75-39=36
Exploring Operation: 39/13=3, Resulting Numbers: [75, 3]
Generated Node #0,1,2: 49:[75, 3] Operation: 39/13=3
Exploring Operation: 75-13=62, Resulting Numbers: [39, 62]
Generated Node #0,1,3: 49:[39, 62] Operation: 75-13=62
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[13, 36], Operations: ['79-40=39', '75-39=36']
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,49 unequal: No Solution
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[40, 75, 13, 79], Operations: []
Exploring Operation: 79-40=39, Resulting Numbers: [75, 13, 39]
Generated Node #0,1: 49:[75, 13, 39] Operation: 79-40=39
Moving to Node #0,1
Current State: 49:[75, 13, 39], Operations: ['79-40=39']
Exploring Operation: 75-39=36, Resulting Numbers: [13, 36]
Generated Node #0,1,1: 49:[13, 36] Operation: 75-39=36
Moving to Node #0,1,1
Current State: 49:[13, 36], Operations: ['79-40=39', '75-39=36']
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
11,
41,
52,
7
] | 66 | [
"11*7=77",
"52-41=11",
"77-11=66"
] | Current State: 66:[11, 41, 52, 7], Operations: []
Exploring Operation: 11*7=77, Resulting Numbers: [41, 52, 77]
Generated Node #2: [41, 52, 77] from Operation: 11*7=77
Current State: 66:[41, 52, 77], Operations: ['11*7=77']
Exploring Operation: 52-41=11, Resulting Numbers: [77, 11]
Generated Node #3: [77, 11] from Operation: 52-41=11
Current State: 66:[77, 11], Operations: ['11*7=77', '52-41=11']
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[11, 41, 52, 7], Operations: []
Exploring Operation: 52-41=11, Resulting Numbers: [11, 7, 11]
Generated Node #0,0: 66:[11, 7, 11] Operation: 52-41=11
Exploring Operation: 11+52=63, Resulting Numbers: [41, 7, 63]
Generated Node #0,1: 66:[41, 7, 63] Operation: 11+52=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[11, 7, 11], Operations: ['52-41=11']
Exploring Operation: 11-7=4, Resulting Numbers: [11, 4]
Generated Node #0,0,0: 66:[11, 4] Operation: 11-7=4
Exploring Operation: 11+11=22, Resulting Numbers: [7, 22]
Generated Node #0,0,1: 66:[7, 22] Operation: 11+11=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[11, 4], Operations: ['52-41=11', '11-7=4']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[7, 22], Operations: ['52-41=11', '11+11=22']
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[41, 7, 63], Operations: ['11+52=63']
Exploring Operation: 41-7=34, Resulting Numbers: [63, 34]
Generated Node #0,1,0: 66:[63, 34] Operation: 41-7=34
Exploring Operation: 63-41=22, Resulting Numbers: [7, 22]
Generated Node #0,1,1: 66:[7, 22] Operation: 63-41=22
Moving to Node #0,1,1
Current State: 66:[7, 22], Operations: ['11+52=63', '63-41=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[63, 34], Operations: ['11+52=63', '41-7=34']
Exploring Operation: 63+34=97, Resulting Numbers: [97]
97,66 unequal: No Solution
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,66 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 |
[
7,
2,
22,
26
] | 69 | [
"7*26=182",
"182/2=91",
"91-22=69"
] | Current State: 69:[7, 2, 22, 26], Operations: []
Exploring Operation: 7*26=182, Resulting Numbers: [2, 22, 182]
Generated Node #2: [2, 22, 182] from Operation: 7*26=182
Current State: 69:[2, 22, 182], Operations: ['7*26=182']
Exploring Operation: 182/2=91, Resulting Numbers: [22, 91]
Generated Node #3: [22, 91] from Operation: 182/2=91
Current State: 69:[22, 91], Operations: ['7*26=182', '182/2=91']
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[7, 2, 22, 26], Operations: []
Exploring Operation: 26-7=19, Resulting Numbers: [2, 22, 19]
Generated Node #0,0: 69:[2, 22, 19] Operation: 26-7=19
Exploring Operation: 7-2=5, Resulting Numbers: [22, 26, 5]
Generated Node #0,1: 69:[22, 26, 5] Operation: 7-2=5
Moving to Node #0,0
Current State: 69:[2, 22, 19], Operations: ['26-7=19']
Exploring Operation: 22-19=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 69:[2, 3] Operation: 22-19=3
Exploring Operation: 2+19=21, Resulting Numbers: [22, 21]
Generated Node #0,0,1: 69:[22, 21] Operation: 2+19=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[2, 3], Operations: ['26-7=19', '22-19=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[22, 21], Operations: ['26-7=19', '2+19=21']
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,69 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 69:[22, 26, 5], Operations: ['7-2=5']
Exploring Operation: 26-5=21, Resulting Numbers: [22, 21]
Generated Node #0,1,0: 69:[22, 21] Operation: 26-5=21
Exploring Operation: 26-22=4, Resulting Numbers: [5, 4]
Generated Node #0,1,1: 69:[5, 4] Operation: 26-22=4
Moving to Node #0,1,0
Current State: 69:[22, 21], Operations: ['7-2=5', '26-5=21']
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,69 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[5, 4], Operations: ['7-2=5', '26-22=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,69 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
7,
38,
52,
60
] | 30 | [
"7*60=420",
"52-38=14",
"420/14=30"
] | Current State: 30:[7, 38, 52, 60], Operations: []
Exploring Operation: 7*60=420, Resulting Numbers: [38, 52, 420]
Generated Node #2: [38, 52, 420] from Operation: 7*60=420
Current State: 30:[38, 52, 420], Operations: ['7*60=420']
Exploring Operation: 52-38=14, Resulting Numbers: [420, 14]
Generated Node #3: [420, 14] from Operation: 52-38=14
Current State: 30:[420, 14], Operations: ['7*60=420', '52-38=14']
Exploring Operation: 420/14=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[7, 38, 52, 60], Operations: []
Exploring Operation: 60-38=22, Resulting Numbers: [7, 52, 22]
Generated Node #0,0: 30:[7, 52, 22] Operation: 60-38=22
Exploring Operation: 60-52=8, Resulting Numbers: [7, 38, 8]
Generated Node #0,1: 30:[7, 38, 8] Operation: 60-52=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[7, 38, 8], Operations: ['60-52=8']
Exploring Operation: 38-7=31, Resulting Numbers: [8, 31]
Generated Node #0,1,0: 30:[8, 31] Operation: 38-7=31
Exploring Operation: 38-8=30, Resulting Numbers: [7, 30]
Generated Node #0,1,1: 30:[7, 30] Operation: 38-8=30
Moving to Node #0,1,1
Current State: 30:[7, 30], Operations: ['60-52=8', '38-8=30']
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,30 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[8, 31], Operations: ['60-52=8', '38-7=31']
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,30 unequal: No Solution
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[7, 52, 22], Operations: ['60-38=22']
Exploring Operation: 52-7=45, Resulting Numbers: [22, 45]
Generated Node #0,0,0: 30:[22, 45] Operation: 52-7=45
Exploring Operation: 52-22=30, Resulting Numbers: [7, 30]
Generated Node #0,0,1: 30:[7, 30] Operation: 52-22=30
Moving to Node #0,0,1
Current State: 30:[7, 30], Operations: ['60-38=22', '52-22=30']
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,30 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[22, 45], Operations: ['60-38=22', '52-7=45']
Exploring Operation: 22+45=67, Resulting Numbers: [67]
67,30 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,30 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 |
[
94,
19,
92,
21
] | 20 | [
"94-92=2",
"19+21=40",
"40/2=20"
] | Current State: 20:[94, 19, 92, 21], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [19, 21, 2]
Generated Node #2: [19, 21, 2] from Operation: 94-92=2
Current State: 20:[19, 21, 2], Operations: ['94-92=2']
Exploring Operation: 19+21=40, Resulting Numbers: [2, 40]
Generated Node #3: [2, 40] from Operation: 19+21=40
Current State: 20:[2, 40], Operations: ['94-92=2', '19+21=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[94, 19, 92, 21], Operations: []
Exploring Operation: 94-19=75, Resulting Numbers: [92, 21, 75]
Generated Node #0,0: 20:[92, 21, 75] Operation: 94-19=75
Exploring Operation: 92-21=71, Resulting Numbers: [94, 19, 71]
Generated Node #0,1: 20:[94, 19, 71] Operation: 92-21=71
Exploring Operation: 94-21=73, Resulting Numbers: [19, 92, 73]
Generated Node #0,2: 20:[19, 92, 73] Operation: 94-21=73
Exploring Operation: 94-92=2, Resulting Numbers: [19, 21, 2]
Generated Node #0,3: 20:[19, 21, 2] Operation: 94-92=2
Moving to Node #0,3
Current State: 20:[19, 21, 2], Operations: ['94-92=2']
Exploring Operation: 19-2=17, Resulting Numbers: [21, 17]
Generated Node #0,3,0: 20:[21, 17] Operation: 19-2=17
Exploring Operation: 21-19=2, Resulting Numbers: [2, 2]
Generated Node #0,3,1: 20:[2, 2] Operation: 21-19=2
Exploring Operation: 19+2=21, Resulting Numbers: [21, 21]
Generated Node #0,3,2: 20:[21, 21] Operation: 19+2=21
Exploring Operation: 21-2=19, Resulting Numbers: [19, 19]
Generated Node #0,3,3: 20:[19, 19] Operation: 21-2=19
Moving to Node #0,2
Current State: 20:[19, 92, 73], Operations: ['94-21=73']
Exploring Operation: 19+92=111, Resulting Numbers: [73, 111]
Generated Node #0,2,0: 20:[73, 111] Operation: 19+92=111
Exploring Operation: 92-19=73, Resulting Numbers: [73, 73]
Generated Node #0,2,1: 20:[73, 73] Operation: 92-19=73
Exploring Operation: 92-73=19, Resulting Numbers: [19, 19]
Generated Node #0,2,2: 20:[19, 19] Operation: 92-73=19
Exploring Operation: 73-19=54, Resulting Numbers: [92, 54]
Generated Node #0,2,3: 20:[92, 54] Operation: 73-19=54
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[19, 19], Operations: ['94-21=73', '92-73=19']
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,20 unequal: No Solution
Exploring Operation: 19*19=361, Resulting Numbers: [361]
361,20 unequal: No Solution
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 20:[73, 73], Operations: ['94-21=73', '92-19=73']
Exploring Operation: 73*73=5329, Resulting Numbers: [5329]
5329,20 unequal: No Solution
Exploring Operation: 73+73=146, Resulting Numbers: [146]
146,20 unequal: No Solution
Exploring Operation: 73/73=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 73-73=0, Resulting Numbers: [0]
0,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 20:[92, 54], Operations: ['94-21=73', '73-19=54']
Exploring Operation: 92-54=38, Resulting Numbers: [38]
38,20 unequal: No Solution
Exploring Operation: 92*54=4968, Resulting Numbers: [4968]
4968,20 unequal: No Solution
Exploring Operation: 92+54=146, Resulting Numbers: [146]
146,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[73, 111], Operations: ['94-21=73', '19+92=111']
Exploring Operation: 73+111=184, Resulting Numbers: [184]
184,20 unequal: No Solution
Exploring Operation: 73*111=8103, Resulting Numbers: [8103]
8103,20 unequal: No Solution
Exploring Operation: 111-73=38, Resulting Numbers: [38]
38,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 20:[94, 19, 71], Operations: ['92-21=71']
Exploring Operation: 94-19=75, Resulting Numbers: [71, 75]
Generated Node #0,1,0: 20:[71, 75] Operation: 94-19=75
Exploring Operation: 94+19=113, Resulting Numbers: [71, 113]
Generated Node #0,1,1: 20:[71, 113] Operation: 94+19=113
Exploring Operation: 94-71=23, Resulting Numbers: [19, 23]
Generated Node #0,1,2: 20:[19, 23] Operation: 94-71=23
Exploring Operation: 71-19=52, Resulting Numbers: [94, 52]
Generated Node #0,1,3: 20:[94, 52] Operation: 71-19=52
Moving to Node #0,0
Current State: 20:[92, 21, 75], Operations: ['94-19=75']
Exploring Operation: 92-75=17, Resulting Numbers: [21, 17]
Generated Node #0,0,0: 20:[21, 17] Operation: 92-75=17
Exploring Operation: 92+21=113, Resulting Numbers: [75, 113]
Generated Node #0,0,1: 20:[75, 113] Operation: 92+21=113
Exploring Operation: 75-21=54, Resulting Numbers: [92, 54]
Generated Node #0,0,2: 20:[92, 54] Operation: 75-21=54
Exploring Operation: 92-21=71, Resulting Numbers: [75, 71]
Generated Node #0,0,3: 20:[75, 71] Operation: 92-21=71
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[21, 17], Operations: ['94-19=75', '92-75=17']
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,20 unequal: No Solution
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,20 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[92, 54], Operations: ['94-19=75', '75-21=54']
Exploring Operation: 92+54=146, Resulting Numbers: [146]
146,20 unequal: No Solution
Exploring Operation: 92-54=38, Resulting Numbers: [38]
38,20 unequal: No Solution
Exploring Operation: 92*54=4968, Resulting Numbers: [4968]
4968,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 20:[75, 71], Operations: ['94-19=75', '92-21=71']
Exploring Operation: 75+71=146, Resulting Numbers: [146]
146,20 unequal: No Solution
Exploring Operation: 75*71=5325, Resulting Numbers: [5325]
5325,20 unequal: No Solution
Exploring Operation: 75-71=4, Resulting Numbers: [4]
4,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[75, 113], Operations: ['94-19=75', '92+21=113']
Exploring Operation: 75+113=188, Resulting Numbers: [188]
188,20 unequal: No Solution
Exploring Operation: 75*113=8475, Resulting Numbers: [8475]
8475,20 unequal: No Solution
Exploring Operation: 113-75=38, Resulting Numbers: [38]
38,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 20:[2, 2], Operations: ['94-92=2', '21-19=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,20 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[19, 19], Operations: ['94-92=2', '21-2=19']
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,20 unequal: No Solution
Exploring Operation: 19*19=361, Resulting Numbers: [361]
361,20 unequal: No Solution
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,20 unequal: No Solution
Moving to Node #0,3,2
Current State: 20:[21, 21], Operations: ['94-92=2', '19+2=21']
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 21*21=441, Resulting Numbers: [441]
441,20 unequal: No Solution
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[19, 23], Operations: ['92-21=71', '94-71=23']
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 19*23=437, Resulting Numbers: [437]
437,20 unequal: No Solution
Exploring Operation: 19+23=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Moving to Node #0,3,0
Current State: 20:[21, 17], Operations: ['94-92=2', '19-2=17']
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,20 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,20 unequal: No Solution
Moving to Node #0,1,3
Current State: 20:[94, 52], Operations: ['92-21=71', '71-19=52']
Exploring Operation: 94-52=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Exploring Operation: 94*52=4888, Resulting Numbers: [4888]
4888,20 unequal: No Solution
Exploring Operation: 94+52=146, Resulting Numbers: [146]
146,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[71, 75], Operations: ['92-21=71', '94-19=75']
Exploring Operation: 71+75=146, Resulting Numbers: [146]
146,20 unequal: No Solution
Exploring Operation: 75-71=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 71*75=5325, Resulting Numbers: [5325]
5325,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[71, 113], Operations: ['92-21=71', '94+19=113']
Exploring Operation: 113-71=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Exploring Operation: 71*113=8023, Resulting Numbers: [8023]
8023,20 unequal: No Solution
Exploring Operation: 71+113=184, Resulting Numbers: [184]
184,20 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
11,
91,
12,
71
] | 20 | [
"12-11=1",
"91-71=20",
"1*20=20"
] | Current State: 20:[11, 91, 12, 71], Operations: []
Exploring Operation: 12-11=1, Resulting Numbers: [91, 71, 1]
Generated Node #2: [91, 71, 1] from Operation: 12-11=1
Current State: 20:[91, 71, 1], Operations: ['12-11=1']
Exploring Operation: 91-71=20, Resulting Numbers: [1, 20]
Generated Node #3: [1, 20] from Operation: 91-71=20
Current State: 20:[1, 20], Operations: ['12-11=1', '91-71=20']
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[11, 91, 12, 71], Operations: []
Exploring Operation: 91-71=20, Resulting Numbers: [11, 12, 20]
Generated Node #0,0: 20:[11, 12, 20] Operation: 91-71=20
Exploring Operation: 71-12=59, Resulting Numbers: [11, 91, 59]
Generated Node #0,1: 20:[11, 91, 59] Operation: 71-12=59
Exploring Operation: 91-12=79, Resulting Numbers: [11, 71, 79]
Generated Node #0,2: 20:[11, 71, 79] Operation: 91-12=79
Moving to Node #0,0
Current State: 20:[11, 12, 20], Operations: ['91-71=20']
Exploring Operation: 20-11=9, Resulting Numbers: [12, 9]
Generated Node #0,0,0: 20:[12, 9] Operation: 20-11=9
Exploring Operation: 12-11=1, Resulting Numbers: [20, 1]
Generated Node #0,0,1: 20:[20, 1] Operation: 12-11=1
Exploring Operation: 11+12=23, Resulting Numbers: [20, 23]
Generated Node #0,0,2: 20:[20, 23] Operation: 11+12=23
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[20, 1], Operations: ['91-71=20', '12-11=1']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[11, 91, 12, 71], Operations: []
Exploring Operation: 91-71=20, Resulting Numbers: [11, 12, 20]
Generated Node #0,0: 20:[11, 12, 20] Operation: 91-71=20
Moving to Node #0,0
Current State: 20:[11, 12, 20], Operations: ['91-71=20']
Exploring Operation: 12-11=1, Resulting Numbers: [20, 1]
Generated Node #0,0,1: 20:[20, 1] Operation: 12-11=1
Moving to Node #0,0,1
Current State: 20:[20, 1], Operations: ['91-71=20', '12-11=1']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
64,
98,
17,
33
] | 17 | [
"98-64=34",
"34-33=1",
"17*1=17"
] | Current State: 17:[64, 98, 17, 33], Operations: []
Exploring Operation: 98-64=34, Resulting Numbers: [17, 33, 34]
Generated Node #2: [17, 33, 34] from Operation: 98-64=34
Current State: 17:[17, 33, 34], Operations: ['98-64=34']
Exploring Operation: 34-33=1, Resulting Numbers: [17, 1]
Generated Node #3: [17, 1] from Operation: 34-33=1
Current State: 17:[17, 1], Operations: ['98-64=34', '34-33=1']
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[64, 98, 17, 33], Operations: []
Exploring Operation: 98-33=65, Resulting Numbers: [64, 17, 65]
Generated Node #0,0: 17:[64, 17, 65] Operation: 98-33=65
Exploring Operation: 64-17=47, Resulting Numbers: [98, 33, 47]
Generated Node #0,1: 17:[98, 33, 47] Operation: 64-17=47
Exploring Operation: 64-33=31, Resulting Numbers: [98, 17, 31]
Generated Node #0,2: 17:[98, 17, 31] Operation: 64-33=31
Exploring Operation: 98-64=34, Resulting Numbers: [17, 33, 34]
Generated Node #0,3: 17:[17, 33, 34] Operation: 98-64=34
Start Sub Search at level 1: Moving to Node #0,3
Current State: 17:[17, 33, 34], Operations: ['98-64=34']
Exploring Operation: 34-33=1, Resulting Numbers: [17, 1]
Generated Node #0,3,0: 17:[17, 1] Operation: 34-33=1
Exploring Operation: 34-17=17, Resulting Numbers: [33, 17]
Generated Node #0,3,1: 17:[33, 17] Operation: 34-17=17
Exploring Operation: 33-17=16, Resulting Numbers: [34, 16]
Generated Node #0,3,2: 17:[34, 16] Operation: 33-17=16
Exploring Operation: 34/17=2, Resulting Numbers: [33, 2]
Generated Node #0,3,3: 17:[33, 2] Operation: 34/17=2
Moving to Node #0,3,0
Current State: 17:[17, 1], Operations: ['98-64=34', '34-33=1']
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[64, 98, 17, 33], Operations: []
Exploring Operation: 98-64=34, Resulting Numbers: [17, 33, 34]
Generated Node #0,3: 17:[17, 33, 34] Operation: 98-64=34
Moving to Node #0,3
Current State: 17:[17, 33, 34], Operations: ['98-64=34']
Exploring Operation: 34-33=1, Resulting Numbers: [17, 1]
Generated Node #0,3,0: 17:[17, 1] Operation: 34-33=1
Moving to Node #0,3,0
Current State: 17:[17, 1], Operations: ['98-64=34', '34-33=1']
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
14,
24,
16,
4
] | 20 | [
"24*4=96",
"96/16=6",
"14+6=20"
] | Current State: 20:[14, 24, 16, 4], Operations: []
Exploring Operation: 24*4=96, Resulting Numbers: [14, 16, 96]
Generated Node #2: [14, 16, 96] from Operation: 24*4=96
Current State: 20:[14, 16, 96], Operations: ['24*4=96']
Exploring Operation: 96/16=6, Resulting Numbers: [14, 6]
Generated Node #3: [14, 6] from Operation: 96/16=6
Current State: 20:[14, 6], Operations: ['24*4=96', '96/16=6']
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[14, 24, 16, 4], Operations: []
Exploring Operation: 24-16=8, Resulting Numbers: [14, 4, 8]
Generated Node #0,0: 20:[14, 4, 8] Operation: 24-16=8
Exploring Operation: 14-4=10, Resulting Numbers: [24, 16, 10]
Generated Node #0,1: 20:[24, 16, 10] Operation: 14-4=10
Exploring Operation: 16-14=2, Resulting Numbers: [24, 4, 2]
Generated Node #0,2: 20:[24, 4, 2] Operation: 16-14=2
Exploring Operation: 24-14=10, Resulting Numbers: [16, 4, 10]
Generated Node #0,3: 20:[16, 4, 10] Operation: 24-14=10
Moving to Node #0,2
Current State: 20:[24, 4, 2], Operations: ['16-14=2']
Exploring Operation: 24/2=12, Resulting Numbers: [4, 12]
Generated Node #0,2,0: 20:[4, 12] Operation: 24/2=12
Exploring Operation: 24/4=6, Resulting Numbers: [2, 6]
Generated Node #0,2,1: 20:[2, 6] Operation: 24/4=6
Exploring Operation: 24-4=20, Resulting Numbers: [2, 20]
Generated Node #0,2,2: 20:[2, 20] Operation: 24-4=20
Exploring Operation: 24-2=22, Resulting Numbers: [4, 22]
Generated Node #0,2,3: 20:[4, 22] Operation: 24-2=22
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[2, 20], Operations: ['16-14=2', '24-4=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,20 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 20:[2, 6], Operations: ['16-14=2', '24/4=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[4, 12], Operations: ['16-14=2', '24/2=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 20:[4, 22], Operations: ['16-14=2', '24-2=22']
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,20 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 20:[16, 4, 10], Operations: ['24-14=10']
Exploring Operation: 16-4=12, Resulting Numbers: [10, 12]
Generated Node #0,3,0: 20:[10, 12] Operation: 16-4=12
Exploring Operation: 16+4=20, Resulting Numbers: [10, 20]
Generated Node #0,3,1: 20:[10, 20] Operation: 16+4=20
Exploring Operation: 16/4=4, Resulting Numbers: [10, 4]
Generated Node #0,3,2: 20:[10, 4] Operation: 16/4=4
Exploring Operation: 16-10=6, Resulting Numbers: [4, 6]
Generated Node #0,3,3: 20:[4, 6] Operation: 16-10=6
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 20:[10, 20], Operations: ['24-14=10', '16+4=20']
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 10*20=200, Resulting Numbers: [200]
200,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 20:[10, 4], Operations: ['24-14=10', '16/4=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 20:[4, 6], Operations: ['24-14=10', '16-10=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,20 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 20:[10, 12], Operations: ['24-14=10', '16-4=12']
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,20 unequal: No Solution
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,20 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 20:[14, 4, 8], Operations: ['24-16=8']
Exploring Operation: 14+8=22, Resulting Numbers: [4, 22]
Generated Node #0,0,0: 20:[4, 22] Operation: 14+8=22
Exploring Operation: 14+4=18, Resulting Numbers: [8, 18]
Generated Node #0,0,1: 20:[8, 18] Operation: 14+4=18
Exploring Operation: 14-8=6, Resulting Numbers: [4, 6]
Generated Node #0,0,2: 20:[4, 6] Operation: 14-8=6
Exploring Operation: 14-4=10, Resulting Numbers: [8, 10]
Generated Node #0,0,3: 20:[8, 10] Operation: 14-4=10
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[4, 6], Operations: ['24-16=8', '14-8=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[4, 22], Operations: ['24-16=8', '14+8=22']
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,20 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 20:[8, 10], Operations: ['24-16=8', '14-4=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,20 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[8, 18], Operations: ['24-16=8', '14+4=18']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 20:[24, 16, 10], Operations: ['14-4=10']
Exploring Operation: 16+10=26, Resulting Numbers: [24, 26]
Generated Node #0,1,0: 20:[24, 26] Operation: 16+10=26
Exploring Operation: 24-10=14, Resulting Numbers: [16, 14]
Generated Node #0,1,1: 20:[16, 14] Operation: 24-10=14
Exploring Operation: 24-16=8, Resulting Numbers: [10, 8]
Generated Node #0,1,2: 20:[10, 8] Operation: 24-16=8
Exploring Operation: 16-10=6, Resulting Numbers: [24, 6]
Generated Node #0,1,3: 20:[24, 6] Operation: 16-10=6
Moving to Node #0,1,2
Current State: 20:[10, 8], Operations: ['14-4=10', '24-16=8']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,20 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,20 unequal: No Solution
Moving to Node #0,1,3
Current State: 20:[24, 6], Operations: ['14-4=10', '16-10=6']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,20 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[16, 14], Operations: ['14-4=10', '24-10=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[24, 26], Operations: ['14-4=10', '16+10=26']
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 24*26=624, Resulting Numbers: [624]
624,20 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
2,
30,
60,
72
] | 23 | [
"30*60=1800",
"1800/72=25",
"25-2=23"
] | Current State: 23:[2, 30, 60, 72], Operations: []
Exploring Operation: 30*60=1800, Resulting Numbers: [2, 72, 1800]
Generated Node #2: [2, 72, 1800] from Operation: 30*60=1800
Current State: 23:[2, 72, 1800], Operations: ['30*60=1800']
Exploring Operation: 1800/72=25, Resulting Numbers: [2, 25]
Generated Node #3: [2, 25] from Operation: 1800/72=25
Current State: 23:[2, 25], Operations: ['30*60=1800', '1800/72=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[2, 30, 60, 72], Operations: []
Exploring Operation: 60-30=30, Resulting Numbers: [2, 72, 30]
Generated Node #0,0: 23:[2, 72, 30] Operation: 60-30=30
Exploring Operation: 72-30=42, Resulting Numbers: [2, 60, 42]
Generated Node #0,1: 23:[2, 60, 42] Operation: 72-30=42
Exploring Operation: 72/2=36, Resulting Numbers: [30, 60, 36]
Generated Node #0,2: 23:[30, 60, 36] Operation: 72/2=36
Exploring Operation: 60/2=30, Resulting Numbers: [30, 72, 30]
Generated Node #0,3: 23:[30, 72, 30] Operation: 60/2=30
Exploring Operation: 72-60=12, Resulting Numbers: [2, 30, 12]
Generated Node #0,4: 23:[2, 30, 12] Operation: 72-60=12
Moving to Node #0,4
Current State: 23:[2, 30, 12], Operations: ['72-60=12']
Exploring Operation: 30-2=28, Resulting Numbers: [12, 28]
Generated Node #0,4,0: 23:[12, 28] Operation: 30-2=28
Exploring Operation: 2*12=24, Resulting Numbers: [30, 24]
Generated Node #0,4,1: 23:[30, 24] Operation: 2*12=24
Exploring Operation: 2+12=14, Resulting Numbers: [30, 14]
Generated Node #0,4,2: 23:[30, 14] Operation: 2+12=14
Exploring Operation: 2+30=32, Resulting Numbers: [12, 32]
Generated Node #0,4,3: 23:[12, 32] Operation: 2+30=32
Exploring Operation: 30/2=15, Resulting Numbers: [12, 15]
Generated Node #0,4,4: 23:[12, 15] Operation: 30/2=15
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 23:[30, 24], Operations: ['72-60=12', '2*12=24']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,23 unequal: No Solution
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 23:[12, 28], Operations: ['72-60=12', '30-2=28']
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,23 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 23:[30, 14], Operations: ['72-60=12', '2+12=14']
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,23 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 23:[12, 15], Operations: ['72-60=12', '30/2=15']
Exploring Operation: 12*15=180, Resulting Numbers: [180]
180,23 unequal: No Solution
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 23:[12, 32], Operations: ['72-60=12', '2+30=32']
Exploring Operation: 12+32=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 12*32=384, Resulting Numbers: [384]
384,23 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 23:[30, 60, 36], Operations: ['72/2=36']
Exploring Operation: 60-30=30, Resulting Numbers: [36, 30]
Generated Node #0,2,0: 23:[36, 30] Operation: 60-30=30
Exploring Operation: 30+60=90, Resulting Numbers: [36, 90]
Generated Node #0,2,1: 23:[36, 90] Operation: 30+60=90
Exploring Operation: 60-36=24, Resulting Numbers: [30, 24]
Generated Node #0,2,2: 23:[30, 24] Operation: 60-36=24
Exploring Operation: 36-30=6, Resulting Numbers: [60, 6]
Generated Node #0,2,3: 23:[60, 6] Operation: 36-30=6
Exploring Operation: 60/30=2, Resulting Numbers: [36, 2]
Generated Node #0,2,4: 23:[36, 2] Operation: 60/30=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[30, 24], Operations: ['72/2=36', '60-36=24']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[36, 30], Operations: ['72/2=36', '60-30=30']
Exploring Operation: 36+30=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 36*30=1080, Resulting Numbers: [1080]
1080,23 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 23:[36, 2], Operations: ['72/2=36', '60/30=2']
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,23 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 23:[60, 6], Operations: ['72/2=36', '36-30=6']
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 60*6=360, Resulting Numbers: [360]
360,23 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[36, 90], Operations: ['72/2=36', '30+60=90']
Exploring Operation: 36+90=126, Resulting Numbers: [126]
126,23 unequal: No Solution
Exploring Operation: 36*90=3240, Resulting Numbers: [3240]
3240,23 unequal: No Solution
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 23:[30, 72, 30], Operations: ['60/2=30']
Exploring Operation: 30+72=102, Resulting Numbers: [30, 102]
Generated Node #0,3,0: 23:[30, 102] Operation: 30+72=102
Exploring Operation: 72-30=42, Resulting Numbers: [30, 42]
Generated Node #0,3,1: 23:[30, 42] Operation: 72-30=42
Exploring Operation: 30-30=0, Resulting Numbers: [72, 0]
Generated Node #0,3,2: 23:[72, 0] Operation: 30-30=0
Exploring Operation: 30/30=1, Resulting Numbers: [72, 1]
Generated Node #0,3,3: 23:[72, 1] Operation: 30/30=1
Exploring Operation: 72-30=42, Resulting Numbers: [30, 42]
Generated Node #0,3,4: 23:[30, 42] Operation: 72-30=42
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 23:[30, 42], Operations: ['60/2=30', '72-30=42']
Exploring Operation: 30+42=72, Resulting Numbers: [72]
72,23 unequal: No Solution
Exploring Operation: 30*42=1260, Resulting Numbers: [1260]
1260,23 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 23:[30, 42], Operations: ['60/2=30', '72-30=42']
Exploring Operation: 30+42=72, Resulting Numbers: [72]
72,23 unequal: No Solution
Exploring Operation: 30*42=1260, Resulting Numbers: [1260]
1260,23 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 23:[72, 1], Operations: ['60/2=30', '30/30=1']
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,23 unequal: No Solution
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,23 unequal: No Solution
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,23 unequal: No Solution
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 23:[72, 0], Operations: ['60/2=30', '30-30=0']
Exploring Operation: 72*0=0, Resulting Numbers: [0]
0,23 unequal: No Solution
Exploring Operation: 72+0=72, Resulting Numbers: [72]
72,23 unequal: No Solution
Exploring Operation: 72-0=72, Resulting Numbers: [72]
72,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 23:[30, 102], Operations: ['60/2=30', '30+72=102']
Exploring Operation: 30+102=132, Resulting Numbers: [132]
132,23 unequal: No Solution
Exploring Operation: 30*102=3060, Resulting Numbers: [3060]
3060,23 unequal: No Solution
Exploring Operation: 102-30=72, Resulting Numbers: [72]
72,23 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: 23:[2, 72, 30], Operations: ['60-30=30']
Exploring Operation: 30-2=28, Resulting Numbers: [72, 28]
Generated Node #0,0,0: 23:[72, 28] Operation: 30-2=28
Exploring Operation: 30/2=15, Resulting Numbers: [72, 15]
Generated Node #0,0,1: 23:[72, 15] Operation: 30/2=15
Exploring Operation: 72-30=42, Resulting Numbers: [2, 42]
Generated Node #0,0,2: 23:[2, 42] Operation: 72-30=42
Exploring Operation: 72/2=36, Resulting Numbers: [30, 36]
Generated Node #0,0,3: 23:[30, 36] Operation: 72/2=36
Exploring Operation: 72-2=70, Resulting Numbers: [30, 70]
Generated Node #0,0,4: 23:[30, 70] Operation: 72-2=70
Moving to Node #0,1
Current State: 23:[2, 60, 42], Operations: ['72-30=42']
Exploring Operation: 60-2=58, Resulting Numbers: [42, 58]
Generated Node #0,1,0: 23:[42, 58] Operation: 60-2=58
Exploring Operation: 60-42=18, Resulting Numbers: [2, 18]
Generated Node #0,1,1: 23:[2, 18] Operation: 60-42=18
Exploring Operation: 60/2=30, Resulting Numbers: [42, 30]
Generated Node #0,1,2: 23:[42, 30] Operation: 60/2=30
Exploring Operation: 42-2=40, Resulting Numbers: [60, 40]
Generated Node #0,1,3: 23:[60, 40] Operation: 42-2=40
Exploring Operation: 42/2=21, Resulting Numbers: [60, 21]
Generated Node #0,1,4: 23:[60, 21] Operation: 42/2=21
Moving to Node #0,0,3
Current State: 23:[30, 36], Operations: ['60-30=30', '72/2=36']
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 30*36=1080, Resulting Numbers: [1080]
1080,23 unequal: No Solution
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[2, 18], Operations: ['72-30=42', '60-42=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,23 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[42, 30], Operations: ['72-30=42', '60/2=30']
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,23 unequal: No Solution
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,23 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Moving to Node #0,1,4
Current State: 23:[60, 21], Operations: ['72-30=42', '42/2=21']
Exploring Operation: 60+21=81, Resulting Numbers: [81]
81,23 unequal: No Solution
Exploring Operation: 60*21=1260, Resulting Numbers: [1260]
1260,23 unequal: No Solution
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[2, 42], Operations: ['60-30=30', '72-30=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,23 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[72, 28], Operations: ['60-30=30', '30-2=28']
Exploring Operation: 72+28=100, Resulting Numbers: [100]
100,23 unequal: No Solution
Exploring Operation: 72-28=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 72*28=2016, Resulting Numbers: [2016]
2016,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[42, 58], Operations: ['72-30=42', '60-2=58']
Exploring Operation: 42+58=100, Resulting Numbers: [100]
100,23 unequal: No Solution
Exploring Operation: 42*58=2436, Resulting Numbers: [2436]
2436,23 unequal: No Solution
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Moving to Node #0,1,3
Current State: 23:[60, 40], Operations: ['72-30=42', '42-2=40']
Exploring Operation: 60+40=100, Resulting Numbers: [100]
100,23 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Exploring Operation: 60*40=2400, Resulting Numbers: [2400]
2400,23 unequal: No Solution
Moving to Node #0,0,4
Current State: 23:[30, 70], Operations: ['60-30=30', '72-2=70']
Exploring Operation: 30+70=100, Resulting Numbers: [100]
100,23 unequal: No Solution
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 30*70=2100, Resulting Numbers: [2100]
2100,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[72, 15], Operations: ['60-30=30', '30/2=15']
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,23 unequal: No Solution
Exploring Operation: 72*15=1080, Resulting Numbers: [1080]
1080,23 unequal: No Solution
Exploring Operation: 72+15=87, Resulting Numbers: [87]
87,23 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
52,
53,
67,
84
] | 88 | [
"52+53=105",
"84-67=17",
"105-17=88"
] | Current State: 88:[52, 53, 67, 84], Operations: []
Exploring Operation: 52+53=105, Resulting Numbers: [67, 84, 105]
Generated Node #2: [67, 84, 105] from Operation: 52+53=105
Current State: 88:[67, 84, 105], Operations: ['52+53=105']
Exploring Operation: 84-67=17, Resulting Numbers: [105, 17]
Generated Node #3: [105, 17] from Operation: 84-67=17
Current State: 88:[105, 17], Operations: ['52+53=105', '84-67=17']
Exploring Operation: 105-17=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[52, 53, 67, 84], Operations: []
Exploring Operation: 67-53=14, Resulting Numbers: [52, 84, 14]
Generated Node #0,0: 88:[52, 84, 14] Operation: 67-53=14
Exploring Operation: 67-52=15, Resulting Numbers: [53, 84, 15]
Generated Node #0,1: 88:[53, 84, 15] Operation: 67-52=15
Moving to Node #0,0
Current State: 88:[52, 84, 14], Operations: ['67-53=14']
Exploring Operation: 84/14=6, Resulting Numbers: [52, 6]
Generated Node #0,0,0: 88:[52, 6] Operation: 84/14=6
Exploring Operation: 52-14=38, Resulting Numbers: [84, 38]
Generated Node #0,0,1: 88:[84, 38] Operation: 52-14=38
Moving to Node #0,1
Current State: 88:[53, 84, 15], Operations: ['67-52=15']
Exploring Operation: 84-53=31, Resulting Numbers: [15, 31]
Generated Node #0,1,0: 88:[15, 31] Operation: 84-53=31
Exploring Operation: 53-15=38, Resulting Numbers: [84, 38]
Generated Node #0,1,1: 88:[84, 38] Operation: 53-15=38
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[84, 38], Operations: ['67-52=15', '53-15=38']
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Exploring Operation: 84+38=122, Resulting Numbers: [122]
122,88 unequal: No Solution
No solution 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: 88:[15, 31], Operations: ['67-52=15', '84-53=31']
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,88 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: 88:[52, 6], Operations: ['67-53=14', '84/14=6']
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,88 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[84, 38], Operations: ['67-53=14', '52-14=38']
Exploring Operation: 84+38=122, Resulting Numbers: [122]
122,88 unequal: No Solution
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,88 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
86,
12,
84,
83
] | 74 | [
"86-12=74",
"84-83=1",
"74*1=74"
] | Current State: 74:[86, 12, 84, 83], Operations: []
Exploring Operation: 86-12=74, Resulting Numbers: [84, 83, 74]
Generated Node #2: [84, 83, 74] from Operation: 86-12=74
Current State: 74:[84, 83, 74], Operations: ['86-12=74']
Exploring Operation: 84-83=1, Resulting Numbers: [74, 1]
Generated Node #3: [74, 1] from Operation: 84-83=1
Current State: 74:[74, 1], Operations: ['86-12=74', '84-83=1']
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[86, 12, 84, 83], Operations: []
Exploring Operation: 86-12=74, Resulting Numbers: [84, 83, 74]
Generated Node #0,0: 74:[84, 83, 74] Operation: 86-12=74
Moving to Node #0,0
Current State: 74:[84, 83, 74], Operations: ['86-12=74']
Exploring Operation: 84-83=1, Resulting Numbers: [74, 1]
Generated Node #0,0,0: 74:[74, 1] Operation: 84-83=1
Moving to Node #0,0,0
Current State: 74:[74, 1], Operations: ['86-12=74', '84-83=1']
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[86, 12, 84, 83], Operations: []
Exploring Operation: 86-12=74, Resulting Numbers: [84, 83, 74]
Generated Node #0,0: 74:[84, 83, 74] Operation: 86-12=74
Moving to Node #0,0
Current State: 74:[84, 83, 74], Operations: ['86-12=74']
Exploring Operation: 84-83=1, Resulting Numbers: [74, 1]
Generated Node #0,0,0: 74:[74, 1] Operation: 84-83=1
Moving to Node #0,0,0
Current State: 74:[74, 1], Operations: ['86-12=74', '84-83=1']
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
85,
55,
20,
87
] | 77 | [
"85-55=30",
"20+87=107",
"107-30=77"
] | Current State: 77:[85, 55, 20, 87], Operations: []
Exploring Operation: 85-55=30, Resulting Numbers: [20, 87, 30]
Generated Node #2: [20, 87, 30] from Operation: 85-55=30
Current State: 77:[20, 87, 30], Operations: ['85-55=30']
Exploring Operation: 20+87=107, Resulting Numbers: [30, 107]
Generated Node #3: [30, 107] from Operation: 20+87=107
Current State: 77:[30, 107], Operations: ['85-55=30', '20+87=107']
Exploring Operation: 107-30=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[85, 55, 20, 87], Operations: []
Exploring Operation: 55+20=75, Resulting Numbers: [85, 87, 75]
Generated Node #0,0: 77:[85, 87, 75] Operation: 55+20=75
Exploring Operation: 87-85=2, Resulting Numbers: [55, 20, 2]
Generated Node #0,1: 77:[55, 20, 2] Operation: 87-85=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[85, 87, 75], Operations: ['55+20=75']
Exploring Operation: 87-85=2, Resulting Numbers: [75, 2]
Generated Node #0,0,0: 77:[75, 2] Operation: 87-85=2
Exploring Operation: 87-75=12, Resulting Numbers: [85, 12]
Generated Node #0,0,1: 77:[85, 12] Operation: 87-75=12
Moving to Node #0,0,0
Current State: 77:[75, 2], Operations: ['55+20=75', '87-85=2']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[85, 55, 20, 87], Operations: []
Exploring Operation: 55+20=75, Resulting Numbers: [85, 87, 75]
Generated Node #0,0: 77:[85, 87, 75] Operation: 55+20=75
Moving to Node #0,0
Current State: 77:[85, 87, 75], Operations: ['55+20=75']
Exploring Operation: 87-85=2, Resulting Numbers: [75, 2]
Generated Node #0,0,0: 77:[75, 2] Operation: 87-85=2
Moving to Node #0,0,0
Current State: 77:[75, 2], Operations: ['55+20=75', '87-85=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
22,
28,
44,
12
] | 62 | [
"28-22=6",
"44+12=56",
"6+56=62"
] | Current State: 62:[22, 28, 44, 12], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [44, 12, 6]
Generated Node #2: [44, 12, 6] from Operation: 28-22=6
Current State: 62:[44, 12, 6], Operations: ['28-22=6']
Exploring Operation: 44+12=56, Resulting Numbers: [6, 56]
Generated Node #3: [6, 56] from Operation: 44+12=56
Current State: 62:[6, 56], Operations: ['28-22=6', '44+12=56']
Exploring Operation: 6+56=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[22, 28, 44, 12], Operations: []
Exploring Operation: 44/22=2, Resulting Numbers: [28, 12, 2]
Generated Node #0,0: 62:[28, 12, 2] Operation: 44/22=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[28, 12, 2], Operations: ['44/22=2']
Exploring Operation: 12/2=6, Resulting Numbers: [28, 6]
Generated Node #0,0,0: 62:[28, 6] Operation: 12/2=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[28, 6], Operations: ['44/22=2', '12/2=6']
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
14,
94,
90,
81
] | 99 | [
"14+94=108",
"90-81=9",
"108-9=99"
] | Current State: 99:[14, 94, 90, 81], Operations: []
Exploring Operation: 14+94=108, Resulting Numbers: [90, 81, 108]
Generated Node #2: [90, 81, 108] from Operation: 14+94=108
Current State: 99:[90, 81, 108], Operations: ['14+94=108']
Exploring Operation: 90-81=9, Resulting Numbers: [108, 9]
Generated Node #3: [108, 9] from Operation: 90-81=9
Current State: 99:[108, 9], Operations: ['14+94=108', '90-81=9']
Exploring Operation: 108-9=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[14, 94, 90, 81], Operations: []
Exploring Operation: 14+90=104, Resulting Numbers: [94, 81, 104]
Generated Node #0,0: 99:[94, 81, 104] Operation: 14+90=104
Exploring Operation: 90-81=9, Resulting Numbers: [14, 94, 9]
Generated Node #0,1: 99:[14, 94, 9] Operation: 90-81=9
Exploring Operation: 94-90=4, Resulting Numbers: [14, 81, 4]
Generated Node #0,2: 99:[14, 81, 4] Operation: 94-90=4
Exploring Operation: 14+81=95, Resulting Numbers: [94, 90, 95]
Generated Node #0,3: 99:[94, 90, 95] Operation: 14+81=95
Exploring Operation: 94-81=13, Resulting Numbers: [14, 90, 13]
Generated Node #0,4: 99:[14, 90, 13] Operation: 94-81=13
Moving to Node #0,1
Current State: 99:[14, 94, 9], Operations: ['90-81=9']
Exploring Operation: 94+9=103, Resulting Numbers: [14, 103]
Generated Node #0,1,0: 99:[14, 103] Operation: 94+9=103
Exploring Operation: 14+94=108, Resulting Numbers: [9, 108]
Generated Node #0,1,1: 99:[9, 108] Operation: 14+94=108
Exploring Operation: 94-9=85, Resulting Numbers: [14, 85]
Generated Node #0,1,2: 99:[14, 85] Operation: 94-9=85
Exploring Operation: 14-9=5, Resulting Numbers: [94, 5]
Generated Node #0,1,3: 99:[94, 5] Operation: 14-9=5
Exploring Operation: 14+9=23, Resulting Numbers: [94, 23]
Generated Node #0,1,4: 99:[94, 23] Operation: 14+9=23
Moving to Node #0,4
Current State: 99:[14, 90, 13], Operations: ['94-81=13']
Exploring Operation: 90+13=103, Resulting Numbers: [14, 103]
Generated Node #0,4,0: 99:[14, 103] Operation: 90+13=103
Exploring Operation: 14+90=104, Resulting Numbers: [13, 104]
Generated Node #0,4,1: 99:[13, 104] Operation: 14+90=104
Exploring Operation: 90-14=76, Resulting Numbers: [13, 76]
Generated Node #0,4,2: 99:[13, 76] Operation: 90-14=76
Exploring Operation: 14-13=1, Resulting Numbers: [90, 1]
Generated Node #0,4,3: 99:[90, 1] Operation: 14-13=1
Exploring Operation: 14+13=27, Resulting Numbers: [90, 27]
Generated Node #0,4,4: 99:[90, 27] Operation: 14+13=27
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 99:[14, 103], Operations: ['94-81=13', '90+13=103']
Exploring Operation: 103-14=89, Resulting Numbers: [89]
89,99 unequal: No Solution
Exploring Operation: 14*103=1442, Resulting Numbers: [1442]
1442,99 unequal: No Solution
Exploring Operation: 14+103=117, Resulting Numbers: [117]
117,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 99:[13, 104], Operations: ['94-81=13', '14+90=104']
Exploring Operation: 13*104=1352, Resulting Numbers: [1352]
1352,99 unequal: No Solution
Exploring Operation: 104/13=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Exploring Operation: 13+104=117, Resulting Numbers: [117]
117,99 unequal: No Solution
Exploring Operation: 104-13=91, Resulting Numbers: [91]
91,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 99:[90, 1], Operations: ['94-81=13', '14-13=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,99 unequal: No Solution
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,99 unequal: No Solution
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,99 unequal: No Solution
Exploring Operation: 90*1=90, Resulting Numbers: [90]
90,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 99:[90, 27], Operations: ['94-81=13', '14+13=27']
Exploring Operation: 90*27=2430, Resulting Numbers: [2430]
2430,99 unequal: No Solution
Exploring Operation: 90-27=63, Resulting Numbers: [63]
63,99 unequal: No Solution
Exploring Operation: 90+27=117, Resulting Numbers: [117]
117,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 99:[13, 76], Operations: ['94-81=13', '90-14=76']
Exploring Operation: 13*76=988, Resulting Numbers: [988]
988,99 unequal: No Solution
Exploring Operation: 76-13=63, Resulting Numbers: [63]
63,99 unequal: No Solution
Exploring Operation: 13+76=89, Resulting Numbers: [89]
89,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 99:[94, 90, 95], Operations: ['14+81=95']
Exploring Operation: 90+95=185, Resulting Numbers: [94, 185]
Generated Node #0,3,0: 99:[94, 185] Operation: 90+95=185
Exploring Operation: 95-94=1, Resulting Numbers: [90, 1]
Generated Node #0,3,1: 99:[90, 1] Operation: 95-94=1
Exploring Operation: 94+90=184, Resulting Numbers: [95, 184]
Generated Node #0,3,2: 99:[95, 184] Operation: 94+90=184
Exploring Operation: 94-90=4, Resulting Numbers: [95, 4]
Generated Node #0,3,3: 99:[95, 4] Operation: 94-90=4
Exploring Operation: 95-90=5, Resulting Numbers: [94, 5]
Generated Node #0,3,4: 99:[94, 5] Operation: 95-90=5
Moving to Node #0,2
Current State: 99:[14, 81, 4], Operations: ['94-90=4']
Exploring Operation: 81+4=85, Resulting Numbers: [14, 85]
Generated Node #0,2,0: 99:[14, 85] Operation: 81+4=85
Exploring Operation: 14+4=18, Resulting Numbers: [81, 18]
Generated Node #0,2,1: 99:[81, 18] Operation: 14+4=18
Exploring Operation: 81-4=77, Resulting Numbers: [14, 77]
Generated Node #0,2,2: 99:[14, 77] Operation: 81-4=77
Exploring Operation: 14-4=10, Resulting Numbers: [81, 10]
Generated Node #0,2,3: 99:[81, 10] Operation: 14-4=10
Exploring Operation: 14+81=95, Resulting Numbers: [4, 95]
Generated Node #0,2,4: 99:[4, 95] Operation: 14+81=95
Moving to Node #0,0
Current State: 99:[94, 81, 104], Operations: ['14+90=104']
Exploring Operation: 104-81=23, Resulting Numbers: [94, 23]
Generated Node #0,0,0: 99:[94, 23] Operation: 104-81=23
Exploring Operation: 104-94=10, Resulting Numbers: [81, 10]
Generated Node #0,0,1: 99:[81, 10] Operation: 104-94=10
Exploring Operation: 94+81=175, Resulting Numbers: [104, 175]
Generated Node #0,0,2: 99:[104, 175] Operation: 94+81=175
Exploring Operation: 94-81=13, Resulting Numbers: [104, 13]
Generated Node #0,0,3: 99:[104, 13] Operation: 94-81=13
Exploring Operation: 81+104=185, Resulting Numbers: [94, 185]
Generated Node #0,0,4: 99:[94, 185] Operation: 81+104=185
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 99:[104, 13], Operations: ['14+90=104', '94-81=13']
Exploring Operation: 104+13=117, Resulting Numbers: [117]
117,99 unequal: No Solution
Exploring Operation: 104-13=91, Resulting Numbers: [91]
91,99 unequal: No Solution
Exploring Operation: 104*13=1352, Resulting Numbers: [1352]
1352,99 unequal: No Solution
Exploring Operation: 104/13=8, Resulting Numbers: [8]
8,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[94, 23], Operations: ['14+90=104', '104-81=23']
Exploring Operation: 94-23=71, Resulting Numbers: [71]
71,99 unequal: No Solution
Exploring Operation: 94*23=2162, Resulting Numbers: [2162]
2162,99 unequal: No Solution
Exploring Operation: 94+23=117, Resulting Numbers: [117]
117,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[81, 10], Operations: ['14+90=104', '104-94=10']
Exploring Operation: 81*10=810, Resulting Numbers: [810]
810,99 unequal: No Solution
Exploring Operation: 81+10=91, Resulting Numbers: [91]
91,99 unequal: No Solution
Exploring Operation: 81-10=71, Resulting Numbers: [71]
71,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 99:[104, 175], Operations: ['14+90=104', '94+81=175']
Exploring Operation: 104+175=279, Resulting Numbers: [279]
279,99 unequal: No Solution
Exploring Operation: 175-104=71, Resulting Numbers: [71]
71,99 unequal: No Solution
Exploring Operation: 104*175=18200, Resulting Numbers: [18200]
18200,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 99:[94, 185], Operations: ['14+90=104', '81+104=185']
Exploring Operation: 185-94=91, Resulting Numbers: [91]
91,99 unequal: No Solution
Exploring Operation: 94*185=17390, Resulting Numbers: [17390]
17390,99 unequal: No Solution
Exploring Operation: 94+185=279, Resulting Numbers: [279]
279,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 99:[95, 4], Operations: ['14+81=95', '94-90=4']
Exploring Operation: 95*4=380, Resulting Numbers: [380]
380,99 unequal: No Solution
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[14, 94, 90, 81], Operations: []
Exploring Operation: 14+81=95, Resulting Numbers: [94, 90, 95]
Generated Node #0,3: 99:[94, 90, 95] Operation: 14+81=95
Moving to Node #0,3
Current State: 99:[94, 90, 95], Operations: ['14+81=95']
Exploring Operation: 94-90=4, Resulting Numbers: [95, 4]
Generated Node #0,3,3: 99:[95, 4] Operation: 94-90=4
Moving to Node #0,3,3
Current State: 99:[95, 4], Operations: ['14+81=95', '94-90=4']
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 0.940104 | hs_5 | mult_heuristic |
[
58,
4,
11,
71
] | 41 | [
"71-58=13",
"4*13=52",
"52-11=41"
] | Current State: 41:[58, 4, 11, 71], Operations: []
Exploring Operation: 71-58=13, Resulting Numbers: [4, 11, 13]
Generated Node #2: [4, 11, 13] from Operation: 71-58=13
Current State: 41:[4, 11, 13], Operations: ['71-58=13']
Exploring Operation: 4*13=52, Resulting Numbers: [11, 52]
Generated Node #3: [11, 52] from Operation: 4*13=52
Current State: 41:[11, 52], Operations: ['71-58=13', '4*13=52']
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[58, 4, 11, 71], Operations: []
Exploring Operation: 4*11=44, Resulting Numbers: [58, 71, 44]
Generated Node #0,0: 41:[58, 71, 44] Operation: 4*11=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[58, 71, 44], Operations: ['4*11=44']
Exploring Operation: 71-58=13, Resulting Numbers: [44, 13]
Generated Node #0,0,0: 41:[44, 13] Operation: 71-58=13
Moving to Node #0,0,0
Current State: 41:[44, 13], Operations: ['4*11=44', '71-58=13']
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
68,
48,
25,
44
] | 55 | [
"68-48=20",
"25*44=1100",
"1100/20=55"
] | Current State: 55:[68, 48, 25, 44], Operations: []
Exploring Operation: 68-48=20, Resulting Numbers: [25, 44, 20]
Generated Node #2: [25, 44, 20] from Operation: 68-48=20
Current State: 55:[25, 44, 20], Operations: ['68-48=20']
Exploring Operation: 25*44=1100, Resulting Numbers: [20, 1100]
Generated Node #3: [20, 1100] from Operation: 25*44=1100
Current State: 55:[20, 1100], Operations: ['68-48=20', '25*44=1100']
Exploring Operation: 1100/20=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[68, 48, 25, 44], Operations: []
Exploring Operation: 44-25=19, Resulting Numbers: [68, 48, 19]
Generated Node #0,0: 55:[68, 48, 19] Operation: 44-25=19
Exploring Operation: 68-48=20, Resulting Numbers: [25, 44, 20]
Generated Node #0,1: 55:[25, 44, 20] Operation: 68-48=20
Exploring Operation: 48-44=4, Resulting Numbers: [68, 25, 4]
Generated Node #0,2: 55:[68, 25, 4] Operation: 48-44=4
Exploring Operation: 68-44=24, Resulting Numbers: [48, 25, 24]
Generated Node #0,3: 55:[48, 25, 24] Operation: 68-44=24
Exploring Operation: 68-25=43, Resulting Numbers: [48, 44, 43]
Generated Node #0,4: 55:[48, 44, 43] Operation: 68-25=43
Moving to Node #0,0
Current State: 55:[68, 48, 19], Operations: ['44-25=19']
Exploring Operation: 68-48=20, Resulting Numbers: [19, 20]
Generated Node #0,0,0: 55:[19, 20] Operation: 68-48=20
Exploring Operation: 68+19=87, Resulting Numbers: [48, 87]
Generated Node #0,0,1: 55:[48, 87] Operation: 68+19=87
Exploring Operation: 68-19=49, Resulting Numbers: [48, 49]
Generated Node #0,0,2: 55:[48, 49] Operation: 68-19=49
Exploring Operation: 48-19=29, Resulting Numbers: [68, 29]
Generated Node #0,0,3: 55:[68, 29] Operation: 48-19=29
Exploring Operation: 48+19=67, Resulting Numbers: [68, 67]
Generated Node #0,0,4: 55:[68, 67] Operation: 48+19=67
Moving to Node #0,2
Current State: 55:[68, 25, 4], Operations: ['48-44=4']
Exploring Operation: 68/4=17, Resulting Numbers: [25, 17]
Generated Node #0,2,0: 55:[25, 17] Operation: 68/4=17
Exploring Operation: 68-4=64, Resulting Numbers: [25, 64]
Generated Node #0,2,1: 55:[25, 64] Operation: 68-4=64
Exploring Operation: 25-4=21, Resulting Numbers: [68, 21]
Generated Node #0,2,2: 55:[68, 21] Operation: 25-4=21
Exploring Operation: 68-25=43, Resulting Numbers: [4, 43]
Generated Node #0,2,3: 55:[4, 43] Operation: 68-25=43
Exploring Operation: 68+4=72, Resulting Numbers: [25, 72]
Generated Node #0,2,4: 55:[25, 72] Operation: 68+4=72
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 55:[4, 43], Operations: ['48-44=4', '68-25=43']
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,55 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,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,2,0
Current State: 55:[25, 17], Operations: ['48-44=4', '68/4=17']
Exploring Operation: 25*17=425, Resulting Numbers: [425]
425,55 unequal: No Solution
Exploring Operation: 25+17=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,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,2,1
Current State: 55:[25, 64], Operations: ['48-44=4', '68-4=64']
Exploring Operation: 25*64=1600, Resulting Numbers: [1600]
1600,55 unequal: No Solution
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 25+64=89, Resulting Numbers: [89]
89,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,2,2
Current State: 55:[68, 21], Operations: ['48-44=4', '25-4=21']
Exploring Operation: 68+21=89, Resulting Numbers: [89]
89,55 unequal: No Solution
Exploring Operation: 68*21=1428, Resulting Numbers: [1428]
1428,55 unequal: No Solution
Exploring Operation: 68-21=47, Resulting Numbers: [47]
47,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,2,4
Current State: 55:[25, 72], Operations: ['48-44=4', '68+4=72']
Exploring Operation: 25*72=1800, Resulting Numbers: [1800]
1800,55 unequal: No Solution
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,55 unequal: No Solution
Exploring Operation: 25+72=97, Resulting Numbers: [97]
97,55 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: 55:[48, 44, 43], Operations: ['68-25=43']
Exploring Operation: 48-44=4, Resulting Numbers: [43, 4]
Generated Node #0,4,0: 55:[43, 4] Operation: 48-44=4
Exploring Operation: 48-43=5, Resulting Numbers: [44, 5]
Generated Node #0,4,1: 55:[44, 5] Operation: 48-43=5
Exploring Operation: 44+43=87, Resulting Numbers: [48, 87]
Generated Node #0,4,2: 55:[48, 87] Operation: 44+43=87
Exploring Operation: 48+43=91, Resulting Numbers: [44, 91]
Generated Node #0,4,3: 55:[44, 91] Operation: 48+43=91
Exploring Operation: 44-43=1, Resulting Numbers: [48, 1]
Generated Node #0,4,4: 55:[48, 1] Operation: 44-43=1
Moving to Node #0,1
Current State: 55:[25, 44, 20], Operations: ['68-48=20']
Exploring Operation: 25-20=5, Resulting Numbers: [44, 5]
Generated Node #0,1,0: 55:[44, 5] Operation: 25-20=5
Exploring Operation: 25+20=45, Resulting Numbers: [44, 45]
Generated Node #0,1,1: 55:[44, 45] Operation: 25+20=45
Exploring Operation: 25+44=69, Resulting Numbers: [20, 69]
Generated Node #0,1,2: 55:[20, 69] Operation: 25+44=69
Exploring Operation: 44+20=64, Resulting Numbers: [25, 64]
Generated Node #0,1,3: 55:[25, 64] Operation: 44+20=64
Exploring Operation: 44-25=19, Resulting Numbers: [20, 19]
Generated Node #0,1,4: 55:[20, 19] Operation: 44-25=19
Moving to Node #0,3
Current State: 55:[48, 25, 24], Operations: ['68-44=24']
Exploring Operation: 48-25=23, Resulting Numbers: [24, 23]
Generated Node #0,3,0: 55:[24, 23] Operation: 48-25=23
Exploring Operation: 25-24=1, Resulting Numbers: [48, 1]
Generated Node #0,3,1: 55:[48, 1] Operation: 25-24=1
Exploring Operation: 25+24=49, Resulting Numbers: [48, 49]
Generated Node #0,3,2: 55:[48, 49] Operation: 25+24=49
Exploring Operation: 48/24=2, Resulting Numbers: [25, 2]
Generated Node #0,3,3: 55:[25, 2] Operation: 48/24=2
Exploring Operation: 48-24=24, Resulting Numbers: [25, 24]
Generated Node #0,3,4: 55:[25, 24] Operation: 48-24=24
Moving to Node #0,4,1
Current State: 55:[44, 5], Operations: ['68-25=43', '48-43=5']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,55 unequal: No Solution
Moving to Node #0,4,4
Current State: 55:[48, 1], Operations: ['68-25=43', '44-43=1']
Exploring Operation: 48+1=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[44, 5], Operations: ['68-48=20', '25-20=5']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,55 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[48, 1], Operations: ['68-44=24', '25-24=1']
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 48+1=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[48, 49], Operations: ['44-25=19', '68-19=49']
Exploring Operation: 48+49=97, Resulting Numbers: [97]
97,55 unequal: No Solution
Exploring Operation: 48*49=2352, Resulting Numbers: [2352]
2352,55 unequal: No Solution
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Moving to Node #0,4,0
Current State: 55:[43, 4], Operations: ['68-25=43', '48-44=4']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,55 unequal: No Solution
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,55 unequal: No Solution
Moving to Node #0,3,2
Current State: 55:[48, 49], Operations: ['68-44=24', '25+24=49']
Exploring Operation: 48*49=2352, Resulting Numbers: [2352]
2352,55 unequal: No Solution
Exploring Operation: 48+49=97, Resulting Numbers: [97]
97,55 unequal: No Solution
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Moving to Node #0,1,4
Current State: 55:[20, 19], Operations: ['68-48=20', '44-25=19']
Exploring Operation: 20+19=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 20*19=380, Resulting Numbers: [380]
380,55 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Moving to Node #0,3,3
Current State: 55:[25, 2], Operations: ['68-44=24', '48/24=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,55 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[19, 20], Operations: ['44-25=19', '68-48=20']
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,55 unequal: No Solution
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[44, 45], Operations: ['68-48=20', '25+20=45']
Exploring Operation: 44+45=89, Resulting Numbers: [89]
89,55 unequal: No Solution
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 44*45=1980, Resulting Numbers: [1980]
1980,55 unequal: No Solution
Moving to Node #0,1,3
Current State: 55:[25, 64], Operations: ['68-48=20', '44+20=64']
Exploring Operation: 25*64=1600, Resulting Numbers: [1600]
1600,55 unequal: No Solution
Exploring Operation: 25+64=89, Resulting Numbers: [89]
89,55 unequal: No Solution
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[20, 69], Operations: ['68-48=20', '25+44=69']
Exploring Operation: 69-20=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 20+69=89, Resulting Numbers: [89]
89,55 unequal: No Solution
Exploring Operation: 20*69=1380, Resulting Numbers: [1380]
1380,55 unequal: No Solution
Moving to Node #0,3,0
Current State: 55:[24, 23], Operations: ['68-44=24', '48-25=23']
Exploring Operation: 24*23=552, Resulting Numbers: [552]
552,55 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,55 unequal: No Solution
Moving to Node #0,0,4
Current State: 55:[68, 67], Operations: ['44-25=19', '48+19=67']
Exploring Operation: 68-67=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 68*67=4556, Resulting Numbers: [4556]
4556,55 unequal: No Solution
Exploring Operation: 68+67=135, Resulting Numbers: [135]
135,55 unequal: No Solution
Moving to Node #0,3,4
Current State: 55:[25, 24], Operations: ['68-44=24', '48-24=24']
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,55 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Moving to Node #0,0,3
Current State: 55:[68, 29], Operations: ['44-25=19', '48-19=29']
Exploring Operation: 68*29=1972, Resulting Numbers: [1972]
1972,55 unequal: No Solution
Exploring Operation: 68-29=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 68+29=97, Resulting Numbers: [97]
97,55 unequal: No Solution
Moving to Node #0,4,2
Current State: 55:[48, 87], Operations: ['68-25=43', '44+43=87']
Exploring Operation: 48*87=4176, Resulting Numbers: [4176]
4176,55 unequal: No Solution
Exploring Operation: 87-48=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 48+87=135, Resulting Numbers: [135]
135,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[48, 87], Operations: ['44-25=19', '68+19=87']
Exploring Operation: 48+87=135, Resulting Numbers: [135]
135,55 unequal: No Solution
Exploring Operation: 87-48=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 48*87=4176, Resulting Numbers: [4176]
4176,55 unequal: No Solution
Moving to Node #0,4,3
Current State: 55:[44, 91], Operations: ['68-25=43', '48+43=91']
Exploring Operation: 44+91=135, Resulting Numbers: [135]
135,55 unequal: No Solution
Exploring Operation: 44*91=4004, Resulting Numbers: [4004]
4004,55 unequal: No Solution
Exploring Operation: 91-44=47, Resulting Numbers: [47]
47,55 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
11,
59,
12,
71
] | 10 | [
"59+12=71",
"71/71=1",
"11-1=10"
] | Current State: 10:[11, 59, 12, 71], Operations: []
Exploring Operation: 59+12=71, Resulting Numbers: [11, 71, 71]
Generated Node #2: [11, 71, 71] from Operation: 59+12=71
Current State: 10:[11, 71, 71], Operations: ['59+12=71']
Exploring Operation: 71/71=1, Resulting Numbers: [11, 1]
Generated Node #3: [11, 1] from Operation: 71/71=1
Current State: 10:[11, 1], Operations: ['59+12=71', '71/71=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[11, 59, 12, 71], Operations: []
Exploring Operation: 59-12=47, Resulting Numbers: [11, 71, 47]
Generated Node #0,0: 10:[11, 71, 47] Operation: 59-12=47
Exploring Operation: 59-11=48, Resulting Numbers: [12, 71, 48]
Generated Node #0,1: 10:[12, 71, 48] Operation: 59-11=48
Exploring Operation: 71-11=60, Resulting Numbers: [59, 12, 60]
Generated Node #0,2: 10:[59, 12, 60] Operation: 71-11=60
Exploring Operation: 71-59=12, Resulting Numbers: [11, 12, 12]
Generated Node #0,3: 10:[11, 12, 12] Operation: 71-59=12
Exploring Operation: 71-12=59, Resulting Numbers: [11, 59, 59]
Generated Node #0,4: 10:[11, 59, 59] Operation: 71-12=59
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[11, 12, 12], Operations: ['71-59=12']
Exploring Operation: 12-11=1, Resulting Numbers: [12, 1]
Generated Node #0,3,0: 10:[12, 1] Operation: 12-11=1
Exploring Operation: 12/12=1, Resulting Numbers: [11, 1]
Generated Node #0,3,1: 10:[11, 1] Operation: 12/12=1
Exploring Operation: 12-12=0, Resulting Numbers: [11, 0]
Generated Node #0,3,2: 10:[11, 0] Operation: 12-12=0
Exploring Operation: 11+12=23, Resulting Numbers: [12, 23]
Generated Node #0,3,3: 10:[12, 23] Operation: 11+12=23
Exploring Operation: 12-11=1, Resulting Numbers: [12, 1]
Generated Node #0,3,4: 10:[12, 1] Operation: 12-11=1
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 10:[11, 1], Operations: ['71-59=12', '12/12=1']
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,10 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[11, 59, 12, 71], Operations: []
Exploring Operation: 71-59=12, Resulting Numbers: [11, 12, 12]
Generated Node #0,3: 10:[11, 12, 12] Operation: 71-59=12
Moving to Node #0,3
Current State: 10:[11, 12, 12], Operations: ['71-59=12']
Exploring Operation: 12/12=1, Resulting Numbers: [11, 1]
Generated Node #0,3,1: 10:[11, 1] Operation: 12/12=1
Moving to Node #0,3,1
Current State: 10:[11, 1], Operations: ['71-59=12', '12/12=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
18,
3,
53,
17
] | 49 | [
"18+3=21",
"53+17=70",
"70-21=49"
] | Current State: 49:[18, 3, 53, 17], Operations: []
Exploring Operation: 18+3=21, Resulting Numbers: [53, 17, 21]
Generated Node #2: [53, 17, 21] from Operation: 18+3=21
Current State: 49:[53, 17, 21], Operations: ['18+3=21']
Exploring Operation: 53+17=70, Resulting Numbers: [21, 70]
Generated Node #3: [21, 70] from Operation: 53+17=70
Current State: 49:[21, 70], Operations: ['18+3=21', '53+17=70']
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[18, 3, 53, 17], Operations: []
Exploring Operation: 3*17=51, Resulting Numbers: [18, 53, 51]
Generated Node #0,0: 49:[18, 53, 51] Operation: 3*17=51
Exploring Operation: 18-17=1, Resulting Numbers: [3, 53, 1]
Generated Node #0,1: 49:[3, 53, 1] Operation: 18-17=1
Exploring Operation: 18*3=54, Resulting Numbers: [53, 17, 54]
Generated Node #0,2: 49:[53, 17, 54] Operation: 18*3=54
Exploring Operation: 18-3=15, Resulting Numbers: [53, 17, 15]
Generated Node #0,3: 49:[53, 17, 15] Operation: 18-3=15
Exploring Operation: 18/3=6, Resulting Numbers: [53, 17, 6]
Generated Node #0,4: 49:[53, 17, 6] Operation: 18/3=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[3, 53, 1], Operations: ['18-17=1']
Exploring Operation: 53-3=50, Resulting Numbers: [1, 50]
Generated Node #0,1,0: 49:[1, 50] Operation: 53-3=50
Exploring Operation: 53-1=52, Resulting Numbers: [3, 52]
Generated Node #0,1,1: 49:[3, 52] Operation: 53-1=52
Exploring Operation: 3+1=4, Resulting Numbers: [53, 4]
Generated Node #0,1,2: 49:[53, 4] Operation: 3+1=4
Exploring Operation: 3*1=3, Resulting Numbers: [53, 3]
Generated Node #0,1,3: 49:[53, 3] Operation: 3*1=3
Exploring Operation: 3/1=3, Resulting Numbers: [53, 3]
Generated Node #0,1,4: 49:[53, 3] Operation: 3/1=3
Moving to Node #0,1,0
Current State: 49:[1, 50], Operations: ['18-17=1', '53-3=50']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[18, 3, 53, 17], Operations: []
Exploring Operation: 18-17=1, Resulting Numbers: [3, 53, 1]
Generated Node #0,1: 49:[3, 53, 1] Operation: 18-17=1
Moving to Node #0,1
Current State: 49:[3, 53, 1], Operations: ['18-17=1']
Exploring Operation: 53-3=50, Resulting Numbers: [1, 50]
Generated Node #0,1,0: 49:[1, 50] Operation: 53-3=50
Moving to Node #0,1,0
Current State: 49:[1, 50], Operations: ['18-17=1', '53-3=50']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
75,
3,
67,
86
] | 97 | [
"75+3=78",
"86-67=19",
"78+19=97"
] | Current State: 97:[75, 3, 67, 86], Operations: []
Exploring Operation: 75+3=78, Resulting Numbers: [67, 86, 78]
Generated Node #2: [67, 86, 78] from Operation: 75+3=78
Current State: 97:[67, 86, 78], Operations: ['75+3=78']
Exploring Operation: 86-67=19, Resulting Numbers: [78, 19]
Generated Node #3: [78, 19] from Operation: 86-67=19
Current State: 97:[78, 19], Operations: ['75+3=78', '86-67=19']
Exploring Operation: 78+19=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[75, 3, 67, 86], Operations: []
Exploring Operation: 3+86=89, Resulting Numbers: [75, 67, 89]
Generated Node #0,0: 97:[75, 67, 89] Operation: 3+86=89
Exploring Operation: 3+67=70, Resulting Numbers: [75, 86, 70]
Generated Node #0,1: 97:[75, 86, 70] Operation: 3+67=70
Exploring Operation: 75-3=72, Resulting Numbers: [67, 86, 72]
Generated Node #0,2: 97:[67, 86, 72] Operation: 75-3=72
Exploring Operation: 75+3=78, Resulting Numbers: [67, 86, 78]
Generated Node #0,3: 97:[67, 86, 78] Operation: 75+3=78
Moving to Node #0,0
Current State: 97:[75, 67, 89], Operations: ['3+86=89']
Exploring Operation: 75+67=142, Resulting Numbers: [89, 142]
Generated Node #0,0,0: 97:[89, 142] Operation: 75+67=142
Exploring Operation: 75-67=8, Resulting Numbers: [89, 8]
Generated Node #0,0,1: 97:[89, 8] Operation: 75-67=8
Exploring Operation: 75+89=164, Resulting Numbers: [67, 164]
Generated Node #0,0,2: 97:[67, 164] Operation: 75+89=164
Exploring Operation: 67+89=156, Resulting Numbers: [75, 156]
Generated Node #0,0,3: 97:[75, 156] Operation: 67+89=156
Moving to Node #0,3
Current State: 97:[67, 86, 78], Operations: ['75+3=78']
Exploring Operation: 67+86=153, Resulting Numbers: [78, 153]
Generated Node #0,3,0: 97:[78, 153] Operation: 67+86=153
Exploring Operation: 78-67=11, Resulting Numbers: [86, 11]
Generated Node #0,3,1: 97:[86, 11] Operation: 78-67=11
Exploring Operation: 67+78=145, Resulting Numbers: [86, 145]
Generated Node #0,3,2: 97:[86, 145] Operation: 67+78=145
Exploring Operation: 86-67=19, Resulting Numbers: [78, 19]
Generated Node #0,3,3: 97:[78, 19] Operation: 86-67=19
Moving to Node #0,1
Current State: 97:[75, 86, 70], Operations: ['3+67=70']
Exploring Operation: 86+70=156, Resulting Numbers: [75, 156]
Generated Node #0,1,0: 97:[75, 156] Operation: 86+70=156
Exploring Operation: 75+86=161, Resulting Numbers: [70, 161]
Generated Node #0,1,1: 97:[70, 161] Operation: 75+86=161
Exploring Operation: 75-70=5, Resulting Numbers: [86, 5]
Generated Node #0,1,2: 97:[86, 5] Operation: 75-70=5
Exploring Operation: 75+70=145, Resulting Numbers: [86, 145]
Generated Node #0,1,3: 97:[86, 145] Operation: 75+70=145
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 97:[86, 145], Operations: ['3+67=70', '75+70=145']
Exploring Operation: 86+145=231, Resulting Numbers: [231]
231,97 unequal: No Solution
Exploring Operation: 145-86=59, Resulting Numbers: [59]
59,97 unequal: No Solution
Exploring Operation: 86*145=12470, Resulting Numbers: [12470]
12470,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[75, 156], Operations: ['3+67=70', '86+70=156']
Exploring Operation: 75+156=231, Resulting Numbers: [231]
231,97 unequal: No Solution
Exploring Operation: 75*156=11700, Resulting Numbers: [11700]
11700,97 unequal: No Solution
Exploring Operation: 156-75=81, Resulting Numbers: [81]
81,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[70, 161], Operations: ['3+67=70', '75+86=161']
Exploring Operation: 70+161=231, Resulting Numbers: [231]
231,97 unequal: No Solution
Exploring Operation: 161-70=91, Resulting Numbers: [91]
91,97 unequal: No Solution
Exploring Operation: 70*161=11270, Resulting Numbers: [11270]
11270,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[86, 5], Operations: ['3+67=70', '75-70=5']
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,97 unequal: No Solution
Exploring Operation: 86*5=430, Resulting Numbers: [430]
430,97 unequal: No Solution
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 97:[67, 86, 72], Operations: ['75-3=72']
Exploring Operation: 67+72=139, Resulting Numbers: [86, 139]
Generated Node #0,2,0: 97:[86, 139] Operation: 67+72=139
Exploring Operation: 86-67=19, Resulting Numbers: [72, 19]
Generated Node #0,2,1: 97:[72, 19] Operation: 86-67=19
Exploring Operation: 86+72=158, Resulting Numbers: [67, 158]
Generated Node #0,2,2: 97:[67, 158] Operation: 86+72=158
Exploring Operation: 67+86=153, Resulting Numbers: [72, 153]
Generated Node #0,2,3: 97:[72, 153] Operation: 67+86=153
Moving to Node #0,0,0
Current State: 97:[89, 142], Operations: ['3+86=89', '75+67=142']
Exploring Operation: 89+142=231, Resulting Numbers: [231]
231,97 unequal: No Solution
Exploring Operation: 89*142=12638, Resulting Numbers: [12638]
12638,97 unequal: No Solution
Exploring Operation: 142-89=53, Resulting Numbers: [53]
53,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[86, 139], Operations: ['75-3=72', '67+72=139']
Exploring Operation: 86+139=225, Resulting Numbers: [225]
225,97 unequal: No Solution
Exploring Operation: 139-86=53, Resulting Numbers: [53]
53,97 unequal: No Solution
Exploring Operation: 86*139=11954, Resulting Numbers: [11954]
11954,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[86, 145], Operations: ['75+3=78', '67+78=145']
Exploring Operation: 86+145=231, Resulting Numbers: [231]
231,97 unequal: No Solution
Exploring Operation: 86*145=12470, Resulting Numbers: [12470]
12470,97 unequal: No Solution
Exploring Operation: 145-86=59, Resulting Numbers: [59]
59,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[78, 153], Operations: ['75+3=78', '67+86=153']
Exploring Operation: 78+153=231, Resulting Numbers: [231]
231,97 unequal: No Solution
Exploring Operation: 153-78=75, Resulting Numbers: [75]
75,97 unequal: No Solution
Exploring Operation: 78*153=11934, Resulting Numbers: [11934]
11934,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[75, 156], Operations: ['3+86=89', '67+89=156']
Exploring Operation: 75*156=11700, Resulting Numbers: [11700]
11700,97 unequal: No Solution
Exploring Operation: 156-75=81, Resulting Numbers: [81]
81,97 unequal: No Solution
Exploring Operation: 75+156=231, Resulting Numbers: [231]
231,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[72, 153], Operations: ['75-3=72', '67+86=153']
Exploring Operation: 72+153=225, Resulting Numbers: [225]
225,97 unequal: No Solution
Exploring Operation: 72*153=11016, Resulting Numbers: [11016]
11016,97 unequal: No Solution
Exploring Operation: 153-72=81, Resulting Numbers: [81]
81,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[67, 158], Operations: ['75-3=72', '86+72=158']
Exploring Operation: 158-67=91, Resulting Numbers: [91]
91,97 unequal: No Solution
Exploring Operation: 67+158=225, Resulting Numbers: [225]
225,97 unequal: No Solution
Exploring Operation: 67*158=10586, Resulting Numbers: [10586]
10586,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[89, 8], Operations: ['3+86=89', '75-67=8']
Exploring Operation: 89+8=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[75, 3, 67, 86], Operations: []
Exploring Operation: 3+86=89, Resulting Numbers: [75, 67, 89]
Generated Node #0,0: 97:[75, 67, 89] Operation: 3+86=89
Moving to Node #0,0
Current State: 97:[75, 67, 89], Operations: ['3+86=89']
Exploring Operation: 75-67=8, Resulting Numbers: [89, 8]
Generated Node #0,0,1: 97:[89, 8] Operation: 75-67=8
Moving to Node #0,0,1
Current State: 97:[89, 8], Operations: ['3+86=89', '75-67=8']
Exploring Operation: 89+8=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 0.949653 | hs_4 | mult_heuristic |
[
48,
58,
60,
69
] | 42 | [
"69-48=21",
"60-58=2",
"21*2=42"
] | Current State: 42:[48, 58, 60, 69], Operations: []
Exploring Operation: 69-48=21, Resulting Numbers: [58, 60, 21]
Generated Node #2: [58, 60, 21] from Operation: 69-48=21
Current State: 42:[58, 60, 21], Operations: ['69-48=21']
Exploring Operation: 60-58=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 60-58=2
Current State: 42:[21, 2], Operations: ['69-48=21', '60-58=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[48, 58, 60, 69], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [48, 69, 2]
Generated Node #0,0: 42:[48, 69, 2] Operation: 60-58=2
Exploring Operation: 69-58=11, Resulting Numbers: [48, 60, 11]
Generated Node #0,1: 42:[48, 60, 11] Operation: 69-58=11
Exploring Operation: 69-60=9, Resulting Numbers: [48, 58, 9]
Generated Node #0,2: 42:[48, 58, 9] Operation: 69-60=9
Exploring Operation: 69-48=21, Resulting Numbers: [58, 60, 21]
Generated Node #0,3: 42:[58, 60, 21] Operation: 69-48=21
Moving to Node #0,2
Current State: 42:[48, 58, 9], Operations: ['69-60=9']
Exploring Operation: 58-9=49, Resulting Numbers: [48, 49]
Generated Node #0,2,0: 42:[48, 49] Operation: 58-9=49
Exploring Operation: 48-9=39, Resulting Numbers: [58, 39]
Generated Node #0,2,1: 42:[58, 39] Operation: 48-9=39
Exploring Operation: 58-48=10, Resulting Numbers: [9, 10]
Generated Node #0,2,2: 42:[9, 10] Operation: 58-48=10
Exploring Operation: 48+9=57, Resulting Numbers: [58, 57]
Generated Node #0,2,3: 42:[58, 57] Operation: 48+9=57
Moving to Node #0,1
Current State: 42:[48, 60, 11], Operations: ['69-58=11']
Exploring Operation: 48+11=59, Resulting Numbers: [60, 59]
Generated Node #0,1,0: 42:[60, 59] Operation: 48+11=59
Exploring Operation: 60-11=49, Resulting Numbers: [48, 49]
Generated Node #0,1,1: 42:[48, 49] Operation: 60-11=49
Exploring Operation: 48-11=37, Resulting Numbers: [60, 37]
Generated Node #0,1,2: 42:[60, 37] Operation: 48-11=37
Exploring Operation: 60-48=12, Resulting Numbers: [11, 12]
Generated Node #0,1,3: 42:[11, 12] Operation: 60-48=12
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 42:[11, 12], Operations: ['69-58=11', '60-48=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,42 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[48, 49], Operations: ['69-58=11', '60-11=49']
Exploring Operation: 48*49=2352, Resulting Numbers: [2352]
2352,42 unequal: No Solution
Exploring Operation: 48+49=97, Resulting Numbers: [97]
97,42 unequal: No Solution
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 42:[60, 37], Operations: ['69-58=11', '48-11=37']
Exploring Operation: 60*37=2220, Resulting Numbers: [2220]
2220,42 unequal: No Solution
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 60+37=97, Resulting Numbers: [97]
97,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[60, 59], Operations: ['69-58=11', '48+11=59']
Exploring Operation: 60*59=3540, Resulting Numbers: [3540]
3540,42 unequal: No Solution
Exploring Operation: 60-59=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 60+59=119, Resulting Numbers: [119]
119,42 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: 42:[48, 69, 2], Operations: ['60-58=2']
Exploring Operation: 69-48=21, Resulting Numbers: [2, 21]
Generated Node #0,0,0: 42:[2, 21] Operation: 69-48=21
Exploring Operation: 48/2=24, Resulting Numbers: [69, 24]
Generated Node #0,0,1: 42:[69, 24] Operation: 48/2=24
Exploring Operation: 69-2=67, Resulting Numbers: [48, 67]
Generated Node #0,0,2: 42:[48, 67] Operation: 69-2=67
Exploring Operation: 48-2=46, Resulting Numbers: [69, 46]
Generated Node #0,0,3: 42:[69, 46] Operation: 48-2=46
Moving to Node #0,3
Current State: 42:[58, 60, 21], Operations: ['69-48=21']
Exploring Operation: 60-21=39, Resulting Numbers: [58, 39]
Generated Node #0,3,0: 42:[58, 39] Operation: 60-21=39
Exploring Operation: 58+21=79, Resulting Numbers: [60, 79]
Generated Node #0,3,1: 42:[60, 79] Operation: 58+21=79
Exploring Operation: 60-58=2, Resulting Numbers: [21, 2]
Generated Node #0,3,2: 42:[21, 2] Operation: 60-58=2
Exploring Operation: 58-21=37, Resulting Numbers: [60, 37]
Generated Node #0,3,3: 42:[60, 37] Operation: 58-21=37
Moving to Node #0,0,0
Current State: 42:[2, 21], Operations: ['60-58=2', '69-48=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[48, 58, 60, 69], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [48, 69, 2]
Generated Node #0,0: 42:[48, 69, 2] Operation: 60-58=2
Moving to Node #0,0
Current State: 42:[48, 69, 2], Operations: ['60-58=2']
Exploring Operation: 69-48=21, Resulting Numbers: [2, 21]
Generated Node #0,0,0: 42:[2, 21] Operation: 69-48=21
Moving to Node #0,0,0
Current State: 42:[2, 21], Operations: ['60-58=2', '69-48=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.967014 | hs_4 | sum_heuristic |
[
27,
21,
71,
46
] | 91 | [
"71+46=117",
"21*117=2457",
"2457/27=91"
] | Current State: 91:[27, 21, 71, 46], Operations: []
Exploring Operation: 71+46=117, Resulting Numbers: [27, 21, 117]
Generated Node #2: [27, 21, 117] from Operation: 71+46=117
Current State: 91:[27, 21, 117], Operations: ['71+46=117']
Exploring Operation: 21*117=2457, Resulting Numbers: [27, 2457]
Generated Node #3: [27, 2457] from Operation: 21*117=2457
Current State: 91:[27, 2457], Operations: ['71+46=117', '21*117=2457']
Exploring Operation: 2457/27=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[27, 21, 71, 46], Operations: []
Exploring Operation: 46-27=19, Resulting Numbers: [21, 71, 19]
Generated Node #0,0: 91:[21, 71, 19] Operation: 46-27=19
Exploring Operation: 27+71=98, Resulting Numbers: [21, 46, 98]
Generated Node #0,1: 91:[21, 46, 98] Operation: 27+71=98
Exploring Operation: 27+46=73, Resulting Numbers: [21, 71, 73]
Generated Node #0,2: 91:[21, 71, 73] Operation: 27+46=73
Exploring Operation: 46-21=25, Resulting Numbers: [27, 71, 25]
Generated Node #0,3: 91:[27, 71, 25] Operation: 46-21=25
Exploring Operation: 71-46=25, Resulting Numbers: [27, 21, 25]
Generated Node #0,4: 91:[27, 21, 25] Operation: 71-46=25
Moving to Node #0,0
Current State: 91:[21, 71, 19], Operations: ['46-27=19']
Exploring Operation: 71+19=90, Resulting Numbers: [21, 90]
Generated Node #0,0,0: 91:[21, 90] Operation: 71+19=90
Exploring Operation: 21+19=40, Resulting Numbers: [71, 40]
Generated Node #0,0,1: 91:[71, 40] Operation: 21+19=40
Exploring Operation: 71-21=50, Resulting Numbers: [19, 50]
Generated Node #0,0,2: 91:[19, 50] Operation: 71-21=50
Exploring Operation: 21+71=92, Resulting Numbers: [19, 92]
Generated Node #0,0,3: 91:[19, 92] Operation: 21+71=92
Exploring Operation: 21-19=2, Resulting Numbers: [71, 2]
Generated Node #0,0,4: 91:[71, 2] Operation: 21-19=2
Moving to Node #0,4
Current State: 91:[27, 21, 25], Operations: ['71-46=25']
Exploring Operation: 27+25=52, Resulting Numbers: [21, 52]
Generated Node #0,4,0: 91:[21, 52] Operation: 27+25=52
Exploring Operation: 27+21=48, Resulting Numbers: [25, 48]
Generated Node #0,4,1: 91:[25, 48] Operation: 27+21=48
Exploring Operation: 25-21=4, Resulting Numbers: [27, 4]
Generated Node #0,4,2: 91:[27, 4] Operation: 25-21=4
Exploring Operation: 27-21=6, Resulting Numbers: [25, 6]
Generated Node #0,4,3: 91:[25, 6] Operation: 27-21=6
Exploring Operation: 27-25=2, Resulting Numbers: [21, 2]
Generated Node #0,4,4: 91:[21, 2] Operation: 27-25=2
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 91:[25, 6], Operations: ['71-46=25', '27-21=6']
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,91 unequal: No Solution
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 91:[21, 2], Operations: ['71-46=25', '27-25=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 91:[27, 4], Operations: ['71-46=25', '25-21=4']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 91:[21, 52], Operations: ['71-46=25', '27+25=52']
Exploring Operation: 21*52=1092, Resulting Numbers: [1092]
1092,91 unequal: No Solution
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 21+52=73, Resulting Numbers: [73]
73,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 91:[25, 48], Operations: ['71-46=25', '27+21=48']
Exploring Operation: 25+48=73, Resulting Numbers: [73]
73,91 unequal: No Solution
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 25*48=1200, Resulting Numbers: [1200]
1200,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 91:[21, 71, 73], Operations: ['27+46=73']
Exploring Operation: 21+71=92, Resulting Numbers: [73, 92]
Generated Node #0,2,0: 91:[73, 92] Operation: 21+71=92
Exploring Operation: 73-71=2, Resulting Numbers: [21, 2]
Generated Node #0,2,1: 91:[21, 2] Operation: 73-71=2
Exploring Operation: 73-21=52, Resulting Numbers: [71, 52]
Generated Node #0,2,2: 91:[71, 52] Operation: 73-21=52
Exploring Operation: 71-21=50, Resulting Numbers: [73, 50]
Generated Node #0,2,3: 91:[73, 50] Operation: 71-21=50
Exploring Operation: 21+73=94, Resulting Numbers: [71, 94]
Generated Node #0,2,4: 91:[71, 94] Operation: 21+73=94
Moving to Node #0,3
Current State: 91:[27, 71, 25], Operations: ['46-21=25']
Exploring Operation: 71+25=96, Resulting Numbers: [27, 96]
Generated Node #0,3,0: 91:[27, 96] Operation: 71+25=96
Exploring Operation: 27-25=2, Resulting Numbers: [71, 2]
Generated Node #0,3,1: 91:[71, 2] Operation: 27-25=2
Exploring Operation: 71-27=44, Resulting Numbers: [25, 44]
Generated Node #0,3,2: 91:[25, 44] Operation: 71-27=44
Exploring Operation: 71-25=46, Resulting Numbers: [27, 46]
Generated Node #0,3,3: 91:[27, 46] Operation: 71-25=46
Exploring Operation: 27+71=98, Resulting Numbers: [25, 98]
Generated Node #0,3,4: 91:[25, 98] Operation: 27+71=98
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 91:[27, 96], Operations: ['46-21=25', '71+25=96']
Exploring Operation: 27+96=123, Resulting Numbers: [123]
123,91 unequal: No Solution
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,91 unequal: No Solution
Exploring Operation: 27*96=2592, Resulting Numbers: [2592]
2592,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 91:[25, 98], Operations: ['46-21=25', '27+71=98']
Exploring Operation: 98-25=73, Resulting Numbers: [73]
73,91 unequal: No Solution
Exploring Operation: 25+98=123, Resulting Numbers: [123]
123,91 unequal: No Solution
Exploring Operation: 25*98=2450, Resulting Numbers: [2450]
2450,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 91:[71, 2], Operations: ['46-21=25', '27-25=2']
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,91 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,91 unequal: No Solution
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 91:[25, 44], Operations: ['46-21=25', '71-27=44']
Exploring Operation: 25+44=69, Resulting Numbers: [69]
69,91 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 25*44=1100, Resulting Numbers: [1100]
1100,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 91:[27, 46], Operations: ['46-21=25', '71-25=46']
Exploring Operation: 27+46=73, Resulting Numbers: [73]
73,91 unequal: No Solution
Exploring Operation: 27*46=1242, Resulting Numbers: [1242]
1242,91 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 91:[21, 46, 98], Operations: ['27+71=98']
Exploring Operation: 98-21=77, Resulting Numbers: [46, 77]
Generated Node #0,1,0: 91:[46, 77] Operation: 98-21=77
Exploring Operation: 21+46=67, Resulting Numbers: [98, 67]
Generated Node #0,1,1: 91:[98, 67] Operation: 21+46=67
Exploring Operation: 21+98=119, Resulting Numbers: [46, 119]
Generated Node #0,1,2: 91:[46, 119] Operation: 21+98=119
Exploring Operation: 46-21=25, Resulting Numbers: [98, 25]
Generated Node #0,1,3: 91:[98, 25] Operation: 46-21=25
Exploring Operation: 98-46=52, Resulting Numbers: [21, 52]
Generated Node #0,1,4: 91:[21, 52] Operation: 98-46=52
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 91:[98, 25], Operations: ['27+71=98', '46-21=25']
Exploring Operation: 98*25=2450, Resulting Numbers: [2450]
2450,91 unequal: No Solution
Exploring Operation: 98+25=123, Resulting Numbers: [123]
123,91 unequal: No Solution
Exploring Operation: 98-25=73, Resulting Numbers: [73]
73,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[98, 67], Operations: ['27+71=98', '21+46=67']
Exploring Operation: 98*67=6566, Resulting Numbers: [6566]
6566,91 unequal: No Solution
Exploring Operation: 98-67=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 98+67=165, Resulting Numbers: [165]
165,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[46, 77], Operations: ['27+71=98', '98-21=77']
Exploring Operation: 46*77=3542, Resulting Numbers: [3542]
3542,91 unequal: No Solution
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 46+77=123, Resulting Numbers: [123]
123,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 91:[21, 52], Operations: ['27+71=98', '98-46=52']
Exploring Operation: 21+52=73, Resulting Numbers: [73]
73,91 unequal: No Solution
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 21*52=1092, Resulting Numbers: [1092]
1092,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[46, 119], Operations: ['27+71=98', '21+98=119']
Exploring Operation: 46*119=5474, Resulting Numbers: [5474]
5474,91 unequal: No Solution
Exploring Operation: 46+119=165, Resulting Numbers: [165]
165,91 unequal: No Solution
Exploring Operation: 119-46=73, Resulting Numbers: [73]
73,91 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: 91:[19, 92], Operations: ['46-27=19', '21+71=92']
Exploring Operation: 19*92=1748, Resulting Numbers: [1748]
1748,91 unequal: No Solution
Exploring Operation: 92-19=73, Resulting Numbers: [73]
73,91 unequal: No Solution
Exploring Operation: 19+92=111, Resulting Numbers: [111]
111,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[21, 90], Operations: ['46-27=19', '71+19=90']
Exploring Operation: 21*90=1890, Resulting Numbers: [1890]
1890,91 unequal: No Solution
Exploring Operation: 90-21=69, Resulting Numbers: [69]
69,91 unequal: No Solution
Exploring Operation: 21+90=111, Resulting Numbers: [111]
111,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[21, 2], Operations: ['27+46=73', '73-71=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[73, 92], Operations: ['27+46=73', '21+71=92']
Exploring Operation: 92-73=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 73*92=6716, Resulting Numbers: [6716]
6716,91 unequal: No Solution
Exploring Operation: 73+92=165, Resulting Numbers: [165]
165,91 unequal: No Solution
Moving to Node #0,2,4
Current State: 91:[71, 94], Operations: ['27+46=73', '21+73=94']
Exploring Operation: 71*94=6674, Resulting Numbers: [6674]
6674,91 unequal: No Solution
Exploring Operation: 71+94=165, Resulting Numbers: [165]
165,91 unequal: No Solution
Exploring Operation: 94-71=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Moving to Node #0,0,4
Current State: 91:[71, 2], Operations: ['46-27=19', '21-19=2']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,91 unequal: No Solution
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,91 unequal: No Solution
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[19, 50], Operations: ['46-27=19', '71-21=50']
Exploring Operation: 19*50=950, Resulting Numbers: [950]
950,91 unequal: No Solution
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 19+50=69, Resulting Numbers: [69]
69,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[71, 40], Operations: ['46-27=19', '21+19=40']
Exploring Operation: 71+40=111, Resulting Numbers: [111]
111,91 unequal: No Solution
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 71*40=2840, Resulting Numbers: [2840]
2840,91 unequal: No Solution
Moving to Node #0,2,3
Current State: 91:[73, 50], Operations: ['27+46=73', '71-21=50']
Exploring Operation: 73-50=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 73+50=123, Resulting Numbers: [123]
123,91 unequal: No Solution
Exploring Operation: 73*50=3650, Resulting Numbers: [3650]
3650,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[71, 52], Operations: ['27+46=73', '73-21=52']
Exploring Operation: 71*52=3692, Resulting Numbers: [3692]
3692,91 unequal: No Solution
Exploring Operation: 71+52=123, Resulting Numbers: [123]
123,91 unequal: No Solution
Exploring Operation: 71-52=19, Resulting Numbers: [19]
19,91 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
74,
6,
45,
71
] | 27 | [
"74-71=3",
"6*3=18",
"45-18=27"
] | Current State: 27:[74, 6, 45, 71], Operations: []
Exploring Operation: 74-71=3, Resulting Numbers: [6, 45, 3]
Generated Node #2: [6, 45, 3] from Operation: 74-71=3
Current State: 27:[6, 45, 3], Operations: ['74-71=3']
Exploring Operation: 6*3=18, Resulting Numbers: [45, 18]
Generated Node #3: [45, 18] from Operation: 6*3=18
Current State: 27:[45, 18], Operations: ['74-71=3', '6*3=18']
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[74, 6, 45, 71], Operations: []
Exploring Operation: 74-71=3, Resulting Numbers: [6, 45, 3]
Generated Node #0,0: 27:[6, 45, 3] Operation: 74-71=3
Moving to Node #0,0
Current State: 27:[6, 45, 3], Operations: ['74-71=3']
Exploring Operation: 45/3=15, Resulting Numbers: [6, 15]
Generated Node #0,0,0: 27:[6, 15] Operation: 45/3=15
Moving to Node #0,0,0
Current State: 27:[6, 15], Operations: ['74-71=3', '45/3=15']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,27 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
98,
60,
88,
12
] | 42 | [
"98*12=1176",
"88-60=28",
"1176/28=42"
] | Current State: 42:[98, 60, 88, 12], Operations: []
Exploring Operation: 98*12=1176, Resulting Numbers: [60, 88, 1176]
Generated Node #2: [60, 88, 1176] from Operation: 98*12=1176
Current State: 42:[60, 88, 1176], Operations: ['98*12=1176']
Exploring Operation: 88-60=28, Resulting Numbers: [1176, 28]
Generated Node #3: [1176, 28] from Operation: 88-60=28
Current State: 42:[1176, 28], Operations: ['98*12=1176', '88-60=28']
Exploring Operation: 1176/28=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[98, 60, 88, 12], Operations: []
Exploring Operation: 88-60=28, Resulting Numbers: [98, 12, 28]
Generated Node #0,0: 42:[98, 12, 28] Operation: 88-60=28
Exploring Operation: 98-60=38, Resulting Numbers: [88, 12, 38]
Generated Node #0,1: 42:[88, 12, 38] Operation: 98-60=38
Exploring Operation: 60/12=5, Resulting Numbers: [98, 88, 5]
Generated Node #0,2: 42:[98, 88, 5] Operation: 60/12=5
Exploring Operation: 98-88=10, Resulting Numbers: [60, 12, 10]
Generated Node #0,3: 42:[60, 12, 10] Operation: 98-88=10
Start Sub Search at level 1: Moving to Node #0,3
Current State: 42:[60, 12, 10], Operations: ['98-88=10']
Exploring Operation: 60-12=48, Resulting Numbers: [10, 48]
Generated Node #0,3,0: 42:[10, 48] Operation: 60-12=48
Exploring Operation: 60/10=6, Resulting Numbers: [12, 6]
Generated Node #0,3,1: 42:[12, 6] Operation: 60/10=6
Exploring Operation: 60/12=5, Resulting Numbers: [10, 5]
Generated Node #0,3,2: 42:[10, 5] Operation: 60/12=5
Exploring Operation: 60-10=50, Resulting Numbers: [12, 50]
Generated Node #0,3,3: 42:[12, 50] Operation: 60-10=50
Moving to Node #0,3,1
Current State: 42:[12, 6], Operations: ['98-88=10', '60/10=6']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,42 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Moving to Node #0,3,2
Current State: 42:[10, 5], Operations: ['98-88=10', '60/12=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,42 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Moving to Node #0,3,0
Current State: 42:[10, 48], Operations: ['98-88=10', '60-12=48']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,42 unequal: No Solution
Exploring Operation: 10*48=480, Resulting Numbers: [480]
480,42 unequal: No Solution
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,42 unequal: No Solution
Moving to Node #0,3,3
Current State: 42:[12, 50], Operations: ['98-88=10', '60-10=50']
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,42 unequal: No Solution
Exploring Operation: 12*50=600, Resulting Numbers: [600]
600,42 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[88, 12, 38], Operations: ['98-60=38']
Exploring Operation: 88-38=50, Resulting Numbers: [12, 50]
Generated Node #0,1,0: 42:[12, 50] Operation: 88-38=50
Exploring Operation: 38-12=26, Resulting Numbers: [88, 26]
Generated Node #0,1,1: 42:[88, 26] Operation: 38-12=26
Exploring Operation: 12+38=50, Resulting Numbers: [88, 50]
Generated Node #0,1,2: 42:[88, 50] Operation: 12+38=50
Exploring Operation: 88-12=76, Resulting Numbers: [38, 76]
Generated Node #0,1,3: 42:[38, 76] Operation: 88-12=76
Moving to Node #0,1,0
Current State: 42:[12, 50], Operations: ['98-60=38', '88-38=50']
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,42 unequal: No Solution
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,42 unequal: No Solution
Exploring Operation: 12*50=600, Resulting Numbers: [600]
600,42 unequal: No Solution
Moving to Node #0,1,3
Current State: 42:[38, 76], Operations: ['98-60=38', '88-12=76']
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,42 unequal: No Solution
Exploring Operation: 38*76=2888, Resulting Numbers: [2888]
2888,42 unequal: No Solution
Exploring Operation: 38+76=114, Resulting Numbers: [114]
114,42 unequal: No Solution
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[88, 26], Operations: ['98-60=38', '38-12=26']
Exploring Operation: 88*26=2288, Resulting Numbers: [2288]
2288,42 unequal: No Solution
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,42 unequal: No Solution
Exploring Operation: 88+26=114, Resulting Numbers: [114]
114,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[88, 50], Operations: ['98-60=38', '12+38=50']
Exploring Operation: 88+50=138, Resulting Numbers: [138]
138,42 unequal: No Solution
Exploring Operation: 88*50=4400, Resulting Numbers: [4400]
4400,42 unequal: No Solution
Exploring Operation: 88-50=38, Resulting Numbers: [38]
38,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[98, 12, 28], Operations: ['88-60=28']
Exploring Operation: 28-12=16, Resulting Numbers: [98, 16]
Generated Node #0,0,0: 42:[98, 16] Operation: 28-12=16
Exploring Operation: 12+28=40, Resulting Numbers: [98, 40]
Generated Node #0,0,1: 42:[98, 40] Operation: 12+28=40
Exploring Operation: 98-12=86, Resulting Numbers: [28, 86]
Generated Node #0,0,2: 42:[28, 86] Operation: 98-12=86
Exploring Operation: 98-28=70, Resulting Numbers: [12, 70]
Generated Node #0,0,3: 42:[12, 70] Operation: 98-28=70
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 42:[12, 70], Operations: ['88-60=28', '98-28=70']
Exploring Operation: 12+70=82, Resulting Numbers: [82]
82,42 unequal: No Solution
Exploring Operation: 12*70=840, Resulting Numbers: [840]
840,42 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,42 unequal: No Solution
No 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: 42:[28, 86], Operations: ['88-60=28', '98-12=86']
Exploring Operation: 28*86=2408, Resulting Numbers: [2408]
2408,42 unequal: No Solution
Exploring Operation: 28+86=114, Resulting Numbers: [114]
114,42 unequal: No Solution
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,42 unequal: No Solution
No 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: 42:[98, 16], Operations: ['88-60=28', '28-12=16']
Exploring Operation: 98+16=114, Resulting Numbers: [114]
114,42 unequal: No Solution
Exploring Operation: 98-16=82, Resulting Numbers: [82]
82,42 unequal: No Solution
Exploring Operation: 98*16=1568, Resulting Numbers: [1568]
1568,42 unequal: No Solution
No 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: 42:[98, 40], Operations: ['88-60=28', '12+28=40']
Exploring Operation: 98*40=3920, Resulting Numbers: [3920]
3920,42 unequal: No Solution
Exploring Operation: 98-40=58, Resulting Numbers: [58]
58,42 unequal: No Solution
Exploring Operation: 98+40=138, Resulting Numbers: [138]
138,42 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: 42:[98, 88, 5], Operations: ['60/12=5']
Exploring Operation: 98+5=103, Resulting Numbers: [88, 103]
Generated Node #0,2,0: 42:[88, 103] Operation: 98+5=103
Exploring Operation: 88-5=83, Resulting Numbers: [98, 83]
Generated Node #0,2,1: 42:[98, 83] Operation: 88-5=83
Exploring Operation: 98-88=10, Resulting Numbers: [5, 10]
Generated Node #0,2,2: 42:[5, 10] Operation: 98-88=10
Exploring Operation: 98-5=93, Resulting Numbers: [88, 93]
Generated Node #0,2,3: 42:[88, 93] Operation: 98-5=93
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 42:[5, 10], Operations: ['60/12=5', '98-88=10']
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,42 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,42 unequal: No Solution
No 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: 42:[98, 83], Operations: ['60/12=5', '88-5=83']
Exploring Operation: 98+83=181, Resulting Numbers: [181]
181,42 unequal: No Solution
Exploring Operation: 98*83=8134, Resulting Numbers: [8134]
8134,42 unequal: No Solution
Exploring Operation: 98-83=15, Resulting Numbers: [15]
15,42 unequal: No Solution
No 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: 42:[88, 93], Operations: ['60/12=5', '98-5=93']
Exploring Operation: 93-88=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 88+93=181, Resulting Numbers: [181]
181,42 unequal: No Solution
Exploring Operation: 88*93=8184, Resulting Numbers: [8184]
8184,42 unequal: No Solution
No 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: 42:[88, 103], Operations: ['60/12=5', '98+5=103']
Exploring Operation: 88+103=191, Resulting Numbers: [191]
191,42 unequal: No Solution
Exploring Operation: 103-88=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Exploring Operation: 88*103=9064, Resulting Numbers: [9064]
9064,42 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 |
[
6,
41,
46,
19
] | 56 | [
"41+19=60",
"60/6=10",
"46+10=56"
] | Current State: 56:[6, 41, 46, 19], Operations: []
Exploring Operation: 41+19=60, Resulting Numbers: [6, 46, 60]
Generated Node #2: [6, 46, 60] from Operation: 41+19=60
Current State: 56:[6, 46, 60], Operations: ['41+19=60']
Exploring Operation: 60/6=10, Resulting Numbers: [46, 10]
Generated Node #3: [46, 10] from Operation: 60/6=10
Current State: 56:[46, 10], Operations: ['41+19=60', '60/6=10']
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[6, 41, 46, 19], Operations: []
Exploring Operation: 41+19=60, Resulting Numbers: [6, 46, 60]
Generated Node #0,0: 56:[6, 46, 60] Operation: 41+19=60
Exploring Operation: 46-19=27, Resulting Numbers: [6, 41, 27]
Generated Node #0,1: 56:[6, 41, 27] Operation: 46-19=27
Exploring Operation: 46-41=5, Resulting Numbers: [6, 19, 5]
Generated Node #0,2: 56:[6, 19, 5] Operation: 46-41=5
Moving to Node #0,2
Current State: 56:[6, 19, 5], Operations: ['46-41=5']
Exploring Operation: 19-6=13, Resulting Numbers: [5, 13]
Generated Node #0,2,0: 56:[5, 13] Operation: 19-6=13
Exploring Operation: 6+19=25, Resulting Numbers: [5, 25]
Generated Node #0,2,1: 56:[5, 25] Operation: 6+19=25
Exploring Operation: 19-5=14, Resulting Numbers: [6, 14]
Generated Node #0,2,2: 56:[6, 14] Operation: 19-5=14
Moving to Node #0,0
Current State: 56:[6, 46, 60], Operations: ['41+19=60']
Exploring Operation: 60-46=14, Resulting Numbers: [6, 14]
Generated Node #0,0,0: 56:[6, 14] Operation: 60-46=14
Exploring Operation: 6+46=52, Resulting Numbers: [60, 52]
Generated Node #0,0,1: 56:[60, 52] Operation: 6+46=52
Exploring Operation: 60-6=54, Resulting Numbers: [46, 54]
Generated Node #0,0,2: 56:[46, 54] Operation: 60-6=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[6, 14], Operations: ['41+19=60', '60-46=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,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,1
Current State: 56:[60, 52], Operations: ['41+19=60', '6+46=52']
Exploring Operation: 60+52=112, Resulting Numbers: [112]
112,56 unequal: No Solution
Exploring Operation: 60*52=3120, Resulting Numbers: [3120]
3120,56 unequal: No Solution
Exploring Operation: 60-52=8, Resulting Numbers: [8]
8,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,2
Current State: 56:[46, 54], Operations: ['41+19=60', '60-6=54']
Exploring Operation: 46+54=100, Resulting Numbers: [100]
100,56 unequal: No Solution
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 46*54=2484, Resulting Numbers: [2484]
2484,56 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: 56:[6, 41, 27], Operations: ['46-19=27']
Exploring Operation: 41-27=14, Resulting Numbers: [6, 14]
Generated Node #0,1,0: 56:[6, 14] Operation: 41-27=14
Exploring Operation: 6+41=47, Resulting Numbers: [27, 47]
Generated Node #0,1,1: 56:[27, 47] Operation: 6+41=47
Exploring Operation: 41-6=35, Resulting Numbers: [27, 35]
Generated Node #0,1,2: 56:[27, 35] Operation: 41-6=35
Moving to Node #0,2,2
Current State: 56:[6, 14], Operations: ['46-41=5', '19-5=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[6, 14], Operations: ['46-19=27', '41-27=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,56 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[5, 13], Operations: ['46-41=5', '19-6=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,56 unequal: No Solution
Moving to Node #0,2,1
Current State: 56:[5, 25], Operations: ['46-41=5', '6+19=25']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[27, 35], Operations: ['46-19=27', '41-6=35']
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 27*35=945, Resulting Numbers: [945]
945,56 unequal: No Solution
Exploring Operation: 27+35=62, Resulting Numbers: [62]
62,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[27, 47], Operations: ['46-19=27', '6+41=47']
Exploring Operation: 47-27=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 27+47=74, Resulting Numbers: [74]
74,56 unequal: No Solution
Exploring Operation: 27*47=1269, Resulting Numbers: [1269]
1269,56 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
70,
28,
5,
45
] | 15 | [
"70-28=42",
"45-42=3",
"5*3=15"
] | Current State: 15:[70, 28, 5, 45], Operations: []
Exploring Operation: 70-28=42, Resulting Numbers: [5, 45, 42]
Generated Node #2: [5, 45, 42] from Operation: 70-28=42
Current State: 15:[5, 45, 42], Operations: ['70-28=42']
Exploring Operation: 45-42=3, Resulting Numbers: [5, 3]
Generated Node #3: [5, 3] from Operation: 45-42=3
Current State: 15:[5, 3], Operations: ['70-28=42', '45-42=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[70, 28, 5, 45], Operations: []
Exploring Operation: 70-45=25, Resulting Numbers: [28, 5, 25]
Generated Node #0,0: 15:[28, 5, 25] Operation: 70-45=25
Moving to Node #0,0
Current State: 15:[28, 5, 25], Operations: ['70-45=25']
Exploring Operation: 28-25=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 15:[5, 3] Operation: 28-25=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[5, 3], Operations: ['70-45=25', '28-25=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[70, 28, 5, 45], Operations: []
Exploring Operation: 70-45=25, Resulting Numbers: [28, 5, 25]
Generated Node #0,0: 15:[28, 5, 25] Operation: 70-45=25
Moving to Node #0,0
Current State: 15:[28, 5, 25], Operations: ['70-45=25']
Exploring Operation: 28-25=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 15:[5, 3] Operation: 28-25=3
Moving to Node #0,0,0
Current State: 15:[5, 3], Operations: ['70-45=25', '28-25=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
57,
73,
74,
77
] | 21 | [
"57+73=130",
"74+77=151",
"151-130=21"
] | Current State: 21:[57, 73, 74, 77], Operations: []
Exploring Operation: 57+73=130, Resulting Numbers: [74, 77, 130]
Generated Node #2: [74, 77, 130] from Operation: 57+73=130
Current State: 21:[74, 77, 130], Operations: ['57+73=130']
Exploring Operation: 74+77=151, Resulting Numbers: [130, 151]
Generated Node #3: [130, 151] from Operation: 74+77=151
Current State: 21:[130, 151], Operations: ['57+73=130', '74+77=151']
Exploring Operation: 151-130=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[57, 73, 74, 77], Operations: []
Exploring Operation: 74-73=1, Resulting Numbers: [57, 77, 1]
Generated Node #0,0: 21:[57, 77, 1] Operation: 74-73=1
Exploring Operation: 77-74=3, Resulting Numbers: [57, 73, 3]
Generated Node #0,1: 21:[57, 73, 3] Operation: 77-74=3
Exploring Operation: 77-73=4, Resulting Numbers: [57, 74, 4]
Generated Node #0,2: 21:[57, 74, 4] Operation: 77-73=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[57, 73, 3], Operations: ['77-74=3']
Exploring Operation: 73-57=16, Resulting Numbers: [3, 16]
Generated Node #0,1,0: 21:[3, 16] Operation: 73-57=16
Exploring Operation: 57/3=19, Resulting Numbers: [73, 19]
Generated Node #0,1,1: 21:[73, 19] Operation: 57/3=19
Exploring Operation: 57-3=54, Resulting Numbers: [73, 54]
Generated Node #0,1,2: 21:[73, 54] Operation: 57-3=54
Moving to Node #0,1,0
Current State: 21:[3, 16], Operations: ['77-74=3', '73-57=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,21 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[73, 19], Operations: ['77-74=3', '57/3=19']
Exploring Operation: 73*19=1387, Resulting Numbers: [1387]
1387,21 unequal: No Solution
Exploring Operation: 73-19=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 73+19=92, Resulting Numbers: [92]
92,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[73, 54], Operations: ['77-74=3', '57-3=54']
Exploring Operation: 73*54=3942, Resulting Numbers: [3942]
3942,21 unequal: No Solution
Exploring Operation: 73+54=127, Resulting Numbers: [127]
127,21 unequal: No Solution
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[57, 74, 4], Operations: ['77-73=4']
Exploring Operation: 74-57=17, Resulting Numbers: [4, 17]
Generated Node #0,2,0: 21:[4, 17] Operation: 74-57=17
Exploring Operation: 74-4=70, Resulting Numbers: [57, 70]
Generated Node #0,2,1: 21:[57, 70] Operation: 74-4=70
Exploring Operation: 57-4=53, Resulting Numbers: [74, 53]
Generated Node #0,2,2: 21:[74, 53] Operation: 57-4=53
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 21:[4, 17], Operations: ['77-73=4', '74-57=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,21 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[57, 73, 74, 77], Operations: []
Exploring Operation: 77-73=4, Resulting Numbers: [57, 74, 4]
Generated Node #0,2: 21:[57, 74, 4] Operation: 77-73=4
Moving to Node #0,2
Current State: 21:[57, 74, 4], Operations: ['77-73=4']
Exploring Operation: 74-57=17, Resulting Numbers: [4, 17]
Generated Node #0,2,0: 21:[4, 17] Operation: 74-57=17
Moving to Node #0,2,0
Current State: 21:[4, 17], Operations: ['77-73=4', '74-57=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
49,
6,
25,
5
] | 50 | [
"49+6=55",
"25/5=5",
"55-5=50"
] | Current State: 50:[49, 6, 25, 5], Operations: []
Exploring Operation: 49+6=55, Resulting Numbers: [25, 5, 55]
Generated Node #2: [25, 5, 55] from Operation: 49+6=55
Current State: 50:[25, 5, 55], Operations: ['49+6=55']
Exploring Operation: 25/5=5, Resulting Numbers: [55, 5]
Generated Node #3: [55, 5] from Operation: 25/5=5
Current State: 50:[55, 5], Operations: ['49+6=55', '25/5=5']
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[49, 6, 25, 5], Operations: []
Exploring Operation: 49-25=24, Resulting Numbers: [6, 5, 24]
Generated Node #0,0: 50:[6, 5, 24] Operation: 49-25=24
Moving to Node #0,0
Current State: 50:[6, 5, 24], Operations: ['49-25=24']
Exploring Operation: 24/6=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 50:[5, 4] Operation: 24/6=4
Moving to Node #0,0,0
Current State: 50:[5, 4], Operations: ['49-25=24', '24/6=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,50 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
55,
77,
61,
11
] | 63 | [
"77-55=22",
"22/11=2",
"61+2=63"
] | Current State: 63:[55, 77, 61, 11], Operations: []
Exploring Operation: 77-55=22, Resulting Numbers: [61, 11, 22]
Generated Node #2: [61, 11, 22] from Operation: 77-55=22
Current State: 63:[61, 11, 22], Operations: ['77-55=22']
Exploring Operation: 22/11=2, Resulting Numbers: [61, 2]
Generated Node #3: [61, 2] from Operation: 22/11=2
Current State: 63:[61, 2], Operations: ['77-55=22', '22/11=2']
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[55, 77, 61, 11], Operations: []
Exploring Operation: 77-55=22, Resulting Numbers: [61, 11, 22]
Generated Node #0,0: 63:[61, 11, 22] Operation: 77-55=22
Exploring Operation: 77/11=7, Resulting Numbers: [55, 61, 7]
Generated Node #0,1: 63:[55, 61, 7] Operation: 77/11=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[61, 11, 22], Operations: ['77-55=22']
Exploring Operation: 22-11=11, Resulting Numbers: [61, 11]
Generated Node #0,0,0: 63:[61, 11] Operation: 22-11=11
Exploring Operation: 22/11=2, Resulting Numbers: [61, 2]
Generated Node #0,0,1: 63:[61, 2] Operation: 22/11=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[61, 2], Operations: ['77-55=22', '22/11=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,63 unequal: No Solution
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[55, 77, 61, 11], Operations: []
Exploring Operation: 77-55=22, Resulting Numbers: [61, 11, 22]
Generated Node #0,0: 63:[61, 11, 22] Operation: 77-55=22
Moving to Node #0,0
Current State: 63:[61, 11, 22], Operations: ['77-55=22']
Exploring Operation: 22/11=2, Resulting Numbers: [61, 2]
Generated Node #0,0,1: 63:[61, 2] Operation: 22/11=2
Moving to Node #0,0,1
Current State: 63:[61, 2], Operations: ['77-55=22', '22/11=2']
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
6,
36,
33,
7
] | 11 | [
"36-33=3",
"6*3=18",
"18-7=11"
] | Current State: 11:[6, 36, 33, 7], Operations: []
Exploring Operation: 36-33=3, Resulting Numbers: [6, 7, 3]
Generated Node #2: [6, 7, 3] from Operation: 36-33=3
Current State: 11:[6, 7, 3], Operations: ['36-33=3']
Exploring Operation: 6*3=18, Resulting Numbers: [7, 18]
Generated Node #3: [7, 18] from Operation: 6*3=18
Current State: 11:[7, 18], Operations: ['36-33=3', '6*3=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[6, 36, 33, 7], Operations: []
Exploring Operation: 36-33=3, Resulting Numbers: [6, 7, 3]
Generated Node #0,0: 11:[6, 7, 3] Operation: 36-33=3
Moving to Node #0,0
Current State: 11:[6, 7, 3], Operations: ['36-33=3']
Exploring Operation: 6+3=9, Resulting Numbers: [7, 9]
Generated Node #0,0,0: 11:[7, 9] Operation: 6+3=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[7, 9], Operations: ['36-33=3', '6+3=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
82,
82,
79,
9
] | 79 | [
"82-82=0",
"9*0=0",
"79+0=79"
] | Current State: 79:[82, 82, 79, 9], Operations: []
Exploring Operation: 82-82=0, Resulting Numbers: [79, 9, 0]
Generated Node #2: [79, 9, 0] from Operation: 82-82=0
Current State: 79:[79, 9, 0], Operations: ['82-82=0']
Exploring Operation: 9*0=0, Resulting Numbers: [79, 0]
Generated Node #3: [79, 0] from Operation: 9*0=0
Current State: 79:[79, 0], Operations: ['82-82=0', '9*0=0']
Exploring Operation: 79+0=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[82, 82, 79, 9], Operations: []
Exploring Operation: 82-9=73, Resulting Numbers: [82, 79, 73]
Generated Node #0,0: 79:[82, 79, 73] Operation: 82-9=73
Exploring Operation: 79+9=88, Resulting Numbers: [82, 82, 88]
Generated Node #0,1: 79:[82, 82, 88] Operation: 79+9=88
Exploring Operation: 82+9=91, Resulting Numbers: [82, 79, 91]
Generated Node #0,2: 79:[82, 79, 91] Operation: 82+9=91
Exploring Operation: 82-9=73, Resulting Numbers: [82, 79, 73]
Generated Node #0,3: 79:[82, 79, 73] Operation: 82-9=73
Exploring Operation: 82+9=91, Resulting Numbers: [82, 79, 91]
Generated Node #0,4: 79:[82, 79, 91] Operation: 82+9=91
Moving to Node #0,0
Current State: 79:[82, 79, 73], Operations: ['82-9=73']
Exploring Operation: 82-73=9, Resulting Numbers: [79, 9]
Generated Node #0,0,0: 79:[79, 9] Operation: 82-73=9
Exploring Operation: 79+73=152, Resulting Numbers: [82, 152]
Generated Node #0,0,1: 79:[82, 152] Operation: 79+73=152
Exploring Operation: 79-73=6, Resulting Numbers: [82, 6]
Generated Node #0,0,2: 79:[82, 6] Operation: 79-73=6
Exploring Operation: 82+73=155, Resulting Numbers: [79, 155]
Generated Node #0,0,3: 79:[79, 155] Operation: 82+73=155
Exploring Operation: 82-79=3, Resulting Numbers: [73, 3]
Generated Node #0,0,4: 79:[73, 3] Operation: 82-79=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[79, 9], Operations: ['82-9=73', '82-73=9']
Exploring Operation: 79+9=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 79*9=711, Resulting Numbers: [711]
711,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[82, 152], Operations: ['82-9=73', '79+73=152']
Exploring Operation: 152-82=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 82+152=234, Resulting Numbers: [234]
234,79 unequal: No Solution
Exploring Operation: 82*152=12464, Resulting Numbers: [12464]
12464,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[82, 6], Operations: ['82-9=73', '79-73=6']
Exploring Operation: 82*6=492, Resulting Numbers: [492]
492,79 unequal: No Solution
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,79 unequal: No Solution
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 79:[79, 155], Operations: ['82-9=73', '82+73=155']
Exploring Operation: 155-79=76, Resulting Numbers: [76]
76,79 unequal: No Solution
Exploring Operation: 79*155=12245, Resulting Numbers: [12245]
12245,79 unequal: No Solution
Exploring Operation: 79+155=234, Resulting Numbers: [234]
234,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 79:[73, 3], Operations: ['82-9=73', '82-79=3']
Exploring Operation: 73*3=219, Resulting Numbers: [219]
219,79 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,79 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: 79:[82, 79, 73], Operations: ['82-9=73']
Exploring Operation: 79-73=6, Resulting Numbers: [82, 6]
Generated Node #0,3,0: 79:[82, 6] Operation: 79-73=6
Exploring Operation: 82-79=3, Resulting Numbers: [73, 3]
Generated Node #0,3,1: 79:[73, 3] Operation: 82-79=3
Exploring Operation: 79+73=152, Resulting Numbers: [82, 152]
Generated Node #0,3,2: 79:[82, 152] Operation: 79+73=152
Exploring Operation: 82-73=9, Resulting Numbers: [79, 9]
Generated Node #0,3,3: 79:[79, 9] Operation: 82-73=9
Exploring Operation: 82+73=155, Resulting Numbers: [79, 155]
Generated Node #0,3,4: 79:[79, 155] Operation: 82+73=155
Moving to Node #0,1
Current State: 79:[82, 82, 88], Operations: ['79+9=88']
Exploring Operation: 82+82=164, Resulting Numbers: [88, 164]
Generated Node #0,1,0: 79:[88, 164] Operation: 82+82=164
Exploring Operation: 88-82=6, Resulting Numbers: [82, 6]
Generated Node #0,1,1: 79:[82, 6] Operation: 88-82=6
Exploring Operation: 88-82=6, Resulting Numbers: [82, 6]
Generated Node #0,1,2: 79:[82, 6] Operation: 88-82=6
Exploring Operation: 82-82=0, Resulting Numbers: [88, 0]
Generated Node #0,1,3: 79:[88, 0] Operation: 82-82=0
Exploring Operation: 82/82=1, Resulting Numbers: [88, 1]
Generated Node #0,1,4: 79:[88, 1] Operation: 82/82=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[82, 6], Operations: ['79+9=88', '88-82=6']
Exploring Operation: 82*6=492, Resulting Numbers: [492]
492,79 unequal: No Solution
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,79 unequal: No Solution
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[82, 6], Operations: ['79+9=88', '88-82=6']
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,79 unequal: No Solution
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 82*6=492, Resulting Numbers: [492]
492,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 79:[88, 1], Operations: ['79+9=88', '82/82=1']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,79 unequal: No Solution
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 88/1=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 88+1=89, Resulting Numbers: [89]
89,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 79:[88, 0], Operations: ['79+9=88', '82-82=0']
Exploring Operation: 88+0=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 88-0=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 88*0=0, Resulting Numbers: [0]
0,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[88, 164], Operations: ['79+9=88', '82+82=164']
Exploring Operation: 88+164=252, Resulting Numbers: [252]
252,79 unequal: No Solution
Exploring Operation: 88*164=14432, Resulting Numbers: [14432]
14432,79 unequal: No Solution
Exploring Operation: 164-88=76, Resulting Numbers: [76]
76,79 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: 79:[82, 79, 91], Operations: ['82+9=91']
Exploring Operation: 82-79=3, Resulting Numbers: [91, 3]
Generated Node #0,2,0: 79:[91, 3] Operation: 82-79=3
Exploring Operation: 82+91=173, Resulting Numbers: [79, 173]
Generated Node #0,2,1: 79:[79, 173] Operation: 82+91=173
Exploring Operation: 91-82=9, Resulting Numbers: [79, 9]
Generated Node #0,2,2: 79:[79, 9] Operation: 91-82=9
Exploring Operation: 82+79=161, Resulting Numbers: [91, 161]
Generated Node #0,2,3: 79:[91, 161] Operation: 82+79=161
Exploring Operation: 91-79=12, Resulting Numbers: [82, 12]
Generated Node #0,2,4: 79:[82, 12] Operation: 91-79=12
Moving to Node #0,4
Current State: 79:[82, 79, 91], Operations: ['82+9=91']
Exploring Operation: 82-79=3, Resulting Numbers: [91, 3]
Generated Node #0,4,0: 79:[91, 3] Operation: 82-79=3
Exploring Operation: 91-82=9, Resulting Numbers: [79, 9]
Generated Node #0,4,1: 79:[79, 9] Operation: 91-82=9
Exploring Operation: 91-79=12, Resulting Numbers: [82, 12]
Generated Node #0,4,2: 79:[82, 12] Operation: 91-79=12
Exploring Operation: 82+79=161, Resulting Numbers: [91, 161]
Generated Node #0,4,3: 79:[91, 161] Operation: 82+79=161
Exploring Operation: 82+91=173, Resulting Numbers: [79, 173]
Generated Node #0,4,4: 79:[79, 173] Operation: 82+91=173
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 79:[79, 9], Operations: ['82+9=91', '91-82=9']
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 79*9=711, Resulting Numbers: [711]
711,79 unequal: No Solution
Exploring Operation: 79+9=88, Resulting Numbers: [88]
88,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 79:[82, 12], Operations: ['82+9=91', '91-79=12']
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 82*12=984, Resulting Numbers: [984]
984,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 79:[91, 3], Operations: ['82+9=91', '82-79=3']
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,79 unequal: No Solution
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 79:[91, 161], Operations: ['82+9=91', '82+79=161']
Exploring Operation: 161-91=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 91*161=14651, Resulting Numbers: [14651]
14651,79 unequal: No Solution
Exploring Operation: 91+161=252, Resulting Numbers: [252]
252,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 79:[79, 173], Operations: ['82+9=91', '82+91=173']
Exploring Operation: 79*173=13667, Resulting Numbers: [13667]
13667,79 unequal: No Solution
Exploring Operation: 79+173=252, Resulting Numbers: [252]
252,79 unequal: No Solution
Exploring Operation: 173-79=94, Resulting Numbers: [94]
94,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 79:[79, 9], Operations: ['82-9=73', '82-73=9']
Exploring Operation: 79+9=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 79*9=711, Resulting Numbers: [711]
711,79 unequal: No Solution
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[79, 9], Operations: ['82+9=91', '91-82=9']
Exploring Operation: 79+9=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 79*9=711, Resulting Numbers: [711]
711,79 unequal: No Solution
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Moving to Node #0,2,4
Current State: 79:[82, 12], Operations: ['82+9=91', '91-79=12']
Exploring Operation: 82*12=984, Resulting Numbers: [984]
984,79 unequal: No Solution
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Moving to Node #0,3,2
Current State: 79:[82, 152], Operations: ['82-9=73', '79+73=152']
Exploring Operation: 82+152=234, Resulting Numbers: [234]
234,79 unequal: No Solution
Exploring Operation: 152-82=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 82*152=12464, Resulting Numbers: [12464]
12464,79 unequal: No Solution
Moving to Node #0,3,0
Current State: 79:[82, 6], Operations: ['82-9=73', '79-73=6']
Exploring Operation: 82*6=492, Resulting Numbers: [492]
492,79 unequal: No Solution
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,79 unequal: No Solution
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Moving to Node #0,3,4
Current State: 79:[79, 155], Operations: ['82-9=73', '82+73=155']
Exploring Operation: 79*155=12245, Resulting Numbers: [12245]
12245,79 unequal: No Solution
Exploring Operation: 155-79=76, Resulting Numbers: [76]
76,79 unequal: No Solution
Exploring Operation: 79+155=234, Resulting Numbers: [234]
234,79 unequal: No Solution
Moving to Node #0,3,1
Current State: 79:[73, 3], Operations: ['82-9=73', '82-79=3']
Exploring Operation: 73*3=219, Resulting Numbers: [219]
219,79 unequal: No Solution
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,79 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[91, 3], Operations: ['82+9=91', '82-79=3']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,79 unequal: No Solution
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[91, 161], Operations: ['82+9=91', '82+79=161']
Exploring Operation: 161-91=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 91*161=14651, Resulting Numbers: [14651]
14651,79 unequal: No Solution
Exploring Operation: 91+161=252, Resulting Numbers: [252]
252,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[79, 173], Operations: ['82+9=91', '82+91=173']
Exploring Operation: 79*173=13667, Resulting Numbers: [13667]
13667,79 unequal: No Solution
Exploring Operation: 79+173=252, Resulting Numbers: [252]
252,79 unequal: No Solution
Exploring Operation: 173-79=94, Resulting Numbers: [94]
94,79 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
61,
87,
69,
28
] | 51 | [
"61+87=148",
"69+28=97",
"148-97=51"
] | Current State: 51:[61, 87, 69, 28], Operations: []
Exploring Operation: 61+87=148, Resulting Numbers: [69, 28, 148]
Generated Node #2: [69, 28, 148] from Operation: 61+87=148
Current State: 51:[69, 28, 148], Operations: ['61+87=148']
Exploring Operation: 69+28=97, Resulting Numbers: [148, 97]
Generated Node #3: [148, 97] from Operation: 69+28=97
Current State: 51:[148, 97], Operations: ['61+87=148', '69+28=97']
Exploring Operation: 148-97=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[61, 87, 69, 28], Operations: []
Exploring Operation: 87-69=18, Resulting Numbers: [61, 28, 18]
Generated Node #0,0: 51:[61, 28, 18] Operation: 87-69=18
Moving to Node #0,0
Current State: 51:[61, 28, 18], Operations: ['87-69=18']
Exploring Operation: 28+18=46, Resulting Numbers: [61, 46]
Generated Node #0,0,0: 51:[61, 46] Operation: 28+18=46
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[61, 46], Operations: ['87-69=18', '28+18=46']
Exploring Operation: 61-46=15, Resulting Numbers: [15]
15,51 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 |
[
2,
97,
74,
1
] | 23 | [
"2-1=1",
"97-74=23",
"1*23=23"
] | Current State: 23:[2, 97, 74, 1], Operations: []
Exploring Operation: 2-1=1, Resulting Numbers: [97, 74, 1]
Generated Node #2: [97, 74, 1] from Operation: 2-1=1
Current State: 23:[97, 74, 1], Operations: ['2-1=1']
Exploring Operation: 97-74=23, Resulting Numbers: [1, 23]
Generated Node #3: [1, 23] from Operation: 97-74=23
Current State: 23:[1, 23], Operations: ['2-1=1', '97-74=23']
Exploring Operation: 1*23=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[2, 97, 74, 1], Operations: []
Exploring Operation: 97-74=23, Resulting Numbers: [2, 1, 23]
Generated Node #0,0: 23:[2, 1, 23] Operation: 97-74=23
Moving to Node #0,0
Current State: 23:[2, 1, 23], Operations: ['97-74=23']
Exploring Operation: 2+1=3, Resulting Numbers: [23, 3]
Generated Node #0,0,0: 23:[23, 3] Operation: 2+1=3
Moving to Node #0,0,0
Current State: 23:[23, 3], Operations: ['97-74=23', '2+1=3']
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,23 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
78,
58,
10,
39
] | 69 | [
"78-58=20",
"10+39=49",
"20+49=69"
] | Current State: 69:[78, 58, 10, 39], Operations: []
Exploring Operation: 78-58=20, Resulting Numbers: [10, 39, 20]
Generated Node #2: [10, 39, 20] from Operation: 78-58=20
Current State: 69:[10, 39, 20], Operations: ['78-58=20']
Exploring Operation: 10+39=49, Resulting Numbers: [20, 49]
Generated Node #3: [20, 49] from Operation: 10+39=49
Current State: 69:[20, 49], Operations: ['78-58=20', '10+39=49']
Exploring Operation: 20+49=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[78, 58, 10, 39], Operations: []
Exploring Operation: 78/39=2, Resulting Numbers: [58, 10, 2]
Generated Node #0,0: 69:[58, 10, 2] Operation: 78/39=2
Exploring Operation: 58-39=19, Resulting Numbers: [78, 10, 19]
Generated Node #0,1: 69:[78, 10, 19] Operation: 58-39=19
Moving to Node #0,0
Current State: 69:[58, 10, 2], Operations: ['78/39=2']
Exploring Operation: 58+10=68, Resulting Numbers: [2, 68]
Generated Node #0,0,0: 69:[2, 68] Operation: 58+10=68
Exploring Operation: 58/2=29, Resulting Numbers: [10, 29]
Generated Node #0,0,1: 69:[10, 29] Operation: 58/2=29
Moving to Node #0,1
Current State: 69:[78, 10, 19], Operations: ['58-39=19']
Exploring Operation: 10+19=29, Resulting Numbers: [78, 29]
Generated Node #0,1,0: 69:[78, 29] Operation: 10+19=29
Exploring Operation: 78-10=68, Resulting Numbers: [19, 68]
Generated Node #0,1,1: 69:[19, 68] Operation: 78-10=68
Moving to Node #0,0,0
Current State: 69:[2, 68], Operations: ['78/39=2', '58+10=68']
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[19, 68], Operations: ['58-39=19', '78-10=68']
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,69 unequal: No Solution
Exploring Operation: 19+68=87, Resulting Numbers: [87]
87,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[10, 29], Operations: ['78/39=2', '58/2=29']
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[78, 29], Operations: ['58-39=19', '10+19=29']
Exploring Operation: 78-29=49, Resulting Numbers: [49]
49,69 unequal: No Solution
Exploring Operation: 78+29=107, Resulting Numbers: [107]
107,69 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
12,
52,
29,
88
] | 84 | [
"52+29=81",
"88-81=7",
"12*7=84"
] | Current State: 84:[12, 52, 29, 88], Operations: []
Exploring Operation: 52+29=81, Resulting Numbers: [12, 88, 81]
Generated Node #2: [12, 88, 81] from Operation: 52+29=81
Current State: 84:[12, 88, 81], Operations: ['52+29=81']
Exploring Operation: 88-81=7, Resulting Numbers: [12, 7]
Generated Node #3: [12, 7] from Operation: 88-81=7
Current State: 84:[12, 7], Operations: ['52+29=81', '88-81=7']
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[12, 52, 29, 88], Operations: []
Exploring Operation: 52-29=23, Resulting Numbers: [12, 88, 23]
Generated Node #0,0: 84:[12, 88, 23] Operation: 52-29=23
Exploring Operation: 52+29=81, Resulting Numbers: [12, 88, 81]
Generated Node #0,1: 84:[12, 88, 81] Operation: 52+29=81
Exploring Operation: 12+29=41, Resulting Numbers: [52, 88, 41]
Generated Node #0,2: 84:[52, 88, 41] Operation: 12+29=41
Exploring Operation: 52-12=40, Resulting Numbers: [29, 88, 40]
Generated Node #0,3: 84:[29, 88, 40] Operation: 52-12=40
Exploring Operation: 88-52=36, Resulting Numbers: [12, 29, 36]
Generated Node #0,4: 84:[12, 29, 36] Operation: 88-52=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[12, 88, 23], Operations: ['52-29=23']
Exploring Operation: 12+23=35, Resulting Numbers: [88, 35]
Generated Node #0,0,0: 84:[88, 35] Operation: 12+23=35
Exploring Operation: 88-23=65, Resulting Numbers: [12, 65]
Generated Node #0,0,1: 84:[12, 65] Operation: 88-23=65
Exploring Operation: 12+88=100, Resulting Numbers: [23, 100]
Generated Node #0,0,2: 84:[23, 100] Operation: 12+88=100
Exploring Operation: 23-12=11, Resulting Numbers: [88, 11]
Generated Node #0,0,3: 84:[88, 11] Operation: 23-12=11
Exploring Operation: 88-12=76, Resulting Numbers: [23, 76]
Generated Node #0,0,4: 84:[23, 76] Operation: 88-12=76
Moving to Node #0,0,3
Current State: 84:[88, 11], Operations: ['52-29=23', '23-12=11']
Exploring Operation: 88*11=968, Resulting Numbers: [968]
968,84 unequal: No Solution
Exploring Operation: 88/11=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Exploring Operation: 88-11=77, Resulting Numbers: [77]
77,84 unequal: No Solution
Exploring Operation: 88+11=99, Resulting Numbers: [99]
99,84 unequal: No Solution
Moving to Node #0,0,4
Current State: 84:[23, 76], Operations: ['52-29=23', '88-12=76']
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 23*76=1748, Resulting Numbers: [1748]
1748,84 unequal: No Solution
Exploring Operation: 23+76=99, Resulting Numbers: [99]
99,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[88, 35], Operations: ['52-29=23', '12+23=35']
Exploring Operation: 88*35=3080, Resulting Numbers: [3080]
3080,84 unequal: No Solution
Exploring Operation: 88-35=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 88+35=123, Resulting Numbers: [123]
123,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[23, 100], Operations: ['52-29=23', '12+88=100']
Exploring Operation: 23*100=2300, Resulting Numbers: [2300]
2300,84 unequal: No Solution
Exploring Operation: 23+100=123, Resulting Numbers: [123]
123,84 unequal: No Solution
Exploring Operation: 100-23=77, Resulting Numbers: [77]
77,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[12, 65], Operations: ['52-29=23', '88-23=65']
Exploring Operation: 12*65=780, Resulting Numbers: [780]
780,84 unequal: No Solution
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 12+65=77, Resulting Numbers: [77]
77,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[12, 88, 81], Operations: ['52+29=81']
Exploring Operation: 12+88=100, Resulting Numbers: [81, 100]
Generated Node #0,1,0: 84:[81, 100] Operation: 12+88=100
Exploring Operation: 88-12=76, Resulting Numbers: [81, 76]
Generated Node #0,1,1: 84:[81, 76] Operation: 88-12=76
Exploring Operation: 81-12=69, Resulting Numbers: [88, 69]
Generated Node #0,1,2: 84:[88, 69] Operation: 81-12=69
Exploring Operation: 88-81=7, Resulting Numbers: [12, 7]
Generated Node #0,1,3: 84:[12, 7] Operation: 88-81=7
Exploring Operation: 12+81=93, Resulting Numbers: [88, 93]
Generated Node #0,1,4: 84:[88, 93] Operation: 12+81=93
Moving to Node #0,1,3
Current State: 84:[12, 7], Operations: ['52+29=81', '88-81=7']
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[12, 52, 29, 88], Operations: []
Exploring Operation: 52+29=81, Resulting Numbers: [12, 88, 81]
Generated Node #0,1: 84:[12, 88, 81] Operation: 52+29=81
Moving to Node #0,1
Current State: 84:[12, 88, 81], Operations: ['52+29=81']
Exploring Operation: 88-81=7, Resulting Numbers: [12, 7]
Generated Node #0,1,3: 84:[12, 7] Operation: 88-81=7
Moving to Node #0,1,3
Current State: 84:[12, 7], Operations: ['52+29=81', '88-81=7']
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
66,
5,
74,
13
] | 27 | [
"74-66=8",
"5*8=40",
"40-13=27"
] | Current State: 27:[66, 5, 74, 13], Operations: []
Exploring Operation: 74-66=8, Resulting Numbers: [5, 13, 8]
Generated Node #2: [5, 13, 8] from Operation: 74-66=8
Current State: 27:[5, 13, 8], Operations: ['74-66=8']
Exploring Operation: 5*8=40, Resulting Numbers: [13, 40]
Generated Node #3: [13, 40] from Operation: 5*8=40
Current State: 27:[13, 40], Operations: ['74-66=8', '5*8=40']
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[66, 5, 74, 13], Operations: []
Exploring Operation: 66-5=61, Resulting Numbers: [74, 13, 61]
Generated Node #0,0: 27:[74, 13, 61] Operation: 66-5=61
Exploring Operation: 74-5=69, Resulting Numbers: [66, 13, 69]
Generated Node #0,1: 27:[66, 13, 69] Operation: 74-5=69
Exploring Operation: 74-13=61, Resulting Numbers: [66, 5, 61]
Generated Node #0,2: 27:[66, 5, 61] Operation: 74-13=61
Exploring Operation: 74-66=8, Resulting Numbers: [5, 13, 8]
Generated Node #0,3: 27:[5, 13, 8] Operation: 74-66=8
Exploring Operation: 66-13=53, Resulting Numbers: [5, 74, 53]
Generated Node #0,4: 27:[5, 74, 53] Operation: 66-13=53
Start Sub Search at level 1: Moving to Node #0,3
Current State: 27:[5, 13, 8], Operations: ['74-66=8']
Exploring Operation: 8-5=3, Resulting Numbers: [13, 3]
Generated Node #0,3,0: 27:[13, 3] Operation: 8-5=3
Exploring Operation: 13-8=5, Resulting Numbers: [5, 5]
Generated Node #0,3,1: 27:[5, 5] Operation: 13-8=5
Exploring Operation: 13+8=21, Resulting Numbers: [5, 21]
Generated Node #0,3,2: 27:[5, 21] Operation: 13+8=21
Exploring Operation: 13-5=8, Resulting Numbers: [8, 8]
Generated Node #0,3,3: 27:[8, 8] Operation: 13-5=8
Exploring Operation: 5+8=13, Resulting Numbers: [13, 13]
Generated Node #0,3,4: 27:[13, 13] Operation: 5+8=13
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 27:[8, 8], Operations: ['74-66=8', '13-5=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,27 unequal: No Solution
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,27 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,27 unequal: No Solution
No 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: 27:[13, 3], Operations: ['74-66=8', '8-5=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,27 unequal: No Solution
No 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: 27:[5, 5], Operations: ['74-66=8', '13-8=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,27 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,27 unequal: No Solution
No 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: 27:[5, 21], Operations: ['74-66=8', '13+8=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,27 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 27:[13, 13], Operations: ['74-66=8', '5+8=13']
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,27 unequal: No Solution
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 13*13=169, Resulting Numbers: [169]
169,27 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: 27:[66, 5, 61], Operations: ['74-13=61']
Exploring Operation: 66-61=5, Resulting Numbers: [5, 5]
Generated Node #0,2,0: 27:[5, 5] Operation: 66-61=5
Exploring Operation: 61-5=56, Resulting Numbers: [66, 56]
Generated Node #0,2,1: 27:[66, 56] Operation: 61-5=56
Exploring Operation: 5+61=66, Resulting Numbers: [66, 66]
Generated Node #0,2,2: 27:[66, 66] Operation: 5+61=66
Exploring Operation: 66+5=71, Resulting Numbers: [61, 71]
Generated Node #0,2,3: 27:[61, 71] Operation: 66+5=71
Exploring Operation: 66-5=61, Resulting Numbers: [61, 61]
Generated Node #0,2,4: 27:[61, 61] Operation: 66-5=61
Moving to Node #0,2,0
Current State: 27:[5, 5], Operations: ['74-13=61', '66-61=5']
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,27 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Moving to Node #0,2,4
Current State: 27:[61, 61], Operations: ['74-13=61', '66-5=61']
Exploring Operation: 61*61=3721, Resulting Numbers: [3721]
3721,27 unequal: No Solution
Exploring Operation: 61/61=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 61-61=0, Resulting Numbers: [0]
0,27 unequal: No Solution
Exploring Operation: 61+61=122, Resulting Numbers: [122]
122,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[66, 56], Operations: ['74-13=61', '61-5=56']
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 66+56=122, Resulting Numbers: [122]
122,27 unequal: No Solution
Exploring Operation: 66*56=3696, Resulting Numbers: [3696]
3696,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[66, 66], Operations: ['74-13=61', '5+61=66']
Exploring Operation: 66-66=0, Resulting Numbers: [0]
0,27 unequal: No Solution
Exploring Operation: 66*66=4356, Resulting Numbers: [4356]
4356,27 unequal: No Solution
Exploring Operation: 66+66=132, Resulting Numbers: [132]
132,27 unequal: No Solution
Exploring Operation: 66/66=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Moving to Node #0,2,3
Current State: 27:[61, 71], Operations: ['74-13=61', '66+5=71']
Exploring Operation: 61*71=4331, Resulting Numbers: [4331]
4331,27 unequal: No Solution
Exploring Operation: 71-61=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 61+71=132, Resulting Numbers: [132]
132,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,4
Current State: 27:[5, 74, 53], Operations: ['66-13=53']
Exploring Operation: 74-5=69, Resulting Numbers: [53, 69]
Generated Node #0,4,0: 27:[53, 69] Operation: 74-5=69
Exploring Operation: 53-5=48, Resulting Numbers: [74, 48]
Generated Node #0,4,1: 27:[74, 48] Operation: 53-5=48
Exploring Operation: 5+74=79, Resulting Numbers: [53, 79]
Generated Node #0,4,2: 27:[53, 79] Operation: 5+74=79
Exploring Operation: 5+53=58, Resulting Numbers: [74, 58]
Generated Node #0,4,3: 27:[74, 58] Operation: 5+53=58
Exploring Operation: 74-53=21, Resulting Numbers: [5, 21]
Generated Node #0,4,4: 27:[5, 21] Operation: 74-53=21
Moving to Node #0,4,4
Current State: 27:[5, 21], Operations: ['66-13=53', '74-53=21']
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,27 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Moving to Node #0,4,1
Current State: 27:[74, 48], Operations: ['66-13=53', '53-5=48']
Exploring Operation: 74*48=3552, Resulting Numbers: [3552]
3552,27 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 74+48=122, Resulting Numbers: [122]
122,27 unequal: No Solution
Moving to Node #0,4,0
Current State: 27:[53, 69], Operations: ['66-13=53', '74-5=69']
Exploring Operation: 69-53=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 53*69=3657, Resulting Numbers: [3657]
3657,27 unequal: No Solution
Exploring Operation: 53+69=122, Resulting Numbers: [122]
122,27 unequal: No Solution
Moving to Node #0,4,2
Current State: 27:[53, 79], Operations: ['66-13=53', '5+74=79']
Exploring Operation: 53*79=4187, Resulting Numbers: [4187]
4187,27 unequal: No Solution
Exploring Operation: 79-53=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 53+79=132, Resulting Numbers: [132]
132,27 unequal: No Solution
Moving to Node #0,4,3
Current State: 27:[74, 58], Operations: ['66-13=53', '5+53=58']
Exploring Operation: 74*58=4292, Resulting Numbers: [4292]
4292,27 unequal: No Solution
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 74+58=132, Resulting Numbers: [132]
132,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,0
Current State: 27:[74, 13, 61], Operations: ['66-5=61']
Exploring Operation: 74-13=61, Resulting Numbers: [61, 61]
Generated Node #0,0,0: 27:[61, 61] Operation: 74-13=61
Exploring Operation: 13+61=74, Resulting Numbers: [74, 74]
Generated Node #0,0,1: 27:[74, 74] Operation: 13+61=74
Exploring Operation: 74-61=13, Resulting Numbers: [13, 13]
Generated Node #0,0,2: 27:[13, 13] Operation: 74-61=13
Exploring Operation: 74+13=87, Resulting Numbers: [61, 87]
Generated Node #0,0,3: 27:[61, 87] Operation: 74+13=87
Exploring Operation: 61-13=48, Resulting Numbers: [74, 48]
Generated Node #0,0,4: 27:[74, 48] Operation: 61-13=48
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[13, 13], Operations: ['66-5=61', '74-61=13']
Exploring Operation: 13*13=169, Resulting Numbers: [169]
169,27 unequal: No Solution
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,27 unequal: No Solution
No 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: 27:[61, 61], Operations: ['66-5=61', '74-13=61']
Exploring Operation: 61+61=122, Resulting Numbers: [122]
122,27 unequal: No Solution
Exploring Operation: 61/61=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 61*61=3721, Resulting Numbers: [3721]
3721,27 unequal: No Solution
Exploring Operation: 61-61=0, Resulting Numbers: [0]
0,27 unequal: No Solution
No 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: 27:[74, 48], Operations: ['66-5=61', '61-13=48']
Exploring Operation: 74*48=3552, Resulting Numbers: [3552]
3552,27 unequal: No Solution
Exploring Operation: 74+48=122, Resulting Numbers: [122]
122,27 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,27 unequal: No Solution
No 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: 27:[74, 74], Operations: ['66-5=61', '13+61=74']
Exploring Operation: 74+74=148, Resulting Numbers: [148]
148,27 unequal: No Solution
Exploring Operation: 74/74=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 74-74=0, Resulting Numbers: [0]
0,27 unequal: No Solution
Exploring Operation: 74*74=5476, Resulting Numbers: [5476]
5476,27 unequal: No Solution
No 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: 27:[61, 87], Operations: ['66-5=61', '74+13=87']
Exploring Operation: 61+87=148, Resulting Numbers: [148]
148,27 unequal: No Solution
Exploring Operation: 87-61=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 61*87=5307, Resulting Numbers: [5307]
5307,27 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: 27:[66, 13, 69], Operations: ['74-5=69']
Exploring Operation: 66+13=79, Resulting Numbers: [69, 79]
Generated Node #0,1,0: 27:[69, 79] Operation: 66+13=79
Exploring Operation: 66-13=53, Resulting Numbers: [69, 53]
Generated Node #0,1,1: 27:[69, 53] Operation: 66-13=53
Exploring Operation: 69-13=56, Resulting Numbers: [66, 56]
Generated Node #0,1,2: 27:[66, 56] Operation: 69-13=56
Exploring Operation: 69-66=3, Resulting Numbers: [13, 3]
Generated Node #0,1,3: 27:[13, 3] Operation: 69-66=3
Exploring Operation: 13+69=82, Resulting Numbers: [66, 82]
Generated Node #0,1,4: 27:[66, 82] Operation: 13+69=82
Moving to Node #0,1,3
Current State: 27:[13, 3], Operations: ['74-5=69', '69-66=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,27 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[66, 56], Operations: ['74-5=69', '69-13=56']
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 66+56=122, Resulting Numbers: [122]
122,27 unequal: No Solution
Exploring Operation: 66*56=3696, Resulting Numbers: [3696]
3696,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[69, 53], Operations: ['74-5=69', '66-13=53']
Exploring Operation: 69-53=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 69+53=122, Resulting Numbers: [122]
122,27 unequal: No Solution
Exploring Operation: 69*53=3657, Resulting Numbers: [3657]
3657,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[69, 79], Operations: ['74-5=69', '66+13=79']
Exploring Operation: 69*79=5451, Resulting Numbers: [5451]
5451,27 unequal: No Solution
Exploring Operation: 79-69=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 69+79=148, Resulting Numbers: [148]
148,27 unequal: No Solution
Moving to Node #0,1,4
Current State: 27:[66, 82], Operations: ['74-5=69', '13+69=82']
Exploring Operation: 66+82=148, Resulting Numbers: [148]
148,27 unequal: No Solution
Exploring Operation: 82-66=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 66*82=5412, Resulting Numbers: [5412]
5412,27 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 |
[
58,
18,
30,
98
] | 28 | [
"58-18=40",
"98-30=68",
"68-40=28"
] | Current State: 28:[58, 18, 30, 98], Operations: []
Exploring Operation: 58-18=40, Resulting Numbers: [30, 98, 40]
Generated Node #2: [30, 98, 40] from Operation: 58-18=40
Current State: 28:[30, 98, 40], Operations: ['58-18=40']
Exploring Operation: 98-30=68, Resulting Numbers: [40, 68]
Generated Node #3: [40, 68] from Operation: 98-30=68
Current State: 28:[40, 68], Operations: ['58-18=40', '98-30=68']
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[58, 18, 30, 98], Operations: []
Exploring Operation: 58-18=40, Resulting Numbers: [30, 98, 40]
Generated Node #0,0: 28:[30, 98, 40] Operation: 58-18=40
Exploring Operation: 98-58=40, Resulting Numbers: [18, 30, 40]
Generated Node #0,1: 28:[18, 30, 40] Operation: 98-58=40
Exploring Operation: 98-30=68, Resulting Numbers: [58, 18, 68]
Generated Node #0,2: 28:[58, 18, 68] Operation: 98-30=68
Exploring Operation: 58-30=28, Resulting Numbers: [18, 98, 28]
Generated Node #0,3: 28:[18, 98, 28] Operation: 58-30=28
Moving to Node #0,1
Current State: 28:[18, 30, 40], Operations: ['98-58=40']
Exploring Operation: 40-18=22, Resulting Numbers: [30, 22]
Generated Node #0,1,0: 28:[30, 22] Operation: 40-18=22
Exploring Operation: 30-18=12, Resulting Numbers: [40, 12]
Generated Node #0,1,1: 28:[40, 12] Operation: 30-18=12
Exploring Operation: 40-30=10, Resulting Numbers: [18, 10]
Generated Node #0,1,2: 28:[18, 10] Operation: 40-30=10
Exploring Operation: 18+30=48, Resulting Numbers: [40, 48]
Generated Node #0,1,3: 28:[40, 48] Operation: 18+30=48
Moving to Node #0,3
Current State: 28:[18, 98, 28], Operations: ['58-30=28']
Exploring Operation: 18+98=116, Resulting Numbers: [28, 116]
Generated Node #0,3,0: 28:[28, 116] Operation: 18+98=116
Exploring Operation: 28-18=10, Resulting Numbers: [98, 10]
Generated Node #0,3,1: 28:[98, 10] Operation: 28-18=10
Exploring Operation: 98-18=80, Resulting Numbers: [28, 80]
Generated Node #0,3,2: 28:[28, 80] Operation: 98-18=80
Exploring Operation: 98-28=70, Resulting Numbers: [18, 70]
Generated Node #0,3,3: 28:[18, 70] Operation: 98-28=70
Moving to Node #0,2
Current State: 28:[58, 18, 68], Operations: ['98-30=68']
Exploring Operation: 68-58=10, Resulting Numbers: [18, 10]
Generated Node #0,2,0: 28:[18, 10] Operation: 68-58=10
Exploring Operation: 68-18=50, Resulting Numbers: [58, 50]
Generated Node #0,2,1: 28:[58, 50] Operation: 68-18=50
Exploring Operation: 58+18=76, Resulting Numbers: [68, 76]
Generated Node #0,2,2: 28:[68, 76] Operation: 58+18=76
Exploring Operation: 58-18=40, Resulting Numbers: [68, 40]
Generated Node #0,2,3: 28:[68, 40] Operation: 58-18=40
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 28:[18, 10], Operations: ['98-30=68', '68-58=10']
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,28 unequal: No Solution
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[58, 18, 30, 98], Operations: []
Exploring Operation: 98-30=68, Resulting Numbers: [58, 18, 68]
Generated Node #0,2: 28:[58, 18, 68] Operation: 98-30=68
Moving to Node #0,2
Current State: 28:[58, 18, 68], Operations: ['98-30=68']
Exploring Operation: 68-58=10, Resulting Numbers: [18, 10]
Generated Node #0,2,0: 28:[18, 10] Operation: 68-58=10
Moving to Node #0,2,0
Current State: 28:[18, 10], Operations: ['98-30=68', '68-58=10']
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
17,
51,
84,
73
] | 57 | [
"17+51=68",
"84-73=11",
"68-11=57"
] | Current State: 57:[17, 51, 84, 73], Operations: []
Exploring Operation: 17+51=68, Resulting Numbers: [84, 73, 68]
Generated Node #2: [84, 73, 68] from Operation: 17+51=68
Current State: 57:[84, 73, 68], Operations: ['17+51=68']
Exploring Operation: 84-73=11, Resulting Numbers: [68, 11]
Generated Node #3: [68, 11] from Operation: 84-73=11
Current State: 57:[68, 11], Operations: ['17+51=68', '84-73=11']
Exploring Operation: 68-11=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[17, 51, 84, 73], Operations: []
Exploring Operation: 84-51=33, Resulting Numbers: [17, 73, 33]
Generated Node #0,0: 57:[17, 73, 33] Operation: 84-51=33
Exploring Operation: 84-17=67, Resulting Numbers: [51, 73, 67]
Generated Node #0,1: 57:[51, 73, 67] Operation: 84-17=67
Exploring Operation: 84-73=11, Resulting Numbers: [17, 51, 11]
Generated Node #0,2: 57:[17, 51, 11] Operation: 84-73=11
Exploring Operation: 73-51=22, Resulting Numbers: [17, 84, 22]
Generated Node #0,3: 57:[17, 84, 22] Operation: 73-51=22
Exploring Operation: 73-17=56, Resulting Numbers: [51, 84, 56]
Generated Node #0,4: 57:[51, 84, 56] Operation: 73-17=56
Moving to Node #0,2
Current State: 57:[17, 51, 11], Operations: ['84-73=11']
Exploring Operation: 17+51=68, Resulting Numbers: [11, 68]
Generated Node #0,2,0: 57:[11, 68] Operation: 17+51=68
Exploring Operation: 51/17=3, Resulting Numbers: [11, 3]
Generated Node #0,2,1: 57:[11, 3] Operation: 51/17=3
Exploring Operation: 17-11=6, Resulting Numbers: [51, 6]
Generated Node #0,2,2: 57:[51, 6] Operation: 17-11=6
Exploring Operation: 51+11=62, Resulting Numbers: [17, 62]
Generated Node #0,2,3: 57:[17, 62] Operation: 51+11=62
Exploring Operation: 17+11=28, Resulting Numbers: [51, 28]
Generated Node #0,2,4: 57:[51, 28] Operation: 17+11=28
Moving to Node #0,1
Current State: 57:[51, 73, 67], Operations: ['84-17=67']
Exploring Operation: 73-51=22, Resulting Numbers: [67, 22]
Generated Node #0,1,0: 57:[67, 22] Operation: 73-51=22
Exploring Operation: 73-67=6, Resulting Numbers: [51, 6]
Generated Node #0,1,1: 57:[51, 6] Operation: 73-67=6
Exploring Operation: 67-51=16, Resulting Numbers: [73, 16]
Generated Node #0,1,2: 57:[73, 16] Operation: 67-51=16
Exploring Operation: 51+73=124, Resulting Numbers: [67, 124]
Generated Node #0,1,3: 57:[67, 124] Operation: 51+73=124
Exploring Operation: 51+67=118, Resulting Numbers: [73, 118]
Generated Node #0,1,4: 57:[73, 118] Operation: 51+67=118
Moving to Node #0,0
Current State: 57:[17, 73, 33], Operations: ['84-51=33']
Exploring Operation: 73-33=40, Resulting Numbers: [17, 40]
Generated Node #0,0,0: 57:[17, 40] Operation: 73-33=40
Exploring Operation: 17+73=90, Resulting Numbers: [33, 90]
Generated Node #0,0,1: 57:[33, 90] Operation: 17+73=90
Exploring Operation: 33-17=16, Resulting Numbers: [73, 16]
Generated Node #0,0,2: 57:[73, 16] Operation: 33-17=16
Exploring Operation: 73-17=56, Resulting Numbers: [33, 56]
Generated Node #0,0,3: 57:[33, 56] Operation: 73-17=56
Exploring Operation: 17+33=50, Resulting Numbers: [73, 50]
Generated Node #0,0,4: 57:[73, 50] Operation: 17+33=50
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 57:[33, 56], Operations: ['84-51=33', '73-17=56']
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 33*56=1848, Resulting Numbers: [1848]
1848,57 unequal: No Solution
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[17, 40], Operations: ['84-51=33', '73-33=40']
Exploring Operation: 17*40=680, Resulting Numbers: [680]
680,57 unequal: No Solution
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[17, 51, 84, 73], Operations: []
Exploring Operation: 84-51=33, Resulting Numbers: [17, 73, 33]
Generated Node #0,0: 57:[17, 73, 33] Operation: 84-51=33
Moving to Node #0,0
Current State: 57:[17, 73, 33], Operations: ['84-51=33']
Exploring Operation: 73-33=40, Resulting Numbers: [17, 40]
Generated Node #0,0,0: 57:[17, 40] Operation: 73-33=40
Moving to Node #0,0,0
Current State: 57:[17, 40], Operations: ['84-51=33', '73-33=40']
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_5 | mult_heuristic |
[
76,
32,
98,
89
] | 53 | [
"76-32=44",
"98-89=9",
"44+9=53"
] | Current State: 53:[76, 32, 98, 89], Operations: []
Exploring Operation: 76-32=44, Resulting Numbers: [98, 89, 44]
Generated Node #2: [98, 89, 44] from Operation: 76-32=44
Current State: 53:[98, 89, 44], Operations: ['76-32=44']
Exploring Operation: 98-89=9, Resulting Numbers: [44, 9]
Generated Node #3: [44, 9] from Operation: 98-89=9
Current State: 53:[44, 9], Operations: ['76-32=44', '98-89=9']
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[76, 32, 98, 89], Operations: []
Exploring Operation: 98-32=66, Resulting Numbers: [76, 89, 66]
Generated Node #0,0: 53:[76, 89, 66] Operation: 98-32=66
Moving to Node #0,0
Current State: 53:[76, 89, 66], Operations: ['98-32=66']
Exploring Operation: 89-76=13, Resulting Numbers: [66, 13]
Generated Node #0,0,0: 53:[66, 13] Operation: 89-76=13
Moving to Node #0,0,0
Current State: 53:[66, 13], Operations: ['98-32=66', '89-76=13']
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[76, 32, 98, 89], Operations: []
Exploring Operation: 98-32=66, Resulting Numbers: [76, 89, 66]
Generated Node #0,0: 53:[76, 89, 66] Operation: 98-32=66
Moving to Node #0,0
Current State: 53:[76, 89, 66], Operations: ['98-32=66']
Exploring Operation: 89-76=13, Resulting Numbers: [66, 13]
Generated Node #0,0,0: 53:[66, 13] Operation: 89-76=13
Moving to Node #0,0,0
Current State: 53:[66, 13], Operations: ['98-32=66', '89-76=13']
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
8,
38,
49,
63
] | 74 | [
"63-49=14",
"8*14=112",
"112-38=74"
] | Current State: 74:[8, 38, 49, 63], Operations: []
Exploring Operation: 63-49=14, Resulting Numbers: [8, 38, 14]
Generated Node #2: [8, 38, 14] from Operation: 63-49=14
Current State: 74:[8, 38, 14], Operations: ['63-49=14']
Exploring Operation: 8*14=112, Resulting Numbers: [38, 112]
Generated Node #3: [38, 112] from Operation: 8*14=112
Current State: 74:[38, 112], Operations: ['63-49=14', '8*14=112']
Exploring Operation: 112-38=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[8, 38, 49, 63], Operations: []
Exploring Operation: 8+63=71, Resulting Numbers: [38, 49, 71]
Generated Node #0,0: 74:[38, 49, 71] Operation: 8+63=71
Exploring Operation: 63-49=14, Resulting Numbers: [8, 38, 14]
Generated Node #0,1: 74:[8, 38, 14] Operation: 63-49=14
Exploring Operation: 49-38=11, Resulting Numbers: [8, 63, 11]
Generated Node #0,2: 74:[8, 63, 11] Operation: 49-38=11
Exploring Operation: 49-8=41, Resulting Numbers: [38, 63, 41]
Generated Node #0,3: 74:[38, 63, 41] Operation: 49-8=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[38, 49, 71], Operations: ['8+63=71']
Exploring Operation: 38+49=87, Resulting Numbers: [71, 87]
Generated Node #0,0,0: 74:[71, 87] Operation: 38+49=87
Exploring Operation: 49-38=11, Resulting Numbers: [71, 11]
Generated Node #0,0,1: 74:[71, 11] Operation: 49-38=11
Exploring Operation: 71-38=33, Resulting Numbers: [49, 33]
Generated Node #0,0,2: 74:[49, 33] Operation: 71-38=33
Exploring Operation: 71-49=22, Resulting Numbers: [38, 22]
Generated Node #0,0,3: 74:[38, 22] Operation: 71-49=22
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 74:[71, 11], Operations: ['8+63=71', '49-38=11']
Exploring Operation: 71+11=82, Resulting Numbers: [82]
82,74 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 71*11=781, Resulting Numbers: [781]
781,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[71, 87], Operations: ['8+63=71', '38+49=87']
Exploring Operation: 71+87=158, Resulting Numbers: [158]
158,74 unequal: No Solution
Exploring Operation: 71*87=6177, Resulting Numbers: [6177]
6177,74 unequal: No Solution
Exploring Operation: 87-71=16, Resulting Numbers: [16]
16,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 74:[49, 33], Operations: ['8+63=71', '71-38=33']
Exploring Operation: 49*33=1617, Resulting Numbers: [1617]
1617,74 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 74:[38, 22], Operations: ['8+63=71', '71-49=22']
Exploring Operation: 38*22=836, Resulting Numbers: [836]
836,74 unequal: No Solution
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[38, 63, 41], Operations: ['49-8=41']
Exploring Operation: 63-41=22, Resulting Numbers: [38, 22]
Generated Node #0,3,0: 74:[38, 22] Operation: 63-41=22
Exploring Operation: 38+41=79, Resulting Numbers: [63, 79]
Generated Node #0,3,1: 74:[63, 79] Operation: 38+41=79
Exploring Operation: 41-38=3, Resulting Numbers: [63, 3]
Generated Node #0,3,2: 74:[63, 3] Operation: 41-38=3
Exploring Operation: 63-38=25, Resulting Numbers: [41, 25]
Generated Node #0,3,3: 74:[41, 25] Operation: 63-38=25
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 74:[63, 3], Operations: ['49-8=41', '41-38=3']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 63*3=189, Resulting Numbers: [189]
189,74 unequal: No Solution
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 74:[38, 22], Operations: ['49-8=41', '63-41=22']
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 38*22=836, Resulting Numbers: [836]
836,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 74:[63, 79], Operations: ['49-8=41', '38+41=79']
Exploring Operation: 63+79=142, Resulting Numbers: [142]
142,74 unequal: No Solution
Exploring Operation: 63*79=4977, Resulting Numbers: [4977]
4977,74 unequal: No Solution
Exploring Operation: 79-63=16, Resulting Numbers: [16]
16,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 74:[41, 25], Operations: ['49-8=41', '63-38=25']
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,74 unequal: No Solution
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[8, 38, 14], Operations: ['63-49=14']
Exploring Operation: 14-8=6, Resulting Numbers: [38, 6]
Generated Node #0,1,0: 74:[38, 6] Operation: 14-8=6
Exploring Operation: 38-8=30, Resulting Numbers: [14, 30]
Generated Node #0,1,1: 74:[14, 30] Operation: 38-8=30
Exploring Operation: 38-14=24, Resulting Numbers: [8, 24]
Generated Node #0,1,2: 74:[8, 24] Operation: 38-14=24
Exploring Operation: 8+14=22, Resulting Numbers: [38, 22]
Generated Node #0,1,3: 74:[38, 22] Operation: 8+14=22
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 74:[38, 6], Operations: ['63-49=14', '14-8=6']
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,74 unequal: No Solution
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 74:[38, 22], Operations: ['63-49=14', '8+14=22']
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 38*22=836, Resulting Numbers: [836]
836,74 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 74:[14, 30], Operations: ['63-49=14', '38-8=30']
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,74 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 74:[8, 24], Operations: ['63-49=14', '38-14=24']
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,74 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[8, 63, 11], Operations: ['49-38=11']
Exploring Operation: 11-8=3, Resulting Numbers: [63, 3]
Generated Node #0,2,0: 74:[63, 3] Operation: 11-8=3
Exploring Operation: 63+11=74, Resulting Numbers: [8, 74]
Generated Node #0,2,1: 74:[8, 74] Operation: 63+11=74
Exploring Operation: 8+63=71, Resulting Numbers: [11, 71]
Generated Node #0,2,2: 74:[11, 71] Operation: 8+63=71
Exploring Operation: 63-11=52, Resulting Numbers: [8, 52]
Generated Node #0,2,3: 74:[8, 52] Operation: 63-11=52
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 74:[8, 74], Operations: ['49-38=11', '63+11=74']
Exploring Operation: 8+74=82, Resulting Numbers: [82]
82,74 unequal: No Solution
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 8*74=592, Resulting Numbers: [592]
592,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 74:[63, 3], Operations: ['49-38=11', '11-8=3']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 63*3=189, Resulting Numbers: [189]
189,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 74:[11, 71], Operations: ['49-38=11', '8+63=71']
Exploring Operation: 11*71=781, Resulting Numbers: [781]
781,74 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 11+71=82, Resulting Numbers: [82]
82,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 74:[8, 52], Operations: ['49-38=11', '63-11=52']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 8*52=416, Resulting Numbers: [416]
416,74 unequal: No Solution
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
83,
75,
80,
57
] | 96 | [
"83-80=3",
"57*3=171",
"171-75=96"
] | Current State: 96:[83, 75, 80, 57], Operations: []
Exploring Operation: 83-80=3, Resulting Numbers: [75, 57, 3]
Generated Node #2: [75, 57, 3] from Operation: 83-80=3
Current State: 96:[75, 57, 3], Operations: ['83-80=3']
Exploring Operation: 57*3=171, Resulting Numbers: [75, 171]
Generated Node #3: [75, 171] from Operation: 57*3=171
Current State: 96:[75, 171], Operations: ['83-80=3', '57*3=171']
Exploring Operation: 171-75=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[83, 75, 80, 57], Operations: []
Exploring Operation: 80-75=5, Resulting Numbers: [83, 57, 5]
Generated Node #0,0: 96:[83, 57, 5] Operation: 80-75=5
Moving to Node #0,0
Current State: 96:[83, 57, 5], Operations: ['80-75=5']
Exploring Operation: 83-57=26, Resulting Numbers: [5, 26]
Generated Node #0,0,0: 96:[5, 26] Operation: 83-57=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[5, 26], Operations: ['80-75=5', '83-57=26']
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
28,
88,
47,
25
] | 85 | [
"28+47=75",
"75/25=3",
"88-3=85"
] | Current State: 85:[28, 88, 47, 25], Operations: []
Exploring Operation: 28+47=75, Resulting Numbers: [88, 25, 75]
Generated Node #2: [88, 25, 75] from Operation: 28+47=75
Current State: 85:[88, 25, 75], Operations: ['28+47=75']
Exploring Operation: 75/25=3, Resulting Numbers: [88, 3]
Generated Node #3: [88, 3] from Operation: 75/25=3
Current State: 85:[88, 3], Operations: ['28+47=75', '75/25=3']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[28, 88, 47, 25], Operations: []
Exploring Operation: 47+25=72, Resulting Numbers: [28, 88, 72]
Generated Node #0,0: 85:[28, 88, 72] Operation: 47+25=72
Exploring Operation: 47-28=19, Resulting Numbers: [88, 25, 19]
Generated Node #0,1: 85:[88, 25, 19] Operation: 47-28=19
Exploring Operation: 28-25=3, Resulting Numbers: [88, 47, 3]
Generated Node #0,2: 85:[88, 47, 3] Operation: 28-25=3
Exploring Operation: 47-25=22, Resulting Numbers: [28, 88, 22]
Generated Node #0,3: 85:[28, 88, 22] Operation: 47-25=22
Exploring Operation: 28+47=75, Resulting Numbers: [88, 25, 75]
Generated Node #0,4: 85:[88, 25, 75] Operation: 28+47=75
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[88, 25, 19], Operations: ['47-28=19']
Exploring Operation: 88-19=69, Resulting Numbers: [25, 69]
Generated Node #0,1,0: 85:[25, 69] Operation: 88-19=69
Exploring Operation: 88-25=63, Resulting Numbers: [19, 63]
Generated Node #0,1,1: 85:[19, 63] Operation: 88-25=63
Exploring Operation: 88+25=113, Resulting Numbers: [19, 113]
Generated Node #0,1,2: 85:[19, 113] Operation: 88+25=113
Exploring Operation: 88+19=107, Resulting Numbers: [25, 107]
Generated Node #0,1,3: 85:[25, 107] Operation: 88+19=107
Exploring Operation: 25-19=6, Resulting Numbers: [88, 6]
Generated Node #0,1,4: 85:[88, 6] Operation: 25-19=6
Moving to Node #0,1,4
Current State: 85:[88, 6], Operations: ['47-28=19', '25-19=6']
Exploring Operation: 88*6=528, Resulting Numbers: [528]
528,85 unequal: No Solution
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,85 unequal: No Solution
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[19, 63], Operations: ['47-28=19', '88-25=63']
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,85 unequal: No Solution
Exploring Operation: 19*63=1197, Resulting Numbers: [1197]
1197,85 unequal: No Solution
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[25, 69], Operations: ['47-28=19', '88-19=69']
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,85 unequal: No Solution
Exploring Operation: 25*69=1725, Resulting Numbers: [1725]
1725,85 unequal: No Solution
Exploring Operation: 25+69=94, Resulting Numbers: [94]
94,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[19, 113], Operations: ['47-28=19', '88+25=113']
Exploring Operation: 113-19=94, Resulting Numbers: [94]
94,85 unequal: No Solution
Exploring Operation: 19+113=132, Resulting Numbers: [132]
132,85 unequal: No Solution
Exploring Operation: 19*113=2147, Resulting Numbers: [2147]
2147,85 unequal: No Solution
Moving to Node #0,1,3
Current State: 85:[25, 107], Operations: ['47-28=19', '88+19=107']
Exploring Operation: 107-25=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Exploring Operation: 25*107=2675, Resulting Numbers: [2675]
2675,85 unequal: No Solution
Exploring Operation: 25+107=132, Resulting Numbers: [132]
132,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
Current State: 85:[28, 88, 22], Operations: ['47-25=22']
Exploring Operation: 88/22=4, Resulting Numbers: [28, 4]
Generated Node #0,3,0: 85:[28, 4] Operation: 88/22=4
Exploring Operation: 28+88=116, Resulting Numbers: [22, 116]
Generated Node #0,3,1: 85:[22, 116] Operation: 28+88=116
Exploring Operation: 28-22=6, Resulting Numbers: [88, 6]
Generated Node #0,3,2: 85:[88, 6] Operation: 28-22=6
Exploring Operation: 88-22=66, Resulting Numbers: [28, 66]
Generated Node #0,3,3: 85:[28, 66] Operation: 88-22=66
Exploring Operation: 88-28=60, Resulting Numbers: [22, 60]
Generated Node #0,3,4: 85:[22, 60] Operation: 88-28=60
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 85:[88, 6], Operations: ['47-25=22', '28-22=6']
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,85 unequal: No Solution
Exploring Operation: 88*6=528, Resulting Numbers: [528]
528,85 unequal: No Solution
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,85 unequal: No Solution
No 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: 85:[28, 4], Operations: ['47-25=22', '88/22=4']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,85 unequal: No Solution
Exploring Operation: 28*4=112, Resulting Numbers: [112]
112,85 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,85 unequal: No Solution
No 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: 85:[28, 66], Operations: ['47-25=22', '88-22=66']
Exploring Operation: 28+66=94, Resulting Numbers: [94]
94,85 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,85 unequal: No Solution
Exploring Operation: 28*66=1848, Resulting Numbers: [1848]
1848,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 85:[22, 60], Operations: ['47-25=22', '88-28=60']
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,85 unequal: No Solution
Exploring Operation: 22*60=1320, Resulting Numbers: [1320]
1320,85 unequal: No Solution
Exploring Operation: 22+60=82, Resulting Numbers: [82]
82,85 unequal: No Solution
No 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: 85:[22, 116], Operations: ['47-25=22', '28+88=116']
Exploring Operation: 22*116=2552, Resulting Numbers: [2552]
2552,85 unequal: No Solution
Exploring Operation: 116-22=94, Resulting Numbers: [94]
94,85 unequal: No Solution
Exploring Operation: 22+116=138, Resulting Numbers: [138]
138,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 85:[88, 25, 75], Operations: ['28+47=75']
Exploring Operation: 88-25=63, Resulting Numbers: [75, 63]
Generated Node #0,4,0: 85:[75, 63] Operation: 88-25=63
Exploring Operation: 25+75=100, Resulting Numbers: [88, 100]
Generated Node #0,4,1: 85:[88, 100] Operation: 25+75=100
Exploring Operation: 88-75=13, Resulting Numbers: [25, 13]
Generated Node #0,4,2: 85:[25, 13] Operation: 88-75=13
Exploring Operation: 75/25=3, Resulting Numbers: [88, 3]
Generated Node #0,4,3: 85:[88, 3] Operation: 75/25=3
Exploring Operation: 75-25=50, Resulting Numbers: [88, 50]
Generated Node #0,4,4: 85:[88, 50] Operation: 75-25=50
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 85:[88, 3], Operations: ['28+47=75', '75/25=3']
Exploring Operation: 88*3=264, Resulting Numbers: [264]
264,85 unequal: No Solution
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,85 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[28, 88, 47, 25], Operations: []
Exploring Operation: 28+47=75, Resulting Numbers: [88, 25, 75]
Generated Node #0,4: 85:[88, 25, 75] Operation: 28+47=75
Moving to Node #0,4
Current State: 85:[88, 25, 75], Operations: ['28+47=75']
Exploring Operation: 75/25=3, Resulting Numbers: [88, 3]
Generated Node #0,4,3: 85:[88, 3] Operation: 75/25=3
Moving to Node #0,4,3
Current State: 85:[88, 3], Operations: ['28+47=75', '75/25=3']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.949653 | hs_5 | sum_heuristic |
[
85,
15,
20,
54
] | 66 | [
"85+15=100",
"54-20=34",
"100-34=66"
] | Current State: 66:[85, 15, 20, 54], Operations: []
Exploring Operation: 85+15=100, Resulting Numbers: [20, 54, 100]
Generated Node #2: [20, 54, 100] from Operation: 85+15=100
Current State: 66:[20, 54, 100], Operations: ['85+15=100']
Exploring Operation: 54-20=34, Resulting Numbers: [100, 34]
Generated Node #3: [100, 34] from Operation: 54-20=34
Current State: 66:[100, 34], Operations: ['85+15=100', '54-20=34']
Exploring Operation: 100-34=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[85, 15, 20, 54], Operations: []
Exploring Operation: 85-54=31, Resulting Numbers: [15, 20, 31]
Generated Node #0,0: 66:[15, 20, 31] Operation: 85-54=31
Exploring Operation: 15+54=69, Resulting Numbers: [85, 20, 69]
Generated Node #0,1: 66:[85, 20, 69] Operation: 15+54=69
Exploring Operation: 85-20=65, Resulting Numbers: [15, 54, 65]
Generated Node #0,2: 66:[15, 54, 65] Operation: 85-20=65
Exploring Operation: 85-15=70, Resulting Numbers: [20, 54, 70]
Generated Node #0,3: 66:[20, 54, 70] Operation: 85-15=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[15, 20, 31], Operations: ['85-54=31']
Exploring Operation: 15+20=35, Resulting Numbers: [31, 35]
Generated Node #0,0,0: 66:[31, 35] Operation: 15+20=35
Exploring Operation: 31-15=16, Resulting Numbers: [20, 16]
Generated Node #0,0,1: 66:[20, 16] Operation: 31-15=16
Exploring Operation: 31-20=11, Resulting Numbers: [15, 11]
Generated Node #0,0,2: 66:[15, 11] Operation: 31-20=11
Exploring Operation: 20-15=5, Resulting Numbers: [31, 5]
Generated Node #0,0,3: 66:[31, 5] Operation: 20-15=5
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 66:[31, 5], Operations: ['85-54=31', '20-15=5']
Exploring Operation: 31*5=155, Resulting Numbers: [155]
155,66 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[31, 35], Operations: ['85-54=31', '15+20=35']
Exploring Operation: 31+35=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[85, 15, 20, 54], Operations: []
Exploring Operation: 85-54=31, Resulting Numbers: [15, 20, 31]
Generated Node #0,0: 66:[15, 20, 31] Operation: 85-54=31
Moving to Node #0,0
Current State: 66:[15, 20, 31], Operations: ['85-54=31']
Exploring Operation: 15+20=35, Resulting Numbers: [31, 35]
Generated Node #0,0,0: 66:[31, 35] Operation: 15+20=35
Moving to Node #0,0,0
Current State: 66:[31, 35], Operations: ['85-54=31', '15+20=35']
Exploring Operation: 31+35=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
33,
34,
5,
58
] | 29 | [
"58-33=25",
"25/5=5",
"34-5=29"
] | Current State: 29:[33, 34, 5, 58], Operations: []
Exploring Operation: 58-33=25, Resulting Numbers: [34, 5, 25]
Generated Node #2: [34, 5, 25] from Operation: 58-33=25
Current State: 29:[34, 5, 25], Operations: ['58-33=25']
Exploring Operation: 25/5=5, Resulting Numbers: [34, 5]
Generated Node #3: [34, 5] from Operation: 25/5=5
Current State: 29:[34, 5], Operations: ['58-33=25', '25/5=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[33, 34, 5, 58], Operations: []
Exploring Operation: 58-33=25, Resulting Numbers: [34, 5, 25]
Generated Node #0,0: 29:[34, 5, 25] Operation: 58-33=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[34, 5, 25], Operations: ['58-33=25']
Exploring Operation: 34-5=29, Resulting Numbers: [25, 29]
Generated Node #0,0,0: 29:[25, 29] Operation: 34-5=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[25, 29], Operations: ['58-33=25', '34-5=29']
Exploring Operation: 25+29=54, Resulting Numbers: [54]
54,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
48,
24,
96,
12
] | 86 | [
"48/24=2",
"96-12=84",
"2+84=86"
] | Current State: 86:[48, 24, 96, 12], Operations: []
Exploring Operation: 48/24=2, Resulting Numbers: [96, 12, 2]
Generated Node #2: [96, 12, 2] from Operation: 48/24=2
Current State: 86:[96, 12, 2], Operations: ['48/24=2']
Exploring Operation: 96-12=84, Resulting Numbers: [2, 84]
Generated Node #3: [2, 84] from Operation: 96-12=84
Current State: 86:[2, 84], Operations: ['48/24=2', '96-12=84']
Exploring Operation: 2+84=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[48, 24, 96, 12], Operations: []
Exploring Operation: 24/12=2, Resulting Numbers: [48, 96, 2]
Generated Node #0,0: 86:[48, 96, 2] Operation: 24/12=2
Exploring Operation: 96/24=4, Resulting Numbers: [48, 12, 4]
Generated Node #0,1: 86:[48, 12, 4] Operation: 96/24=4
Moving to Node #0,0
Current State: 86:[48, 96, 2], Operations: ['24/12=2']
Exploring Operation: 96-48=48, Resulting Numbers: [2, 48]
Generated Node #0,0,0: 86:[2, 48] Operation: 96-48=48
Exploring Operation: 96/48=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 86:[2, 2] Operation: 96/48=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[2, 2], Operations: ['24/12=2', '96/48=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[2, 48], Operations: ['24/12=2', '96-48=48']
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 86:[48, 12, 4], Operations: ['96/24=4']
Exploring Operation: 12/4=3, Resulting Numbers: [48, 3]
Generated Node #0,1,0: 86:[48, 3] Operation: 12/4=3
Exploring Operation: 48/12=4, Resulting Numbers: [4, 4]
Generated Node #0,1,1: 86:[4, 4] Operation: 48/12=4
Moving to Node #0,1,1
Current State: 86:[4, 4], Operations: ['96/24=4', '48/12=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[48, 3], Operations: ['96/24=4', '12/4=3']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,86 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
3,
94,
17,
69
] | 96 | [
"3*69=207",
"94+17=111",
"207-111=96"
] | Current State: 96:[3, 94, 17, 69], Operations: []
Exploring Operation: 3*69=207, Resulting Numbers: [94, 17, 207]
Generated Node #2: [94, 17, 207] from Operation: 3*69=207
Current State: 96:[94, 17, 207], Operations: ['3*69=207']
Exploring Operation: 94+17=111, Resulting Numbers: [207, 111]
Generated Node #3: [207, 111] from Operation: 94+17=111
Current State: 96:[207, 111], Operations: ['3*69=207', '94+17=111']
Exploring Operation: 207-111=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[3, 94, 17, 69], Operations: []
Exploring Operation: 69/3=23, Resulting Numbers: [94, 17, 23]
Generated Node #0,0: 96:[94, 17, 23] Operation: 69/3=23
Exploring Operation: 94-69=25, Resulting Numbers: [3, 17, 25]
Generated Node #0,1: 96:[3, 17, 25] Operation: 94-69=25
Exploring Operation: 69-17=52, Resulting Numbers: [3, 94, 52]
Generated Node #0,2: 96:[3, 94, 52] Operation: 69-17=52
Moving to Node #0,1
Current State: 96:[3, 17, 25], Operations: ['94-69=25']
Exploring Operation: 17-3=14, Resulting Numbers: [25, 14]
Generated Node #0,1,0: 96:[25, 14] Operation: 17-3=14
Exploring Operation: 25-17=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 96:[3, 8] Operation: 25-17=8
Exploring Operation: 25-3=22, Resulting Numbers: [17, 22]
Generated Node #0,1,2: 96:[17, 22] Operation: 25-3=22
Moving to Node #0,0
Current State: 96:[94, 17, 23], Operations: ['69/3=23']
Exploring Operation: 17+23=40, Resulting Numbers: [94, 40]
Generated Node #0,0,0: 96:[94, 40] Operation: 17+23=40
Exploring Operation: 23-17=6, Resulting Numbers: [94, 6]
Generated Node #0,0,1: 96:[94, 6] Operation: 23-17=6
Exploring Operation: 94+17=111, Resulting Numbers: [23, 111]
Generated Node #0,0,2: 96:[23, 111] Operation: 94+17=111
Moving to Node #0,2
Current State: 96:[3, 94, 52], Operations: ['69-17=52']
Exploring Operation: 3+94=97, Resulting Numbers: [52, 97]
Generated Node #0,2,0: 96:[52, 97] Operation: 3+94=97
Exploring Operation: 94-52=42, Resulting Numbers: [3, 42]
Generated Node #0,2,1: 96:[3, 42] Operation: 94-52=42
Exploring Operation: 52-3=49, Resulting Numbers: [94, 49]
Generated Node #0,2,2: 96:[94, 49] Operation: 52-3=49
Moving to Node #0,1,1
Current State: 96:[3, 8], Operations: ['94-69=25', '25-17=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[94, 6], Operations: ['69/3=23', '23-17=6']
Exploring Operation: 94*6=564, Resulting Numbers: [564]
564,96 unequal: No Solution
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,96 unequal: No Solution
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[17, 22], Operations: ['94-69=25', '25-3=22']
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,96 unequal: No Solution
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[94, 49], Operations: ['69-17=52', '52-3=49']
Exploring Operation: 94-49=45, Resulting Numbers: [45]
45,96 unequal: No Solution
Exploring Operation: 94*49=4606, Resulting Numbers: [4606]
4606,96 unequal: No Solution
Exploring Operation: 94+49=143, Resulting Numbers: [143]
143,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[25, 14], Operations: ['94-69=25', '17-3=14']
Exploring Operation: 25+14=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 25*14=350, Resulting Numbers: [350]
350,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[52, 97], Operations: ['69-17=52', '3+94=97']
Exploring Operation: 52+97=149, Resulting Numbers: [149]
149,96 unequal: No Solution
Exploring Operation: 52*97=5044, Resulting Numbers: [5044]
5044,96 unequal: No Solution
Exploring Operation: 97-52=45, Resulting Numbers: [45]
45,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[3, 42], Operations: ['69-17=52', '94-52=42']
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,96 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[94, 40], Operations: ['69/3=23', '17+23=40']
Exploring Operation: 94*40=3760, Resulting Numbers: [3760]
3760,96 unequal: No Solution
Exploring Operation: 94-40=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 94+40=134, Resulting Numbers: [134]
134,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[23, 111], Operations: ['69/3=23', '94+17=111']
Exploring Operation: 23*111=2553, Resulting Numbers: [2553]
2553,96 unequal: No Solution
Exploring Operation: 111-23=88, Resulting Numbers: [88]
88,96 unequal: No Solution
Exploring Operation: 23+111=134, Resulting Numbers: [134]
134,96 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
66,
28,
88,
77
] | 27 | [
"66-28=38",
"88-77=11",
"38-11=27"
] | Current State: 27:[66, 28, 88, 77], Operations: []
Exploring Operation: 66-28=38, Resulting Numbers: [88, 77, 38]
Generated Node #2: [88, 77, 38] from Operation: 66-28=38
Current State: 27:[88, 77, 38], Operations: ['66-28=38']
Exploring Operation: 88-77=11, Resulting Numbers: [38, 11]
Generated Node #3: [38, 11] from Operation: 88-77=11
Current State: 27:[38, 11], Operations: ['66-28=38', '88-77=11']
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[66, 28, 88, 77], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [66, 28, 11]
Generated Node #0,0: 27:[66, 28, 11] Operation: 88-77=11
Exploring Operation: 88-66=22, Resulting Numbers: [28, 77, 22]
Generated Node #0,1: 27:[28, 77, 22] Operation: 88-66=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[66, 28, 11], Operations: ['88-77=11']
Exploring Operation: 66/11=6, Resulting Numbers: [28, 6]
Generated Node #0,0,0: 27:[28, 6] Operation: 66/11=6
Exploring Operation: 66-28=38, Resulting Numbers: [11, 38]
Generated Node #0,0,1: 27:[11, 38] Operation: 66-28=38
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[28, 6], Operations: ['88-77=11', '66/11=6']
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,27 unequal: No Solution
No 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: 27:[11, 38], Operations: ['88-77=11', '66-28=38']
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[66, 28, 88, 77], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [66, 28, 11]
Generated Node #0,0: 27:[66, 28, 11] Operation: 88-77=11
Moving to Node #0,0
Current State: 27:[66, 28, 11], Operations: ['88-77=11']
Exploring Operation: 66-28=38, Resulting Numbers: [11, 38]
Generated Node #0,0,1: 27:[11, 38] Operation: 66-28=38
Moving to Node #0,0,1
Current State: 27:[11, 38], Operations: ['88-77=11', '66-28=38']
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
82,
23,
64,
41
] | 43 | [
"82/41=2",
"64-23=41",
"2+41=43"
] | Current State: 43:[82, 23, 64, 41], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [23, 64, 2]
Generated Node #2: [23, 64, 2] from Operation: 82/41=2
Current State: 43:[23, 64, 2], Operations: ['82/41=2']
Exploring Operation: 64-23=41, Resulting Numbers: [2, 41]
Generated Node #3: [2, 41] from Operation: 64-23=41
Current State: 43:[2, 41], Operations: ['82/41=2', '64-23=41']
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[82, 23, 64, 41], Operations: []
Exploring Operation: 64-23=41, Resulting Numbers: [82, 41, 41]
Generated Node #0,0: 43:[82, 41, 41] Operation: 64-23=41
Exploring Operation: 82-64=18, Resulting Numbers: [23, 41, 18]
Generated Node #0,1: 43:[23, 41, 18] Operation: 82-64=18
Exploring Operation: 82-41=41, Resulting Numbers: [23, 64, 41]
Generated Node #0,2: 43:[23, 64, 41] Operation: 82-41=41
Exploring Operation: 82-23=59, Resulting Numbers: [64, 41, 59]
Generated Node #0,3: 43:[64, 41, 59] Operation: 82-23=59
Exploring Operation: 64-41=23, Resulting Numbers: [82, 23, 23]
Generated Node #0,4: 43:[82, 23, 23] Operation: 64-41=23
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[64, 41, 59], Operations: ['82-23=59']
Exploring Operation: 41+59=100, Resulting Numbers: [64, 100]
Generated Node #0,3,0: 43:[64, 100] Operation: 41+59=100
Exploring Operation: 64-41=23, Resulting Numbers: [59, 23]
Generated Node #0,3,1: 43:[59, 23] Operation: 64-41=23
Exploring Operation: 64+41=105, Resulting Numbers: [59, 105]
Generated Node #0,3,2: 43:[59, 105] Operation: 64+41=105
Exploring Operation: 64-59=5, Resulting Numbers: [41, 5]
Generated Node #0,3,3: 43:[41, 5] Operation: 64-59=5
Exploring Operation: 59-41=18, Resulting Numbers: [64, 18]
Generated Node #0,3,4: 43:[64, 18] Operation: 59-41=18
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 43:[59, 23], Operations: ['82-23=59', '64-41=23']
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 59*23=1357, Resulting Numbers: [1357]
1357,43 unequal: No Solution
Exploring Operation: 59+23=82, Resulting Numbers: [82]
82,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 43:[41, 5], Operations: ['82-23=59', '64-59=5']
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,43 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 43:[64, 18], Operations: ['82-23=59', '59-41=18']
Exploring Operation: 64*18=1152, Resulting Numbers: [1152]
1152,43 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 43:[64, 100], Operations: ['82-23=59', '41+59=100']
Exploring Operation: 64+100=164, Resulting Numbers: [164]
164,43 unequal: No Solution
Exploring Operation: 100-64=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 64*100=6400, Resulting Numbers: [6400]
6400,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 43:[59, 105], Operations: ['82-23=59', '64+41=105']
Exploring Operation: 105-59=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 59*105=6195, Resulting Numbers: [6195]
6195,43 unequal: No Solution
Exploring Operation: 59+105=164, Resulting Numbers: [164]
164,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[82, 41, 41], Operations: ['64-23=41']
Exploring Operation: 82-41=41, Resulting Numbers: [41, 41]
Generated Node #0,0,0: 43:[41, 41] Operation: 82-41=41
Exploring Operation: 82/41=2, Resulting Numbers: [41, 2]
Generated Node #0,0,1: 43:[41, 2] Operation: 82/41=2
Exploring Operation: 41+41=82, Resulting Numbers: [82, 82]
Generated Node #0,0,2: 43:[82, 82] Operation: 41+41=82
Exploring Operation: 82/41=2, Resulting Numbers: [41, 2]
Generated Node #0,0,3: 43:[41, 2] Operation: 82/41=2
Exploring Operation: 82-41=41, Resulting Numbers: [41, 41]
Generated Node #0,0,4: 43:[41, 41] Operation: 82-41=41
Moving to Node #0,0,0
Current State: 43:[41, 41], Operations: ['64-23=41', '82-41=41']
Exploring Operation: 41-41=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 41*41=1681, Resulting Numbers: [1681]
1681,43 unequal: No Solution
Exploring Operation: 41/41=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 41+41=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Moving to Node #0,0,4
Current State: 43:[41, 41], Operations: ['64-23=41', '82-41=41']
Exploring Operation: 41/41=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 41+41=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 41-41=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 41*41=1681, Resulting Numbers: [1681]
1681,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[41, 2], Operations: ['64-23=41', '82/41=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[82, 23, 64, 41], Operations: []
Exploring Operation: 64-23=41, Resulting Numbers: [82, 41, 41]
Generated Node #0,0: 43:[82, 41, 41] Operation: 64-23=41
Moving to Node #0,0
Current State: 43:[82, 41, 41], Operations: ['64-23=41']
Exploring Operation: 82/41=2, Resulting Numbers: [41, 2]
Generated Node #0,0,1: 43:[41, 2] Operation: 82/41=2
Moving to Node #0,0,1
Current State: 43:[41, 2], Operations: ['64-23=41', '82/41=2']
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_5 | mult_heuristic |
[
2,
3,
33,
2
] | 68 | [
"3-2=1",
"33+1=34",
"2*34=68"
] | Current State: 68:[2, 3, 33, 2], Operations: []
Exploring Operation: 3-2=1, Resulting Numbers: [33, 1]
Generated Node #2: [33, 1] from Operation: 3-2=1
Current State: 68:[33, 1], Operations: ['3-2=1']
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,68 equal: Goal Reached
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[2, 3, 33, 2], Operations: []
Exploring Operation: 2+3=5, Resulting Numbers: [33, 2, 5]
Generated Node #0,0: 68:[33, 2, 5] Operation: 2+3=5
Exploring Operation: 2+2=4, Resulting Numbers: [3, 33, 4]
Generated Node #0,1: 68:[3, 33, 4] Operation: 2+2=4
Exploring Operation: 2+33=35, Resulting Numbers: [3, 2, 35]
Generated Node #0,2: 68:[3, 2, 35] Operation: 2+33=35
Exploring Operation: 3-2=1, Resulting Numbers: [33, 2, 1]
Generated Node #0,3: 68:[33, 2, 1] Operation: 3-2=1
Moving to Node #0,0
Current State: 68:[33, 2, 5], Operations: ['2+3=5']
Exploring Operation: 33*2=66, Resulting Numbers: [5, 66]
Generated Node #0,0,0: 68:[5, 66] Operation: 33*2=66
Exploring Operation: 33-2=31, Resulting Numbers: [5, 31]
Generated Node #0,0,1: 68:[5, 31] Operation: 33-2=31
Exploring Operation: 5-2=3, Resulting Numbers: [33, 3]
Generated Node #0,0,2: 68:[33, 3] Operation: 5-2=3
Exploring Operation: 33+2=35, Resulting Numbers: [5, 35]
Generated Node #0,0,3: 68:[5, 35] Operation: 33+2=35
Moving to Node #0,2
Current State: 68:[3, 2, 35], Operations: ['2+33=35']
Exploring Operation: 35-3=32, Resulting Numbers: [2, 32]
Generated Node #0,2,0: 68:[2, 32] Operation: 35-3=32
Exploring Operation: 3-2=1, Resulting Numbers: [35, 1]
Generated Node #0,2,1: 68:[35, 1] Operation: 3-2=1
Exploring Operation: 35-2=33, Resulting Numbers: [3, 33]
Generated Node #0,2,2: 68:[3, 33] Operation: 35-2=33
Exploring Operation: 3+2=5, Resulting Numbers: [35, 5]
Generated Node #0,2,3: 68:[35, 5] Operation: 3+2=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[2, 32], Operations: ['2+33=35', '35-3=32']
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 68:[35, 1], Operations: ['2+33=35', '3-2=1']
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,68 unequal: No Solution
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 68:[3, 33], Operations: ['2+33=35', '35-2=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,68 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 68:[35, 5], Operations: ['2+33=35', '3+2=5']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,68 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 68:[3, 33, 4], Operations: ['2+2=4']
Exploring Operation: 4-3=1, Resulting Numbers: [33, 1]
Generated Node #0,1,0: 68:[33, 1] Operation: 4-3=1
Exploring Operation: 33-3=30, Resulting Numbers: [4, 30]
Generated Node #0,1,1: 68:[4, 30] Operation: 33-3=30
Exploring Operation: 3+4=7, Resulting Numbers: [33, 7]
Generated Node #0,1,2: 68:[33, 7] Operation: 3+4=7
Exploring Operation: 3+33=36, Resulting Numbers: [4, 36]
Generated Node #0,1,3: 68:[4, 36] Operation: 3+33=36
Moving to Node #0,3
Current State: 68:[33, 2, 1], Operations: ['3-2=1']
Exploring Operation: 33*1=33, Resulting Numbers: [2, 33]
Generated Node #0,3,0: 68:[2, 33] Operation: 33*1=33
Exploring Operation: 33/1=33, Resulting Numbers: [2, 33]
Generated Node #0,3,1: 68:[2, 33] Operation: 33/1=33
Exploring Operation: 2*1=2, Resulting Numbers: [33, 2]
Generated Node #0,3,2: 68:[33, 2] Operation: 2*1=2
Exploring Operation: 33+1=34, Resulting Numbers: [2, 34]
Generated Node #0,3,3: 68:[2, 34] Operation: 33+1=34
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 68:[2, 34], Operations: ['3-2=1', '33+1=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[2, 3, 33, 2], Operations: []
Exploring Operation: 3-2=1, Resulting Numbers: [33, 2, 1]
Generated Node #0,3: 68:[33, 2, 1] Operation: 3-2=1
Moving to Node #0,3
Current State: 68:[33, 2, 1], Operations: ['3-2=1']
Exploring Operation: 33+1=34, Resulting Numbers: [2, 34]
Generated Node #0,3,3: 68:[2, 34] Operation: 33+1=34
Moving to Node #0,3,3
Current State: 68:[2, 34], Operations: ['3-2=1', '33+1=34']
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_4 | mult_heuristic |
[
59,
18,
49,
58
] | 86 | [
"59+18=77",
"58-49=9",
"77+9=86"
] | Current State: 86:[59, 18, 49, 58], Operations: []
Exploring Operation: 59+18=77, Resulting Numbers: [49, 58, 77]
Generated Node #2: [49, 58, 77] from Operation: 59+18=77
Current State: 86:[49, 58, 77], Operations: ['59+18=77']
Exploring Operation: 58-49=9, Resulting Numbers: [77, 9]
Generated Node #3: [77, 9] from Operation: 58-49=9
Current State: 86:[77, 9], Operations: ['59+18=77', '58-49=9']
Exploring Operation: 77+9=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[59, 18, 49, 58], Operations: []
Exploring Operation: 59-18=41, Resulting Numbers: [49, 58, 41]
Generated Node #0,0: 86:[49, 58, 41] Operation: 59-18=41
Exploring Operation: 59-58=1, Resulting Numbers: [18, 49, 1]
Generated Node #0,1: 86:[18, 49, 1] Operation: 59-58=1
Moving to Node #0,0
Current State: 86:[49, 58, 41], Operations: ['59-18=41']
Exploring Operation: 49+41=90, Resulting Numbers: [58, 90]
Generated Node #0,0,0: 86:[58, 90] Operation: 49+41=90
Exploring Operation: 58-49=9, Resulting Numbers: [41, 9]
Generated Node #0,0,1: 86:[41, 9] Operation: 58-49=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[41, 9], Operations: ['59-18=41', '58-49=9']
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,86 unequal: No Solution
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[58, 90], Operations: ['59-18=41', '49+41=90']
Exploring Operation: 58+90=148, Resulting Numbers: [148]
148,86 unequal: No Solution
Exploring Operation: 90-58=32, Resulting Numbers: [32]
32,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 86:[18, 49, 1], Operations: ['59-58=1']
Exploring Operation: 49-18=31, Resulting Numbers: [1, 31]
Generated Node #0,1,0: 86:[1, 31] Operation: 49-18=31
Exploring Operation: 18+49=67, Resulting Numbers: [1, 67]
Generated Node #0,1,1: 86:[1, 67] Operation: 18+49=67
Moving to Node #0,1,0
Current State: 86:[1, 31], Operations: ['59-58=1', '49-18=31']
Exploring Operation: 1*31=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Exploring Operation: 1+31=32, Resulting Numbers: [32]
32,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[1, 67], Operations: ['59-58=1', '18+49=67']
Exploring Operation: 1+67=68, Resulting Numbers: [68]
68,86 unequal: No Solution
Exploring Operation: 1*67=67, Resulting Numbers: [67]
67,86 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
74,
96,
10,
96
] | 65 | [
"74-10=64",
"96/96=1",
"64+1=65"
] | Current State: 65:[74, 96, 10, 96], Operations: []
Exploring Operation: 74-10=64, Resulting Numbers: [96, 96, 64]
Generated Node #2: [96, 96, 64] from Operation: 74-10=64
Current State: 65:[96, 96, 64], Operations: ['74-10=64']
Exploring Operation: 96/96=1, Resulting Numbers: [64, 1]
Generated Node #3: [64, 1] from Operation: 96/96=1
Current State: 65:[64, 1], Operations: ['74-10=64', '96/96=1']
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[74, 96, 10, 96], Operations: []
Exploring Operation: 96/96=1, Resulting Numbers: [74, 10, 1]
Generated Node #0,0: 65:[74, 10, 1] Operation: 96/96=1
Exploring Operation: 96-96=0, Resulting Numbers: [74, 10, 0]
Generated Node #0,1: 65:[74, 10, 0] Operation: 96-96=0
Moving to Node #0,0
Current State: 65:[74, 10, 1], Operations: ['96/96=1']
Exploring Operation: 74-1=73, Resulting Numbers: [10, 73]
Generated Node #0,0,0: 65:[10, 73] Operation: 74-1=73
Exploring Operation: 74-10=64, Resulting Numbers: [1, 64]
Generated Node #0,0,1: 65:[1, 64] Operation: 74-10=64
Moving to Node #0,1
Current State: 65:[74, 10, 0], Operations: ['96-96=0']
Exploring Operation: 74*0=0, Resulting Numbers: [10, 0]
Generated Node #0,1,0: 65:[10, 0] Operation: 74*0=0
Exploring Operation: 74-10=64, Resulting Numbers: [0, 64]
Generated Node #0,1,1: 65:[0, 64] Operation: 74-10=64
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[0, 64], Operations: ['96-96=0', '74-10=64']
Exploring Operation: 64-0=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 0+64=64, Resulting Numbers: [64]
64,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:[10, 0], Operations: ['96-96=0', '74*0=0']
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,65 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: 65:[1, 64], Operations: ['96/96=1', '74-10=64']
Exploring Operation: 1*64=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 1+64=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[74, 96, 10, 96], Operations: []
Exploring Operation: 96/96=1, Resulting Numbers: [74, 10, 1]
Generated Node #0,0: 65:[74, 10, 1] Operation: 96/96=1
Moving to Node #0,0
Current State: 65:[74, 10, 1], Operations: ['96/96=1']
Exploring Operation: 74-10=64, Resulting Numbers: [1, 64]
Generated Node #0,0,1: 65:[1, 64] Operation: 74-10=64
Moving to Node #0,0,1
Current State: 65:[1, 64], Operations: ['96/96=1', '74-10=64']
Exploring Operation: 1+64=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
3,
72,
52,
2
] | 26 | [
"72/3=24",
"52-2=50",
"50-24=26"
] | Current State: 26:[3, 72, 52, 2], Operations: []
Exploring Operation: 72/3=24, Resulting Numbers: [52, 2, 24]
Generated Node #2: [52, 2, 24] from Operation: 72/3=24
Current State: 26:[52, 2, 24], Operations: ['72/3=24']
Exploring Operation: 52-2=50, Resulting Numbers: [24, 50]
Generated Node #3: [24, 50] from Operation: 52-2=50
Current State: 26:[24, 50], Operations: ['72/3=24', '52-2=50']
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[3, 72, 52, 2], Operations: []
Exploring Operation: 72/3=24, Resulting Numbers: [52, 2, 24]
Generated Node #0,0: 26:[52, 2, 24] Operation: 72/3=24
Exploring Operation: 72/2=36, Resulting Numbers: [3, 52, 36]
Generated Node #0,1: 26:[3, 52, 36] Operation: 72/2=36
Exploring Operation: 72-52=20, Resulting Numbers: [3, 2, 20]
Generated Node #0,2: 26:[3, 2, 20] Operation: 72-52=20
Exploring Operation: 52/2=26, Resulting Numbers: [3, 72, 26]
Generated Node #0,3: 26:[3, 72, 26] Operation: 52/2=26
Moving to Node #0,2
Current State: 26:[3, 2, 20], Operations: ['72-52=20']
Exploring Operation: 20-3=17, Resulting Numbers: [2, 17]
Generated Node #0,2,0: 26:[2, 17] Operation: 20-3=17
Exploring Operation: 3+20=23, Resulting Numbers: [2, 23]
Generated Node #0,2,1: 26:[2, 23] Operation: 3+20=23
Exploring Operation: 2+20=22, Resulting Numbers: [3, 22]
Generated Node #0,2,2: 26:[3, 22] Operation: 2+20=22
Exploring Operation: 20/2=10, Resulting Numbers: [3, 10]
Generated Node #0,2,3: 26:[3, 10] Operation: 20/2=10
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 26:[2, 23], Operations: ['72-52=20', '3+20=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 26:[2, 17], Operations: ['72-52=20', '20-3=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 26:[3, 10], Operations: ['72-52=20', '20/2=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 26:[3, 22], Operations: ['72-52=20', '2+20=22']
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,26 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: 26:[52, 2, 24], Operations: ['72/3=24']
Exploring Operation: 52-24=28, Resulting Numbers: [2, 28]
Generated Node #0,0,0: 26:[2, 28] Operation: 52-24=28
Exploring Operation: 52-2=50, Resulting Numbers: [24, 50]
Generated Node #0,0,1: 26:[24, 50] Operation: 52-2=50
Exploring Operation: 52/2=26, Resulting Numbers: [24, 26]
Generated Node #0,0,2: 26:[24, 26] Operation: 52/2=26
Exploring Operation: 2+24=26, Resulting Numbers: [52, 26]
Generated Node #0,0,3: 26:[52, 26] Operation: 2+24=26
Moving to Node #0,1
Current State: 26:[3, 52, 36], Operations: ['72/2=36']
Exploring Operation: 52-3=49, Resulting Numbers: [36, 49]
Generated Node #0,1,0: 26:[36, 49] Operation: 52-3=49
Exploring Operation: 52-36=16, Resulting Numbers: [3, 16]
Generated Node #0,1,1: 26:[3, 16] Operation: 52-36=16
Exploring Operation: 36-3=33, Resulting Numbers: [52, 33]
Generated Node #0,1,2: 26:[52, 33] Operation: 36-3=33
Exploring Operation: 36/3=12, Resulting Numbers: [52, 12]
Generated Node #0,1,3: 26:[52, 12] Operation: 36/3=12
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[3, 16], Operations: ['72/2=36', '52-36=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 26:[52, 12], Operations: ['72/2=36', '36/3=12']
Exploring Operation: 52+12=64, Resulting Numbers: [64]
64,26 unequal: No Solution
Exploring Operation: 52*12=624, Resulting Numbers: [624]
624,26 unequal: No Solution
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[36, 49], Operations: ['72/2=36', '52-3=49']
Exploring Operation: 36+49=85, Resulting Numbers: [85]
85,26 unequal: No Solution
Exploring Operation: 36*49=1764, Resulting Numbers: [1764]
1764,26 unequal: No Solution
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 26:[52, 33], Operations: ['72/2=36', '36-3=33']
Exploring Operation: 52*33=1716, Resulting Numbers: [1716]
1716,26 unequal: No Solution
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 52+33=85, Resulting Numbers: [85]
85,26 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: 26:[3, 72, 26], Operations: ['52/2=26']
Exploring Operation: 3+72=75, Resulting Numbers: [26, 75]
Generated Node #0,3,0: 26:[26, 75] Operation: 3+72=75
Exploring Operation: 72/3=24, Resulting Numbers: [26, 24]
Generated Node #0,3,1: 26:[26, 24] Operation: 72/3=24
Exploring Operation: 72-26=46, Resulting Numbers: [3, 46]
Generated Node #0,3,2: 26:[3, 46] Operation: 72-26=46
Exploring Operation: 72-3=69, Resulting Numbers: [26, 69]
Generated Node #0,3,3: 26:[26, 69] Operation: 72-3=69
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 26:[26, 24], Operations: ['52/2=26', '72/3=24']
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 26*24=624, Resulting Numbers: [624]
624,26 unequal: No Solution
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 26:[3, 46], Operations: ['52/2=26', '72-26=46']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 26:[26, 69], Operations: ['52/2=26', '72-3=69']
Exploring Operation: 26*69=1794, Resulting Numbers: [1794]
1794,26 unequal: No Solution
Exploring Operation: 26+69=95, Resulting Numbers: [95]
95,26 unequal: No Solution
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 26:[26, 75], Operations: ['52/2=26', '3+72=75']
Exploring Operation: 26+75=101, Resulting Numbers: [101]
101,26 unequal: No Solution
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Exploring Operation: 26*75=1950, Resulting Numbers: [1950]
1950,26 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: 26:[2, 28], Operations: ['72/3=24', '52-24=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,26 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[3, 72, 52, 2], Operations: []
Exploring Operation: 72/3=24, Resulting Numbers: [52, 2, 24]
Generated Node #0,0: 26:[52, 2, 24] Operation: 72/3=24
Moving to Node #0,0
Current State: 26:[52, 2, 24], Operations: ['72/3=24']
Exploring Operation: 52-24=28, Resulting Numbers: [2, 28]
Generated Node #0,0,0: 26:[2, 28] Operation: 52-24=28
Moving to Node #0,0,0
Current State: 26:[2, 28], Operations: ['72/3=24', '52-24=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.945313 | hs_4 | mult_heuristic |
[
57,
24,
60,
24
] | 57 | [
"24-24=0",
"60*0=0",
"57+0=57"
] | Current State: 57:[57, 24, 60, 24], Operations: []
Exploring Operation: 24-24=0, Resulting Numbers: [57, 60, 0]
Generated Node #2: [57, 60, 0] from Operation: 24-24=0
Current State: 57:[57, 60, 0], Operations: ['24-24=0']
Exploring Operation: 60*0=0, Resulting Numbers: [57, 0]
Generated Node #3: [57, 0] from Operation: 60*0=0
Current State: 57:[57, 0], Operations: ['24-24=0', '60*0=0']
Exploring Operation: 57+0=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[57, 24, 60, 24], Operations: []
Exploring Operation: 24/24=1, Resulting Numbers: [57, 60, 1]
Generated Node #0,0: 57:[57, 60, 1] Operation: 24/24=1
Exploring Operation: 60-57=3, Resulting Numbers: [24, 24, 3]
Generated Node #0,1: 57:[24, 24, 3] Operation: 60-57=3
Exploring Operation: 24-24=0, Resulting Numbers: [57, 60, 0]
Generated Node #0,2: 57:[57, 60, 0] Operation: 24-24=0
Moving to Node #0,0
Current State: 57:[57, 60, 1], Operations: ['24/24=1']
Exploring Operation: 57*1=57, Resulting Numbers: [60, 57]
Generated Node #0,0,0: 57:[60, 57] Operation: 57*1=57
Exploring Operation: 60-1=59, Resulting Numbers: [57, 59]
Generated Node #0,0,1: 57:[57, 59] Operation: 60-1=59
Exploring Operation: 60-57=3, Resulting Numbers: [1, 3]
Generated Node #0,0,2: 57:[1, 3] Operation: 60-57=3
Moving to Node #0,2
Current State: 57:[57, 60, 0], Operations: ['24-24=0']
Exploring Operation: 57+0=57, Resulting Numbers: [60, 57]
Generated Node #0,2,0: 57:[60, 57] Operation: 57+0=57
Exploring Operation: 57-0=57, Resulting Numbers: [60, 57]
Generated Node #0,2,1: 57:[60, 57] Operation: 57-0=57
Exploring Operation: 60-57=3, Resulting Numbers: [0, 3]
Generated Node #0,2,2: 57:[0, 3] Operation: 60-57=3
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 57:[60, 57], Operations: ['24-24=0', '57+0=57']
Exploring Operation: 60+57=117, Resulting Numbers: [117]
117,57 unequal: No Solution
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 60*57=3420, Resulting Numbers: [3420]
3420,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 57:[60, 57], Operations: ['24-24=0', '57-0=57']
Exploring Operation: 60+57=117, Resulting Numbers: [117]
117,57 unequal: No Solution
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 60*57=3420, Resulting Numbers: [3420]
3420,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 57:[0, 3], Operations: ['24-24=0', '60-57=3']
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 0+3=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 0*3=0, Resulting Numbers: [0]
0,57 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: 57:[24, 24, 3], Operations: ['60-57=3']
Exploring Operation: 24-24=0, Resulting Numbers: [3, 0]
Generated Node #0,1,0: 57:[3, 0] Operation: 24-24=0
Exploring Operation: 24-3=21, Resulting Numbers: [24, 21]
Generated Node #0,1,1: 57:[24, 21] Operation: 24-3=21
Exploring Operation: 24/24=1, Resulting Numbers: [3, 1]
Generated Node #0,1,2: 57:[3, 1] Operation: 24/24=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 57:[3, 1], Operations: ['60-57=3', '24/24=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 57:[3, 0], Operations: ['60-57=3', '24-24=0']
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 3+0=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 3*0=0, Resulting Numbers: [0]
0,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 57:[24, 21], Operations: ['60-57=3', '24-3=21']
Exploring Operation: 24+21=45, Resulting Numbers: [45]
45,57 unequal: No Solution
Exploring Operation: 24*21=504, Resulting Numbers: [504]
504,57 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,57 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: 57:[57, 59], Operations: ['24/24=1', '60-1=59']
Exploring Operation: 59-57=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 57*59=3363, Resulting Numbers: [3363]
3363,57 unequal: No Solution
Exploring Operation: 57+59=116, Resulting Numbers: [116]
116,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[1, 3], Operations: ['24/24=1', '60-57=3']
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[60, 57], Operations: ['24/24=1', '57*1=57']
Exploring Operation: 60+57=117, Resulting Numbers: [117]
117,57 unequal: No Solution
Exploring Operation: 60*57=3420, Resulting Numbers: [3420]
3420,57 unequal: No Solution
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,57 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
87,
67,
32,
55
] | 43 | [
"87-67=20",
"55-32=23",
"20+23=43"
] | Current State: 43:[87, 67, 32, 55], Operations: []
Exploring Operation: 87-67=20, Resulting Numbers: [32, 55, 20]
Generated Node #2: [32, 55, 20] from Operation: 87-67=20
Current State: 43:[32, 55, 20], Operations: ['87-67=20']
Exploring Operation: 55-32=23, Resulting Numbers: [20, 23]
Generated Node #3: [20, 23] from Operation: 55-32=23
Current State: 43:[20, 23], Operations: ['87-67=20', '55-32=23']
Exploring Operation: 20+23=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[87, 67, 32, 55], Operations: []
Exploring Operation: 67-32=35, Resulting Numbers: [87, 55, 35]
Generated Node #0,0: 43:[87, 55, 35] Operation: 67-32=35
Exploring Operation: 67-55=12, Resulting Numbers: [87, 32, 12]
Generated Node #0,1: 43:[87, 32, 12] Operation: 67-55=12
Exploring Operation: 87-67=20, Resulting Numbers: [32, 55, 20]
Generated Node #0,2: 43:[32, 55, 20] Operation: 87-67=20
Exploring Operation: 87-32=55, Resulting Numbers: [67, 55, 55]
Generated Node #0,3: 43:[67, 55, 55] Operation: 87-32=55
Exploring Operation: 87-55=32, Resulting Numbers: [67, 32, 32]
Generated Node #0,4: 43:[67, 32, 32] Operation: 87-55=32
Moving to Node #0,2
Current State: 43:[32, 55, 20], Operations: ['87-67=20']
Exploring Operation: 55-20=35, Resulting Numbers: [32, 35]
Generated Node #0,2,0: 43:[32, 35] Operation: 55-20=35
Exploring Operation: 32+20=52, Resulting Numbers: [55, 52]
Generated Node #0,2,1: 43:[55, 52] Operation: 32+20=52
Exploring Operation: 32-20=12, Resulting Numbers: [55, 12]
Generated Node #0,2,2: 43:[55, 12] Operation: 32-20=12
Exploring Operation: 55-32=23, Resulting Numbers: [20, 23]
Generated Node #0,2,3: 43:[20, 23] Operation: 55-32=23
Exploring Operation: 55+20=75, Resulting Numbers: [32, 75]
Generated Node #0,2,4: 43:[32, 75] Operation: 55+20=75
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 43:[32, 35], Operations: ['87-67=20', '55-20=35']
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,43 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 32*35=1120, Resulting Numbers: [1120]
1120,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 43:[55, 52], Operations: ['87-67=20', '32+20=52']
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 55*52=2860, Resulting Numbers: [2860]
2860,43 unequal: No Solution
Exploring Operation: 55+52=107, Resulting Numbers: [107]
107,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 43:[55, 12], Operations: ['87-67=20', '32-20=12']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[87, 67, 32, 55], Operations: []
Exploring Operation: 87-67=20, Resulting Numbers: [32, 55, 20]
Generated Node #0,2: 43:[32, 55, 20] Operation: 87-67=20
Moving to Node #0,2
Current State: 43:[32, 55, 20], Operations: ['87-67=20']
Exploring Operation: 32-20=12, Resulting Numbers: [55, 12]
Generated Node #0,2,2: 43:[55, 12] Operation: 32-20=12
Moving to Node #0,2,2
Current State: 43:[55, 12], Operations: ['87-67=20', '32-20=12']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
6,
82,
24,
71
] | 44 | [
"24/6=4",
"82-71=11",
"4*11=44"
] | Current State: 44:[6, 82, 24, 71], Operations: []
Exploring Operation: 24/6=4, Resulting Numbers: [82, 71, 4]
Generated Node #2: [82, 71, 4] from Operation: 24/6=4
Current State: 44:[82, 71, 4], Operations: ['24/6=4']
Exploring Operation: 82-71=11, Resulting Numbers: [4, 11]
Generated Node #3: [4, 11] from Operation: 82-71=11
Current State: 44:[4, 11], Operations: ['24/6=4', '82-71=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[6, 82, 24, 71], Operations: []
Exploring Operation: 82-24=58, Resulting Numbers: [6, 71, 58]
Generated Node #0,0: 44:[6, 71, 58] Operation: 82-24=58
Exploring Operation: 82-71=11, Resulting Numbers: [6, 24, 11]
Generated Node #0,1: 44:[6, 24, 11] Operation: 82-71=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[6, 24, 11], Operations: ['82-71=11']
Exploring Operation: 11-6=5, Resulting Numbers: [24, 5]
Generated Node #0,1,0: 44:[24, 5] Operation: 11-6=5
Exploring Operation: 24/6=4, Resulting Numbers: [11, 4]
Generated Node #0,1,1: 44:[11, 4] Operation: 24/6=4
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[11, 4], Operations: ['82-71=11', '24/6=4']
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[6, 82, 24, 71], Operations: []
Exploring Operation: 82-71=11, Resulting Numbers: [6, 24, 11]
Generated Node #0,1: 44:[6, 24, 11] Operation: 82-71=11
Moving to Node #0,1
Current State: 44:[6, 24, 11], Operations: ['82-71=11']
Exploring Operation: 24/6=4, Resulting Numbers: [11, 4]
Generated Node #0,1,1: 44:[11, 4] Operation: 24/6=4
Moving to Node #0,1,1
Current State: 44:[11, 4], Operations: ['82-71=11', '24/6=4']
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
78,
70,
27,
74
] | 47 | [
"78+70=148",
"27+74=101",
"148-101=47"
] | Current State: 47:[78, 70, 27, 74], Operations: []
Exploring Operation: 78+70=148, Resulting Numbers: [27, 74, 148]
Generated Node #2: [27, 74, 148] from Operation: 78+70=148
Current State: 47:[27, 74, 148], Operations: ['78+70=148']
Exploring Operation: 27+74=101, Resulting Numbers: [148, 101]
Generated Node #3: [148, 101] from Operation: 27+74=101
Current State: 47:[148, 101], Operations: ['78+70=148', '27+74=101']
Exploring Operation: 148-101=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[78, 70, 27, 74], Operations: []
Exploring Operation: 78-70=8, Resulting Numbers: [27, 74, 8]
Generated Node #0,0: 47:[27, 74, 8] Operation: 78-70=8
Exploring Operation: 70-27=43, Resulting Numbers: [78, 74, 43]
Generated Node #0,1: 47:[78, 74, 43] Operation: 70-27=43
Exploring Operation: 74-27=47, Resulting Numbers: [78, 70, 47]
Generated Node #0,2: 47:[78, 70, 47] Operation: 74-27=47
Exploring Operation: 78-27=51, Resulting Numbers: [70, 74, 51]
Generated Node #0,3: 47:[70, 74, 51] Operation: 78-27=51
Moving to Node #0,2
Current State: 47:[78, 70, 47], Operations: ['74-27=47']
Exploring Operation: 70-47=23, Resulting Numbers: [78, 23]
Generated Node #0,2,0: 47:[78, 23] Operation: 70-47=23
Exploring Operation: 78+70=148, Resulting Numbers: [47, 148]
Generated Node #0,2,1: 47:[47, 148] Operation: 78+70=148
Exploring Operation: 78-70=8, Resulting Numbers: [47, 8]
Generated Node #0,2,2: 47:[47, 8] Operation: 78-70=8
Exploring Operation: 78-47=31, Resulting Numbers: [70, 31]
Generated Node #0,2,3: 47:[70, 31] Operation: 78-47=31
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[47, 8], Operations: ['74-27=47', '78-70=8']
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,47 unequal: No Solution
Exploring Operation: 47*8=376, Resulting Numbers: [376]
376,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 47:[70, 31], Operations: ['74-27=47', '78-47=31']
Exploring Operation: 70*31=2170, Resulting Numbers: [2170]
2170,47 unequal: No Solution
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 70+31=101, Resulting Numbers: [101]
101,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[78, 23], Operations: ['74-27=47', '70-47=23']
Exploring Operation: 78+23=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,47 unequal: No Solution
Exploring Operation: 78*23=1794, Resulting Numbers: [1794]
1794,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[47, 148], Operations: ['74-27=47', '78+70=148']
Exploring Operation: 47*148=6956, Resulting Numbers: [6956]
6956,47 unequal: No Solution
Exploring Operation: 47+148=195, Resulting Numbers: [195]
195,47 unequal: No Solution
Exploring Operation: 148-47=101, Resulting Numbers: [101]
101,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:[70, 74, 51], Operations: ['78-27=51']
Exploring Operation: 70+74=144, Resulting Numbers: [51, 144]
Generated Node #0,3,0: 47:[51, 144] Operation: 70+74=144
Exploring Operation: 74-51=23, Resulting Numbers: [70, 23]
Generated Node #0,3,1: 47:[70, 23] Operation: 74-51=23
Exploring Operation: 74-70=4, Resulting Numbers: [51, 4]
Generated Node #0,3,2: 47:[51, 4] Operation: 74-70=4
Exploring Operation: 70-51=19, Resulting Numbers: [74, 19]
Generated Node #0,3,3: 47:[74, 19] Operation: 70-51=19
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 47:[70, 23], Operations: ['78-27=51', '74-51=23']
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[78, 70, 27, 74], Operations: []
Exploring Operation: 78-27=51, Resulting Numbers: [70, 74, 51]
Generated Node #0,3: 47:[70, 74, 51] Operation: 78-27=51
Moving to Node #0,3
Current State: 47:[70, 74, 51], Operations: ['78-27=51']
Exploring Operation: 74-51=23, Resulting Numbers: [70, 23]
Generated Node #0,3,1: 47:[70, 23] Operation: 74-51=23
Moving to Node #0,3,1
Current State: 47:[70, 23], Operations: ['78-27=51', '74-51=23']
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
62,
8,
4,
3
] | 57 | [
"62-3=59",
"8/4=2",
"59-2=57"
] | Current State: 57:[62, 8, 4, 3], Operations: []
Exploring Operation: 62-3=59, Resulting Numbers: [8, 4, 59]
Generated Node #2: [8, 4, 59] from Operation: 62-3=59
Current State: 57:[8, 4, 59], Operations: ['62-3=59']
Exploring Operation: 8/4=2, Resulting Numbers: [59, 2]
Generated Node #3: [59, 2] from Operation: 8/4=2
Current State: 57:[59, 2], Operations: ['62-3=59', '8/4=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[62, 8, 4, 3], Operations: []
Exploring Operation: 8-4=4, Resulting Numbers: [62, 3, 4]
Generated Node #0,0: 57:[62, 3, 4] Operation: 8-4=4
Exploring Operation: 62-8=54, Resulting Numbers: [4, 3, 54]
Generated Node #0,1: 57:[4, 3, 54] Operation: 62-8=54
Exploring Operation: 8/4=2, Resulting Numbers: [62, 3, 2]
Generated Node #0,2: 57:[62, 3, 2] Operation: 8/4=2
Exploring Operation: 62-4=58, Resulting Numbers: [8, 3, 58]
Generated Node #0,3: 57:[8, 3, 58] Operation: 62-4=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[4, 3, 54], Operations: ['62-8=54']
Exploring Operation: 4-3=1, Resulting Numbers: [54, 1]
Generated Node #0,1,0: 57:[54, 1] Operation: 4-3=1
Exploring Operation: 4+54=58, Resulting Numbers: [3, 58]
Generated Node #0,1,1: 57:[3, 58] Operation: 4+54=58
Exploring Operation: 54/3=18, Resulting Numbers: [4, 18]
Generated Node #0,1,2: 57:[4, 18] Operation: 54/3=18
Exploring Operation: 3+54=57, Resulting Numbers: [4, 57]
Generated Node #0,1,3: 57:[4, 57] Operation: 3+54=57
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[3, 58], Operations: ['62-8=54', '4+54=58']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,57 unequal: No Solution
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 57:[4, 57], Operations: ['62-8=54', '3+54=57']
Exploring Operation: 4*57=228, Resulting Numbers: [228]
228,57 unequal: No Solution
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[4, 18], Operations: ['62-8=54', '54/3=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[54, 1], Operations: ['62-8=54', '4-3=1']
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[62, 3, 4], Operations: ['8-4=4']
Exploring Operation: 4-3=1, Resulting Numbers: [62, 1]
Generated Node #0,0,0: 57:[62, 1] Operation: 4-3=1
Exploring Operation: 62-4=58, Resulting Numbers: [3, 58]
Generated Node #0,0,1: 57:[3, 58] Operation: 62-4=58
Exploring Operation: 62+3=65, Resulting Numbers: [4, 65]
Generated Node #0,0,2: 57:[4, 65] Operation: 62+3=65
Exploring Operation: 62-3=59, Resulting Numbers: [4, 59]
Generated Node #0,0,3: 57:[4, 59] Operation: 62-3=59
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[3, 58], Operations: ['8-4=4', '62-4=58']
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 57:[4, 59], Operations: ['8-4=4', '62-3=59']
Exploring Operation: 4*59=236, Resulting Numbers: [236]
236,57 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[62, 1], Operations: ['8-4=4', '4-3=1']
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,57 unequal: No Solution
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,57 unequal: No Solution
Exploring Operation: 62*1=62, Resulting Numbers: [62]
62,57 unequal: No Solution
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 57:[4, 65], Operations: ['8-4=4', '62+3=65']
Exploring Operation: 4+65=69, Resulting Numbers: [69]
69,57 unequal: No Solution
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 4*65=260, Resulting Numbers: [260]
260,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[62, 3, 2], Operations: ['8/4=2']
Exploring Operation: 62-2=60, Resulting Numbers: [3, 60]
Generated Node #0,2,0: 57:[3, 60] Operation: 62-2=60
Exploring Operation: 62+2=64, Resulting Numbers: [3, 64]
Generated Node #0,2,1: 57:[3, 64] Operation: 62+2=64
Exploring Operation: 62-3=59, Resulting Numbers: [2, 59]
Generated Node #0,2,2: 57:[2, 59] Operation: 62-3=59
Exploring Operation: 3+2=5, Resulting Numbers: [62, 5]
Generated Node #0,2,3: 57:[62, 5] Operation: 3+2=5
Moving to Node #0,2,0
Current State: 57:[3, 60], Operations: ['8/4=2', '62-2=60']
Exploring Operation: 3*60=180, Resulting Numbers: [180]
180,57 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,57 unequal: No Solution
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,57 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[62, 8, 4, 3], Operations: []
Exploring Operation: 8/4=2, Resulting Numbers: [62, 3, 2]
Generated Node #0,2: 57:[62, 3, 2] Operation: 8/4=2
Moving to Node #0,2
Current State: 57:[62, 3, 2], Operations: ['8/4=2']
Exploring Operation: 62-2=60, Resulting Numbers: [3, 60]
Generated Node #0,2,0: 57:[3, 60] Operation: 62-2=60
Moving to Node #0,2,0
Current State: 57:[3, 60], Operations: ['8/4=2', '62-2=60']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.956597 | hs_4 | sum_heuristic |
[
37,
32,
38,
69
] | 100 | [
"37+32=69",
"69-38=31",
"69+31=100"
] | Current State: 100:[37, 32, 38, 69], Operations: []
Exploring Operation: 37+32=69, Resulting Numbers: [38, 69, 69]
Generated Node #2: [38, 69, 69] from Operation: 37+32=69
Current State: 100:[38, 69, 69], Operations: ['37+32=69']
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,100 equal: Goal Reached
Exploring Operation: 69+31=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[37, 32, 38, 69], Operations: []
Exploring Operation: 32+69=101, Resulting Numbers: [37, 38, 101]
Generated Node #0,0: 100:[37, 38, 101] Operation: 32+69=101
Exploring Operation: 37+69=106, Resulting Numbers: [32, 38, 106]
Generated Node #0,1: 100:[32, 38, 106] Operation: 37+69=106
Moving to Node #0,0
Current State: 100:[37, 38, 101], Operations: ['32+69=101']
Exploring Operation: 38-37=1, Resulting Numbers: [101, 1]
Generated Node #0,0,0: 100:[101, 1] Operation: 38-37=1
Exploring Operation: 101-38=63, Resulting Numbers: [37, 63]
Generated Node #0,0,1: 100:[37, 63] Operation: 101-38=63
Moving to Node #0,1
Current State: 100:[32, 38, 106], Operations: ['37+69=106']
Exploring Operation: 106-38=68, Resulting Numbers: [32, 68]
Generated Node #0,1,0: 100:[32, 68] Operation: 106-38=68
Exploring Operation: 38-32=6, Resulting Numbers: [106, 6]
Generated Node #0,1,1: 100:[106, 6] Operation: 38-32=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[106, 6], Operations: ['37+69=106', '38-32=6']
Exploring Operation: 106+6=112, Resulting Numbers: [112]
112,100 unequal: No Solution
Exploring Operation: 106-6=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[37, 32, 38, 69], Operations: []
Exploring Operation: 37+69=106, Resulting Numbers: [32, 38, 106]
Generated Node #0,1: 100:[32, 38, 106] Operation: 37+69=106
Moving to Node #0,1
Current State: 100:[32, 38, 106], Operations: ['37+69=106']
Exploring Operation: 38-32=6, Resulting Numbers: [106, 6]
Generated Node #0,1,1: 100:[106, 6] Operation: 38-32=6
Moving to Node #0,1,1
Current State: 100:[106, 6], Operations: ['37+69=106', '38-32=6']
Exploring Operation: 106-6=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
78,
31,
67,
94
] | 65 | [
"78-31=47",
"94/47=2",
"67-2=65"
] | Current State: 65:[78, 31, 67, 94], Operations: []
Exploring Operation: 78-31=47, Resulting Numbers: [67, 94, 47]
Generated Node #2: [67, 94, 47] from Operation: 78-31=47
Current State: 65:[67, 94, 47], Operations: ['78-31=47']
Exploring Operation: 94/47=2, Resulting Numbers: [67, 2]
Generated Node #3: [67, 2] from Operation: 94/47=2
Current State: 65:[67, 2], Operations: ['78-31=47', '94/47=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[78, 31, 67, 94], Operations: []
Exploring Operation: 94-67=27, Resulting Numbers: [78, 31, 27]
Generated Node #0,0: 65:[78, 31, 27] Operation: 94-67=27
Exploring Operation: 94-31=63, Resulting Numbers: [78, 67, 63]
Generated Node #0,1: 65:[78, 67, 63] Operation: 94-31=63
Exploring Operation: 94-78=16, Resulting Numbers: [31, 67, 16]
Generated Node #0,2: 65:[31, 67, 16] Operation: 94-78=16
Moving to Node #0,1
Current State: 65:[78, 67, 63], Operations: ['94-31=63']
Exploring Operation: 67-63=4, Resulting Numbers: [78, 4]
Generated Node #0,1,0: 65:[78, 4] Operation: 67-63=4
Exploring Operation: 78-67=11, Resulting Numbers: [63, 11]
Generated Node #0,1,1: 65:[63, 11] Operation: 78-67=11
Exploring Operation: 78-63=15, Resulting Numbers: [67, 15]
Generated Node #0,1,2: 65:[67, 15] Operation: 78-63=15
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[63, 11], Operations: ['94-31=63', '78-67=11']
Exploring Operation: 63+11=74, Resulting Numbers: [74]
74,65 unequal: No Solution
Exploring Operation: 63*11=693, Resulting Numbers: [693]
693,65 unequal: No Solution
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,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,2
Current State: 65:[67, 15], Operations: ['94-31=63', '78-63=15']
Exploring Operation: 67+15=82, Resulting Numbers: [82]
82,65 unequal: No Solution
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,65 unequal: No Solution
Exploring Operation: 67*15=1005, Resulting Numbers: [1005]
1005,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:[78, 4], Operations: ['94-31=63', '67-63=4']
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,65 unequal: No Solution
Exploring Operation: 78*4=312, Resulting Numbers: [312]
312,65 unequal: No Solution
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,65 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: 65:[31, 67, 16], Operations: ['94-78=16']
Exploring Operation: 31+16=47, Resulting Numbers: [67, 47]
Generated Node #0,2,0: 65:[67, 47] Operation: 31+16=47
Exploring Operation: 67-31=36, Resulting Numbers: [16, 36]
Generated Node #0,2,1: 65:[16, 36] Operation: 67-31=36
Exploring Operation: 31-16=15, Resulting Numbers: [67, 15]
Generated Node #0,2,2: 65:[67, 15] Operation: 31-16=15
Moving to Node #0,0
Current State: 65:[78, 31, 27], Operations: ['94-67=27']
Exploring Operation: 31-27=4, Resulting Numbers: [78, 4]
Generated Node #0,0,0: 65:[78, 4] Operation: 31-27=4
Exploring Operation: 78-31=47, Resulting Numbers: [27, 47]
Generated Node #0,0,1: 65:[27, 47] Operation: 78-31=47
Exploring Operation: 31+27=58, Resulting Numbers: [78, 58]
Generated Node #0,0,2: 65:[78, 58] Operation: 31+27=58
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[78, 4], Operations: ['94-67=27', '31-27=4']
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,65 unequal: No Solution
Exploring Operation: 78*4=312, Resulting Numbers: [312]
312,65 unequal: No Solution
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,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,0,2
Current State: 65:[78, 58], Operations: ['94-67=27', '31+27=58']
Exploring Operation: 78*58=4524, Resulting Numbers: [4524]
4524,65 unequal: No Solution
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 78+58=136, Resulting Numbers: [136]
136,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,0,1
Current State: 65:[27, 47], Operations: ['94-67=27', '78-31=47']
Exploring Operation: 27*47=1269, Resulting Numbers: [1269]
1269,65 unequal: No Solution
Exploring Operation: 47-27=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 27+47=74, Resulting Numbers: [74]
74,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 65:[67, 15], Operations: ['94-78=16', '31-16=15']
Exploring Operation: 67+15=82, Resulting Numbers: [82]
82,65 unequal: No Solution
Exploring Operation: 67*15=1005, Resulting Numbers: [1005]
1005,65 unequal: No Solution
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[67, 47], Operations: ['94-78=16', '31+16=47']
Exploring Operation: 67*47=3149, Resulting Numbers: [3149]
3149,65 unequal: No Solution
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 67+47=114, Resulting Numbers: [114]
114,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[16, 36], Operations: ['94-78=16', '67-31=36']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 16*36=576, Resulting Numbers: [576]
576,65 unequal: No Solution
Exploring Operation: 16+36=52, Resulting Numbers: [52]
52,65 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
62,
1,
32,
28
] | 59 | [
"62+1=63",
"32-28=4",
"63-4=59"
] | Current State: 59:[62, 1, 32, 28], Operations: []
Exploring Operation: 62+1=63, Resulting Numbers: [32, 28, 63]
Generated Node #2: [32, 28, 63] from Operation: 62+1=63
Current State: 59:[32, 28, 63], Operations: ['62+1=63']
Exploring Operation: 32-28=4, Resulting Numbers: [63, 4]
Generated Node #3: [63, 4] from Operation: 32-28=4
Current State: 59:[63, 4], Operations: ['62+1=63', '32-28=4']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[62, 1, 32, 28], Operations: []
Exploring Operation: 1+32=33, Resulting Numbers: [62, 28, 33]
Generated Node #0,0: 59:[62, 28, 33] Operation: 1+32=33
Exploring Operation: 62-1=61, Resulting Numbers: [32, 28, 61]
Generated Node #0,1: 59:[32, 28, 61] Operation: 62-1=61
Moving to Node #0,0
Current State: 59:[62, 28, 33], Operations: ['1+32=33']
Exploring Operation: 62-28=34, Resulting Numbers: [33, 34]
Generated Node #0,0,0: 59:[33, 34] Operation: 62-28=34
Exploring Operation: 28+33=61, Resulting Numbers: [62, 61]
Generated Node #0,0,1: 59:[62, 61] Operation: 28+33=61
Moving to Node #0,1
Current State: 59:[32, 28, 61], Operations: ['62-1=61']
Exploring Operation: 61-28=33, Resulting Numbers: [32, 33]
Generated Node #0,1,0: 59:[32, 33] Operation: 61-28=33
Exploring Operation: 32+28=60, Resulting Numbers: [61, 60]
Generated Node #0,1,1: 59:[61, 60] Operation: 32+28=60
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[61, 60], Operations: ['62-1=61', '32+28=60']
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 61+60=121, Resulting Numbers: [121]
121,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,1,0
Current State: 59:[32, 33], Operations: ['62-1=61', '61-28=33']
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,59 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: 59:[62, 61], Operations: ['1+32=33', '28+33=61']
Exploring Operation: 62-61=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 62+61=123, Resulting Numbers: [123]
123,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[33, 34], Operations: ['1+32=33', '62-28=34']
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,59 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
62,
77,
84,
10
] | 45 | [
"62+77=139",
"84+10=94",
"139-94=45"
] | Current State: 45:[62, 77, 84, 10], Operations: []
Exploring Operation: 62+77=139, Resulting Numbers: [84, 10, 139]
Generated Node #2: [84, 10, 139] from Operation: 62+77=139
Current State: 45:[84, 10, 139], Operations: ['62+77=139']
Exploring Operation: 84+10=94, Resulting Numbers: [139, 94]
Generated Node #3: [139, 94] from Operation: 84+10=94
Current State: 45:[139, 94], Operations: ['62+77=139', '84+10=94']
Exploring Operation: 139-94=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[62, 77, 84, 10], Operations: []
Exploring Operation: 84-77=7, Resulting Numbers: [62, 10, 7]
Generated Node #0,0: 45:[62, 10, 7] Operation: 84-77=7
Exploring Operation: 77-62=15, Resulting Numbers: [84, 10, 15]
Generated Node #0,1: 45:[84, 10, 15] Operation: 77-62=15
Exploring Operation: 84-62=22, Resulting Numbers: [77, 10, 22]
Generated Node #0,2: 45:[77, 10, 22] Operation: 84-62=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[62, 10, 7], Operations: ['84-77=7']
Exploring Operation: 10-7=3, Resulting Numbers: [62, 3]
Generated Node #0,0,0: 45:[62, 3] Operation: 10-7=3
Exploring Operation: 62-10=52, Resulting Numbers: [7, 52]
Generated Node #0,0,1: 45:[7, 52] Operation: 62-10=52
Exploring Operation: 62-7=55, Resulting Numbers: [10, 55]
Generated Node #0,0,2: 45:[10, 55] Operation: 62-7=55
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 45:[7, 52], Operations: ['84-77=7', '62-10=52']
Exploring Operation: 7+52=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[62, 77, 84, 10], Operations: []
Exploring Operation: 84-77=7, Resulting Numbers: [62, 10, 7]
Generated Node #0,0: 45:[62, 10, 7] Operation: 84-77=7
Moving to Node #0,0
Current State: 45:[62, 10, 7], Operations: ['84-77=7']
Exploring Operation: 62-10=52, Resulting Numbers: [7, 52]
Generated Node #0,0,1: 45:[7, 52] Operation: 62-10=52
Moving to Node #0,0,1
Current State: 45:[7, 52], Operations: ['84-77=7', '62-10=52']
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
90,
13,
9,
51
] | 54 | [
"90/9=10",
"13+51=64",
"64-10=54"
] | Current State: 54:[90, 13, 9, 51], Operations: []
Exploring Operation: 90/9=10, Resulting Numbers: [13, 51, 10]
Generated Node #2: [13, 51, 10] from Operation: 90/9=10
Current State: 54:[13, 51, 10], Operations: ['90/9=10']
Exploring Operation: 13+51=64, Resulting Numbers: [10, 64]
Generated Node #3: [10, 64] from Operation: 13+51=64
Current State: 54:[10, 64], Operations: ['90/9=10', '13+51=64']
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[90, 13, 9, 51], Operations: []
Exploring Operation: 90-51=39, Resulting Numbers: [13, 9, 39]
Generated Node #0,0: 54:[13, 9, 39] Operation: 90-51=39
Exploring Operation: 90-13=77, Resulting Numbers: [9, 51, 77]
Generated Node #0,1: 54:[9, 51, 77] Operation: 90-13=77
Exploring Operation: 90/9=10, Resulting Numbers: [13, 51, 10]
Generated Node #0,2: 54:[13, 51, 10] Operation: 90/9=10
Moving to Node #0,2
Current State: 54:[13, 51, 10], Operations: ['90/9=10']
Exploring Operation: 13+10=23, Resulting Numbers: [51, 23]
Generated Node #0,2,0: 54:[51, 23] Operation: 13+10=23
Exploring Operation: 13-10=3, Resulting Numbers: [51, 3]
Generated Node #0,2,1: 54:[51, 3] Operation: 13-10=3
Exploring Operation: 13+51=64, Resulting Numbers: [10, 64]
Generated Node #0,2,2: 54:[10, 64] Operation: 13+51=64
Moving to Node #0,0
Current State: 54:[13, 9, 39], Operations: ['90-51=39']
Exploring Operation: 39/13=3, Resulting Numbers: [9, 3]
Generated Node #0,0,0: 54:[9, 3] Operation: 39/13=3
Exploring Operation: 39-13=26, Resulting Numbers: [9, 26]
Generated Node #0,0,1: 54:[9, 26] Operation: 39-13=26
Exploring Operation: 13+39=52, Resulting Numbers: [9, 52]
Generated Node #0,0,2: 54:[9, 52] Operation: 13+39=52
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[9, 3], Operations: ['90-51=39', '39/13=3']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[9, 26], Operations: ['90-51=39', '39-13=26']
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,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,0,2
Current State: 54:[9, 52], Operations: ['90-51=39', '13+39=52']
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,54 unequal: No Solution
Exploring Operation: 9*52=468, Resulting Numbers: [468]
468,54 unequal: No Solution
Exploring Operation: 9+52=61, Resulting Numbers: [61]
61,54 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: 54:[9, 51, 77], Operations: ['90-13=77']
Exploring Operation: 77-51=26, Resulting Numbers: [9, 26]
Generated Node #0,1,0: 54:[9, 26] Operation: 77-51=26
Exploring Operation: 77-9=68, Resulting Numbers: [51, 68]
Generated Node #0,1,1: 54:[51, 68] Operation: 77-9=68
Exploring Operation: 9+51=60, Resulting Numbers: [77, 60]
Generated Node #0,1,2: 54:[77, 60] Operation: 9+51=60
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[9, 26], Operations: ['90-13=77', '77-51=26']
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,54 unequal: No Solution
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,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:[51, 68], Operations: ['90-13=77', '77-9=68']
Exploring Operation: 51+68=119, Resulting Numbers: [119]
119,54 unequal: No Solution
Exploring Operation: 51*68=3468, Resulting Numbers: [3468]
3468,54 unequal: No Solution
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,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:[77, 60], Operations: ['90-13=77', '9+51=60']
Exploring Operation: 77+60=137, Resulting Numbers: [137]
137,54 unequal: No Solution
Exploring Operation: 77-60=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 77*60=4620, Resulting Numbers: [4620]
4620,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 54:[51, 3], Operations: ['90/9=10', '13-10=3']
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[90, 13, 9, 51], Operations: []
Exploring Operation: 90/9=10, Resulting Numbers: [13, 51, 10]
Generated Node #0,2: 54:[13, 51, 10] Operation: 90/9=10
Moving to Node #0,2
Current State: 54:[13, 51, 10], Operations: ['90/9=10']
Exploring Operation: 13-10=3, Resulting Numbers: [51, 3]
Generated Node #0,2,1: 54:[51, 3] Operation: 13-10=3
Moving to Node #0,2,1
Current State: 54:[51, 3], Operations: ['90/9=10', '13-10=3']
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.969618 | hs_3 | sum_heuristic |
[
78,
74,
3,
98
] | 50 | [
"78/3=26",
"98-74=24",
"26+24=50"
] | Current State: 50:[78, 74, 3, 98], Operations: []
Exploring Operation: 78/3=26, Resulting Numbers: [74, 98, 26]
Generated Node #2: [74, 98, 26] from Operation: 78/3=26
Current State: 50:[74, 98, 26], Operations: ['78/3=26']
Exploring Operation: 98-74=24, Resulting Numbers: [26, 24]
Generated Node #3: [26, 24] from Operation: 98-74=24
Current State: 50:[26, 24], Operations: ['78/3=26', '98-74=24']
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[78, 74, 3, 98], Operations: []
Exploring Operation: 98-78=20, Resulting Numbers: [74, 3, 20]
Generated Node #0,0: 50:[74, 3, 20] Operation: 98-78=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[74, 3, 20], Operations: ['98-78=20']
Exploring Operation: 74-20=54, Resulting Numbers: [3, 54]
Generated Node #0,0,0: 50:[3, 54] Operation: 74-20=54
Moving to Node #0,0,0
Current State: 50:[3, 54], Operations: ['98-78=20', '74-20=54']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,50 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 |
[
65,
16,
75,
15
] | 100 | [
"65+75=140",
"16*15=240",
"240-140=100"
] | Current State: 100:[65, 16, 75, 15], Operations: []
Exploring Operation: 65+75=140, Resulting Numbers: [16, 15, 140]
Generated Node #2: [16, 15, 140] from Operation: 65+75=140
Current State: 100:[16, 15, 140], Operations: ['65+75=140']
Exploring Operation: 16*15=240, Resulting Numbers: [140, 240]
Generated Node #3: [140, 240] from Operation: 16*15=240
Current State: 100:[140, 240], Operations: ['65+75=140', '16*15=240']
Exploring Operation: 240-140=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[65, 16, 75, 15], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [16, 15, 10]
Generated Node #0,0: 100:[16, 15, 10] Operation: 75-65=10
Moving to Node #0,0
Current State: 100:[16, 15, 10], Operations: ['75-65=10']
Exploring Operation: 16-15=1, Resulting Numbers: [10, 1]
Generated Node #0,0,0: 100:[10, 1] Operation: 16-15=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[10, 1], Operations: ['75-65=10', '16-15=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,100 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 |
[
8,
99,
69,
3
] | 66 | [
"99-8=91",
"91-69=22",
"3*22=66"
] | Current State: 66:[8, 99, 69, 3], Operations: []
Exploring Operation: 99-8=91, Resulting Numbers: [69, 3, 91]
Generated Node #2: [69, 3, 91] from Operation: 99-8=91
Current State: 66:[69, 3, 91], Operations: ['99-8=91']
Exploring Operation: 91-69=22, Resulting Numbers: [3, 22]
Generated Node #3: [3, 22] from Operation: 91-69=22
Current State: 66:[3, 22], Operations: ['99-8=91', '91-69=22']
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[8, 99, 69, 3], Operations: []
Exploring Operation: 99-69=30, Resulting Numbers: [8, 3, 30]
Generated Node #0,0: 66:[8, 3, 30] Operation: 99-69=30
Exploring Operation: 99/3=33, Resulting Numbers: [8, 69, 33]
Generated Node #0,1: 66:[8, 69, 33] Operation: 99/3=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[8, 3, 30], Operations: ['99-69=30']
Exploring Operation: 3+30=33, Resulting Numbers: [8, 33]
Generated Node #0,0,0: 66:[8, 33] Operation: 3+30=33
Exploring Operation: 30-8=22, Resulting Numbers: [3, 22]
Generated Node #0,0,1: 66:[3, 22] Operation: 30-8=22
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[3, 22], Operations: ['99-69=30', '30-8=22']
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[8, 99, 69, 3], Operations: []
Exploring Operation: 99-69=30, Resulting Numbers: [8, 3, 30]
Generated Node #0,0: 66:[8, 3, 30] Operation: 99-69=30
Moving to Node #0,0
Current State: 66:[8, 3, 30], Operations: ['99-69=30']
Exploring Operation: 30-8=22, Resulting Numbers: [3, 22]
Generated Node #0,0,1: 66:[3, 22] Operation: 30-8=22
Moving to Node #0,0,1
Current State: 66:[3, 22], Operations: ['99-69=30', '30-8=22']
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
14,
54,
41,
32
] | 77 | [
"14+54=68",
"41-32=9",
"68+9=77"
] | Current State: 77:[14, 54, 41, 32], Operations: []
Exploring Operation: 14+54=68, Resulting Numbers: [41, 32, 68]
Generated Node #2: [41, 32, 68] from Operation: 14+54=68
Current State: 77:[41, 32, 68], Operations: ['14+54=68']
Exploring Operation: 41-32=9, Resulting Numbers: [68, 9]
Generated Node #3: [68, 9] from Operation: 41-32=9
Current State: 77:[68, 9], Operations: ['14+54=68', '41-32=9']
Exploring Operation: 68+9=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[14, 54, 41, 32], Operations: []
Exploring Operation: 54-41=13, Resulting Numbers: [14, 32, 13]
Generated Node #0,0: 77:[14, 32, 13] Operation: 54-41=13
Moving to Node #0,0
Current State: 77:[14, 32, 13], Operations: ['54-41=13']
Exploring Operation: 32-14=18, Resulting Numbers: [13, 18]
Generated Node #0,0,0: 77:[13, 18] Operation: 32-14=18
Moving to Node #0,0,0
Current State: 77:[13, 18], Operations: ['54-41=13', '32-14=18']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,77 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
52,
34,
94,
19
] | 35 | [
"94*19=1786",
"34+1786=1820",
"1820/52=35"
] | Current State: 35:[52, 34, 94, 19], Operations: []
Exploring Operation: 94*19=1786, Resulting Numbers: [52, 34, 1786]
Generated Node #2: [52, 34, 1786] from Operation: 94*19=1786
Current State: 35:[52, 34, 1786], Operations: ['94*19=1786']
Exploring Operation: 34+1786=1820, Resulting Numbers: [52, 1820]
Generated Node #3: [52, 1820] from Operation: 34+1786=1820
Current State: 35:[52, 1820], Operations: ['94*19=1786', '34+1786=1820']
Exploring Operation: 1820/52=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[52, 34, 94, 19], Operations: []
Exploring Operation: 94-19=75, Resulting Numbers: [52, 34, 75]
Generated Node #0,0: 35:[52, 34, 75] Operation: 94-19=75
Exploring Operation: 94-34=60, Resulting Numbers: [52, 19, 60]
Generated Node #0,1: 35:[52, 19, 60] Operation: 94-34=60
Exploring Operation: 52-19=33, Resulting Numbers: [34, 94, 33]
Generated Node #0,2: 35:[34, 94, 33] Operation: 52-19=33
Exploring Operation: 94-52=42, Resulting Numbers: [34, 19, 42]
Generated Node #0,3: 35:[34, 19, 42] Operation: 94-52=42
Exploring Operation: 52-34=18, Resulting Numbers: [94, 19, 18]
Generated Node #0,4: 35:[94, 19, 18] Operation: 52-34=18
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[34, 19, 42], Operations: ['94-52=42']
Exploring Operation: 34-19=15, Resulting Numbers: [42, 15]
Generated Node #0,3,0: 35:[42, 15] Operation: 34-19=15
Exploring Operation: 42-34=8, Resulting Numbers: [19, 8]
Generated Node #0,3,1: 35:[19, 8] Operation: 42-34=8
Exploring Operation: 34+19=53, Resulting Numbers: [42, 53]
Generated Node #0,3,2: 35:[42, 53] Operation: 34+19=53
Exploring Operation: 19+42=61, Resulting Numbers: [34, 61]
Generated Node #0,3,3: 35:[34, 61] Operation: 19+42=61
Exploring Operation: 42-19=23, Resulting Numbers: [34, 23]
Generated Node #0,3,4: 35:[34, 23] Operation: 42-19=23
Moving to Node #0,3,1
Current State: 35:[19, 8], Operations: ['94-52=42', '42-34=8']
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 19*8=152, Resulting Numbers: [152]
152,35 unequal: No Solution
Moving to Node #0,3,4
Current State: 35:[34, 23], Operations: ['94-52=42', '42-19=23']
Exploring Operation: 34*23=782, Resulting Numbers: [782]
782,35 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Moving to Node #0,3,0
Current State: 35:[42, 15], Operations: ['94-52=42', '34-19=15']
Exploring Operation: 42*15=630, Resulting Numbers: [630]
630,35 unequal: No Solution
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 42+15=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Moving to Node #0,3,2
Current State: 35:[42, 53], Operations: ['94-52=42', '34+19=53']
Exploring Operation: 42+53=95, Resulting Numbers: [95]
95,35 unequal: No Solution
Exploring Operation: 42*53=2226, Resulting Numbers: [2226]
2226,35 unequal: No Solution
Exploring Operation: 53-42=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Moving to Node #0,3,3
Current State: 35:[34, 61], Operations: ['94-52=42', '19+42=61']
Exploring Operation: 34*61=2074, Resulting Numbers: [2074]
2074,35 unequal: No Solution
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 34+61=95, Resulting Numbers: [95]
95,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[52, 19, 60], Operations: ['94-34=60']
Exploring Operation: 19+60=79, Resulting Numbers: [52, 79]
Generated Node #0,1,0: 35:[52, 79] Operation: 19+60=79
Exploring Operation: 60-19=41, Resulting Numbers: [52, 41]
Generated Node #0,1,1: 35:[52, 41] Operation: 60-19=41
Exploring Operation: 52+19=71, Resulting Numbers: [60, 71]
Generated Node #0,1,2: 35:[60, 71] Operation: 52+19=71
Exploring Operation: 52-19=33, Resulting Numbers: [60, 33]
Generated Node #0,1,3: 35:[60, 33] Operation: 52-19=33
Exploring Operation: 60-52=8, Resulting Numbers: [19, 8]
Generated Node #0,1,4: 35:[19, 8] Operation: 60-52=8
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 35:[19, 8], Operations: ['94-34=60', '60-52=8']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 19*8=152, Resulting Numbers: [152]
152,35 unequal: No Solution
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 35:[52, 41], Operations: ['94-34=60', '60-19=41']
Exploring Operation: 52*41=2132, Resulting Numbers: [2132]
2132,35 unequal: No Solution
Exploring Operation: 52+41=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,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:[60, 33], Operations: ['94-34=60', '52-19=33']
Exploring Operation: 60+33=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Exploring Operation: 60-33=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 60*33=1980, Resulting Numbers: [1980]
1980,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:[52, 79], Operations: ['94-34=60', '19+60=79']
Exploring Operation: 79-52=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 52*79=4108, Resulting Numbers: [4108]
4108,35 unequal: No Solution
Exploring Operation: 52+79=131, Resulting Numbers: [131]
131,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:[60, 71], Operations: ['94-34=60', '52+19=71']
Exploring Operation: 71-60=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 60+71=131, Resulting Numbers: [131]
131,35 unequal: No Solution
Exploring Operation: 60*71=4260, Resulting Numbers: [4260]
4260,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:[52, 34, 75], Operations: ['94-19=75']
Exploring Operation: 34+75=109, Resulting Numbers: [52, 109]
Generated Node #0,0,0: 35:[52, 109] Operation: 34+75=109
Exploring Operation: 75-34=41, Resulting Numbers: [52, 41]
Generated Node #0,0,1: 35:[52, 41] Operation: 75-34=41
Exploring Operation: 75-52=23, Resulting Numbers: [34, 23]
Generated Node #0,0,2: 35:[34, 23] Operation: 75-52=23
Exploring Operation: 52-34=18, Resulting Numbers: [75, 18]
Generated Node #0,0,3: 35:[75, 18] Operation: 52-34=18
Exploring Operation: 52+34=86, Resulting Numbers: [75, 86]
Generated Node #0,0,4: 35:[75, 86] Operation: 52+34=86
Moving to Node #0,0,2
Current State: 35:[34, 23], Operations: ['94-19=75', '75-52=23']
Exploring Operation: 34*23=782, Resulting Numbers: [782]
782,35 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[52, 41], Operations: ['94-19=75', '75-34=41']
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 52*41=2132, Resulting Numbers: [2132]
2132,35 unequal: No Solution
Exploring Operation: 52+41=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Moving to Node #0,0,3
Current State: 35:[75, 18], Operations: ['94-19=75', '52-34=18']
Exploring Operation: 75+18=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 75*18=1350, Resulting Numbers: [1350]
1350,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[52, 109], Operations: ['94-19=75', '34+75=109']
Exploring Operation: 52*109=5668, Resulting Numbers: [5668]
5668,35 unequal: No Solution
Exploring Operation: 109-52=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 52+109=161, Resulting Numbers: [161]
161,35 unequal: No Solution
Moving to Node #0,0,4
Current State: 35:[75, 86], Operations: ['94-19=75', '52+34=86']
Exploring Operation: 86-75=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 75+86=161, Resulting Numbers: [161]
161,35 unequal: No Solution
Exploring Operation: 75*86=6450, Resulting Numbers: [6450]
6450,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[34, 94, 33], Operations: ['52-19=33']
Exploring Operation: 94-33=61, Resulting Numbers: [34, 61]
Generated Node #0,2,0: 35:[34, 61] Operation: 94-33=61
Exploring Operation: 34-33=1, Resulting Numbers: [94, 1]
Generated Node #0,2,1: 35:[94, 1] Operation: 34-33=1
Exploring Operation: 94-34=60, Resulting Numbers: [33, 60]
Generated Node #0,2,2: 35:[33, 60] Operation: 94-34=60
Exploring Operation: 34+33=67, Resulting Numbers: [94, 67]
Generated Node #0,2,3: 35:[94, 67] Operation: 34+33=67
Exploring Operation: 94+33=127, Resulting Numbers: [34, 127]
Generated Node #0,2,4: 35:[34, 127] Operation: 94+33=127
Moving to Node #0,2,0
Current State: 35:[34, 61], Operations: ['52-19=33', '94-33=61']
Exploring Operation: 34*61=2074, Resulting Numbers: [2074]
2074,35 unequal: No Solution
Exploring Operation: 34+61=95, Resulting Numbers: [95]
95,35 unequal: No Solution
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[33, 60], Operations: ['52-19=33', '94-34=60']
Exploring Operation: 33*60=1980, Resulting Numbers: [1980]
1980,35 unequal: No Solution
Exploring Operation: 33+60=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Exploring Operation: 60-33=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[94, 1], Operations: ['52-19=33', '34-33=1']
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,35 unequal: No Solution
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,35 unequal: No Solution
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,35 unequal: No Solution
Moving to Node #0,2,3
Current State: 35:[94, 67], Operations: ['52-19=33', '34+33=67']
Exploring Operation: 94-67=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 94+67=161, Resulting Numbers: [161]
161,35 unequal: No Solution
Exploring Operation: 94*67=6298, Resulting Numbers: [6298]
6298,35 unequal: No Solution
Moving to Node #0,2,4
Current State: 35:[34, 127], Operations: ['52-19=33', '94+33=127']
Exploring Operation: 127-34=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Exploring Operation: 34+127=161, Resulting Numbers: [161]
161,35 unequal: No Solution
Exploring Operation: 34*127=4318, Resulting Numbers: [4318]
4318,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,4
Current State: 35:[94, 19, 18], Operations: ['52-34=18']
Exploring Operation: 19+18=37, Resulting Numbers: [94, 37]
Generated Node #0,4,0: 35:[94, 37] Operation: 19+18=37
Exploring Operation: 19-18=1, Resulting Numbers: [94, 1]
Generated Node #0,4,1: 35:[94, 1] Operation: 19-18=1
Exploring Operation: 94+19=113, Resulting Numbers: [18, 113]
Generated Node #0,4,2: 35:[18, 113] Operation: 94+19=113
Exploring Operation: 94-18=76, Resulting Numbers: [19, 76]
Generated Node #0,4,3: 35:[19, 76] Operation: 94-18=76
Exploring Operation: 94-19=75, Resulting Numbers: [18, 75]
Generated Node #0,4,4: 35:[18, 75] Operation: 94-19=75
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 35:[18, 75], Operations: ['52-34=18', '94-19=75']
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 18*75=1350, Resulting Numbers: [1350]
1350,35 unequal: No Solution
Exploring Operation: 18+75=93, Resulting Numbers: [93]
93,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 35:[19, 76], Operations: ['52-34=18', '94-18=76']
Exploring Operation: 19+76=95, Resulting Numbers: [95]
95,35 unequal: No Solution
Exploring Operation: 19*76=1444, Resulting Numbers: [1444]
1444,35 unequal: No Solution
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 35:[94, 37], Operations: ['52-34=18', '19+18=37']
Exploring Operation: 94-37=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 94*37=3478, Resulting Numbers: [3478]
3478,35 unequal: No Solution
Exploring Operation: 94+37=131, Resulting Numbers: [131]
131,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 35:[94, 1], Operations: ['52-34=18', '19-18=1']
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,35 unequal: No Solution
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,35 unequal: No Solution
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 35:[18, 113], Operations: ['52-34=18', '94+19=113']
Exploring Operation: 18+113=131, Resulting Numbers: [131]
131,35 unequal: No Solution
Exploring Operation: 18*113=2034, Resulting Numbers: [2034]
2034,35 unequal: No Solution
Exploring Operation: 113-18=95, Resulting Numbers: [95]
95,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
29,
57,
40,
95
] | 58 | [
"57+40=97",
"97-95=2",
"29*2=58"
] | Current State: 58:[29, 57, 40, 95], Operations: []
Exploring Operation: 57+40=97, Resulting Numbers: [29, 95, 97]
Generated Node #2: [29, 95, 97] from Operation: 57+40=97
Current State: 58:[29, 95, 97], Operations: ['57+40=97']
Exploring Operation: 97-95=2, Resulting Numbers: [29, 2]
Generated Node #3: [29, 2] from Operation: 97-95=2
Current State: 58:[29, 2], Operations: ['57+40=97', '97-95=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[29, 57, 40, 95], Operations: []
Exploring Operation: 95-40=55, Resulting Numbers: [29, 57, 55]
Generated Node #0,0: 58:[29, 57, 55] Operation: 95-40=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[29, 57, 55], Operations: ['95-40=55']
Exploring Operation: 57-55=2, Resulting Numbers: [29, 2]
Generated Node #0,0,0: 58:[29, 2] Operation: 57-55=2
Moving to Node #0,0,0
Current State: 58:[29, 2], Operations: ['95-40=55', '57-55=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[29, 57, 40, 95], Operations: []
Exploring Operation: 95-40=55, Resulting Numbers: [29, 57, 55]
Generated Node #0,0: 58:[29, 57, 55] Operation: 95-40=55
Moving to Node #0,0
Current State: 58:[29, 57, 55], Operations: ['95-40=55']
Exploring Operation: 57-55=2, Resulting Numbers: [29, 2]
Generated Node #0,0,0: 58:[29, 2] Operation: 57-55=2
Moving to Node #0,0,0
Current State: 58:[29, 2], Operations: ['95-40=55', '57-55=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
26,
62,
66,
28
] | 20 | [
"26*66=1716",
"62*28=1736",
"1736-1716=20"
] | Current State: 20:[26, 62, 66, 28], Operations: []
Exploring Operation: 26*66=1716, Resulting Numbers: [62, 28, 1716]
Generated Node #2: [62, 28, 1716] from Operation: 26*66=1716
Current State: 20:[62, 28, 1716], Operations: ['26*66=1716']
Exploring Operation: 62*28=1736, Resulting Numbers: [1716, 1736]
Generated Node #3: [1716, 1736] from Operation: 62*28=1736
Current State: 20:[1716, 1736], Operations: ['26*66=1716', '62*28=1736']
Exploring Operation: 1736-1716=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[26, 62, 66, 28], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [26, 28, 4]
Generated Node #0,0: 20:[26, 28, 4] Operation: 66-62=4
Exploring Operation: 62-26=36, Resulting Numbers: [66, 28, 36]
Generated Node #0,1: 20:[66, 28, 36] Operation: 62-26=36
Exploring Operation: 66-28=38, Resulting Numbers: [26, 62, 38]
Generated Node #0,2: 20:[26, 62, 38] Operation: 66-28=38
Exploring Operation: 62-28=34, Resulting Numbers: [26, 66, 34]
Generated Node #0,3: 20:[26, 66, 34] Operation: 62-28=34
Exploring Operation: 66-26=40, Resulting Numbers: [62, 28, 40]
Generated Node #0,4: 20:[62, 28, 40] Operation: 66-26=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[26, 28, 4], Operations: ['66-62=4']
Exploring Operation: 28-26=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 20:[4, 2] Operation: 28-26=2
Exploring Operation: 28-4=24, Resulting Numbers: [26, 24]
Generated Node #0,0,1: 20:[26, 24] Operation: 28-4=24
Exploring Operation: 28/4=7, Resulting Numbers: [26, 7]
Generated Node #0,0,2: 20:[26, 7] Operation: 28/4=7
Exploring Operation: 26-4=22, Resulting Numbers: [28, 22]
Generated Node #0,0,3: 20:[28, 22] Operation: 26-4=22
Exploring Operation: 26+4=30, Resulting Numbers: [28, 30]
Generated Node #0,0,4: 20:[28, 30] Operation: 26+4=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[4, 2], Operations: ['66-62=4', '28-26=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,20 unequal: No Solution
No 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: 20:[26, 7], Operations: ['66-62=4', '28/4=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,20 unequal: No Solution
No 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: 20:[26, 24], Operations: ['66-62=4', '28-4=24']
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 26*24=624, Resulting Numbers: [624]
624,20 unequal: No Solution
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,20 unequal: No Solution
No 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: 20:[28, 22], Operations: ['66-62=4', '26-4=22']
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,20 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,20 unequal: No Solution
No 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: 20:[28, 30], Operations: ['66-62=4', '26+4=30']
Exploring Operation: 28*30=840, Resulting Numbers: [840]
840,20 unequal: No Solution
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,20 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: 20:[26, 62, 38], Operations: ['66-28=38']
Exploring Operation: 38-26=12, Resulting Numbers: [62, 12]
Generated Node #0,2,0: 20:[62, 12] Operation: 38-26=12
Exploring Operation: 62-26=36, Resulting Numbers: [38, 36]
Generated Node #0,2,1: 20:[38, 36] Operation: 62-26=36
Exploring Operation: 26+62=88, Resulting Numbers: [38, 88]
Generated Node #0,2,2: 20:[38, 88] Operation: 26+62=88
Exploring Operation: 26+38=64, Resulting Numbers: [62, 64]
Generated Node #0,2,3: 20:[62, 64] Operation: 26+38=64
Exploring Operation: 62-38=24, Resulting Numbers: [26, 24]
Generated Node #0,2,4: 20:[26, 24] Operation: 62-38=24
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 20:[26, 24], Operations: ['66-28=38', '62-38=24']
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 26*24=624, Resulting Numbers: [624]
624,20 unequal: No Solution
No 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: 20:[38, 36], Operations: ['66-28=38', '62-26=36']
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 38*36=1368, Resulting Numbers: [1368]
1368,20 unequal: No Solution
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,20 unequal: No Solution
No 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: 20:[62, 12], Operations: ['66-28=38', '38-26=12']
Exploring Operation: 62*12=744, Resulting Numbers: [744]
744,20 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 62+12=74, Resulting Numbers: [74]
74,20 unequal: No Solution
No 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: 20:[38, 88], Operations: ['66-28=38', '26+62=88']
Exploring Operation: 38+88=126, Resulting Numbers: [126]
126,20 unequal: No Solution
Exploring Operation: 38*88=3344, Resulting Numbers: [3344]
3344,20 unequal: No Solution
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,20 unequal: No Solution
No 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: 20:[62, 64], Operations: ['66-28=38', '26+38=64']
Exploring Operation: 62*64=3968, Resulting Numbers: [3968]
3968,20 unequal: No Solution
Exploring Operation: 64-62=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 62+64=126, Resulting Numbers: [126]
126,20 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: 20:[26, 66, 34], Operations: ['62-28=34']
Exploring Operation: 66-26=40, Resulting Numbers: [34, 40]
Generated Node #0,3,0: 20:[34, 40] Operation: 66-26=40
Exploring Operation: 66-34=32, Resulting Numbers: [26, 32]
Generated Node #0,3,1: 20:[26, 32] Operation: 66-34=32
Exploring Operation: 26+66=92, Resulting Numbers: [34, 92]
Generated Node #0,3,2: 20:[34, 92] Operation: 26+66=92
Exploring Operation: 26+34=60, Resulting Numbers: [66, 60]
Generated Node #0,3,3: 20:[66, 60] Operation: 26+34=60
Exploring Operation: 34-26=8, Resulting Numbers: [66, 8]
Generated Node #0,3,4: 20:[66, 8] Operation: 34-26=8
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 20:[26, 32], Operations: ['62-28=34', '66-34=32']
Exploring Operation: 26+32=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 26*32=832, Resulting Numbers: [832]
832,20 unequal: No Solution
No 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: 20:[34, 40], Operations: ['62-28=34', '66-26=40']
Exploring Operation: 34+40=74, Resulting Numbers: [74]
74,20 unequal: No Solution
Exploring Operation: 34*40=1360, Resulting Numbers: [1360]
1360,20 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 20:[66, 8], Operations: ['62-28=34', '34-26=8']
Exploring Operation: 66+8=74, Resulting Numbers: [74]
74,20 unequal: No Solution
Exploring Operation: 66*8=528, Resulting Numbers: [528]
528,20 unequal: No Solution
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,20 unequal: No Solution
No 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: 20:[34, 92], Operations: ['62-28=34', '26+66=92']
Exploring Operation: 34+92=126, Resulting Numbers: [126]
126,20 unequal: No Solution
Exploring Operation: 34*92=3128, Resulting Numbers: [3128]
3128,20 unequal: No Solution
Exploring Operation: 92-34=58, Resulting Numbers: [58]
58,20 unequal: No Solution
No 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: 20:[66, 60], Operations: ['62-28=34', '26+34=60']
Exploring Operation: 66-60=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 66+60=126, Resulting Numbers: [126]
126,20 unequal: No Solution
Exploring Operation: 66*60=3960, Resulting Numbers: [3960]
3960,20 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: 20:[66, 28, 36], Operations: ['62-26=36']
Exploring Operation: 66+28=94, Resulting Numbers: [36, 94]
Generated Node #0,1,0: 20:[36, 94] Operation: 66+28=94
Exploring Operation: 66+36=102, Resulting Numbers: [28, 102]
Generated Node #0,1,1: 20:[28, 102] Operation: 66+36=102
Exploring Operation: 66-28=38, Resulting Numbers: [36, 38]
Generated Node #0,1,2: 20:[36, 38] Operation: 66-28=38
Exploring Operation: 36-28=8, Resulting Numbers: [66, 8]
Generated Node #0,1,3: 20:[66, 8] Operation: 36-28=8
Exploring Operation: 66-36=30, Resulting Numbers: [28, 30]
Generated Node #0,1,4: 20:[28, 30] Operation: 66-36=30
Moving to Node #0,1,4
Current State: 20:[28, 30], Operations: ['62-26=36', '66-36=30']
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 28*30=840, Resulting Numbers: [840]
840,20 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[36, 38], Operations: ['62-26=36', '66-28=38']
Exploring Operation: 36+38=74, Resulting Numbers: [74]
74,20 unequal: No Solution
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 36*38=1368, Resulting Numbers: [1368]
1368,20 unequal: No Solution
Moving to Node #0,1,3
Current State: 20:[66, 8], Operations: ['62-26=36', '36-28=8']
Exploring Operation: 66*8=528, Resulting Numbers: [528]
528,20 unequal: No Solution
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 66+8=74, Resulting Numbers: [74]
74,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[36, 94], Operations: ['62-26=36', '66+28=94']
Exploring Operation: 36*94=3384, Resulting Numbers: [3384]
3384,20 unequal: No Solution
Exploring Operation: 94-36=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 36+94=130, Resulting Numbers: [130]
130,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[28, 102], Operations: ['62-26=36', '66+36=102']
Exploring Operation: 102-28=74, Resulting Numbers: [74]
74,20 unequal: No Solution
Exploring Operation: 28+102=130, Resulting Numbers: [130]
130,20 unequal: No Solution
Exploring Operation: 28*102=2856, Resulting Numbers: [2856]
2856,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 20:[62, 28, 40], Operations: ['66-26=40']
Exploring Operation: 62+28=90, Resulting Numbers: [40, 90]
Generated Node #0,4,0: 20:[40, 90] Operation: 62+28=90
Exploring Operation: 40-28=12, Resulting Numbers: [62, 12]
Generated Node #0,4,1: 20:[62, 12] Operation: 40-28=12
Exploring Operation: 62+40=102, Resulting Numbers: [28, 102]
Generated Node #0,4,2: 20:[28, 102] Operation: 62+40=102
Exploring Operation: 62-40=22, Resulting Numbers: [28, 22]
Generated Node #0,4,3: 20:[28, 22] Operation: 62-40=22
Exploring Operation: 62-28=34, Resulting Numbers: [40, 34]
Generated Node #0,4,4: 20:[40, 34] Operation: 62-28=34
Moving to Node #0,4,3
Current State: 20:[28, 22], Operations: ['66-26=40', '62-40=22']
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,20 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Moving to Node #0,4,4
Current State: 20:[40, 34], Operations: ['66-26=40', '62-28=34']
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,20 unequal: No Solution
Exploring Operation: 40*34=1360, Resulting Numbers: [1360]
1360,20 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Moving to Node #0,4,1
Current State: 20:[62, 12], Operations: ['66-26=40', '40-28=12']
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 62+12=74, Resulting Numbers: [74]
74,20 unequal: No Solution
Exploring Operation: 62*12=744, Resulting Numbers: [744]
744,20 unequal: No Solution
Moving to Node #0,4,0
Current State: 20:[40, 90], Operations: ['66-26=40', '62+28=90']
Exploring Operation: 40+90=130, Resulting Numbers: [130]
130,20 unequal: No Solution
Exploring Operation: 40*90=3600, Resulting Numbers: [3600]
3600,20 unequal: No Solution
Exploring Operation: 90-40=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Moving to Node #0,4,2
Current State: 20:[28, 102], Operations: ['66-26=40', '62+40=102']
Exploring Operation: 28+102=130, Resulting Numbers: [130]
130,20 unequal: No Solution
Exploring Operation: 28*102=2856, Resulting Numbers: [2856]
2856,20 unequal: No Solution
Exploring Operation: 102-28=74, Resulting Numbers: [74]
74,20 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 |
[
63,
18,
59,
3
] | 69 | [
"63-59=4",
"18*4=72",
"72-3=69"
] | Current State: 69:[63, 18, 59, 3], Operations: []
Exploring Operation: 63-59=4, Resulting Numbers: [18, 3, 4]
Generated Node #2: [18, 3, 4] from Operation: 63-59=4
Current State: 69:[18, 3, 4], Operations: ['63-59=4']
Exploring Operation: 18*4=72, Resulting Numbers: [3, 72]
Generated Node #3: [3, 72] from Operation: 18*4=72
Current State: 69:[3, 72], Operations: ['63-59=4', '18*4=72']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[63, 18, 59, 3], Operations: []
Exploring Operation: 63-59=4, Resulting Numbers: [18, 3, 4]
Generated Node #0,0: 69:[18, 3, 4] Operation: 63-59=4
Exploring Operation: 18+59=77, Resulting Numbers: [63, 3, 77]
Generated Node #0,1: 69:[63, 3, 77] Operation: 18+59=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[18, 3, 4], Operations: ['63-59=4']
Exploring Operation: 18+4=22, Resulting Numbers: [3, 22]
Generated Node #0,0,0: 69:[3, 22] Operation: 18+4=22
Exploring Operation: 18+3=21, Resulting Numbers: [4, 21]
Generated Node #0,0,1: 69:[4, 21] Operation: 18+3=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[3, 22], Operations: ['63-59=4', '18+4=22']
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,69 unequal: No Solution
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[4, 21], Operations: ['63-59=4', '18+3=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,69 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[63, 3, 77], Operations: ['18+59=77']
Exploring Operation: 63/3=21, Resulting Numbers: [77, 21]
Generated Node #0,1,0: 69:[77, 21] Operation: 63/3=21
Exploring Operation: 77-63=14, Resulting Numbers: [3, 14]
Generated Node #0,1,1: 69:[3, 14] Operation: 77-63=14
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[3, 14], Operations: ['18+59=77', '77-63=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[77, 21], Operations: ['18+59=77', '63/3=21']
Exploring Operation: 77+21=98, Resulting Numbers: [98]
98,69 unequal: No Solution
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
11,
73,
7,
18
] | 12 | [
"73-7=66",
"66/11=6",
"18-6=12"
] | Current State: 12:[11, 73, 7, 18], Operations: []
Exploring Operation: 73-7=66, Resulting Numbers: [11, 18, 66]
Generated Node #2: [11, 18, 66] from Operation: 73-7=66
Current State: 12:[11, 18, 66], Operations: ['73-7=66']
Exploring Operation: 66/11=6, Resulting Numbers: [18, 6]
Generated Node #3: [18, 6] from Operation: 66/11=6
Current State: 12:[18, 6], Operations: ['73-7=66', '66/11=6']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[11, 73, 7, 18], Operations: []
Exploring Operation: 73-11=62, Resulting Numbers: [7, 18, 62]
Generated Node #0,0: 12:[7, 18, 62] Operation: 73-11=62
Exploring Operation: 73-18=55, Resulting Numbers: [11, 7, 55]
Generated Node #0,1: 12:[11, 7, 55] Operation: 73-18=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[11, 7, 55], Operations: ['73-18=55']
Exploring Operation: 55/11=5, Resulting Numbers: [7, 5]
Generated Node #0,1,0: 12:[7, 5] Operation: 55/11=5
Exploring Operation: 55-11=44, Resulting Numbers: [7, 44]
Generated Node #0,1,1: 12:[7, 44] Operation: 55-11=44
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 12:[7, 5], Operations: ['73-18=55', '55/11=5']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[11, 73, 7, 18], Operations: []
Exploring Operation: 73-18=55, Resulting Numbers: [11, 7, 55]
Generated Node #0,1: 12:[11, 7, 55] Operation: 73-18=55
Moving to Node #0,1
Current State: 12:[11, 7, 55], Operations: ['73-18=55']
Exploring Operation: 55/11=5, Resulting Numbers: [7, 5]
Generated Node #0,1,0: 12:[7, 5] Operation: 55/11=5
Moving to Node #0,1,0
Current State: 12:[7, 5], Operations: ['73-18=55', '55/11=5']
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
42,
3,
55,
66
] | 28 | [
"42-3=39",
"66-55=11",
"39-11=28"
] | Current State: 28:[42, 3, 55, 66], Operations: []
Exploring Operation: 42-3=39, Resulting Numbers: [55, 66, 39]
Generated Node #2: [55, 66, 39] from Operation: 42-3=39
Current State: 28:[55, 66, 39], Operations: ['42-3=39']
Exploring Operation: 66-55=11, Resulting Numbers: [39, 11]
Generated Node #3: [39, 11] from Operation: 66-55=11
Current State: 28:[39, 11], Operations: ['42-3=39', '66-55=11']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[42, 3, 55, 66], Operations: []
Exploring Operation: 66/3=22, Resulting Numbers: [42, 55, 22]
Generated Node #0,0: 28:[42, 55, 22] Operation: 66/3=22
Exploring Operation: 66-55=11, Resulting Numbers: [42, 3, 11]
Generated Node #0,1: 28:[42, 3, 11] Operation: 66-55=11
Exploring Operation: 66-42=24, Resulting Numbers: [3, 55, 24]
Generated Node #0,2: 28:[3, 55, 24] Operation: 66-42=24
Exploring Operation: 55-42=13, Resulting Numbers: [3, 66, 13]
Generated Node #0,3: 28:[3, 66, 13] Operation: 55-42=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[42, 3, 11], Operations: ['66-55=11']
Exploring Operation: 3+11=14, Resulting Numbers: [42, 14]
Generated Node #0,1,0: 28:[42, 14] Operation: 3+11=14
Exploring Operation: 42/3=14, Resulting Numbers: [11, 14]
Generated Node #0,1,1: 28:[11, 14] Operation: 42/3=14
Exploring Operation: 42-3=39, Resulting Numbers: [11, 39]
Generated Node #0,1,2: 28:[11, 39] Operation: 42-3=39
Exploring Operation: 42-11=31, Resulting Numbers: [3, 31]
Generated Node #0,1,3: 28:[3, 31] Operation: 42-11=31
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 28:[11, 14], Operations: ['66-55=11', '42/3=14']
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,28 unequal: No Solution
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 28:[3, 31], Operations: ['66-55=11', '42-11=31']
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,28 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[42, 3, 55, 66], Operations: []
Exploring Operation: 66-55=11, Resulting Numbers: [42, 3, 11]
Generated Node #0,1: 28:[42, 3, 11] Operation: 66-55=11
Moving to Node #0,1
Current State: 28:[42, 3, 11], Operations: ['66-55=11']
Exploring Operation: 42-11=31, Resulting Numbers: [3, 31]
Generated Node #0,1,3: 28:[3, 31] Operation: 42-11=31
Moving to Node #0,1,3
Current State: 28:[3, 31], Operations: ['66-55=11', '42-11=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.