Datasets:

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
[ 34, 26, 55, 24 ]
79
[ "34*55=1870", "26+1870=1896", "1896/24=79" ]
Current State: 79:[34, 26, 55, 24], Operations: [] Exploring Operation: 34*55=1870, Resulting Numbers: [26, 24, 1870] Generated Node #2: [26, 24, 1870] from Operation: 34*55=1870 Current State: 79:[26, 24, 1870], Operations: ['34*55=1870'] Exploring Operation: 26+1870=1896, Resulting Numbers: [24, 1896] Generated Node #3: [24, 1896] from Operation: 26+1870=1896 Current State: 79:[24, 1896], Operations: ['34*55=1870', '26+1870=1896'] Exploring Operation: 1896/24=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[34, 26, 55, 24], Operations: [] Exploring Operation: 34+24=58, Resulting Numbers: [26, 55, 58] Generated Node #0,0: 79:[26, 55, 58] Operation: 34+24=58 Exploring Operation: 34+26=60, Resulting Numbers: [55, 24, 60] Generated Node #0,1: 79:[55, 24, 60] Operation: 34+26=60 Moving to Node #0,0 Current State: 79:[26, 55, 58], Operations: ['34+24=58'] Exploring Operation: 26+58=84, Resulting Numbers: [55, 84] Generated Node #0,0,0: 79:[55, 84] Operation: 26+58=84 Exploring Operation: 26+55=81, Resulting Numbers: [58, 81] Generated Node #0,0,1: 79:[58, 81] Operation: 26+55=81 Moving to Node #0,1 Current State: 79:[55, 24, 60], Operations: ['34+26=60'] Exploring Operation: 24+60=84, Resulting Numbers: [55, 84] Generated Node #0,1,0: 79:[55, 84] Operation: 24+60=84 Exploring Operation: 55+24=79, Resulting Numbers: [60, 79] Generated Node #0,1,1: 79:[60, 79] Operation: 55+24=79 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 79:[60, 79], Operations: ['34+26=60', '55+24=79'] Exploring Operation: 79-60=19, Resulting Numbers: [19] 19,79 unequal: No Solution Exploring Operation: 60+79=139, Resulting Numbers: [139] 139,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:[55, 84], Operations: ['34+26=60', '24+60=84'] Exploring Operation: 55+84=139, Resulting Numbers: [139] 139,79 unequal: No Solution Exploring Operation: 84-55=29, Resulting Numbers: [29] 29,79 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: 79:[58, 81], Operations: ['34+24=58', '26+55=81'] Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,79 unequal: No Solution Exploring Operation: 58+81=139, Resulting Numbers: [139] 139,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[55, 84], Operations: ['34+24=58', '26+58=84'] Exploring Operation: 84-55=29, Resulting Numbers: [29] 29,79 unequal: No Solution Exploring Operation: 55+84=139, Resulting Numbers: [139] 139,79 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 92, 82, 90, 21 ]
59
[ "92-82=10", "90-21=69", "69-10=59" ]
Current State: 59:[92, 82, 90, 21], Operations: [] Exploring Operation: 92-82=10, Resulting Numbers: [90, 21, 10] Generated Node #2: [90, 21, 10] from Operation: 92-82=10 Current State: 59:[90, 21, 10], Operations: ['92-82=10'] Exploring Operation: 90-21=69, Resulting Numbers: [10, 69] Generated Node #3: [10, 69] from Operation: 90-21=69 Current State: 59:[10, 69], Operations: ['92-82=10', '90-21=69'] Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[92, 82, 90, 21], Operations: [] Exploring Operation: 92-21=71, Resulting Numbers: [82, 90, 71] Generated Node #0,0: 59:[82, 90, 71] Operation: 92-21=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[82, 90, 71], Operations: ['92-21=71'] Exploring Operation: 90-82=8, Resulting Numbers: [71, 8] Generated Node #0,0,0: 59:[71, 8] Operation: 90-82=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[71, 8], Operations: ['92-21=71', '90-82=8'] Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 74, 2, 38, 25 ]
43
[ "74-38=36", "36/2=18", "25+18=43" ]
Current State: 43:[74, 2, 38, 25], Operations: [] Exploring Operation: 74-38=36, Resulting Numbers: [2, 25, 36] Generated Node #2: [2, 25, 36] from Operation: 74-38=36 Current State: 43:[2, 25, 36], Operations: ['74-38=36'] Exploring Operation: 36/2=18, Resulting Numbers: [25, 18] Generated Node #3: [25, 18] from Operation: 36/2=18 Current State: 43:[25, 18], Operations: ['74-38=36', '36/2=18'] Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[74, 2, 38, 25], Operations: [] Exploring Operation: 74/2=37, Resulting Numbers: [38, 25, 37] Generated Node #0,0: 43:[38, 25, 37] Operation: 74/2=37 Moving to Node #0,0 Current State: 43:[38, 25, 37], Operations: ['74/2=37'] Exploring Operation: 25+37=62, Resulting Numbers: [38, 62] Generated Node #0,0,0: 43:[38, 62] Operation: 25+37=62 Moving to Node #0,0,0 Current State: 43:[38, 62], Operations: ['74/2=37', '25+37=62'] Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,43 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 56, 45, 25, 48 ]
19
[ "48-45=3", "25*3=75", "75-56=19" ]
Current State: 19:[56, 45, 25, 48], Operations: [] Exploring Operation: 48-45=3, Resulting Numbers: [56, 25, 3] Generated Node #2: [56, 25, 3] from Operation: 48-45=3 Current State: 19:[56, 25, 3], Operations: ['48-45=3'] Exploring Operation: 25*3=75, Resulting Numbers: [56, 75] Generated Node #3: [56, 75] from Operation: 25*3=75 Current State: 19:[56, 75], Operations: ['48-45=3', '25*3=75'] Exploring Operation: 75-56=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[56, 45, 25, 48], Operations: [] Exploring Operation: 56-45=11, Resulting Numbers: [25, 48, 11] Generated Node #0,0: 19:[25, 48, 11] Operation: 56-45=11 Exploring Operation: 56-48=8, Resulting Numbers: [45, 25, 8] Generated Node #0,1: 19:[45, 25, 8] Operation: 56-48=8 Moving to Node #0,0 Current State: 19:[25, 48, 11], Operations: ['56-45=11'] Exploring Operation: 48-25=23, Resulting Numbers: [11, 23] Generated Node #0,0,0: 19:[11, 23] Operation: 48-25=23 Exploring Operation: 48-11=37, Resulting Numbers: [25, 37] Generated Node #0,0,1: 19:[25, 37] Operation: 48-11=37 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[11, 23], Operations: ['56-45=11', '48-25=23'] Exploring Operation: 11+23=34, Resulting Numbers: [34] 34,19 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 19:[25, 37], Operations: ['56-45=11', '48-11=37'] Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,19 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 19:[45, 25, 8], Operations: ['56-48=8'] Exploring Operation: 45-25=20, Resulting Numbers: [8, 20] Generated Node #0,1,0: 19:[8, 20] Operation: 45-25=20 Exploring Operation: 45-8=37, Resulting Numbers: [25, 37] Generated Node #0,1,1: 19:[25, 37] Operation: 45-8=37 Moving to Node #0,1,0 Current State: 19:[8, 20], Operations: ['56-48=8', '45-25=20'] Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[25, 37], Operations: ['56-48=8', '45-8=37'] Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,19 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 24, 36, 77, 60 ]
29
[ "36-24=12", "77-60=17", "12+17=29" ]
Current State: 29:[24, 36, 77, 60], Operations: [] Exploring Operation: 36-24=12, Resulting Numbers: [77, 60, 12] Generated Node #2: [77, 60, 12] from Operation: 36-24=12 Current State: 29:[77, 60, 12], Operations: ['36-24=12'] Exploring Operation: 77-60=17, Resulting Numbers: [12, 17] Generated Node #3: [12, 17] from Operation: 77-60=17 Current State: 29:[12, 17], Operations: ['36-24=12', '77-60=17'] Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[24, 36, 77, 60], Operations: [] Exploring Operation: 77-60=17, Resulting Numbers: [24, 36, 17] Generated Node #0,0: 29:[24, 36, 17] Operation: 77-60=17 Exploring Operation: 77-36=41, Resulting Numbers: [24, 60, 41] Generated Node #0,1: 29:[24, 60, 41] Operation: 77-36=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[24, 36, 17], Operations: ['77-60=17'] Exploring Operation: 24+17=41, Resulting Numbers: [36, 41] Generated Node #0,0,0: 29:[36, 41] Operation: 24+17=41 Exploring Operation: 36-17=19, Resulting Numbers: [24, 19] Generated Node #0,0,1: 29:[24, 19] Operation: 36-17=19 Moving to Node #0,0,1 Current State: 29:[24, 19], Operations: ['77-60=17', '36-17=19'] Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,29 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[36, 41], Operations: ['77-60=17', '24+17=41'] Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 36+41=77, Resulting Numbers: [77] 77,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[24, 60, 41], Operations: ['77-36=41'] Exploring Operation: 60-41=19, Resulting Numbers: [24, 19] Generated Node #0,1,0: 29:[24, 19] Operation: 60-41=19 Exploring Operation: 60-24=36, Resulting Numbers: [41, 36] Generated Node #0,1,1: 29:[41, 36] Operation: 60-24=36 Moving to Node #0,1,0 Current State: 29:[24, 19], Operations: ['77-36=41', '60-41=19'] Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,29 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[41, 36], Operations: ['77-36=41', '60-24=36'] Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 41+36=77, Resulting Numbers: [77] 77,29 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
[ 70, 13, 56, 64 ]
91
[ "70+13=83", "64-56=8", "83+8=91" ]
Current State: 91:[70, 13, 56, 64], Operations: [] Exploring Operation: 70+13=83, Resulting Numbers: [56, 64, 83] Generated Node #2: [56, 64, 83] from Operation: 70+13=83 Current State: 91:[56, 64, 83], Operations: ['70+13=83'] Exploring Operation: 64-56=8, Resulting Numbers: [83, 8] Generated Node #3: [83, 8] from Operation: 64-56=8 Current State: 91:[83, 8], Operations: ['70+13=83', '64-56=8'] Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[70, 13, 56, 64], Operations: [] Exploring Operation: 56+64=120, Resulting Numbers: [70, 13, 120] Generated Node #0,0: 91:[70, 13, 120] Operation: 56+64=120 Exploring Operation: 70-56=14, Resulting Numbers: [13, 64, 14] Generated Node #0,1: 91:[13, 64, 14] Operation: 70-56=14 Exploring Operation: 64-56=8, Resulting Numbers: [70, 13, 8] Generated Node #0,2: 91:[70, 13, 8] Operation: 64-56=8 Exploring Operation: 70-64=6, Resulting Numbers: [13, 56, 6] Generated Node #0,3: 91:[13, 56, 6] Operation: 70-64=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[70, 13, 8], Operations: ['64-56=8'] Exploring Operation: 70+13=83, Resulting Numbers: [8, 83] Generated Node #0,2,0: 91:[8, 83] Operation: 70+13=83 Exploring Operation: 70+8=78, Resulting Numbers: [13, 78] Generated Node #0,2,1: 91:[13, 78] Operation: 70+8=78 Exploring Operation: 13-8=5, Resulting Numbers: [70, 5] Generated Node #0,2,2: 91:[70, 5] Operation: 13-8=5 Exploring Operation: 70-8=62, Resulting Numbers: [13, 62] Generated Node #0,2,3: 91:[13, 62] Operation: 70-8=62 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 91:[8, 83], Operations: ['64-56=8', '70+13=83'] Exploring Operation: 8+83=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[70, 13, 56, 64], Operations: [] Exploring Operation: 64-56=8, Resulting Numbers: [70, 13, 8] Generated Node #0,2: 91:[70, 13, 8] Operation: 64-56=8 Moving to Node #0,2 Current State: 91:[70, 13, 8], Operations: ['64-56=8'] Exploring Operation: 70+13=83, Resulting Numbers: [8, 83] Generated Node #0,2,0: 91:[8, 83] Operation: 70+13=83 Moving to Node #0,2,0 Current State: 91:[8, 83], Operations: ['64-56=8', '70+13=83'] Exploring Operation: 8+83=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 51, 7, 22, 57 ]
22
[ "51+7=58", "58-57=1", "22*1=22" ]
Current State: 22:[51, 7, 22, 57], Operations: [] Exploring Operation: 51+7=58, Resulting Numbers: [22, 57, 58] Generated Node #2: [22, 57, 58] from Operation: 51+7=58 Current State: 22:[22, 57, 58], Operations: ['51+7=58'] Exploring Operation: 58-57=1, Resulting Numbers: [22, 1] Generated Node #3: [22, 1] from Operation: 58-57=1 Current State: 22:[22, 1], Operations: ['51+7=58', '58-57=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[51, 7, 22, 57], Operations: [] Exploring Operation: 57-22=35, Resulting Numbers: [51, 7, 35] Generated Node #0,0: 22:[51, 7, 35] Operation: 57-22=35 Exploring Operation: 57-51=6, Resulting Numbers: [7, 22, 6] Generated Node #0,1: 22:[7, 22, 6] Operation: 57-51=6 Exploring Operation: 51-22=29, Resulting Numbers: [7, 57, 29] Generated Node #0,2: 22:[7, 57, 29] Operation: 51-22=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[7, 22, 6], Operations: ['57-51=6'] Exploring Operation: 7-6=1, Resulting Numbers: [22, 1] Generated Node #0,1,0: 22:[22, 1] Operation: 7-6=1 Exploring Operation: 22-7=15, Resulting Numbers: [6, 15] Generated Node #0,1,1: 22:[6, 15] Operation: 22-7=15 Exploring Operation: 7+6=13, Resulting Numbers: [22, 13] Generated Node #0,1,2: 22:[22, 13] Operation: 7+6=13 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 22:[22, 1], Operations: ['57-51=6', '7-6=1'] Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[51, 7, 22, 57], Operations: [] Exploring Operation: 57-51=6, Resulting Numbers: [7, 22, 6] Generated Node #0,1: 22:[7, 22, 6] Operation: 57-51=6 Moving to Node #0,1 Current State: 22:[7, 22, 6], Operations: ['57-51=6'] Exploring Operation: 7-6=1, Resulting Numbers: [22, 1] Generated Node #0,1,0: 22:[22, 1] Operation: 7-6=1 Moving to Node #0,1,0 Current State: 22:[22, 1], Operations: ['57-51=6', '7-6=1'] Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 30, 77, 30, 67 ]
70
[ "30+77=107", "67-30=37", "107-37=70" ]
Current State: 70:[30, 77, 30, 67], Operations: [] Exploring Operation: 30+77=107, Resulting Numbers: [67, 107] Generated Node #2: [67, 107] from Operation: 30+77=107 Current State: 70:[67, 107], Operations: ['30+77=107'] Exploring Operation: 67-30=37, Resulting Numbers: [107, 37] Generated Node #3: [107, 37] from Operation: 67-30=37 Current State: 70:[107, 37], Operations: ['30+77=107', '67-30=37'] Exploring Operation: 107-37=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[30, 77, 30, 67], Operations: [] Exploring Operation: 30/30=1, Resulting Numbers: [77, 67, 1] Generated Node #0,0: 70:[77, 67, 1] Operation: 30/30=1 Exploring Operation: 67-30=37, Resulting Numbers: [30, 77, 37] Generated Node #0,1: 70:[30, 77, 37] Operation: 67-30=37 Exploring Operation: 67-30=37, Resulting Numbers: [77, 30, 37] Generated Node #0,2: 70:[77, 30, 37] Operation: 67-30=37 Exploring Operation: 30-30=0, Resulting Numbers: [77, 67, 0] Generated Node #0,3: 70:[77, 67, 0] Operation: 30-30=0 Exploring Operation: 77-67=10, Resulting Numbers: [30, 30, 10] Generated Node #0,4: 70:[30, 30, 10] Operation: 77-67=10 Moving to Node #0,4 Current State: 70:[30, 30, 10], Operations: ['77-67=10'] Exploring Operation: 30/10=3, Resulting Numbers: [30, 3] Generated Node #0,4,0: 70:[30, 3] Operation: 30/10=3 Exploring Operation: 30-30=0, Resulting Numbers: [10, 0] Generated Node #0,4,1: 70:[10, 0] Operation: 30-30=0 Exploring Operation: 30/10=3, Resulting Numbers: [30, 3] Generated Node #0,4,2: 70:[30, 3] Operation: 30/10=3 Exploring Operation: 30+30=60, Resulting Numbers: [10, 60] Generated Node #0,4,3: 70:[10, 60] Operation: 30+30=60 Exploring Operation: 30/30=1, Resulting Numbers: [10, 1] Generated Node #0,4,4: 70:[10, 1] Operation: 30/30=1 Moving to Node #0,0 Current State: 70:[77, 67, 1], Operations: ['30/30=1'] Exploring Operation: 77-1=76, Resulting Numbers: [67, 76] Generated Node #0,0,0: 70:[67, 76] Operation: 77-1=76 Exploring Operation: 67+1=68, Resulting Numbers: [77, 68] Generated Node #0,0,1: 70:[77, 68] Operation: 67+1=68 Exploring Operation: 77/1=77, Resulting Numbers: [67, 77] Generated Node #0,0,2: 70:[67, 77] Operation: 77/1=77 Exploring Operation: 77*1=77, Resulting Numbers: [67, 77] Generated Node #0,0,3: 70:[67, 77] Operation: 77*1=77 Exploring Operation: 77-67=10, Resulting Numbers: [1, 10] Generated Node #0,0,4: 70:[1, 10] Operation: 77-67=10 Moving to Node #0,3 Current State: 70:[77, 67, 0], Operations: ['30-30=0'] Exploring Operation: 77-67=10, Resulting Numbers: [0, 10] Generated Node #0,3,0: 70:[0, 10] Operation: 77-67=10 Exploring Operation: 77+0=77, Resulting Numbers: [67, 77] Generated Node #0,3,1: 70:[67, 77] Operation: 77+0=77 Exploring Operation: 77*0=0, Resulting Numbers: [67, 0] Generated Node #0,3,2: 70:[67, 0] Operation: 77*0=0 Exploring Operation: 77-0=77, Resulting Numbers: [67, 77] Generated Node #0,3,3: 70:[67, 77] Operation: 77-0=77 Exploring Operation: 67*0=0, Resulting Numbers: [77, 0] Generated Node #0,3,4: 70:[77, 0] Operation: 67*0=0 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 70:[0, 10], Operations: ['30-30=0', '77-67=10'] Exploring Operation: 10-0=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 0+10=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 0*10=0, Resulting Numbers: [0] 0,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 70:[67, 0], Operations: ['30-30=0', '77*0=0'] Exploring Operation: 67-0=67, Resulting Numbers: [67] 67,70 unequal: No Solution Exploring Operation: 67+0=67, Resulting Numbers: [67] 67,70 unequal: No Solution Exploring Operation: 67*0=0, Resulting Numbers: [0] 0,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 70:[77, 0], Operations: ['30-30=0', '67*0=0'] Exploring Operation: 77-0=77, Resulting Numbers: [77] 77,70 unequal: No Solution Exploring Operation: 77*0=0, Resulting Numbers: [0] 0,70 unequal: No Solution Exploring Operation: 77+0=77, Resulting Numbers: [77] 77,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 70:[67, 77], Operations: ['30-30=0', '77+0=77'] Exploring Operation: 77-67=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 67*77=5159, Resulting Numbers: [5159] 5159,70 unequal: No Solution Exploring Operation: 67+77=144, Resulting Numbers: [144] 144,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 70:[67, 77], Operations: ['30-30=0', '77-0=77'] Exploring Operation: 67+77=144, Resulting Numbers: [144] 144,70 unequal: No Solution Exploring Operation: 67*77=5159, Resulting Numbers: [5159] 5159,70 unequal: No Solution Exploring Operation: 77-67=10, Resulting Numbers: [10] 10,70 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: 70:[30, 77, 37], Operations: ['67-30=37'] Exploring Operation: 37-30=7, Resulting Numbers: [77, 7] Generated Node #0,1,0: 70:[77, 7] Operation: 37-30=7 Exploring Operation: 30+77=107, Resulting Numbers: [37, 107] Generated Node #0,1,1: 70:[37, 107] Operation: 30+77=107 Exploring Operation: 30+37=67, Resulting Numbers: [77, 67] Generated Node #0,1,2: 70:[77, 67] Operation: 30+37=67 Exploring Operation: 77-30=47, Resulting Numbers: [37, 47] Generated Node #0,1,3: 70:[37, 47] Operation: 77-30=47 Exploring Operation: 77-37=40, Resulting Numbers: [30, 40] Generated Node #0,1,4: 70:[30, 40] Operation: 77-37=40 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 70:[77, 7], Operations: ['67-30=37', '37-30=7'] Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 77*7=539, Resulting Numbers: [539] 539,70 unequal: No Solution Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[30, 77, 30, 67], Operations: [] Exploring Operation: 67-30=37, Resulting Numbers: [30, 77, 37] Generated Node #0,1: 70:[30, 77, 37] Operation: 67-30=37 Moving to Node #0,1 Current State: 70:[30, 77, 37], Operations: ['67-30=37'] Exploring Operation: 37-30=7, Resulting Numbers: [77, 7] Generated Node #0,1,0: 70:[77, 7] Operation: 37-30=7 Moving to Node #0,1,0 Current State: 70:[77, 7], Operations: ['67-30=37', '37-30=7'] Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_5
sum_heuristic
[ 70, 38, 4, 7 ]
60
[ "70-38=32", "4*7=28", "32+28=60" ]
Current State: 60:[70, 38, 4, 7], Operations: [] Exploring Operation: 70-38=32, Resulting Numbers: [4, 7, 32] Generated Node #2: [4, 7, 32] from Operation: 70-38=32 Current State: 60:[4, 7, 32], Operations: ['70-38=32'] Exploring Operation: 4*7=28, Resulting Numbers: [32, 28] Generated Node #3: [32, 28] from Operation: 4*7=28 Current State: 60:[32, 28], Operations: ['70-38=32', '4*7=28'] Exploring Operation: 32+28=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[70, 38, 4, 7], Operations: [] Exploring Operation: 70/7=10, Resulting Numbers: [38, 4, 10] Generated Node #0,0: 60:[38, 4, 10] Operation: 70/7=10 Exploring Operation: 70-38=32, Resulting Numbers: [4, 7, 32] Generated Node #0,1: 60:[4, 7, 32] Operation: 70-38=32 Moving to Node #0,1 Current State: 60:[4, 7, 32], Operations: ['70-38=32'] Exploring Operation: 7-4=3, Resulting Numbers: [32, 3] Generated Node #0,1,0: 60:[32, 3] Operation: 7-4=3 Exploring Operation: 4+7=11, Resulting Numbers: [32, 11] Generated Node #0,1,1: 60:[32, 11] Operation: 4+7=11 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[32, 3], Operations: ['70-38=32', '7-4=3'] Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[32, 11], Operations: ['70-38=32', '4+7=11'] Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,60 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 60:[38, 4, 10], Operations: ['70/7=10'] Exploring Operation: 38-10=28, Resulting Numbers: [4, 28] Generated Node #0,0,0: 60:[4, 28] Operation: 38-10=28 Exploring Operation: 38-4=34, Resulting Numbers: [10, 34] Generated Node #0,0,1: 60:[10, 34] Operation: 38-4=34 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[4, 28], Operations: ['70/7=10', '38-10=28'] Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[10, 34], Operations: ['70/7=10', '38-4=34'] Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 10+34=44, Resulting Numbers: [44] 44,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 12, 26, 44, 54 ]
13
[ "12+44=56", "56-54=2", "26/2=13" ]
Current State: 13:[12, 26, 44, 54], Operations: [] Exploring Operation: 12+44=56, Resulting Numbers: [26, 54, 56] Generated Node #2: [26, 54, 56] from Operation: 12+44=56 Current State: 13:[26, 54, 56], Operations: ['12+44=56'] Exploring Operation: 56-54=2, Resulting Numbers: [26, 2] Generated Node #3: [26, 2] from Operation: 56-54=2 Current State: 13:[26, 2], Operations: ['12+44=56', '56-54=2'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[12, 26, 44, 54], Operations: [] Exploring Operation: 44-26=18, Resulting Numbers: [12, 54, 18] Generated Node #0,0: 13:[12, 54, 18] Operation: 44-26=18 Exploring Operation: 54-44=10, Resulting Numbers: [12, 26, 10] Generated Node #0,1: 13:[12, 26, 10] Operation: 54-44=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[12, 26, 10], Operations: ['54-44=10'] Exploring Operation: 26-12=14, Resulting Numbers: [10, 14] Generated Node #0,1,0: 13:[10, 14] Operation: 26-12=14 Exploring Operation: 26-10=16, Resulting Numbers: [12, 16] Generated Node #0,1,1: 13:[12, 16] Operation: 26-10=16 Moving to Node #0,1,0 Current State: 13:[10, 14], Operations: ['54-44=10', '26-12=14'] Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[12, 16], Operations: ['54-44=10', '26-10=16'] Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[12, 54, 18], Operations: ['44-26=18'] Exploring Operation: 54/18=3, Resulting Numbers: [12, 3] Generated Node #0,0,0: 13:[12, 3] Operation: 54/18=3 Exploring Operation: 54-18=36, Resulting Numbers: [12, 36] Generated Node #0,0,1: 13:[12, 36] Operation: 54-18=36 Moving to Node #0,0,0 Current State: 13:[12, 3], Operations: ['44-26=18', '54/18=3'] Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,13 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[12, 36], Operations: ['44-26=18', '54-18=36'] Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 3, 30, 83, 89 ]
33
[ "30-3=27", "89-83=6", "27+6=33" ]
Current State: 33:[3, 30, 83, 89], Operations: [] Exploring Operation: 30-3=27, Resulting Numbers: [83, 89, 27] Generated Node #2: [83, 89, 27] from Operation: 30-3=27 Current State: 33:[83, 89, 27], Operations: ['30-3=27'] Exploring Operation: 89-83=6, Resulting Numbers: [27, 6] Generated Node #3: [27, 6] from Operation: 89-83=6 Current State: 33:[27, 6], Operations: ['30-3=27', '89-83=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[3, 30, 83, 89], Operations: [] Exploring Operation: 83-30=53, Resulting Numbers: [3, 89, 53] Generated Node #0,0: 33:[3, 89, 53] Operation: 83-30=53 Exploring Operation: 89-30=59, Resulting Numbers: [3, 83, 59] Generated Node #0,1: 33:[3, 83, 59] Operation: 89-30=59 Exploring Operation: 89-83=6, Resulting Numbers: [3, 30, 6] Generated Node #0,2: 33:[3, 30, 6] Operation: 89-83=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[3, 30, 6], Operations: ['89-83=6'] Exploring Operation: 30/6=5, Resulting Numbers: [3, 5] Generated Node #0,2,0: 33:[3, 5] Operation: 30/6=5 Exploring Operation: 6-3=3, Resulting Numbers: [30, 3] Generated Node #0,2,1: 33:[30, 3] Operation: 6-3=3 Exploring Operation: 3+30=33, Resulting Numbers: [6, 33] Generated Node #0,2,2: 33:[6, 33] Operation: 3+30=33 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 33:[3, 5], Operations: ['89-83=6', '30/6=5'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 33:[30, 3], Operations: ['89-83=6', '6-3=3'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[3, 30, 83, 89], Operations: [] Exploring Operation: 89-83=6, Resulting Numbers: [3, 30, 6] Generated Node #0,2: 33:[3, 30, 6] Operation: 89-83=6 Moving to Node #0,2 Current State: 33:[3, 30, 6], Operations: ['89-83=6'] Exploring Operation: 6-3=3, Resulting Numbers: [30, 3] Generated Node #0,2,1: 33:[30, 3] Operation: 6-3=3 Moving to Node #0,2,1 Current State: 33:[30, 3], Operations: ['89-83=6', '6-3=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 3, 5, 69, 12 ]
83
[ "5-3=2", "69+12=81", "2+81=83" ]
Current State: 83:[3, 5, 69, 12], Operations: [] Exploring Operation: 5-3=2, Resulting Numbers: [69, 12, 2] Generated Node #2: [69, 12, 2] from Operation: 5-3=2 Current State: 83:[69, 12, 2], Operations: ['5-3=2'] Exploring Operation: 69+12=81, Resulting Numbers: [2, 81] Generated Node #3: [2, 81] from Operation: 69+12=81 Current State: 83:[2, 81], Operations: ['5-3=2', '69+12=81'] Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[3, 5, 69, 12], Operations: [] Exploring Operation: 3+69=72, Resulting Numbers: [5, 12, 72] Generated Node #0,0: 83:[5, 12, 72] Operation: 3+69=72 Exploring Operation: 3*5=15, Resulting Numbers: [69, 12, 15] Generated Node #0,1: 83:[69, 12, 15] Operation: 3*5=15 Exploring Operation: 5*12=60, Resulting Numbers: [3, 69, 60] Generated Node #0,2: 83:[3, 69, 60] Operation: 5*12=60 Exploring Operation: 3+5=8, Resulting Numbers: [69, 12, 8] Generated Node #0,3: 83:[69, 12, 8] Operation: 3+5=8 Exploring Operation: 3*12=36, Resulting Numbers: [5, 69, 36] Generated Node #0,4: 83:[5, 69, 36] Operation: 3*12=36 Moving to Node #0,2 Current State: 83:[3, 69, 60], Operations: ['5*12=60'] Exploring Operation: 3+60=63, Resulting Numbers: [69, 63] Generated Node #0,2,0: 83:[69, 63] Operation: 3+60=63 Exploring Operation: 3+69=72, Resulting Numbers: [60, 72] Generated Node #0,2,1: 83:[60, 72] Operation: 3+69=72 Exploring Operation: 60/3=20, Resulting Numbers: [69, 20] Generated Node #0,2,2: 83:[69, 20] Operation: 60/3=20 Exploring Operation: 60-3=57, Resulting Numbers: [69, 57] Generated Node #0,2,3: 83:[69, 57] Operation: 60-3=57 Exploring Operation: 69-3=66, Resulting Numbers: [60, 66] Generated Node #0,2,4: 83:[60, 66] Operation: 69-3=66 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[69, 63], Operations: ['5*12=60', '3+60=63'] Exploring Operation: 69*63=4347, Resulting Numbers: [4347] 4347,83 unequal: No Solution Exploring Operation: 69-63=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 69+63=132, Resulting Numbers: [132] 132,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[60, 72], Operations: ['5*12=60', '3+69=72'] Exploring Operation: 60+72=132, Resulting Numbers: [132] 132,83 unequal: No Solution Exploring Operation: 72-60=12, Resulting Numbers: [12] 12,83 unequal: No Solution Exploring Operation: 60*72=4320, Resulting Numbers: [4320] 4320,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 83:[69, 57], Operations: ['5*12=60', '60-3=57'] Exploring Operation: 69+57=126, Resulting Numbers: [126] 126,83 unequal: No Solution Exploring Operation: 69-57=12, Resulting Numbers: [12] 12,83 unequal: No Solution Exploring Operation: 69*57=3933, Resulting Numbers: [3933] 3933,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 83:[60, 66], Operations: ['5*12=60', '69-3=66'] Exploring Operation: 66-60=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 60+66=126, Resulting Numbers: [126] 126,83 unequal: No Solution Exploring Operation: 60*66=3960, Resulting Numbers: [3960] 3960,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[69, 20], Operations: ['5*12=60', '60/3=20'] Exploring Operation: 69+20=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,83 unequal: No Solution Exploring Operation: 69*20=1380, Resulting Numbers: [1380] 1380,83 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: 83:[5, 69, 36], Operations: ['3*12=36'] Exploring Operation: 5+69=74, Resulting Numbers: [36, 74] Generated Node #0,4,0: 83:[36, 74] Operation: 5+69=74 Exploring Operation: 69-5=64, Resulting Numbers: [36, 64] Generated Node #0,4,1: 83:[36, 64] Operation: 69-5=64 Exploring Operation: 69+36=105, Resulting Numbers: [5, 105] Generated Node #0,4,2: 83:[5, 105] Operation: 69+36=105 Exploring Operation: 36-5=31, Resulting Numbers: [69, 31] Generated Node #0,4,3: 83:[69, 31] Operation: 36-5=31 Exploring Operation: 5+36=41, Resulting Numbers: [69, 41] Generated Node #0,4,4: 83:[69, 41] Operation: 5+36=41 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 83:[36, 74], Operations: ['3*12=36', '5+69=74'] Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 36+74=110, Resulting Numbers: [110] 110,83 unequal: No Solution Exploring Operation: 36*74=2664, Resulting Numbers: [2664] 2664,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 83:[69, 41], Operations: ['3*12=36', '5+36=41'] Exploring Operation: 69*41=2829, Resulting Numbers: [2829] 2829,83 unequal: No Solution Exploring Operation: 69+41=110, Resulting Numbers: [110] 110,83 unequal: No Solution Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 83:[36, 64], Operations: ['3*12=36', '69-5=64'] Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 36+64=100, Resulting Numbers: [100] 100,83 unequal: No Solution Exploring Operation: 36*64=2304, Resulting Numbers: [2304] 2304,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 83:[69, 31], Operations: ['3*12=36', '36-5=31'] Exploring Operation: 69+31=100, Resulting Numbers: [100] 100,83 unequal: No Solution Exploring Operation: 69*31=2139, Resulting Numbers: [2139] 2139,83 unequal: No Solution Exploring Operation: 69-31=38, Resulting Numbers: [38] 38,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 83:[5, 105], Operations: ['3*12=36', '69+36=105'] Exploring Operation: 105-5=100, Resulting Numbers: [100] 100,83 unequal: No Solution Exploring Operation: 5*105=525, Resulting Numbers: [525] 525,83 unequal: No Solution Exploring Operation: 5+105=110, Resulting Numbers: [110] 110,83 unequal: No Solution Exploring Operation: 105/5=21, Resulting Numbers: [21] 21,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 83:[69, 12, 15], Operations: ['3*5=15'] Exploring Operation: 15-12=3, Resulting Numbers: [69, 3] Generated Node #0,1,0: 83:[69, 3] Operation: 15-12=3 Exploring Operation: 69+15=84, Resulting Numbers: [12, 84] Generated Node #0,1,1: 83:[12, 84] Operation: 69+15=84 Exploring Operation: 12+15=27, Resulting Numbers: [69, 27] Generated Node #0,1,2: 83:[69, 27] Operation: 12+15=27 Exploring Operation: 69+12=81, Resulting Numbers: [15, 81] Generated Node #0,1,3: 83:[15, 81] Operation: 69+12=81 Exploring Operation: 69-12=57, Resulting Numbers: [15, 57] Generated Node #0,1,4: 83:[15, 57] Operation: 69-12=57 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[69, 27], Operations: ['3*5=15', '12+15=27'] Exploring Operation: 69+27=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 69*27=1863, Resulting Numbers: [1863] 1863,83 unequal: No Solution Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[15, 81], Operations: ['3*5=15', '69+12=81'] Exploring Operation: 15+81=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 15*81=1215, Resulting Numbers: [1215] 1215,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[12, 84], Operations: ['3*5=15', '69+15=84'] Exploring Operation: 12*84=1008, Resulting Numbers: [1008] 1008,83 unequal: No Solution Exploring Operation: 84/12=7, Resulting Numbers: [7] 7,83 unequal: No Solution Exploring Operation: 12+84=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 84-12=72, Resulting Numbers: [72] 72,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[69, 3], Operations: ['3*5=15', '15-12=3'] Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,83 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 83:[15, 57], Operations: ['3*5=15', '69-12=57'] Exploring Operation: 15+57=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 15*57=855, Resulting Numbers: [855] 855,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 83:[5, 12, 72], Operations: ['3+69=72'] Exploring Operation: 12+72=84, Resulting Numbers: [5, 84] Generated Node #0,0,0: 83:[5, 84] Operation: 12+72=84 Exploring Operation: 5+72=77, Resulting Numbers: [12, 77] Generated Node #0,0,1: 83:[12, 77] Operation: 5+72=77 Exploring Operation: 5+12=17, Resulting Numbers: [72, 17] Generated Node #0,0,2: 83:[72, 17] Operation: 5+12=17 Exploring Operation: 12-5=7, Resulting Numbers: [72, 7] Generated Node #0,0,3: 83:[72, 7] Operation: 12-5=7 Exploring Operation: 5*12=60, Resulting Numbers: [72, 60] Generated Node #0,0,4: 83:[72, 60] Operation: 5*12=60 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 83:[72, 60], Operations: ['3+69=72', '5*12=60'] Exploring Operation: 72-60=12, Resulting Numbers: [12] 12,83 unequal: No Solution Exploring Operation: 72+60=132, Resulting Numbers: [132] 132,83 unequal: No Solution Exploring Operation: 72*60=4320, Resulting Numbers: [4320] 4320,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[12, 77], Operations: ['3+69=72', '5+72=77'] Exploring Operation: 12*77=924, Resulting Numbers: [924] 924,83 unequal: No Solution Exploring Operation: 12+77=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 77-12=65, Resulting Numbers: [65] 65,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[72, 17], Operations: ['3+69=72', '5+12=17'] Exploring Operation: 72-17=55, Resulting Numbers: [55] 55,83 unequal: No Solution Exploring Operation: 72+17=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 72*17=1224, Resulting Numbers: [1224] 1224,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[5, 84], Operations: ['3+69=72', '12+72=84'] Exploring Operation: 5+84=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 5*84=420, Resulting Numbers: [420] 420,83 unequal: No Solution Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 83:[72, 7], Operations: ['3+69=72', '12-5=7'] Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,83 unequal: No Solution Exploring Operation: 72*7=504, Resulting Numbers: [504] 504,83 unequal: No Solution Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,83 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: 83:[69, 12, 8], Operations: ['3+5=8'] Exploring Operation: 12*8=96, Resulting Numbers: [69, 96] Generated Node #0,3,0: 83:[69, 96] Operation: 12*8=96 Exploring Operation: 12+8=20, Resulting Numbers: [69, 20] Generated Node #0,3,1: 83:[69, 20] Operation: 12+8=20 Exploring Operation: 69+8=77, Resulting Numbers: [12, 77] Generated Node #0,3,2: 83:[12, 77] Operation: 69+8=77 Exploring Operation: 69+12=81, Resulting Numbers: [8, 81] Generated Node #0,3,3: 83:[8, 81] Operation: 69+12=81 Exploring Operation: 69-8=61, Resulting Numbers: [12, 61] Generated Node #0,3,4: 83:[12, 61] Operation: 69-8=61 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 83:[69, 96], Operations: ['3+5=8', '12*8=96'] Exploring Operation: 96-69=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 69*96=6624, Resulting Numbers: [6624] 6624,83 unequal: No Solution Exploring Operation: 69+96=165, Resulting Numbers: [165] 165,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 83:[69, 20], Operations: ['3+5=8', '12+8=20'] Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,83 unequal: No Solution Exploring Operation: 69*20=1380, Resulting Numbers: [1380] 1380,83 unequal: No Solution Exploring Operation: 69+20=89, Resulting Numbers: [89] 89,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 83:[12, 77], Operations: ['3+5=8', '69+8=77'] Exploring Operation: 77-12=65, Resulting Numbers: [65] 65,83 unequal: No Solution Exploring Operation: 12*77=924, Resulting Numbers: [924] 924,83 unequal: No Solution Exploring Operation: 12+77=89, Resulting Numbers: [89] 89,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 83:[8, 81], Operations: ['3+5=8', '69+12=81'] Exploring Operation: 8+81=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,83 unequal: No Solution Exploring Operation: 8*81=648, Resulting Numbers: [648] 648,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 83:[12, 61], Operations: ['3+5=8', '69-8=61'] Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,83 unequal: No Solution Exploring Operation: 12*61=732, Resulting Numbers: [732] 732,83 unequal: No Solution Exploring Operation: 12+61=73, Resulting Numbers: [73] 73,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 28, 64, 77, 31 ]
72
[ "64-28=36", "77+31=108", "108-36=72" ]
Current State: 72:[28, 64, 77, 31], Operations: [] Exploring Operation: 64-28=36, Resulting Numbers: [77, 31, 36] Generated Node #2: [77, 31, 36] from Operation: 64-28=36 Current State: 72:[77, 31, 36], Operations: ['64-28=36'] Exploring Operation: 77+31=108, Resulting Numbers: [36, 108] Generated Node #3: [36, 108] from Operation: 77+31=108 Current State: 72:[36, 108], Operations: ['64-28=36', '77+31=108'] Exploring Operation: 108-36=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[28, 64, 77, 31], Operations: [] Exploring Operation: 77-64=13, Resulting Numbers: [28, 31, 13] Generated Node #0,0: 72:[28, 31, 13] Operation: 77-64=13 Exploring Operation: 64-31=33, Resulting Numbers: [28, 77, 33] Generated Node #0,1: 72:[28, 77, 33] Operation: 64-31=33 Exploring Operation: 64-28=36, Resulting Numbers: [77, 31, 36] Generated Node #0,2: 72:[77, 31, 36] Operation: 64-28=36 Moving to Node #0,0 Current State: 72:[28, 31, 13], Operations: ['77-64=13'] Exploring Operation: 31-13=18, Resulting Numbers: [28, 18] Generated Node #0,0,0: 72:[28, 18] Operation: 31-13=18 Exploring Operation: 28-13=15, Resulting Numbers: [31, 15] Generated Node #0,0,1: 72:[31, 15] Operation: 28-13=15 Exploring Operation: 31-28=3, Resulting Numbers: [13, 3] Generated Node #0,0,2: 72:[13, 3] Operation: 31-28=3 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 72:[13, 3], Operations: ['77-64=13', '31-28=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,72 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,72 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[28, 18], Operations: ['77-64=13', '31-13=18'] Exploring Operation: 28*18=504, Resulting Numbers: [504] 504,72 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[31, 15], Operations: ['77-64=13', '28-13=15'] Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,72 unequal: No Solution Exploring Operation: 31+15=46, Resulting Numbers: [46] 46,72 unequal: No Solution Exploring Operation: 31*15=465, Resulting Numbers: [465] 465,72 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: 72:[77, 31, 36], Operations: ['64-28=36'] Exploring Operation: 77-36=41, Resulting Numbers: [31, 41] Generated Node #0,2,0: 72:[31, 41] Operation: 77-36=41 Exploring Operation: 77-31=46, Resulting Numbers: [36, 46] Generated Node #0,2,1: 72:[36, 46] Operation: 77-31=46 Exploring Operation: 36-31=5, Resulting Numbers: [77, 5] Generated Node #0,2,2: 72:[77, 5] Operation: 36-31=5 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[77, 5], Operations: ['64-28=36', '36-31=5'] Exploring Operation: 77*5=385, Resulting Numbers: [385] 385,72 unequal: No Solution Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,72 unequal: No Solution Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[28, 64, 77, 31], Operations: [] Exploring Operation: 64-28=36, Resulting Numbers: [77, 31, 36] Generated Node #0,2: 72:[77, 31, 36] Operation: 64-28=36 Moving to Node #0,2 Current State: 72:[77, 31, 36], Operations: ['64-28=36'] Exploring Operation: 36-31=5, Resulting Numbers: [77, 5] Generated Node #0,2,2: 72:[77, 5] Operation: 36-31=5 Moving to Node #0,2,2 Current State: 72:[77, 5], Operations: ['64-28=36', '36-31=5'] Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 28, 30, 54, 17 ]
73
[ "30-28=2", "54+17=71", "2+71=73" ]
Current State: 73:[28, 30, 54, 17], Operations: [] Exploring Operation: 30-28=2, Resulting Numbers: [54, 17, 2] Generated Node #2: [54, 17, 2] from Operation: 30-28=2 Current State: 73:[54, 17, 2], Operations: ['30-28=2'] Exploring Operation: 54+17=71, Resulting Numbers: [2, 71] Generated Node #3: [2, 71] from Operation: 54+17=71 Current State: 73:[2, 71], Operations: ['30-28=2', '54+17=71'] Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[28, 30, 54, 17], Operations: [] Exploring Operation: 28+30=58, Resulting Numbers: [54, 17, 58] Generated Node #0,0: 73:[54, 17, 58] Operation: 28+30=58 Exploring Operation: 28+17=45, Resulting Numbers: [30, 54, 45] Generated Node #0,1: 73:[30, 54, 45] Operation: 28+17=45 Exploring Operation: 54+17=71, Resulting Numbers: [28, 30, 71] Generated Node #0,2: 73:[28, 30, 71] Operation: 54+17=71 Exploring Operation: 30+17=47, Resulting Numbers: [28, 54, 47] Generated Node #0,3: 73:[28, 54, 47] Operation: 30+17=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[54, 17, 58], Operations: ['28+30=58'] Exploring Operation: 58-17=41, Resulting Numbers: [54, 41] Generated Node #0,0,0: 73:[54, 41] Operation: 58-17=41 Exploring Operation: 54-17=37, Resulting Numbers: [58, 37] Generated Node #0,0,1: 73:[58, 37] Operation: 54-17=37 Exploring Operation: 54+17=71, Resulting Numbers: [58, 71] Generated Node #0,0,2: 73:[58, 71] Operation: 54+17=71 Exploring Operation: 17+58=75, Resulting Numbers: [54, 75] Generated Node #0,0,3: 73:[54, 75] Operation: 17+58=75 Moving to Node #0,0,2 Current State: 73:[58, 71], Operations: ['28+30=58', '54+17=71'] Exploring Operation: 58+71=129, Resulting Numbers: [129] 129,73 unequal: No Solution Exploring Operation: 58*71=4118, Resulting Numbers: [4118] 4118,73 unequal: No Solution Exploring Operation: 71-58=13, Resulting Numbers: [13] 13,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[54, 75], Operations: ['28+30=58', '17+58=75'] Exploring Operation: 54+75=129, Resulting Numbers: [129] 129,73 unequal: No Solution Exploring Operation: 75-54=21, Resulting Numbers: [21] 21,73 unequal: No Solution Exploring Operation: 54*75=4050, Resulting Numbers: [4050] 4050,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[58, 37], Operations: ['28+30=58', '54-17=37'] Exploring Operation: 58+37=95, Resulting Numbers: [95] 95,73 unequal: No Solution Exploring Operation: 58*37=2146, Resulting Numbers: [2146] 2146,73 unequal: No Solution Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[54, 41], Operations: ['28+30=58', '58-17=41'] Exploring Operation: 54+41=95, Resulting Numbers: [95] 95,73 unequal: No Solution Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,73 unequal: No Solution Exploring Operation: 54*41=2214, Resulting Numbers: [2214] 2214,73 unequal: No Solution No solution 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: 73:[30, 54, 45], Operations: ['28+17=45'] Exploring Operation: 54+45=99, Resulting Numbers: [30, 99] Generated Node #0,1,0: 73:[30, 99] Operation: 54+45=99 Exploring Operation: 30+45=75, Resulting Numbers: [54, 75] Generated Node #0,1,1: 73:[54, 75] Operation: 30+45=75 Exploring Operation: 30+54=84, Resulting Numbers: [45, 84] Generated Node #0,1,2: 73:[45, 84] Operation: 30+54=84 Exploring Operation: 54-30=24, Resulting Numbers: [45, 24] Generated Node #0,1,3: 73:[45, 24] Operation: 54-30=24 Moving to Node #0,1,1 Current State: 73:[54, 75], Operations: ['28+17=45', '30+45=75'] Exploring Operation: 75-54=21, Resulting Numbers: [21] 21,73 unequal: No Solution Exploring Operation: 54+75=129, Resulting Numbers: [129] 129,73 unequal: No Solution Exploring Operation: 54*75=4050, Resulting Numbers: [4050] 4050,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[45, 84], Operations: ['28+17=45', '30+54=84'] Exploring Operation: 45+84=129, Resulting Numbers: [129] 129,73 unequal: No Solution Exploring Operation: 45*84=3780, Resulting Numbers: [3780] 3780,73 unequal: No Solution Exploring Operation: 84-45=39, Resulting Numbers: [39] 39,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[30, 99], Operations: ['28+17=45', '54+45=99'] Exploring Operation: 30*99=2970, Resulting Numbers: [2970] 2970,73 unequal: No Solution Exploring Operation: 99-30=69, Resulting Numbers: [69] 69,73 unequal: No Solution Exploring Operation: 30+99=129, Resulting Numbers: [129] 129,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[45, 24], Operations: ['28+17=45', '54-30=24'] Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,73 unequal: No Solution Exploring Operation: 45*24=1080, Resulting Numbers: [1080] 1080,73 unequal: No Solution Exploring Operation: 45+24=69, Resulting Numbers: [69] 69,73 unequal: No Solution No 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: 73:[28, 30, 71], Operations: ['54+17=71'] Exploring Operation: 28+71=99, Resulting Numbers: [30, 99] Generated Node #0,2,0: 73:[30, 99] Operation: 28+71=99 Exploring Operation: 28+30=58, Resulting Numbers: [71, 58] Generated Node #0,2,1: 73:[71, 58] Operation: 28+30=58 Exploring Operation: 71-28=43, Resulting Numbers: [30, 43] Generated Node #0,2,2: 73:[30, 43] Operation: 71-28=43 Exploring Operation: 30-28=2, Resulting Numbers: [71, 2] Generated Node #0,2,3: 73:[71, 2] Operation: 30-28=2 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 73:[71, 58], Operations: ['54+17=71', '28+30=58'] Exploring Operation: 71*58=4118, Resulting Numbers: [4118] 4118,73 unequal: No Solution Exploring Operation: 71+58=129, Resulting Numbers: [129] 129,73 unequal: No Solution Exploring Operation: 71-58=13, Resulting Numbers: [13] 13,73 unequal: No Solution No 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: 73:[30, 99], Operations: ['54+17=71', '28+71=99'] Exploring Operation: 30+99=129, Resulting Numbers: [129] 129,73 unequal: No Solution Exploring Operation: 99-30=69, Resulting Numbers: [69] 69,73 unequal: No Solution Exploring Operation: 30*99=2970, Resulting Numbers: [2970] 2970,73 unequal: No Solution No 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: 73:[30, 43], Operations: ['54+17=71', '71-28=43'] Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,73 unequal: No Solution Exploring Operation: 30+43=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[28, 30, 54, 17], Operations: [] Exploring Operation: 54+17=71, Resulting Numbers: [28, 30, 71] Generated Node #0,2: 73:[28, 30, 71] Operation: 54+17=71 Moving to Node #0,2 Current State: 73:[28, 30, 71], Operations: ['54+17=71'] Exploring Operation: 71-28=43, Resulting Numbers: [30, 43] Generated Node #0,2,2: 73:[30, 43] Operation: 71-28=43 Moving to Node #0,2,2 Current State: 73:[30, 43], Operations: ['54+17=71', '71-28=43'] Exploring Operation: 30+43=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.954861
hs_4
sum_heuristic
[ 77, 29, 28, 19 ]
80
[ "29+28=57", "57/19=3", "77+3=80" ]
Current State: 80:[77, 29, 28, 19], Operations: [] Exploring Operation: 29+28=57, Resulting Numbers: [77, 19, 57] Generated Node #2: [77, 19, 57] from Operation: 29+28=57 Current State: 80:[77, 19, 57], Operations: ['29+28=57'] Exploring Operation: 57/19=3, Resulting Numbers: [77, 3] Generated Node #3: [77, 3] from Operation: 57/19=3 Current State: 80:[77, 3], Operations: ['29+28=57', '57/19=3'] Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[77, 29, 28, 19], Operations: [] Exploring Operation: 28-19=9, Resulting Numbers: [77, 29, 9] Generated Node #0,0: 80:[77, 29, 9] Operation: 28-19=9 Exploring Operation: 77-29=48, Resulting Numbers: [28, 19, 48] Generated Node #0,1: 80:[28, 19, 48] Operation: 77-29=48 Exploring Operation: 29-19=10, Resulting Numbers: [77, 28, 10] Generated Node #0,2: 80:[77, 28, 10] Operation: 29-19=10 Exploring Operation: 29-28=1, Resulting Numbers: [77, 19, 1] Generated Node #0,3: 80:[77, 19, 1] Operation: 29-28=1 Moving to Node #0,3 Current State: 80:[77, 19, 1], Operations: ['29-28=1'] Exploring Operation: 77+1=78, Resulting Numbers: [19, 78] Generated Node #0,3,0: 80:[19, 78] Operation: 77+1=78 Exploring Operation: 19+1=20, Resulting Numbers: [77, 20] Generated Node #0,3,1: 80:[77, 20] Operation: 19+1=20 Exploring Operation: 77*1=77, Resulting Numbers: [19, 77] Generated Node #0,3,2: 80:[19, 77] Operation: 77*1=77 Exploring Operation: 77/1=77, Resulting Numbers: [19, 77] Generated Node #0,3,3: 80:[19, 77] Operation: 77/1=77 Moving to Node #0,2 Current State: 80:[77, 28, 10], Operations: ['29-19=10'] Exploring Operation: 28+10=38, Resulting Numbers: [77, 38] Generated Node #0,2,0: 80:[77, 38] Operation: 28+10=38 Exploring Operation: 77+10=87, Resulting Numbers: [28, 87] Generated Node #0,2,1: 80:[28, 87] Operation: 77+10=87 Exploring Operation: 77-28=49, Resulting Numbers: [10, 49] Generated Node #0,2,2: 80:[10, 49] Operation: 77-28=49 Exploring Operation: 28-10=18, Resulting Numbers: [77, 18] Generated Node #0,2,3: 80:[77, 18] Operation: 28-10=18 Moving to Node #0,0 Current State: 80:[77, 29, 9], Operations: ['28-19=9'] Exploring Operation: 77+9=86, Resulting Numbers: [29, 86] Generated Node #0,0,0: 80:[29, 86] Operation: 77+9=86 Exploring Operation: 77-29=48, Resulting Numbers: [9, 48] Generated Node #0,0,1: 80:[9, 48] Operation: 77-29=48 Exploring Operation: 29+9=38, Resulting Numbers: [77, 38] Generated Node #0,0,2: 80:[77, 38] Operation: 29+9=38 Exploring Operation: 29-9=20, Resulting Numbers: [77, 20] Generated Node #0,0,3: 80:[77, 20] Operation: 29-9=20 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 80:[77, 20], Operations: ['28-19=9', '29-9=20'] Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,80 unequal: No Solution Exploring Operation: 77*20=1540, Resulting Numbers: [1540] 1540,80 unequal: No Solution Exploring Operation: 77+20=97, Resulting Numbers: [97] 97,80 unequal: No Solution No 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: 80:[77, 38], Operations: ['28-19=9', '29+9=38'] Exploring Operation: 77*38=2926, Resulting Numbers: [2926] 2926,80 unequal: No Solution Exploring Operation: 77+38=115, Resulting Numbers: [115] 115,80 unequal: No Solution Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,80 unequal: No Solution No 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: 80:[9, 48], Operations: ['28-19=9', '77-29=48'] Exploring Operation: 9*48=432, Resulting Numbers: [432] 432,80 unequal: No Solution Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,80 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,80 unequal: No Solution No 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: 80:[29, 86], Operations: ['28-19=9', '77+9=86'] Exploring Operation: 29+86=115, Resulting Numbers: [115] 115,80 unequal: No Solution Exploring Operation: 29*86=2494, Resulting Numbers: [2494] 2494,80 unequal: No Solution Exploring Operation: 86-29=57, Resulting Numbers: [57] 57,80 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: 80:[28, 19, 48], Operations: ['77-29=48'] Exploring Operation: 28+19=47, Resulting Numbers: [48, 47] Generated Node #0,1,0: 80:[48, 47] Operation: 28+19=47 Exploring Operation: 28-19=9, Resulting Numbers: [48, 9] Generated Node #0,1,1: 80:[48, 9] Operation: 28-19=9 Exploring Operation: 28+48=76, Resulting Numbers: [19, 76] Generated Node #0,1,2: 80:[19, 76] Operation: 28+48=76 Exploring Operation: 48-28=20, Resulting Numbers: [19, 20] Generated Node #0,1,3: 80:[19, 20] Operation: 48-28=20 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 80:[19, 20], Operations: ['77-29=48', '48-28=20'] Exploring Operation: 19+20=39, Resulting Numbers: [39] 39,80 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 19*20=380, Resulting Numbers: [380] 380,80 unequal: No Solution No solution 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: 80:[19, 76], Operations: ['77-29=48', '28+48=76'] Exploring Operation: 19+76=95, Resulting Numbers: [95] 95,80 unequal: No Solution Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,80 unequal: No Solution Exploring Operation: 19*76=1444, Resulting Numbers: [1444] 1444,80 unequal: No Solution No solution 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: 80:[48, 9], Operations: ['77-29=48', '28-19=9'] Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,80 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,80 unequal: No Solution Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,80 unequal: No Solution No solution 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: 80:[48, 47], Operations: ['77-29=48', '28+19=47'] Exploring Operation: 48+47=95, Resulting Numbers: [95] 95,80 unequal: No Solution Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 48*47=2256, Resulting Numbers: [2256] 2256,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 80:[19, 78], Operations: ['29-28=1', '77+1=78'] Exploring Operation: 78-19=59, Resulting Numbers: [59] 59,80 unequal: No Solution Exploring Operation: 19+78=97, Resulting Numbers: [97] 97,80 unequal: No Solution Exploring Operation: 19*78=1482, Resulting Numbers: [1482] 1482,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[77, 20], Operations: ['29-28=1', '19+1=20'] Exploring Operation: 77+20=97, Resulting Numbers: [97] 97,80 unequal: No Solution Exploring Operation: 77*20=1540, Resulting Numbers: [1540] 1540,80 unequal: No Solution Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[19, 77], Operations: ['29-28=1', '77*1=77'] Exploring Operation: 19*77=1463, Resulting Numbers: [1463] 1463,80 unequal: No Solution Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,80 unequal: No Solution Exploring Operation: 19+77=96, Resulting Numbers: [96] 96,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[19, 77], Operations: ['29-28=1', '77/1=77'] Exploring Operation: 19+77=96, Resulting Numbers: [96] 96,80 unequal: No Solution Exploring Operation: 19*77=1463, Resulting Numbers: [1463] 1463,80 unequal: No Solution Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[77, 18], Operations: ['29-19=10', '28-10=18'] Exploring Operation: 77-18=59, Resulting Numbers: [59] 59,80 unequal: No Solution Exploring Operation: 77*18=1386, Resulting Numbers: [1386] 1386,80 unequal: No Solution Exploring Operation: 77+18=95, Resulting Numbers: [95] 95,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[77, 38], Operations: ['29-19=10', '28+10=38'] Exploring Operation: 77*38=2926, Resulting Numbers: [2926] 2926,80 unequal: No Solution Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,80 unequal: No Solution Exploring Operation: 77+38=115, Resulting Numbers: [115] 115,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[10, 49], Operations: ['29-19=10', '77-28=49'] Exploring Operation: 10+49=59, Resulting Numbers: [59] 59,80 unequal: No Solution Exploring Operation: 10*49=490, Resulting Numbers: [490] 490,80 unequal: No Solution Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[28, 87], Operations: ['29-19=10', '77+10=87'] Exploring Operation: 28+87=115, Resulting Numbers: [115] 115,80 unequal: No Solution Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,80 unequal: No Solution Exploring Operation: 28*87=2436, Resulting Numbers: [2436] 2436,80 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 15, 24, 48, 29 ]
59
[ "15*48=720", "720/24=30", "29+30=59" ]
Current State: 59:[15, 24, 48, 29], Operations: [] Exploring Operation: 15*48=720, Resulting Numbers: [24, 29, 720] Generated Node #2: [24, 29, 720] from Operation: 15*48=720 Current State: 59:[24, 29, 720], Operations: ['15*48=720'] Exploring Operation: 720/24=30, Resulting Numbers: [29, 30] Generated Node #3: [29, 30] from Operation: 720/24=30 Current State: 59:[29, 30], Operations: ['15*48=720', '720/24=30'] Exploring Operation: 29+30=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[15, 24, 48, 29], Operations: [] Exploring Operation: 15+24=39, Resulting Numbers: [48, 29, 39] Generated Node #0,0: 59:[48, 29, 39] Operation: 15+24=39 Exploring Operation: 15+29=44, Resulting Numbers: [24, 48, 44] Generated Node #0,1: 59:[24, 48, 44] Operation: 15+29=44 Moving to Node #0,0 Current State: 59:[48, 29, 39], Operations: ['15+24=39'] Exploring Operation: 29+39=68, Resulting Numbers: [48, 68] Generated Node #0,0,0: 59:[48, 68] Operation: 29+39=68 Exploring Operation: 48+29=77, Resulting Numbers: [39, 77] Generated Node #0,0,1: 59:[39, 77] Operation: 48+29=77 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[48, 68], Operations: ['15+24=39', '29+39=68'] Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 48+68=116, Resulting Numbers: [116] 116,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:[39, 77], Operations: ['15+24=39', '48+29=77'] Exploring Operation: 77-39=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 39+77=116, Resulting Numbers: [116] 116,59 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: 59:[24, 48, 44], Operations: ['15+29=44'] Exploring Operation: 24+44=68, Resulting Numbers: [48, 68] Generated Node #0,1,0: 59:[48, 68] Operation: 24+44=68 Exploring Operation: 24+48=72, Resulting Numbers: [44, 72] Generated Node #0,1,1: 59:[44, 72] Operation: 24+48=72 Moving to Node #0,1,0 Current State: 59:[48, 68], Operations: ['15+29=44', '24+44=68'] Exploring Operation: 48+68=116, Resulting Numbers: [116] 116,59 unequal: No Solution Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[44, 72], Operations: ['15+29=44', '24+48=72'] Exploring Operation: 72-44=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 44+72=116, Resulting Numbers: [116] 116,59 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 92, 58, 91, 87 ]
30
[ "92-58=34", "91-87=4", "34-4=30" ]
Current State: 30:[92, 58, 91, 87], Operations: [] Exploring Operation: 92-58=34, Resulting Numbers: [91, 87, 34] Generated Node #2: [91, 87, 34] from Operation: 92-58=34 Current State: 30:[91, 87, 34], Operations: ['92-58=34'] Exploring Operation: 91-87=4, Resulting Numbers: [34, 4] Generated Node #3: [34, 4] from Operation: 91-87=4 Current State: 30:[34, 4], Operations: ['92-58=34', '91-87=4'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[92, 58, 91, 87], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [58, 91, 5] Generated Node #0,0: 30:[58, 91, 5] Operation: 92-87=5 Exploring Operation: 92-91=1, Resulting Numbers: [58, 87, 1] Generated Node #0,1: 30:[58, 87, 1] Operation: 92-91=1 Exploring Operation: 92-58=34, Resulting Numbers: [91, 87, 34] Generated Node #0,2: 30:[91, 87, 34] Operation: 92-58=34 Exploring Operation: 91-58=33, Resulting Numbers: [92, 87, 33] Generated Node #0,3: 30:[92, 87, 33] Operation: 91-58=33 Exploring Operation: 91-87=4, Resulting Numbers: [92, 58, 4] Generated Node #0,4: 30:[92, 58, 4] Operation: 91-87=4 Moving to Node #0,1 Current State: 30:[58, 87, 1], Operations: ['92-91=1'] Exploring Operation: 58-1=57, Resulting Numbers: [87, 57] Generated Node #0,1,0: 30:[87, 57] Operation: 58-1=57 Exploring Operation: 87-58=29, Resulting Numbers: [1, 29] Generated Node #0,1,1: 30:[1, 29] Operation: 87-58=29 Exploring Operation: 87-1=86, Resulting Numbers: [58, 86] Generated Node #0,1,2: 30:[58, 86] Operation: 87-1=86 Exploring Operation: 58*1=58, Resulting Numbers: [87, 58] Generated Node #0,1,3: 30:[87, 58] Operation: 58*1=58 Exploring Operation: 58/1=58, Resulting Numbers: [87, 58] Generated Node #0,1,4: 30:[87, 58] Operation: 58/1=58 Moving to Node #0,0 Current State: 30:[58, 91, 5], Operations: ['92-87=5'] Exploring Operation: 58-5=53, Resulting Numbers: [91, 53] Generated Node #0,0,0: 30:[91, 53] Operation: 58-5=53 Exploring Operation: 91+5=96, Resulting Numbers: [58, 96] Generated Node #0,0,1: 30:[58, 96] Operation: 91+5=96 Exploring Operation: 58+5=63, Resulting Numbers: [91, 63] Generated Node #0,0,2: 30:[91, 63] Operation: 58+5=63 Exploring Operation: 91-58=33, Resulting Numbers: [5, 33] Generated Node #0,0,3: 30:[5, 33] Operation: 91-58=33 Exploring Operation: 91-5=86, Resulting Numbers: [58, 86] Generated Node #0,0,4: 30:[58, 86] Operation: 91-5=86 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 30:[5, 33], Operations: ['92-87=5', '91-58=33'] Exploring Operation: 5*33=165, Resulting Numbers: [165] 165,30 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,30 unequal: No Solution Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,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,0 Current State: 30:[91, 53], Operations: ['92-87=5', '58-5=53'] Exploring Operation: 91*53=4823, Resulting Numbers: [4823] 4823,30 unequal: No Solution Exploring Operation: 91+53=144, Resulting Numbers: [144] 144,30 unequal: No Solution Exploring Operation: 91-53=38, Resulting Numbers: [38] 38,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,4 Current State: 30:[58, 86], Operations: ['92-87=5', '91-5=86'] Exploring Operation: 86-58=28, Resulting Numbers: [28] 28,30 unequal: No Solution Exploring Operation: 58+86=144, Resulting Numbers: [144] 144,30 unequal: No Solution Exploring Operation: 58*86=4988, Resulting Numbers: [4988] 4988,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,1 Current State: 30:[58, 96], Operations: ['92-87=5', '91+5=96'] Exploring Operation: 96-58=38, Resulting Numbers: [38] 38,30 unequal: No Solution Exploring Operation: 58+96=154, Resulting Numbers: [154] 154,30 unequal: No Solution Exploring Operation: 58*96=5568, Resulting Numbers: [5568] 5568,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,2 Current State: 30:[91, 63], Operations: ['92-87=5', '58+5=63'] Exploring Operation: 91+63=154, Resulting Numbers: [154] 154,30 unequal: No Solution Exploring Operation: 91-63=28, Resulting Numbers: [28] 28,30 unequal: No Solution Exploring Operation: 91*63=5733, Resulting Numbers: [5733] 5733,30 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: 30:[92, 58, 4], Operations: ['91-87=4'] Exploring Operation: 92/4=23, Resulting Numbers: [58, 23] Generated Node #0,4,0: 30:[58, 23] Operation: 92/4=23 Exploring Operation: 58-4=54, Resulting Numbers: [92, 54] Generated Node #0,4,1: 30:[92, 54] Operation: 58-4=54 Exploring Operation: 92-4=88, Resulting Numbers: [58, 88] Generated Node #0,4,2: 30:[58, 88] Operation: 92-4=88 Exploring Operation: 92-58=34, Resulting Numbers: [4, 34] Generated Node #0,4,3: 30:[4, 34] Operation: 92-58=34 Exploring Operation: 92+4=96, Resulting Numbers: [58, 96] Generated Node #0,4,4: 30:[58, 96] Operation: 92+4=96 Moving to Node #0,2 Current State: 30:[91, 87, 34], Operations: ['92-58=34'] Exploring Operation: 87-34=53, Resulting Numbers: [91, 53] Generated Node #0,2,0: 30:[91, 53] Operation: 87-34=53 Exploring Operation: 91+34=125, Resulting Numbers: [87, 125] Generated Node #0,2,1: 30:[87, 125] Operation: 91+34=125 Exploring Operation: 91+87=178, Resulting Numbers: [34, 178] Generated Node #0,2,2: 30:[34, 178] Operation: 91+87=178 Exploring Operation: 91-87=4, Resulting Numbers: [34, 4] Generated Node #0,2,3: 30:[34, 4] Operation: 91-87=4 Exploring Operation: 91-34=57, Resulting Numbers: [87, 57] Generated Node #0,2,4: 30:[87, 57] Operation: 91-34=57 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 30:[34, 4], Operations: ['92-58=34', '91-87=4'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[92, 58, 91, 87], Operations: [] Exploring Operation: 92-58=34, Resulting Numbers: [91, 87, 34] Generated Node #0,2: 30:[91, 87, 34] Operation: 92-58=34 Moving to Node #0,2 Current State: 30:[91, 87, 34], Operations: ['92-58=34'] Exploring Operation: 91-87=4, Resulting Numbers: [34, 4] Generated Node #0,2,3: 30:[34, 4] Operation: 91-87=4 Moving to Node #0,2,3 Current State: 30:[34, 4], Operations: ['92-58=34', '91-87=4'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_5
mult_heuristic
[ 44, 11, 83, 4 ]
82
[ "44/11=4", "4/4=1", "83-1=82" ]
Current State: 82:[44, 11, 83, 4], Operations: [] Exploring Operation: 44/11=4, Resulting Numbers: [83, 4, 4] Generated Node #2: [83, 4, 4] from Operation: 44/11=4 Current State: 82:[83, 4, 4], Operations: ['44/11=4'] Exploring Operation: 4/4=1, Resulting Numbers: [83, 1] Generated Node #3: [83, 1] from Operation: 4/4=1 Current State: 82:[83, 1], Operations: ['44/11=4', '4/4=1'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[44, 11, 83, 4], Operations: [] Exploring Operation: 44/11=4, Resulting Numbers: [83, 4, 4] Generated Node #0,0: 82:[83, 4, 4] Operation: 44/11=4 Exploring Operation: 44-4=40, Resulting Numbers: [11, 83, 40] Generated Node #0,1: 82:[11, 83, 40] Operation: 44-4=40 Exploring Operation: 44-11=33, Resulting Numbers: [83, 4, 33] Generated Node #0,2: 82:[83, 4, 33] Operation: 44-11=33 Exploring Operation: 11*4=44, Resulting Numbers: [44, 83, 44] Generated Node #0,3: 82:[44, 83, 44] Operation: 11*4=44 Exploring Operation: 11-4=7, Resulting Numbers: [44, 83, 7] Generated Node #0,4: 82:[44, 83, 7] Operation: 11-4=7 Moving to Node #0,0 Current State: 82:[83, 4, 4], Operations: ['44/11=4'] Exploring Operation: 83-4=79, Resulting Numbers: [4, 79] Generated Node #0,0,0: 82:[4, 79] Operation: 83-4=79 Exploring Operation: 83+4=87, Resulting Numbers: [4, 87] Generated Node #0,0,1: 82:[4, 87] Operation: 83+4=87 Exploring Operation: 83-4=79, Resulting Numbers: [4, 79] Generated Node #0,0,2: 82:[4, 79] Operation: 83-4=79 Exploring Operation: 4/4=1, Resulting Numbers: [83, 1] Generated Node #0,0,3: 82:[83, 1] Operation: 4/4=1 Exploring Operation: 4-4=0, Resulting Numbers: [83, 0] Generated Node #0,0,4: 82:[83, 0] Operation: 4-4=0 Moving to Node #0,3 Current State: 82:[44, 83, 44], Operations: ['11*4=44'] Exploring Operation: 44/44=1, Resulting Numbers: [83, 1] Generated Node #0,3,0: 82:[83, 1] Operation: 44/44=1 Exploring Operation: 44-44=0, Resulting Numbers: [83, 0] Generated Node #0,3,1: 82:[83, 0] Operation: 44-44=0 Exploring Operation: 44+44=88, Resulting Numbers: [83, 88] Generated Node #0,3,2: 82:[83, 88] Operation: 44+44=88 Exploring Operation: 83-44=39, Resulting Numbers: [44, 39] Generated Node #0,3,3: 82:[44, 39] Operation: 83-44=39 Exploring Operation: 83-44=39, Resulting Numbers: [44, 39] Generated Node #0,3,4: 82:[44, 39] Operation: 83-44=39 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 82:[83, 1], Operations: ['11*4=44', '44/44=1'] Exploring Operation: 83+1=84, Resulting Numbers: [84] 84,82 unequal: No Solution Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 83/1=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[44, 11, 83, 4], Operations: [] Exploring Operation: 11*4=44, Resulting Numbers: [44, 83, 44] Generated Node #0,3: 82:[44, 83, 44] Operation: 11*4=44 Moving to Node #0,3 Current State: 82:[44, 83, 44], Operations: ['11*4=44'] Exploring Operation: 44/44=1, Resulting Numbers: [83, 1] Generated Node #0,3,0: 82:[83, 1] Operation: 44/44=1 Moving to Node #0,3,0 Current State: 82:[83, 1], Operations: ['11*4=44', '44/44=1'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 23, 34, 11, 97 ]
96
[ "34-23=11", "11/11=1", "97-1=96" ]
Current State: 96:[23, 34, 11, 97], Operations: [] Exploring Operation: 34-23=11, Resulting Numbers: [11, 97, 11] Generated Node #2: [11, 97, 11] from Operation: 34-23=11 Current State: 96:[11, 97, 11], Operations: ['34-23=11'] Exploring Operation: 11/11=1, Resulting Numbers: [97, 1] Generated Node #3: [97, 1] from Operation: 11/11=1 Current State: 96:[97, 1], Operations: ['34-23=11', '11/11=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[23, 34, 11, 97], Operations: [] Exploring Operation: 34-23=11, Resulting Numbers: [11, 97, 11] Generated Node #0,0: 96:[11, 97, 11] Operation: 34-23=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[11, 97, 11], Operations: ['34-23=11'] Exploring Operation: 11/11=1, Resulting Numbers: [97, 1] Generated Node #0,0,0: 96:[97, 1] Operation: 11/11=1 Moving to Node #0,0,0 Current State: 96:[97, 1], Operations: ['34-23=11', '11/11=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[23, 34, 11, 97], Operations: [] Exploring Operation: 34-23=11, Resulting Numbers: [11, 97, 11] Generated Node #0,0: 96:[11, 97, 11] Operation: 34-23=11 Moving to Node #0,0 Current State: 96:[11, 97, 11], Operations: ['34-23=11'] Exploring Operation: 11/11=1, Resulting Numbers: [97, 1] Generated Node #0,0,0: 96:[97, 1] Operation: 11/11=1 Moving to Node #0,0,0 Current State: 96:[97, 1], Operations: ['34-23=11', '11/11=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 51, 1, 37, 58 ]
30
[ "51*1=51", "58-37=21", "51-21=30" ]
Current State: 30:[51, 1, 37, 58], Operations: [] Exploring Operation: 51*1=51, Resulting Numbers: [37, 58, 51] Generated Node #2: [37, 58, 51] from Operation: 51*1=51 Current State: 30:[37, 58, 51], Operations: ['51*1=51'] Exploring Operation: 58-37=21, Resulting Numbers: [51, 21] Generated Node #3: [51, 21] from Operation: 58-37=21 Current State: 30:[51, 21], Operations: ['51*1=51', '58-37=21'] Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[51, 1, 37, 58], Operations: [] Exploring Operation: 51-1=50, Resulting Numbers: [37, 58, 50] Generated Node #0,0: 30:[37, 58, 50] Operation: 51-1=50 Exploring Operation: 58-37=21, Resulting Numbers: [51, 1, 21] Generated Node #0,1: 30:[51, 1, 21] Operation: 58-37=21 Exploring Operation: 58-51=7, Resulting Numbers: [1, 37, 7] Generated Node #0,2: 30:[1, 37, 7] Operation: 58-51=7 Exploring Operation: 51-37=14, Resulting Numbers: [1, 58, 14] Generated Node #0,3: 30:[1, 58, 14] Operation: 51-37=14 Exploring Operation: 37-1=36, Resulting Numbers: [51, 58, 36] Generated Node #0,4: 30:[51, 58, 36] Operation: 37-1=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[1, 37, 7], Operations: ['58-51=7'] Exploring Operation: 37-7=30, Resulting Numbers: [1, 30] Generated Node #0,2,0: 30:[1, 30] Operation: 37-7=30 Exploring Operation: 37-1=36, Resulting Numbers: [7, 36] Generated Node #0,2,1: 30:[7, 36] Operation: 37-1=36 Exploring Operation: 37/1=37, Resulting Numbers: [7, 37] Generated Node #0,2,2: 30:[7, 37] Operation: 37/1=37 Exploring Operation: 1*37=37, Resulting Numbers: [7, 37] Generated Node #0,2,3: 30:[7, 37] Operation: 1*37=37 Exploring Operation: 7-1=6, Resulting Numbers: [37, 6] Generated Node #0,2,4: 30:[37, 6] Operation: 7-1=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 30:[1, 30], Operations: ['58-51=7', '37-7=30'] Exploring Operation: 1+30=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 1*30=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[51, 1, 37, 58], Operations: [] Exploring Operation: 58-51=7, Resulting Numbers: [1, 37, 7] Generated Node #0,2: 30:[1, 37, 7] Operation: 58-51=7 Moving to Node #0,2 Current State: 30:[1, 37, 7], Operations: ['58-51=7'] Exploring Operation: 37-7=30, Resulting Numbers: [1, 30] Generated Node #0,2,0: 30:[1, 30] Operation: 37-7=30 Moving to Node #0,2,0 Current State: 30:[1, 30], Operations: ['58-51=7', '37-7=30'] Exploring Operation: 1*30=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 70, 90, 12, 51 ]
68
[ "90+12=102", "102/51=2", "70-2=68" ]
Current State: 68:[70, 90, 12, 51], Operations: [] Exploring Operation: 90+12=102, Resulting Numbers: [70, 51, 102] Generated Node #2: [70, 51, 102] from Operation: 90+12=102 Current State: 68:[70, 51, 102], Operations: ['90+12=102'] Exploring Operation: 102/51=2, Resulting Numbers: [70, 2] Generated Node #3: [70, 2] from Operation: 102/51=2 Current State: 68:[70, 2], Operations: ['90+12=102', '102/51=2'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[70, 90, 12, 51], Operations: [] Exploring Operation: 90-51=39, Resulting Numbers: [70, 12, 39] Generated Node #0,0: 68:[70, 12, 39] Operation: 90-51=39 Exploring Operation: 90-70=20, Resulting Numbers: [12, 51, 20] Generated Node #0,1: 68:[12, 51, 20] Operation: 90-70=20 Moving to Node #0,0 Current State: 68:[70, 12, 39], Operations: ['90-51=39'] Exploring Operation: 70-39=31, Resulting Numbers: [12, 31] Generated Node #0,0,0: 68:[12, 31] Operation: 70-39=31 Exploring Operation: 39-12=27, Resulting Numbers: [70, 27] Generated Node #0,0,1: 68:[70, 27] Operation: 39-12=27 Moving to Node #0,1 Current State: 68:[12, 51, 20], Operations: ['90-70=20'] Exploring Operation: 12+51=63, Resulting Numbers: [20, 63] Generated Node #0,1,0: 68:[20, 63] Operation: 12+51=63 Exploring Operation: 51-12=39, Resulting Numbers: [20, 39] Generated Node #0,1,1: 68:[20, 39] Operation: 51-12=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[20, 63], Operations: ['90-70=20', '12+51=63'] Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 20+63=83, Resulting Numbers: [83] 83,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 68:[20, 39], Operations: ['90-70=20', '51-12=39'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 20+39=59, Resulting Numbers: [59] 59,68 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: 68:[12, 31], Operations: ['90-51=39', '70-39=31'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 12+31=43, Resulting Numbers: [43] 43,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[70, 27], Operations: ['90-51=39', '39-12=27'] Exploring Operation: 70+27=97, Resulting Numbers: [97] 97,68 unequal: No Solution Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,68 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 8, 41, 45, 70 ]
82
[ "41-8=33", "45+70=115", "115-33=82" ]
Current State: 82:[8, 41, 45, 70], Operations: [] Exploring Operation: 41-8=33, Resulting Numbers: [45, 70, 33] Generated Node #2: [45, 70, 33] from Operation: 41-8=33 Current State: 82:[45, 70, 33], Operations: ['41-8=33'] Exploring Operation: 45+70=115, Resulting Numbers: [33, 115] Generated Node #3: [33, 115] from Operation: 45+70=115 Current State: 82:[33, 115], Operations: ['41-8=33', '45+70=115'] Exploring Operation: 115-33=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[8, 41, 45, 70], Operations: [] Exploring Operation: 8+70=78, Resulting Numbers: [41, 45, 78] Generated Node #0,0: 82:[41, 45, 78] Operation: 8+70=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[41, 45, 78], Operations: ['8+70=78'] Exploring Operation: 45-41=4, Resulting Numbers: [78, 4] Generated Node #0,0,0: 82:[78, 4] Operation: 45-41=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[78, 4], Operations: ['8+70=78', '45-41=4'] Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[8, 41, 45, 70], Operations: [] Exploring Operation: 8+70=78, Resulting Numbers: [41, 45, 78] Generated Node #0,0: 82:[41, 45, 78] Operation: 8+70=78 Moving to Node #0,0 Current State: 82:[41, 45, 78], Operations: ['8+70=78'] Exploring Operation: 45-41=4, Resulting Numbers: [78, 4] Generated Node #0,0,0: 82:[78, 4] Operation: 45-41=4 Moving to Node #0,0,0 Current State: 82:[78, 4], Operations: ['8+70=78', '45-41=4'] Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 97, 91, 90, 29 ]
84
[ "97-91=6", "29*6=174", "174-90=84" ]
Current State: 84:[97, 91, 90, 29], Operations: [] Exploring Operation: 97-91=6, Resulting Numbers: [90, 29, 6] Generated Node #2: [90, 29, 6] from Operation: 97-91=6 Current State: 84:[90, 29, 6], Operations: ['97-91=6'] Exploring Operation: 29*6=174, Resulting Numbers: [90, 174] Generated Node #3: [90, 174] from Operation: 29*6=174 Current State: 84:[90, 174], Operations: ['97-91=6', '29*6=174'] Exploring Operation: 174-90=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[97, 91, 90, 29], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [97, 29, 1] Generated Node #0,0: 84:[97, 29, 1] Operation: 91-90=1 Exploring Operation: 97-90=7, Resulting Numbers: [91, 29, 7] Generated Node #0,1: 84:[91, 29, 7] Operation: 97-90=7 Exploring Operation: 97-91=6, Resulting Numbers: [90, 29, 6] Generated Node #0,2: 84:[90, 29, 6] Operation: 97-91=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[90, 29, 6], Operations: ['97-91=6'] Exploring Operation: 29-6=23, Resulting Numbers: [90, 23] Generated Node #0,2,0: 84:[90, 23] Operation: 29-6=23 Exploring Operation: 90/6=15, Resulting Numbers: [29, 15] Generated Node #0,2,1: 84:[29, 15] Operation: 90/6=15 Exploring Operation: 90-6=84, Resulting Numbers: [29, 84] Generated Node #0,2,2: 84:[29, 84] Operation: 90-6=84 Moving to Node #0,2,2 Current State: 84:[29, 84], Operations: ['97-91=6', '90-6=84'] Exploring Operation: 29*84=2436, Resulting Numbers: [2436] 2436,84 unequal: No Solution Exploring Operation: 84-29=55, Resulting Numbers: [55] 55,84 unequal: No Solution Exploring Operation: 29+84=113, Resulting Numbers: [113] 113,84 unequal: No Solution Moving to Node #0,2,1 Current State: 84:[29, 15], Operations: ['97-91=6', '90/6=15'] Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,84 unequal: No Solution Exploring Operation: 29*15=435, Resulting Numbers: [435] 435,84 unequal: No Solution Exploring Operation: 29+15=44, Resulting Numbers: [44] 44,84 unequal: No Solution Moving to Node #0,2,0 Current State: 84:[90, 23], Operations: ['97-91=6', '29-6=23'] Exploring Operation: 90*23=2070, Resulting Numbers: [2070] 2070,84 unequal: No Solution Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,84 unequal: No Solution Exploring Operation: 90+23=113, Resulting Numbers: [113] 113,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:[91, 29, 7], Operations: ['97-90=7'] Exploring Operation: 91/7=13, Resulting Numbers: [29, 13] Generated Node #0,1,0: 84:[29, 13] Operation: 91/7=13 Exploring Operation: 29-7=22, Resulting Numbers: [91, 22] Generated Node #0,1,1: 84:[91, 22] Operation: 29-7=22 Exploring Operation: 91-7=84, Resulting Numbers: [29, 84] Generated Node #0,1,2: 84:[29, 84] Operation: 91-7=84 Moving to Node #0,1,2 Current State: 84:[29, 84], Operations: ['97-90=7', '91-7=84'] Exploring Operation: 29+84=113, Resulting Numbers: [113] 113,84 unequal: No Solution Exploring Operation: 29*84=2436, Resulting Numbers: [2436] 2436,84 unequal: No Solution Exploring Operation: 84-29=55, Resulting Numbers: [55] 55,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[29, 13], Operations: ['97-90=7', '91/7=13'] Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,84 unequal: No Solution Exploring Operation: 29*13=377, Resulting Numbers: [377] 377,84 unequal: No Solution Exploring Operation: 29+13=42, Resulting Numbers: [42] 42,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[91, 22], Operations: ['97-90=7', '29-7=22'] Exploring Operation: 91*22=2002, Resulting Numbers: [2002] 2002,84 unequal: No Solution Exploring Operation: 91-22=69, Resulting Numbers: [69] 69,84 unequal: No Solution Exploring Operation: 91+22=113, Resulting Numbers: [113] 113,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[97, 29, 1], Operations: ['91-90=1'] Exploring Operation: 29-1=28, Resulting Numbers: [97, 28] Generated Node #0,0,0: 84:[97, 28] Operation: 29-1=28 Exploring Operation: 97*1=97, Resulting Numbers: [29, 97] Generated Node #0,0,1: 84:[29, 97] Operation: 97*1=97 Exploring Operation: 97-1=96, Resulting Numbers: [29, 96] Generated Node #0,0,2: 84:[29, 96] Operation: 97-1=96 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[97, 28], Operations: ['91-90=1', '29-1=28'] Exploring Operation: 97+28=125, Resulting Numbers: [125] 125,84 unequal: No Solution Exploring Operation: 97*28=2716, Resulting Numbers: [2716] 2716,84 unequal: No Solution Exploring Operation: 97-28=69, Resulting Numbers: [69] 69,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 84:[29, 96], Operations: ['91-90=1', '97-1=96'] Exploring Operation: 29*96=2784, Resulting Numbers: [2784] 2784,84 unequal: No Solution Exploring Operation: 29+96=125, Resulting Numbers: [125] 125,84 unequal: No Solution Exploring Operation: 96-29=67, Resulting Numbers: [67] 67,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[29, 97], Operations: ['91-90=1', '97*1=97'] Exploring Operation: 29+97=126, Resulting Numbers: [126] 126,84 unequal: No Solution Exploring Operation: 97-29=68, Resulting Numbers: [68] 68,84 unequal: No Solution Exploring Operation: 29*97=2813, Resulting Numbers: [2813] 2813,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 3, 32, 20, 30 ]
46
[ "3*32=96", "20+30=50", "96-50=46" ]
Current State: 46:[3, 32, 20, 30], Operations: [] Exploring Operation: 3*32=96, Resulting Numbers: [20, 30, 96] Generated Node #2: [20, 30, 96] from Operation: 3*32=96 Current State: 46:[20, 30, 96], Operations: ['3*32=96'] Exploring Operation: 20+30=50, Resulting Numbers: [96, 50] Generated Node #3: [96, 50] from Operation: 20+30=50 Current State: 46:[96, 50], Operations: ['3*32=96', '20+30=50'] Exploring Operation: 96-50=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[3, 32, 20, 30], Operations: [] Exploring Operation: 32-30=2, Resulting Numbers: [3, 20, 2] Generated Node #0,0: 46:[3, 20, 2] Operation: 32-30=2 Exploring Operation: 32-3=29, Resulting Numbers: [20, 30, 29] Generated Node #0,1: 46:[20, 30, 29] Operation: 32-3=29 Exploring Operation: 20+30=50, Resulting Numbers: [3, 32, 50] Generated Node #0,2: 46:[3, 32, 50] Operation: 20+30=50 Exploring Operation: 32+20=52, Resulting Numbers: [3, 30, 52] Generated Node #0,3: 46:[3, 30, 52] Operation: 32+20=52 Moving to Node #0,0 Current State: 46:[3, 20, 2], Operations: ['32-30=2'] Exploring Operation: 20+2=22, Resulting Numbers: [3, 22] Generated Node #0,0,0: 46:[3, 22] Operation: 20+2=22 Exploring Operation: 3+20=23, Resulting Numbers: [2, 23] Generated Node #0,0,1: 46:[2, 23] Operation: 3+20=23 Exploring Operation: 20-3=17, Resulting Numbers: [2, 17] Generated Node #0,0,2: 46:[2, 17] Operation: 20-3=17 Exploring Operation: 3-2=1, Resulting Numbers: [20, 1] Generated Node #0,0,3: 46:[20, 1] Operation: 3-2=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[2, 23], Operations: ['32-30=2', '3+20=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[3, 32, 20, 30], Operations: [] Exploring Operation: 32-30=2, Resulting Numbers: [3, 20, 2] Generated Node #0,0: 46:[3, 20, 2] Operation: 32-30=2 Moving to Node #0,0 Current State: 46:[3, 20, 2], Operations: ['32-30=2'] Exploring Operation: 3+20=23, Resulting Numbers: [2, 23] Generated Node #0,0,1: 46:[2, 23] Operation: 3+20=23 Moving to Node #0,0,1 Current State: 46:[2, 23], Operations: ['32-30=2', '3+20=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 13, 29, 80, 76 ]
81
[ "29-13=16", "80/16=5", "76+5=81" ]
Current State: 81:[13, 29, 80, 76], Operations: [] Exploring Operation: 29-13=16, Resulting Numbers: [80, 76, 16] Generated Node #2: [80, 76, 16] from Operation: 29-13=16 Current State: 81:[80, 76, 16], Operations: ['29-13=16'] Exploring Operation: 80/16=5, Resulting Numbers: [76, 5] Generated Node #3: [76, 5] from Operation: 80/16=5 Current State: 81:[76, 5], Operations: ['29-13=16', '80/16=5'] Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[13, 29, 80, 76], Operations: [] Exploring Operation: 80-76=4, Resulting Numbers: [13, 29, 4] Generated Node #0,0: 81:[13, 29, 4] Operation: 80-76=4 Moving to Node #0,0 Current State: 81:[13, 29, 4], Operations: ['80-76=4'] Exploring Operation: 13-4=9, Resulting Numbers: [29, 9] Generated Node #0,0,0: 81:[29, 9] Operation: 13-4=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[29, 9], Operations: ['80-76=4', '13-4=9'] Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,81 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
[ 62, 17, 66, 6 ]
62
[ "66-62=4", "17*4=68", "68-6=62" ]
Current State: 62:[62, 17, 66, 6], Operations: [] Exploring Operation: 66-62=4, Resulting Numbers: [17, 6, 4] Generated Node #2: [17, 6, 4] from Operation: 66-62=4 Current State: 62:[17, 6, 4], Operations: ['66-62=4'] Exploring Operation: 17*4=68, Resulting Numbers: [6, 68] Generated Node #3: [6, 68] from Operation: 17*4=68 Current State: 62:[6, 68], Operations: ['66-62=4', '17*4=68'] Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[62, 17, 66, 6], Operations: [] Exploring Operation: 17+6=23, Resulting Numbers: [62, 66, 23] Generated Node #0,0: 62:[62, 66, 23] Operation: 17+6=23 Exploring Operation: 17-6=11, Resulting Numbers: [62, 66, 11] Generated Node #0,1: 62:[62, 66, 11] Operation: 17-6=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[62, 66, 23], Operations: ['17+6=23'] Exploring Operation: 62-23=39, Resulting Numbers: [66, 39] Generated Node #0,0,0: 62:[66, 39] Operation: 62-23=39 Exploring Operation: 66-62=4, Resulting Numbers: [23, 4] Generated Node #0,0,1: 62:[23, 4] Operation: 66-62=4 Moving to Node #0,0,1 Current State: 62:[23, 4], Operations: ['17+6=23', '66-62=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[66, 39], Operations: ['17+6=23', '62-23=39'] Exploring Operation: 66-39=27, Resulting Numbers: [27] 27,62 unequal: No Solution Exploring Operation: 66+39=105, Resulting Numbers: [105] 105,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[62, 66, 11], Operations: ['17-6=11'] Exploring Operation: 66-11=55, Resulting Numbers: [62, 55] Generated Node #0,1,0: 62:[62, 55] Operation: 66-11=55 Exploring Operation: 66/11=6, Resulting Numbers: [62, 6] Generated Node #0,1,1: 62:[62, 6] Operation: 66/11=6 Moving to Node #0,1,1 Current State: 62:[62, 6], Operations: ['17-6=11', '66/11=6'] Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,62 unequal: No Solution Exploring Operation: 62+6=68, Resulting Numbers: [68] 68,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[62, 55], Operations: ['17-6=11', '66-11=55'] Exploring Operation: 62-55=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 62+55=117, Resulting Numbers: [117] 117,62 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
[ 1, 37, 8, 60 ]
16
[ "37-1=36", "60-8=52", "52-36=16" ]
Current State: 16:[1, 37, 8, 60], Operations: [] Exploring Operation: 37-1=36, Resulting Numbers: [8, 60, 36] Generated Node #2: [8, 60, 36] from Operation: 37-1=36 Current State: 16:[8, 60, 36], Operations: ['37-1=36'] Exploring Operation: 60-8=52, Resulting Numbers: [36, 52] Generated Node #3: [36, 52] from Operation: 60-8=52 Current State: 16:[36, 52], Operations: ['37-1=36', '60-8=52'] Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[1, 37, 8, 60], Operations: [] Exploring Operation: 60-1=59, Resulting Numbers: [37, 8, 59] Generated Node #0,0: 16:[37, 8, 59] Operation: 60-1=59 Exploring Operation: 37-1=36, Resulting Numbers: [8, 60, 36] Generated Node #0,1: 16:[8, 60, 36] Operation: 37-1=36 Exploring Operation: 60-8=52, Resulting Numbers: [1, 37, 52] Generated Node #0,2: 16:[1, 37, 52] Operation: 60-8=52 Exploring Operation: 60-37=23, Resulting Numbers: [1, 8, 23] Generated Node #0,3: 16:[1, 8, 23] Operation: 60-37=23 Exploring Operation: 37-8=29, Resulting Numbers: [1, 60, 29] Generated Node #0,4: 16:[1, 60, 29] Operation: 37-8=29 Moving to Node #0,3 Current State: 16:[1, 8, 23], Operations: ['60-37=23'] Exploring Operation: 1*23=23, Resulting Numbers: [8, 23] Generated Node #0,3,0: 16:[8, 23] Operation: 1*23=23 Exploring Operation: 1*8=8, Resulting Numbers: [23, 8] Generated Node #0,3,1: 16:[23, 8] Operation: 1*8=8 Exploring Operation: 23-1=22, Resulting Numbers: [8, 22] Generated Node #0,3,2: 16:[8, 22] Operation: 23-1=22 Exploring Operation: 8/1=8, Resulting Numbers: [23, 8] Generated Node #0,3,3: 16:[23, 8] Operation: 8/1=8 Exploring Operation: 23-8=15, Resulting Numbers: [1, 15] Generated Node #0,3,4: 16:[1, 15] Operation: 23-8=15 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 16:[1, 15], Operations: ['60-37=23', '23-8=15'] Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[1, 37, 8, 60], Operations: [] Exploring Operation: 60-37=23, Resulting Numbers: [1, 8, 23] Generated Node #0,3: 16:[1, 8, 23] Operation: 60-37=23 Moving to Node #0,3 Current State: 16:[1, 8, 23], Operations: ['60-37=23'] Exploring Operation: 23-8=15, Resulting Numbers: [1, 15] Generated Node #0,3,4: 16:[1, 15] Operation: 23-8=15 Moving to Node #0,3,4 Current State: 16:[1, 15], Operations: ['60-37=23', '23-8=15'] Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 28, 93, 96, 5 ]
83
[ "93-28=65", "65/5=13", "96-13=83" ]
Current State: 83:[28, 93, 96, 5], Operations: [] Exploring Operation: 93-28=65, Resulting Numbers: [96, 5, 65] Generated Node #2: [96, 5, 65] from Operation: 93-28=65 Current State: 83:[96, 5, 65], Operations: ['93-28=65'] Exploring Operation: 65/5=13, Resulting Numbers: [96, 13] Generated Node #3: [96, 13] from Operation: 65/5=13 Current State: 83:[96, 13], Operations: ['93-28=65', '65/5=13'] Exploring Operation: 96-13=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[28, 93, 96, 5], Operations: [] Exploring Operation: 28+5=33, Resulting Numbers: [93, 96, 33] Generated Node #0,0: 83:[93, 96, 33] Operation: 28+5=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[93, 96, 33], Operations: ['28+5=33'] Exploring Operation: 96-33=63, Resulting Numbers: [93, 63] Generated Node #0,0,0: 83:[93, 63] Operation: 96-33=63 Moving to Node #0,0,0 Current State: 83:[93, 63], Operations: ['28+5=33', '96-33=63'] Exploring Operation: 93-63=30, Resulting Numbers: [30] 30,83 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
[ 80, 4, 83, 9 ]
31
[ "83-80=3", "9*3=27", "4+27=31" ]
Current State: 31:[80, 4, 83, 9], Operations: [] Exploring Operation: 83-80=3, Resulting Numbers: [4, 9, 3] Generated Node #2: [4, 9, 3] from Operation: 83-80=3 Current State: 31:[4, 9, 3], Operations: ['83-80=3'] Exploring Operation: 9*3=27, Resulting Numbers: [4, 27] Generated Node #3: [4, 27] from Operation: 9*3=27 Current State: 31:[4, 27], Operations: ['83-80=3', '9*3=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[80, 4, 83, 9], Operations: [] Exploring Operation: 80/4=20, Resulting Numbers: [83, 9, 20] Generated Node #0,0: 31:[83, 9, 20] Operation: 80/4=20 Exploring Operation: 83-80=3, Resulting Numbers: [4, 9, 3] Generated Node #0,1: 31:[4, 9, 3] Operation: 83-80=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[4, 9, 3], Operations: ['83-80=3'] Exploring Operation: 4*9=36, Resulting Numbers: [3, 36] Generated Node #0,1,0: 31:[3, 36] Operation: 4*9=36 Exploring Operation: 9*3=27, Resulting Numbers: [4, 27] Generated Node #0,1,1: 31:[4, 27] Operation: 9*3=27 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[4, 27], Operations: ['83-80=3', '9*3=27'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,31 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[80, 4, 83, 9], Operations: [] Exploring Operation: 83-80=3, Resulting Numbers: [4, 9, 3] Generated Node #0,1: 31:[4, 9, 3] Operation: 83-80=3 Moving to Node #0,1 Current State: 31:[4, 9, 3], Operations: ['83-80=3'] Exploring Operation: 9*3=27, Resulting Numbers: [4, 27] Generated Node #0,1,1: 31:[4, 27] Operation: 9*3=27 Moving to Node #0,1,1 Current State: 31:[4, 27], Operations: ['83-80=3', '9*3=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 6, 32, 37, 35 ]
13
[ "32-6=26", "37-35=2", "26/2=13" ]
Current State: 13:[6, 32, 37, 35], Operations: [] Exploring Operation: 32-6=26, Resulting Numbers: [37, 35, 26] Generated Node #2: [37, 35, 26] from Operation: 32-6=26 Current State: 13:[37, 35, 26], Operations: ['32-6=26'] Exploring Operation: 37-35=2, Resulting Numbers: [26, 2] Generated Node #3: [26, 2] from Operation: 37-35=2 Current State: 13:[26, 2], Operations: ['32-6=26', '37-35=2'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[6, 32, 37, 35], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [6, 32, 2] Generated Node #0,0: 13:[6, 32, 2] Operation: 37-35=2 Exploring Operation: 37-32=5, Resulting Numbers: [6, 35, 5] Generated Node #0,1: 13:[6, 35, 5] Operation: 37-32=5 Exploring Operation: 35-32=3, Resulting Numbers: [6, 37, 3] Generated Node #0,2: 13:[6, 37, 3] Operation: 35-32=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[6, 32, 2], Operations: ['37-35=2'] Exploring Operation: 6*2=12, Resulting Numbers: [32, 12] Generated Node #0,0,0: 13:[32, 12] Operation: 6*2=12 Exploring Operation: 32/2=16, Resulting Numbers: [6, 16] Generated Node #0,0,1: 13:[6, 16] Operation: 32/2=16 Exploring Operation: 32-6=26, Resulting Numbers: [2, 26] Generated Node #0,0,2: 13:[2, 26] Operation: 32-6=26 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 13:[6, 16], Operations: ['37-35=2', '32/2=16'] Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,13 unequal: No Solution Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,13 unequal: No Solution No 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: 13:[32, 12], Operations: ['37-35=2', '6*2=12'] Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,13 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,13 unequal: No Solution No 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: 13:[2, 26], Operations: ['37-35=2', '32-6=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[6, 32, 37, 35], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [6, 32, 2] Generated Node #0,0: 13:[6, 32, 2] Operation: 37-35=2 Moving to Node #0,0 Current State: 13:[6, 32, 2], Operations: ['37-35=2'] Exploring Operation: 32-6=26, Resulting Numbers: [2, 26] Generated Node #0,0,2: 13:[2, 26] Operation: 32-6=26 Moving to Node #0,0,2 Current State: 13:[2, 26], Operations: ['37-35=2', '32-6=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 22, 17, 3, 37 ]
12
[ "22*3=66", "17+37=54", "66-54=12" ]
Current State: 12:[22, 17, 3, 37], Operations: [] Exploring Operation: 22*3=66, Resulting Numbers: [17, 37, 66] Generated Node #2: [17, 37, 66] from Operation: 22*3=66 Current State: 12:[17, 37, 66], Operations: ['22*3=66'] Exploring Operation: 17+37=54, Resulting Numbers: [66, 54] Generated Node #3: [66, 54] from Operation: 17+37=54 Current State: 12:[66, 54], Operations: ['22*3=66', '17+37=54'] Exploring Operation: 66-54=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[22, 17, 3, 37], Operations: [] Exploring Operation: 37-22=15, Resulting Numbers: [17, 3, 15] Generated Node #0,0: 12:[17, 3, 15] Operation: 37-22=15 Exploring Operation: 37-17=20, Resulting Numbers: [22, 3, 20] Generated Node #0,1: 12:[22, 3, 20] Operation: 37-17=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[17, 3, 15], Operations: ['37-22=15'] Exploring Operation: 17-15=2, Resulting Numbers: [3, 2] Generated Node #0,0,0: 12:[3, 2] Operation: 17-15=2 Exploring Operation: 17-3=14, Resulting Numbers: [15, 14] Generated Node #0,0,1: 12:[15, 14] Operation: 17-3=14 Moving to Node #0,0,0 Current State: 12:[3, 2], Operations: ['37-22=15', '17-15=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[15, 14], Operations: ['37-22=15', '17-3=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,12 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[22, 3, 20], Operations: ['37-17=20'] Exploring Operation: 22-3=19, Resulting Numbers: [20, 19] Generated Node #0,1,0: 12:[20, 19] Operation: 22-3=19 Exploring Operation: 22-20=2, Resulting Numbers: [3, 2] Generated Node #0,1,1: 12:[3, 2] Operation: 22-20=2 Moving to Node #0,1,1 Current State: 12:[3, 2], Operations: ['37-17=20', '22-20=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[20, 19], Operations: ['37-17=20', '22-3=19'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 43, 14, 94, 42 ]
23
[ "43-14=29", "94-42=52", "52-29=23" ]
Current State: 23:[43, 14, 94, 42], Operations: [] Exploring Operation: 43-14=29, Resulting Numbers: [94, 42, 29] Generated Node #2: [94, 42, 29] from Operation: 43-14=29 Current State: 23:[94, 42, 29], Operations: ['43-14=29'] Exploring Operation: 94-42=52, Resulting Numbers: [29, 52] Generated Node #3: [29, 52] from Operation: 94-42=52 Current State: 23:[29, 52], Operations: ['43-14=29', '94-42=52'] Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[43, 14, 94, 42], Operations: [] Exploring Operation: 94-42=52, Resulting Numbers: [43, 14, 52] Generated Node #0,0: 23:[43, 14, 52] Operation: 94-42=52 Exploring Operation: 94-43=51, Resulting Numbers: [14, 42, 51] Generated Node #0,1: 23:[14, 42, 51] Operation: 94-43=51 Exploring Operation: 43-14=29, Resulting Numbers: [94, 42, 29] Generated Node #0,2: 23:[94, 42, 29] Operation: 43-14=29 Moving to Node #0,1 Current State: 23:[14, 42, 51], Operations: ['94-43=51'] Exploring Operation: 51-14=37, Resulting Numbers: [42, 37] Generated Node #0,1,0: 23:[42, 37] Operation: 51-14=37 Exploring Operation: 42-14=28, Resulting Numbers: [51, 28] Generated Node #0,1,1: 23:[51, 28] Operation: 42-14=28 Exploring Operation: 51-42=9, Resulting Numbers: [14, 9] Generated Node #0,1,2: 23:[14, 9] Operation: 51-42=9 Moving to Node #0,0 Current State: 23:[43, 14, 52], Operations: ['94-42=52'] Exploring Operation: 52-14=38, Resulting Numbers: [43, 38] Generated Node #0,0,0: 23:[43, 38] Operation: 52-14=38 Exploring Operation: 43-14=29, Resulting Numbers: [52, 29] Generated Node #0,0,1: 23:[52, 29] Operation: 43-14=29 Exploring Operation: 52-43=9, Resulting Numbers: [14, 9] Generated Node #0,0,2: 23:[14, 9] Operation: 52-43=9 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 23:[14, 9], Operations: ['94-42=52', '52-43=9'] Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,23 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[43, 14, 94, 42], Operations: [] Exploring Operation: 94-42=52, Resulting Numbers: [43, 14, 52] Generated Node #0,0: 23:[43, 14, 52] Operation: 94-42=52 Moving to Node #0,0 Current State: 23:[43, 14, 52], Operations: ['94-42=52'] Exploring Operation: 52-43=9, Resulting Numbers: [14, 9] Generated Node #0,0,2: 23:[14, 9] Operation: 52-43=9 Moving to Node #0,0,2 Current State: 23:[14, 9], Operations: ['94-42=52', '52-43=9'] Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 11, 63, 70, 82 ]
64
[ "63-11=52", "82-70=12", "52+12=64" ]
Current State: 64:[11, 63, 70, 82], Operations: [] Exploring Operation: 63-11=52, Resulting Numbers: [70, 82, 52] Generated Node #2: [70, 82, 52] from Operation: 63-11=52 Current State: 64:[70, 82, 52], Operations: ['63-11=52'] Exploring Operation: 82-70=12, Resulting Numbers: [52, 12] Generated Node #3: [52, 12] from Operation: 82-70=12 Current State: 64:[52, 12], Operations: ['63-11=52', '82-70=12'] Exploring Operation: 52+12=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[11, 63, 70, 82], Operations: [] Exploring Operation: 82-11=71, Resulting Numbers: [63, 70, 71] Generated Node #0,0: 64:[63, 70, 71] Operation: 82-11=71 Exploring Operation: 70-63=7, Resulting Numbers: [11, 82, 7] Generated Node #0,1: 64:[11, 82, 7] Operation: 70-63=7 Exploring Operation: 82-63=19, Resulting Numbers: [11, 70, 19] Generated Node #0,2: 64:[11, 70, 19] Operation: 82-63=19 Exploring Operation: 82-70=12, Resulting Numbers: [11, 63, 12] Generated Node #0,3: 64:[11, 63, 12] Operation: 82-70=12 Moving to Node #0,3 Current State: 64:[11, 63, 12], Operations: ['82-70=12'] Exploring Operation: 63+12=75, Resulting Numbers: [11, 75] Generated Node #0,3,0: 64:[11, 75] Operation: 63+12=75 Exploring Operation: 12-11=1, Resulting Numbers: [63, 1] Generated Node #0,3,1: 64:[63, 1] Operation: 12-11=1 Exploring Operation: 11+12=23, Resulting Numbers: [63, 23] Generated Node #0,3,2: 64:[63, 23] Operation: 11+12=23 Exploring Operation: 11+63=74, Resulting Numbers: [12, 74] Generated Node #0,3,3: 64:[12, 74] Operation: 11+63=74 Moving to Node #0,2 Current State: 64:[11, 70, 19], Operations: ['82-63=19'] Exploring Operation: 11+19=30, Resulting Numbers: [70, 30] Generated Node #0,2,0: 64:[70, 30] Operation: 11+19=30 Exploring Operation: 70-19=51, Resulting Numbers: [11, 51] Generated Node #0,2,1: 64:[11, 51] Operation: 70-19=51 Exploring Operation: 19-11=8, Resulting Numbers: [70, 8] Generated Node #0,2,2: 64:[70, 8] Operation: 19-11=8 Exploring Operation: 70-11=59, Resulting Numbers: [19, 59] Generated Node #0,2,3: 64:[19, 59] Operation: 70-11=59 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 64:[70, 8], Operations: ['82-63=19', '19-11=8'] Exploring Operation: 70+8=78, Resulting Numbers: [78] 78,64 unequal: No Solution Exploring Operation: 70*8=560, Resulting Numbers: [560] 560,64 unequal: No Solution Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 64:[70, 30], Operations: ['82-63=19', '11+19=30'] Exploring Operation: 70*30=2100, Resulting Numbers: [2100] 2100,64 unequal: No Solution Exploring Operation: 70+30=100, Resulting Numbers: [100] 100,64 unequal: No Solution Exploring Operation: 70-30=40, Resulting Numbers: [40] 40,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 64:[19, 59], Operations: ['82-63=19', '70-11=59'] Exploring Operation: 59-19=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 19*59=1121, Resulting Numbers: [1121] 1121,64 unequal: No Solution Exploring Operation: 19+59=78, Resulting Numbers: [78] 78,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 64:[11, 51], Operations: ['82-63=19', '70-19=51'] Exploring Operation: 11+51=62, Resulting Numbers: [62] 62,64 unequal: No Solution Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 11*51=561, Resulting Numbers: [561] 561,64 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: 64:[63, 70, 71], Operations: ['82-11=71'] Exploring Operation: 70-63=7, Resulting Numbers: [71, 7] Generated Node #0,0,0: 64:[71, 7] Operation: 70-63=7 Exploring Operation: 71-63=8, Resulting Numbers: [70, 8] Generated Node #0,0,1: 64:[70, 8] Operation: 71-63=8 Exploring Operation: 71-70=1, Resulting Numbers: [63, 1] Generated Node #0,0,2: 64:[63, 1] Operation: 71-70=1 Exploring Operation: 63+70=133, Resulting Numbers: [71, 133] Generated Node #0,0,3: 64:[71, 133] Operation: 63+70=133 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[63, 1], Operations: ['82-11=71', '71-70=1'] Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 63+1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[11, 63, 70, 82], Operations: [] Exploring Operation: 82-11=71, Resulting Numbers: [63, 70, 71] Generated Node #0,0: 64:[63, 70, 71] Operation: 82-11=71 Moving to Node #0,0 Current State: 64:[63, 70, 71], Operations: ['82-11=71'] Exploring Operation: 71-70=1, Resulting Numbers: [63, 1] Generated Node #0,0,2: 64:[63, 1] Operation: 71-70=1 Moving to Node #0,0,2 Current State: 64:[63, 1], Operations: ['82-11=71', '71-70=1'] Exploring Operation: 63+1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
mult_heuristic
[ 36, 19, 4, 61 ]
12
[ "36*19=684", "61-4=57", "684/57=12" ]
Current State: 12:[36, 19, 4, 61], Operations: [] Exploring Operation: 36*19=684, Resulting Numbers: [4, 61, 684] Generated Node #2: [4, 61, 684] from Operation: 36*19=684 Current State: 12:[4, 61, 684], Operations: ['36*19=684'] Exploring Operation: 61-4=57, Resulting Numbers: [684, 57] Generated Node #3: [684, 57] from Operation: 61-4=57 Current State: 12:[684, 57], Operations: ['36*19=684', '61-4=57'] Exploring Operation: 684/57=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[36, 19, 4, 61], Operations: [] Exploring Operation: 36-19=17, Resulting Numbers: [4, 61, 17] Generated Node #0,0: 12:[4, 61, 17] Operation: 36-19=17 Exploring Operation: 61-36=25, Resulting Numbers: [19, 4, 25] Generated Node #0,1: 12:[19, 4, 25] Operation: 61-36=25 Moving to Node #0,1 Current State: 12:[19, 4, 25], Operations: ['61-36=25'] Exploring Operation: 25-19=6, Resulting Numbers: [4, 6] Generated Node #0,1,0: 12:[4, 6] Operation: 25-19=6 Exploring Operation: 19-4=15, Resulting Numbers: [25, 15] Generated Node #0,1,1: 12:[25, 15] Operation: 19-4=15 Moving to Node #0,0 Current State: 12:[4, 61, 17], Operations: ['36-19=17'] Exploring Operation: 61-17=44, Resulting Numbers: [4, 44] Generated Node #0,0,0: 12:[4, 44] Operation: 61-17=44 Exploring Operation: 61-4=57, Resulting Numbers: [17, 57] Generated Node #0,0,1: 12:[17, 57] Operation: 61-4=57 Moving to Node #0,1,0 Current State: 12:[4, 6], Operations: ['61-36=25', '25-19=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[25, 15], Operations: ['61-36=25', '19-4=15'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,12 unequal: No Solution Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[4, 44], Operations: ['36-19=17', '61-17=44'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[17, 57], Operations: ['36-19=17', '61-4=57'] Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,12 unequal: No Solution Exploring Operation: 17+57=74, Resulting Numbers: [74] 74,12 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 78, 69, 23, 99 ]
45
[ "69/23=3", "99/3=33", "78-33=45" ]
Current State: 45:[78, 69, 23, 99], Operations: [] Exploring Operation: 69/23=3, Resulting Numbers: [78, 99, 3] Generated Node #2: [78, 99, 3] from Operation: 69/23=3 Current State: 45:[78, 99, 3], Operations: ['69/23=3'] Exploring Operation: 99/3=33, Resulting Numbers: [78, 33] Generated Node #3: [78, 33] from Operation: 99/3=33 Current State: 45:[78, 33], Operations: ['69/23=3', '99/3=33'] Exploring Operation: 78-33=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[78, 69, 23, 99], Operations: [] Exploring Operation: 99-78=21, Resulting Numbers: [69, 23, 21] Generated Node #0,0: 45:[69, 23, 21] Operation: 99-78=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[69, 23, 21], Operations: ['99-78=21'] Exploring Operation: 69/23=3, Resulting Numbers: [21, 3] Generated Node #0,0,0: 45:[21, 3] Operation: 69/23=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[21, 3], Operations: ['99-78=21', '69/23=3'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 59, 96, 33, 68 ]
54
[ "59+96=155", "33+68=101", "155-101=54" ]
Current State: 54:[59, 96, 33, 68], Operations: [] Exploring Operation: 59+96=155, Resulting Numbers: [33, 68, 155] Generated Node #2: [33, 68, 155] from Operation: 59+96=155 Current State: 54:[33, 68, 155], Operations: ['59+96=155'] Exploring Operation: 33+68=101, Resulting Numbers: [155, 101] Generated Node #3: [155, 101] from Operation: 33+68=101 Current State: 54:[155, 101], Operations: ['59+96=155', '33+68=101'] Exploring Operation: 155-101=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[59, 96, 33, 68], Operations: [] Exploring Operation: 96-68=28, Resulting Numbers: [59, 33, 28] Generated Node #0,0: 54:[59, 33, 28] Operation: 96-68=28 Exploring Operation: 96-33=63, Resulting Numbers: [59, 68, 63] Generated Node #0,1: 54:[59, 68, 63] Operation: 96-33=63 Moving to Node #0,0 Current State: 54:[59, 33, 28], Operations: ['96-68=28'] Exploring Operation: 59-33=26, Resulting Numbers: [28, 26] Generated Node #0,0,0: 54:[28, 26] Operation: 59-33=26 Exploring Operation: 33-28=5, Resulting Numbers: [59, 5] Generated Node #0,0,1: 54:[59, 5] Operation: 33-28=5 Moving to Node #0,1 Current State: 54:[59, 68, 63], Operations: ['96-33=63'] Exploring Operation: 68-63=5, Resulting Numbers: [59, 5] Generated Node #0,1,0: 54:[59, 5] Operation: 68-63=5 Exploring Operation: 68-59=9, Resulting Numbers: [63, 9] Generated Node #0,1,1: 54:[63, 9] Operation: 68-59=9 Moving to Node #0,0,0 Current State: 54:[28, 26], Operations: ['96-68=28', '59-33=26'] Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[59, 96, 33, 68], Operations: [] Exploring Operation: 96-68=28, Resulting Numbers: [59, 33, 28] Generated Node #0,0: 54:[59, 33, 28] Operation: 96-68=28 Moving to Node #0,0 Current State: 54:[59, 33, 28], Operations: ['96-68=28'] Exploring Operation: 59-33=26, Resulting Numbers: [28, 26] Generated Node #0,0,0: 54:[28, 26] Operation: 59-33=26 Moving to Node #0,0,0 Current State: 54:[28, 26], Operations: ['96-68=28', '59-33=26'] Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 66, 6, 53, 33 ]
92
[ "66+6=72", "53-33=20", "72+20=92" ]
Current State: 92:[66, 6, 53, 33], Operations: [] Exploring Operation: 66+6=72, Resulting Numbers: [53, 33, 72] Generated Node #2: [53, 33, 72] from Operation: 66+6=72 Current State: 92:[53, 33, 72], Operations: ['66+6=72'] Exploring Operation: 53-33=20, Resulting Numbers: [72, 20] Generated Node #3: [72, 20] from Operation: 53-33=20 Current State: 92:[72, 20], Operations: ['66+6=72', '53-33=20'] Exploring Operation: 72+20=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[66, 6, 53, 33], Operations: [] Exploring Operation: 66/33=2, Resulting Numbers: [6, 53, 2] Generated Node #0,0: 92:[6, 53, 2] Operation: 66/33=2 Exploring Operation: 66+33=99, Resulting Numbers: [6, 53, 99] Generated Node #0,1: 92:[6, 53, 99] Operation: 66+33=99 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[6, 53, 2], Operations: ['66/33=2'] Exploring Operation: 53-6=47, Resulting Numbers: [2, 47] Generated Node #0,0,0: 92:[2, 47] Operation: 53-6=47 Exploring Operation: 6-2=4, Resulting Numbers: [53, 4] Generated Node #0,0,1: 92:[53, 4] Operation: 6-2=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[2, 47], Operations: ['66/33=2', '53-6=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,92 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[53, 4], Operations: ['66/33=2', '6-2=4'] Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,92 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,92 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: 92:[6, 53, 99], Operations: ['66+33=99'] Exploring Operation: 99-53=46, Resulting Numbers: [6, 46] Generated Node #0,1,0: 92:[6, 46] Operation: 99-53=46 Exploring Operation: 53-6=47, Resulting Numbers: [99, 47] Generated Node #0,1,1: 92:[99, 47] Operation: 53-6=47 Moving to Node #0,1,0 Current State: 92:[6, 46], Operations: ['66+33=99', '99-53=46'] Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 6+46=52, Resulting Numbers: [52] 52,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[99, 47], Operations: ['66+33=99', '53-6=47'] Exploring Operation: 99-47=52, Resulting Numbers: [52] 52,92 unequal: No Solution Exploring Operation: 99+47=146, Resulting Numbers: [146] 146,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 89, 92, 63, 17 ]
49
[ "92-89=3", "63-17=46", "3+46=49" ]
Current State: 49:[89, 92, 63, 17], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [63, 17, 3] Generated Node #2: [63, 17, 3] from Operation: 92-89=3 Current State: 49:[63, 17, 3], Operations: ['92-89=3'] Exploring Operation: 63-17=46, Resulting Numbers: [3, 46] Generated Node #3: [3, 46] from Operation: 63-17=46 Current State: 49:[3, 46], Operations: ['92-89=3', '63-17=46'] Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[89, 92, 63, 17], Operations: [] Exploring Operation: 89-17=72, Resulting Numbers: [92, 63, 72] Generated Node #0,0: 49:[92, 63, 72] Operation: 89-17=72 Exploring Operation: 92-63=29, Resulting Numbers: [89, 17, 29] Generated Node #0,1: 49:[89, 17, 29] Operation: 92-63=29 Exploring Operation: 89-63=26, Resulting Numbers: [92, 17, 26] Generated Node #0,2: 49:[92, 17, 26] Operation: 89-63=26 Exploring Operation: 92-89=3, Resulting Numbers: [63, 17, 3] Generated Node #0,3: 49:[63, 17, 3] Operation: 92-89=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[63, 17, 3], Operations: ['92-89=3'] Exploring Operation: 17-3=14, Resulting Numbers: [63, 14] Generated Node #0,3,0: 49:[63, 14] Operation: 17-3=14 Exploring Operation: 63-17=46, Resulting Numbers: [3, 46] Generated Node #0,3,1: 49:[3, 46] Operation: 63-17=46 Exploring Operation: 17*3=51, Resulting Numbers: [63, 51] Generated Node #0,3,2: 49:[63, 51] Operation: 17*3=51 Exploring Operation: 63-3=60, Resulting Numbers: [17, 60] Generated Node #0,3,3: 49:[17, 60] Operation: 63-3=60 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 49:[3, 46], Operations: ['92-89=3', '63-17=46'] Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[89, 92, 63, 17], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [63, 17, 3] Generated Node #0,3: 49:[63, 17, 3] Operation: 92-89=3 Moving to Node #0,3 Current State: 49:[63, 17, 3], Operations: ['92-89=3'] Exploring Operation: 63-17=46, Resulting Numbers: [3, 46] Generated Node #0,3,1: 49:[3, 46] Operation: 63-17=46 Moving to Node #0,3,1 Current State: 49:[3, 46], Operations: ['92-89=3', '63-17=46'] Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 86, 82, 10, 60 ]
98
[ "86+82=168", "10+60=70", "168-70=98" ]
Current State: 98:[86, 82, 10, 60], Operations: [] Exploring Operation: 86+82=168, Resulting Numbers: [10, 60, 168] Generated Node #2: [10, 60, 168] from Operation: 86+82=168 Current State: 98:[10, 60, 168], Operations: ['86+82=168'] Exploring Operation: 10+60=70, Resulting Numbers: [168, 70] Generated Node #3: [168, 70] from Operation: 10+60=70 Current State: 98:[168, 70], Operations: ['86+82=168', '10+60=70'] Exploring Operation: 168-70=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[86, 82, 10, 60], Operations: [] Exploring Operation: 86-82=4, Resulting Numbers: [10, 60, 4] Generated Node #0,0: 98:[10, 60, 4] Operation: 86-82=4 Exploring Operation: 82-60=22, Resulting Numbers: [86, 10, 22] Generated Node #0,1: 98:[86, 10, 22] Operation: 82-60=22 Moving to Node #0,0 Current State: 98:[10, 60, 4], Operations: ['86-82=4'] Exploring Operation: 60-10=50, Resulting Numbers: [4, 50] Generated Node #0,0,0: 98:[4, 50] Operation: 60-10=50 Exploring Operation: 60/10=6, Resulting Numbers: [4, 6] Generated Node #0,0,1: 98:[4, 6] Operation: 60/10=6 Moving to Node #0,1 Current State: 98:[86, 10, 22], Operations: ['82-60=22'] Exploring Operation: 86+22=108, Resulting Numbers: [10, 108] Generated Node #0,1,0: 98:[10, 108] Operation: 86+22=108 Exploring Operation: 86+10=96, Resulting Numbers: [22, 96] Generated Node #0,1,1: 98:[22, 96] Operation: 86+10=96 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 98:[22, 96], Operations: ['82-60=22', '86+10=96'] Exploring Operation: 22+96=118, Resulting Numbers: [118] 118,98 unequal: No Solution Exploring Operation: 96-22=74, Resulting Numbers: [74] 74,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 98:[10, 108], Operations: ['82-60=22', '86+22=108'] Exploring Operation: 10+108=118, Resulting Numbers: [118] 118,98 unequal: No Solution Exploring Operation: 108-10=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[86, 82, 10, 60], Operations: [] Exploring Operation: 82-60=22, Resulting Numbers: [86, 10, 22] Generated Node #0,1: 98:[86, 10, 22] Operation: 82-60=22 Moving to Node #0,1 Current State: 98:[86, 10, 22], Operations: ['82-60=22'] Exploring Operation: 86+22=108, Resulting Numbers: [10, 108] Generated Node #0,1,0: 98:[10, 108] Operation: 86+22=108 Moving to Node #0,1,0 Current State: 98:[10, 108], Operations: ['82-60=22', '86+22=108'] Exploring Operation: 108-10=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_2
mult_heuristic
[ 8, 99, 37, 75 ]
69
[ "8+99=107", "75-37=38", "107-38=69" ]
Current State: 69:[8, 99, 37, 75], Operations: [] Exploring Operation: 8+99=107, Resulting Numbers: [37, 75, 107] Generated Node #2: [37, 75, 107] from Operation: 8+99=107 Current State: 69:[37, 75, 107], Operations: ['8+99=107'] Exploring Operation: 75-37=38, Resulting Numbers: [107, 38] Generated Node #3: [107, 38] from Operation: 75-37=38 Current State: 69:[107, 38], Operations: ['8+99=107', '75-37=38'] Exploring Operation: 107-38=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[8, 99, 37, 75], Operations: [] Exploring Operation: 99-37=62, Resulting Numbers: [8, 75, 62] Generated Node #0,0: 69:[8, 75, 62] Operation: 99-37=62 Moving to Node #0,0 Current State: 69:[8, 75, 62], Operations: ['99-37=62'] Exploring Operation: 8+62=70, Resulting Numbers: [75, 70] Generated Node #0,0,0: 69:[75, 70] Operation: 8+62=70 Moving to Node #0,0,0 Current State: 69:[75, 70], Operations: ['99-37=62', '8+62=70'] Exploring Operation: 75-70=5, Resulting Numbers: [5] 5,69 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 79, 29, 39, 80 ]
69
[ "79-29=50", "39+80=119", "119-50=69" ]
Current State: 69:[79, 29, 39, 80], Operations: [] Exploring Operation: 79-29=50, Resulting Numbers: [39, 80, 50] Generated Node #2: [39, 80, 50] from Operation: 79-29=50 Current State: 69:[39, 80, 50], Operations: ['79-29=50'] Exploring Operation: 39+80=119, Resulting Numbers: [50, 119] Generated Node #3: [50, 119] from Operation: 39+80=119 Current State: 69:[50, 119], Operations: ['79-29=50', '39+80=119'] Exploring Operation: 119-50=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[79, 29, 39, 80], Operations: [] Exploring Operation: 79-39=40, Resulting Numbers: [29, 80, 40] Generated Node #0,0: 69:[29, 80, 40] Operation: 79-39=40 Exploring Operation: 80-79=1, Resulting Numbers: [29, 39, 1] Generated Node #0,1: 69:[29, 39, 1] Operation: 80-79=1 Exploring Operation: 29+39=68, Resulting Numbers: [79, 80, 68] Generated Node #0,2: 69:[79, 80, 68] Operation: 29+39=68 Exploring Operation: 39-29=10, Resulting Numbers: [79, 80, 10] Generated Node #0,3: 69:[79, 80, 10] Operation: 39-29=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[79, 80, 68], Operations: ['29+39=68'] Exploring Operation: 80-79=1, Resulting Numbers: [68, 1] Generated Node #0,2,0: 69:[68, 1] Operation: 80-79=1 Exploring Operation: 79+68=147, Resulting Numbers: [80, 147] Generated Node #0,2,1: 69:[80, 147] Operation: 79+68=147 Exploring Operation: 80-68=12, Resulting Numbers: [79, 12] Generated Node #0,2,2: 69:[79, 12] Operation: 80-68=12 Exploring Operation: 79-68=11, Resulting Numbers: [80, 11] Generated Node #0,2,3: 69:[80, 11] Operation: 79-68=11 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 69:[68, 1], Operations: ['29+39=68', '80-79=1'] Exploring Operation: 68-1=67, Resulting Numbers: [67] 67,69 unequal: No Solution Exploring Operation: 68+1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[79, 29, 39, 80], Operations: [] Exploring Operation: 29+39=68, Resulting Numbers: [79, 80, 68] Generated Node #0,2: 69:[79, 80, 68] Operation: 29+39=68 Moving to Node #0,2 Current State: 69:[79, 80, 68], Operations: ['29+39=68'] Exploring Operation: 80-79=1, Resulting Numbers: [68, 1] Generated Node #0,2,0: 69:[68, 1] Operation: 80-79=1 Moving to Node #0,2,0 Current State: 69:[68, 1], Operations: ['29+39=68', '80-79=1'] Exploring Operation: 68+1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 48, 5, 61, 21 ]
93
[ "48+5=53", "61-21=40", "53+40=93" ]
Current State: 93:[48, 5, 61, 21], Operations: [] Exploring Operation: 48+5=53, Resulting Numbers: [61, 21, 53] Generated Node #2: [61, 21, 53] from Operation: 48+5=53 Current State: 93:[61, 21, 53], Operations: ['48+5=53'] Exploring Operation: 61-21=40, Resulting Numbers: [53, 40] Generated Node #3: [53, 40] from Operation: 61-21=40 Current State: 93:[53, 40], Operations: ['48+5=53', '61-21=40'] Exploring Operation: 53+40=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[48, 5, 61, 21], Operations: [] Exploring Operation: 61-48=13, Resulting Numbers: [5, 21, 13] Generated Node #0,0: 93:[5, 21, 13] Operation: 61-48=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[5, 21, 13], Operations: ['61-48=13'] Exploring Operation: 21+13=34, Resulting Numbers: [5, 34] Generated Node #0,0,0: 93:[5, 34] Operation: 21+13=34 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[5, 34], Operations: ['61-48=13', '21+13=34'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,93 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
[ 50, 17, 40, 7 ]
29
[ "50+40=90", "17*7=119", "119-90=29" ]
Current State: 29:[50, 17, 40, 7], Operations: [] Exploring Operation: 50+40=90, Resulting Numbers: [17, 7, 90] Generated Node #2: [17, 7, 90] from Operation: 50+40=90 Current State: 29:[17, 7, 90], Operations: ['50+40=90'] Exploring Operation: 17*7=119, Resulting Numbers: [90, 119] Generated Node #3: [90, 119] from Operation: 17*7=119 Current State: 29:[90, 119], Operations: ['50+40=90', '17*7=119'] Exploring Operation: 119-90=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[50, 17, 40, 7], Operations: [] Exploring Operation: 50-17=33, Resulting Numbers: [40, 7, 33] Generated Node #0,0: 29:[40, 7, 33] Operation: 50-17=33 Moving to Node #0,0 Current State: 29:[40, 7, 33], Operations: ['50-17=33'] Exploring Operation: 40-7=33, Resulting Numbers: [33, 33] Generated Node #0,0,0: 29:[33, 33] Operation: 40-7=33 Moving to Node #0,0,0 Current State: 29:[33, 33], Operations: ['50-17=33', '40-7=33'] Exploring Operation: 33/33=1, Resulting Numbers: [1] 1,29 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 81, 20, 20, 90 ]
10
[ "90-81=9", "20/20=1", "9+1=10" ]
Current State: 10:[81, 20, 20, 90], Operations: [] Exploring Operation: 90-81=9, Resulting Numbers: [20, 20, 9] Generated Node #2: [20, 20, 9] from Operation: 90-81=9 Current State: 10:[20, 20, 9], Operations: ['90-81=9'] Exploring Operation: 20/20=1, Resulting Numbers: [9, 1] Generated Node #3: [9, 1] from Operation: 20/20=1 Current State: 10:[9, 1], Operations: ['90-81=9', '20/20=1'] Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[81, 20, 20, 90], Operations: [] Exploring Operation: 90-81=9, Resulting Numbers: [20, 20, 9] Generated Node #0,0: 10:[20, 20, 9] Operation: 90-81=9 Exploring Operation: 81-20=61, Resulting Numbers: [20, 90, 61] Generated Node #0,1: 10:[20, 90, 61] Operation: 81-20=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[20, 20, 9], Operations: ['90-81=9'] Exploring Operation: 20-20=0, Resulting Numbers: [9, 0] Generated Node #0,0,0: 10:[9, 0] Operation: 20-20=0 Exploring Operation: 20/20=1, Resulting Numbers: [9, 1] Generated Node #0,0,1: 10:[9, 1] Operation: 20/20=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 10:[9, 1], Operations: ['90-81=9', '20/20=1'] Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[81, 20, 20, 90], Operations: [] Exploring Operation: 90-81=9, Resulting Numbers: [20, 20, 9] Generated Node #0,0: 10:[20, 20, 9] Operation: 90-81=9 Moving to Node #0,0 Current State: 10:[20, 20, 9], Operations: ['90-81=9'] Exploring Operation: 20/20=1, Resulting Numbers: [9, 1] Generated Node #0,0,1: 10:[9, 1] Operation: 20/20=1 Moving to Node #0,0,1 Current State: 10:[9, 1], Operations: ['90-81=9', '20/20=1'] Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 33, 77, 69, 13 ]
100
[ "77-33=44", "69-13=56", "44+56=100" ]
Current State: 100:[33, 77, 69, 13], Operations: [] Exploring Operation: 77-33=44, Resulting Numbers: [69, 13, 44] Generated Node #2: [69, 13, 44] from Operation: 77-33=44 Current State: 100:[69, 13, 44], Operations: ['77-33=44'] Exploring Operation: 69-13=56, Resulting Numbers: [44, 56] Generated Node #3: [44, 56] from Operation: 69-13=56 Current State: 100:[44, 56], Operations: ['77-33=44', '69-13=56'] Exploring Operation: 44+56=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[33, 77, 69, 13], Operations: [] Exploring Operation: 77-33=44, Resulting Numbers: [69, 13, 44] Generated Node #0,0: 100:[69, 13, 44] Operation: 77-33=44 Exploring Operation: 77-69=8, Resulting Numbers: [33, 13, 8] Generated Node #0,1: 100:[33, 13, 8] Operation: 77-69=8 Moving to Node #0,1 Current State: 100:[33, 13, 8], Operations: ['77-69=8'] Exploring Operation: 33-8=25, Resulting Numbers: [13, 25] Generated Node #0,1,0: 100:[13, 25] Operation: 33-8=25 Exploring Operation: 33-13=20, Resulting Numbers: [8, 20] Generated Node #0,1,1: 100:[8, 20] Operation: 33-13=20 Moving to Node #0,0 Current State: 100:[69, 13, 44], Operations: ['77-33=44'] Exploring Operation: 69-13=56, Resulting Numbers: [44, 56] Generated Node #0,0,0: 100:[44, 56] Operation: 69-13=56 Exploring Operation: 69-44=25, Resulting Numbers: [13, 25] Generated Node #0,0,1: 100:[13, 25] Operation: 69-44=25 Moving to Node #0,1,1 Current State: 100:[8, 20], Operations: ['77-69=8', '33-13=20'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[13, 25], Operations: ['77-33=44', '69-44=25'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[13, 25], Operations: ['77-69=8', '33-8=25'] Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,100 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[44, 56], Operations: ['77-33=44', '69-13=56'] Exploring Operation: 44+56=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[33, 77, 69, 13], Operations: [] Exploring Operation: 77-33=44, Resulting Numbers: [69, 13, 44] Generated Node #0,0: 100:[69, 13, 44] Operation: 77-33=44 Moving to Node #0,0 Current State: 100:[69, 13, 44], Operations: ['77-33=44'] Exploring Operation: 69-13=56, Resulting Numbers: [44, 56] Generated Node #0,0,0: 100:[44, 56] Operation: 69-13=56 Moving to Node #0,0,0 Current State: 100:[44, 56], Operations: ['77-33=44', '69-13=56'] Exploring Operation: 44+56=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 96, 27, 23, 79 ]
33
[ "96-27=69", "23+79=102", "102-69=33" ]
Current State: 33:[96, 27, 23, 79], Operations: [] Exploring Operation: 96-27=69, Resulting Numbers: [23, 79, 69] Generated Node #2: [23, 79, 69] from Operation: 96-27=69 Current State: 33:[23, 79, 69], Operations: ['96-27=69'] Exploring Operation: 23+79=102, Resulting Numbers: [69, 102] Generated Node #3: [69, 102] from Operation: 23+79=102 Current State: 33:[69, 102], Operations: ['96-27=69', '23+79=102'] Exploring Operation: 102-69=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[96, 27, 23, 79], Operations: [] Exploring Operation: 96-79=17, Resulting Numbers: [27, 23, 17] Generated Node #0,0: 33:[27, 23, 17] Operation: 96-79=17 Moving to Node #0,0 Current State: 33:[27, 23, 17], Operations: ['96-79=17'] Exploring Operation: 27-23=4, Resulting Numbers: [17, 4] Generated Node #0,0,0: 33:[17, 4] Operation: 27-23=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[17, 4], Operations: ['96-79=17', '27-23=4'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 11, 49, 3, 24 ]
84
[ "11+3=14", "49*24=1176", "1176/14=84" ]
Current State: 84:[11, 49, 3, 24], Operations: [] Exploring Operation: 11+3=14, Resulting Numbers: [49, 24, 14] Generated Node #2: [49, 24, 14] from Operation: 11+3=14 Current State: 84:[49, 24, 14], Operations: ['11+3=14'] Exploring Operation: 49*24=1176, Resulting Numbers: [14, 1176] Generated Node #3: [14, 1176] from Operation: 49*24=1176 Current State: 84:[14, 1176], Operations: ['11+3=14', '49*24=1176'] Exploring Operation: 1176/14=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[11, 49, 3, 24], Operations: [] Exploring Operation: 49-11=38, Resulting Numbers: [3, 24, 38] Generated Node #0,0: 84:[3, 24, 38] Operation: 49-11=38 Exploring Operation: 24-11=13, Resulting Numbers: [49, 3, 13] Generated Node #0,1: 84:[49, 3, 13] Operation: 24-11=13 Exploring Operation: 24-3=21, Resulting Numbers: [11, 49, 21] Generated Node #0,2: 84:[11, 49, 21] Operation: 24-3=21 Exploring Operation: 49-24=25, Resulting Numbers: [11, 3, 25] Generated Node #0,3: 84:[11, 3, 25] Operation: 49-24=25 Exploring Operation: 49-3=46, Resulting Numbers: [11, 24, 46] Generated Node #0,4: 84:[11, 24, 46] Operation: 49-3=46 Moving to Node #0,3 Current State: 84:[11, 3, 25], Operations: ['49-24=25'] Exploring Operation: 25-3=22, Resulting Numbers: [11, 22] Generated Node #0,3,0: 84:[11, 22] Operation: 25-3=22 Exploring Operation: 11+3=14, Resulting Numbers: [25, 14] Generated Node #0,3,1: 84:[25, 14] Operation: 11+3=14 Exploring Operation: 3+25=28, Resulting Numbers: [11, 28] Generated Node #0,3,2: 84:[11, 28] Operation: 3+25=28 Exploring Operation: 25-11=14, Resulting Numbers: [3, 14] Generated Node #0,3,3: 84:[3, 14] Operation: 25-11=14 Exploring Operation: 11-3=8, Resulting Numbers: [25, 8] Generated Node #0,3,4: 84:[25, 8] Operation: 11-3=8 Moving to Node #0,0 Current State: 84:[3, 24, 38], Operations: ['49-11=38'] Exploring Operation: 3+38=41, Resulting Numbers: [24, 41] Generated Node #0,0,0: 84:[24, 41] Operation: 3+38=41 Exploring Operation: 24/3=8, Resulting Numbers: [38, 8] Generated Node #0,0,1: 84:[38, 8] Operation: 24/3=8 Exploring Operation: 3+24=27, Resulting Numbers: [38, 27] Generated Node #0,0,2: 84:[38, 27] Operation: 3+24=27 Exploring Operation: 38-24=14, Resulting Numbers: [3, 14] Generated Node #0,0,3: 84:[3, 14] Operation: 38-24=14 Exploring Operation: 24-3=21, Resulting Numbers: [38, 21] Generated Node #0,0,4: 84:[38, 21] Operation: 24-3=21 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 84:[3, 14], Operations: ['49-11=38', '38-24=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,84 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[24, 41], Operations: ['49-11=38', '3+38=41'] Exploring Operation: 24+41=65, Resulting Numbers: [65] 65,84 unequal: No Solution Exploring Operation: 24*41=984, Resulting Numbers: [984] 984,84 unequal: No Solution Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 84:[38, 21], Operations: ['49-11=38', '24-3=21'] Exploring Operation: 38*21=798, Resulting Numbers: [798] 798,84 unequal: No Solution Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,84 unequal: No Solution Exploring Operation: 38+21=59, Resulting Numbers: [59] 59,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[38, 8], Operations: ['49-11=38', '24/3=8'] Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,84 unequal: No Solution Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,84 unequal: No Solution Exploring Operation: 38*8=304, Resulting Numbers: [304] 304,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 84:[38, 27], Operations: ['49-11=38', '3+24=27'] Exploring Operation: 38*27=1026, Resulting Numbers: [1026] 1026,84 unequal: No Solution Exploring Operation: 38+27=65, Resulting Numbers: [65] 65,84 unequal: No Solution Exploring Operation: 38-27=11, Resulting Numbers: [11] 11,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 84:[49, 3, 13], Operations: ['24-11=13'] Exploring Operation: 3+13=16, Resulting Numbers: [49, 16] Generated Node #0,1,0: 84:[49, 16] Operation: 3+13=16 Exploring Operation: 13-3=10, Resulting Numbers: [49, 10] Generated Node #0,1,1: 84:[49, 10] Operation: 13-3=10 Exploring Operation: 49-13=36, Resulting Numbers: [3, 36] Generated Node #0,1,2: 84:[3, 36] Operation: 49-13=36 Exploring Operation: 3*13=39, Resulting Numbers: [49, 39] Generated Node #0,1,3: 84:[49, 39] Operation: 3*13=39 Exploring Operation: 49-3=46, Resulting Numbers: [13, 46] Generated Node #0,1,4: 84:[13, 46] Operation: 49-3=46 Moving to Node #0,2 Current State: 84:[11, 49, 21], Operations: ['24-3=21'] Exploring Operation: 49-11=38, Resulting Numbers: [21, 38] Generated Node #0,2,0: 84:[21, 38] Operation: 49-11=38 Exploring Operation: 49+21=70, Resulting Numbers: [11, 70] Generated Node #0,2,1: 84:[11, 70] Operation: 49+21=70 Exploring Operation: 21-11=10, Resulting Numbers: [49, 10] Generated Node #0,2,2: 84:[49, 10] Operation: 21-11=10 Exploring Operation: 11+21=32, Resulting Numbers: [49, 32] Generated Node #0,2,3: 84:[49, 32] Operation: 11+21=32 Exploring Operation: 49-21=28, Resulting Numbers: [11, 28] Generated Node #0,2,4: 84:[11, 28] Operation: 49-21=28 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 84:[11, 28], Operations: ['24-3=21', '49-21=28'] Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,84 unequal: No Solution Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,84 unequal: No Solution Exploring Operation: 11*28=308, Resulting Numbers: [308] 308,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[21, 38], Operations: ['24-3=21', '49-11=38'] Exploring Operation: 21*38=798, Resulting Numbers: [798] 798,84 unequal: No Solution Exploring Operation: 21+38=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 84:[49, 10], Operations: ['24-3=21', '21-11=10'] Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,84 unequal: No Solution Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 49*10=490, Resulting Numbers: [490] 490,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 84:[49, 32], Operations: ['24-3=21', '11+21=32'] Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,84 unequal: No Solution Exploring Operation: 49*32=1568, Resulting Numbers: [1568] 1568,84 unequal: No Solution Exploring Operation: 49+32=81, Resulting Numbers: [81] 81,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 84:[11, 70], Operations: ['24-3=21', '49+21=70'] Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 11+70=81, Resulting Numbers: [81] 81,84 unequal: No Solution Exploring Operation: 11*70=770, Resulting Numbers: [770] 770,84 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: 84:[11, 24, 46], Operations: ['49-3=46'] Exploring Operation: 24+46=70, Resulting Numbers: [11, 70] Generated Node #0,4,0: 84:[11, 70] Operation: 24+46=70 Exploring Operation: 46-11=35, Resulting Numbers: [24, 35] Generated Node #0,4,1: 84:[24, 35] Operation: 46-11=35 Exploring Operation: 11+24=35, Resulting Numbers: [46, 35] Generated Node #0,4,2: 84:[46, 35] Operation: 11+24=35 Exploring Operation: 46-24=22, Resulting Numbers: [11, 22] Generated Node #0,4,3: 84:[11, 22] Operation: 46-24=22 Exploring Operation: 24-11=13, Resulting Numbers: [46, 13] Generated Node #0,4,4: 84:[46, 13] Operation: 24-11=13 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 84:[11, 22], Operations: ['49-3=46', '46-24=22'] Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 11*22=242, Resulting Numbers: [242] 242,84 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,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,4,4 Current State: 84:[46, 13], Operations: ['49-3=46', '24-11=13'] Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,84 unequal: No Solution Exploring Operation: 46+13=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 46*13=598, Resulting Numbers: [598] 598,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,4,1 Current State: 84:[24, 35], Operations: ['49-3=46', '46-11=35'] Exploring Operation: 24+35=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 24*35=840, Resulting Numbers: [840] 840,84 unequal: No Solution Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,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,4,2 Current State: 84:[46, 35], Operations: ['49-3=46', '11+24=35'] Exploring Operation: 46+35=81, Resulting Numbers: [81] 81,84 unequal: No Solution Exploring Operation: 46*35=1610, Resulting Numbers: [1610] 1610,84 unequal: No Solution Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,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,4,0 Current State: 84:[11, 70], Operations: ['49-3=46', '24+46=70'] Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 11*70=770, Resulting Numbers: [770] 770,84 unequal: No Solution Exploring Operation: 11+70=81, Resulting Numbers: [81] 81,84 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: 84:[3, 14], Operations: ['49-24=25', '25-11=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,84 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,84 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,84 unequal: No Solution Moving to Node #0,3,2 Current State: 84:[11, 28], Operations: ['49-24=25', '3+25=28'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,84 unequal: No Solution Exploring Operation: 11*28=308, Resulting Numbers: [308] 308,84 unequal: No Solution Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,84 unequal: No Solution Moving to Node #0,3,0 Current State: 84:[11, 22], Operations: ['49-24=25', '25-3=22'] Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 11*22=242, Resulting Numbers: [242] 242,84 unequal: No Solution Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,84 unequal: No Solution Moving to Node #0,3,1 Current State: 84:[25, 14], Operations: ['49-24=25', '11+3=14'] Exploring Operation: 25*14=350, Resulting Numbers: [350] 350,84 unequal: No Solution Exploring Operation: 25+14=39, Resulting Numbers: [39] 39,84 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,84 unequal: No Solution Moving to Node #0,3,4 Current State: 84:[25, 8], Operations: ['49-24=25', '11-3=8'] Exploring Operation: 25*8=200, Resulting Numbers: [200] 200,84 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,84 unequal: No Solution Exploring Operation: 25+8=33, Resulting Numbers: [33] 33,84 unequal: No Solution Moving to Node #0,1,4 Current State: 84:[13, 46], Operations: ['24-11=13', '49-3=46'] Exploring Operation: 13*46=598, Resulting Numbers: [598] 598,84 unequal: No Solution Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,84 unequal: No Solution Exploring Operation: 13+46=59, Resulting Numbers: [59] 59,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[3, 36], Operations: ['24-11=13', '49-13=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,84 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,84 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[49, 10], Operations: ['24-11=13', '13-3=10'] Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,84 unequal: No Solution Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 49*10=490, Resulting Numbers: [490] 490,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[49, 16], Operations: ['24-11=13', '3+13=16'] Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,84 unequal: No Solution Exploring Operation: 49+16=65, Resulting Numbers: [65] 65,84 unequal: No Solution Exploring Operation: 49*16=784, Resulting Numbers: [784] 784,84 unequal: No Solution Moving to Node #0,1,3 Current State: 84:[49, 39], Operations: ['24-11=13', '3*13=39'] Exploring Operation: 49-39=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 49*39=1911, Resulting Numbers: [1911] 1911,84 unequal: No Solution Exploring Operation: 49+39=88, Resulting Numbers: [88] 88,84 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 86, 98, 98, 9 ]
95
[ "86+98=184", "98-9=89", "184-89=95" ]
Current State: 95:[86, 98, 98, 9], Operations: [] Exploring Operation: 86+98=184, Resulting Numbers: [9, 184] Generated Node #2: [9, 184] from Operation: 86+98=184 Current State: 95:[9, 184], Operations: ['86+98=184'] Exploring Operation: 98-9=89, Resulting Numbers: [184, 89] Generated Node #3: [184, 89] from Operation: 98-9=89 Current State: 95:[184, 89], Operations: ['86+98=184', '98-9=89'] Exploring Operation: 184-89=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[86, 98, 98, 9], Operations: [] Exploring Operation: 86+9=95, Resulting Numbers: [98, 98, 95] Generated Node #0,0: 95:[98, 98, 95] Operation: 86+9=95 Exploring Operation: 98-86=12, Resulting Numbers: [98, 9, 12] Generated Node #0,1: 95:[98, 9, 12] Operation: 98-86=12 Exploring Operation: 98-98=0, Resulting Numbers: [86, 9, 0] Generated Node #0,2: 95:[86, 9, 0] Operation: 98-98=0 Exploring Operation: 98/98=1, Resulting Numbers: [86, 9, 1] Generated Node #0,3: 95:[86, 9, 1] Operation: 98/98=1 Exploring Operation: 98-86=12, Resulting Numbers: [98, 9, 12] Generated Node #0,4: 95:[98, 9, 12] Operation: 98-86=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[98, 98, 95], Operations: ['86+9=95'] Exploring Operation: 98-98=0, Resulting Numbers: [95, 0] Generated Node #0,0,0: 95:[95, 0] Operation: 98-98=0 Exploring Operation: 98+98=196, Resulting Numbers: [95, 196] Generated Node #0,0,1: 95:[95, 196] Operation: 98+98=196 Exploring Operation: 98-95=3, Resulting Numbers: [98, 3] Generated Node #0,0,2: 95:[98, 3] Operation: 98-95=3 Exploring Operation: 98/98=1, Resulting Numbers: [95, 1] Generated Node #0,0,3: 95:[95, 1] Operation: 98/98=1 Exploring Operation: 98-95=3, Resulting Numbers: [98, 3] Generated Node #0,0,4: 95:[98, 3] Operation: 98-95=3 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 95:[95, 1], Operations: ['86+9=95', '98/98=1'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,95 unequal: No Solution Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[86, 98, 98, 9], Operations: [] Exploring Operation: 86+9=95, Resulting Numbers: [98, 98, 95] Generated Node #0,0: 95:[98, 98, 95] Operation: 86+9=95 Moving to Node #0,0 Current State: 95:[98, 98, 95], Operations: ['86+9=95'] Exploring Operation: 98/98=1, Resulting Numbers: [95, 1] Generated Node #0,0,3: 95:[95, 1] Operation: 98/98=1 Moving to Node #0,0,3 Current State: 95:[95, 1], Operations: ['86+9=95', '98/98=1'] Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 11, 31, 44, 60 ]
46
[ "44/11=4", "60/4=15", "31+15=46" ]
Current State: 46:[11, 31, 44, 60], Operations: [] Exploring Operation: 44/11=4, Resulting Numbers: [31, 60, 4] Generated Node #2: [31, 60, 4] from Operation: 44/11=4 Current State: 46:[31, 60, 4], Operations: ['44/11=4'] Exploring Operation: 60/4=15, Resulting Numbers: [31, 15] Generated Node #3: [31, 15] from Operation: 60/4=15 Current State: 46:[31, 15], Operations: ['44/11=4', '60/4=15'] Exploring Operation: 31+15=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[11, 31, 44, 60], Operations: [] Exploring Operation: 44/11=4, Resulting Numbers: [31, 60, 4] Generated Node #0,0: 46:[31, 60, 4] Operation: 44/11=4 Exploring Operation: 11+31=42, Resulting Numbers: [44, 60, 42] Generated Node #0,1: 46:[44, 60, 42] Operation: 11+31=42 Exploring Operation: 31-11=20, Resulting Numbers: [44, 60, 20] Generated Node #0,2: 46:[44, 60, 20] Operation: 31-11=20 Exploring Operation: 60-31=29, Resulting Numbers: [11, 44, 29] Generated Node #0,3: 46:[11, 44, 29] Operation: 60-31=29 Exploring Operation: 60-11=49, Resulting Numbers: [31, 44, 49] Generated Node #0,4: 46:[31, 44, 49] Operation: 60-11=49 Start Sub Search at level 1: Moving to Node #0,4 Current State: 46:[31, 44, 49], Operations: ['60-11=49'] Exploring Operation: 44-31=13, Resulting Numbers: [49, 13] Generated Node #0,4,0: 46:[49, 13] Operation: 44-31=13 Exploring Operation: 31+44=75, Resulting Numbers: [49, 75] Generated Node #0,4,1: 46:[49, 75] Operation: 31+44=75 Exploring Operation: 49-31=18, Resulting Numbers: [44, 18] Generated Node #0,4,2: 46:[44, 18] Operation: 49-31=18 Exploring Operation: 49-44=5, Resulting Numbers: [31, 5] Generated Node #0,4,3: 46:[31, 5] Operation: 49-44=5 Exploring Operation: 31+49=80, Resulting Numbers: [44, 80] Generated Node #0,4,4: 46:[44, 80] Operation: 31+49=80 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 46:[44, 18], Operations: ['60-11=49', '49-31=18'] Exploring Operation: 44+18=62, Resulting Numbers: [62] 62,46 unequal: No Solution Exploring Operation: 44*18=792, Resulting Numbers: [792] 792,46 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,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,4,3 Current State: 46:[31, 5], Operations: ['60-11=49', '49-44=5'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,46 unequal: No Solution Exploring Operation: 31*5=155, Resulting Numbers: [155] 155,46 unequal: No Solution Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,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,4,0 Current State: 46:[49, 13], Operations: ['60-11=49', '44-31=13'] Exploring Operation: 49+13=62, Resulting Numbers: [62] 62,46 unequal: No Solution Exploring Operation: 49*13=637, Resulting Numbers: [637] 637,46 unequal: No Solution Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,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,4,1 Current State: 46:[49, 75], Operations: ['60-11=49', '31+44=75'] Exploring Operation: 75-49=26, Resulting Numbers: [26] 26,46 unequal: No Solution Exploring Operation: 49+75=124, Resulting Numbers: [124] 124,46 unequal: No Solution Exploring Operation: 49*75=3675, Resulting Numbers: [3675] 3675,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,4,4 Current State: 46:[44, 80], Operations: ['60-11=49', '31+49=80'] Exploring Operation: 44+80=124, Resulting Numbers: [124] 124,46 unequal: No Solution Exploring Operation: 44*80=3520, Resulting Numbers: [3520] 3520,46 unequal: No Solution Exploring Operation: 80-44=36, Resulting Numbers: [36] 36,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,3 Current State: 46:[11, 44, 29], Operations: ['60-31=29'] Exploring Operation: 29-11=18, Resulting Numbers: [44, 18] Generated Node #0,3,0: 46:[44, 18] Operation: 29-11=18 Exploring Operation: 11+44=55, Resulting Numbers: [29, 55] Generated Node #0,3,1: 46:[29, 55] Operation: 11+44=55 Exploring Operation: 44-11=33, Resulting Numbers: [29, 33] Generated Node #0,3,2: 46:[29, 33] Operation: 44-11=33 Exploring Operation: 44/11=4, Resulting Numbers: [29, 4] Generated Node #0,3,3: 46:[29, 4] Operation: 44/11=4 Exploring Operation: 11+29=40, Resulting Numbers: [44, 40] Generated Node #0,3,4: 46:[44, 40] Operation: 11+29=40 Moving to Node #0,3,0 Current State: 46:[44, 18], Operations: ['60-31=29', '29-11=18'] Exploring Operation: 44+18=62, Resulting Numbers: [62] 62,46 unequal: No Solution Exploring Operation: 44*18=792, Resulting Numbers: [792] 792,46 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,46 unequal: No Solution Moving to Node #0,3,4 Current State: 46:[44, 40], Operations: ['60-31=29', '11+29=40'] Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,46 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,46 unequal: No Solution Exploring Operation: 44*40=1760, Resulting Numbers: [1760] 1760,46 unequal: No Solution Moving to Node #0,3,3 Current State: 46:[29, 4], Operations: ['60-31=29', '44/11=4'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,46 unequal: No Solution Moving to Node #0,3,1 Current State: 46:[29, 55], Operations: ['60-31=29', '11+44=55'] Exploring Operation: 29+55=84, Resulting Numbers: [84] 84,46 unequal: No Solution Exploring Operation: 55-29=26, Resulting Numbers: [26] 26,46 unequal: No Solution Exploring Operation: 29*55=1595, Resulting Numbers: [1595] 1595,46 unequal: No Solution Moving to Node #0,3,2 Current State: 46:[29, 33], Operations: ['60-31=29', '44-11=33'] Exploring Operation: 29*33=957, Resulting Numbers: [957] 957,46 unequal: No Solution Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,46 unequal: No Solution Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[44, 60, 20], Operations: ['31-11=20'] Exploring Operation: 60-20=40, Resulting Numbers: [44, 40] Generated Node #0,2,0: 46:[44, 40] Operation: 60-20=40 Exploring Operation: 60-44=16, Resulting Numbers: [20, 16] Generated Node #0,2,1: 46:[20, 16] Operation: 60-44=16 Exploring Operation: 60/20=3, Resulting Numbers: [44, 3] Generated Node #0,2,2: 46:[44, 3] Operation: 60/20=3 Exploring Operation: 44+20=64, Resulting Numbers: [60, 64] Generated Node #0,2,3: 46:[60, 64] Operation: 44+20=64 Exploring Operation: 44-20=24, Resulting Numbers: [60, 24] Generated Node #0,2,4: 46:[60, 24] Operation: 44-20=24 Moving to Node #0,2,2 Current State: 46:[44, 3], Operations: ['31-11=20', '60/20=3'] Exploring Operation: 44*3=132, Resulting Numbers: [132] 132,46 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,46 unequal: No Solution Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[44, 40], Operations: ['31-11=20', '60-20=40'] Exploring Operation: 44*40=1760, Resulting Numbers: [1760] 1760,46 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,46 unequal: No Solution Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,46 unequal: No Solution Moving to Node #0,2,1 Current State: 46:[20, 16], Operations: ['31-11=20', '60-44=16'] Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,46 unequal: No Solution Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,46 unequal: No Solution Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,46 unequal: No Solution Moving to Node #0,2,4 Current State: 46:[60, 24], Operations: ['31-11=20', '44-20=24'] Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,46 unequal: No Solution Exploring Operation: 60*24=1440, Resulting Numbers: [1440] 1440,46 unequal: No Solution Exploring Operation: 60+24=84, Resulting Numbers: [84] 84,46 unequal: No Solution Moving to Node #0,2,3 Current State: 46:[60, 64], Operations: ['31-11=20', '44+20=64'] Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,46 unequal: No Solution Exploring Operation: 60*64=3840, Resulting Numbers: [3840] 3840,46 unequal: No Solution Exploring Operation: 60+64=124, Resulting Numbers: [124] 124,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[44, 60, 42], Operations: ['11+31=42'] Exploring Operation: 44-42=2, Resulting Numbers: [60, 2] Generated Node #0,1,0: 46:[60, 2] Operation: 44-42=2 Exploring Operation: 60+42=102, Resulting Numbers: [44, 102] Generated Node #0,1,1: 46:[44, 102] Operation: 60+42=102 Exploring Operation: 44+42=86, Resulting Numbers: [60, 86] Generated Node #0,1,2: 46:[60, 86] Operation: 44+42=86 Exploring Operation: 60-44=16, Resulting Numbers: [42, 16] Generated Node #0,1,3: 46:[42, 16] Operation: 60-44=16 Exploring Operation: 60-42=18, Resulting Numbers: [44, 18] Generated Node #0,1,4: 46:[44, 18] Operation: 60-42=18 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 46:[44, 18], Operations: ['11+31=42', '60-42=18'] Exploring Operation: 44*18=792, Resulting Numbers: [792] 792,46 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,46 unequal: No Solution Exploring Operation: 44+18=62, Resulting Numbers: [62] 62,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,1,3 Current State: 46:[42, 16], Operations: ['11+31=42', '60-44=16'] Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,46 unequal: No Solution Exploring Operation: 42+16=58, Resulting Numbers: [58] 58,46 unequal: No Solution Exploring Operation: 42*16=672, Resulting Numbers: [672] 672,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,1,0 Current State: 46:[60, 2], Operations: ['11+31=42', '44-42=2'] Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,46 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,46 unequal: No Solution Exploring Operation: 60*2=120, Resulting Numbers: [120] 120,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,1,2 Current State: 46:[60, 86], Operations: ['11+31=42', '44+42=86'] Exploring Operation: 86-60=26, Resulting Numbers: [26] 26,46 unequal: No Solution Exploring Operation: 60+86=146, Resulting Numbers: [146] 146,46 unequal: No Solution Exploring Operation: 60*86=5160, Resulting Numbers: [5160] 5160,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,1,1 Current State: 46:[44, 102], Operations: ['11+31=42', '60+42=102'] Exploring Operation: 44+102=146, Resulting Numbers: [146] 146,46 unequal: No Solution Exploring Operation: 44*102=4488, Resulting Numbers: [4488] 4488,46 unequal: No Solution Exploring Operation: 102-44=58, Resulting Numbers: [58] 58,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,0 Current State: 46:[31, 60, 4], Operations: ['44/11=4'] Exploring Operation: 60-31=29, Resulting Numbers: [4, 29] Generated Node #0,0,0: 46:[4, 29] Operation: 60-31=29 Exploring Operation: 60-4=56, Resulting Numbers: [31, 56] Generated Node #0,0,1: 46:[31, 56] Operation: 60-4=56 Exploring Operation: 60/4=15, Resulting Numbers: [31, 15] Generated Node #0,0,2: 46:[31, 15] Operation: 60/4=15 Exploring Operation: 31+4=35, Resulting Numbers: [60, 35] Generated Node #0,0,3: 46:[60, 35] Operation: 31+4=35 Exploring Operation: 31-4=27, Resulting Numbers: [60, 27] Generated Node #0,0,4: 46:[60, 27] Operation: 31-4=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[4, 29], Operations: ['44/11=4', '60-31=29'] Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,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:[31, 15], Operations: ['44/11=4', '60/4=15'] Exploring Operation: 31+15=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[11, 31, 44, 60], Operations: [] Exploring Operation: 44/11=4, Resulting Numbers: [31, 60, 4] Generated Node #0,0: 46:[31, 60, 4] Operation: 44/11=4 Moving to Node #0,0 Current State: 46:[31, 60, 4], Operations: ['44/11=4'] Exploring Operation: 60/4=15, Resulting Numbers: [31, 15] Generated Node #0,0,2: 46:[31, 15] Operation: 60/4=15 Moving to Node #0,0,2 Current State: 46:[31, 15], Operations: ['44/11=4', '60/4=15'] Exploring Operation: 31+15=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.914063
hs_5
mult_heuristic
[ 23, 19, 93, 7 ]
44
[ "23+19=42", "93-7=86", "86-42=44" ]
Current State: 44:[23, 19, 93, 7], Operations: [] Exploring Operation: 23+19=42, Resulting Numbers: [93, 7, 42] Generated Node #2: [93, 7, 42] from Operation: 23+19=42 Current State: 44:[93, 7, 42], Operations: ['23+19=42'] Exploring Operation: 93-7=86, Resulting Numbers: [42, 86] Generated Node #3: [42, 86] from Operation: 93-7=86 Current State: 44:[42, 86], Operations: ['23+19=42', '93-7=86'] Exploring Operation: 86-42=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[23, 19, 93, 7], Operations: [] Exploring Operation: 93-23=70, Resulting Numbers: [19, 7, 70] Generated Node #0,0: 44:[19, 7, 70] Operation: 93-23=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[19, 7, 70], Operations: ['93-23=70'] Exploring Operation: 70/7=10, Resulting Numbers: [19, 10] Generated Node #0,0,0: 44:[19, 10] Operation: 70/7=10 Moving to Node #0,0,0 Current State: 44:[19, 10], Operations: ['93-23=70', '70/7=10'] Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 38, 47, 90, 87 ]
67
[ "90-87=3", "38*3=114", "114-47=67" ]
Current State: 67:[38, 47, 90, 87], Operations: [] Exploring Operation: 90-87=3, Resulting Numbers: [38, 47, 3] Generated Node #2: [38, 47, 3] from Operation: 90-87=3 Current State: 67:[38, 47, 3], Operations: ['90-87=3'] Exploring Operation: 38*3=114, Resulting Numbers: [47, 114] Generated Node #3: [47, 114] from Operation: 38*3=114 Current State: 67:[47, 114], Operations: ['90-87=3', '38*3=114'] Exploring Operation: 114-47=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[38, 47, 90, 87], Operations: [] Exploring Operation: 38+47=85, Resulting Numbers: [90, 87, 85] Generated Node #0,0: 67:[90, 87, 85] Operation: 38+47=85 Exploring Operation: 90-38=52, Resulting Numbers: [47, 87, 52] Generated Node #0,1: 67:[47, 87, 52] Operation: 90-38=52 Exploring Operation: 87-38=49, Resulting Numbers: [47, 90, 49] Generated Node #0,2: 67:[47, 90, 49] Operation: 87-38=49 Moving to Node #0,1 Current State: 67:[47, 87, 52], Operations: ['90-38=52'] Exploring Operation: 47+52=99, Resulting Numbers: [87, 99] Generated Node #0,1,0: 67:[87, 99] Operation: 47+52=99 Exploring Operation: 87-47=40, Resulting Numbers: [52, 40] Generated Node #0,1,1: 67:[52, 40] Operation: 87-47=40 Exploring Operation: 87-52=35, Resulting Numbers: [47, 35] Generated Node #0,1,2: 67:[47, 35] Operation: 87-52=35 Moving to Node #0,0 Current State: 67:[90, 87, 85], Operations: ['38+47=85'] Exploring Operation: 87-85=2, Resulting Numbers: [90, 2] Generated Node #0,0,0: 67:[90, 2] Operation: 87-85=2 Exploring Operation: 90-85=5, Resulting Numbers: [87, 5] Generated Node #0,0,1: 67:[87, 5] Operation: 90-85=5 Exploring Operation: 90-87=3, Resulting Numbers: [85, 3] Generated Node #0,0,2: 67:[85, 3] Operation: 90-87=3 Moving to Node #0,2 Current State: 67:[47, 90, 49], Operations: ['87-38=49'] Exploring Operation: 90-49=41, Resulting Numbers: [47, 41] Generated Node #0,2,0: 67:[47, 41] Operation: 90-49=41 Exploring Operation: 47+49=96, Resulting Numbers: [90, 96] Generated Node #0,2,1: 67:[90, 96] Operation: 47+49=96 Exploring Operation: 90-47=43, Resulting Numbers: [49, 43] Generated Node #0,2,2: 67:[49, 43] Operation: 90-47=43 Moving to Node #0,1,1 Current State: 67:[52, 40], Operations: ['90-38=52', '87-47=40'] Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,67 unequal: No Solution Exploring Operation: 52+40=92, Resulting Numbers: [92] 92,67 unequal: No Solution Exploring Operation: 52*40=2080, Resulting Numbers: [2080] 2080,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[49, 43], Operations: ['87-38=49', '90-47=43'] Exploring Operation: 49+43=92, Resulting Numbers: [92] 92,67 unequal: No Solution Exploring Operation: 49-43=6, Resulting Numbers: [6] 6,67 unequal: No Solution Exploring Operation: 49*43=2107, Resulting Numbers: [2107] 2107,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[47, 41], Operations: ['87-38=49', '90-49=41'] Exploring Operation: 47-41=6, Resulting Numbers: [6] 6,67 unequal: No Solution Exploring Operation: 47*41=1927, Resulting Numbers: [1927] 1927,67 unequal: No Solution Exploring Operation: 47+41=88, Resulting Numbers: [88] 88,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[47, 35], Operations: ['90-38=52', '87-52=35'] Exploring Operation: 47+35=82, Resulting Numbers: [82] 82,67 unequal: No Solution Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,67 unequal: No Solution Exploring Operation: 47*35=1645, Resulting Numbers: [1645] 1645,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[90, 96], Operations: ['87-38=49', '47+49=96'] Exploring Operation: 90+96=186, Resulting Numbers: [186] 186,67 unequal: No Solution Exploring Operation: 90*96=8640, Resulting Numbers: [8640] 8640,67 unequal: No Solution Exploring Operation: 96-90=6, Resulting Numbers: [6] 6,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[87, 99], Operations: ['90-38=52', '47+52=99'] Exploring Operation: 99-87=12, Resulting Numbers: [12] 12,67 unequal: No Solution Exploring Operation: 87*99=8613, Resulting Numbers: [8613] 8613,67 unequal: No Solution Exploring Operation: 87+99=186, Resulting Numbers: [186] 186,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[87, 5], Operations: ['38+47=85', '90-85=5'] Exploring Operation: 87*5=435, Resulting Numbers: [435] 435,67 unequal: No Solution Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,67 unequal: No Solution Exploring Operation: 87+5=92, Resulting Numbers: [92] 92,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[85, 3], Operations: ['38+47=85', '90-87=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,67 unequal: No Solution Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,67 unequal: No Solution Exploring Operation: 85*3=255, Resulting Numbers: [255] 255,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[90, 2], Operations: ['38+47=85', '87-85=2'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,67 unequal: No Solution Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,67 unequal: No Solution Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,67 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 36, 43, 23, 60 ]
76
[ "43-36=7", "23+60=83", "83-7=76" ]
Current State: 76:[36, 43, 23, 60], Operations: [] Exploring Operation: 43-36=7, Resulting Numbers: [23, 60, 7] Generated Node #2: [23, 60, 7] from Operation: 43-36=7 Current State: 76:[23, 60, 7], Operations: ['43-36=7'] Exploring Operation: 23+60=83, Resulting Numbers: [7, 83] Generated Node #3: [7, 83] from Operation: 23+60=83 Current State: 76:[7, 83], Operations: ['43-36=7', '23+60=83'] Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[36, 43, 23, 60], Operations: [] Exploring Operation: 60-43=17, Resulting Numbers: [36, 23, 17] Generated Node #0,0: 76:[36, 23, 17] Operation: 60-43=17 Exploring Operation: 60-36=24, Resulting Numbers: [43, 23, 24] Generated Node #0,1: 76:[43, 23, 24] Operation: 60-36=24 Exploring Operation: 43-23=20, Resulting Numbers: [36, 60, 20] Generated Node #0,2: 76:[36, 60, 20] Operation: 43-23=20 Exploring Operation: 60-23=37, Resulting Numbers: [36, 43, 37] Generated Node #0,3: 76:[36, 43, 37] Operation: 60-23=37 Exploring Operation: 23+60=83, Resulting Numbers: [36, 43, 83] Generated Node #0,4: 76:[36, 43, 83] Operation: 23+60=83 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[36, 23, 17], Operations: ['60-43=17'] Exploring Operation: 23-17=6, Resulting Numbers: [36, 6] Generated Node #0,0,0: 76:[36, 6] Operation: 23-17=6 Exploring Operation: 36+23=59, Resulting Numbers: [17, 59] Generated Node #0,0,1: 76:[17, 59] Operation: 36+23=59 Exploring Operation: 36-23=13, Resulting Numbers: [17, 13] Generated Node #0,0,2: 76:[17, 13] Operation: 36-23=13 Exploring Operation: 23+17=40, Resulting Numbers: [36, 40] Generated Node #0,0,3: 76:[36, 40] Operation: 23+17=40 Exploring Operation: 36-17=19, Resulting Numbers: [23, 19] Generated Node #0,0,4: 76:[23, 19] Operation: 36-17=19 Moving to Node #0,0,0 Current State: 76:[36, 6], Operations: ['60-43=17', '23-17=6'] Exploring Operation: 36+6=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,76 unequal: No Solution Exploring Operation: 36*6=216, Resulting Numbers: [216] 216,76 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,76 unequal: No Solution Moving to Node #0,0,4 Current State: 76:[23, 19], Operations: ['60-43=17', '36-17=19'] Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,76 unequal: No Solution Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[36, 40], Operations: ['60-43=17', '23+17=40'] Exploring Operation: 36*40=1440, Resulting Numbers: [1440] 1440,76 unequal: No Solution Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 36+40=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[36, 43, 23, 60], Operations: [] Exploring Operation: 60-43=17, Resulting Numbers: [36, 23, 17] Generated Node #0,0: 76:[36, 23, 17] Operation: 60-43=17 Moving to Node #0,0 Current State: 76:[36, 23, 17], Operations: ['60-43=17'] Exploring Operation: 23+17=40, Resulting Numbers: [36, 40] Generated Node #0,0,3: 76:[36, 40] Operation: 23+17=40 Moving to Node #0,0,3 Current State: 76:[36, 40], Operations: ['60-43=17', '23+17=40'] Exploring Operation: 36+40=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 54, 48, 7, 34 ]
44
[ "48-34=14", "7*14=98", "98-54=44" ]
Current State: 44:[54, 48, 7, 34], Operations: [] Exploring Operation: 48-34=14, Resulting Numbers: [54, 7, 14] Generated Node #2: [54, 7, 14] from Operation: 48-34=14 Current State: 44:[54, 7, 14], Operations: ['48-34=14'] Exploring Operation: 7*14=98, Resulting Numbers: [54, 98] Generated Node #3: [54, 98] from Operation: 7*14=98 Current State: 44:[54, 98], Operations: ['48-34=14', '7*14=98'] Exploring Operation: 98-54=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[54, 48, 7, 34], Operations: [] Exploring Operation: 54-48=6, Resulting Numbers: [7, 34, 6] Generated Node #0,0: 44:[7, 34, 6] Operation: 54-48=6 Exploring Operation: 54-7=47, Resulting Numbers: [48, 34, 47] Generated Node #0,1: 44:[48, 34, 47] Operation: 54-7=47 Exploring Operation: 54-34=20, Resulting Numbers: [48, 7, 20] Generated Node #0,2: 44:[48, 7, 20] Operation: 54-34=20 Exploring Operation: 48-34=14, Resulting Numbers: [54, 7, 14] Generated Node #0,3: 44:[54, 7, 14] Operation: 48-34=14 Exploring Operation: 7+34=41, Resulting Numbers: [54, 48, 41] Generated Node #0,4: 44:[54, 48, 41] Operation: 7+34=41 Moving to Node #0,2 Current State: 44:[48, 7, 20], Operations: ['54-34=20'] Exploring Operation: 48-20=28, Resulting Numbers: [7, 28] Generated Node #0,2,0: 44:[7, 28] Operation: 48-20=28 Exploring Operation: 48-7=41, Resulting Numbers: [20, 41] Generated Node #0,2,1: 44:[20, 41] Operation: 48-7=41 Exploring Operation: 48+7=55, Resulting Numbers: [20, 55] Generated Node #0,2,2: 44:[20, 55] Operation: 48+7=55 Exploring Operation: 7+20=27, Resulting Numbers: [48, 27] Generated Node #0,2,3: 44:[48, 27] Operation: 7+20=27 Exploring Operation: 20-7=13, Resulting Numbers: [48, 13] Generated Node #0,2,4: 44:[48, 13] Operation: 20-7=13 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 44:[20, 41], Operations: ['54-34=20', '48-7=41'] Exploring Operation: 20*41=820, Resulting Numbers: [820] 820,44 unequal: No Solution Exploring Operation: 20+41=61, Resulting Numbers: [61] 61,44 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 44:[48, 13], Operations: ['54-34=20', '20-7=13'] Exploring Operation: 48*13=624, Resulting Numbers: [624] 624,44 unequal: No Solution Exploring Operation: 48+13=61, Resulting Numbers: [61] 61,44 unequal: No Solution Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 44:[7, 28], Operations: ['54-34=20', '48-20=28'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,44 unequal: No Solution Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 44:[48, 27], Operations: ['54-34=20', '7+20=27'] Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,44 unequal: No Solution Exploring Operation: 48+27=75, Resulting Numbers: [75] 75,44 unequal: No Solution Exploring Operation: 48*27=1296, Resulting Numbers: [1296] 1296,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 44:[20, 55], Operations: ['54-34=20', '48+7=55'] Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 20+55=75, Resulting Numbers: [75] 75,44 unequal: No Solution Exploring Operation: 20*55=1100, Resulting Numbers: [1100] 1100,44 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: 44:[7, 34, 6], Operations: ['54-48=6'] Exploring Operation: 34-7=27, Resulting Numbers: [6, 27] Generated Node #0,0,0: 44:[6, 27] Operation: 34-7=27 Exploring Operation: 34+6=40, Resulting Numbers: [7, 40] Generated Node #0,0,1: 44:[7, 40] Operation: 34+6=40 Exploring Operation: 34-6=28, Resulting Numbers: [7, 28] Generated Node #0,0,2: 44:[7, 28] Operation: 34-6=28 Exploring Operation: 7+34=41, Resulting Numbers: [6, 41] Generated Node #0,0,3: 44:[6, 41] Operation: 7+34=41 Exploring Operation: 7-6=1, Resulting Numbers: [34, 1] Generated Node #0,0,4: 44:[34, 1] Operation: 7-6=1 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 44:[6, 41], Operations: ['54-48=6', '7+34=41'] Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 6+41=47, Resulting Numbers: [47] 47,44 unequal: No Solution Exploring Operation: 6*41=246, Resulting Numbers: [246] 246,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[6, 27], Operations: ['54-48=6', '34-7=27'] Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,44 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[7, 40], Operations: ['54-48=6', '34+6=40'] Exploring Operation: 7+40=47, Resulting Numbers: [47] 47,44 unequal: No Solution Exploring Operation: 7*40=280, Resulting Numbers: [280] 280,44 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 44:[7, 28], Operations: ['54-48=6', '34-6=28'] Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,44 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,44 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 44:[34, 1], Operations: ['54-48=6', '7-6=1'] Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,44 unequal: No Solution Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,44 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: 44:[54, 7, 14], Operations: ['48-34=14'] Exploring Operation: 54-14=40, Resulting Numbers: [7, 40] Generated Node #0,3,0: 44:[7, 40] Operation: 54-14=40 Exploring Operation: 14/7=2, Resulting Numbers: [54, 2] Generated Node #0,3,1: 44:[54, 2] Operation: 14/7=2 Exploring Operation: 7+14=21, Resulting Numbers: [54, 21] Generated Node #0,3,2: 44:[54, 21] Operation: 7+14=21 Exploring Operation: 54-7=47, Resulting Numbers: [14, 47] Generated Node #0,3,3: 44:[14, 47] Operation: 54-7=47 Exploring Operation: 14-7=7, Resulting Numbers: [54, 7] Generated Node #0,3,4: 44:[54, 7] Operation: 14-7=7 Moving to Node #0,1 Current State: 44:[48, 34, 47], Operations: ['54-7=47'] Exploring Operation: 47-34=13, Resulting Numbers: [48, 13] Generated Node #0,1,0: 44:[48, 13] Operation: 47-34=13 Exploring Operation: 34+47=81, Resulting Numbers: [48, 81] Generated Node #0,1,1: 44:[48, 81] Operation: 34+47=81 Exploring Operation: 48-47=1, Resulting Numbers: [34, 1] Generated Node #0,1,2: 44:[34, 1] Operation: 48-47=1 Exploring Operation: 48-34=14, Resulting Numbers: [47, 14] Generated Node #0,1,3: 44:[47, 14] Operation: 48-34=14 Exploring Operation: 48+34=82, Resulting Numbers: [47, 82] Generated Node #0,1,4: 44:[47, 82] Operation: 48+34=82 Moving to Node #0,4 Current State: 44:[54, 48, 41], Operations: ['7+34=41'] Exploring Operation: 54-48=6, Resulting Numbers: [41, 6] Generated Node #0,4,0: 44:[41, 6] Operation: 54-48=6 Exploring Operation: 54-41=13, Resulting Numbers: [48, 13] Generated Node #0,4,1: 44:[48, 13] Operation: 54-41=13 Exploring Operation: 48+41=89, Resulting Numbers: [54, 89] Generated Node #0,4,2: 44:[54, 89] Operation: 48+41=89 Exploring Operation: 48-41=7, Resulting Numbers: [54, 7] Generated Node #0,4,3: 44:[54, 7] Operation: 48-41=7 Exploring Operation: 54+41=95, Resulting Numbers: [48, 95] Generated Node #0,4,4: 44:[48, 95] Operation: 54+41=95 Moving to Node #0,4,0 Current State: 44:[41, 6], Operations: ['7+34=41', '54-48=6'] Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,44 unequal: No Solution Exploring Operation: 41*6=246, Resulting Numbers: [246] 246,44 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[48, 13], Operations: ['54-7=47', '47-34=13'] Exploring Operation: 48*13=624, Resulting Numbers: [624] 624,44 unequal: No Solution Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 48+13=61, Resulting Numbers: [61] 61,44 unequal: No Solution Moving to Node #0,1,3 Current State: 44:[47, 14], Operations: ['54-7=47', '48-34=14'] Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 47*14=658, Resulting Numbers: [658] 658,44 unequal: No Solution Exploring Operation: 47+14=61, Resulting Numbers: [61] 61,44 unequal: No Solution Moving to Node #0,4,1 Current State: 44:[48, 13], Operations: ['7+34=41', '54-41=13'] Exploring Operation: 48+13=61, Resulting Numbers: [61] 61,44 unequal: No Solution Exploring Operation: 48*13=624, Resulting Numbers: [624] 624,44 unequal: No Solution Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,44 unequal: No Solution Moving to Node #0,3,3 Current State: 44:[14, 47], Operations: ['48-34=14', '54-7=47'] Exploring Operation: 14*47=658, Resulting Numbers: [658] 658,44 unequal: No Solution Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 14+47=61, Resulting Numbers: [61] 61,44 unequal: No Solution Moving to Node #0,3,0 Current State: 44:[7, 40], Operations: ['48-34=14', '54-14=40'] Exploring Operation: 7*40=280, Resulting Numbers: [280] 280,44 unequal: No Solution Exploring Operation: 7+40=47, Resulting Numbers: [47] 47,44 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,44 unequal: No Solution Moving to Node #0,3,1 Current State: 44:[54, 2], Operations: ['48-34=14', '14/7=2'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,44 unequal: No Solution Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,44 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,44 unequal: No Solution Exploring Operation: 54*2=108, Resulting Numbers: [108] 108,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[54, 21], Operations: ['48-34=14', '7+14=21'] Exploring Operation: 54-21=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 54*21=1134, Resulting Numbers: [1134] 1134,44 unequal: No Solution Exploring Operation: 54+21=75, Resulting Numbers: [75] 75,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[34, 1], Operations: ['54-7=47', '48-47=1'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,44 unequal: No Solution Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,44 unequal: No Solution Moving to Node #0,4,3 Current State: 44:[54, 7], Operations: ['7+34=41', '48-41=7'] Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,44 unequal: No Solution Exploring Operation: 54+7=61, Resulting Numbers: [61] 61,44 unequal: No Solution Exploring Operation: 54*7=378, Resulting Numbers: [378] 378,44 unequal: No Solution Moving to Node #0,3,4 Current State: 44:[54, 7], Operations: ['48-34=14', '14-7=7'] Exploring Operation: 54+7=61, Resulting Numbers: [61] 61,44 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,44 unequal: No Solution Exploring Operation: 54*7=378, Resulting Numbers: [378] 378,44 unequal: No Solution Moving to Node #0,1,4 Current State: 44:[47, 82], Operations: ['54-7=47', '48+34=82'] Exploring Operation: 47+82=129, Resulting Numbers: [129] 129,44 unequal: No Solution Exploring Operation: 82-47=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 47*82=3854, Resulting Numbers: [3854] 3854,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[48, 81], Operations: ['54-7=47', '34+47=81'] Exploring Operation: 48+81=129, Resulting Numbers: [129] 129,44 unequal: No Solution Exploring Operation: 48*81=3888, Resulting Numbers: [3888] 3888,44 unequal: No Solution Exploring Operation: 81-48=33, Resulting Numbers: [33] 33,44 unequal: No Solution Moving to Node #0,4,2 Current State: 44:[54, 89], Operations: ['7+34=41', '48+41=89'] Exploring Operation: 89-54=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 54+89=143, Resulting Numbers: [143] 143,44 unequal: No Solution Exploring Operation: 54*89=4806, Resulting Numbers: [4806] 4806,44 unequal: No Solution Moving to Node #0,4,4 Current State: 44:[48, 95], Operations: ['7+34=41', '54+41=95'] Exploring Operation: 95-48=47, Resulting Numbers: [47] 47,44 unequal: No Solution Exploring Operation: 48+95=143, Resulting Numbers: [143] 143,44 unequal: No Solution Exploring Operation: 48*95=4560, Resulting Numbers: [4560] 4560,44 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 15, 51, 19, 56 ]
84
[ "15+19=34", "51*56=2856", "2856/34=84" ]
Current State: 84:[15, 51, 19, 56], Operations: [] Exploring Operation: 15+19=34, Resulting Numbers: [51, 56, 34] Generated Node #2: [51, 56, 34] from Operation: 15+19=34 Current State: 84:[51, 56, 34], Operations: ['15+19=34'] Exploring Operation: 51*56=2856, Resulting Numbers: [34, 2856] Generated Node #3: [34, 2856] from Operation: 51*56=2856 Current State: 84:[34, 2856], Operations: ['15+19=34', '51*56=2856'] Exploring Operation: 2856/34=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[15, 51, 19, 56], Operations: [] Exploring Operation: 51-19=32, Resulting Numbers: [15, 56, 32] Generated Node #0,0: 84:[15, 56, 32] Operation: 51-19=32 Exploring Operation: 56-15=41, Resulting Numbers: [51, 19, 41] Generated Node #0,1: 84:[51, 19, 41] Operation: 56-15=41 Exploring Operation: 56-51=5, Resulting Numbers: [15, 19, 5] Generated Node #0,2: 84:[15, 19, 5] Operation: 56-51=5 Exploring Operation: 56-19=37, Resulting Numbers: [15, 51, 37] Generated Node #0,3: 84:[15, 51, 37] Operation: 56-19=37 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[15, 19, 5], Operations: ['56-51=5'] Exploring Operation: 15/5=3, Resulting Numbers: [19, 3] Generated Node #0,2,0: 84:[19, 3] Operation: 15/5=3 Exploring Operation: 19-15=4, Resulting Numbers: [5, 4] Generated Node #0,2,1: 84:[5, 4] Operation: 19-15=4 Exploring Operation: 19-5=14, Resulting Numbers: [15, 14] Generated Node #0,2,2: 84:[15, 14] Operation: 19-5=14 Exploring Operation: 15+5=20, Resulting Numbers: [19, 20] Generated Node #0,2,3: 84:[19, 20] Operation: 15+5=20 Moving to Node #0,2,1 Current State: 84:[5, 4], Operations: ['56-51=5', '19-15=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,84 unequal: No Solution Moving to Node #0,2,2 Current State: 84:[15, 14], Operations: ['56-51=5', '19-5=14'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,84 unequal: No Solution Moving to Node #0,2,0 Current State: 84:[19, 3], Operations: ['56-51=5', '15/5=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,84 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,84 unequal: No Solution Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,84 unequal: No Solution Moving to Node #0,2,3 Current State: 84:[19, 20], Operations: ['56-51=5', '15+5=20'] Exploring Operation: 19*20=380, Resulting Numbers: [380] 380,84 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 19+20=39, Resulting Numbers: [39] 39,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:[51, 19, 41], Operations: ['56-15=41'] Exploring Operation: 41-19=22, Resulting Numbers: [51, 22] Generated Node #0,1,0: 84:[51, 22] Operation: 41-19=22 Exploring Operation: 51+41=92, Resulting Numbers: [19, 92] Generated Node #0,1,1: 84:[19, 92] Operation: 51+41=92 Exploring Operation: 51-19=32, Resulting Numbers: [41, 32] Generated Node #0,1,2: 84:[41, 32] Operation: 51-19=32 Exploring Operation: 51-41=10, Resulting Numbers: [19, 10] Generated Node #0,1,3: 84:[19, 10] Operation: 51-41=10 Moving to Node #0,1,3 Current State: 84:[19, 10], Operations: ['56-15=41', '51-41=10'] Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,84 unequal: No Solution Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[41, 32], Operations: ['56-15=41', '51-19=32'] Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,84 unequal: No Solution Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,84 unequal: No Solution Exploring Operation: 41*32=1312, Resulting Numbers: [1312] 1312,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[19, 92], Operations: ['56-15=41', '51+41=92'] Exploring Operation: 19*92=1748, Resulting Numbers: [1748] 1748,84 unequal: No Solution Exploring Operation: 19+92=111, Resulting Numbers: [111] 111,84 unequal: No Solution Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[51, 22], Operations: ['56-15=41', '41-19=22'] Exploring Operation: 51*22=1122, Resulting Numbers: [1122] 1122,84 unequal: No Solution Exploring Operation: 51+22=73, Resulting Numbers: [73] 73,84 unequal: No Solution Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,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,3 Current State: 84:[15, 51, 37], Operations: ['56-19=37'] Exploring Operation: 51-37=14, Resulting Numbers: [15, 14] Generated Node #0,3,0: 84:[15, 14] Operation: 51-37=14 Exploring Operation: 37-15=22, Resulting Numbers: [51, 22] Generated Node #0,3,1: 84:[51, 22] Operation: 37-15=22 Exploring Operation: 51-15=36, Resulting Numbers: [37, 36] Generated Node #0,3,2: 84:[37, 36] Operation: 51-15=36 Exploring Operation: 51+37=88, Resulting Numbers: [15, 88] Generated Node #0,3,3: 84:[15, 88] Operation: 51+37=88 Moving to Node #0,3,0 Current State: 84:[15, 14], Operations: ['56-19=37', '51-37=14'] Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,84 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,84 unequal: No Solution Moving to Node #0,3,3 Current State: 84:[15, 88], Operations: ['56-19=37', '51+37=88'] Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,84 unequal: No Solution Exploring Operation: 15+88=103, Resulting Numbers: [103] 103,84 unequal: No Solution Exploring Operation: 15*88=1320, Resulting Numbers: [1320] 1320,84 unequal: No Solution Moving to Node #0,3,1 Current State: 84:[51, 22], Operations: ['56-19=37', '37-15=22'] Exploring Operation: 51+22=73, Resulting Numbers: [73] 73,84 unequal: No Solution Exploring Operation: 51*22=1122, Resulting Numbers: [1122] 1122,84 unequal: No Solution Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,84 unequal: No Solution Moving to Node #0,3,2 Current State: 84:[37, 36], Operations: ['56-19=37', '51-15=36'] Exploring Operation: 37+36=73, Resulting Numbers: [73] 73,84 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 37*36=1332, Resulting Numbers: [1332] 1332,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[15, 56, 32], Operations: ['51-19=32'] Exploring Operation: 15+56=71, Resulting Numbers: [32, 71] Generated Node #0,0,0: 84:[32, 71] Operation: 15+56=71 Exploring Operation: 56-32=24, Resulting Numbers: [15, 24] Generated Node #0,0,1: 84:[15, 24] Operation: 56-32=24 Exploring Operation: 56+32=88, Resulting Numbers: [15, 88] Generated Node #0,0,2: 84:[15, 88] Operation: 56+32=88 Exploring Operation: 56-15=41, Resulting Numbers: [32, 41] Generated Node #0,0,3: 84:[32, 41] Operation: 56-15=41 Moving to Node #0,0,1 Current State: 84:[15, 24], Operations: ['51-19=32', '56-32=24'] Exploring Operation: 15*24=360, Resulting Numbers: [360] 360,84 unequal: No Solution Exploring Operation: 15+24=39, Resulting Numbers: [39] 39,84 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,84 unequal: No Solution Moving to Node #0,0,3 Current State: 84:[32, 41], Operations: ['51-19=32', '56-15=41'] Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,84 unequal: No Solution Exploring Operation: 32+41=73, Resulting Numbers: [73] 73,84 unequal: No Solution Exploring Operation: 32*41=1312, Resulting Numbers: [1312] 1312,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[15, 88], Operations: ['51-19=32', '56+32=88'] Exploring Operation: 15+88=103, Resulting Numbers: [103] 103,84 unequal: No Solution Exploring Operation: 15*88=1320, Resulting Numbers: [1320] 1320,84 unequal: No Solution Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[32, 71], Operations: ['51-19=32', '15+56=71'] Exploring Operation: 32+71=103, Resulting Numbers: [103] 103,84 unequal: No Solution Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,84 unequal: No Solution Exploring Operation: 32*71=2272, Resulting Numbers: [2272] 2272,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 6, 76, 13, 75 ]
73
[ "6*13=78", "76+75=151", "151-78=73" ]
Current State: 73:[6, 76, 13, 75], Operations: [] Exploring Operation: 6*13=78, Resulting Numbers: [76, 75, 78] Generated Node #2: [76, 75, 78] from Operation: 6*13=78 Current State: 73:[76, 75, 78], Operations: ['6*13=78'] Exploring Operation: 76+75=151, Resulting Numbers: [78, 151] Generated Node #3: [78, 151] from Operation: 76+75=151 Current State: 73:[78, 151], Operations: ['6*13=78', '76+75=151'] Exploring Operation: 151-78=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[6, 76, 13, 75], Operations: [] Exploring Operation: 76-6=70, Resulting Numbers: [13, 75, 70] Generated Node #0,0: 73:[13, 75, 70] Operation: 76-6=70 Exploring Operation: 75-6=69, Resulting Numbers: [76, 13, 69] Generated Node #0,1: 73:[76, 13, 69] Operation: 75-6=69 Exploring Operation: 6+13=19, Resulting Numbers: [76, 75, 19] Generated Node #0,2: 73:[76, 75, 19] Operation: 6+13=19 Exploring Operation: 6*13=78, Resulting Numbers: [76, 75, 78] Generated Node #0,3: 73:[76, 75, 78] Operation: 6*13=78 Start Sub Search at level 1: Moving to Node #0,3 Current State: 73:[76, 75, 78], Operations: ['6*13=78'] Exploring Operation: 78-76=2, Resulting Numbers: [75, 2] Generated Node #0,3,0: 73:[75, 2] Operation: 78-76=2 Exploring Operation: 76+75=151, Resulting Numbers: [78, 151] Generated Node #0,3,1: 73:[78, 151] Operation: 76+75=151 Exploring Operation: 78-75=3, Resulting Numbers: [76, 3] Generated Node #0,3,2: 73:[76, 3] Operation: 78-75=3 Exploring Operation: 76-75=1, Resulting Numbers: [78, 1] Generated Node #0,3,3: 73:[78, 1] Operation: 76-75=1 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 73:[75, 2], Operations: ['6*13=78', '78-76=2'] Exploring Operation: 75+2=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 75*2=150, Resulting Numbers: [150] 150,73 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[6, 76, 13, 75], Operations: [] Exploring Operation: 6*13=78, Resulting Numbers: [76, 75, 78] Generated Node #0,3: 73:[76, 75, 78] Operation: 6*13=78 Moving to Node #0,3 Current State: 73:[76, 75, 78], Operations: ['6*13=78'] Exploring Operation: 78-76=2, Resulting Numbers: [75, 2] Generated Node #0,3,0: 73:[75, 2] Operation: 78-76=2 Moving to Node #0,3,0 Current State: 73:[75, 2], Operations: ['6*13=78', '78-76=2'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 58, 41, 69, 4 ]
56
[ "58-41=17", "69+4=73", "73-17=56" ]
Current State: 56:[58, 41, 69, 4], Operations: [] Exploring Operation: 58-41=17, Resulting Numbers: [69, 4, 17] Generated Node #2: [69, 4, 17] from Operation: 58-41=17 Current State: 56:[69, 4, 17], Operations: ['58-41=17'] Exploring Operation: 69+4=73, Resulting Numbers: [17, 73] Generated Node #3: [17, 73] from Operation: 69+4=73 Current State: 56:[17, 73], Operations: ['58-41=17', '69+4=73'] Exploring Operation: 73-17=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[58, 41, 69, 4], Operations: [] Exploring Operation: 69-41=28, Resulting Numbers: [58, 4, 28] Generated Node #0,0: 56:[58, 4, 28] Operation: 69-41=28 Exploring Operation: 58-41=17, Resulting Numbers: [69, 4, 17] Generated Node #0,1: 56:[69, 4, 17] Operation: 58-41=17 Exploring Operation: 69-58=11, Resulting Numbers: [41, 4, 11] Generated Node #0,2: 56:[41, 4, 11] Operation: 69-58=11 Exploring Operation: 41-4=37, Resulting Numbers: [58, 69, 37] Generated Node #0,3: 56:[58, 69, 37] Operation: 41-4=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[58, 4, 28], Operations: ['69-41=28'] Exploring Operation: 58-28=30, Resulting Numbers: [4, 30] Generated Node #0,0,0: 56:[4, 30] Operation: 58-28=30 Exploring Operation: 58-4=54, Resulting Numbers: [28, 54] Generated Node #0,0,1: 56:[28, 54] Operation: 58-4=54 Exploring Operation: 28/4=7, Resulting Numbers: [58, 7] Generated Node #0,0,2: 56:[58, 7] Operation: 28/4=7 Exploring Operation: 58+4=62, Resulting Numbers: [28, 62] Generated Node #0,0,3: 56:[28, 62] Operation: 58+4=62 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[4, 30], Operations: ['69-41=28', '58-28=30'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,56 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 56:[28, 54], Operations: ['69-41=28', '58-4=54'] Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,56 unequal: No Solution Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 56:[58, 7], Operations: ['69-41=28', '28/4=7'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,56 unequal: No Solution Exploring Operation: 58*7=406, Resulting Numbers: [406] 406,56 unequal: No Solution Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 56:[28, 62], Operations: ['69-41=28', '58+4=62'] Exploring Operation: 28+62=90, Resulting Numbers: [90] 90,56 unequal: No Solution Exploring Operation: 28*62=1736, Resulting Numbers: [1736] 1736,56 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[69, 4, 17], Operations: ['58-41=17'] Exploring Operation: 69-4=65, Resulting Numbers: [17, 65] Generated Node #0,1,0: 56:[17, 65] Operation: 69-4=65 Exploring Operation: 17-4=13, Resulting Numbers: [69, 13] Generated Node #0,1,1: 56:[69, 13] Operation: 17-4=13 Exploring Operation: 69-17=52, Resulting Numbers: [4, 52] Generated Node #0,1,2: 56:[4, 52] Operation: 69-17=52 Exploring Operation: 69+4=73, Resulting Numbers: [17, 73] Generated Node #0,1,3: 56:[17, 73] Operation: 69+4=73 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 56:[4, 52], Operations: ['58-41=17', '69-17=52'] Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[58, 41, 69, 4], Operations: [] Exploring Operation: 58-41=17, Resulting Numbers: [69, 4, 17] Generated Node #0,1: 56:[69, 4, 17] Operation: 58-41=17 Moving to Node #0,1 Current State: 56:[69, 4, 17], Operations: ['58-41=17'] Exploring Operation: 69-17=52, Resulting Numbers: [4, 52] Generated Node #0,1,2: 56:[4, 52] Operation: 69-17=52 Moving to Node #0,1,2 Current State: 56:[4, 52], Operations: ['58-41=17', '69-17=52'] Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.974826
hs_4
mult_heuristic
[ 83, 85, 19, 80 ]
42
[ "85-83=2", "19*2=38", "80-38=42" ]
Current State: 42:[83, 85, 19, 80], Operations: [] Exploring Operation: 85-83=2, Resulting Numbers: [19, 80, 2] Generated Node #2: [19, 80, 2] from Operation: 85-83=2 Current State: 42:[19, 80, 2], Operations: ['85-83=2'] Exploring Operation: 19*2=38, Resulting Numbers: [80, 38] Generated Node #3: [80, 38] from Operation: 19*2=38 Current State: 42:[80, 38], Operations: ['85-83=2', '19*2=38'] Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[83, 85, 19, 80], Operations: [] Exploring Operation: 85-83=2, Resulting Numbers: [19, 80, 2] Generated Node #0,0: 42:[19, 80, 2] Operation: 85-83=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[19, 80, 2], Operations: ['85-83=2'] Exploring Operation: 80/2=40, Resulting Numbers: [19, 40] Generated Node #0,0,0: 42:[19, 40] Operation: 80/2=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[19, 40], Operations: ['85-83=2', '80/2=40'] Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,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_1
sum_heuristic
[ 73, 26, 13, 52 ]
69
[ "26-13=13", "52/13=4", "73-4=69" ]
Current State: 69:[73, 26, 13, 52], Operations: [] Exploring Operation: 26-13=13, Resulting Numbers: [73, 52, 13] Generated Node #2: [73, 52, 13] from Operation: 26-13=13 Current State: 69:[73, 52, 13], Operations: ['26-13=13'] Exploring Operation: 52/13=4, Resulting Numbers: [73, 4] Generated Node #3: [73, 4] from Operation: 52/13=4 Current State: 69:[73, 4], Operations: ['26-13=13', '52/13=4'] Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[73, 26, 13, 52], Operations: [] Exploring Operation: 13+52=65, Resulting Numbers: [73, 26, 65] Generated Node #0,0: 69:[73, 26, 65] Operation: 13+52=65 Exploring Operation: 52/26=2, Resulting Numbers: [73, 13, 2] Generated Node #0,1: 69:[73, 13, 2] Operation: 52/26=2 Exploring Operation: 52/13=4, Resulting Numbers: [73, 26, 4] Generated Node #0,2: 69:[73, 26, 4] Operation: 52/13=4 Exploring Operation: 73-52=21, Resulting Numbers: [26, 13, 21] Generated Node #0,3: 69:[26, 13, 21] Operation: 73-52=21 Moving to Node #0,2 Current State: 69:[73, 26, 4], Operations: ['52/13=4'] Exploring Operation: 26+4=30, Resulting Numbers: [73, 30] Generated Node #0,2,0: 69:[73, 30] Operation: 26+4=30 Exploring Operation: 73+4=77, Resulting Numbers: [26, 77] Generated Node #0,2,1: 69:[26, 77] Operation: 73+4=77 Exploring Operation: 73-4=69, Resulting Numbers: [26, 69] Generated Node #0,2,2: 69:[26, 69] Operation: 73-4=69 Exploring Operation: 26-4=22, Resulting Numbers: [73, 22] Generated Node #0,2,3: 69:[73, 22] Operation: 26-4=22 Moving to Node #0,0 Current State: 69:[73, 26, 65], Operations: ['13+52=65'] Exploring Operation: 65-26=39, Resulting Numbers: [73, 39] Generated Node #0,0,0: 69:[73, 39] Operation: 65-26=39 Exploring Operation: 26+65=91, Resulting Numbers: [73, 91] Generated Node #0,0,1: 69:[73, 91] Operation: 26+65=91 Exploring Operation: 73-26=47, Resulting Numbers: [65, 47] Generated Node #0,0,2: 69:[65, 47] Operation: 73-26=47 Exploring Operation: 73-65=8, Resulting Numbers: [26, 8] Generated Node #0,0,3: 69:[26, 8] Operation: 73-65=8 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 69:[26, 8], Operations: ['13+52=65', '73-65=8'] Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,69 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 26*8=208, Resulting Numbers: [208] 208,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,0 Current State: 69:[73, 39], Operations: ['13+52=65', '65-26=39'] Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,69 unequal: No Solution Exploring Operation: 73+39=112, Resulting Numbers: [112] 112,69 unequal: No Solution Exploring Operation: 73*39=2847, Resulting Numbers: [2847] 2847,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:[73, 91], Operations: ['13+52=65', '26+65=91'] Exploring Operation: 73+91=164, Resulting Numbers: [164] 164,69 unequal: No Solution Exploring Operation: 91-73=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 73*91=6643, Resulting Numbers: [6643] 6643,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,2 Current State: 69:[65, 47], Operations: ['13+52=65', '73-26=47'] Exploring Operation: 65+47=112, Resulting Numbers: [112] 112,69 unequal: No Solution Exploring Operation: 65-47=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 65*47=3055, Resulting Numbers: [3055] 3055,69 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: 69:[26, 13, 21], Operations: ['73-52=21'] Exploring Operation: 26-21=5, Resulting Numbers: [13, 5] Generated Node #0,3,0: 69:[13, 5] Operation: 26-21=5 Exploring Operation: 26-13=13, Resulting Numbers: [21, 13] Generated Node #0,3,1: 69:[21, 13] Operation: 26-13=13 Exploring Operation: 26/13=2, Resulting Numbers: [21, 2] Generated Node #0,3,2: 69:[21, 2] Operation: 26/13=2 Exploring Operation: 21-13=8, Resulting Numbers: [26, 8] Generated Node #0,3,3: 69:[26, 8] Operation: 21-13=8 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 69:[21, 2], Operations: ['73-52=21', '26/13=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,69 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,69 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 69:[26, 8], Operations: ['73-52=21', '21-13=8'] Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,69 unequal: No Solution Exploring Operation: 26*8=208, Resulting Numbers: [208] 208,69 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 69:[13, 5], Operations: ['73-52=21', '26-21=5'] Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,69 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 69:[21, 13], Operations: ['73-52=21', '26-13=13'] Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 21+13=34, Resulting Numbers: [34] 34,69 unequal: No Solution Exploring Operation: 21*13=273, Resulting Numbers: [273] 273,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:[73, 13, 2], Operations: ['52/26=2'] Exploring Operation: 73-2=71, Resulting Numbers: [13, 71] Generated Node #0,1,0: 69:[13, 71] Operation: 73-2=71 Exploring Operation: 73-13=60, Resulting Numbers: [2, 60] Generated Node #0,1,1: 69:[2, 60] Operation: 73-13=60 Exploring Operation: 13*2=26, Resulting Numbers: [73, 26] Generated Node #0,1,2: 69:[73, 26] Operation: 13*2=26 Exploring Operation: 13+2=15, Resulting Numbers: [73, 15] Generated Node #0,1,3: 69:[73, 15] Operation: 13+2=15 Moving to Node #0,2,2 Current State: 69:[26, 69], Operations: ['52/13=4', '73-4=69'] Exploring Operation: 26*69=1794, Resulting Numbers: [1794] 1794,69 unequal: No Solution Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,69 unequal: No Solution Exploring Operation: 26+69=95, Resulting Numbers: [95] 95,69 unequal: No Solution Moving to Node #0,2,3 Current State: 69:[73, 22], Operations: ['52/13=4', '26-4=22'] Exploring Operation: 73*22=1606, Resulting Numbers: [1606] 1606,69 unequal: No Solution Exploring Operation: 73-22=51, Resulting Numbers: [51] 51,69 unequal: No Solution Exploring Operation: 73+22=95, Resulting Numbers: [95] 95,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[73, 26], Operations: ['52/26=2', '13*2=26'] Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,69 unequal: No Solution Exploring Operation: 73+26=99, Resulting Numbers: [99] 99,69 unequal: No Solution Exploring Operation: 73*26=1898, Resulting Numbers: [1898] 1898,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[2, 60], Operations: ['52/26=2', '73-13=60'] Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,69 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 2*60=120, Resulting Numbers: [120] 120,69 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[73, 30], Operations: ['52/13=4', '26+4=30'] Exploring Operation: 73*30=2190, Resulting Numbers: [2190] 2190,69 unequal: No Solution Exploring Operation: 73+30=103, Resulting Numbers: [103] 103,69 unequal: No Solution Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[26, 77], Operations: ['52/13=4', '73+4=77'] Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,69 unequal: No Solution Exploring Operation: 26+77=103, Resulting Numbers: [103] 103,69 unequal: No Solution Exploring Operation: 26*77=2002, Resulting Numbers: [2002] 2002,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[13, 71], Operations: ['52/26=2', '73-2=71'] Exploring Operation: 13*71=923, Resulting Numbers: [923] 923,69 unequal: No Solution Exploring Operation: 13+71=84, Resulting Numbers: [84] 84,69 unequal: No Solution Exploring Operation: 71-13=58, Resulting Numbers: [58] 58,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[73, 15], Operations: ['52/26=2', '13+2=15'] Exploring Operation: 73*15=1095, Resulting Numbers: [1095] 1095,69 unequal: No Solution Exploring Operation: 73+15=88, Resulting Numbers: [88] 88,69 unequal: No Solution Exploring Operation: 73-15=58, Resulting Numbers: [58] 58,69 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 28, 50, 9, 53 ]
40
[ "50-28=22", "9+53=62", "62-22=40" ]
Current State: 40:[28, 50, 9, 53], Operations: [] Exploring Operation: 50-28=22, Resulting Numbers: [9, 53, 22] Generated Node #2: [9, 53, 22] from Operation: 50-28=22 Current State: 40:[9, 53, 22], Operations: ['50-28=22'] Exploring Operation: 9+53=62, Resulting Numbers: [22, 62] Generated Node #3: [22, 62] from Operation: 9+53=62 Current State: 40:[22, 62], Operations: ['50-28=22', '9+53=62'] Exploring Operation: 62-22=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[28, 50, 9, 53], Operations: [] Exploring Operation: 53-9=44, Resulting Numbers: [28, 50, 44] Generated Node #0,0: 40:[28, 50, 44] Operation: 53-9=44 Exploring Operation: 53-28=25, Resulting Numbers: [50, 9, 25] Generated Node #0,1: 40:[50, 9, 25] Operation: 53-28=25 Exploring Operation: 53-50=3, Resulting Numbers: [28, 9, 3] Generated Node #0,2: 40:[28, 9, 3] Operation: 53-50=3 Exploring Operation: 50-9=41, Resulting Numbers: [28, 53, 41] Generated Node #0,3: 40:[28, 53, 41] Operation: 50-9=41 Exploring Operation: 50-28=22, Resulting Numbers: [9, 53, 22] Generated Node #0,4: 40:[9, 53, 22] Operation: 50-28=22 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[28, 9, 3], Operations: ['53-50=3'] Exploring Operation: 9-3=6, Resulting Numbers: [28, 6] Generated Node #0,2,0: 40:[28, 6] Operation: 9-3=6 Exploring Operation: 28-3=25, Resulting Numbers: [9, 25] Generated Node #0,2,1: 40:[9, 25] Operation: 28-3=25 Exploring Operation: 28-9=19, Resulting Numbers: [3, 19] Generated Node #0,2,2: 40:[3, 19] Operation: 28-9=19 Exploring Operation: 9/3=3, Resulting Numbers: [28, 3] Generated Node #0,2,3: 40:[28, 3] Operation: 9/3=3 Exploring Operation: 28+9=37, Resulting Numbers: [3, 37] Generated Node #0,2,4: 40:[3, 37] Operation: 28+9=37 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 40:[3, 19], Operations: ['53-50=3', '28-9=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,40 unequal: No Solution Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,40 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 40:[3, 37], Operations: ['53-50=3', '28+9=37'] Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[28, 50, 9, 53], Operations: [] Exploring Operation: 53-50=3, Resulting Numbers: [28, 9, 3] Generated Node #0,2: 40:[28, 9, 3] Operation: 53-50=3 Moving to Node #0,2 Current State: 40:[28, 9, 3], Operations: ['53-50=3'] Exploring Operation: 28+9=37, Resulting Numbers: [3, 37] Generated Node #0,2,4: 40:[3, 37] Operation: 28+9=37 Moving to Node #0,2,4 Current State: 40:[3, 37], Operations: ['53-50=3', '28+9=37'] Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 62, 3, 2, 90 ]
34
[ "62+2=64", "90/3=30", "64-30=34" ]
Current State: 34:[62, 3, 2, 90], Operations: [] Exploring Operation: 62+2=64, Resulting Numbers: [3, 90, 64] Generated Node #2: [3, 90, 64] from Operation: 62+2=64 Current State: 34:[3, 90, 64], Operations: ['62+2=64'] Exploring Operation: 90/3=30, Resulting Numbers: [64, 30] Generated Node #3: [64, 30] from Operation: 90/3=30 Current State: 34:[64, 30], Operations: ['62+2=64', '90/3=30'] Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[62, 3, 2, 90], Operations: [] Exploring Operation: 62/2=31, Resulting Numbers: [3, 90, 31] Generated Node #0,0: 34:[3, 90, 31] Operation: 62/2=31 Exploring Operation: 90/2=45, Resulting Numbers: [62, 3, 45] Generated Node #0,1: 34:[62, 3, 45] Operation: 90/2=45 Exploring Operation: 90-62=28, Resulting Numbers: [3, 2, 28] Generated Node #0,2: 34:[3, 2, 28] Operation: 90-62=28 Exploring Operation: 90/3=30, Resulting Numbers: [62, 2, 30] Generated Node #0,3: 34:[62, 2, 30] Operation: 90/3=30 Moving to Node #0,2 Current State: 34:[3, 2, 28], Operations: ['90-62=28'] Exploring Operation: 28/2=14, Resulting Numbers: [3, 14] Generated Node #0,2,0: 34:[3, 14] Operation: 28/2=14 Exploring Operation: 3+28=31, Resulting Numbers: [2, 31] Generated Node #0,2,1: 34:[2, 31] Operation: 3+28=31 Exploring Operation: 3-2=1, Resulting Numbers: [28, 1] Generated Node #0,2,2: 34:[28, 1] Operation: 3-2=1 Exploring Operation: 2+28=30, Resulting Numbers: [3, 30] Generated Node #0,2,3: 34:[3, 30] Operation: 2+28=30 Moving to Node #0,3 Current State: 34:[62, 2, 30], Operations: ['90/3=30'] Exploring Operation: 62-30=32, Resulting Numbers: [2, 32] Generated Node #0,3,0: 34:[2, 32] Operation: 62-30=32 Exploring Operation: 2+30=32, Resulting Numbers: [62, 32] Generated Node #0,3,1: 34:[62, 32] Operation: 2+30=32 Exploring Operation: 62-2=60, Resulting Numbers: [30, 60] Generated Node #0,3,2: 34:[30, 60] Operation: 62-2=60 Exploring Operation: 62/2=31, Resulting Numbers: [30, 31] Generated Node #0,3,3: 34:[30, 31] Operation: 62/2=31 Moving to Node #0,1 Current State: 34:[62, 3, 45], Operations: ['90/2=45'] Exploring Operation: 62-3=59, Resulting Numbers: [45, 59] Generated Node #0,1,0: 34:[45, 59] Operation: 62-3=59 Exploring Operation: 45-3=42, Resulting Numbers: [62, 42] Generated Node #0,1,1: 34:[62, 42] Operation: 45-3=42 Exploring Operation: 62-45=17, Resulting Numbers: [3, 17] Generated Node #0,1,2: 34:[3, 17] Operation: 62-45=17 Exploring Operation: 45/3=15, Resulting Numbers: [62, 15] Generated Node #0,1,3: 34:[62, 15] Operation: 45/3=15 Moving to Node #0,0 Current State: 34:[3, 90, 31], Operations: ['62/2=31'] Exploring Operation: 90-31=59, Resulting Numbers: [3, 59] Generated Node #0,0,0: 34:[3, 59] Operation: 90-31=59 Exploring Operation: 90-3=87, Resulting Numbers: [31, 87] Generated Node #0,0,1: 34:[31, 87] Operation: 90-3=87 Exploring Operation: 90/3=30, Resulting Numbers: [31, 30] Generated Node #0,0,2: 34:[31, 30] Operation: 90/3=30 Exploring Operation: 3+31=34, Resulting Numbers: [90, 34] Generated Node #0,0,3: 34:[90, 34] Operation: 3+31=34 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 34:[31, 30], Operations: ['62/2=31', '90/3=30'] Exploring Operation: 31+30=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 31*30=930, Resulting Numbers: [930] 930,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[3, 59], Operations: ['62/2=31', '90-31=59'] Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,34 unequal: No Solution Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,34 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[31, 87], Operations: ['62/2=31', '90-3=87'] Exploring Operation: 87-31=56, Resulting Numbers: [56] 56,34 unequal: No Solution Exploring Operation: 31+87=118, Resulting Numbers: [118] 118,34 unequal: No Solution Exploring Operation: 31*87=2697, Resulting Numbers: [2697] 2697,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 34:[90, 34], Operations: ['62/2=31', '3+31=34'] Exploring Operation: 90+34=124, Resulting Numbers: [124] 124,34 unequal: No Solution Exploring Operation: 90*34=3060, Resulting Numbers: [3060] 3060,34 unequal: No Solution Exploring Operation: 90-34=56, Resulting Numbers: [56] 56,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 34:[3, 17], Operations: ['90/2=45', '62-45=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,34 unequal: No Solution Moving to Node #0,3,0 Current State: 34:[2, 32], Operations: ['90/3=30', '62-30=32'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[62, 3, 2, 90], Operations: [] Exploring Operation: 90/3=30, Resulting Numbers: [62, 2, 30] Generated Node #0,3: 34:[62, 2, 30] Operation: 90/3=30 Moving to Node #0,3 Current State: 34:[62, 2, 30], Operations: ['90/3=30'] Exploring Operation: 62-30=32, Resulting Numbers: [2, 32] Generated Node #0,3,0: 34:[2, 32] Operation: 62-30=32 Moving to Node #0,3,0 Current State: 34:[2, 32], Operations: ['90/3=30', '62-30=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.963542
hs_4
mult_heuristic
[ 63, 4, 30, 3 ]
19
[ "4*30=120", "120-63=57", "57/3=19" ]
Current State: 19:[63, 4, 30, 3], Operations: [] Exploring Operation: 4*30=120, Resulting Numbers: [63, 3, 120] Generated Node #2: [63, 3, 120] from Operation: 4*30=120 Current State: 19:[63, 3, 120], Operations: ['4*30=120'] Exploring Operation: 120-63=57, Resulting Numbers: [3, 57] Generated Node #3: [3, 57] from Operation: 120-63=57 Current State: 19:[3, 57], Operations: ['4*30=120', '120-63=57'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[63, 4, 30, 3], Operations: [] Exploring Operation: 63/3=21, Resulting Numbers: [4, 30, 21] Generated Node #0,0: 19:[4, 30, 21] Operation: 63/3=21 Exploring Operation: 63-30=33, Resulting Numbers: [4, 3, 33] Generated Node #0,1: 19:[4, 3, 33] Operation: 63-30=33 Moving to Node #0,0 Current State: 19:[4, 30, 21], Operations: ['63/3=21'] Exploring Operation: 30-4=26, Resulting Numbers: [21, 26] Generated Node #0,0,0: 19:[21, 26] Operation: 30-4=26 Exploring Operation: 21-4=17, Resulting Numbers: [30, 17] Generated Node #0,0,1: 19:[30, 17] Operation: 21-4=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[21, 26], Operations: ['63/3=21', '30-4=26'] Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 19:[30, 17], Operations: ['63/3=21', '21-4=17'] Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,19 unequal: No Solution Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 19:[4, 3, 33], Operations: ['63-30=33'] Exploring Operation: 33/3=11, Resulting Numbers: [4, 11] Generated Node #0,1,0: 19:[4, 11] Operation: 33/3=11 Exploring Operation: 4*3=12, Resulting Numbers: [33, 12] Generated Node #0,1,1: 19:[33, 12] Operation: 4*3=12 Moving to Node #0,1,1 Current State: 19:[33, 12], Operations: ['63-30=33', '4*3=12'] Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,19 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[4, 11], Operations: ['63-30=33', '33/3=11'] Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,19 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 13, 20, 88, 17 ]
83
[ "17-13=4", "20/4=5", "88-5=83" ]
Current State: 83:[13, 20, 88, 17], Operations: [] Exploring Operation: 17-13=4, Resulting Numbers: [20, 88, 4] Generated Node #2: [20, 88, 4] from Operation: 17-13=4 Current State: 83:[20, 88, 4], Operations: ['17-13=4'] Exploring Operation: 20/4=5, Resulting Numbers: [88, 5] Generated Node #3: [88, 5] from Operation: 20/4=5 Current State: 83:[88, 5], Operations: ['17-13=4', '20/4=5'] Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[13, 20, 88, 17], Operations: [] Exploring Operation: 13+20=33, Resulting Numbers: [88, 17, 33] Generated Node #0,0: 83:[88, 17, 33] Operation: 13+20=33 Moving to Node #0,0 Current State: 83:[88, 17, 33], Operations: ['13+20=33'] Exploring Operation: 17+33=50, Resulting Numbers: [88, 50] Generated Node #0,0,0: 83:[88, 50] Operation: 17+33=50 Moving to Node #0,0,0 Current State: 83:[88, 50], Operations: ['13+20=33', '17+33=50'] Exploring Operation: 88-50=38, Resulting Numbers: [38] 38,83 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 39, 58, 22, 91 ]
84
[ "58-22=36", "91*36=3276", "3276/39=84" ]
Current State: 84:[39, 58, 22, 91], Operations: [] Exploring Operation: 58-22=36, Resulting Numbers: [39, 91, 36] Generated Node #2: [39, 91, 36] from Operation: 58-22=36 Current State: 84:[39, 91, 36], Operations: ['58-22=36'] Exploring Operation: 91*36=3276, Resulting Numbers: [39, 3276] Generated Node #3: [39, 3276] from Operation: 91*36=3276 Current State: 84:[39, 3276], Operations: ['58-22=36', '91*36=3276'] Exploring Operation: 3276/39=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[39, 58, 22, 91], Operations: [] Exploring Operation: 58-39=19, Resulting Numbers: [22, 91, 19] Generated Node #0,0: 84:[22, 91, 19] Operation: 58-39=19 Exploring Operation: 91-58=33, Resulting Numbers: [39, 22, 33] Generated Node #0,1: 84:[39, 22, 33] Operation: 91-58=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[39, 22, 33], Operations: ['91-58=33'] Exploring Operation: 39-33=6, Resulting Numbers: [22, 6] Generated Node #0,1,0: 84:[22, 6] Operation: 39-33=6 Exploring Operation: 33-22=11, Resulting Numbers: [39, 11] Generated Node #0,1,1: 84:[39, 11] Operation: 33-22=11 Moving to Node #0,1,0 Current State: 84:[22, 6], Operations: ['91-58=33', '39-33=6'] Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,84 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[39, 11], Operations: ['91-58=33', '33-22=11'] Exploring Operation: 39+11=50, Resulting Numbers: [50] 50,84 unequal: No Solution Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[22, 91, 19], Operations: ['58-39=19'] Exploring Operation: 22-19=3, Resulting Numbers: [91, 3] Generated Node #0,0,0: 84:[91, 3] Operation: 22-19=3 Exploring Operation: 22+19=41, Resulting Numbers: [91, 41] Generated Node #0,0,1: 84:[91, 41] Operation: 22+19=41 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[91, 3], Operations: ['58-39=19', '22-19=3'] Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,84 unequal: No Solution Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[91, 41], Operations: ['58-39=19', '22+19=41'] Exploring Operation: 91-41=50, Resulting Numbers: [50] 50,84 unequal: No Solution Exploring Operation: 91+41=132, Resulting Numbers: [132] 132,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 48, 52, 64, 91 ]
64
[ "48+64=112", "52*112=5824", "5824/91=64" ]
Current State: 64:[48, 52, 64, 91], Operations: [] Exploring Operation: 48+64=112, Resulting Numbers: [52, 91, 112] Generated Node #2: [52, 91, 112] from Operation: 48+64=112 Current State: 64:[52, 91, 112], Operations: ['48+64=112'] Exploring Operation: 52*112=5824, Resulting Numbers: [91, 5824] Generated Node #3: [91, 5824] from Operation: 52*112=5824 Current State: 64:[91, 5824], Operations: ['48+64=112', '52*112=5824'] Exploring Operation: 5824/91=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[48, 52, 64, 91], Operations: [] Exploring Operation: 91-52=39, Resulting Numbers: [48, 64, 39] Generated Node #0,0: 64:[48, 64, 39] Operation: 91-52=39 Exploring Operation: 91-48=43, Resulting Numbers: [52, 64, 43] Generated Node #0,1: 64:[52, 64, 43] Operation: 91-48=43 Exploring Operation: 52-48=4, Resulting Numbers: [64, 91, 4] Generated Node #0,2: 64:[64, 91, 4] Operation: 52-48=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[48, 64, 39], Operations: ['91-52=39'] Exploring Operation: 64-48=16, Resulting Numbers: [39, 16] Generated Node #0,0,0: 64:[39, 16] Operation: 64-48=16 Exploring Operation: 48-39=9, Resulting Numbers: [64, 9] Generated Node #0,0,1: 64:[64, 9] Operation: 48-39=9 Exploring Operation: 48+39=87, Resulting Numbers: [64, 87] Generated Node #0,0,2: 64:[64, 87] Operation: 48+39=87 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 64:[64, 9], Operations: ['91-52=39', '48-39=9'] Exploring Operation: 64*9=576, Resulting Numbers: [576] 576,64 unequal: No Solution Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,64 unequal: No Solution Exploring Operation: 64+9=73, Resulting Numbers: [73] 73,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 64:[39, 16], Operations: ['91-52=39', '64-48=16'] Exploring Operation: 39*16=624, Resulting Numbers: [624] 624,64 unequal: No Solution Exploring Operation: 39+16=55, Resulting Numbers: [55] 55,64 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 64:[64, 87], Operations: ['91-52=39', '48+39=87'] Exploring Operation: 64*87=5568, Resulting Numbers: [5568] 5568,64 unequal: No Solution Exploring Operation: 64+87=151, Resulting Numbers: [151] 151,64 unequal: No Solution Exploring Operation: 87-64=23, Resulting Numbers: [23] 23,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[52, 64, 43], Operations: ['91-48=43'] Exploring Operation: 64-52=12, Resulting Numbers: [43, 12] Generated Node #0,1,0: 64:[43, 12] Operation: 64-52=12 Exploring Operation: 52-43=9, Resulting Numbers: [64, 9] Generated Node #0,1,1: 64:[64, 9] Operation: 52-43=9 Exploring Operation: 64-43=21, Resulting Numbers: [52, 21] Generated Node #0,1,2: 64:[52, 21] Operation: 64-43=21 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[64, 9], Operations: ['91-48=43', '52-43=9'] Exploring Operation: 64+9=73, Resulting Numbers: [73] 73,64 unequal: No Solution Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,64 unequal: No Solution Exploring Operation: 64*9=576, Resulting Numbers: [576] 576,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 64:[43, 12], Operations: ['91-48=43', '64-52=12'] Exploring Operation: 43*12=516, Resulting Numbers: [516] 516,64 unequal: No Solution Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,64 unequal: No Solution Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 64:[52, 21], Operations: ['91-48=43', '64-43=21'] Exploring Operation: 52+21=73, Resulting Numbers: [73] 73,64 unequal: No Solution Exploring Operation: 52*21=1092, Resulting Numbers: [1092] 1092,64 unequal: No Solution Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[64, 91, 4], Operations: ['52-48=4'] Exploring Operation: 91-64=27, Resulting Numbers: [4, 27] Generated Node #0,2,0: 64:[4, 27] Operation: 91-64=27 Exploring Operation: 91-4=87, Resulting Numbers: [64, 87] Generated Node #0,2,1: 64:[64, 87] Operation: 91-4=87 Exploring Operation: 64/4=16, Resulting Numbers: [91, 16] Generated Node #0,2,2: 64:[91, 16] Operation: 64/4=16 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 64:[4, 27], Operations: ['52-48=4', '91-64=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,64 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,64 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 64:[64, 87], Operations: ['52-48=4', '91-4=87'] Exploring Operation: 64+87=151, Resulting Numbers: [151] 151,64 unequal: No Solution Exploring Operation: 64*87=5568, Resulting Numbers: [5568] 5568,64 unequal: No Solution Exploring Operation: 87-64=23, Resulting Numbers: [23] 23,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 64:[91, 16], Operations: ['52-48=4', '64/4=16'] Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,64 unequal: No Solution Exploring Operation: 91+16=107, Resulting Numbers: [107] 107,64 unequal: No Solution Exploring Operation: 91*16=1456, Resulting Numbers: [1456] 1456,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 2, 47, 50, 6 ]
30
[ "47-2=45", "50-45=5", "6*5=30" ]
Current State: 30:[2, 47, 50, 6], Operations: [] Exploring Operation: 47-2=45, Resulting Numbers: [50, 6, 45] Generated Node #2: [50, 6, 45] from Operation: 47-2=45 Current State: 30:[50, 6, 45], Operations: ['47-2=45'] Exploring Operation: 50-45=5, Resulting Numbers: [6, 5] Generated Node #3: [6, 5] from Operation: 50-45=5 Current State: 30:[6, 5], Operations: ['47-2=45', '50-45=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[2, 47, 50, 6], Operations: [] Exploring Operation: 47-6=41, Resulting Numbers: [2, 50, 41] Generated Node #0,0: 30:[2, 50, 41] Operation: 47-6=41 Exploring Operation: 50-6=44, Resulting Numbers: [2, 47, 44] Generated Node #0,1: 30:[2, 47, 44] Operation: 50-6=44 Exploring Operation: 50/2=25, Resulting Numbers: [47, 6, 25] Generated Node #0,2: 30:[47, 6, 25] Operation: 50/2=25 Exploring Operation: 50-47=3, Resulting Numbers: [2, 6, 3] Generated Node #0,3: 30:[2, 6, 3] Operation: 50-47=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 30:[2, 6, 3], Operations: ['50-47=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6, 6] Generated Node #0,3,0: 30:[6, 6] Operation: 2*3=6 Exploring Operation: 6-3=3, Resulting Numbers: [2, 3] Generated Node #0,3,1: 30:[2, 3] Operation: 6-3=3 Exploring Operation: 2+3=5, Resulting Numbers: [6, 5] Generated Node #0,3,2: 30:[6, 5] Operation: 2+3=5 Exploring Operation: 6/2=3, Resulting Numbers: [3, 3] Generated Node #0,3,3: 30:[3, 3] Operation: 6/2=3 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 30:[6, 6], Operations: ['50-47=3', '2*3=6'] Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,30 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,30 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,30 unequal: No Solution No 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: 30:[2, 3], Operations: ['50-47=3', '6-3=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,30 unequal: No Solution No 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: 30:[6, 5], Operations: ['50-47=3', '2+3=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[2, 47, 50, 6], Operations: [] Exploring Operation: 50-47=3, Resulting Numbers: [2, 6, 3] Generated Node #0,3: 30:[2, 6, 3] Operation: 50-47=3 Moving to Node #0,3 Current State: 30:[2, 6, 3], Operations: ['50-47=3'] Exploring Operation: 2+3=5, Resulting Numbers: [6, 5] Generated Node #0,3,2: 30:[6, 5] Operation: 2+3=5 Moving to Node #0,3,2 Current State: 30:[6, 5], Operations: ['50-47=3', '2+3=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_4
sum_heuristic
[ 93, 22, 6, 98 ]
23
[ "93+22=115", "98-6=92", "115-92=23" ]
Current State: 23:[93, 22, 6, 98], Operations: [] Exploring Operation: 93+22=115, Resulting Numbers: [6, 98, 115] Generated Node #2: [6, 98, 115] from Operation: 93+22=115 Current State: 23:[6, 98, 115], Operations: ['93+22=115'] Exploring Operation: 98-6=92, Resulting Numbers: [115, 92] Generated Node #3: [115, 92] from Operation: 98-6=92 Current State: 23:[115, 92], Operations: ['93+22=115', '98-6=92'] Exploring Operation: 115-92=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[93, 22, 6, 98], Operations: [] Exploring Operation: 93-6=87, Resulting Numbers: [22, 98, 87] Generated Node #0,0: 23:[22, 98, 87] Operation: 93-6=87 Exploring Operation: 98-93=5, Resulting Numbers: [22, 6, 5] Generated Node #0,1: 23:[22, 6, 5] Operation: 98-93=5 Exploring Operation: 93-22=71, Resulting Numbers: [6, 98, 71] Generated Node #0,2: 23:[6, 98, 71] Operation: 93-22=71 Moving to Node #0,1 Current State: 23:[22, 6, 5], Operations: ['98-93=5'] Exploring Operation: 6+5=11, Resulting Numbers: [22, 11] Generated Node #0,1,0: 23:[22, 11] Operation: 6+5=11 Exploring Operation: 22+5=27, Resulting Numbers: [6, 27] Generated Node #0,1,1: 23:[6, 27] Operation: 22+5=27 Exploring Operation: 6*5=30, Resulting Numbers: [22, 30] Generated Node #0,1,2: 23:[22, 30] Operation: 6*5=30 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 23:[22, 30], Operations: ['98-93=5', '6*5=30'] Exploring Operation: 22*30=660, Resulting Numbers: [660] 660,23 unequal: No Solution Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 22+30=52, Resulting Numbers: [52] 52,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[22, 11], Operations: ['98-93=5', '6+5=11'] Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,23 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,23 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[6, 27], Operations: ['98-93=5', '22+5=27'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,23 unequal: No Solution Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,23 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,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:[22, 98, 87], Operations: ['93-6=87'] Exploring Operation: 98-87=11, Resulting Numbers: [22, 11] Generated Node #0,0,0: 23:[22, 11] Operation: 98-87=11 Exploring Operation: 98-22=76, Resulting Numbers: [87, 76] Generated Node #0,0,1: 23:[87, 76] Operation: 98-22=76 Exploring Operation: 87-22=65, Resulting Numbers: [98, 65] Generated Node #0,0,2: 23:[98, 65] Operation: 87-22=65 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[22, 11], Operations: ['93-6=87', '98-87=11'] Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,23 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 23:[87, 76], Operations: ['93-6=87', '98-22=76'] Exploring Operation: 87-76=11, Resulting Numbers: [11] 11,23 unequal: No Solution Exploring Operation: 87*76=6612, Resulting Numbers: [6612] 6612,23 unequal: No Solution Exploring Operation: 87+76=163, Resulting Numbers: [163] 163,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 23:[98, 65], Operations: ['93-6=87', '87-22=65'] Exploring Operation: 98*65=6370, Resulting Numbers: [6370] 6370,23 unequal: No Solution Exploring Operation: 98-65=33, Resulting Numbers: [33] 33,23 unequal: No Solution Exploring Operation: 98+65=163, Resulting Numbers: [163] 163,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:[6, 98, 71], Operations: ['93-22=71'] Exploring Operation: 98-6=92, Resulting Numbers: [71, 92] Generated Node #0,2,0: 23:[71, 92] Operation: 98-6=92 Exploring Operation: 98-71=27, Resulting Numbers: [6, 27] Generated Node #0,2,1: 23:[6, 27] Operation: 98-71=27 Exploring Operation: 71-6=65, Resulting Numbers: [98, 65] Generated Node #0,2,2: 23:[98, 65] Operation: 71-6=65 Moving to Node #0,2,1 Current State: 23:[6, 27], Operations: ['93-22=71', '98-71=27'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,23 unequal: No Solution Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,23 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[71, 92], Operations: ['93-22=71', '98-6=92'] Exploring Operation: 92-71=21, Resulting Numbers: [21] 21,23 unequal: No Solution Exploring Operation: 71+92=163, Resulting Numbers: [163] 163,23 unequal: No Solution Exploring Operation: 71*92=6532, Resulting Numbers: [6532] 6532,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[98, 65], Operations: ['93-22=71', '71-6=65'] Exploring Operation: 98*65=6370, Resulting Numbers: [6370] 6370,23 unequal: No Solution Exploring Operation: 98-65=33, Resulting Numbers: [33] 33,23 unequal: No Solution Exploring Operation: 98+65=163, Resulting Numbers: [163] 163,23 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 59, 80, 20, 70 ]
89
[ "59+80=139", "70-20=50", "139-50=89" ]
Current State: 89:[59, 80, 20, 70], Operations: [] Exploring Operation: 59+80=139, Resulting Numbers: [20, 70, 139] Generated Node #2: [20, 70, 139] from Operation: 59+80=139 Current State: 89:[20, 70, 139], Operations: ['59+80=139'] Exploring Operation: 70-20=50, Resulting Numbers: [139, 50] Generated Node #3: [139, 50] from Operation: 70-20=50 Current State: 89:[139, 50], Operations: ['59+80=139', '70-20=50'] Exploring Operation: 139-50=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[59, 80, 20, 70], Operations: [] Exploring Operation: 59+20=79, Resulting Numbers: [80, 70, 79] Generated Node #0,0: 89:[80, 70, 79] Operation: 59+20=79 Exploring Operation: 20+70=90, Resulting Numbers: [59, 80, 90] Generated Node #0,1: 89:[59, 80, 90] Operation: 20+70=90 Moving to Node #0,0 Current State: 89:[80, 70, 79], Operations: ['59+20=79'] Exploring Operation: 80+70=150, Resulting Numbers: [79, 150] Generated Node #0,0,0: 89:[79, 150] Operation: 80+70=150 Exploring Operation: 70+79=149, Resulting Numbers: [80, 149] Generated Node #0,0,1: 89:[80, 149] Operation: 70+79=149 Moving to Node #0,1 Current State: 89:[59, 80, 90], Operations: ['20+70=90'] Exploring Operation: 90-59=31, Resulting Numbers: [80, 31] Generated Node #0,1,0: 89:[80, 31] Operation: 90-59=31 Exploring Operation: 59+80=139, Resulting Numbers: [90, 139] Generated Node #0,1,1: 89:[90, 139] Operation: 59+80=139 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[90, 139], Operations: ['20+70=90', '59+80=139'] Exploring Operation: 139-90=49, Resulting Numbers: [49] 49,89 unequal: No Solution Exploring Operation: 90+139=229, Resulting Numbers: [229] 229,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[80, 31], Operations: ['20+70=90', '90-59=31'] Exploring Operation: 80+31=111, Resulting Numbers: [111] 111,89 unequal: No Solution Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 89:[80, 149], Operations: ['59+20=79', '70+79=149'] Exploring Operation: 80+149=229, Resulting Numbers: [229] 229,89 unequal: No Solution Exploring Operation: 149-80=69, Resulting Numbers: [69] 69,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[79, 150], Operations: ['59+20=79', '80+70=150'] Exploring Operation: 150-79=71, Resulting Numbers: [71] 71,89 unequal: No Solution Exploring Operation: 79+150=229, Resulting Numbers: [229] 229,89 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 29, 54, 67, 5 ]
21
[ "29+54=83", "67-5=62", "83-62=21" ]
Current State: 21:[29, 54, 67, 5], Operations: [] Exploring Operation: 29+54=83, Resulting Numbers: [67, 5, 83] Generated Node #2: [67, 5, 83] from Operation: 29+54=83 Current State: 21:[67, 5, 83], Operations: ['29+54=83'] Exploring Operation: 67-5=62, Resulting Numbers: [83, 62] Generated Node #3: [83, 62] from Operation: 67-5=62 Current State: 21:[83, 62], Operations: ['29+54=83', '67-5=62'] Exploring Operation: 83-62=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[29, 54, 67, 5], Operations: [] Exploring Operation: 67-54=13, Resulting Numbers: [29, 5, 13] Generated Node #0,0: 21:[29, 5, 13] Operation: 67-54=13 Exploring Operation: 54-29=25, Resulting Numbers: [67, 5, 25] Generated Node #0,1: 21:[67, 5, 25] Operation: 54-29=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[29, 5, 13], Operations: ['67-54=13'] Exploring Operation: 29-5=24, Resulting Numbers: [13, 24] Generated Node #0,0,0: 21:[13, 24] Operation: 29-5=24 Exploring Operation: 29-13=16, Resulting Numbers: [5, 16] Generated Node #0,0,1: 21:[5, 16] Operation: 29-13=16 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 21:[5, 16], Operations: ['67-54=13', '29-13=16'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,21 unequal: No Solution Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[29, 54, 67, 5], Operations: [] Exploring Operation: 67-54=13, Resulting Numbers: [29, 5, 13] Generated Node #0,0: 21:[29, 5, 13] Operation: 67-54=13 Moving to Node #0,0 Current State: 21:[29, 5, 13], Operations: ['67-54=13'] Exploring Operation: 29-13=16, Resulting Numbers: [5, 16] Generated Node #0,0,1: 21:[5, 16] Operation: 29-13=16 Moving to Node #0,0,1 Current State: 21:[5, 16], Operations: ['67-54=13', '29-13=16'] Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 94, 56, 56, 46 ]
48
[ "94+56=150", "56+46=102", "150-102=48" ]
Current State: 48:[94, 56, 56, 46], Operations: [] Exploring Operation: 94+56=150, Resulting Numbers: [46, 150] Generated Node #2: [46, 150] from Operation: 94+56=150 Current State: 48:[46, 150], Operations: ['94+56=150'] Exploring Operation: 56+46=102, Resulting Numbers: [150, 102] Generated Node #3: [150, 102] from Operation: 56+46=102 Current State: 48:[150, 102], Operations: ['94+56=150', '56+46=102'] Exploring Operation: 150-102=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[94, 56, 56, 46], Operations: [] Exploring Operation: 94-56=38, Resulting Numbers: [56, 46, 38] Generated Node #0,0: 48:[56, 46, 38] Operation: 94-56=38 Exploring Operation: 94-56=38, Resulting Numbers: [56, 46, 38] Generated Node #0,1: 48:[56, 46, 38] Operation: 94-56=38 Exploring Operation: 94-46=48, Resulting Numbers: [56, 56, 48] Generated Node #0,2: 48:[56, 56, 48] Operation: 94-46=48 Exploring Operation: 56/56=1, Resulting Numbers: [94, 46, 1] Generated Node #0,3: 48:[94, 46, 1] Operation: 56/56=1 Exploring Operation: 56-56=0, Resulting Numbers: [94, 46, 0] Generated Node #0,4: 48:[94, 46, 0] Operation: 56-56=0 Moving to Node #0,2 Current State: 48:[56, 56, 48], Operations: ['94-46=48'] Exploring Operation: 56-48=8, Resulting Numbers: [56, 8] Generated Node #0,2,0: 48:[56, 8] Operation: 56-48=8 Exploring Operation: 56-48=8, Resulting Numbers: [56, 8] Generated Node #0,2,1: 48:[56, 8] Operation: 56-48=8 Exploring Operation: 56/56=1, Resulting Numbers: [48, 1] Generated Node #0,2,2: 48:[48, 1] Operation: 56/56=1 Exploring Operation: 56+56=112, Resulting Numbers: [48, 112] Generated Node #0,2,3: 48:[48, 112] Operation: 56+56=112 Exploring Operation: 56-56=0, Resulting Numbers: [48, 0] Generated Node #0,2,4: 48:[48, 0] Operation: 56-56=0 Moving to Node #0,1 Current State: 48:[56, 46, 38], Operations: ['94-56=38'] Exploring Operation: 46-38=8, Resulting Numbers: [56, 8] Generated Node #0,1,0: 48:[56, 8] Operation: 46-38=8 Exploring Operation: 46+38=84, Resulting Numbers: [56, 84] Generated Node #0,1,1: 48:[56, 84] Operation: 46+38=84 Exploring Operation: 56-46=10, Resulting Numbers: [38, 10] Generated Node #0,1,2: 48:[38, 10] Operation: 56-46=10 Exploring Operation: 56-38=18, Resulting Numbers: [46, 18] Generated Node #0,1,3: 48:[46, 18] Operation: 56-38=18 Exploring Operation: 56+38=94, Resulting Numbers: [46, 94] Generated Node #0,1,4: 48:[46, 94] Operation: 56+38=94 Moving to Node #0,0 Current State: 48:[56, 46, 38], Operations: ['94-56=38'] Exploring Operation: 56-46=10, Resulting Numbers: [38, 10] Generated Node #0,0,0: 48:[38, 10] Operation: 56-46=10 Exploring Operation: 56-38=18, Resulting Numbers: [46, 18] Generated Node #0,0,1: 48:[46, 18] Operation: 56-38=18 Exploring Operation: 46-38=8, Resulting Numbers: [56, 8] Generated Node #0,0,2: 48:[56, 8] Operation: 46-38=8 Exploring Operation: 46+38=84, Resulting Numbers: [56, 84] Generated Node #0,0,3: 48:[56, 84] Operation: 46+38=84 Exploring Operation: 56+38=94, Resulting Numbers: [46, 94] Generated Node #0,0,4: 48:[46, 94] Operation: 56+38=94 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 48:[46, 18], Operations: ['94-56=38', '56-38=18'] Exploring Operation: 46*18=828, Resulting Numbers: [828] 828,48 unequal: No Solution Exploring Operation: 46+18=64, Resulting Numbers: [64] 64,48 unequal: No Solution Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 48:[56, 8], Operations: ['94-56=38', '46-38=8'] Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[94, 56, 56, 46], Operations: [] Exploring Operation: 94-56=38, Resulting Numbers: [56, 46, 38] Generated Node #0,0: 48:[56, 46, 38] Operation: 94-56=38 Moving to Node #0,0 Current State: 48:[56, 46, 38], Operations: ['94-56=38'] Exploring Operation: 46-38=8, Resulting Numbers: [56, 8] Generated Node #0,0,2: 48:[56, 8] Operation: 46-38=8 Moving to Node #0,0,2 Current State: 48:[56, 8], Operations: ['94-56=38', '46-38=8'] Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_5
sum_heuristic
[ 55, 92, 73, 10 ]
100
[ "92-55=37", "73-10=63", "37+63=100" ]
Current State: 100:[55, 92, 73, 10], Operations: [] Exploring Operation: 92-55=37, Resulting Numbers: [73, 10, 37] Generated Node #2: [73, 10, 37] from Operation: 92-55=37 Current State: 100:[73, 10, 37], Operations: ['92-55=37'] Exploring Operation: 73-10=63, Resulting Numbers: [37, 63] Generated Node #3: [37, 63] from Operation: 73-10=63 Current State: 100:[37, 63], Operations: ['92-55=37', '73-10=63'] Exploring Operation: 37+63=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[55, 92, 73, 10], Operations: [] Exploring Operation: 73-55=18, Resulting Numbers: [92, 10, 18] Generated Node #0,0: 100:[92, 10, 18] Operation: 73-55=18 Exploring Operation: 73-10=63, Resulting Numbers: [55, 92, 63] Generated Node #0,1: 100:[55, 92, 63] Operation: 73-10=63 Exploring Operation: 92-73=19, Resulting Numbers: [55, 10, 19] Generated Node #0,2: 100:[55, 10, 19] Operation: 92-73=19 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[55, 10, 19], Operations: ['92-73=19'] Exploring Operation: 10+19=29, Resulting Numbers: [55, 29] Generated Node #0,2,0: 100:[55, 29] Operation: 10+19=29 Exploring Operation: 55-10=45, Resulting Numbers: [19, 45] Generated Node #0,2,1: 100:[19, 45] Operation: 55-10=45 Exploring Operation: 19-10=9, Resulting Numbers: [55, 9] Generated Node #0,2,2: 100:[55, 9] Operation: 19-10=9 Moving to Node #0,2,1 Current State: 100:[19, 45], Operations: ['92-73=19', '55-10=45'] Exploring Operation: 19+45=64, Resulting Numbers: [64] 64,100 unequal: No Solution Exploring Operation: 19*45=855, Resulting Numbers: [855] 855,100 unequal: No Solution Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[55, 9], Operations: ['92-73=19', '19-10=9'] Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,100 unequal: No Solution Exploring Operation: 55+9=64, Resulting Numbers: [64] 64,100 unequal: No Solution Exploring Operation: 55*9=495, Resulting Numbers: [495] 495,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[55, 29], Operations: ['92-73=19', '10+19=29'] Exploring Operation: 55-29=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 55*29=1595, Resulting Numbers: [1595] 1595,100 unequal: No Solution Exploring Operation: 55+29=84, Resulting Numbers: [84] 84,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[92, 10, 18], Operations: ['73-55=18'] Exploring Operation: 18-10=8, Resulting Numbers: [92, 8] Generated Node #0,0,0: 100:[92, 8] Operation: 18-10=8 Exploring Operation: 92+10=102, Resulting Numbers: [18, 102] Generated Node #0,0,1: 100:[18, 102] Operation: 92+10=102 Exploring Operation: 92+18=110, Resulting Numbers: [10, 110] Generated Node #0,0,2: 100:[10, 110] Operation: 92+18=110 Moving to Node #0,0,1 Current State: 100:[18, 102], Operations: ['73-55=18', '92+10=102'] Exploring Operation: 18+102=120, Resulting Numbers: [120] 120,100 unequal: No Solution Exploring Operation: 18*102=1836, Resulting Numbers: [1836] 1836,100 unequal: No Solution Exploring Operation: 102-18=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[92, 8], Operations: ['73-55=18', '18-10=8'] Exploring Operation: 92+8=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[55, 92, 73, 10], Operations: [] Exploring Operation: 73-55=18, Resulting Numbers: [92, 10, 18] Generated Node #0,0: 100:[92, 10, 18] Operation: 73-55=18 Moving to Node #0,0 Current State: 100:[92, 10, 18], Operations: ['73-55=18'] Exploring Operation: 18-10=8, Resulting Numbers: [92, 8] Generated Node #0,0,0: 100:[92, 8] Operation: 18-10=8 Moving to Node #0,0,0 Current State: 100:[92, 8], Operations: ['73-55=18', '18-10=8'] Exploring Operation: 92+8=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
mult_heuristic
[ 22, 31, 25, 69 ]
97
[ "22+31=53", "69-25=44", "53+44=97" ]
Current State: 97:[22, 31, 25, 69], Operations: [] Exploring Operation: 22+31=53, Resulting Numbers: [25, 69, 53] Generated Node #2: [25, 69, 53] from Operation: 22+31=53 Current State: 97:[25, 69, 53], Operations: ['22+31=53'] Exploring Operation: 69-25=44, Resulting Numbers: [53, 44] Generated Node #3: [53, 44] from Operation: 69-25=44 Current State: 97:[53, 44], Operations: ['22+31=53', '69-25=44'] Exploring Operation: 53+44=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[22, 31, 25, 69], Operations: [] Exploring Operation: 22+31=53, Resulting Numbers: [25, 69, 53] Generated Node #0,0: 97:[25, 69, 53] Operation: 22+31=53 Exploring Operation: 22+25=47, Resulting Numbers: [31, 69, 47] Generated Node #0,1: 97:[31, 69, 47] Operation: 22+25=47 Moving to Node #0,0 Current State: 97:[25, 69, 53], Operations: ['22+31=53'] Exploring Operation: 25+69=94, Resulting Numbers: [53, 94] Generated Node #0,0,0: 97:[53, 94] Operation: 25+69=94 Exploring Operation: 25+53=78, Resulting Numbers: [69, 78] Generated Node #0,0,1: 97:[69, 78] Operation: 25+53=78 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[53, 94], Operations: ['22+31=53', '25+69=94'] Exploring Operation: 94-53=41, Resulting Numbers: [41] 41,97 unequal: No Solution Exploring Operation: 53+94=147, Resulting Numbers: [147] 147,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[69, 78], Operations: ['22+31=53', '25+53=78'] Exploring Operation: 69+78=147, Resulting Numbers: [147] 147,97 unequal: No Solution Exploring Operation: 78-69=9, Resulting Numbers: [9] 9,97 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: 97:[31, 69, 47], Operations: ['22+25=47'] Exploring Operation: 31+69=100, Resulting Numbers: [47, 100] Generated Node #0,1,0: 97:[47, 100] Operation: 31+69=100 Exploring Operation: 31+47=78, Resulting Numbers: [69, 78] Generated Node #0,1,1: 97:[69, 78] Operation: 31+47=78 Moving to Node #0,1,1 Current State: 97:[69, 78], Operations: ['22+25=47', '31+47=78'] Exploring Operation: 69+78=147, Resulting Numbers: [147] 147,97 unequal: No Solution Exploring Operation: 78-69=9, Resulting Numbers: [9] 9,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[47, 100], Operations: ['22+25=47', '31+69=100'] Exploring Operation: 100-47=53, Resulting Numbers: [53] 53,97 unequal: No Solution Exploring Operation: 47+100=147, Resulting Numbers: [147] 147,97 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 50, 19, 34, 38 ]
41
[ "50-19=31", "34+38=72", "72-31=41" ]
Current State: 41:[50, 19, 34, 38], Operations: [] Exploring Operation: 50-19=31, Resulting Numbers: [34, 38, 31] Generated Node #2: [34, 38, 31] from Operation: 50-19=31 Current State: 41:[34, 38, 31], Operations: ['50-19=31'] Exploring Operation: 34+38=72, Resulting Numbers: [31, 72] Generated Node #3: [31, 72] from Operation: 34+38=72 Current State: 41:[31, 72], Operations: ['50-19=31', '34+38=72'] Exploring Operation: 72-31=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[50, 19, 34, 38], Operations: [] Exploring Operation: 19+34=53, Resulting Numbers: [50, 38, 53] Generated Node #0,0: 41:[50, 38, 53] Operation: 19+34=53 Exploring Operation: 50+19=69, Resulting Numbers: [34, 38, 69] Generated Node #0,1: 41:[34, 38, 69] Operation: 50+19=69 Exploring Operation: 19+38=57, Resulting Numbers: [50, 34, 57] Generated Node #0,2: 41:[50, 34, 57] Operation: 19+38=57 Exploring Operation: 50-19=31, Resulting Numbers: [34, 38, 31] Generated Node #0,3: 41:[34, 38, 31] Operation: 50-19=31 Moving to Node #0,3 Current State: 41:[34, 38, 31], Operations: ['50-19=31'] Exploring Operation: 38+31=69, Resulting Numbers: [34, 69] Generated Node #0,3,0: 41:[34, 69] Operation: 38+31=69 Exploring Operation: 34+31=65, Resulting Numbers: [38, 65] Generated Node #0,3,1: 41:[38, 65] Operation: 34+31=65 Exploring Operation: 34+38=72, Resulting Numbers: [31, 72] Generated Node #0,3,2: 41:[31, 72] Operation: 34+38=72 Exploring Operation: 34-31=3, Resulting Numbers: [38, 3] Generated Node #0,3,3: 41:[38, 3] Operation: 34-31=3 Moving to Node #0,0 Current State: 41:[50, 38, 53], Operations: ['19+34=53'] Exploring Operation: 53-50=3, Resulting Numbers: [38, 3] Generated Node #0,0,0: 41:[38, 3] Operation: 53-50=3 Exploring Operation: 53-38=15, Resulting Numbers: [50, 15] Generated Node #0,0,1: 41:[50, 15] Operation: 53-38=15 Exploring Operation: 50-38=12, Resulting Numbers: [53, 12] Generated Node #0,0,2: 41:[53, 12] Operation: 50-38=12 Exploring Operation: 50+38=88, Resulting Numbers: [53, 88] Generated Node #0,0,3: 41:[53, 88] Operation: 50+38=88 Moving to Node #0,2 Current State: 41:[50, 34, 57], Operations: ['19+38=57'] Exploring Operation: 57-50=7, Resulting Numbers: [34, 7] Generated Node #0,2,0: 41:[34, 7] Operation: 57-50=7 Exploring Operation: 50-34=16, Resulting Numbers: [57, 16] Generated Node #0,2,1: 41:[57, 16] Operation: 50-34=16 Exploring Operation: 50+34=84, Resulting Numbers: [57, 84] Generated Node #0,2,2: 41:[57, 84] Operation: 50+34=84 Exploring Operation: 57-34=23, Resulting Numbers: [50, 23] Generated Node #0,2,3: 41:[50, 23] Operation: 57-34=23 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 41:[50, 23], Operations: ['19+38=57', '57-34=23'] Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,41 unequal: No Solution Exploring Operation: 50+23=73, Resulting Numbers: [73] 73,41 unequal: No Solution Exploring Operation: 50*23=1150, Resulting Numbers: [1150] 1150,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[34, 7], Operations: ['19+38=57', '57-50=7'] Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,41 unequal: No Solution Exploring Operation: 34+7=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[50, 19, 34, 38], Operations: [] Exploring Operation: 19+38=57, Resulting Numbers: [50, 34, 57] Generated Node #0,2: 41:[50, 34, 57] Operation: 19+38=57 Moving to Node #0,2 Current State: 41:[50, 34, 57], Operations: ['19+38=57'] Exploring Operation: 57-50=7, Resulting Numbers: [34, 7] Generated Node #0,2,0: 41:[34, 7] Operation: 57-50=7 Moving to Node #0,2,0 Current State: 41:[34, 7], Operations: ['19+38=57', '57-50=7'] Exploring Operation: 34+7=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
mult_heuristic
[ 16, 21, 8, 53 ]
12
[ "53-21=32", "32/8=4", "16-4=12" ]
Current State: 12:[16, 21, 8, 53], Operations: [] Exploring Operation: 53-21=32, Resulting Numbers: [16, 8, 32] Generated Node #2: [16, 8, 32] from Operation: 53-21=32 Current State: 12:[16, 8, 32], Operations: ['53-21=32'] Exploring Operation: 32/8=4, Resulting Numbers: [16, 4] Generated Node #3: [16, 4] from Operation: 32/8=4 Current State: 12:[16, 4], Operations: ['53-21=32', '32/8=4'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[16, 21, 8, 53], Operations: [] Exploring Operation: 21-16=5, Resulting Numbers: [8, 53, 5] Generated Node #0,0: 12:[8, 53, 5] Operation: 21-16=5 Exploring Operation: 53-21=32, Resulting Numbers: [16, 8, 32] Generated Node #0,1: 12:[16, 8, 32] Operation: 53-21=32 Exploring Operation: 53-16=37, Resulting Numbers: [21, 8, 37] Generated Node #0,2: 12:[21, 8, 37] Operation: 53-16=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[16, 8, 32], Operations: ['53-21=32'] Exploring Operation: 32/16=2, Resulting Numbers: [8, 2] Generated Node #0,1,0: 12:[8, 2] Operation: 32/16=2 Exploring Operation: 32/8=4, Resulting Numbers: [16, 4] Generated Node #0,1,1: 12:[16, 4] Operation: 32/8=4 Exploring Operation: 32-16=16, Resulting Numbers: [8, 16] Generated Node #0,1,2: 12:[8, 16] Operation: 32-16=16 Moving to Node #0,1,0 Current State: 12:[8, 2], Operations: ['53-21=32', '32/16=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,12 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[16, 4], Operations: ['53-21=32', '32/8=4'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[16, 21, 8, 53], Operations: [] Exploring Operation: 53-21=32, Resulting Numbers: [16, 8, 32] Generated Node #0,1: 12:[16, 8, 32] Operation: 53-21=32 Moving to Node #0,1 Current State: 12:[16, 8, 32], Operations: ['53-21=32'] Exploring Operation: 32/8=4, Resulting Numbers: [16, 4] Generated Node #0,1,1: 12:[16, 4] Operation: 32/8=4 Moving to Node #0,1,1 Current State: 12:[16, 4], Operations: ['53-21=32', '32/8=4'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 18, 30, 61, 3 ]
47
[ "61-18=43", "30*3=90", "90-43=47" ]
Current State: 47:[18, 30, 61, 3], Operations: [] Exploring Operation: 61-18=43, Resulting Numbers: [30, 3, 43] Generated Node #2: [30, 3, 43] from Operation: 61-18=43 Current State: 47:[30, 3, 43], Operations: ['61-18=43'] Exploring Operation: 30*3=90, Resulting Numbers: [43, 90] Generated Node #3: [43, 90] from Operation: 30*3=90 Current State: 47:[43, 90], Operations: ['61-18=43', '30*3=90'] Exploring Operation: 90-43=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[18, 30, 61, 3], Operations: [] Exploring Operation: 18*3=54, Resulting Numbers: [30, 61, 54] Generated Node #0,0: 47:[30, 61, 54] Operation: 18*3=54 Exploring Operation: 61-3=58, Resulting Numbers: [18, 30, 58] Generated Node #0,1: 47:[18, 30, 58] Operation: 61-3=58 Exploring Operation: 18+30=48, Resulting Numbers: [61, 3, 48] Generated Node #0,2: 47:[61, 3, 48] Operation: 18+30=48 Exploring Operation: 18+3=21, Resulting Numbers: [30, 61, 21] Generated Node #0,3: 47:[30, 61, 21] Operation: 18+3=21 Exploring Operation: 30+3=33, Resulting Numbers: [18, 61, 33] Generated Node #0,4: 47:[18, 61, 33] Operation: 30+3=33 Moving to Node #0,0 Current State: 47:[30, 61, 54], Operations: ['18*3=54'] Exploring Operation: 30+61=91, Resulting Numbers: [54, 91] Generated Node #0,0,0: 47:[54, 91] Operation: 30+61=91 Exploring Operation: 61-54=7, Resulting Numbers: [30, 7] Generated Node #0,0,1: 47:[30, 7] Operation: 61-54=7 Exploring Operation: 54-30=24, Resulting Numbers: [61, 24] Generated Node #0,0,2: 47:[61, 24] Operation: 54-30=24 Exploring Operation: 30+54=84, Resulting Numbers: [61, 84] Generated Node #0,0,3: 47:[61, 84] Operation: 30+54=84 Exploring Operation: 61-30=31, Resulting Numbers: [54, 31] Generated Node #0,0,4: 47:[54, 31] Operation: 61-30=31 Moving to Node #0,3 Current State: 47:[30, 61, 21], Operations: ['18+3=21'] Exploring Operation: 61-30=31, Resulting Numbers: [21, 31] Generated Node #0,3,0: 47:[21, 31] Operation: 61-30=31 Exploring Operation: 30-21=9, Resulting Numbers: [61, 9] Generated Node #0,3,1: 47:[61, 9] Operation: 30-21=9 Exploring Operation: 30+21=51, Resulting Numbers: [61, 51] Generated Node #0,3,2: 47:[61, 51] Operation: 30+21=51 Exploring Operation: 61+21=82, Resulting Numbers: [30, 82] Generated Node #0,3,3: 47:[30, 82] Operation: 61+21=82 Exploring Operation: 61-21=40, Resulting Numbers: [30, 40] Generated Node #0,3,4: 47:[30, 40] Operation: 61-21=40 Moving to Node #0,1 Current State: 47:[18, 30, 58], Operations: ['61-3=58'] Exploring Operation: 58-30=28, Resulting Numbers: [18, 28] Generated Node #0,1,0: 47:[18, 28] Operation: 58-30=28 Exploring Operation: 18+30=48, Resulting Numbers: [58, 48] Generated Node #0,1,1: 47:[58, 48] Operation: 18+30=48 Exploring Operation: 58-18=40, Resulting Numbers: [30, 40] Generated Node #0,1,2: 47:[30, 40] Operation: 58-18=40 Exploring Operation: 18+58=76, Resulting Numbers: [30, 76] Generated Node #0,1,3: 47:[30, 76] Operation: 18+58=76 Exploring Operation: 30-18=12, Resulting Numbers: [58, 12] Generated Node #0,1,4: 47:[58, 12] Operation: 30-18=12 Moving to Node #0,4 Current State: 47:[18, 61, 33], Operations: ['30+3=33'] Exploring Operation: 18+33=51, Resulting Numbers: [61, 51] Generated Node #0,4,0: 47:[61, 51] Operation: 18+33=51 Exploring Operation: 61-18=43, Resulting Numbers: [33, 43] Generated Node #0,4,1: 47:[33, 43] Operation: 61-18=43 Exploring Operation: 33-18=15, Resulting Numbers: [61, 15] Generated Node #0,4,2: 47:[61, 15] Operation: 33-18=15 Exploring Operation: 18+61=79, Resulting Numbers: [33, 79] Generated Node #0,4,3: 47:[33, 79] Operation: 18+61=79 Exploring Operation: 61-33=28, Resulting Numbers: [18, 28] Generated Node #0,4,4: 47:[18, 28] Operation: 61-33=28 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 47:[61, 51], Operations: ['30+3=33', '18+33=51'] Exploring Operation: 61*51=3111, Resulting Numbers: [3111] 3111,47 unequal: No Solution Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 61+51=112, Resulting Numbers: [112] 112,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,4,1 Current State: 47:[33, 43], Operations: ['30+3=33', '61-18=43'] Exploring Operation: 33+43=76, Resulting Numbers: [76] 76,47 unequal: No Solution Exploring Operation: 33*43=1419, Resulting Numbers: [1419] 1419,47 unequal: No Solution Exploring Operation: 43-33=10, Resulting Numbers: [10] 10,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,4,2 Current State: 47:[61, 15], Operations: ['30+3=33', '33-18=15'] Exploring Operation: 61+15=76, Resulting Numbers: [76] 76,47 unequal: No Solution Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 61*15=915, Resulting Numbers: [915] 915,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,4,3 Current State: 47:[33, 79], Operations: ['30+3=33', '18+61=79'] Exploring Operation: 33+79=112, Resulting Numbers: [112] 112,47 unequal: No Solution Exploring Operation: 33*79=2607, Resulting Numbers: [2607] 2607,47 unequal: No Solution Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 47:[18, 28], Operations: ['30+3=33', '61-33=28'] Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 18*28=504, Resulting Numbers: [504] 504,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 47:[61, 3, 48], Operations: ['18+30=48'] Exploring Operation: 48-3=45, Resulting Numbers: [61, 45] Generated Node #0,2,0: 47:[61, 45] Operation: 48-3=45 Exploring Operation: 61-3=58, Resulting Numbers: [48, 58] Generated Node #0,2,1: 47:[48, 58] Operation: 61-3=58 Exploring Operation: 3+48=51, Resulting Numbers: [61, 51] Generated Node #0,2,2: 47:[61, 51] Operation: 3+48=51 Exploring Operation: 61+3=64, Resulting Numbers: [48, 64] Generated Node #0,2,3: 47:[48, 64] Operation: 61+3=64 Exploring Operation: 48/3=16, Resulting Numbers: [61, 16] Generated Node #0,2,4: 47:[61, 16] Operation: 48/3=16 Moving to Node #0,1,1 Current State: 47:[58, 48], Operations: ['61-3=58', '18+30=48'] Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 58*48=2784, Resulting Numbers: [2784] 2784,47 unequal: No Solution Exploring Operation: 58+48=106, Resulting Numbers: [106] 106,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[48, 58], Operations: ['18+30=48', '61-3=58'] Exploring Operation: 48*58=2784, Resulting Numbers: [2784] 2784,47 unequal: No Solution Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 48+58=106, Resulting Numbers: [106] 106,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[61, 45], Operations: ['18+30=48', '48-3=45'] Exploring Operation: 61*45=2745, Resulting Numbers: [2745] 2745,47 unequal: No Solution Exploring Operation: 61+45=106, Resulting Numbers: [106] 106,47 unequal: No Solution Exploring Operation: 61-45=16, Resulting Numbers: [16] 16,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[61, 51], Operations: ['18+30=48', '3+48=51'] Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 61*51=3111, Resulting Numbers: [3111] 3111,47 unequal: No Solution Exploring Operation: 61+51=112, Resulting Numbers: [112] 112,47 unequal: No Solution Moving to Node #0,2,3 Current State: 47:[48, 64], Operations: ['18+30=48', '61+3=64'] Exploring Operation: 48*64=3072, Resulting Numbers: [3072] 3072,47 unequal: No Solution Exploring Operation: 48+64=112, Resulting Numbers: [112] 112,47 unequal: No Solution Exploring Operation: 64-48=16, Resulting Numbers: [16] 16,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[61, 51], Operations: ['18+3=21', '30+21=51'] Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 61+51=112, Resulting Numbers: [112] 112,47 unequal: No Solution Exploring Operation: 61*51=3111, Resulting Numbers: [3111] 3111,47 unequal: No Solution Moving to Node #0,0,4 Current State: 47:[54, 31], Operations: ['18*3=54', '61-30=31'] Exploring Operation: 54*31=1674, Resulting Numbers: [1674] 1674,47 unequal: No Solution Exploring Operation: 54+31=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,47 unequal: No Solution Moving to Node #0,3,4 Current State: 47:[30, 40], Operations: ['18+3=21', '61-21=40'] Exploring Operation: 30+40=70, Resulting Numbers: [70] 70,47 unequal: No Solution Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 30*40=1200, Resulting Numbers: [1200] 1200,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[30, 40], Operations: ['61-3=58', '58-18=40'] Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 30*40=1200, Resulting Numbers: [1200] 1200,47 unequal: No Solution Exploring Operation: 30+40=70, Resulting Numbers: [70] 70,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[61, 24], Operations: ['18*3=54', '54-30=24'] Exploring Operation: 61+24=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 61*24=1464, Resulting Numbers: [1464] 1464,47 unequal: No Solution Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,47 unequal: No Solution Moving to Node #0,3,0 Current State: 47:[21, 31], Operations: ['18+3=21', '61-30=31'] Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 21*31=651, Resulting Numbers: [651] 651,47 unequal: No Solution Exploring Operation: 21+31=52, Resulting Numbers: [52] 52,47 unequal: No Solution Moving to Node #0,2,4 Current State: 47:[61, 16], Operations: ['18+30=48', '48/3=16'] Exploring Operation: 61+16=77, Resulting Numbers: [77] 77,47 unequal: No Solution Exploring Operation: 61-16=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 61*16=976, Resulting Numbers: [976] 976,47 unequal: No Solution Moving to Node #0,1,4 Current State: 47:[58, 12], Operations: ['61-3=58', '30-18=12'] Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 58+12=70, Resulting Numbers: [70] 70,47 unequal: No Solution Exploring Operation: 58*12=696, Resulting Numbers: [696] 696,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[30, 76], Operations: ['61-3=58', '18+58=76'] Exploring Operation: 30+76=106, Resulting Numbers: [106] 106,47 unequal: No Solution Exploring Operation: 30*76=2280, Resulting Numbers: [2280] 2280,47 unequal: No Solution Exploring Operation: 76-30=46, Resulting Numbers: [46] 46,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[18, 28], Operations: ['61-3=58', '58-30=28'] Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 18*28=504, Resulting Numbers: [504] 504,47 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,47 unequal: No Solution Moving to Node #0,0,3 Current State: 47:[61, 84], Operations: ['18*3=54', '30+54=84'] Exploring Operation: 61+84=145, Resulting Numbers: [145] 145,47 unequal: No Solution Exploring Operation: 84-61=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 61*84=5124, Resulting Numbers: [5124] 5124,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[54, 91], Operations: ['18*3=54', '30+61=91'] Exploring Operation: 54+91=145, Resulting Numbers: [145] 145,47 unequal: No Solution Exploring Operation: 91-54=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 54*91=4914, Resulting Numbers: [4914] 4914,47 unequal: No Solution Moving to Node #0,3,1 Current State: 47:[61, 9], Operations: ['18+3=21', '30-21=9'] Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,47 unequal: No Solution Exploring Operation: 61+9=70, Resulting Numbers: [70] 70,47 unequal: No Solution Exploring Operation: 61*9=549, Resulting Numbers: [549] 549,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[30, 82], Operations: ['18+3=21', '61+21=82'] Exploring Operation: 30*82=2460, Resulting Numbers: [2460] 2460,47 unequal: No Solution Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,47 unequal: No Solution Exploring Operation: 30+82=112, Resulting Numbers: [112] 112,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[30, 7], Operations: ['18*3=54', '61-54=7'] Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,47 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 51, 87, 33, 15 ]
35
[ "87+15=102", "102/51=2", "33+2=35" ]
Current State: 35:[51, 87, 33, 15], Operations: [] Exploring Operation: 87+15=102, Resulting Numbers: [51, 33, 102] Generated Node #2: [51, 33, 102] from Operation: 87+15=102 Current State: 35:[51, 33, 102], Operations: ['87+15=102'] Exploring Operation: 102/51=2, Resulting Numbers: [33, 2] Generated Node #3: [33, 2] from Operation: 102/51=2 Current State: 35:[33, 2], Operations: ['87+15=102', '102/51=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[51, 87, 33, 15], Operations: [] Exploring Operation: 87-51=36, Resulting Numbers: [33, 15, 36] Generated Node #0,0: 35:[33, 15, 36] Operation: 87-51=36 Exploring Operation: 87-33=54, Resulting Numbers: [51, 15, 54] Generated Node #0,1: 35:[51, 15, 54] Operation: 87-33=54 Exploring Operation: 51-15=36, Resulting Numbers: [87, 33, 36] Generated Node #0,2: 35:[87, 33, 36] Operation: 51-15=36 Moving to Node #0,0 Current State: 35:[33, 15, 36], Operations: ['87-51=36'] Exploring Operation: 33+15=48, Resulting Numbers: [36, 48] Generated Node #0,0,0: 35:[36, 48] Operation: 33+15=48 Exploring Operation: 36-33=3, Resulting Numbers: [15, 3] Generated Node #0,0,1: 35:[15, 3] Operation: 36-33=3 Exploring Operation: 33-15=18, Resulting Numbers: [36, 18] Generated Node #0,0,2: 35:[36, 18] Operation: 33-15=18 Moving to Node #0,1 Current State: 35:[51, 15, 54], Operations: ['87-33=54'] Exploring Operation: 54-15=39, Resulting Numbers: [51, 39] Generated Node #0,1,0: 35:[51, 39] Operation: 54-15=39 Exploring Operation: 54-51=3, Resulting Numbers: [15, 3] Generated Node #0,1,1: 35:[15, 3] Operation: 54-51=3 Exploring Operation: 51-15=36, Resulting Numbers: [54, 36] Generated Node #0,1,2: 35:[54, 36] Operation: 51-15=36 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 35:[15, 3], Operations: ['87-33=54', '54-51=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,35 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,35 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,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,0 Current State: 35:[51, 39], Operations: ['87-33=54', '54-15=39'] Exploring Operation: 51*39=1989, Resulting Numbers: [1989] 1989,35 unequal: No Solution Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,35 unequal: No Solution Exploring Operation: 51+39=90, Resulting Numbers: [90] 90,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 35:[54, 36], Operations: ['87-33=54', '51-15=36'] Exploring Operation: 54+36=90, Resulting Numbers: [90] 90,35 unequal: No Solution Exploring Operation: 54-36=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 54*36=1944, Resulting Numbers: [1944] 1944,35 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: 35:[87, 33, 36], Operations: ['51-15=36'] Exploring Operation: 87-36=51, Resulting Numbers: [33, 51] Generated Node #0,2,0: 35:[33, 51] Operation: 87-36=51 Exploring Operation: 87-33=54, Resulting Numbers: [36, 54] Generated Node #0,2,1: 35:[36, 54] Operation: 87-33=54 Exploring Operation: 36-33=3, Resulting Numbers: [87, 3] Generated Node #0,2,2: 35:[87, 3] Operation: 36-33=3 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 35:[33, 51], Operations: ['51-15=36', '87-36=51'] Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 33*51=1683, Resulting Numbers: [1683] 1683,35 unequal: No Solution Exploring Operation: 33+51=84, Resulting Numbers: [84] 84,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 35:[36, 54], Operations: ['51-15=36', '87-33=54'] Exploring Operation: 36+54=90, Resulting Numbers: [90] 90,35 unequal: No Solution Exploring Operation: 36*54=1944, Resulting Numbers: [1944] 1944,35 unequal: No Solution Exploring Operation: 54-36=18, Resulting Numbers: [18] 18,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 35:[87, 3], Operations: ['51-15=36', '36-33=3'] Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,35 unequal: No Solution Exploring Operation: 87+3=90, Resulting Numbers: [90] 90,35 unequal: No Solution Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,35 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: 35:[15, 3], Operations: ['87-51=36', '36-33=3'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,35 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[36, 18], Operations: ['87-51=36', '33-15=18'] Exploring Operation: 36+18=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[36, 48], Operations: ['87-51=36', '33+15=48'] Exploring Operation: 48-36=12, Resulting Numbers: [12] 12,35 unequal: No Solution Exploring Operation: 36+48=84, Resulting Numbers: [84] 84,35 unequal: No Solution Exploring Operation: 36*48=1728, Resulting Numbers: [1728] 1728,35 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 15, 68, 95, 54 ]
13
[ "95-68=27", "54/27=2", "15-2=13" ]
Current State: 13:[15, 68, 95, 54], Operations: [] Exploring Operation: 95-68=27, Resulting Numbers: [15, 54, 27] Generated Node #2: [15, 54, 27] from Operation: 95-68=27 Current State: 13:[15, 54, 27], Operations: ['95-68=27'] Exploring Operation: 54/27=2, Resulting Numbers: [15, 2] Generated Node #3: [15, 2] from Operation: 54/27=2 Current State: 13:[15, 2], Operations: ['95-68=27', '54/27=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[15, 68, 95, 54], Operations: [] Exploring Operation: 95-54=41, Resulting Numbers: [15, 68, 41] Generated Node #0,0: 13:[15, 68, 41] Operation: 95-54=41 Exploring Operation: 68-54=14, Resulting Numbers: [15, 95, 14] Generated Node #0,1: 13:[15, 95, 14] Operation: 68-54=14 Exploring Operation: 95-68=27, Resulting Numbers: [15, 54, 27] Generated Node #0,2: 13:[15, 54, 27] Operation: 95-68=27 Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[15, 54, 27], Operations: ['95-68=27'] Exploring Operation: 54-27=27, Resulting Numbers: [15, 27] Generated Node #0,2,0: 13:[15, 27] Operation: 54-27=27 Exploring Operation: 54-15=39, Resulting Numbers: [27, 39] Generated Node #0,2,1: 13:[27, 39] Operation: 54-15=39 Exploring Operation: 54/27=2, Resulting Numbers: [15, 2] Generated Node #0,2,2: 13:[15, 2] Operation: 54/27=2 Moving to Node #0,2,2 Current State: 13:[15, 2], Operations: ['95-68=27', '54/27=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,13 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[15, 68, 95, 54], Operations: [] Exploring Operation: 95-68=27, Resulting Numbers: [15, 54, 27] Generated Node #0,2: 13:[15, 54, 27] Operation: 95-68=27 Moving to Node #0,2 Current State: 13:[15, 54, 27], Operations: ['95-68=27'] Exploring Operation: 54/27=2, Resulting Numbers: [15, 2] Generated Node #0,2,2: 13:[15, 2] Operation: 54/27=2 Moving to Node #0,2,2 Current State: 13:[15, 2], Operations: ['95-68=27', '54/27=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 32, 12, 7, 2 ]
53
[ "32+12=44", "7+2=9", "44+9=53" ]
Current State: 53:[32, 12, 7, 2], Operations: [] Exploring Operation: 32+12=44, Resulting Numbers: [7, 2, 44] Generated Node #2: [7, 2, 44] from Operation: 32+12=44 Current State: 53:[7, 2, 44], Operations: ['32+12=44'] Exploring Operation: 7+2=9, Resulting Numbers: [44, 9] Generated Node #3: [44, 9] from Operation: 7+2=9 Current State: 53:[44, 9], Operations: ['32+12=44', '7+2=9'] Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[32, 12, 7, 2], Operations: [] Exploring Operation: 32*2=64, Resulting Numbers: [12, 7, 64] Generated Node #0,0: 53:[12, 7, 64] Operation: 32*2=64 Exploring Operation: 7*2=14, Resulting Numbers: [32, 12, 14] Generated Node #0,1: 53:[32, 12, 14] Operation: 7*2=14 Exploring Operation: 12*2=24, Resulting Numbers: [32, 7, 24] Generated Node #0,2: 53:[32, 7, 24] Operation: 12*2=24 Moving to Node #0,2 Current State: 53:[32, 7, 24], Operations: ['12*2=24'] Exploring Operation: 32+24=56, Resulting Numbers: [7, 56] Generated Node #0,2,0: 53:[7, 56] Operation: 32+24=56 Exploring Operation: 7+24=31, Resulting Numbers: [32, 31] Generated Node #0,2,1: 53:[32, 31] Operation: 7+24=31 Exploring Operation: 32+7=39, Resulting Numbers: [24, 39] Generated Node #0,2,2: 53:[24, 39] Operation: 32+7=39 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[32, 31], Operations: ['12*2=24', '7+24=31'] Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 32+31=63, Resulting Numbers: [63] 63,53 unequal: No Solution Exploring Operation: 32*31=992, Resulting Numbers: [992] 992,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,2 Current State: 53:[24, 39], Operations: ['12*2=24', '32+7=39'] Exploring Operation: 24+39=63, Resulting Numbers: [63] 63,53 unequal: No Solution Exploring Operation: 24*39=936, Resulting Numbers: [936] 936,53 unequal: No Solution Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,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:[7, 56], Operations: ['12*2=24', '32+24=56'] Exploring Operation: 7+56=63, Resulting Numbers: [63] 63,53 unequal: No Solution Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,53 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: 53:[12, 7, 64], Operations: ['32*2=64'] Exploring Operation: 12*7=84, Resulting Numbers: [64, 84] Generated Node #0,0,0: 53:[64, 84] Operation: 12*7=84 Exploring Operation: 12+7=19, Resulting Numbers: [64, 19] Generated Node #0,0,1: 53:[64, 19] Operation: 12+7=19 Exploring Operation: 64-7=57, Resulting Numbers: [12, 57] Generated Node #0,0,2: 53:[12, 57] Operation: 64-7=57 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[64, 84], Operations: ['32*2=64', '12*7=84'] Exploring Operation: 64*84=5376, Resulting Numbers: [5376] 5376,53 unequal: No Solution Exploring Operation: 84-64=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 64+84=148, Resulting Numbers: [148] 148,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[64, 19], Operations: ['32*2=64', '12+7=19'] Exploring Operation: 64*19=1216, Resulting Numbers: [1216] 1216,53 unequal: No Solution Exploring Operation: 64+19=83, Resulting Numbers: [83] 83,53 unequal: No Solution Exploring Operation: 64-19=45, Resulting Numbers: [45] 45,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[12, 57], Operations: ['32*2=64', '64-7=57'] Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,53 unequal: No Solution Exploring Operation: 12*57=684, Resulting Numbers: [684] 684,53 unequal: No Solution Exploring Operation: 12+57=69, Resulting Numbers: [69] 69,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:[32, 12, 14], Operations: ['7*2=14'] Exploring Operation: 32+14=46, Resulting Numbers: [12, 46] Generated Node #0,1,0: 53:[12, 46] Operation: 32+14=46 Exploring Operation: 32+12=44, Resulting Numbers: [14, 44] Generated Node #0,1,1: 53:[14, 44] Operation: 32+12=44 Exploring Operation: 12+14=26, Resulting Numbers: [32, 26] Generated Node #0,1,2: 53:[32, 26] Operation: 12+14=26 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[12, 46], Operations: ['7*2=14', '32+14=46'] Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 12*46=552, Resulting Numbers: [552] 552,53 unequal: No Solution Exploring Operation: 12+46=58, Resulting Numbers: [58] 58,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,1,1 Current State: 53:[14, 44], Operations: ['7*2=14', '32+12=44'] Exploring Operation: 14*44=616, Resulting Numbers: [616] 616,53 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,53 unequal: No Solution Exploring Operation: 14+44=58, Resulting Numbers: [58] 58,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,1,2 Current State: 53:[32, 26], Operations: ['7*2=14', '12+14=26'] Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,53 unequal: No Solution Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 85, 42, 23, 25 ]
18
[ "42-25=17", "85/17=5", "23-5=18" ]
Current State: 18:[85, 42, 23, 25], Operations: [] Exploring Operation: 42-25=17, Resulting Numbers: [85, 23, 17] Generated Node #2: [85, 23, 17] from Operation: 42-25=17 Current State: 18:[85, 23, 17], Operations: ['42-25=17'] Exploring Operation: 85/17=5, Resulting Numbers: [23, 5] Generated Node #3: [23, 5] from Operation: 85/17=5 Current State: 18:[23, 5], Operations: ['42-25=17', '85/17=5'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[85, 42, 23, 25], Operations: [] Exploring Operation: 85-25=60, Resulting Numbers: [42, 23, 60] Generated Node #0,0: 18:[42, 23, 60] Operation: 85-25=60 Exploring Operation: 42-23=19, Resulting Numbers: [85, 25, 19] Generated Node #0,1: 18:[85, 25, 19] Operation: 42-23=19 Exploring Operation: 42-25=17, Resulting Numbers: [85, 23, 17] Generated Node #0,2: 18:[85, 23, 17] Operation: 42-25=17 Exploring Operation: 85-23=62, Resulting Numbers: [42, 25, 62] Generated Node #0,3: 18:[42, 25, 62] Operation: 85-23=62 Exploring Operation: 85-42=43, Resulting Numbers: [23, 25, 43] Generated Node #0,4: 18:[23, 25, 43] Operation: 85-42=43 Moving to Node #0,4 Current State: 18:[23, 25, 43], Operations: ['85-42=43'] Exploring Operation: 23+43=66, Resulting Numbers: [25, 66] Generated Node #0,4,0: 18:[25, 66] Operation: 23+43=66 Exploring Operation: 43-25=18, Resulting Numbers: [23, 18] Generated Node #0,4,1: 18:[23, 18] Operation: 43-25=18 Exploring Operation: 43-23=20, Resulting Numbers: [25, 20] Generated Node #0,4,2: 18:[25, 20] Operation: 43-23=20 Exploring Operation: 23+25=48, Resulting Numbers: [43, 48] Generated Node #0,4,3: 18:[43, 48] Operation: 23+25=48 Exploring Operation: 25-23=2, Resulting Numbers: [43, 2] Generated Node #0,4,4: 18:[43, 2] Operation: 25-23=2 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 18:[23, 18], Operations: ['85-42=43', '43-25=18'] Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,18 unequal: No Solution Exploring Operation: 23*18=414, Resulting Numbers: [414] 414,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 18:[25, 20], Operations: ['85-42=43', '43-23=20'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 25*20=500, Resulting Numbers: [500] 500,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 18:[43, 2], Operations: ['85-42=43', '25-23=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,18 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 18:[25, 66], Operations: ['85-42=43', '23+43=66'] Exploring Operation: 25*66=1650, Resulting Numbers: [1650] 1650,18 unequal: No Solution Exploring Operation: 25+66=91, Resulting Numbers: [91] 91,18 unequal: No Solution Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 18:[43, 48], Operations: ['85-42=43', '23+25=48'] Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 43*48=2064, Resulting Numbers: [2064] 2064,18 unequal: No Solution Exploring Operation: 43+48=91, Resulting Numbers: [91] 91,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 18:[42, 23, 60], Operations: ['85-25=60'] Exploring Operation: 42-23=19, Resulting Numbers: [60, 19] Generated Node #0,0,0: 18:[60, 19] Operation: 42-23=19 Exploring Operation: 42+23=65, Resulting Numbers: [60, 65] Generated Node #0,0,1: 18:[60, 65] Operation: 42+23=65 Exploring Operation: 60-23=37, Resulting Numbers: [42, 37] Generated Node #0,0,2: 18:[42, 37] Operation: 60-23=37 Exploring Operation: 42+60=102, Resulting Numbers: [23, 102] Generated Node #0,0,3: 18:[23, 102] Operation: 42+60=102 Exploring Operation: 60-42=18, Resulting Numbers: [23, 18] Generated Node #0,0,4: 18:[23, 18] Operation: 60-42=18 Moving to Node #0,2 Current State: 18:[85, 23, 17], Operations: ['42-25=17'] Exploring Operation: 85-23=62, Resulting Numbers: [17, 62] Generated Node #0,2,0: 18:[17, 62] Operation: 85-23=62 Exploring Operation: 23-17=6, Resulting Numbers: [85, 6] Generated Node #0,2,1: 18:[85, 6] Operation: 23-17=6 Exploring Operation: 85/17=5, Resulting Numbers: [23, 5] Generated Node #0,2,2: 18:[23, 5] Operation: 85/17=5 Exploring Operation: 85-17=68, Resulting Numbers: [23, 68] Generated Node #0,2,3: 18:[23, 68] Operation: 85-17=68 Exploring Operation: 85+17=102, Resulting Numbers: [23, 102] Generated Node #0,2,4: 18:[23, 102] Operation: 85+17=102 Moving to Node #0,1 Current State: 18:[85, 25, 19], Operations: ['42-23=19'] Exploring Operation: 25-19=6, Resulting Numbers: [85, 6] Generated Node #0,1,0: 18:[85, 6] Operation: 25-19=6 Exploring Operation: 85+25=110, Resulting Numbers: [19, 110] Generated Node #0,1,1: 18:[19, 110] Operation: 85+25=110 Exploring Operation: 85-19=66, Resulting Numbers: [25, 66] Generated Node #0,1,2: 18:[25, 66] Operation: 85-19=66 Exploring Operation: 85+19=104, Resulting Numbers: [25, 104] Generated Node #0,1,3: 18:[25, 104] Operation: 85+19=104 Exploring Operation: 85-25=60, Resulting Numbers: [19, 60] Generated Node #0,1,4: 18:[19, 60] Operation: 85-25=60 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 18:[19, 60], Operations: ['42-23=19', '85-25=60'] Exploring Operation: 19*60=1140, Resulting Numbers: [1140] 1140,18 unequal: No Solution Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,18 unequal: No Solution Exploring Operation: 19+60=79, Resulting Numbers: [79] 79,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 18:[25, 66], Operations: ['42-23=19', '85-19=66'] Exploring Operation: 25+66=91, Resulting Numbers: [91] 91,18 unequal: No Solution Exploring Operation: 25*66=1650, Resulting Numbers: [1650] 1650,18 unequal: No Solution Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[85, 6], Operations: ['42-23=19', '25-19=6'] Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,18 unequal: No Solution Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,18 unequal: No Solution Exploring Operation: 85*6=510, Resulting Numbers: [510] 510,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[19, 110], Operations: ['42-23=19', '85+25=110'] Exploring Operation: 19+110=129, Resulting Numbers: [129] 129,18 unequal: No Solution Exploring Operation: 110-19=91, Resulting Numbers: [91] 91,18 unequal: No Solution Exploring Operation: 19*110=2090, Resulting Numbers: [2090] 2090,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 18:[25, 104], Operations: ['42-23=19', '85+19=104'] Exploring Operation: 104-25=79, Resulting Numbers: [79] 79,18 unequal: No Solution Exploring Operation: 25+104=129, Resulting Numbers: [129] 129,18 unequal: No Solution Exploring Operation: 25*104=2600, Resulting Numbers: [2600] 2600,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 18:[42, 25, 62], Operations: ['85-23=62'] Exploring Operation: 62-25=37, Resulting Numbers: [42, 37] Generated Node #0,3,0: 18:[42, 37] Operation: 62-25=37 Exploring Operation: 42+62=104, Resulting Numbers: [25, 104] Generated Node #0,3,1: 18:[25, 104] Operation: 42+62=104 Exploring Operation: 62-42=20, Resulting Numbers: [25, 20] Generated Node #0,3,2: 18:[25, 20] Operation: 62-42=20 Exploring Operation: 42+25=67, Resulting Numbers: [62, 67] Generated Node #0,3,3: 18:[62, 67] Operation: 42+25=67 Exploring Operation: 42-25=17, Resulting Numbers: [62, 17] Generated Node #0,3,4: 18:[62, 17] Operation: 42-25=17 Moving to Node #0,0,4 Current State: 18:[23, 18], Operations: ['85-25=60', '60-42=18'] Exploring Operation: 23*18=414, Resulting Numbers: [414] 414,18 unequal: No Solution Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,18 unequal: No Solution Moving to Node #0,2,2 Current State: 18:[23, 5], Operations: ['42-25=17', '85/17=5'] Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,18 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[85, 42, 23, 25], Operations: [] Exploring Operation: 42-25=17, Resulting Numbers: [85, 23, 17] Generated Node #0,2: 18:[85, 23, 17] Operation: 42-25=17 Moving to Node #0,2 Current State: 18:[85, 23, 17], Operations: ['42-25=17'] Exploring Operation: 85/17=5, Resulting Numbers: [23, 5] Generated Node #0,2,2: 18:[23, 5] Operation: 85/17=5 Moving to Node #0,2,2 Current State: 18:[23, 5], Operations: ['42-25=17', '85/17=5'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.940104
hs_5
mult_heuristic
[ 68, 58, 55, 6 ]
33
[ "68-58=10", "55*6=330", "330/10=33" ]
Current State: 33:[68, 58, 55, 6], Operations: [] Exploring Operation: 68-58=10, Resulting Numbers: [55, 6, 10] Generated Node #2: [55, 6, 10] from Operation: 68-58=10 Current State: 33:[55, 6, 10], Operations: ['68-58=10'] Exploring Operation: 55*6=330, Resulting Numbers: [10, 330] Generated Node #3: [10, 330] from Operation: 55*6=330 Current State: 33:[10, 330], Operations: ['68-58=10', '55*6=330'] Exploring Operation: 330/10=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[68, 58, 55, 6], Operations: [] Exploring Operation: 58-55=3, Resulting Numbers: [68, 6, 3] Generated Node #0,0: 33:[68, 6, 3] Operation: 58-55=3 Exploring Operation: 68-55=13, Resulting Numbers: [58, 6, 13] Generated Node #0,1: 33:[58, 6, 13] Operation: 68-55=13 Exploring Operation: 68-6=62, Resulting Numbers: [58, 55, 62] Generated Node #0,2: 33:[58, 55, 62] Operation: 68-6=62 Exploring Operation: 68-58=10, Resulting Numbers: [55, 6, 10] Generated Node #0,3: 33:[55, 6, 10] Operation: 68-58=10 Moving to Node #0,3 Current State: 33:[55, 6, 10], Operations: ['68-58=10'] Exploring Operation: 55-6=49, Resulting Numbers: [10, 49] Generated Node #0,3,0: 33:[10, 49] Operation: 55-6=49 Exploring Operation: 6+10=16, Resulting Numbers: [55, 16] Generated Node #0,3,1: 33:[55, 16] Operation: 6+10=16 Exploring Operation: 10-6=4, Resulting Numbers: [55, 4] Generated Node #0,3,2: 33:[55, 4] Operation: 10-6=4 Exploring Operation: 55-10=45, Resulting Numbers: [6, 45] Generated Node #0,3,3: 33:[6, 45] Operation: 55-10=45 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 33:[6, 45], Operations: ['68-58=10', '55-10=45'] Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,33 unequal: No Solution Exploring Operation: 6+45=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 6*45=270, Resulting Numbers: [270] 270,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 33:[10, 49], Operations: ['68-58=10', '55-6=49'] Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,33 unequal: No Solution Exploring Operation: 10+49=59, Resulting Numbers: [59] 59,33 unequal: No Solution Exploring Operation: 10*49=490, Resulting Numbers: [490] 490,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 33:[55, 4], Operations: ['68-58=10', '10-6=4'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,33 unequal: No Solution Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 33:[55, 16], Operations: ['68-58=10', '6+10=16'] Exploring Operation: 55*16=880, Resulting Numbers: [880] 880,33 unequal: No Solution Exploring Operation: 55+16=71, Resulting Numbers: [71] 71,33 unequal: No Solution Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,33 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: 33:[58, 6, 13], Operations: ['68-55=13'] Exploring Operation: 58-13=45, Resulting Numbers: [6, 45] Generated Node #0,1,0: 33:[6, 45] Operation: 58-13=45 Exploring Operation: 58-6=52, Resulting Numbers: [13, 52] Generated Node #0,1,1: 33:[13, 52] Operation: 58-6=52 Exploring Operation: 13-6=7, Resulting Numbers: [58, 7] Generated Node #0,1,2: 33:[58, 7] Operation: 13-6=7 Exploring Operation: 58+6=64, Resulting Numbers: [13, 64] Generated Node #0,1,3: 33:[13, 64] Operation: 58+6=64 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[6, 45], Operations: ['68-55=13', '58-13=45'] Exploring Operation: 6*45=270, Resulting Numbers: [270] 270,33 unequal: No Solution Exploring Operation: 6+45=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 33:[13, 52], Operations: ['68-55=13', '58-6=52'] Exploring Operation: 52-13=39, Resulting Numbers: [39] 39,33 unequal: No Solution Exploring Operation: 52/13=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 13*52=676, Resulting Numbers: [676] 676,33 unequal: No Solution Exploring Operation: 13+52=65, Resulting Numbers: [65] 65,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 33:[58, 7], Operations: ['68-55=13', '13-6=7'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,33 unequal: No Solution Exploring Operation: 58*7=406, Resulting Numbers: [406] 406,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 33:[13, 64], Operations: ['68-55=13', '58+6=64'] Exploring Operation: 13*64=832, Resulting Numbers: [832] 832,33 unequal: No Solution Exploring Operation: 64-13=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 13+64=77, Resulting Numbers: [77] 77,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 33:[68, 6, 3], Operations: ['58-55=3'] Exploring Operation: 6/3=2, Resulting Numbers: [68, 2] Generated Node #0,0,0: 33:[68, 2] Operation: 6/3=2 Exploring Operation: 6-3=3, Resulting Numbers: [68, 3] Generated Node #0,0,1: 33:[68, 3] Operation: 6-3=3 Exploring Operation: 68-6=62, Resulting Numbers: [3, 62] Generated Node #0,0,2: 33:[3, 62] Operation: 68-6=62 Exploring Operation: 68-3=65, Resulting Numbers: [6, 65] Generated Node #0,0,3: 33:[6, 65] Operation: 68-3=65 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 33:[3, 62], Operations: ['58-55=3', '68-6=62'] Exploring Operation: 3*62=186, Resulting Numbers: [186] 186,33 unequal: No Solution Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,33 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[68, 3], Operations: ['58-55=3', '6-3=3'] Exploring Operation: 68+3=71, Resulting Numbers: [71] 71,33 unequal: No Solution Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,33 unequal: No Solution Exploring Operation: 68*3=204, Resulting Numbers: [204] 204,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 33:[6, 65], Operations: ['58-55=3', '68-3=65'] Exploring Operation: 6*65=390, Resulting Numbers: [390] 390,33 unequal: No Solution Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,33 unequal: No Solution Exploring Operation: 6+65=71, Resulting Numbers: [71] 71,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[68, 2], Operations: ['58-55=3', '6/3=2'] Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,33 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,33 unequal: No Solution Exploring Operation: 68*2=136, Resulting Numbers: [136] 136,33 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,33 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: 33:[58, 55, 62], Operations: ['68-6=62'] Exploring Operation: 58+55=113, Resulting Numbers: [62, 113] Generated Node #0,2,0: 33:[62, 113] Operation: 58+55=113 Exploring Operation: 58-55=3, Resulting Numbers: [62, 3] Generated Node #0,2,1: 33:[62, 3] Operation: 58-55=3 Exploring Operation: 62-58=4, Resulting Numbers: [55, 4] Generated Node #0,2,2: 33:[55, 4] Operation: 62-58=4 Exploring Operation: 62-55=7, Resulting Numbers: [58, 7] Generated Node #0,2,3: 33:[58, 7] Operation: 62-55=7 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 33:[55, 4], Operations: ['68-6=62', '62-58=4'] Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,33 unequal: No Solution Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,33 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 33:[62, 3], Operations: ['68-6=62', '58-55=3'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,33 unequal: No Solution Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,33 unequal: No Solution Exploring Operation: 62*3=186, Resulting Numbers: [186] 186,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 33:[58, 7], Operations: ['68-6=62', '62-55=7'] Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,33 unequal: No Solution Exploring Operation: 58*7=406, Resulting Numbers: [406] 406,33 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 33:[62, 113], Operations: ['68-6=62', '58+55=113'] Exploring Operation: 62*113=7006, Resulting Numbers: [7006] 7006,33 unequal: No Solution Exploring Operation: 113-62=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 62+113=175, Resulting Numbers: [175] 175,33 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
[ 32, 6, 50, 62 ]
38
[ "32-6=26", "62-50=12", "26+12=38" ]
Current State: 38:[32, 6, 50, 62], Operations: [] Exploring Operation: 32-6=26, Resulting Numbers: [50, 62, 26] Generated Node #2: [50, 62, 26] from Operation: 32-6=26 Current State: 38:[50, 62, 26], Operations: ['32-6=26'] Exploring Operation: 62-50=12, Resulting Numbers: [26, 12] Generated Node #3: [26, 12] from Operation: 62-50=12 Current State: 38:[26, 12], Operations: ['32-6=26', '62-50=12'] Exploring Operation: 26+12=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[32, 6, 50, 62], Operations: [] Exploring Operation: 62-50=12, Resulting Numbers: [32, 6, 12] Generated Node #0,0: 38:[32, 6, 12] Operation: 62-50=12 Exploring Operation: 62-32=30, Resulting Numbers: [6, 50, 30] Generated Node #0,1: 38:[6, 50, 30] Operation: 62-32=30 Exploring Operation: 50-32=18, Resulting Numbers: [6, 62, 18] Generated Node #0,2: 38:[6, 62, 18] Operation: 50-32=18 Exploring Operation: 32+6=38, Resulting Numbers: [50, 62, 38] Generated Node #0,3: 38:[50, 62, 38] Operation: 32+6=38 Moving to Node #0,0 Current State: 38:[32, 6, 12], Operations: ['62-50=12'] Exploring Operation: 12/6=2, Resulting Numbers: [32, 2] Generated Node #0,0,0: 38:[32, 2] Operation: 12/6=2 Exploring Operation: 6+12=18, Resulting Numbers: [32, 18] Generated Node #0,0,1: 38:[32, 18] Operation: 6+12=18 Exploring Operation: 32-12=20, Resulting Numbers: [6, 20] Generated Node #0,0,2: 38:[6, 20] Operation: 32-12=20 Exploring Operation: 32+6=38, Resulting Numbers: [12, 38] Generated Node #0,0,3: 38:[12, 38] Operation: 32+6=38 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 38:[6, 20], Operations: ['62-50=12', '32-12=20'] Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,38 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,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,0,0 Current State: 38:[32, 2], Operations: ['62-50=12', '12/6=2'] Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,38 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,38 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,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,0,1 Current State: 38:[32, 18], Operations: ['62-50=12', '6+12=18'] Exploring Operation: 32+18=50, Resulting Numbers: [50] 50,38 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 32*18=576, Resulting Numbers: [576] 576,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,0,3 Current State: 38:[12, 38], Operations: ['62-50=12', '32+6=38'] Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,38 unequal: No Solution Exploring Operation: 12*38=456, Resulting Numbers: [456] 456,38 unequal: No Solution Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,38 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: 38:[6, 50, 30], Operations: ['62-32=30'] Exploring Operation: 50-30=20, Resulting Numbers: [6, 20] Generated Node #0,1,0: 38:[6, 20] Operation: 50-30=20 Exploring Operation: 6+30=36, Resulting Numbers: [50, 36] Generated Node #0,1,1: 38:[50, 36] Operation: 6+30=36 Exploring Operation: 50-6=44, Resulting Numbers: [30, 44] Generated Node #0,1,2: 38:[30, 44] Operation: 50-6=44 Exploring Operation: 30/6=5, Resulting Numbers: [50, 5] Generated Node #0,1,3: 38:[50, 5] Operation: 30/6=5 Moving to Node #0,2 Current State: 38:[6, 62, 18], Operations: ['50-32=18'] Exploring Operation: 6+18=24, Resulting Numbers: [62, 24] Generated Node #0,2,0: 38:[62, 24] Operation: 6+18=24 Exploring Operation: 18/6=3, Resulting Numbers: [62, 3] Generated Node #0,2,1: 38:[62, 3] Operation: 18/6=3 Exploring Operation: 62-6=56, Resulting Numbers: [18, 56] Generated Node #0,2,2: 38:[18, 56] Operation: 62-6=56 Exploring Operation: 62-18=44, Resulting Numbers: [6, 44] Generated Node #0,2,3: 38:[6, 44] Operation: 62-18=44 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 38:[6, 44], Operations: ['50-32=18', '62-18=44'] Exploring Operation: 6*44=264, Resulting Numbers: [264] 264,38 unequal: No Solution Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,38 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[32, 6, 50, 62], Operations: [] Exploring Operation: 50-32=18, Resulting Numbers: [6, 62, 18] Generated Node #0,2: 38:[6, 62, 18] Operation: 50-32=18 Moving to Node #0,2 Current State: 38:[6, 62, 18], Operations: ['50-32=18'] Exploring Operation: 62-18=44, Resulting Numbers: [6, 44] Generated Node #0,2,3: 38:[6, 44] Operation: 62-18=44 Moving to Node #0,2,3 Current State: 38:[6, 44], Operations: ['50-32=18', '62-18=44'] Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_4
sum_heuristic
[ 18, 51, 24, 65 ]
74
[ "51-18=33", "65-24=41", "33+41=74" ]
Current State: 74:[18, 51, 24, 65], Operations: [] Exploring Operation: 51-18=33, Resulting Numbers: [24, 65, 33] Generated Node #2: [24, 65, 33] from Operation: 51-18=33 Current State: 74:[24, 65, 33], Operations: ['51-18=33'] Exploring Operation: 65-24=41, Resulting Numbers: [33, 41] Generated Node #3: [33, 41] from Operation: 65-24=41 Current State: 74:[33, 41], Operations: ['51-18=33', '65-24=41'] Exploring Operation: 33+41=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[18, 51, 24, 65], Operations: [] Exploring Operation: 24-18=6, Resulting Numbers: [51, 65, 6] Generated Node #0,0: 74:[51, 65, 6] Operation: 24-18=6 Exploring Operation: 51-18=33, Resulting Numbers: [24, 65, 33] Generated Node #0,1: 74:[24, 65, 33] Operation: 51-18=33 Exploring Operation: 18+51=69, Resulting Numbers: [24, 65, 69] Generated Node #0,2: 74:[24, 65, 69] Operation: 18+51=69 Exploring Operation: 51+24=75, Resulting Numbers: [18, 65, 75] Generated Node #0,3: 74:[18, 65, 75] Operation: 51+24=75 Moving to Node #0,1 Current State: 74:[24, 65, 33], Operations: ['51-18=33'] Exploring Operation: 65-24=41, Resulting Numbers: [33, 41] Generated Node #0,1,0: 74:[33, 41] Operation: 65-24=41 Exploring Operation: 33-24=9, Resulting Numbers: [65, 9] Generated Node #0,1,1: 74:[65, 9] Operation: 33-24=9 Exploring Operation: 65-33=32, Resulting Numbers: [24, 32] Generated Node #0,1,2: 74:[24, 32] Operation: 65-33=32 Exploring Operation: 24+65=89, Resulting Numbers: [33, 89] Generated Node #0,1,3: 74:[33, 89] Operation: 24+65=89 Moving to Node #0,3 Current State: 74:[18, 65, 75], Operations: ['51+24=75'] Exploring Operation: 75-65=10, Resulting Numbers: [18, 10] Generated Node #0,3,0: 74:[18, 10] Operation: 75-65=10 Exploring Operation: 75-18=57, Resulting Numbers: [65, 57] Generated Node #0,3,1: 74:[65, 57] Operation: 75-18=57 Exploring Operation: 18+65=83, Resulting Numbers: [75, 83] Generated Node #0,3,2: 74:[75, 83] Operation: 18+65=83 Exploring Operation: 65-18=47, Resulting Numbers: [75, 47] Generated Node #0,3,3: 74:[75, 47] Operation: 65-18=47 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 74:[75, 83], Operations: ['51+24=75', '18+65=83'] Exploring Operation: 83-75=8, Resulting Numbers: [8] 8,74 unequal: No Solution Exploring Operation: 75*83=6225, Resulting Numbers: [6225] 6225,74 unequal: No Solution Exploring Operation: 75+83=158, Resulting Numbers: [158] 158,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 74:[75, 47], Operations: ['51+24=75', '65-18=47'] Exploring Operation: 75+47=122, Resulting Numbers: [122] 122,74 unequal: No Solution Exploring Operation: 75*47=3525, Resulting Numbers: [3525] 3525,74 unequal: No Solution Exploring Operation: 75-47=28, Resulting Numbers: [28] 28,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 74:[18, 10], Operations: ['51+24=75', '75-65=10'] Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,74 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,74 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 74:[65, 57], Operations: ['51+24=75', '75-18=57'] Exploring Operation: 65+57=122, Resulting Numbers: [122] 122,74 unequal: No Solution Exploring Operation: 65*57=3705, Resulting Numbers: [3705] 3705,74 unequal: No Solution Exploring Operation: 65-57=8, Resulting Numbers: [8] 8,74 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: 74:[24, 65, 69], Operations: ['18+51=69'] Exploring Operation: 24+65=89, Resulting Numbers: [69, 89] Generated Node #0,2,0: 74:[69, 89] Operation: 24+65=89 Exploring Operation: 69-24=45, Resulting Numbers: [65, 45] Generated Node #0,2,1: 74:[65, 45] Operation: 69-24=45 Exploring Operation: 69-65=4, Resulting Numbers: [24, 4] Generated Node #0,2,2: 74:[24, 4] Operation: 69-65=4 Exploring Operation: 65-24=41, Resulting Numbers: [69, 41] Generated Node #0,2,3: 74:[69, 41] Operation: 65-24=41 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 74:[69, 41], Operations: ['18+51=69', '65-24=41'] Exploring Operation: 69*41=2829, Resulting Numbers: [2829] 2829,74 unequal: No Solution Exploring Operation: 69+41=110, Resulting Numbers: [110] 110,74 unequal: No Solution Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,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,2 Current State: 74:[24, 4], Operations: ['18+51=69', '69-65=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,74 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,74 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,74 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,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:[65, 45], Operations: ['18+51=69', '69-24=45'] Exploring Operation: 65*45=2925, Resulting Numbers: [2925] 2925,74 unequal: No Solution Exploring Operation: 65+45=110, Resulting Numbers: [110] 110,74 unequal: No Solution Exploring Operation: 65-45=20, Resulting Numbers: [20] 20,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:[69, 89], Operations: ['18+51=69', '24+65=89'] Exploring Operation: 69+89=158, Resulting Numbers: [158] 158,74 unequal: No Solution Exploring Operation: 69*89=6141, Resulting Numbers: [6141] 6141,74 unequal: No Solution Exploring Operation: 89-69=20, Resulting Numbers: [20] 20,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:[51, 65, 6], Operations: ['24-18=6'] Exploring Operation: 51+6=57, Resulting Numbers: [65, 57] Generated Node #0,0,0: 74:[65, 57] Operation: 51+6=57 Exploring Operation: 51-6=45, Resulting Numbers: [65, 45] Generated Node #0,0,1: 74:[65, 45] Operation: 51-6=45 Exploring Operation: 65+6=71, Resulting Numbers: [51, 71] Generated Node #0,0,2: 74:[51, 71] Operation: 65+6=71 Exploring Operation: 65-51=14, Resulting Numbers: [6, 14] Generated Node #0,0,3: 74:[6, 14] Operation: 65-51=14 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 74:[6, 14], Operations: ['24-18=6', '65-51=14'] Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,74 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,74 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[65, 45], Operations: ['24-18=6', '51-6=45'] Exploring Operation: 65+45=110, Resulting Numbers: [110] 110,74 unequal: No Solution Exploring Operation: 65-45=20, Resulting Numbers: [20] 20,74 unequal: No Solution Exploring Operation: 65*45=2925, Resulting Numbers: [2925] 2925,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 74:[51, 71], Operations: ['24-18=6', '65+6=71'] Exploring Operation: 71-51=20, Resulting Numbers: [20] 20,74 unequal: No Solution Exploring Operation: 51+71=122, Resulting Numbers: [122] 122,74 unequal: No Solution Exploring Operation: 51*71=3621, Resulting Numbers: [3621] 3621,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[65, 57], Operations: ['24-18=6', '51+6=57'] Exploring Operation: 65+57=122, Resulting Numbers: [122] 122,74 unequal: No Solution Exploring Operation: 65*57=3705, Resulting Numbers: [3705] 3705,74 unequal: No Solution Exploring Operation: 65-57=8, Resulting Numbers: [8] 8,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 74:[33, 41], Operations: ['51-18=33', '65-24=41'] Exploring Operation: 41-33=8, Resulting Numbers: [8] 8,74 unequal: No Solution Exploring Operation: 33+41=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[18, 51, 24, 65], Operations: [] Exploring Operation: 51-18=33, Resulting Numbers: [24, 65, 33] Generated Node #0,1: 74:[24, 65, 33] Operation: 51-18=33 Moving to Node #0,1 Current State: 74:[24, 65, 33], Operations: ['51-18=33'] Exploring Operation: 65-24=41, Resulting Numbers: [33, 41] Generated Node #0,1,0: 74:[33, 41] Operation: 65-24=41 Moving to Node #0,1,0 Current State: 74:[33, 41], Operations: ['51-18=33', '65-24=41'] Exploring Operation: 33+41=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.945313
hs_4
mult_heuristic
[ 60, 17, 79, 54 ]
90
[ "60-17=43", "79+54=133", "133-43=90" ]
Current State: 90:[60, 17, 79, 54], Operations: [] Exploring Operation: 60-17=43, Resulting Numbers: [79, 54, 43] Generated Node #2: [79, 54, 43] from Operation: 60-17=43 Current State: 90:[79, 54, 43], Operations: ['60-17=43'] Exploring Operation: 79+54=133, Resulting Numbers: [43, 133] Generated Node #3: [43, 133] from Operation: 79+54=133 Current State: 90:[43, 133], Operations: ['60-17=43', '79+54=133'] Exploring Operation: 133-43=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[60, 17, 79, 54], Operations: [] Exploring Operation: 79-60=19, Resulting Numbers: [17, 54, 19] Generated Node #0,0: 90:[17, 54, 19] Operation: 79-60=19 Exploring Operation: 17+79=96, Resulting Numbers: [60, 54, 96] Generated Node #0,1: 90:[60, 54, 96] Operation: 17+79=96 Exploring Operation: 60-54=6, Resulting Numbers: [17, 79, 6] Generated Node #0,2: 90:[17, 79, 6] Operation: 60-54=6 Exploring Operation: 60-17=43, Resulting Numbers: [79, 54, 43] Generated Node #0,3: 90:[79, 54, 43] Operation: 60-17=43 Exploring Operation: 79-54=25, Resulting Numbers: [60, 17, 25] Generated Node #0,4: 90:[60, 17, 25] Operation: 79-54=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[17, 54, 19], Operations: ['79-60=19'] Exploring Operation: 54-17=37, Resulting Numbers: [19, 37] Generated Node #0,0,0: 90:[19, 37] Operation: 54-17=37 Exploring Operation: 17+19=36, Resulting Numbers: [54, 36] Generated Node #0,0,1: 90:[54, 36] Operation: 17+19=36 Exploring Operation: 54-19=35, Resulting Numbers: [17, 35] Generated Node #0,0,2: 90:[17, 35] Operation: 54-19=35 Exploring Operation: 19-17=2, Resulting Numbers: [54, 2] Generated Node #0,0,3: 90:[54, 2] Operation: 19-17=2 Exploring Operation: 54+19=73, Resulting Numbers: [17, 73] Generated Node #0,0,4: 90:[17, 73] Operation: 54+19=73 Moving to Node #0,0,2 Current State: 90:[17, 35], Operations: ['79-60=19', '54-19=35'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,90 unequal: No Solution Exploring Operation: 17+35=52, Resulting Numbers: [52] 52,90 unequal: No Solution Exploring Operation: 17*35=595, Resulting Numbers: [595] 595,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[19, 37], Operations: ['79-60=19', '54-17=37'] Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,90 unequal: No Solution Exploring Operation: 19+37=56, Resulting Numbers: [56] 56,90 unequal: No Solution Exploring Operation: 19*37=703, Resulting Numbers: [703] 703,90 unequal: No Solution Moving to Node #0,0,3 Current State: 90:[54, 2], Operations: ['79-60=19', '19-17=2'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,90 unequal: No Solution Exploring Operation: 54*2=108, Resulting Numbers: [108] 108,90 unequal: No Solution Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,90 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[54, 36], Operations: ['79-60=19', '17+19=36'] Exploring Operation: 54-36=18, Resulting Numbers: [18] 18,90 unequal: No Solution Exploring Operation: 54+36=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[60, 17, 79, 54], Operations: [] Exploring Operation: 79-60=19, Resulting Numbers: [17, 54, 19] Generated Node #0,0: 90:[17, 54, 19] Operation: 79-60=19 Moving to Node #0,0 Current State: 90:[17, 54, 19], Operations: ['79-60=19'] Exploring Operation: 17+19=36, Resulting Numbers: [54, 36] Generated Node #0,0,1: 90:[54, 36] Operation: 17+19=36 Moving to Node #0,0,1 Current State: 90:[54, 36], Operations: ['79-60=19', '17+19=36'] Exploring Operation: 54+36=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 82, 39, 67, 31 ]
55
[ "82-39=43", "67+31=98", "98-43=55" ]
Current State: 55:[82, 39, 67, 31], Operations: [] Exploring Operation: 82-39=43, Resulting Numbers: [67, 31, 43] Generated Node #2: [67, 31, 43] from Operation: 82-39=43 Current State: 55:[67, 31, 43], Operations: ['82-39=43'] Exploring Operation: 67+31=98, Resulting Numbers: [43, 98] Generated Node #3: [43, 98] from Operation: 67+31=98 Current State: 55:[43, 98], Operations: ['82-39=43', '67+31=98'] Exploring Operation: 98-43=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[82, 39, 67, 31], Operations: [] Exploring Operation: 82-39=43, Resulting Numbers: [67, 31, 43] Generated Node #0,0: 55:[67, 31, 43] Operation: 82-39=43 Exploring Operation: 82-67=15, Resulting Numbers: [39, 31, 15] Generated Node #0,1: 55:[39, 31, 15] Operation: 82-67=15 Exploring Operation: 39-31=8, Resulting Numbers: [82, 67, 8] Generated Node #0,2: 55:[82, 67, 8] Operation: 39-31=8 Exploring Operation: 82-31=51, Resulting Numbers: [39, 67, 51] Generated Node #0,3: 55:[39, 67, 51] Operation: 82-31=51 Exploring Operation: 39+31=70, Resulting Numbers: [82, 67, 70] Generated Node #0,4: 55:[82, 67, 70] Operation: 39+31=70 Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[39, 67, 51], Operations: ['82-31=51'] Exploring Operation: 67-51=16, Resulting Numbers: [39, 16] Generated Node #0,3,0: 55:[39, 16] Operation: 67-51=16 Exploring Operation: 51-39=12, Resulting Numbers: [67, 12] Generated Node #0,3,1: 55:[67, 12] Operation: 51-39=12 Exploring Operation: 39+67=106, Resulting Numbers: [51, 106] Generated Node #0,3,2: 55:[51, 106] Operation: 39+67=106 Exploring Operation: 67-39=28, Resulting Numbers: [51, 28] Generated Node #0,3,3: 55:[51, 28] Operation: 67-39=28 Exploring Operation: 39+51=90, Resulting Numbers: [67, 90] Generated Node #0,3,4: 55:[67, 90] Operation: 39+51=90 Moving to Node #0,3,1 Current State: 55:[67, 12], Operations: ['82-31=51', '51-39=12'] Exploring Operation: 67*12=804, Resulting Numbers: [804] 804,55 unequal: No Solution Exploring Operation: 67-12=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[82, 39, 67, 31], Operations: [] Exploring Operation: 82-31=51, Resulting Numbers: [39, 67, 51] Generated Node #0,3: 55:[39, 67, 51] Operation: 82-31=51 Moving to Node #0,3 Current State: 55:[39, 67, 51], Operations: ['82-31=51'] Exploring Operation: 51-39=12, Resulting Numbers: [67, 12] Generated Node #0,3,1: 55:[67, 12] Operation: 51-39=12 Moving to Node #0,3,1 Current State: 55:[67, 12], Operations: ['82-31=51', '51-39=12'] Exploring Operation: 67-12=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 54, 67, 2, 53 ]
64
[ "67-54=13", "53-2=51", "13+51=64" ]
Current State: 64:[54, 67, 2, 53], Operations: [] Exploring Operation: 67-54=13, Resulting Numbers: [2, 53, 13] Generated Node #2: [2, 53, 13] from Operation: 67-54=13 Current State: 64:[2, 53, 13], Operations: ['67-54=13'] Exploring Operation: 53-2=51, Resulting Numbers: [13, 51] Generated Node #3: [13, 51] from Operation: 53-2=51 Current State: 64:[13, 51], Operations: ['67-54=13', '53-2=51'] Exploring Operation: 13+51=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[54, 67, 2, 53], Operations: [] Exploring Operation: 54+2=56, Resulting Numbers: [67, 53, 56] Generated Node #0,0: 64:[67, 53, 56] Operation: 54+2=56 Exploring Operation: 54-53=1, Resulting Numbers: [67, 2, 1] Generated Node #0,1: 64:[67, 2, 1] Operation: 54-53=1 Exploring Operation: 54/2=27, Resulting Numbers: [67, 53, 27] Generated Node #0,2: 64:[67, 53, 27] Operation: 54/2=27 Exploring Operation: 67-53=14, Resulting Numbers: [54, 2, 14] Generated Node #0,3: 64:[54, 2, 14] Operation: 67-53=14 Exploring Operation: 67-54=13, Resulting Numbers: [2, 53, 13] Generated Node #0,4: 64:[2, 53, 13] Operation: 67-54=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[67, 2, 1], Operations: ['54-53=1'] Exploring Operation: 67*1=67, Resulting Numbers: [2, 67] Generated Node #0,1,0: 64:[2, 67] Operation: 67*1=67 Exploring Operation: 2*1=2, Resulting Numbers: [67, 2] Generated Node #0,1,1: 64:[67, 2] Operation: 2*1=2 Exploring Operation: 67-1=66, Resulting Numbers: [2, 66] Generated Node #0,1,2: 64:[2, 66] Operation: 67-1=66 Exploring Operation: 67-2=65, Resulting Numbers: [1, 65] Generated Node #0,1,3: 64:[1, 65] Operation: 67-2=65 Exploring Operation: 67/1=67, Resulting Numbers: [2, 67] Generated Node #0,1,4: 64:[2, 67] Operation: 67/1=67 Moving to Node #0,1,2 Current State: 64:[2, 66], Operations: ['54-53=1', '67-1=66'] Exploring Operation: 2*66=132, Resulting Numbers: [132] 132,64 unequal: No Solution Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[54, 67, 2, 53], Operations: [] Exploring Operation: 54-53=1, Resulting Numbers: [67, 2, 1] Generated Node #0,1: 64:[67, 2, 1] Operation: 54-53=1 Moving to Node #0,1 Current State: 64:[67, 2, 1], Operations: ['54-53=1'] Exploring Operation: 67-1=66, Resulting Numbers: [2, 66] Generated Node #0,1,2: 64:[2, 66] Operation: 67-1=66 Moving to Node #0,1,2 Current State: 64:[2, 66], Operations: ['54-53=1', '67-1=66'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 6, 94, 39, 39 ]
88
[ "94-6=88", "39-39=0", "88+0=88" ]
Current State: 88:[6, 94, 39, 39], Operations: [] Exploring Operation: 94-6=88, Resulting Numbers: [39, 39, 88] Generated Node #2: [39, 39, 88] from Operation: 94-6=88 Current State: 88:[39, 39, 88], Operations: ['94-6=88'] Exploring Operation: 39-39=0, Resulting Numbers: [88, 0] Generated Node #3: [88, 0] from Operation: 39-39=0 Current State: 88:[88, 0], Operations: ['94-6=88', '39-39=0'] Exploring Operation: 88+0=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[6, 94, 39, 39], Operations: [] Exploring Operation: 94-6=88, Resulting Numbers: [39, 39, 88] Generated Node #0,0: 88:[39, 39, 88] Operation: 94-6=88 Exploring Operation: 39-39=0, Resulting Numbers: [6, 94, 0] Generated Node #0,1: 88:[6, 94, 0] Operation: 39-39=0 Exploring Operation: 39/39=1, Resulting Numbers: [6, 94, 1] Generated Node #0,2: 88:[6, 94, 1] Operation: 39/39=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[6, 94, 1], Operations: ['39/39=1'] Exploring Operation: 6+1=7, Resulting Numbers: [94, 7] Generated Node #0,2,0: 88:[94, 7] Operation: 6+1=7 Exploring Operation: 6-1=5, Resulting Numbers: [94, 5] Generated Node #0,2,1: 88:[94, 5] Operation: 6-1=5 Exploring Operation: 94-6=88, Resulting Numbers: [1, 88] Generated Node #0,2,2: 88:[1, 88] Operation: 94-6=88 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 88:[1, 88], Operations: ['39/39=1', '94-6=88'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[6, 94, 39, 39], Operations: [] Exploring Operation: 39/39=1, Resulting Numbers: [6, 94, 1] Generated Node #0,2: 88:[6, 94, 1] Operation: 39/39=1 Moving to Node #0,2 Current State: 88:[6, 94, 1], Operations: ['39/39=1'] Exploring Operation: 94-6=88, Resulting Numbers: [1, 88] Generated Node #0,2,2: 88:[1, 88] Operation: 94-6=88 Moving to Node #0,2,2 Current State: 88:[1, 88], Operations: ['39/39=1', '94-6=88'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 77, 67, 16, 33 ]
95
[ "77+67=144", "16+33=49", "144-49=95" ]
Current State: 95:[77, 67, 16, 33], Operations: [] Exploring Operation: 77+67=144, Resulting Numbers: [16, 33, 144] Generated Node #2: [16, 33, 144] from Operation: 77+67=144 Current State: 95:[16, 33, 144], Operations: ['77+67=144'] Exploring Operation: 16+33=49, Resulting Numbers: [144, 49] Generated Node #3: [144, 49] from Operation: 16+33=49 Current State: 95:[144, 49], Operations: ['77+67=144', '16+33=49'] Exploring Operation: 144-49=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[77, 67, 16, 33], Operations: [] Exploring Operation: 77-67=10, Resulting Numbers: [16, 33, 10] Generated Node #0,0: 95:[16, 33, 10] Operation: 77-67=10 Exploring Operation: 67+33=100, Resulting Numbers: [77, 16, 100] Generated Node #0,1: 95:[77, 16, 100] Operation: 67+33=100 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[16, 33, 10], Operations: ['77-67=10'] Exploring Operation: 33-16=17, Resulting Numbers: [10, 17] Generated Node #0,0,0: 95:[10, 17] Operation: 33-16=17 Exploring Operation: 33-10=23, Resulting Numbers: [16, 23] Generated Node #0,0,1: 95:[16, 23] Operation: 33-10=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[10, 17], Operations: ['77-67=10', '33-16=17'] Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,95 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 95:[16, 23], Operations: ['77-67=10', '33-10=23'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,95 unequal: No Solution Exploring Operation: 16+23=39, Resulting Numbers: [39] 39,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[77, 16, 100], Operations: ['67+33=100'] Exploring Operation: 77+16=93, Resulting Numbers: [100, 93] Generated Node #0,1,0: 95:[100, 93] Operation: 77+16=93 Exploring Operation: 100-77=23, Resulting Numbers: [16, 23] Generated Node #0,1,1: 95:[16, 23] Operation: 100-77=23 Moving to Node #0,1,0 Current State: 95:[100, 93], Operations: ['67+33=100', '77+16=93'] Exploring Operation: 100+93=193, Resulting Numbers: [193] 193,95 unequal: No Solution Exploring Operation: 100-93=7, Resulting Numbers: [7] 7,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[16, 23], Operations: ['67+33=100', '100-77=23'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,95 unequal: No Solution Exploring Operation: 16+23=39, Resulting Numbers: [39] 39,95 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
[ 19, 28, 30, 54 ]
24
[ "28-19=9", "54/9=6", "30-6=24" ]
Current State: 24:[19, 28, 30, 54], Operations: [] Exploring Operation: 28-19=9, Resulting Numbers: [30, 54, 9] Generated Node #2: [30, 54, 9] from Operation: 28-19=9 Current State: 24:[30, 54, 9], Operations: ['28-19=9'] Exploring Operation: 54/9=6, Resulting Numbers: [30, 6] Generated Node #3: [30, 6] from Operation: 54/9=6 Current State: 24:[30, 6], Operations: ['28-19=9', '54/9=6'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[19, 28, 30, 54], Operations: [] Exploring Operation: 30-28=2, Resulting Numbers: [19, 54, 2] Generated Node #0,0: 24:[19, 54, 2] Operation: 30-28=2 Exploring Operation: 54-28=26, Resulting Numbers: [19, 30, 26] Generated Node #0,1: 24:[19, 30, 26] Operation: 54-28=26 Exploring Operation: 30-19=11, Resulting Numbers: [28, 54, 11] Generated Node #0,2: 24:[28, 54, 11] Operation: 30-19=11 Exploring Operation: 54-30=24, Resulting Numbers: [19, 28, 24] Generated Node #0,3: 24:[19, 28, 24] Operation: 54-30=24 Exploring Operation: 54-19=35, Resulting Numbers: [28, 30, 35] Generated Node #0,4: 24:[28, 30, 35] Operation: 54-19=35 Moving to Node #0,3 Current State: 24:[19, 28, 24], Operations: ['54-30=24'] Exploring Operation: 28-24=4, Resulting Numbers: [19, 4] Generated Node #0,3,0: 24:[19, 4] Operation: 28-24=4 Exploring Operation: 19+24=43, Resulting Numbers: [28, 43] Generated Node #0,3,1: 24:[28, 43] Operation: 19+24=43 Exploring Operation: 28-19=9, Resulting Numbers: [24, 9] Generated Node #0,3,2: 24:[24, 9] Operation: 28-19=9 Exploring Operation: 19+28=47, Resulting Numbers: [24, 47] Generated Node #0,3,3: 24:[24, 47] Operation: 19+28=47 Exploring Operation: 24-19=5, Resulting Numbers: [28, 5] Generated Node #0,3,4: 24:[28, 5] Operation: 24-19=5 Moving to Node #0,1 Current State: 24:[19, 30, 26], Operations: ['54-28=26'] Exploring Operation: 26-19=7, Resulting Numbers: [30, 7] Generated Node #0,1,0: 24:[30, 7] Operation: 26-19=7 Exploring Operation: 30-26=4, Resulting Numbers: [19, 4] Generated Node #0,1,1: 24:[19, 4] Operation: 30-26=4 Exploring Operation: 19+26=45, Resulting Numbers: [30, 45] Generated Node #0,1,2: 24:[30, 45] Operation: 19+26=45 Exploring Operation: 30-19=11, Resulting Numbers: [26, 11] Generated Node #0,1,3: 24:[26, 11] Operation: 30-19=11 Exploring Operation: 19+30=49, Resulting Numbers: [26, 49] Generated Node #0,1,4: 24:[26, 49] Operation: 19+30=49 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 24:[26, 11], Operations: ['54-28=26', '30-19=11'] Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[19, 4], Operations: ['54-28=26', '30-26=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,24 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[30, 7], Operations: ['54-28=26', '26-19=7'] Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 24:[30, 45], Operations: ['54-28=26', '19+26=45'] Exploring Operation: 30*45=1350, Resulting Numbers: [1350] 1350,24 unequal: No Solution Exploring Operation: 30+45=75, Resulting Numbers: [75] 75,24 unequal: No Solution Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 24:[26, 49], Operations: ['54-28=26', '19+30=49'] Exploring Operation: 26+49=75, Resulting Numbers: [75] 75,24 unequal: No Solution Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 26*49=1274, Resulting Numbers: [1274] 1274,24 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: 24:[28, 30, 35], Operations: ['54-19=35'] Exploring Operation: 35-28=7, Resulting Numbers: [30, 7] Generated Node #0,4,0: 24:[30, 7] Operation: 35-28=7 Exploring Operation: 30-28=2, Resulting Numbers: [35, 2] Generated Node #0,4,1: 24:[35, 2] Operation: 30-28=2 Exploring Operation: 28+30=58, Resulting Numbers: [35, 58] Generated Node #0,4,2: 24:[35, 58] Operation: 28+30=58 Exploring Operation: 28+35=63, Resulting Numbers: [30, 63] Generated Node #0,4,3: 24:[30, 63] Operation: 28+35=63 Exploring Operation: 35-30=5, Resulting Numbers: [28, 5] Generated Node #0,4,4: 24:[28, 5] Operation: 35-30=5 Moving to Node #0,0 Current State: 24:[19, 54, 2], Operations: ['30-28=2'] Exploring Operation: 19+2=21, Resulting Numbers: [54, 21] Generated Node #0,0,0: 24:[54, 21] Operation: 19+2=21 Exploring Operation: 54/2=27, Resulting Numbers: [19, 27] Generated Node #0,0,1: 24:[19, 27] Operation: 54/2=27 Exploring Operation: 54-19=35, Resulting Numbers: [2, 35] Generated Node #0,0,2: 24:[2, 35] Operation: 54-19=35 Exploring Operation: 19-2=17, Resulting Numbers: [54, 17] Generated Node #0,0,3: 24:[54, 17] Operation: 19-2=17 Exploring Operation: 54-2=52, Resulting Numbers: [19, 52] Generated Node #0,0,4: 24:[19, 52] Operation: 54-2=52 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[19, 27], Operations: ['30-28=2', '54/2=27'] Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 19+27=46, Resulting Numbers: [46] 46,24 unequal: No Solution Exploring Operation: 19*27=513, Resulting Numbers: [513] 513,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 24:[2, 35], Operations: ['30-28=2', '54-19=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,24 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[54, 21], Operations: ['30-28=2', '19+2=21'] Exploring Operation: 54*21=1134, Resulting Numbers: [1134] 1134,24 unequal: No Solution Exploring Operation: 54+21=75, Resulting Numbers: [75] 75,24 unequal: No Solution Exploring Operation: 54-21=33, Resulting Numbers: [33] 33,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 24:[19, 52], Operations: ['30-28=2', '54-2=52'] Exploring Operation: 19+52=71, Resulting Numbers: [71] 71,24 unequal: No Solution Exploring Operation: 52-19=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 19*52=988, Resulting Numbers: [988] 988,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 24:[54, 17], Operations: ['30-28=2', '19-2=17'] Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,24 unequal: No Solution Exploring Operation: 54*17=918, Resulting Numbers: [918] 918,24 unequal: No Solution Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 24:[28, 54, 11], Operations: ['30-19=11'] Exploring Operation: 28+11=39, Resulting Numbers: [54, 39] Generated Node #0,2,0: 24:[54, 39] Operation: 28+11=39 Exploring Operation: 54-11=43, Resulting Numbers: [28, 43] Generated Node #0,2,1: 24:[28, 43] Operation: 54-11=43 Exploring Operation: 28-11=17, Resulting Numbers: [54, 17] Generated Node #0,2,2: 24:[54, 17] Operation: 28-11=17 Exploring Operation: 54-28=26, Resulting Numbers: [11, 26] Generated Node #0,2,3: 24:[11, 26] Operation: 54-28=26 Exploring Operation: 54+11=65, Resulting Numbers: [28, 65] Generated Node #0,2,4: 24:[28, 65] Operation: 54+11=65 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 24:[11, 26], Operations: ['30-19=11', '54-28=26'] Exploring Operation: 11+26=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 11*26=286, Resulting Numbers: [286] 286,24 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 24:[28, 43], Operations: ['30-19=11', '54-11=43'] Exploring Operation: 28+43=71, Resulting Numbers: [71] 71,24 unequal: No Solution Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 28*43=1204, Resulting Numbers: [1204] 1204,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 24:[54, 17], Operations: ['30-19=11', '28-11=17'] Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,24 unequal: No Solution Exploring Operation: 54*17=918, Resulting Numbers: [918] 918,24 unequal: No Solution Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 24:[54, 39], Operations: ['30-19=11', '28+11=39'] Exploring Operation: 54*39=2106, Resulting Numbers: [2106] 2106,24 unequal: No Solution Exploring Operation: 54-39=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 54+39=93, Resulting Numbers: [93] 93,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 24:[28, 65], Operations: ['30-19=11', '54+11=65'] Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 28+65=93, Resulting Numbers: [93] 93,24 unequal: No Solution Exploring Operation: 28*65=1820, Resulting Numbers: [1820] 1820,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 24:[24, 9], Operations: ['54-30=24', '28-19=9'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,24 unequal: No Solution Moving to Node #0,3,4 Current State: 24:[28, 5], Operations: ['54-30=24', '24-19=5'] Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 28*5=140, Resulting Numbers: [140] 140,24 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,24 unequal: No Solution Moving to Node #0,4,4 Current State: 24:[28, 5], Operations: ['54-19=35', '35-30=5'] Exploring Operation: 28*5=140, Resulting Numbers: [140] 140,24 unequal: No Solution Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[19, 4], Operations: ['54-30=24', '28-24=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,24 unequal: No Solution Moving to Node #0,4,0 Current State: 24:[30, 7], Operations: ['54-19=35', '35-28=7'] Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,24 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,24 unequal: No Solution Moving to Node #0,4,1 Current State: 24:[35, 2], Operations: ['54-19=35', '30-28=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,24 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,24 unequal: No Solution Moving to Node #0,3,3 Current State: 24:[24, 47], Operations: ['54-30=24', '19+28=47'] Exploring Operation: 24*47=1128, Resulting Numbers: [1128] 1128,24 unequal: No Solution Exploring Operation: 24+47=71, Resulting Numbers: [71] 71,24 unequal: No Solution Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,24 unequal: No Solution Moving to Node #0,3,1 Current State: 24:[28, 43], Operations: ['54-30=24', '19+24=43'] Exploring Operation: 28*43=1204, Resulting Numbers: [1204] 1204,24 unequal: No Solution Exploring Operation: 28+43=71, Resulting Numbers: [71] 71,24 unequal: No Solution Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,24 unequal: No Solution Moving to Node #0,4,2 Current State: 24:[35, 58], Operations: ['54-19=35', '28+30=58'] Exploring Operation: 35*58=2030, Resulting Numbers: [2030] 2030,24 unequal: No Solution Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 35+58=93, Resulting Numbers: [93] 93,24 unequal: No Solution Moving to Node #0,4,3 Current State: 24:[30, 63], Operations: ['54-19=35', '28+35=63'] Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 30+63=93, Resulting Numbers: [93] 93,24 unequal: No Solution Exploring Operation: 30*63=1890, Resulting Numbers: [1890] 1890,24 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 13, 10, 89, 43 ]
86
[ "43-13=30", "30/10=3", "89-3=86" ]
Current State: 86:[13, 10, 89, 43], Operations: [] Exploring Operation: 43-13=30, Resulting Numbers: [10, 89, 30] Generated Node #2: [10, 89, 30] from Operation: 43-13=30 Current State: 86:[10, 89, 30], Operations: ['43-13=30'] Exploring Operation: 30/10=3, Resulting Numbers: [89, 3] Generated Node #3: [89, 3] from Operation: 30/10=3 Current State: 86:[89, 3], Operations: ['43-13=30', '30/10=3'] Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[13, 10, 89, 43], Operations: [] Exploring Operation: 89-10=79, Resulting Numbers: [13, 43, 79] Generated Node #0,0: 86:[13, 43, 79] Operation: 89-10=79 Exploring Operation: 13-10=3, Resulting Numbers: [89, 43, 3] Generated Node #0,1: 86:[89, 43, 3] Operation: 13-10=3 Exploring Operation: 89-13=76, Resulting Numbers: [10, 43, 76] Generated Node #0,2: 86:[10, 43, 76] Operation: 89-13=76 Moving to Node #0,1 Current State: 86:[89, 43, 3], Operations: ['13-10=3'] Exploring Operation: 89+3=92, Resulting Numbers: [43, 92] Generated Node #0,1,0: 86:[43, 92] Operation: 89+3=92 Exploring Operation: 89-3=86, Resulting Numbers: [43, 86] Generated Node #0,1,1: 86:[43, 86] Operation: 89-3=86 Exploring Operation: 89-43=46, Resulting Numbers: [3, 46] Generated Node #0,1,2: 86:[3, 46] Operation: 89-43=46 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[43, 86], Operations: ['13-10=3', '89-3=86'] Exploring Operation: 86-43=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 86/43=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 43+86=129, Resulting Numbers: [129] 129,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[3, 46], Operations: ['13-10=3', '89-43=46'] Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[43, 92], Operations: ['13-10=3', '89+3=92'] Exploring Operation: 43+92=135, Resulting Numbers: [135] 135,86 unequal: No Solution Exploring Operation: 43*92=3956, Resulting Numbers: [3956] 3956,86 unequal: No Solution Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 86:[13, 43, 79], Operations: ['89-10=79'] Exploring Operation: 13+43=56, Resulting Numbers: [79, 56] Generated Node #0,0,0: 86:[79, 56] Operation: 13+43=56 Exploring Operation: 13+79=92, Resulting Numbers: [43, 92] Generated Node #0,0,1: 86:[43, 92] Operation: 13+79=92 Exploring Operation: 79-43=36, Resulting Numbers: [13, 36] Generated Node #0,0,2: 86:[13, 36] Operation: 79-43=36 Moving to Node #0,2 Current State: 86:[10, 43, 76], Operations: ['89-13=76'] Exploring Operation: 76-43=33, Resulting Numbers: [10, 33] Generated Node #0,2,0: 86:[10, 33] Operation: 76-43=33 Exploring Operation: 10+43=53, Resulting Numbers: [76, 53] Generated Node #0,2,1: 86:[76, 53] Operation: 10+43=53 Exploring Operation: 10+76=86, Resulting Numbers: [43, 86] Generated Node #0,2,2: 86:[43, 86] Operation: 10+76=86 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 86:[43, 86], Operations: ['89-13=76', '10+76=86'] Exploring Operation: 43+86=129, Resulting Numbers: [129] 129,86 unequal: No Solution Exploring Operation: 86-43=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 86/43=2, Resulting Numbers: [2] 2,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 86:[10, 33], Operations: ['89-13=76', '76-43=33'] Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 10*33=330, Resulting Numbers: [330] 330,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 86:[76, 53], Operations: ['89-13=76', '10+43=53'] Exploring Operation: 76+53=129, Resulting Numbers: [129] 129,86 unequal: No Solution Exploring Operation: 76-53=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 76*53=4028, Resulting Numbers: [4028] 4028,86 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: 86:[43, 92], Operations: ['89-10=79', '13+79=92'] Exploring Operation: 43+92=135, Resulting Numbers: [135] 135,86 unequal: No Solution Exploring Operation: 43*92=3956, Resulting Numbers: [3956] 3956,86 unequal: No Solution Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[13, 36], Operations: ['89-10=79', '79-43=36'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 13*36=468, Resulting Numbers: [468] 468,86 unequal: No Solution Exploring Operation: 13+36=49, Resulting Numbers: [49] 49,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[79, 56], Operations: ['89-10=79', '13+43=56'] Exploring Operation: 79+56=135, Resulting Numbers: [135] 135,86 unequal: No Solution Exploring Operation: 79*56=4424, Resulting Numbers: [4424] 4424,86 unequal: No Solution Exploring Operation: 79-56=23, Resulting Numbers: [23] 23,86 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 62, 31, 25, 58 ]
52
[ "62-31=31", "25+58=83", "83-31=52" ]
Current State: 52:[62, 31, 25, 58], Operations: [] Exploring Operation: 62-31=31, Resulting Numbers: [25, 58, 31] Generated Node #2: [25, 58, 31] from Operation: 62-31=31 Current State: 52:[25, 58, 31], Operations: ['62-31=31'] Exploring Operation: 25+58=83, Resulting Numbers: [31, 83] Generated Node #3: [31, 83] from Operation: 25+58=83 Current State: 52:[31, 83], Operations: ['62-31=31', '25+58=83'] Exploring Operation: 83-31=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[62, 31, 25, 58], Operations: [] Exploring Operation: 62/31=2, Resulting Numbers: [25, 58, 2] Generated Node #0,0: 52:[25, 58, 2] Operation: 62/31=2 Exploring Operation: 62-31=31, Resulting Numbers: [25, 58, 31] Generated Node #0,1: 52:[25, 58, 31] Operation: 62-31=31 Exploring Operation: 62-58=4, Resulting Numbers: [31, 25, 4] Generated Node #0,2: 52:[31, 25, 4] Operation: 62-58=4 Moving to Node #0,2 Current State: 52:[31, 25, 4], Operations: ['62-58=4'] Exploring Operation: 31-25=6, Resulting Numbers: [4, 6] Generated Node #0,2,0: 52:[4, 6] Operation: 31-25=6 Exploring Operation: 31+25=56, Resulting Numbers: [4, 56] Generated Node #0,2,1: 52:[4, 56] Operation: 31+25=56 Exploring Operation: 31-4=27, Resulting Numbers: [25, 27] Generated Node #0,2,2: 52:[25, 27] Operation: 31-4=27 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 52:[4, 6], Operations: ['62-58=4', '31-25=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 52:[25, 27], Operations: ['62-58=4', '31-4=27'] Exploring Operation: 25*27=675, Resulting Numbers: [675] 675,52 unequal: No Solution Exploring Operation: 25+27=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[62, 31, 25, 58], Operations: [] Exploring Operation: 62-58=4, Resulting Numbers: [31, 25, 4] Generated Node #0,2: 52:[31, 25, 4] Operation: 62-58=4 Moving to Node #0,2 Current State: 52:[31, 25, 4], Operations: ['62-58=4'] Exploring Operation: 31-4=27, Resulting Numbers: [25, 27] Generated Node #0,2,2: 52:[25, 27] Operation: 31-4=27 Moving to Node #0,2,2 Current State: 52:[25, 27], Operations: ['62-58=4', '31-4=27'] Exploring Operation: 25+27=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 5, 31, 67, 22 ]
63
[ "31-5=26", "67+22=89", "89-26=63" ]
Current State: 63:[5, 31, 67, 22], Operations: [] Exploring Operation: 31-5=26, Resulting Numbers: [67, 22, 26] Generated Node #2: [67, 22, 26] from Operation: 31-5=26 Current State: 63:[67, 22, 26], Operations: ['31-5=26'] Exploring Operation: 67+22=89, Resulting Numbers: [26, 89] Generated Node #3: [26, 89] from Operation: 67+22=89 Current State: 63:[26, 89], Operations: ['31-5=26', '67+22=89'] Exploring Operation: 89-26=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[5, 31, 67, 22], Operations: [] Exploring Operation: 31-22=9, Resulting Numbers: [5, 67, 9] Generated Node #0,0: 63:[5, 67, 9] Operation: 31-22=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[5, 67, 9], Operations: ['31-22=9'] Exploring Operation: 67-5=62, Resulting Numbers: [9, 62] Generated Node #0,0,0: 63:[9, 62] Operation: 67-5=62 Moving to Node #0,0,0 Current State: 63:[9, 62], Operations: ['31-22=9', '67-5=62'] Exploring Operation: 9+62=71, Resulting Numbers: [71] 71,63 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
[ 45, 30, 39, 38 ]
76
[ "45+30=75", "39-38=1", "75+1=76" ]
Current State: 76:[45, 30, 39, 38], Operations: [] Exploring Operation: 45+30=75, Resulting Numbers: [39, 38, 75] Generated Node #2: [39, 38, 75] from Operation: 45+30=75 Current State: 76:[39, 38, 75], Operations: ['45+30=75'] Exploring Operation: 39-38=1, Resulting Numbers: [75, 1] Generated Node #3: [75, 1] from Operation: 39-38=1 Current State: 76:[75, 1], Operations: ['45+30=75', '39-38=1'] Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[45, 30, 39, 38], Operations: [] Exploring Operation: 45-30=15, Resulting Numbers: [39, 38, 15] Generated Node #0,0: 76:[39, 38, 15] Operation: 45-30=15 Exploring Operation: 45-39=6, Resulting Numbers: [30, 38, 6] Generated Node #0,1: 76:[30, 38, 6] Operation: 45-39=6 Exploring Operation: 45+30=75, Resulting Numbers: [39, 38, 75] Generated Node #0,2: 76:[39, 38, 75] Operation: 45+30=75 Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[39, 38, 75], Operations: ['45+30=75'] Exploring Operation: 39-38=1, Resulting Numbers: [75, 1] Generated Node #0,2,0: 76:[75, 1] Operation: 39-38=1 Exploring Operation: 39+38=77, Resulting Numbers: [75, 77] Generated Node #0,2,1: 76:[75, 77] Operation: 39+38=77 Exploring Operation: 75-39=36, Resulting Numbers: [38, 36] Generated Node #0,2,2: 76:[38, 36] Operation: 75-39=36 Moving to Node #0,2,0 Current State: 76:[75, 1], Operations: ['45+30=75', '39-38=1'] Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,76 unequal: No Solution Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[45, 30, 39, 38], Operations: [] Exploring Operation: 45+30=75, Resulting Numbers: [39, 38, 75] Generated Node #0,2: 76:[39, 38, 75] Operation: 45+30=75 Moving to Node #0,2 Current State: 76:[39, 38, 75], Operations: ['45+30=75'] Exploring Operation: 39-38=1, Resulting Numbers: [75, 1] Generated Node #0,2,0: 76:[75, 1] Operation: 39-38=1 Moving to Node #0,2,0 Current State: 76:[75, 1], Operations: ['45+30=75', '39-38=1'] Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 73, 85, 41, 2 ]
55
[ "85-73=12", "41+2=43", "12+43=55" ]
Current State: 55:[73, 85, 41, 2], Operations: [] Exploring Operation: 85-73=12, Resulting Numbers: [41, 2, 12] Generated Node #2: [41, 2, 12] from Operation: 85-73=12 Current State: 55:[41, 2, 12], Operations: ['85-73=12'] Exploring Operation: 41+2=43, Resulting Numbers: [12, 43] Generated Node #3: [12, 43] from Operation: 41+2=43 Current State: 55:[12, 43], Operations: ['85-73=12', '41+2=43'] Exploring Operation: 12+43=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[73, 85, 41, 2], Operations: [] Exploring Operation: 85-73=12, Resulting Numbers: [41, 2, 12] Generated Node #0,0: 55:[41, 2, 12] Operation: 85-73=12 Exploring Operation: 85-41=44, Resulting Numbers: [73, 2, 44] Generated Node #0,1: 55:[73, 2, 44] Operation: 85-41=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[41, 2, 12], Operations: ['85-73=12'] Exploring Operation: 41+12=53, Resulting Numbers: [2, 53] Generated Node #0,0,0: 55:[2, 53] Operation: 41+12=53 Exploring Operation: 41+2=43, Resulting Numbers: [12, 43] Generated Node #0,0,1: 55:[12, 43] Operation: 41+2=43 Moving to Node #0,0,0 Current State: 55:[2, 53], Operations: ['85-73=12', '41+12=53'] Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[73, 85, 41, 2], Operations: [] Exploring Operation: 85-73=12, Resulting Numbers: [41, 2, 12] Generated Node #0,0: 55:[41, 2, 12] Operation: 85-73=12 Moving to Node #0,0 Current State: 55:[41, 2, 12], Operations: ['85-73=12'] Exploring Operation: 41+12=53, Resulting Numbers: [2, 53] Generated Node #0,0,0: 55:[2, 53] Operation: 41+12=53 Moving to Node #0,0,0 Current State: 55:[2, 53], Operations: ['85-73=12', '41+12=53'] Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 18, 18, 66, 65 ]
66
[ "18-18=0", "65*0=0", "66+0=66" ]
Current State: 66:[18, 18, 66, 65], Operations: [] Exploring Operation: 18-18=0, Resulting Numbers: [66, 65, 0] Generated Node #2: [66, 65, 0] from Operation: 18-18=0 Current State: 66:[66, 65, 0], Operations: ['18-18=0'] Exploring Operation: 65*0=0, Resulting Numbers: [66, 0] Generated Node #3: [66, 0] from Operation: 65*0=0 Current State: 66:[66, 0], Operations: ['18-18=0', '65*0=0'] Exploring Operation: 66+0=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[18, 18, 66, 65], Operations: [] Exploring Operation: 18/18=1, Resulting Numbers: [66, 65, 1] Generated Node #0,0: 66:[66, 65, 1] Operation: 18/18=1 Moving to Node #0,0 Current State: 66:[66, 65, 1], Operations: ['18/18=1'] Exploring Operation: 65+1=66, Resulting Numbers: [66, 66] Generated Node #0,0,0: 66:[66, 66] Operation: 65+1=66 Moving to Node #0,0,0 Current State: 66:[66, 66], Operations: ['18/18=1', '65+1=66'] Exploring Operation: 66/66=1, Resulting Numbers: [1] 1,66 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 29, 5, 35, 11 ]
27
[ "29+11=40", "40/5=8", "35-8=27" ]
Current State: 27:[29, 5, 35, 11], Operations: [] Exploring Operation: 29+11=40, Resulting Numbers: [5, 35, 40] Generated Node #2: [5, 35, 40] from Operation: 29+11=40 Current State: 27:[5, 35, 40], Operations: ['29+11=40'] Exploring Operation: 40/5=8, Resulting Numbers: [35, 8] Generated Node #3: [35, 8] from Operation: 40/5=8 Current State: 27:[35, 8], Operations: ['29+11=40', '40/5=8'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[29, 5, 35, 11], Operations: [] Exploring Operation: 35/5=7, Resulting Numbers: [29, 11, 7] Generated Node #0,0: 27:[29, 11, 7] Operation: 35/5=7 Exploring Operation: 35-11=24, Resulting Numbers: [29, 5, 24] Generated Node #0,1: 27:[29, 5, 24] Operation: 35-11=24 Exploring Operation: 35-5=30, Resulting Numbers: [29, 11, 30] Generated Node #0,2: 27:[29, 11, 30] Operation: 35-5=30 Exploring Operation: 35-29=6, Resulting Numbers: [5, 11, 6] Generated Node #0,3: 27:[5, 11, 6] Operation: 35-29=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[29, 11, 7], Operations: ['35/5=7'] Exploring Operation: 29-11=18, Resulting Numbers: [7, 18] Generated Node #0,0,0: 27:[7, 18] Operation: 29-11=18 Exploring Operation: 11-7=4, Resulting Numbers: [29, 4] Generated Node #0,0,1: 27:[29, 4] Operation: 11-7=4 Exploring Operation: 29+7=36, Resulting Numbers: [11, 36] Generated Node #0,0,2: 27:[11, 36] Operation: 29+7=36 Exploring Operation: 29-7=22, Resulting Numbers: [11, 22] Generated Node #0,0,3: 27:[11, 22] Operation: 29-7=22 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 27:[29, 4], Operations: ['35/5=7', '11-7=4'] Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,27 unequal: No Solution Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,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:[11, 22], Operations: ['35/5=7', '29-7=22'] Exploring Operation: 11*22=242, Resulting Numbers: [242] 242,27 unequal: No Solution Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,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:[7, 18], Operations: ['35/5=7', '29-11=18'] Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,27 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,27 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,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,2 Current State: 27:[11, 36], Operations: ['35/5=7', '29+7=36'] Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,27 unequal: No Solution Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,27 unequal: No Solution Exploring Operation: 11*36=396, Resulting Numbers: [396] 396,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:[29, 5, 24], Operations: ['35-11=24'] Exploring Operation: 29-24=5, Resulting Numbers: [5, 5] Generated Node #0,1,0: 27:[5, 5] Operation: 29-24=5 Exploring Operation: 29+5=34, Resulting Numbers: [24, 34] Generated Node #0,1,1: 27:[24, 34] Operation: 29+5=34 Exploring Operation: 29-5=24, Resulting Numbers: [24, 24] Generated Node #0,1,2: 27:[24, 24] Operation: 29-5=24 Exploring Operation: 5+24=29, Resulting Numbers: [29, 29] Generated Node #0,1,3: 27:[29, 29] Operation: 5+24=29 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 27:[5, 5], Operations: ['35-11=24', '29-24=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,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 No 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: 27:[29, 29], Operations: ['35-11=24', '5+24=29'] Exploring Operation: 29-29=0, Resulting Numbers: [0] 0,27 unequal: No Solution Exploring Operation: 29/29=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 29+29=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 29*29=841, Resulting Numbers: [841] 841,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,1,2 Current State: 27:[24, 24], Operations: ['35-11=24', '29-5=24'] Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,27 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,27 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,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,1,1 Current State: 27:[24, 34], Operations: ['35-11=24', '29+5=34'] Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 24*34=816, Resulting Numbers: [816] 816,27 unequal: No Solution Exploring Operation: 24+34=58, Resulting Numbers: [58] 58,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:[29, 11, 30], Operations: ['35-5=30'] Exploring Operation: 30-29=1, Resulting Numbers: [11, 1] Generated Node #0,2,0: 27:[11, 1] Operation: 30-29=1 Exploring Operation: 29+11=40, Resulting Numbers: [30, 40] Generated Node #0,2,1: 27:[30, 40] Operation: 29+11=40 Exploring Operation: 29-11=18, Resulting Numbers: [30, 18] Generated Node #0,2,2: 27:[30, 18] Operation: 29-11=18 Exploring Operation: 30-11=19, Resulting Numbers: [29, 19] Generated Node #0,2,3: 27:[29, 19] Operation: 30-11=19 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 27:[11, 1], Operations: ['35-5=30', '30-29=1'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,27 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,27 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,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,2,3 Current State: 27:[29, 19], Operations: ['35-5=30', '30-11=19'] Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 29+19=48, Resulting Numbers: [48] 48,27 unequal: No Solution Exploring Operation: 29*19=551, Resulting Numbers: [551] 551,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,2,2 Current State: 27:[30, 18], Operations: ['35-5=30', '29-11=18'] Exploring Operation: 30*18=540, Resulting Numbers: [540] 540,27 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 30+18=48, Resulting Numbers: [48] 48,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,2,1 Current State: 27:[30, 40], Operations: ['35-5=30', '29+11=40'] Exploring Operation: 30*40=1200, Resulting Numbers: [1200] 1200,27 unequal: No Solution Exploring Operation: 30+40=70, Resulting Numbers: [70] 70,27 unequal: No Solution Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,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,3 Current State: 27:[5, 11, 6], Operations: ['35-29=6'] Exploring Operation: 6-5=1, Resulting Numbers: [11, 1] Generated Node #0,3,0: 27:[11, 1] Operation: 6-5=1 Exploring Operation: 5*6=30, Resulting Numbers: [11, 30] Generated Node #0,3,1: 27:[11, 30] Operation: 5*6=30 Exploring Operation: 11-6=5, Resulting Numbers: [5, 5] Generated Node #0,3,2: 27:[5, 5] Operation: 11-6=5 Exploring Operation: 5+6=11, Resulting Numbers: [11, 11] Generated Node #0,3,3: 27:[11, 11] Operation: 5+6=11 Moving to Node #0,3,0 Current State: 27:[11, 1], Operations: ['35-29=6', '6-5=1'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,27 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,27 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,27 unequal: No Solution Moving to Node #0,3,3 Current State: 27:[11, 11], Operations: ['35-29=6', '5+6=11'] Exploring Operation: 11/11=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 11-11=0, Resulting Numbers: [0] 0,27 unequal: No Solution Exploring Operation: 11*11=121, Resulting Numbers: [121] 121,27 unequal: No Solution Exploring Operation: 11+11=22, Resulting Numbers: [22] 22,27 unequal: No Solution Moving to Node #0,3,2 Current State: 27:[5, 5], Operations: ['35-29=6', '11-6=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,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 Moving to Node #0,3,1 Current State: 27:[11, 30], Operations: ['35-29=6', '5*6=30'] Exploring Operation: 11*30=330, Resulting Numbers: [330] 330,27 unequal: No Solution Exploring Operation: 11+30=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,27 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
[ 62, 9, 17, 16 ]
38
[ "62+9=71", "17+16=33", "71-33=38" ]
Current State: 38:[62, 9, 17, 16], Operations: [] Exploring Operation: 62+9=71, Resulting Numbers: [17, 16, 71] Generated Node #2: [17, 16, 71] from Operation: 62+9=71 Current State: 38:[17, 16, 71], Operations: ['62+9=71'] Exploring Operation: 17+16=33, Resulting Numbers: [71, 33] Generated Node #3: [71, 33] from Operation: 17+16=33 Current State: 38:[71, 33], Operations: ['62+9=71', '17+16=33'] Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[62, 9, 17, 16], Operations: [] Exploring Operation: 62-16=46, Resulting Numbers: [9, 17, 46] Generated Node #0,0: 38:[9, 17, 46] Operation: 62-16=46 Exploring Operation: 62-17=45, Resulting Numbers: [9, 16, 45] Generated Node #0,1: 38:[9, 16, 45] Operation: 62-17=45 Exploring Operation: 9+16=25, Resulting Numbers: [62, 17, 25] Generated Node #0,2: 38:[62, 17, 25] Operation: 9+16=25 Exploring Operation: 62-9=53, Resulting Numbers: [17, 16, 53] Generated Node #0,3: 38:[17, 16, 53] Operation: 62-9=53 Exploring Operation: 16-9=7, Resulting Numbers: [62, 17, 7] Generated Node #0,4: 38:[62, 17, 7] Operation: 16-9=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[9, 17, 46], Operations: ['62-16=46'] Exploring Operation: 9+46=55, Resulting Numbers: [17, 55] Generated Node #0,0,0: 38:[17, 55] Operation: 9+46=55 Exploring Operation: 46-9=37, Resulting Numbers: [17, 37] Generated Node #0,0,1: 38:[17, 37] Operation: 46-9=37 Exploring Operation: 46-17=29, Resulting Numbers: [9, 29] Generated Node #0,0,2: 38:[9, 29] Operation: 46-17=29 Exploring Operation: 17-9=8, Resulting Numbers: [46, 8] Generated Node #0,0,3: 38:[46, 8] Operation: 17-9=8 Exploring Operation: 9+17=26, Resulting Numbers: [46, 26] Generated Node #0,0,4: 38:[46, 26] Operation: 9+17=26 Moving to Node #0,0,1 Current State: 38:[17, 37], Operations: ['62-16=46', '46-9=37'] Exploring Operation: 17*37=629, Resulting Numbers: [629] 629,38 unequal: No Solution Exploring Operation: 17+37=54, Resulting Numbers: [54] 54,38 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,38 unequal: No Solution Moving to Node #0,0,3 Current State: 38:[46, 8], Operations: ['62-16=46', '17-9=8'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[62, 9, 17, 16], Operations: [] Exploring Operation: 62-16=46, Resulting Numbers: [9, 17, 46] Generated Node #0,0: 38:[9, 17, 46] Operation: 62-16=46 Moving to Node #0,0 Current State: 38:[9, 17, 46], Operations: ['62-16=46'] Exploring Operation: 17-9=8, Resulting Numbers: [46, 8] Generated Node #0,0,3: 38:[46, 8] Operation: 17-9=8 Moving to Node #0,0,3 Current State: 38:[46, 8], Operations: ['62-16=46', '17-9=8'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 21, 30, 18, 87 ]
35
[ "18+87=105", "105/21=5", "30+5=35" ]
Current State: 35:[21, 30, 18, 87], Operations: [] Exploring Operation: 18+87=105, Resulting Numbers: [21, 30, 105] Generated Node #2: [21, 30, 105] from Operation: 18+87=105 Current State: 35:[21, 30, 105], Operations: ['18+87=105'] Exploring Operation: 105/21=5, Resulting Numbers: [30, 5] Generated Node #3: [30, 5] from Operation: 105/21=5 Current State: 35:[30, 5], Operations: ['18+87=105', '105/21=5'] Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[21, 30, 18, 87], Operations: [] Exploring Operation: 87-21=66, Resulting Numbers: [30, 18, 66] Generated Node #0,0: 35:[30, 18, 66] Operation: 87-21=66 Moving to Node #0,0 Current State: 35:[30, 18, 66], Operations: ['87-21=66'] Exploring Operation: 66-30=36, Resulting Numbers: [18, 36] Generated Node #0,0,0: 35:[18, 36] Operation: 66-30=36 Moving to Node #0,0,0 Current State: 35:[18, 36], Operations: ['87-21=66', '66-30=36'] Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,35 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 45, 86, 69, 36 ]
64
[ "86-45=41", "69+36=105", "105-41=64" ]
Current State: 64:[45, 86, 69, 36], Operations: [] Exploring Operation: 86-45=41, Resulting Numbers: [69, 36, 41] Generated Node #2: [69, 36, 41] from Operation: 86-45=41 Current State: 64:[69, 36, 41], Operations: ['86-45=41'] Exploring Operation: 69+36=105, Resulting Numbers: [41, 105] Generated Node #3: [41, 105] from Operation: 69+36=105 Current State: 64:[41, 105], Operations: ['86-45=41', '69+36=105'] Exploring Operation: 105-41=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[45, 86, 69, 36], Operations: [] Exploring Operation: 86-36=50, Resulting Numbers: [45, 69, 50] Generated Node #0,0: 64:[45, 69, 50] Operation: 86-36=50 Exploring Operation: 45-36=9, Resulting Numbers: [86, 69, 9] Generated Node #0,1: 64:[86, 69, 9] Operation: 45-36=9 Exploring Operation: 86-69=17, Resulting Numbers: [45, 36, 17] Generated Node #0,2: 64:[45, 36, 17] Operation: 86-69=17 Exploring Operation: 86-45=41, Resulting Numbers: [69, 36, 41] Generated Node #0,3: 64:[69, 36, 41] Operation: 86-45=41 Moving to Node #0,2 Current State: 64:[45, 36, 17], Operations: ['86-69=17'] Exploring Operation: 45-36=9, Resulting Numbers: [17, 9] Generated Node #0,2,0: 64:[17, 9] Operation: 45-36=9 Exploring Operation: 45+17=62, Resulting Numbers: [36, 62] Generated Node #0,2,1: 64:[36, 62] Operation: 45+17=62 Exploring Operation: 45-17=28, Resulting Numbers: [36, 28] Generated Node #0,2,2: 64:[36, 28] Operation: 45-17=28 Exploring Operation: 36-17=19, Resulting Numbers: [45, 19] Generated Node #0,2,3: 64:[45, 19] Operation: 36-17=19 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 64:[17, 9], Operations: ['86-69=17', '45-36=9'] Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 64:[36, 62], Operations: ['86-69=17', '45+17=62'] Exploring Operation: 36+62=98, Resulting Numbers: [98] 98,64 unequal: No Solution Exploring Operation: 36*62=2232, Resulting Numbers: [2232] 2232,64 unequal: No Solution Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 64:[36, 28], Operations: ['86-69=17', '45-17=28'] Exploring Operation: 36*28=1008, Resulting Numbers: [1008] 1008,64 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 36+28=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[45, 86, 69, 36], Operations: [] Exploring Operation: 86-69=17, Resulting Numbers: [45, 36, 17] Generated Node #0,2: 64:[45, 36, 17] Operation: 86-69=17 Moving to Node #0,2 Current State: 64:[45, 36, 17], Operations: ['86-69=17'] Exploring Operation: 45-17=28, Resulting Numbers: [36, 28] Generated Node #0,2,2: 64:[36, 28] Operation: 45-17=28 Moving to Node #0,2,2 Current State: 64:[36, 28], Operations: ['86-69=17', '45-17=28'] Exploring Operation: 36+28=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 3, 23, 97, 8 ]
96
[ "3*8=24", "23+97=120", "120-24=96" ]
Current State: 96:[3, 23, 97, 8], Operations: [] Exploring Operation: 3*8=24, Resulting Numbers: [23, 97, 24] Generated Node #2: [23, 97, 24] from Operation: 3*8=24 Current State: 96:[23, 97, 24], Operations: ['3*8=24'] Exploring Operation: 23+97=120, Resulting Numbers: [24, 120] Generated Node #3: [24, 120] from Operation: 23+97=120 Current State: 96:[24, 120], Operations: ['3*8=24', '23+97=120'] Exploring Operation: 120-24=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[3, 23, 97, 8], Operations: [] Exploring Operation: 3+23=26, Resulting Numbers: [97, 8, 26] Generated Node #0,0: 96:[97, 8, 26] Operation: 3+23=26 Exploring Operation: 23+8=31, Resulting Numbers: [3, 97, 31] Generated Node #0,1: 96:[3, 97, 31] Operation: 23+8=31 Exploring Operation: 3*8=24, Resulting Numbers: [23, 97, 24] Generated Node #0,2: 96:[23, 97, 24] Operation: 3*8=24 Exploring Operation: 23-8=15, Resulting Numbers: [3, 97, 15] Generated Node #0,3: 96:[3, 97, 15] Operation: 23-8=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[3, 97, 31], Operations: ['23+8=31'] Exploring Operation: 3*31=93, Resulting Numbers: [97, 93] Generated Node #0,1,0: 96:[97, 93] Operation: 3*31=93 Exploring Operation: 3+97=100, Resulting Numbers: [31, 100] Generated Node #0,1,1: 96:[31, 100] Operation: 3+97=100 Exploring Operation: 97-3=94, Resulting Numbers: [31, 94] Generated Node #0,1,2: 96:[31, 94] Operation: 97-3=94 Exploring Operation: 3+31=34, Resulting Numbers: [97, 34] Generated Node #0,1,3: 96:[97, 34] Operation: 3+31=34 Moving to Node #0,1,2 Current State: 96:[31, 94], Operations: ['23+8=31', '97-3=94'] Exploring Operation: 31+94=125, Resulting Numbers: [125] 125,96 unequal: No Solution Exploring Operation: 31*94=2914, Resulting Numbers: [2914] 2914,96 unequal: No Solution Exploring Operation: 94-31=63, Resulting Numbers: [63] 63,96 unequal: No Solution Moving to Node #0,1,3 Current State: 96:[97, 34], Operations: ['23+8=31', '3+31=34'] Exploring Operation: 97+34=131, Resulting Numbers: [131] 131,96 unequal: No Solution Exploring Operation: 97-34=63, Resulting Numbers: [63] 63,96 unequal: No Solution Exploring Operation: 97*34=3298, Resulting Numbers: [3298] 3298,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[97, 93], Operations: ['23+8=31', '3*31=93'] Exploring Operation: 97-93=4, Resulting Numbers: [4] 4,96 unequal: No Solution Exploring Operation: 97*93=9021, Resulting Numbers: [9021] 9021,96 unequal: No Solution Exploring Operation: 97+93=190, Resulting Numbers: [190] 190,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[31, 100], Operations: ['23+8=31', '3+97=100'] Exploring Operation: 31*100=3100, Resulting Numbers: [3100] 3100,96 unequal: No Solution Exploring Operation: 31+100=131, Resulting Numbers: [131] 131,96 unequal: No Solution Exploring Operation: 100-31=69, Resulting Numbers: [69] 69,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[23, 97, 24], Operations: ['3*8=24'] Exploring Operation: 24-23=1, Resulting Numbers: [97, 1] Generated Node #0,2,0: 96:[97, 1] Operation: 24-23=1 Exploring Operation: 23+97=120, Resulting Numbers: [24, 120] Generated Node #0,2,1: 96:[24, 120] Operation: 23+97=120 Exploring Operation: 23+24=47, Resulting Numbers: [97, 47] Generated Node #0,2,2: 96:[97, 47] Operation: 23+24=47 Exploring Operation: 97-23=74, Resulting Numbers: [24, 74] Generated Node #0,2,3: 96:[24, 74] Operation: 97-23=74 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 96:[97, 1], Operations: ['3*8=24', '24-23=1'] Exploring Operation: 97/1=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 97+1=98, Resulting Numbers: [98] 98,96 unequal: No Solution Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[3, 23, 97, 8], Operations: [] Exploring Operation: 3*8=24, Resulting Numbers: [23, 97, 24] Generated Node #0,2: 96:[23, 97, 24] Operation: 3*8=24 Moving to Node #0,2 Current State: 96:[23, 97, 24], Operations: ['3*8=24'] Exploring Operation: 24-23=1, Resulting Numbers: [97, 1] Generated Node #0,2,0: 96:[97, 1] Operation: 24-23=1 Moving to Node #0,2,0 Current State: 96:[97, 1], Operations: ['3*8=24', '24-23=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 76, 26, 64, 10 ]
13
[ "76-64=12", "12-10=2", "26/2=13" ]
Current State: 13:[76, 26, 64, 10], Operations: [] Exploring Operation: 76-64=12, Resulting Numbers: [26, 10, 12] Generated Node #2: [26, 10, 12] from Operation: 76-64=12 Current State: 13:[26, 10, 12], Operations: ['76-64=12'] Exploring Operation: 12-10=2, Resulting Numbers: [26, 2] Generated Node #3: [26, 2] from Operation: 12-10=2 Current State: 13:[26, 2], Operations: ['76-64=12', '12-10=2'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[76, 26, 64, 10], Operations: [] Exploring Operation: 76-26=50, Resulting Numbers: [64, 10, 50] Generated Node #0,0: 13:[64, 10, 50] Operation: 76-26=50 Exploring Operation: 64-26=38, Resulting Numbers: [76, 10, 38] Generated Node #0,1: 13:[76, 10, 38] Operation: 64-26=38 Exploring Operation: 76-10=66, Resulting Numbers: [26, 64, 66] Generated Node #0,2: 13:[26, 64, 66] Operation: 76-10=66 Exploring Operation: 76-64=12, Resulting Numbers: [26, 10, 12] Generated Node #0,3: 13:[26, 10, 12] Operation: 76-64=12 Start Sub Search at level 1: Moving to Node #0,3 Current State: 13:[26, 10, 12], Operations: ['76-64=12'] Exploring Operation: 10+12=22, Resulting Numbers: [26, 22] Generated Node #0,3,0: 13:[26, 22] Operation: 10+12=22 Exploring Operation: 26-12=14, Resulting Numbers: [10, 14] Generated Node #0,3,1: 13:[10, 14] Operation: 26-12=14 Exploring Operation: 26+10=36, Resulting Numbers: [12, 36] Generated Node #0,3,2: 13:[12, 36] Operation: 26+10=36 Exploring Operation: 26-10=16, Resulting Numbers: [12, 16] Generated Node #0,3,3: 13:[12, 16] Operation: 26-10=16 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 13:[10, 14], Operations: ['76-64=12', '26-12=14'] Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,13 unequal: No Solution No 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: 13:[12, 16], Operations: ['76-64=12', '26-10=16'] Exploring Operation: 12*16=192, Resulting Numbers: [192] 192,13 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,13 unequal: No Solution No 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: 13:[26, 22], Operations: ['76-64=12', '10+12=22'] Exploring Operation: 26*22=572, Resulting Numbers: [572] 572,13 unequal: No Solution Exploring Operation: 26+22=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,13 unequal: No Solution No 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: 13:[12, 36], Operations: ['76-64=12', '26+10=36'] Exploring Operation: 12+36=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 12*36=432, Resulting Numbers: [432] 432,13 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,13 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: 13:[64, 10, 50], Operations: ['76-26=50'] Exploring Operation: 64-50=14, Resulting Numbers: [10, 14] Generated Node #0,0,0: 13:[10, 14] Operation: 64-50=14 Exploring Operation: 50-10=40, Resulting Numbers: [64, 40] Generated Node #0,0,1: 13:[64, 40] Operation: 50-10=40 Exploring Operation: 64-10=54, Resulting Numbers: [50, 54] Generated Node #0,0,2: 13:[50, 54] Operation: 64-10=54 Exploring Operation: 50/10=5, Resulting Numbers: [64, 5] Generated Node #0,0,3: 13:[64, 5] Operation: 50/10=5 Moving to Node #0,0,0 Current State: 13:[10, 14], Operations: ['76-26=50', '64-50=14'] Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,13 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,13 unequal: No Solution Moving to Node #0,0,3 Current State: 13:[64, 5], Operations: ['76-26=50', '50/10=5'] Exploring Operation: 64*5=320, Resulting Numbers: [320] 320,13 unequal: No Solution Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,13 unequal: No Solution Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[50, 54], Operations: ['76-26=50', '64-10=54'] Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 50+54=104, Resulting Numbers: [104] 104,13 unequal: No Solution Exploring Operation: 50*54=2700, Resulting Numbers: [2700] 2700,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[64, 40], Operations: ['76-26=50', '50-10=40'] Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 64+40=104, Resulting Numbers: [104] 104,13 unequal: No Solution Exploring Operation: 64*40=2560, Resulting Numbers: [2560] 2560,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[76, 10, 38], Operations: ['64-26=38'] Exploring Operation: 76-10=66, Resulting Numbers: [38, 66] Generated Node #0,1,0: 13:[38, 66] Operation: 76-10=66 Exploring Operation: 38-10=28, Resulting Numbers: [76, 28] Generated Node #0,1,1: 13:[76, 28] Operation: 38-10=28 Exploring Operation: 76-38=38, Resulting Numbers: [10, 38] Generated Node #0,1,2: 13:[10, 38] Operation: 76-38=38 Exploring Operation: 76/38=2, Resulting Numbers: [10, 2] Generated Node #0,1,3: 13:[10, 2] Operation: 76/38=2 Moving to Node #0,1,3 Current State: 13:[10, 2], Operations: ['64-26=38', '76/38=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[10, 38], Operations: ['64-26=38', '76-38=38'] Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 10+38=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 10*38=380, Resulting Numbers: [380] 380,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[76, 28], Operations: ['64-26=38', '38-10=28'] Exploring Operation: 76*28=2128, Resulting Numbers: [2128] 2128,13 unequal: No Solution Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 76+28=104, Resulting Numbers: [104] 104,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[38, 66], Operations: ['64-26=38', '76-10=66'] Exploring Operation: 66-38=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 38*66=2508, Resulting Numbers: [2508] 2508,13 unequal: No Solution Exploring Operation: 38+66=104, Resulting Numbers: [104] 104,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[26, 64, 66], Operations: ['76-10=66'] Exploring Operation: 26+64=90, Resulting Numbers: [66, 90] Generated Node #0,2,0: 13:[66, 90] Operation: 26+64=90 Exploring Operation: 66-64=2, Resulting Numbers: [26, 2] Generated Node #0,2,1: 13:[26, 2] Operation: 66-64=2 Exploring Operation: 66-26=40, Resulting Numbers: [64, 40] Generated Node #0,2,2: 13:[64, 40] Operation: 66-26=40 Exploring Operation: 64-26=38, Resulting Numbers: [66, 38] Generated Node #0,2,3: 13:[66, 38] Operation: 64-26=38 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 13:[26, 2], Operations: ['76-10=66', '66-64=2'] Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,13 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[76, 26, 64, 10], Operations: [] Exploring Operation: 76-10=66, Resulting Numbers: [26, 64, 66] Generated Node #0,2: 13:[26, 64, 66] Operation: 76-10=66 Moving to Node #0,2 Current State: 13:[26, 64, 66], Operations: ['76-10=66'] Exploring Operation: 66-64=2, Resulting Numbers: [26, 2] Generated Node #0,2,1: 13:[26, 2] Operation: 66-64=2 Moving to Node #0,2,1 Current State: 13:[26, 2], Operations: ['76-10=66', '66-64=2'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.942708
hs_4
sum_heuristic
[ 65, 71, 79, 87 ]
14
[ "71-65=6", "87-79=8", "6+8=14" ]
Current State: 14:[65, 71, 79, 87], Operations: [] Exploring Operation: 71-65=6, Resulting Numbers: [79, 87, 6] Generated Node #2: [79, 87, 6] from Operation: 71-65=6 Current State: 14:[79, 87, 6], Operations: ['71-65=6'] Exploring Operation: 87-79=8, Resulting Numbers: [6, 8] Generated Node #3: [6, 8] from Operation: 87-79=8 Current State: 14:[6, 8], Operations: ['71-65=6', '87-79=8'] Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[65, 71, 79, 87], Operations: [] Exploring Operation: 87-79=8, Resulting Numbers: [65, 71, 8] Generated Node #0,0: 14:[65, 71, 8] Operation: 87-79=8 Exploring Operation: 87-71=16, Resulting Numbers: [65, 79, 16] Generated Node #0,1: 14:[65, 79, 16] Operation: 87-71=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[65, 71, 8], Operations: ['87-79=8'] Exploring Operation: 71-65=6, Resulting Numbers: [8, 6] Generated Node #0,0,0: 14:[8, 6] Operation: 71-65=6 Exploring Operation: 65-8=57, Resulting Numbers: [71, 57] Generated Node #0,0,1: 14:[71, 57] Operation: 65-8=57 Moving to Node #0,0,0 Current State: 14:[8, 6], Operations: ['87-79=8', '71-65=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[65, 71, 79, 87], Operations: [] Exploring Operation: 87-79=8, Resulting Numbers: [65, 71, 8] Generated Node #0,0: 14:[65, 71, 8] Operation: 87-79=8 Moving to Node #0,0 Current State: 14:[65, 71, 8], Operations: ['87-79=8'] Exploring Operation: 71-65=6, Resulting Numbers: [8, 6] Generated Node #0,0,0: 14:[8, 6] Operation: 71-65=6 Moving to Node #0,0,0 Current State: 14:[8, 6], Operations: ['87-79=8', '71-65=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic